From 8a0bd3367545f590e7a3670fee809f277cded6ef Mon Sep 17 00:00:00 2001 From: victorwu Date: Wed, 15 Jun 2022 13:21:14 -0400 Subject: [PATCH 01/16] build: upgrade rollup & @babel/core --- package-lock.json | 1376 +++++++++++++++++++++++++++++++++++++-------- package.json | 4 +- 2 files changed, 1156 insertions(+), 224 deletions(-) diff --git a/package-lock.json b/package-lock.json index 54b5405..573200a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,24 +10,26 @@ "license": "MIT", "dependencies": { "elliptic": "^6.5.4", - "rollup": "^2.72.1" + "rollup": "^2.75.6" }, "devDependencies": { - "@babel/core": "^7.17.10", + "@babel/core": "^7.18.5", "@babel/preset-env": "^7.17.10", "@babel/preset-react": "^7.16.7", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", - "mocha": "^5.0.0", + "mocha": "^10.0.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3" }, "peerDependencies": { "@fabric/core": "FabricLabs/fabric#feature/node-16", - "@fabric/http": "FabricLabs/fabric-http#feature/node-16" + "@fabric/http": "FabricLabs/fabric-http#feature/node-16", + "react": "^17.0.1", + "react-dom": "^17.0.1" } }, "node_modules/@ampproject/remapping": { @@ -65,9 +67,9 @@ } }, "node_modules/@babel/core": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz", - "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==", + "version": "7.18.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.5.tgz", + "integrity": "sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.1.0", @@ -76,10 +78,10 @@ "@babel/helper-compilation-targets": "^7.18.2", "@babel/helper-module-transforms": "^7.18.0", "@babel/helpers": "^7.18.2", - "@babel/parser": "^7.18.0", + "@babel/parser": "^7.18.5", "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.2", - "@babel/types": "^7.18.2", + "@babel/traverse": "^7.18.5", + "@babel/types": "^7.18.4", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -459,9 +461,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.18.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.4.tgz", - "integrity": "sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==", + "version": "7.18.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.5.tgz", + "integrity": "sha512-YZWVaglMiplo7v8f1oMQ5ZPQr0vn7HPeZXxXWsxXJRjGVrzUFn9OxFQl1sb5wzfootjA/yChhW84BV+383FSOw==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -1682,9 +1684,9 @@ } }, "node_modules/@babel/traverse": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz", - "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==", + "version": "7.18.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.5.tgz", + "integrity": "sha512-aKXj1KT66sBj0vVzk6rEeAO6Z9aiiQ68wfDgge3nHhA/my6xMM/7HGQUNumKZaoa2qUPQ5whJG9aAifsxUKfLA==", "dev": true, "dependencies": { "@babel/code-frame": "^7.16.7", @@ -1693,8 +1695,8 @@ "@babel/helper-function-name": "^7.17.9", "@babel/helper-hoist-variables": "^7.16.7", "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.2", + "@babel/parser": "^7.18.5", + "@babel/types": "^7.18.4", "debug": "^4.1.0", "globals": "^11.1.0" }, @@ -2481,6 +2483,12 @@ "@types/node": "*" } }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -2700,11 +2708,19 @@ "node": ">=0.4.2" } }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "peer": true, "engines": { "node": ">=8" } @@ -2721,6 +2737,19 @@ "node": ">=4" } }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, "node_modules/aproba": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", @@ -3345,6 +3374,15 @@ "integrity": "sha512-ddkU+dFIuEIW8lE7ZwdIAf2UPoM90eaprg5m3YXAVVTmKlqV/9BX4A2M8BOK2yOq6/VgZFVhK6QAxJebhlbhzw==", "peer": true }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/bip-schnorr": { "version": "0.6.6", "resolved": "https://registry.npmjs.org/bip-schnorr/-/bip-schnorr-0.6.6.tgz", @@ -3528,7 +3566,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "peer": true, "dependencies": { "fill-range": "^7.0.1" }, @@ -3866,6 +3903,33 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, "node_modules/chownr": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", @@ -4803,9 +4867,9 @@ } }, "node_modules/diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", "dev": true, "engines": { "node": ">=0.3.1" @@ -4979,8 +5043,7 @@ "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "peer": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "node_modules/encodeurl": { "version": "1.0.2", @@ -5395,7 +5458,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "peer": true, "dependencies": { "to-regex-range": "^5.0.1" }, @@ -5436,6 +5498,31 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "peer": true }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, "node_modules/follow-redirects": { "version": "1.15.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", @@ -5557,6 +5644,15 @@ "node": ">=6.9.0" } }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, "node_modules/get-intrinsic": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", @@ -5593,7 +5689,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "peer": true, "dependencies": { "is-glob": "^4.0.1" }, @@ -5628,15 +5723,6 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, - "node_modules/growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", - "dev": true, - "engines": { - "node": ">=4.x" - } - }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -5740,7 +5826,6 @@ "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "peer": true, "bin": { "he": "bin/he" } @@ -6100,6 +6185,18 @@ "node": ">=8" } }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/is-buffer": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", @@ -6161,7 +6258,6 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -6170,7 +6266,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "peer": true, "engines": { "node": ">=8" } @@ -6179,7 +6274,6 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "peer": true, "dependencies": { "is-extglob": "^2.1.1" }, @@ -6203,11 +6297,19 @@ "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "peer": true, "engines": { "node": ">=0.12.0" } }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-potential-custom-element-name": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz", @@ -6257,6 +6359,18 @@ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "peer": true }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/is-uri": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/is-uri/-/is-uri-1.2.4.tgz", @@ -6440,7 +6554,24 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/js-yaml/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", "dev": true }, "node_modules/js2xmlparser": { @@ -6904,6 +7035,21 @@ "uc.micro": "^1.0.1" } }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -6922,6 +7068,92 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "peer": true }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", @@ -6931,6 +7163,18 @@ "node": ">=0.10.0" } }, + "node_modules/loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "peer": true, + "dependencies": { + "js-tokens": "^3.0.0 || ^4.0.0" + }, + "bin": { + "loose-envify": "cli.js" + } + }, "node_modules/lru-cache": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", @@ -7365,50 +7609,73 @@ } }, "node_modules/mocha": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", - "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", "dev": true, "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "commander": "2.15.1", - "debug": "3.1.0", - "diff": "3.5.0", - "escape-string-regexp": "1.0.5", - "glob": "7.1.2", - "growl": "1.10.5", - "he": "1.1.1", - "minimatch": "3.0.4", - "mkdirp": "0.5.1", - "supports-color": "5.4.0" + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" }, "bin": { "_mocha": "bin/_mocha", - "mocha": "bin/mocha" + "mocha": "bin/mocha.js" }, "engines": { - "node": ">= 4.0.0" + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" } }, - "node_modules/mocha/node_modules/commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", - "dev": true - }, - "node_modules/mocha/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "node_modules/mocha/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "dependencies": { - "ms": "2.0.0" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/mocha/node_modules/glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "dependencies": { "fs.realpath": "^1.0.0", @@ -7420,21 +7687,15 @@ }, "engines": { "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/mocha/node_modules/he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha512-z/GDPjlRMNOa2XJiB4em8wJpuuBfrFOlYKTZxtpkdr1uPdibHI8rYA3MY0KDObpVyaes0e/aunid/t88ZI2EKA==", - "dev": true, - "bin": { - "he": "bin/he" - } - }, - "node_modules/mocha/node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "node_modules/mocha/node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "dependencies": { "brace-expansion": "^1.1.7" @@ -7443,41 +7704,85 @@ "node": "*" } }, - "node_modules/mocha/node_modules/minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q==", - "dev": true + "node_modules/mocha/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } }, - "node_modules/mocha/node_modules/mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA==", - "deprecated": "Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)", + "node_modules/mocha/node_modules/minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", "dev": true, "dependencies": { - "minimist": "0.0.8" + "brace-expansion": "^2.0.1" }, - "bin": { - "mkdirp": "bin/cmd.js" + "engines": { + "node": ">=10" } }, - "node_modules/mocha/node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "node_modules/mocha/node_modules/minimatch/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, + "node_modules/mocha/node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/mocha/node_modules/supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/mocha/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" } }, "node_modules/ms": { @@ -7491,6 +7796,18 @@ "integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==", "peer": true }, + "node_modules/nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/napi-macros": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz", @@ -7652,6 +7969,15 @@ "node": ">=6" } }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -7846,6 +8172,36 @@ "node": ">=4" } }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", @@ -7952,6 +8308,15 @@ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", "peer": true }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -8314,7 +8679,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "peer": true, "dependencies": { "safe-buffer": "^5.1.0" } @@ -8355,6 +8719,33 @@ "node-gyp": "^8.4.1" } }, + "node_modules/react": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "peer": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/react-dom": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "peer": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.2" + }, + "peerDependencies": { + "react": "17.0.2" + } + }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -8369,6 +8760,18 @@ "node": ">= 6" } }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, "node_modules/recast": { "version": "0.11.23", "resolved": "https://registry.npmjs.org/recast/-/recast-0.11.23.tgz", @@ -8538,6 +8941,15 @@ "node": ">=0.10" } }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", @@ -8624,9 +9036,9 @@ } }, "node_modules/rollup": { - "version": "2.75.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.5.tgz", - "integrity": "sha512-JzNlJZDison3o2mOxVmb44Oz7t74EfSd1SQrplQk0wSaXV7uLQXtVdHbxlcT3w+8tZ1TL4r/eLfc7nAbz38BBA==", + "version": "2.75.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.6.tgz", + "integrity": "sha512-OEf0TgpC9vU6WGROJIk1JA3LR5vk/yvqlzxqdrE2CzzXnqKXNzbAwlWUXis8RS3ZPe7LAq+YUxsRa0l3r27MLA==", "bin": { "rollup": "dist/bin/rollup" }, @@ -8802,8 +9214,7 @@ "type": "consulting", "url": "https://feross.org/support" } - ], - "peer": true + ] }, "node_modules/safer-buffer": { "version": "2.1.2", @@ -8822,6 +9233,16 @@ "node": ">=10" } }, + "node_modules/scheduler": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "peer": true, + "dependencies": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, "node_modules/sdp": { "version": "2.12.0", "resolved": "https://registry.npmjs.org/sdp/-/sdp-2.12.0.tgz", @@ -8888,6 +9309,15 @@ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "peer": true }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, "node_modules/serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", @@ -9079,7 +9509,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "peer": true, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -9093,7 +9522,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "peer": true, "dependencies": { "ansi-regex": "^5.0.1" }, @@ -9264,7 +9692,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "peer": true, "dependencies": { "is-number": "^7.0.0" }, @@ -9817,6 +10244,62 @@ "node": ">=0.4.0" } }, + "node_modules/workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -9860,6 +10343,15 @@ "node": ">=0.4" } }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", @@ -9878,6 +10370,66 @@ "window-size": "0.1.0" } }, + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/zeromq": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/zeromq/-/zeromq-5.2.8.tgz", @@ -9926,9 +10478,9 @@ "dev": true }, "@babel/core": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.2.tgz", - "integrity": "sha512-A8pri1YJiC5UnkdrWcmfZTJTV85b4UXTAfImGmCfYmax4TR9Cw8sDS0MOk++Gp2mE/BefVJ5nwy5yzqNJbP/DQ==", + "version": "7.18.5", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.5.tgz", + "integrity": "sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ==", "dev": true, "requires": { "@ampproject/remapping": "^2.1.0", @@ -9937,10 +10489,10 @@ "@babel/helper-compilation-targets": "^7.18.2", "@babel/helper-module-transforms": "^7.18.0", "@babel/helpers": "^7.18.2", - "@babel/parser": "^7.18.0", + "@babel/parser": "^7.18.5", "@babel/template": "^7.16.7", - "@babel/traverse": "^7.18.2", - "@babel/types": "^7.18.2", + "@babel/traverse": "^7.18.5", + "@babel/types": "^7.18.4", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -10225,9 +10777,9 @@ } }, "@babel/parser": { - "version": "7.18.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.4.tgz", - "integrity": "sha512-FDge0dFazETFcxGw/EXzOkN8uJp0PC7Qbm+Pe9T+av2zlBpOgunFHkQPPn+eRuClU73JF+98D531UgayY89tow==", + "version": "7.18.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.5.tgz", + "integrity": "sha512-YZWVaglMiplo7v8f1oMQ5ZPQr0vn7HPeZXxXWsxXJRjGVrzUFn9OxFQl1sb5wzfootjA/yChhW84BV+383FSOw==", "dev": true }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { @@ -11040,9 +11592,9 @@ } }, "@babel/traverse": { - "version": "7.18.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.2.tgz", - "integrity": "sha512-9eNwoeovJ6KH9zcCNnENY7DMFwTU9JdGCFtqNLfUAqtUHRCOsTOqWoffosP8vKmNYeSBUv3yVJXjfd8ucwOjUA==", + "version": "7.18.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.5.tgz", + "integrity": "sha512-aKXj1KT66sBj0vVzk6rEeAO6Z9aiiQ68wfDgge3nHhA/my6xMM/7HGQUNumKZaoa2qUPQ5whJG9aAifsxUKfLA==", "dev": true, "requires": { "@babel/code-frame": "^7.16.7", @@ -11051,8 +11603,8 @@ "@babel/helper-function-name": "^7.17.9", "@babel/helper-hoist-variables": "^7.16.7", "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.18.0", - "@babel/types": "^7.18.2", + "@babel/parser": "^7.18.5", + "@babel/types": "^7.18.4", "debug": "^4.1.0", "globals": "^11.1.0" } @@ -11683,6 +12235,12 @@ "@types/node": "*" } }, + "@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, "@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -11866,11 +12424,16 @@ "integrity": "sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==", "dev": true }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true + }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "peer": true + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" }, "ansi-styles": { "version": "3.2.1", @@ -11881,6 +12444,16 @@ "color-convert": "^1.9.0" } }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, "aproba": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", @@ -12309,6 +12882,12 @@ "integrity": "sha512-ddkU+dFIuEIW8lE7ZwdIAf2UPoM90eaprg5m3YXAVVTmKlqV/9BX4A2M8BOK2yOq6/VgZFVhK6QAxJebhlbhzw==", "peer": true }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, "bip-schnorr": { "version": "0.6.6", "resolved": "https://registry.npmjs.org/bip-schnorr/-/bip-schnorr-0.6.6.tgz", @@ -12470,7 +13049,6 @@ "version": "3.0.2", "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "peer": true, "requires": { "fill-range": "^7.0.1" } @@ -12721,6 +13299,22 @@ "domutils": "^3.0.1" } }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, "chownr": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", @@ -13538,9 +14132,9 @@ } }, "diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", "dev": true }, "dom-serializer": { @@ -13679,8 +14273,7 @@ "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "peer": true + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" }, "encodeurl": { "version": "1.0.2", @@ -14023,7 +14616,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "peer": true, "requires": { "to-regex-range": "^5.0.1" } @@ -14060,6 +14652,22 @@ } } }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true + }, "follow-redirects": { "version": "1.15.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", @@ -14142,6 +14750,12 @@ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, "get-intrinsic": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", @@ -14169,7 +14783,6 @@ "version": "5.1.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "peer": true, "requires": { "is-glob": "^4.0.1" } @@ -14195,12 +14808,6 @@ "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==" }, - "growl": { - "version": "1.10.5", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", - "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", - "dev": true - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -14276,8 +14883,7 @@ "he": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "peer": true + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==" }, "hmac-drbg": { "version": "1.0.1", @@ -14544,6 +15150,15 @@ "integrity": "sha512-opmNIX7uFnS96NtPmhWQgQx6/NYFgsUXYMllcfzwWKUMwfo8kku1TvE6hkNcH+Q1ts5cMVrsY7j0bxXQDciu9Q==", "peer": true }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, "is-buffer": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz", @@ -14581,20 +15196,17 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "peer": true + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==" }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "peer": true + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" }, "is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "peer": true, "requires": { "is-extglob": "^2.1.1" } @@ -14614,8 +15226,13 @@ "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "peer": true + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true }, "is-potential-custom-element-name": { "version": "1.0.1", @@ -14657,6 +15274,12 @@ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "peer": true }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true + }, "is-uri": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/is-uri/-/is-uri-1.2.4.tgz", @@ -14802,8 +15425,24 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + }, + "dependencies": { + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + } + } }, "js2xmlparser": { "version": "3.0.0", @@ -15152,6 +15791,15 @@ "uc.micro": "^1.0.1" } }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -15170,12 +15818,82 @@ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "peer": true }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", "integrity": "sha512-k+yt5n3l48JU4k8ftnKG6V7u32wyH2NfKzeMto9F/QRE0amxy/LayxwlvjjkZEIzqR+19IrtFO8p5kB9QaYUFg==", "dev": true }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "peer": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, "lru-cache": { "version": "4.1.5", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", @@ -15527,43 +16245,56 @@ "peer": true }, "mocha": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-5.2.0.tgz", - "integrity": "sha512-2IUgKDhc3J7Uug+FxMXuqIyYzH7gJjXECKe/w43IGgQHTSj3InJi+yAA7T24L9bQMRKiUEHxEX37G5JpVUGLcQ==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", "dev": true, "requires": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", "browser-stdout": "1.3.1", - "commander": "2.15.1", - "debug": "3.1.0", - "diff": "3.5.0", - "escape-string-regexp": "1.0.5", - "glob": "7.1.2", - "growl": "1.10.5", - "he": "1.1.1", - "minimatch": "3.0.4", - "mkdirp": "0.5.1", - "supports-color": "5.4.0" - }, - "dependencies": { - "commander": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.15.1.tgz", - "integrity": "sha512-VlfT9F3V0v+jr4yxPc5gg9s62/fIVWsd2Bk2iD435um1NlGMYdVCq+MjcXnhYq2icNOizHr1kK+5TI6H0Hy0ag==", - "dev": true - }, - "debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "dependencies": { + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", "dev": true, "requires": { - "ms": "2.0.0" + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" } }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, "glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", @@ -15572,51 +16303,79 @@ "minimatch": "^3.0.4", "once": "^1.3.0", "path-is-absolute": "^1.0.0" + }, + "dependencies": { + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } } }, - "he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha512-z/GDPjlRMNOa2XJiB4em8wJpuuBfrFOlYKTZxtpkdr1uPdibHI8rYA3MY0KDObpVyaes0e/aunid/t88ZI2EKA==", + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, "minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", "dev": true, "requires": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^2.0.1" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + } } }, - "minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha512-miQKw5Hv4NS1Psg2517mV4e4dYNaO3++hjAvLOAzKqZ61rH8NS1SK+vbfBWZ5PY/Me/bEWhUwqMghEW5Fb9T7Q==", + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", "dev": true }, - "mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha512-SknJC52obPfGQPnjIkXbmA6+5H15E+fR+E4iR2oQ3zzCLbd7/ONua69R/Gw7AgkTLsRG+r5fzksYwWe1AgTyWA==", + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, "requires": { - "minimist": "0.0.8" + "has-flag": "^4.0.0" } }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", - "dev": true - }, - "supports-color": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", - "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", "dev": true, "requires": { - "has-flag": "^3.0.0" + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" } } } @@ -15632,6 +16391,12 @@ "integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==", "peer": true }, + "nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true + }, "napi-macros": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/napi-macros/-/napi-macros-2.0.0.tgz", @@ -15751,6 +16516,12 @@ "abbrev": "1" } }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, "normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -15896,6 +16667,24 @@ "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", "peer": true }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, "p-map": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", @@ -15979,6 +16768,12 @@ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", "peer": true }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", @@ -16262,7 +17057,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "peer": true, "requires": { "safe-buffer": "^5.1.0" } @@ -16296,6 +17090,27 @@ "node-gyp": "^8.4.1" } }, + "react": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", + "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "peer": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, + "react-dom": { + "version": "17.0.2", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", + "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "peer": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1", + "scheduler": "^0.20.2" + } + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -16307,6 +17122,15 @@ "util-deprecate": "^1.0.1" } }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, "recast": { "version": "0.11.23", "resolved": "https://registry.npmjs.org/recast/-/recast-0.11.23.tgz", @@ -16439,6 +17263,12 @@ "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", "dev": true }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true + }, "requires-port": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", @@ -16506,9 +17336,9 @@ } }, "rollup": { - "version": "2.75.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.5.tgz", - "integrity": "sha512-JzNlJZDison3o2mOxVmb44Oz7t74EfSd1SQrplQk0wSaXV7uLQXtVdHbxlcT3w+8tZ1TL4r/eLfc7nAbz38BBA==", + "version": "2.75.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.6.tgz", + "integrity": "sha512-OEf0TgpC9vU6WGROJIk1JA3LR5vk/yvqlzxqdrE2CzzXnqKXNzbAwlWUXis8RS3ZPe7LAq+YUxsRa0l3r27MLA==", "requires": { "fsevents": "~2.3.2" } @@ -16634,8 +17464,7 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "peer": true + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" }, "safer-buffer": { "version": "2.1.2", @@ -16651,6 +17480,16 @@ "xmlchars": "^2.2.0" } }, + "scheduler": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", + "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "peer": true, + "requires": { + "loose-envify": "^1.1.0", + "object-assign": "^4.1.1" + } + }, "sdp": { "version": "2.12.0", "resolved": "https://registry.npmjs.org/sdp/-/sdp-2.12.0.tgz", @@ -16715,6 +17554,15 @@ } } }, + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, "serve-static": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", @@ -16870,7 +17718,6 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "peer": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -16881,7 +17728,6 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "peer": true, "requires": { "ansi-regex": "^5.0.1" } @@ -17026,7 +17872,6 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "peer": true, "requires": { "is-number": "^7.0.0" } @@ -17447,6 +18292,49 @@ "integrity": "sha1-o9XabNXAvAAI03I0u68b7WMFkQc=", "peer": true }, + "workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + } + } + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -17484,6 +18372,12 @@ "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==" }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, "yallist": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", @@ -17502,6 +18396,44 @@ "window-size": "0.1.0" } }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true + }, + "yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "requires": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "dependencies": { + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + } + } + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + }, "zeromq": { "version": "5.2.8", "resolved": "https://registry.npmjs.org/zeromq/-/zeromq-5.2.8.tgz", diff --git a/package.json b/package.json index 9ab97a0..d4a777f 100644 --- a/package.json +++ b/package.json @@ -39,10 +39,10 @@ "homepage": "https://github.com/FabricLabs/fabric-react#readme", "dependencies": { "elliptic": "^6.5.4", - "rollup": "^2.72.1" + "rollup": "^2.75.6" }, "devDependencies": { - "@babel/core": "^7.17.10", + "@babel/core": "^7.18.5", "@babel/preset-env": "^7.17.10", "@babel/preset-react": "^7.16.7", "@rollup/plugin-babel": "^5.3.1", From 1e5f3a2ad04f88cc476f473166699293d2c2ad14 Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 16:21:06 -0400 Subject: [PATCH 02/16] fix: React component import statement --- components/FabricBridge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/FabricBridge.js b/components/FabricBridge.js index befe5f8..11eca3b 100644 --- a/components/FabricBridge.js +++ b/components/FabricBridge.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; // State // import * as defaults from '../settings/state'; @@ -21,7 +21,7 @@ import { // import * as Worker from '@fabric/core/types/worker'; import * as Remote from '@fabric/http/types/remote'; -class FabricBridge extends Component { +class FabricBridge extends React.Component { constructor (props) { super(props); From f722c510d2832751f3c4fecddf1faf09be44d231 Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 16:22:06 -0400 Subject: [PATCH 03/16] build: add missing dependencies --- package-lock.json | 550 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 4 +- 2 files changed, 511 insertions(+), 43 deletions(-) diff --git a/package-lock.json b/package-lock.json index 573200a..c9b1ca6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,9 @@ "mocha": "^10.0.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", - "rollup-plugin-minify": "^1.0.3" + "rollup-plugin-minify": "^1.0.3", + "semantic-ui-react": "^2.1.3", + "trezor-connect": "^8.2.9" }, "peerDependencies": { "@fabric/core": "FabricLabs/fabric#feature/node-16", @@ -2084,6 +2086,39 @@ "@fabric/core": "FabricLabs/fabric#feature/node-16" } }, + "node_modules/@fluentui/react-component-event-listener": { + "version": "0.63.1", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.1.tgz", + "integrity": "sha512-gSMdOh6tI3IJKZFqxfQwbTpskpME0CvxdxGM2tdglmf6ZPVDi0L4+KKIm+2dN8nzb8Ya1A8ZT+Ddq0KmZtwVQg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.10.4" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/@fluentui/react-component-ref": { + "version": "0.63.1", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.63.1.tgz", + "integrity": "sha512-8MkXX4+R3i80msdbD4rFpEB4WWq2UDvGwG386g3ckIWbekdvN9z2kWAd9OXhRGqB7QeOsoAGWocp6gAMCivRlw==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.10.4", + "react-is": "^16.6.3" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, + "node_modules/@fluentui/react-component-ref/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "node_modules/@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", @@ -2287,6 +2322,16 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/@popperjs/core": { + "version": "2.11.5", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", + "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/popperjs" + } + }, "node_modules/@rollup/plugin-babel": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", @@ -2386,6 +2431,20 @@ "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", "dev": true }, + "node_modules/@semantic-ui-react/event-stack": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", + "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", + "dev": true, + "dependencies": { + "exenv": "^1.2.2", + "prop-types": "^15.6.2" + }, + "peerDependencies": { + "react": "^16.0.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/@swc/helpers": { "version": "0.3.17", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.3.17.tgz", @@ -3594,7 +3653,6 @@ "version": "4.20.3", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", - "dev": true, "funding": [ { "type": "opencollective", @@ -3795,7 +3853,6 @@ "version": "1.0.30001346", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz", "integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==", - "dev": true, "funding": [ { "type": "opencollective", @@ -3993,6 +4050,15 @@ "node": ">=0.4.0" } }, + "node_modules/clsx": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", + "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/code-block-writer": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-10.1.1.tgz", @@ -4288,6 +4354,15 @@ "sha.js": "^2.4.8" } }, + "node_modules/cross-fetch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", + "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "dev": true, + "dependencies": { + "node-fetch": "2.6.7" + } + }, "node_modules/crypto-js": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.3.0.tgz", @@ -5023,8 +5098,7 @@ "node_modules/electron-to-chromium": { "version": "1.4.147", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.147.tgz", - "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==", - "dev": true + "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==" }, "node_modules/elliptic": { "version": "6.5.4", @@ -5144,7 +5218,6 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, "engines": { "node": ">=6" } @@ -5249,6 +5322,21 @@ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", "peer": true }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/exenv": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz", + "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==", + "dev": true + }, "node_modules/express": { "version": "4.18.1", "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", @@ -5572,6 +5660,18 @@ "node": ">= 0.6" } }, + "node_modules/fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", + "engines": { + "node": "*" + }, + "funding": { + "type": "patreon", + "url": "https://www.patreon.com/infusion" + } + }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -6836,6 +6936,12 @@ "through2": "^2.0.0" } }, + "node_modules/keyboard-key": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.1.0.tgz", + "integrity": "sha512-qkBzPTi3rlAKvX7k0/ub44sqOfXeLc/jcnGGmj5c7BJpU8eDrEVPyhCvNYAaoubbsLm9uGWwQJO1ytQK1a9/dQ==", + "dev": true + }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -7053,8 +7159,13 @@ "node_modules/lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "peer": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true }, "node_modules/lodash.debounce": { "version": "4.0.8", @@ -7167,7 +7278,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "peer": true, "dependencies": { "js-tokens": "^3.0.0 || ^4.0.0" }, @@ -7827,7 +7937,6 @@ "version": "2.6.7", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "peer": true, "dependencies": { "whatwg-url": "^5.0.0" }, @@ -7846,20 +7955,17 @@ "node_modules/node-fetch/node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", - "peer": true + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" }, "node_modules/node-fetch/node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", - "peer": true + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" }, "node_modules/node-fetch/node_modules/whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "peer": true, "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -7951,8 +8057,7 @@ "node_modules/node-releases": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", - "dev": true + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" }, "node_modules/nopt": { "version": "5.0.0", @@ -7978,6 +8083,14 @@ "node": ">=0.10.0" } }, + "node_modules/normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -8027,7 +8140,6 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -8456,8 +8568,7 @@ "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -8523,6 +8634,47 @@ "mkdirp": "bin/cmd.js" } }, + "node_modules/postcss": { + "version": "8.4.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", + "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + } + ], + "peer": true, + "dependencies": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, + "node_modules/postcss/node_modules/nanoid": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "peer": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -8566,6 +8718,23 @@ "node": ">=10" } }, + "node_modules/prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, + "dependencies": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + } + }, + "node_modules/prop-types/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -8746,6 +8915,33 @@ "react": "17.0.2" } }, + "node_modules/react-fast-compare": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", + "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==", + "dev": true + }, + "node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true + }, + "node_modules/react-popper": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", + "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "dev": true, + "dependencies": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + }, + "peerDependencies": { + "@popperjs/core": "^2.0.0", + "react": "^16.8.0 || ^17 || ^18", + "react-dom": "^16.8.0 || ^17 || ^18" + } + }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -9255,6 +9451,31 @@ "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", "peer": true }, + "node_modules/semantic-ui-react": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-2.1.3.tgz", + "integrity": "sha512-dd2pqalMk0ycJoHf7hn4mYd0xohg0NMk7ohlpPVOigCfMLrKk2e3NZdRk0yBetvD+qJXPqZ04jA43bDwqOM5OA==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.10.5", + "@fluentui/react-component-event-listener": "~0.63.0", + "@fluentui/react-component-ref": "~0.63.0", + "@popperjs/core": "^2.6.0", + "@semantic-ui-react/event-stack": "^3.1.3", + "clsx": "^1.1.1", + "keyboard-key": "^1.1.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "prop-types": "^15.7.2", + "react-is": "^16.8.6 || ^17.0.0 || ^18.0.0", + "react-popper": "^2.3.0", + "shallowequal": "^1.1.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, "node_modules/semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -9358,6 +9579,12 @@ "sha.js": "bin.js" } }, + "node_modules/shallowequal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "dev": true + }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -9447,6 +9674,15 @@ "node": ">=0.10.0" } }, + "node_modules/source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "peer": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -9749,6 +9985,17 @@ "node": ">=0.6" } }, + "node_modules/trezor-connect": { + "version": "8.2.9", + "resolved": "https://registry.npmjs.org/trezor-connect/-/trezor-connect-8.2.9.tgz", + "integrity": "sha512-WIpOx2ViAAZ37cBRT3rnSo0goasSzUP6j57+lJ7zDdUZMjriXvANe33y28E5GyDTWeX0JDrmJkkzkYCB+wMUSw==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.15.4", + "cross-fetch": "^3.1.5", + "events": "^3.3.0" + } + }, "node_modules/ts-morph": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-10.1.0.tgz", @@ -10075,6 +10322,15 @@ "node": ">=12" } }, + "node_modules/warning": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "dev": true, + "dependencies": { + "loose-envify": "^1.0.0" + } + }, "node_modules/webidl-conversions": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", @@ -11910,6 +12166,33 @@ "zeromq": "^5.2.8" } }, + "@fluentui/react-component-event-listener": { + "version": "0.63.1", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.1.tgz", + "integrity": "sha512-gSMdOh6tI3IJKZFqxfQwbTpskpME0CvxdxGM2tdglmf6ZPVDi0L4+KKIm+2dN8nzb8Ya1A8ZT+Ddq0KmZtwVQg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.10.4" + } + }, + "@fluentui/react-component-ref": { + "version": "0.63.1", + "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.63.1.tgz", + "integrity": "sha512-8MkXX4+R3i80msdbD4rFpEB4WWq2UDvGwG386g3ckIWbekdvN9z2kWAd9OXhRGqB7QeOsoAGWocp6gAMCivRlw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.10.4", + "react-is": "^16.6.3" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } + } + }, "@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", @@ -12074,6 +12357,12 @@ } } }, + "@popperjs/core": { + "version": "2.11.5", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz", + "integrity": "sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw==", + "dev": true + }, "@rollup/plugin-babel": { "version": "5.3.1", "resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz", @@ -12141,6 +12430,16 @@ } } }, + "@semantic-ui-react/event-stack": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", + "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", + "dev": true, + "requires": { + "exenv": "^1.2.2", + "prop-types": "^15.6.2" + } + }, "@swc/helpers": { "version": "0.3.17", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.3.17.tgz", @@ -12521,6 +12820,19 @@ "integrity": "sha512-yj9C819u3ED3/OyRd9mLKMXGy8wsElaf6bkkv6OqZEKrNAT461TjiznS4IfPBy8Mmh6DWaXCQCVYSq3+VHkpjQ==", "peer": true }, + "autoprefixer": { + "version": "10.4.7", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz", + "integrity": "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==", + "requires": { + "browserslist": "^4.20.3", + "caniuse-lite": "^1.0.30001335", + "fraction.js": "^4.2.0", + "normalize-range": "^0.1.2", + "picocolors": "^1.0.0", + "postcss-value-parser": "^4.2.0" + } + }, "babel-plugin-dynamic-import-node": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", @@ -13074,7 +13386,6 @@ "version": "4.20.3", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", - "dev": true, "requires": { "caniuse-lite": "^1.0.30001332", "electron-to-chromium": "^1.4.118", @@ -13221,8 +13532,7 @@ "caniuse-lite": { "version": "1.0.30001346", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz", - "integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==", - "dev": true + "integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==" }, "catering": { "version": "2.1.1", @@ -13371,6 +13681,12 @@ } } }, + "clsx": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", + "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==", + "dev": true + }, "code-block-writer": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-10.1.1.tgz", @@ -13622,6 +13938,15 @@ "sha.js": "^2.4.8" } }, + "cross-fetch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.5.tgz", + "integrity": "sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==", + "dev": true, + "requires": { + "node-fetch": "2.6.7" + } + }, "crypto-js": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-3.3.0.tgz", @@ -14253,8 +14578,7 @@ "electron-to-chromium": { "version": "1.4.147", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.147.tgz", - "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==", - "dev": true + "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==" }, "elliptic": { "version": "6.5.4", @@ -14360,8 +14684,7 @@ "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" }, "escape-html": { "version": "1.0.3", @@ -14428,6 +14751,18 @@ "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", "peer": true }, + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true + }, + "exenv": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz", + "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==", + "dev": true + }, "express": { "version": "4.18.1", "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", @@ -14697,6 +15032,11 @@ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "peer": true }, + "fraction.js": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", + "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==" + }, "fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -15631,6 +15971,12 @@ "through2": "^2.0.0" } }, + "keyboard-key": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.1.0.tgz", + "integrity": "sha512-qkBzPTi3rlAKvX7k0/ub44sqOfXeLc/jcnGGmj5c7BJpU8eDrEVPyhCvNYAaoubbsLm9uGWwQJO1ytQK1a9/dQ==", + "dev": true + }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -15803,8 +16149,13 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "peer": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", + "dev": true }, "lodash.debounce": { "version": "4.0.8", @@ -15889,7 +16240,6 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "peer": true, "requires": { "js-tokens": "^3.0.0 || ^4.0.0" } @@ -16413,7 +16763,6 @@ "version": "2.6.7", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "peer": true, "requires": { "whatwg-url": "^5.0.0" }, @@ -16421,20 +16770,17 @@ "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=", - "peer": true + "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=" }, "webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=", - "peer": true + "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=" }, "whatwg-url": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", "integrity": "sha1-lmRU6HZUYuN2RNNib2dCzotwll0=", - "peer": true, "requires": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" @@ -16504,8 +16850,7 @@ "node-releases": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", - "dev": true + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" }, "nopt": { "version": "5.0.0", @@ -16522,6 +16867,11 @@ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==" + }, "normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -16558,8 +16908,7 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "peer": true + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" }, "object-inspect": { "version": "1.12.2", @@ -16892,8 +17241,7 @@ "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", - "dev": true + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" }, "picomatch": { "version": "2.3.1", @@ -16946,6 +17294,30 @@ } } }, + "postcss": { + "version": "8.4.14", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", + "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", + "peer": true, + "requires": { + "nanoid": "^3.3.4", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "dependencies": { + "nanoid": { + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", + "peer": true + } + } + }, + "postcss-value-parser": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", + "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -16980,6 +17352,25 @@ "retry": "^0.12.0" } }, + "prop-types": { + "version": "15.8.1", + "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", + "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "dev": true, + "requires": { + "loose-envify": "^1.4.0", + "object-assign": "^4.1.1", + "react-is": "^16.13.1" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } + } + }, "proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -17111,6 +17502,28 @@ "scheduler": "^0.20.2" } }, + "react-fast-compare": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/react-fast-compare/-/react-fast-compare-3.2.0.tgz", + "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==", + "dev": true + }, + "react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true + }, + "react-popper": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", + "integrity": "sha512-e1hj8lL3uM+sgSR4Lxzn5h1GxBlpa4CQz0XLF8kx4MDrDRWY0Ena4c97PUeSX9i5W3UAfDP0z0FXCTQkoXUl3Q==", + "dev": true, + "requires": { + "react-fast-compare": "^3.0.1", + "warning": "^4.0.2" + } + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -17502,6 +17915,27 @@ "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", "peer": true }, + "semantic-ui-react": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-2.1.3.tgz", + "integrity": "sha512-dd2pqalMk0ycJoHf7hn4mYd0xohg0NMk7ohlpPVOigCfMLrKk2e3NZdRk0yBetvD+qJXPqZ04jA43bDwqOM5OA==", + "dev": true, + "requires": { + "@babel/runtime": "^7.10.5", + "@fluentui/react-component-event-listener": "~0.63.0", + "@fluentui/react-component-ref": "~0.63.0", + "@popperjs/core": "^2.6.0", + "@semantic-ui-react/event-stack": "^3.1.3", + "clsx": "^1.1.1", + "keyboard-key": "^1.1.0", + "lodash": "^4.17.21", + "lodash-es": "^4.17.21", + "prop-types": "^15.7.2", + "react-is": "^16.8.6 || ^17.0.0 || ^18.0.0", + "react-popper": "^2.3.0", + "shallowequal": "^1.1.0" + } + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -17597,6 +18031,12 @@ "safe-buffer": "^5.0.1" } }, + "shallowequal": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", + "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", + "dev": true + }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -17666,6 +18106,12 @@ "optional": true, "peer": true }, + "source-map-js": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", + "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "peer": true + }, "sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -17914,6 +18360,17 @@ "integrity": "sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A==", "peer": true }, + "trezor-connect": { + "version": "8.2.9", + "resolved": "https://registry.npmjs.org/trezor-connect/-/trezor-connect-8.2.9.tgz", + "integrity": "sha512-WIpOx2ViAAZ37cBRT3rnSo0goasSzUP6j57+lJ7zDdUZMjriXvANe33y28E5GyDTWeX0JDrmJkkzkYCB+wMUSw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.15.4", + "cross-fetch": "^3.1.5", + "events": "^3.3.0" + } + }, "ts-morph": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-10.1.0.tgz", @@ -18168,6 +18625,15 @@ "xml-name-validator": "^4.0.0" } }, + "warning": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", + "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, "webidl-conversions": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-7.0.0.tgz", diff --git a/package.json b/package.json index d4a777f..620085b 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,9 @@ "mocha": "^10.0.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", - "rollup-plugin-minify": "^1.0.3" + "rollup-plugin-minify": "^1.0.3", + "semantic-ui-react": "^2.1.3", + "trezor-connect": "^8.2.9" }, "peerDependencies": { "@fabric/core": "FabricLabs/fabric#feature/node-16", From 6788790cdeec1375c12a9c7ebed1f088a1f7c024 Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 16:22:40 -0400 Subject: [PATCH 04/16] style: update component imports --- components/index.js | 8 + index.js | 103967 +++++++++++++++++++++++++++++++++++++++++ rollup.config.js | 2 +- 3 files changed, 103976 insertions(+), 1 deletion(-) create mode 100644 components/index.js create mode 100644 index.js diff --git a/components/index.js b/components/index.js new file mode 100644 index 0000000..b7b479d --- /dev/null +++ b/components/index.js @@ -0,0 +1,8 @@ + +const FabricBridge = require('./FabricBridge'); +const FabricIdentity = require('./FabricIdentity'); +const FabricIdentityManager = require('./FabricIdentityManager'); + +exports.FabricBridge = FabricBridge; +exports.FabricIdentity = FabricIdentity; +exports.FabricIdentityManager = FabricIdentityManager; \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..292b293 --- /dev/null +++ b/index.js @@ -0,0 +1,103967 @@ +'use strict'; + +Object.defineProperty(exports, '__esModule', { value: true }); + +var React = require('react'); +var merge = require('lodash.merge'); +var semanticUiReact = require('semantic-ui-react'); +var require$$0$2 = require('crypto'); +var http$2 = require('http'); +var require$$2$1 = require('https'); +var require$$3 = require('querystring'); +var Stream = require('stream'); +var Url = require('url'); +var require$$0$3 = require('punycode'); +var zlib$1 = require('zlib'); +var require$$0$4 = require('events'); +var require$$4$1 = require('net'); +var require$$5$1 = require('tls'); +var fs = require('fs'); +var require$$0$5 = require('buffer'); +var require$$8 = require('bip39'); +var TrezorConnect = require('trezor-connect'); + +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +function _interopNamespace(e) { + if (e && e.__esModule) return e; + var n = Object.create(null); + if (e) { + Object.keys(e).forEach(function (k) { + if (k !== 'default') { + var d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: function () { return e[k]; } + }); + } + }); + } + n["default"] = e; + return Object.freeze(n); +} + +function _mergeNamespaces(n, m) { + m.forEach(function (e) { + e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) { + if (k !== 'default' && !(k in n)) { + var d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: function () { return e[k]; } + }); + } + }); + }); + return Object.freeze(n); +} + +var React__default = /*#__PURE__*/_interopDefaultLegacy(React); +var merge__default = /*#__PURE__*/_interopDefaultLegacy(merge); +var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0$2); +var http__default = /*#__PURE__*/_interopDefaultLegacy(http$2); +var require$$2__default = /*#__PURE__*/_interopDefaultLegacy(require$$2$1); +var require$$3__default = /*#__PURE__*/_interopDefaultLegacy(require$$3); +var Stream__default = /*#__PURE__*/_interopDefaultLegacy(Stream); +var Url__default = /*#__PURE__*/_interopDefaultLegacy(Url); +var require$$0__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$0$3); +var zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib$1); +var require$$0__default$2 = /*#__PURE__*/_interopDefaultLegacy(require$$0$4); +var require$$4__default = /*#__PURE__*/_interopDefaultLegacy(require$$4$1); +var require$$5__default = /*#__PURE__*/_interopDefaultLegacy(require$$5$1); +var require$$0__default$3 = /*#__PURE__*/_interopDefaultLegacy(require$$0$5); +var require$$8__default = /*#__PURE__*/_interopDefaultLegacy(require$$8); +var require$$8__namespace = /*#__PURE__*/_interopNamespace(require$$8); +var TrezorConnect__default = /*#__PURE__*/_interopDefaultLegacy(TrezorConnect); + +var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + +function getAugmentedNamespace(n) { + var f = n.default; + if (typeof f == "function") { + var a = function () { + return f.apply(this, arguments); + }; + a.prototype = f.prototype; + } else a = {}; + Object.defineProperty(a, '__esModule', {value: true}); + Object.keys(n).forEach(function (k) { + var d = Object.getOwnPropertyDescriptor(n, k); + Object.defineProperty(a, k, d.get ? d : { + enumerable: true, + get: function () { + return n[k]; + } + }); + }); + return a; +} + +var components = {}; + +function ownKeys(object, enumerableOnly) { + var keys = Object.keys(object); + + if (Object.getOwnPropertySymbols) { + var symbols = Object.getOwnPropertySymbols(object); + enumerableOnly && (symbols = symbols.filter(function (sym) { + return Object.getOwnPropertyDescriptor(object, sym).enumerable; + })), keys.push.apply(keys, symbols); + } + + return keys; +} + +function _objectSpread2(target) { + for (var i = 1; i < arguments.length; i++) { + var source = null != arguments[i] ? arguments[i] : {}; + i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { + _defineProperty(target, key, source[key]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { + Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); + }); + } + + return target; +} + +function _regeneratorRuntime() { + /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ + + _regeneratorRuntime = function () { + return exports; + }; + + var exports = {}, + Op = Object.prototype, + hasOwn = Op.hasOwnProperty, + $Symbol = "function" == typeof Symbol ? Symbol : {}, + iteratorSymbol = $Symbol.iterator || "@@iterator", + asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", + toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; + + function define(obj, key, value) { + return Object.defineProperty(obj, key, { + value: value, + enumerable: !0, + configurable: !0, + writable: !0 + }), obj[key]; + } + + try { + define({}, ""); + } catch (err) { + define = function (obj, key, value) { + return obj[key] = value; + }; + } + + function wrap(innerFn, outerFn, self, tryLocsList) { + var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, + generator = Object.create(protoGenerator.prototype), + context = new Context(tryLocsList || []); + return generator._invoke = function (innerFn, self, context) { + var state = "suspendedStart"; + return function (method, arg) { + if ("executing" === state) throw new Error("Generator is already running"); + + if ("completed" === state) { + if ("throw" === method) throw arg; + return doneResult(); + } + + for (context.method = method, context.arg = arg;;) { + var delegate = context.delegate; + + if (delegate) { + var delegateResult = maybeInvokeDelegate(delegate, context); + + if (delegateResult) { + if (delegateResult === ContinueSentinel) continue; + return delegateResult; + } + } + + if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { + if ("suspendedStart" === state) throw state = "completed", context.arg; + context.dispatchException(context.arg); + } else "return" === context.method && context.abrupt("return", context.arg); + state = "executing"; + var record = tryCatch(innerFn, self, context); + + if ("normal" === record.type) { + if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; + return { + value: record.arg, + done: context.done + }; + } + + "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); + } + }; + }(innerFn, self, context), generator; + } + + function tryCatch(fn, obj, arg) { + try { + return { + type: "normal", + arg: fn.call(obj, arg) + }; + } catch (err) { + return { + type: "throw", + arg: err + }; + } + } + + exports.wrap = wrap; + var ContinueSentinel = {}; + + function Generator() {} + + function GeneratorFunction() {} + + function GeneratorFunctionPrototype() {} + + var IteratorPrototype = {}; + define(IteratorPrototype, iteratorSymbol, function () { + return this; + }); + var getProto = Object.getPrototypeOf, + NativeIteratorPrototype = getProto && getProto(getProto(values([]))); + NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); + var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); + + function defineIteratorMethods(prototype) { + ["next", "throw", "return"].forEach(function (method) { + define(prototype, method, function (arg) { + return this._invoke(method, arg); + }); + }); + } + + function AsyncIterator(generator, PromiseImpl) { + function invoke(method, arg, resolve, reject) { + var record = tryCatch(generator[method], generator, arg); + + if ("throw" !== record.type) { + var result = record.arg, + value = result.value; + return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { + invoke("next", value, resolve, reject); + }, function (err) { + invoke("throw", err, resolve, reject); + }) : PromiseImpl.resolve(value).then(function (unwrapped) { + result.value = unwrapped, resolve(result); + }, function (error) { + return invoke("throw", error, resolve, reject); + }); + } + + reject(record.arg); + } + + var previousPromise; + + this._invoke = function (method, arg) { + function callInvokeWithMethodAndArg() { + return new PromiseImpl(function (resolve, reject) { + invoke(method, arg, resolve, reject); + }); + } + + return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); + }; + } + + function maybeInvokeDelegate(delegate, context) { + var method = delegate.iterator[context.method]; + + if (undefined === method) { + if (context.delegate = null, "throw" === context.method) { + if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; + context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); + } + + return ContinueSentinel; + } + + var record = tryCatch(method, delegate.iterator, context.arg); + if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; + var info = record.arg; + return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); + } + + function pushTryEntry(locs) { + var entry = { + tryLoc: locs[0] + }; + 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); + } + + function resetTryEntry(entry) { + var record = entry.completion || {}; + record.type = "normal", delete record.arg, entry.completion = record; + } + + function Context(tryLocsList) { + this.tryEntries = [{ + tryLoc: "root" + }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); + } + + function values(iterable) { + if (iterable) { + var iteratorMethod = iterable[iteratorSymbol]; + if (iteratorMethod) return iteratorMethod.call(iterable); + if ("function" == typeof iterable.next) return iterable; + + if (!isNaN(iterable.length)) { + var i = -1, + next = function next() { + for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; + + return next.value = undefined, next.done = !0, next; + }; + + return next.next = next; + } + } + + return { + next: doneResult + }; + } + + function doneResult() { + return { + value: undefined, + done: !0 + }; + } + + return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { + var ctor = "function" == typeof genFun && genFun.constructor; + return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); + }, exports.mark = function (genFun) { + return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; + }, exports.awrap = function (arg) { + return { + __await: arg + }; + }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { + return this; + }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { + void 0 === PromiseImpl && (PromiseImpl = Promise); + var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); + return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { + return result.done ? result.value : iter.next(); + }); + }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { + return this; + }), define(Gp, "toString", function () { + return "[object Generator]"; + }), exports.keys = function (object) { + var keys = []; + + for (var key in object) keys.push(key); + + return keys.reverse(), function next() { + for (; keys.length;) { + var key = keys.pop(); + if (key in object) return next.value = key, next.done = !1, next; + } + + return next.done = !0, next; + }; + }, exports.values = values, Context.prototype = { + constructor: Context, + reset: function (skipTempReset) { + if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); + }, + stop: function () { + this.done = !0; + var rootRecord = this.tryEntries[0].completion; + if ("throw" === rootRecord.type) throw rootRecord.arg; + return this.rval; + }, + dispatchException: function (exception) { + if (this.done) throw exception; + var context = this; + + function handle(loc, caught) { + return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; + } + + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i], + record = entry.completion; + if ("root" === entry.tryLoc) return handle("end"); + + if (entry.tryLoc <= this.prev) { + var hasCatch = hasOwn.call(entry, "catchLoc"), + hasFinally = hasOwn.call(entry, "finallyLoc"); + + if (hasCatch && hasFinally) { + if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); + if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); + } else if (hasCatch) { + if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); + } else { + if (!hasFinally) throw new Error("try statement without catch or finally"); + if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); + } + } + } + }, + abrupt: function (type, arg) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { + var finallyEntry = entry; + break; + } + } + + finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); + var record = finallyEntry ? finallyEntry.completion : {}; + return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); + }, + complete: function (record, afterLoc) { + if ("throw" === record.type) throw record.arg; + return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; + }, + finish: function (finallyLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; + } + }, + catch: function (tryLoc) { + for (var i = this.tryEntries.length - 1; i >= 0; --i) { + var entry = this.tryEntries[i]; + + if (entry.tryLoc === tryLoc) { + var record = entry.completion; + + if ("throw" === record.type) { + var thrown = record.arg; + resetTryEntry(entry); + } + + return thrown; + } + } + + throw new Error("illegal catch attempt"); + }, + delegateYield: function (iterable, resultName, nextLoc) { + return this.delegate = { + iterator: values(iterable), + resultName: resultName, + nextLoc: nextLoc + }, "next" === this.method && (this.arg = undefined), ContinueSentinel; + } + }, exports; +} + +function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { + try { + var info = gen[key](arg); + var value = info.value; + } catch (error) { + reject(error); + return; + } + + if (info.done) { + resolve(value); + } else { + Promise.resolve(value).then(_next, _throw); + } +} + +function _asyncToGenerator(fn) { + return function () { + var self = this, + args = arguments; + return new Promise(function (resolve, reject) { + var gen = fn.apply(self, args); + + function _next(value) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); + } + + function _throw(err) { + asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); + } + + _next(undefined); + }); + }; +} + +function _classCallCheck$1(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +function _defineProperties$1(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass$1(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); + if (staticProps) _defineProperties$1(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; +} + +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + Object.defineProperty(subClass, "prototype", { + writable: false + }); + if (superClass) _setPrototypeOf(subClass, superClass); +} + +function _getPrototypeOf(o) { + _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { + return o.__proto__ || Object.getPrototypeOf(o); + }; + return _getPrototypeOf(o); +} + +function _setPrototypeOf(o, p) { + _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + return _setPrototypeOf(o, p); +} + +function _isNativeReflectConstruct() { + if (typeof Reflect === "undefined" || !Reflect.construct) return false; + if (Reflect.construct.sham) return false; + if (typeof Proxy === "function") return true; + + try { + Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); + return true; + } catch (e) { + return false; + } +} + +function _assertThisInitialized(self) { + if (self === void 0) { + throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); + } + + return self; +} + +function _possibleConstructorReturn(self, call) { + if (call && (typeof call === "object" || typeof call === "function")) { + return call; + } else if (call !== void 0) { + throw new TypeError("Derived constructors may only return object or undefined"); + } + + return _assertThisInitialized(self); +} + +function _createSuper(Derived) { + var hasNativeReflectConstruct = _isNativeReflectConstruct(); + + return function _createSuperInternal() { + var Super = _getPrototypeOf(Derived), + result; + + if (hasNativeReflectConstruct) { + var NewTarget = _getPrototypeOf(this).constructor; + + result = Reflect.construct(Super, arguments, NewTarget); + } else { + result = Super.apply(this, arguments); + } + + return _possibleConstructorReturn(this, result); + }; +} + +/* + Fabric Core Constants. + --- + Author: Fabric Labs + Copyright: All Rights Reserved. + */ + +// Dependencies +const crypto$a = require$$0__default["default"]; + +// Networking and Environment +const PEER_PORT = 9999; +const MAX_PEERS = 32; +const PRECISION = 100; + +// Fabric Core +const BITCOIN_GENESIS = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f'; +const BITCOIN_GENESIS_ROOT = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b'; +const FABRIC_KEY_DERIVATION_PATH$1 = "m/44'/0'/0'/0/0"; + +// Message Constants +const MAGIC_BYTES$1 = 0xC0D3F33D; +const VERSION_NUMBER$1 = 0x00; // 0 for development, pre-alpha, 1 for production +const HEADER_SIZE$1 = 144; // [4], [4], [32], [4], [4], [32], [64] bytes +const LARGE_COLLECTION_SIZE = 10; // TODO: test with 1,000,000 +const MAX_MESSAGE_SIZE$1 = 4096 - HEADER_SIZE$1; + +// Stacks and Frames +const MAX_STACK_HEIGHT = 32; // max height of stack (number of elements) +const MAX_FRAME_SIZE = 32; // max size of a stack frame in bytes +const MAX_MEMORY_ALLOC = MAX_STACK_HEIGHT * MAX_FRAME_SIZE; +const MAX_TX_PER_BLOCK = 100; +const MAX_CHANNEL_VALUE = 100000000; + +// Machine Constraints +const MACHINE_MAX_MEMORY = MAX_MEMORY_ALLOC * MAX_MESSAGE_SIZE$1; +const MAX_CHAT_MESSAGE_LENGTH = 2048; + +// FABRIC ONLY +const GENERIC_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericMessage').digest('hex').slice(0, 4), 16); +const LOG_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericLogMessage').digest('hex').slice(0, 4), 16); +const GENERIC_LIST_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericList').digest('hex').slice(0, 4), 16); +const DOCUMENT_PUBLISH_TYPE$1 = 998; +const DOCUMENT_REQUEST_TYPE$1 = 999; + +// Opcodes +const OP_CYCLE$1 = '00'; +const OP_DONE = 'ff'; + +// Bitcoin +const OP_0 = '00'; +const OP_36 = '24'; +const OP_CHECKSIG = 'ac'; +const OP_DUP = '76'; +const OP_EQUAL = '87'; +const OP_SHA256 = 'a8'; +const OP_HASH160 = 'a9'; +const OP_PUSHDATA1 = '4c'; +const OP_RETURN = '6a'; +const OP_EQUALVERIFY = '88'; +const OP_SEPARATOR = 'ab'; + +const P2P_GENERIC$1 = 0x80; // 128 in decimal +const P2P_IDENT_REQUEST$1 = 0x01; // 1, or the identity +const P2P_IDENT_RESPONSE$1 = 0x11; +const P2P_ROOT$1 = 0x00000000; +const P2P_PING$1 = 0x00000012; // same ID as Lightning (18) +const P2P_PONG$1 = 0x00000013; // same ID as Lightning (19) +const P2P_INSTRUCTION$1 = 0x00000020; // TODO: select w/ no overlap +const P2P_START_CHAIN$1 = 0x00000021; +const P2P_STATE_REQUEST$1 = 0x00000029; // TODO: select w/ no overlap +const P2P_STATE_ROOT$1 = 0x00000030; // TODO: select w/ no overlap +const P2P_BASE_MESSAGE$1 = 0x00000031; // TODO: select w/ no overlap +const P2P_STATE_COMMITTMENT$1 = 0x00000032; // TODO: select w/ no overlap +const P2P_STATE_CHANGE$1 = 0x00000033; // TODO: select w/ no overlap +const P2P_TRANSACTION$1 = 0x00000039; // TODO: select w/ no overlap +const P2P_CALL$2 = 0x00000042; +const P2P_CHAIN_SYNC_REQUEST$1 = 0x55; +const P2P_SESSION_ACK = 0x4200; +const P2P_MUSIG_START = 0x4220; +const P2P_MUSIG_ACCEPT = 0x4221; +const P2P_MUSIG_RECEIVE_COUNTER = 0x4222; +const P2P_MUSIG_SEND_PROPOSAL = 0x4223; +const P2P_MUSIG_REPLY_TO_PROPOSAL = 0x4224; +const P2P_MUSIG_ACCEPT_PROPOSAL = 0x4225; + +const PEER_CANDIDATE$1 = 0x09; +// TODO: should be 0x02 for Bitcoin P2P +const BLOCK_CANDIDATE$1 = 0x03; + +const SESSION_START$1 = 0x02; +const CHAT_MESSAGE$1 = 0x67; + +// Lightning +const LIGHTNING_TEST_HEADER = 'D0520C6E'; +const LIGHTNING_PROTOCOL_H_INIT = 'Noise_XK_secp256k1_ChaChaPoly_SHA256'; +const LIGHTNING_PROTOCOL_PROLOGUE = 'lightning'; + +// Lightning BMM +const LIGHTNING_BMM_HEADER = 'D0520C6E'; +const LIGHTNING_SIDECHAIN_NUM = 0xFF; // 1-byte - sidechain number + +const LIGHTNING_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; // 32-bytes +const LIGHTNING_PARENT_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; // 32-bytes + +const ZERO_LENGTH_PLAINTEXT = ''; + +var constants$1 = { + PEER_PORT, + MAX_PEERS, + PRECISION, + BITCOIN_GENESIS, + BITCOIN_GENESIS_ROOT, + FABRIC_KEY_DERIVATION_PATH: FABRIC_KEY_DERIVATION_PATH$1, + HEADER_SIZE: HEADER_SIZE$1, + GENERIC_MESSAGE_TYPE: GENERIC_MESSAGE_TYPE$1, + LOG_MESSAGE_TYPE: LOG_MESSAGE_TYPE$1, + GENERIC_LIST_TYPE: GENERIC_LIST_TYPE$1, + LARGE_COLLECTION_SIZE, + BLOCK_CANDIDATE: BLOCK_CANDIDATE$1, + CHAT_MESSAGE: CHAT_MESSAGE$1, + ZERO_LENGTH_PLAINTEXT, + LIGHTNING_TEST_HEADER, + LIGHTNING_PROTOCOL_H_INIT, + LIGHTNING_PROTOCOL_PROLOGUE, + LIGHTNING_BMM_HEADER, + LIGHTNING_SIDECHAIN_NUM, + LIGHTNING_SIDEBLOCK_HASH, + LIGHTNING_PARENT_SIDEBLOCK_HASH, + MAGIC_BYTES: MAGIC_BYTES$1, + MAX_FRAME_SIZE, + MAX_MEMORY_ALLOC, + MAX_MESSAGE_SIZE: MAX_MESSAGE_SIZE$1, + MAX_STACK_HEIGHT, + MAX_CHANNEL_VALUE, + MAX_CHAT_MESSAGE_LENGTH, + MAX_TX_PER_BLOCK, + MACHINE_MAX_MEMORY, + OP_CYCLE: OP_CYCLE$1, + OP_DONE, + OP_0, + OP_36, + OP_CHECKSIG, + OP_DUP, + OP_EQUAL, + OP_SHA256, + OP_HASH160, + OP_PUSHDATA1, + OP_RETURN, + OP_EQUALVERIFY, + OP_SEPARATOR, + P2P_GENERIC: P2P_GENERIC$1, + P2P_IDENT_REQUEST: P2P_IDENT_REQUEST$1, + P2P_IDENT_RESPONSE: P2P_IDENT_RESPONSE$1, + P2P_CHAIN_SYNC_REQUEST: P2P_CHAIN_SYNC_REQUEST$1, + P2P_ROOT: P2P_ROOT$1, + P2P_PING: P2P_PING$1, + P2P_PONG: P2P_PONG$1, + P2P_START_CHAIN: P2P_START_CHAIN$1, + P2P_INSTRUCTION: P2P_INSTRUCTION$1, + P2P_BASE_MESSAGE: P2P_BASE_MESSAGE$1, + P2P_STATE_ROOT: P2P_STATE_ROOT$1, + P2P_STATE_COMMITTMENT: P2P_STATE_COMMITTMENT$1, + P2P_STATE_CHANGE: P2P_STATE_CHANGE$1, + P2P_STATE_REQUEST: P2P_STATE_REQUEST$1, + P2P_TRANSACTION: P2P_TRANSACTION$1, + P2P_CALL: P2P_CALL$2, + P2P_SESSION_ACK, + P2P_MUSIG_START, + P2P_MUSIG_ACCEPT, + P2P_MUSIG_RECEIVE_COUNTER, + P2P_MUSIG_SEND_PROPOSAL, + P2P_MUSIG_REPLY_TO_PROPOSAL, + P2P_MUSIG_ACCEPT_PROPOSAL, + PEER_CANDIDATE: PEER_CANDIDATE$1, + DOCUMENT_PUBLISH_TYPE: DOCUMENT_PUBLISH_TYPE$1, + DOCUMENT_REQUEST_TYPE: DOCUMENT_REQUEST_TYPE$1, + SESSION_START: SESSION_START$1, + VERSION_NUMBER: VERSION_NUMBER$1 +}; + +var publicApi = {}; + +var URL$2 = {exports: {}}; + +var conversions = {}; +var lib$3 = conversions; + +function sign$1(x) { + return x < 0 ? -1 : 1; +} + +function evenRound(x) { + // Round x to the nearest integer, choosing the even integer if it lies halfway between two. + if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor) + return Math.floor(x); + } else { + return Math.round(x); + } +} + +function createNumberConversion(bitLength, typeOpts) { + if (!typeOpts.unsigned) { + --bitLength; + } + const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); + const upperBound = Math.pow(2, bitLength) - 1; + + const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); + const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); + + return function(V, opts) { + if (!opts) opts = {}; + + let x = +V; + + if (opts.enforceRange) { + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite number"); + } + + x = sign$1(x) * Math.floor(Math.abs(x)); + if (x < lowerBound || x > upperBound) { + throw new TypeError("Argument is not in byte range"); + } + + return x; + } + + if (!isNaN(x) && opts.clamp) { + x = evenRound(x); + + if (x < lowerBound) x = lowerBound; + if (x > upperBound) x = upperBound; + return x; + } + + if (!Number.isFinite(x) || x === 0) { + return 0; + } + + x = sign$1(x) * Math.floor(Math.abs(x)); + x = x % moduloVal; + + if (!typeOpts.unsigned && x >= moduloBound) { + return x - moduloVal; + } else if (typeOpts.unsigned) { + if (x < 0) { + x += moduloVal; + } else if (x === -0) { // don't return negative zero + return 0; + } + } + + return x; + } +} + +conversions["void"] = function () { + return undefined; +}; + +conversions["boolean"] = function (val) { + return !!val; +}; + +conversions["byte"] = createNumberConversion(8, { unsigned: false }); +conversions["octet"] = createNumberConversion(8, { unsigned: true }); + +conversions["short"] = createNumberConversion(16, { unsigned: false }); +conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); + +conversions["long"] = createNumberConversion(32, { unsigned: false }); +conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); + +conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); +conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); + +conversions["double"] = function (V) { + const x = +V; + + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite floating-point value"); + } + + return x; +}; + +conversions["unrestricted double"] = function (V) { + const x = +V; + + if (isNaN(x)) { + throw new TypeError("Argument is NaN"); + } + + return x; +}; + +// not quite valid, but good enough for JS +conversions["float"] = conversions["double"]; +conversions["unrestricted float"] = conversions["unrestricted double"]; + +conversions["DOMString"] = function (V, opts) { + if (!opts) opts = {}; + + if (opts.treatNullAsEmptyString && V === null) { + return ""; + } + + return String(V); +}; + +conversions["ByteString"] = function (V, opts) { + const x = String(V); + let c = undefined; + for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) { + if (c > 255) { + throw new TypeError("Argument is not a valid bytestring"); + } + } + + return x; +}; + +conversions["USVString"] = function (V) { + const S = String(V); + const n = S.length; + const U = []; + for (let i = 0; i < n; ++i) { + const c = S.charCodeAt(i); + if (c < 0xD800 || c > 0xDFFF) { + U.push(String.fromCodePoint(c)); + } else if (0xDC00 <= c && c <= 0xDFFF) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + if (i === n - 1) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + const d = S.charCodeAt(i + 1); + if (0xDC00 <= d && d <= 0xDFFF) { + const a = c & 0x3FF; + const b = d & 0x3FF; + U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b)); + ++i; + } else { + U.push(String.fromCodePoint(0xFFFD)); + } + } + } + } + + return U.join(''); +}; + +conversions["Date"] = function (V, opts) { + if (!(V instanceof Date)) { + throw new TypeError("Argument is not a Date object"); + } + if (isNaN(V)) { + return undefined; + } + + return V; +}; + +conversions["RegExp"] = function (V, opts) { + if (!(V instanceof RegExp)) { + V = new RegExp(V); + } + + return V; +}; + +var utils$n = {exports: {}}; + +(function (module) { + + module.exports.mixin = function mixin(target, source) { + const keys = Object.getOwnPropertyNames(source); + for (let i = 0; i < keys.length; ++i) { + Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); + } + }; + + module.exports.wrapperSymbol = Symbol("wrapper"); + module.exports.implSymbol = Symbol("impl"); + + module.exports.wrapperForImpl = function (impl) { + return impl[module.exports.wrapperSymbol]; + }; + + module.exports.implForWrapper = function (wrapper) { + return wrapper[module.exports.implSymbol]; + }; +} (utils$n)); + +var URLImpl = {}; + +var urlStateMachine = {exports: {}}; + +var tr46 = {}; + +var require$$1$1 = [ + [ + [ + 0, + 44 + ], + "disallowed_STD3_valid" + ], + [ + [ + 45, + 46 + ], + "valid" + ], + [ + [ + 47, + 47 + ], + "disallowed_STD3_valid" + ], + [ + [ + 48, + 57 + ], + "valid" + ], + [ + [ + 58, + 64 + ], + "disallowed_STD3_valid" + ], + [ + [ + 65, + 65 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 66, + 66 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 67, + 67 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 68, + 68 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 69, + 69 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 70, + 70 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 71, + 71 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 72, + 72 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 73, + 73 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 74, + 74 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 75, + 75 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 76, + 76 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 77, + 77 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 78, + 78 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 79, + 79 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 80, + 80 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 81, + 81 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 82, + 82 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 83, + 83 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 84, + 84 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 85, + 85 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 86, + 86 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 87, + 87 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 88, + 88 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 89, + 89 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 90, + 90 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 91, + 96 + ], + "disallowed_STD3_valid" + ], + [ + [ + 97, + 122 + ], + "valid" + ], + [ + [ + 123, + 127 + ], + "disallowed_STD3_valid" + ], + [ + [ + 128, + 159 + ], + "disallowed" + ], + [ + [ + 160, + 160 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 161, + 167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 168, + 168 + ], + "disallowed_STD3_mapped", + [ + 32, + 776 + ] + ], + [ + [ + 169, + 169 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 170, + 170 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 171, + 172 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 173, + 173 + ], + "ignored" + ], + [ + [ + 174, + 174 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 175, + 175 + ], + "disallowed_STD3_mapped", + [ + 32, + 772 + ] + ], + [ + [ + 176, + 177 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 178, + 178 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 179, + 179 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 180, + 180 + ], + "disallowed_STD3_mapped", + [ + 32, + 769 + ] + ], + [ + [ + 181, + 181 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 182, + 182 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 183, + 183 + ], + "valid" + ], + [ + [ + 184, + 184 + ], + "disallowed_STD3_mapped", + [ + 32, + 807 + ] + ], + [ + [ + 185, + 185 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 186, + 186 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 187, + 187 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 188, + 188 + ], + "mapped", + [ + 49, + 8260, + 52 + ] + ], + [ + [ + 189, + 189 + ], + "mapped", + [ + 49, + 8260, + 50 + ] + ], + [ + [ + 190, + 190 + ], + "mapped", + [ + 51, + 8260, + 52 + ] + ], + [ + [ + 191, + 191 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 192, + 192 + ], + "mapped", + [ + 224 + ] + ], + [ + [ + 193, + 193 + ], + "mapped", + [ + 225 + ] + ], + [ + [ + 194, + 194 + ], + "mapped", + [ + 226 + ] + ], + [ + [ + 195, + 195 + ], + "mapped", + [ + 227 + ] + ], + [ + [ + 196, + 196 + ], + "mapped", + [ + 228 + ] + ], + [ + [ + 197, + 197 + ], + "mapped", + [ + 229 + ] + ], + [ + [ + 198, + 198 + ], + "mapped", + [ + 230 + ] + ], + [ + [ + 199, + 199 + ], + "mapped", + [ + 231 + ] + ], + [ + [ + 200, + 200 + ], + "mapped", + [ + 232 + ] + ], + [ + [ + 201, + 201 + ], + "mapped", + [ + 233 + ] + ], + [ + [ + 202, + 202 + ], + "mapped", + [ + 234 + ] + ], + [ + [ + 203, + 203 + ], + "mapped", + [ + 235 + ] + ], + [ + [ + 204, + 204 + ], + "mapped", + [ + 236 + ] + ], + [ + [ + 205, + 205 + ], + "mapped", + [ + 237 + ] + ], + [ + [ + 206, + 206 + ], + "mapped", + [ + 238 + ] + ], + [ + [ + 207, + 207 + ], + "mapped", + [ + 239 + ] + ], + [ + [ + 208, + 208 + ], + "mapped", + [ + 240 + ] + ], + [ + [ + 209, + 209 + ], + "mapped", + [ + 241 + ] + ], + [ + [ + 210, + 210 + ], + "mapped", + [ + 242 + ] + ], + [ + [ + 211, + 211 + ], + "mapped", + [ + 243 + ] + ], + [ + [ + 212, + 212 + ], + "mapped", + [ + 244 + ] + ], + [ + [ + 213, + 213 + ], + "mapped", + [ + 245 + ] + ], + [ + [ + 214, + 214 + ], + "mapped", + [ + 246 + ] + ], + [ + [ + 215, + 215 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 216, + 216 + ], + "mapped", + [ + 248 + ] + ], + [ + [ + 217, + 217 + ], + "mapped", + [ + 249 + ] + ], + [ + [ + 218, + 218 + ], + "mapped", + [ + 250 + ] + ], + [ + [ + 219, + 219 + ], + "mapped", + [ + 251 + ] + ], + [ + [ + 220, + 220 + ], + "mapped", + [ + 252 + ] + ], + [ + [ + 221, + 221 + ], + "mapped", + [ + 253 + ] + ], + [ + [ + 222, + 222 + ], + "mapped", + [ + 254 + ] + ], + [ + [ + 223, + 223 + ], + "deviation", + [ + 115, + 115 + ] + ], + [ + [ + 224, + 246 + ], + "valid" + ], + [ + [ + 247, + 247 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 248, + 255 + ], + "valid" + ], + [ + [ + 256, + 256 + ], + "mapped", + [ + 257 + ] + ], + [ + [ + 257, + 257 + ], + "valid" + ], + [ + [ + 258, + 258 + ], + "mapped", + [ + 259 + ] + ], + [ + [ + 259, + 259 + ], + "valid" + ], + [ + [ + 260, + 260 + ], + "mapped", + [ + 261 + ] + ], + [ + [ + 261, + 261 + ], + "valid" + ], + [ + [ + 262, + 262 + ], + "mapped", + [ + 263 + ] + ], + [ + [ + 263, + 263 + ], + "valid" + ], + [ + [ + 264, + 264 + ], + "mapped", + [ + 265 + ] + ], + [ + [ + 265, + 265 + ], + "valid" + ], + [ + [ + 266, + 266 + ], + "mapped", + [ + 267 + ] + ], + [ + [ + 267, + 267 + ], + "valid" + ], + [ + [ + 268, + 268 + ], + "mapped", + [ + 269 + ] + ], + [ + [ + 269, + 269 + ], + "valid" + ], + [ + [ + 270, + 270 + ], + "mapped", + [ + 271 + ] + ], + [ + [ + 271, + 271 + ], + "valid" + ], + [ + [ + 272, + 272 + ], + "mapped", + [ + 273 + ] + ], + [ + [ + 273, + 273 + ], + "valid" + ], + [ + [ + 274, + 274 + ], + "mapped", + [ + 275 + ] + ], + [ + [ + 275, + 275 + ], + "valid" + ], + [ + [ + 276, + 276 + ], + "mapped", + [ + 277 + ] + ], + [ + [ + 277, + 277 + ], + "valid" + ], + [ + [ + 278, + 278 + ], + "mapped", + [ + 279 + ] + ], + [ + [ + 279, + 279 + ], + "valid" + ], + [ + [ + 280, + 280 + ], + "mapped", + [ + 281 + ] + ], + [ + [ + 281, + 281 + ], + "valid" + ], + [ + [ + 282, + 282 + ], + "mapped", + [ + 283 + ] + ], + [ + [ + 283, + 283 + ], + "valid" + ], + [ + [ + 284, + 284 + ], + "mapped", + [ + 285 + ] + ], + [ + [ + 285, + 285 + ], + "valid" + ], + [ + [ + 286, + 286 + ], + "mapped", + [ + 287 + ] + ], + [ + [ + 287, + 287 + ], + "valid" + ], + [ + [ + 288, + 288 + ], + "mapped", + [ + 289 + ] + ], + [ + [ + 289, + 289 + ], + "valid" + ], + [ + [ + 290, + 290 + ], + "mapped", + [ + 291 + ] + ], + [ + [ + 291, + 291 + ], + "valid" + ], + [ + [ + 292, + 292 + ], + "mapped", + [ + 293 + ] + ], + [ + [ + 293, + 293 + ], + "valid" + ], + [ + [ + 294, + 294 + ], + "mapped", + [ + 295 + ] + ], + [ + [ + 295, + 295 + ], + "valid" + ], + [ + [ + 296, + 296 + ], + "mapped", + [ + 297 + ] + ], + [ + [ + 297, + 297 + ], + "valid" + ], + [ + [ + 298, + 298 + ], + "mapped", + [ + 299 + ] + ], + [ + [ + 299, + 299 + ], + "valid" + ], + [ + [ + 300, + 300 + ], + "mapped", + [ + 301 + ] + ], + [ + [ + 301, + 301 + ], + "valid" + ], + [ + [ + 302, + 302 + ], + "mapped", + [ + 303 + ] + ], + [ + [ + 303, + 303 + ], + "valid" + ], + [ + [ + 304, + 304 + ], + "mapped", + [ + 105, + 775 + ] + ], + [ + [ + 305, + 305 + ], + "valid" + ], + [ + [ + 306, + 307 + ], + "mapped", + [ + 105, + 106 + ] + ], + [ + [ + 308, + 308 + ], + "mapped", + [ + 309 + ] + ], + [ + [ + 309, + 309 + ], + "valid" + ], + [ + [ + 310, + 310 + ], + "mapped", + [ + 311 + ] + ], + [ + [ + 311, + 312 + ], + "valid" + ], + [ + [ + 313, + 313 + ], + "mapped", + [ + 314 + ] + ], + [ + [ + 314, + 314 + ], + "valid" + ], + [ + [ + 315, + 315 + ], + "mapped", + [ + 316 + ] + ], + [ + [ + 316, + 316 + ], + "valid" + ], + [ + [ + 317, + 317 + ], + "mapped", + [ + 318 + ] + ], + [ + [ + 318, + 318 + ], + "valid" + ], + [ + [ + 319, + 320 + ], + "mapped", + [ + 108, + 183 + ] + ], + [ + [ + 321, + 321 + ], + "mapped", + [ + 322 + ] + ], + [ + [ + 322, + 322 + ], + "valid" + ], + [ + [ + 323, + 323 + ], + "mapped", + [ + 324 + ] + ], + [ + [ + 324, + 324 + ], + "valid" + ], + [ + [ + 325, + 325 + ], + "mapped", + [ + 326 + ] + ], + [ + [ + 326, + 326 + ], + "valid" + ], + [ + [ + 327, + 327 + ], + "mapped", + [ + 328 + ] + ], + [ + [ + 328, + 328 + ], + "valid" + ], + [ + [ + 329, + 329 + ], + "mapped", + [ + 700, + 110 + ] + ], + [ + [ + 330, + 330 + ], + "mapped", + [ + 331 + ] + ], + [ + [ + 331, + 331 + ], + "valid" + ], + [ + [ + 332, + 332 + ], + "mapped", + [ + 333 + ] + ], + [ + [ + 333, + 333 + ], + "valid" + ], + [ + [ + 334, + 334 + ], + "mapped", + [ + 335 + ] + ], + [ + [ + 335, + 335 + ], + "valid" + ], + [ + [ + 336, + 336 + ], + "mapped", + [ + 337 + ] + ], + [ + [ + 337, + 337 + ], + "valid" + ], + [ + [ + 338, + 338 + ], + "mapped", + [ + 339 + ] + ], + [ + [ + 339, + 339 + ], + "valid" + ], + [ + [ + 340, + 340 + ], + "mapped", + [ + 341 + ] + ], + [ + [ + 341, + 341 + ], + "valid" + ], + [ + [ + 342, + 342 + ], + "mapped", + [ + 343 + ] + ], + [ + [ + 343, + 343 + ], + "valid" + ], + [ + [ + 344, + 344 + ], + "mapped", + [ + 345 + ] + ], + [ + [ + 345, + 345 + ], + "valid" + ], + [ + [ + 346, + 346 + ], + "mapped", + [ + 347 + ] + ], + [ + [ + 347, + 347 + ], + "valid" + ], + [ + [ + 348, + 348 + ], + "mapped", + [ + 349 + ] + ], + [ + [ + 349, + 349 + ], + "valid" + ], + [ + [ + 350, + 350 + ], + "mapped", + [ + 351 + ] + ], + [ + [ + 351, + 351 + ], + "valid" + ], + [ + [ + 352, + 352 + ], + "mapped", + [ + 353 + ] + ], + [ + [ + 353, + 353 + ], + "valid" + ], + [ + [ + 354, + 354 + ], + "mapped", + [ + 355 + ] + ], + [ + [ + 355, + 355 + ], + "valid" + ], + [ + [ + 356, + 356 + ], + "mapped", + [ + 357 + ] + ], + [ + [ + 357, + 357 + ], + "valid" + ], + [ + [ + 358, + 358 + ], + "mapped", + [ + 359 + ] + ], + [ + [ + 359, + 359 + ], + "valid" + ], + [ + [ + 360, + 360 + ], + "mapped", + [ + 361 + ] + ], + [ + [ + 361, + 361 + ], + "valid" + ], + [ + [ + 362, + 362 + ], + "mapped", + [ + 363 + ] + ], + [ + [ + 363, + 363 + ], + "valid" + ], + [ + [ + 364, + 364 + ], + "mapped", + [ + 365 + ] + ], + [ + [ + 365, + 365 + ], + "valid" + ], + [ + [ + 366, + 366 + ], + "mapped", + [ + 367 + ] + ], + [ + [ + 367, + 367 + ], + "valid" + ], + [ + [ + 368, + 368 + ], + "mapped", + [ + 369 + ] + ], + [ + [ + 369, + 369 + ], + "valid" + ], + [ + [ + 370, + 370 + ], + "mapped", + [ + 371 + ] + ], + [ + [ + 371, + 371 + ], + "valid" + ], + [ + [ + 372, + 372 + ], + "mapped", + [ + 373 + ] + ], + [ + [ + 373, + 373 + ], + "valid" + ], + [ + [ + 374, + 374 + ], + "mapped", + [ + 375 + ] + ], + [ + [ + 375, + 375 + ], + "valid" + ], + [ + [ + 376, + 376 + ], + "mapped", + [ + 255 + ] + ], + [ + [ + 377, + 377 + ], + "mapped", + [ + 378 + ] + ], + [ + [ + 378, + 378 + ], + "valid" + ], + [ + [ + 379, + 379 + ], + "mapped", + [ + 380 + ] + ], + [ + [ + 380, + 380 + ], + "valid" + ], + [ + [ + 381, + 381 + ], + "mapped", + [ + 382 + ] + ], + [ + [ + 382, + 382 + ], + "valid" + ], + [ + [ + 383, + 383 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 384, + 384 + ], + "valid" + ], + [ + [ + 385, + 385 + ], + "mapped", + [ + 595 + ] + ], + [ + [ + 386, + 386 + ], + "mapped", + [ + 387 + ] + ], + [ + [ + 387, + 387 + ], + "valid" + ], + [ + [ + 388, + 388 + ], + "mapped", + [ + 389 + ] + ], + [ + [ + 389, + 389 + ], + "valid" + ], + [ + [ + 390, + 390 + ], + "mapped", + [ + 596 + ] + ], + [ + [ + 391, + 391 + ], + "mapped", + [ + 392 + ] + ], + [ + [ + 392, + 392 + ], + "valid" + ], + [ + [ + 393, + 393 + ], + "mapped", + [ + 598 + ] + ], + [ + [ + 394, + 394 + ], + "mapped", + [ + 599 + ] + ], + [ + [ + 395, + 395 + ], + "mapped", + [ + 396 + ] + ], + [ + [ + 396, + 397 + ], + "valid" + ], + [ + [ + 398, + 398 + ], + "mapped", + [ + 477 + ] + ], + [ + [ + 399, + 399 + ], + "mapped", + [ + 601 + ] + ], + [ + [ + 400, + 400 + ], + "mapped", + [ + 603 + ] + ], + [ + [ + 401, + 401 + ], + "mapped", + [ + 402 + ] + ], + [ + [ + 402, + 402 + ], + "valid" + ], + [ + [ + 403, + 403 + ], + "mapped", + [ + 608 + ] + ], + [ + [ + 404, + 404 + ], + "mapped", + [ + 611 + ] + ], + [ + [ + 405, + 405 + ], + "valid" + ], + [ + [ + 406, + 406 + ], + "mapped", + [ + 617 + ] + ], + [ + [ + 407, + 407 + ], + "mapped", + [ + 616 + ] + ], + [ + [ + 408, + 408 + ], + "mapped", + [ + 409 + ] + ], + [ + [ + 409, + 411 + ], + "valid" + ], + [ + [ + 412, + 412 + ], + "mapped", + [ + 623 + ] + ], + [ + [ + 413, + 413 + ], + "mapped", + [ + 626 + ] + ], + [ + [ + 414, + 414 + ], + "valid" + ], + [ + [ + 415, + 415 + ], + "mapped", + [ + 629 + ] + ], + [ + [ + 416, + 416 + ], + "mapped", + [ + 417 + ] + ], + [ + [ + 417, + 417 + ], + "valid" + ], + [ + [ + 418, + 418 + ], + "mapped", + [ + 419 + ] + ], + [ + [ + 419, + 419 + ], + "valid" + ], + [ + [ + 420, + 420 + ], + "mapped", + [ + 421 + ] + ], + [ + [ + 421, + 421 + ], + "valid" + ], + [ + [ + 422, + 422 + ], + "mapped", + [ + 640 + ] + ], + [ + [ + 423, + 423 + ], + "mapped", + [ + 424 + ] + ], + [ + [ + 424, + 424 + ], + "valid" + ], + [ + [ + 425, + 425 + ], + "mapped", + [ + 643 + ] + ], + [ + [ + 426, + 427 + ], + "valid" + ], + [ + [ + 428, + 428 + ], + "mapped", + [ + 429 + ] + ], + [ + [ + 429, + 429 + ], + "valid" + ], + [ + [ + 430, + 430 + ], + "mapped", + [ + 648 + ] + ], + [ + [ + 431, + 431 + ], + "mapped", + [ + 432 + ] + ], + [ + [ + 432, + 432 + ], + "valid" + ], + [ + [ + 433, + 433 + ], + "mapped", + [ + 650 + ] + ], + [ + [ + 434, + 434 + ], + "mapped", + [ + 651 + ] + ], + [ + [ + 435, + 435 + ], + "mapped", + [ + 436 + ] + ], + [ + [ + 436, + 436 + ], + "valid" + ], + [ + [ + 437, + 437 + ], + "mapped", + [ + 438 + ] + ], + [ + [ + 438, + 438 + ], + "valid" + ], + [ + [ + 439, + 439 + ], + "mapped", + [ + 658 + ] + ], + [ + [ + 440, + 440 + ], + "mapped", + [ + 441 + ] + ], + [ + [ + 441, + 443 + ], + "valid" + ], + [ + [ + 444, + 444 + ], + "mapped", + [ + 445 + ] + ], + [ + [ + 445, + 451 + ], + "valid" + ], + [ + [ + 452, + 454 + ], + "mapped", + [ + 100, + 382 + ] + ], + [ + [ + 455, + 457 + ], + "mapped", + [ + 108, + 106 + ] + ], + [ + [ + 458, + 460 + ], + "mapped", + [ + 110, + 106 + ] + ], + [ + [ + 461, + 461 + ], + "mapped", + [ + 462 + ] + ], + [ + [ + 462, + 462 + ], + "valid" + ], + [ + [ + 463, + 463 + ], + "mapped", + [ + 464 + ] + ], + [ + [ + 464, + 464 + ], + "valid" + ], + [ + [ + 465, + 465 + ], + "mapped", + [ + 466 + ] + ], + [ + [ + 466, + 466 + ], + "valid" + ], + [ + [ + 467, + 467 + ], + "mapped", + [ + 468 + ] + ], + [ + [ + 468, + 468 + ], + "valid" + ], + [ + [ + 469, + 469 + ], + "mapped", + [ + 470 + ] + ], + [ + [ + 470, + 470 + ], + "valid" + ], + [ + [ + 471, + 471 + ], + "mapped", + [ + 472 + ] + ], + [ + [ + 472, + 472 + ], + "valid" + ], + [ + [ + 473, + 473 + ], + "mapped", + [ + 474 + ] + ], + [ + [ + 474, + 474 + ], + "valid" + ], + [ + [ + 475, + 475 + ], + "mapped", + [ + 476 + ] + ], + [ + [ + 476, + 477 + ], + "valid" + ], + [ + [ + 478, + 478 + ], + "mapped", + [ + 479 + ] + ], + [ + [ + 479, + 479 + ], + "valid" + ], + [ + [ + 480, + 480 + ], + "mapped", + [ + 481 + ] + ], + [ + [ + 481, + 481 + ], + "valid" + ], + [ + [ + 482, + 482 + ], + "mapped", + [ + 483 + ] + ], + [ + [ + 483, + 483 + ], + "valid" + ], + [ + [ + 484, + 484 + ], + "mapped", + [ + 485 + ] + ], + [ + [ + 485, + 485 + ], + "valid" + ], + [ + [ + 486, + 486 + ], + "mapped", + [ + 487 + ] + ], + [ + [ + 487, + 487 + ], + "valid" + ], + [ + [ + 488, + 488 + ], + "mapped", + [ + 489 + ] + ], + [ + [ + 489, + 489 + ], + "valid" + ], + [ + [ + 490, + 490 + ], + "mapped", + [ + 491 + ] + ], + [ + [ + 491, + 491 + ], + "valid" + ], + [ + [ + 492, + 492 + ], + "mapped", + [ + 493 + ] + ], + [ + [ + 493, + 493 + ], + "valid" + ], + [ + [ + 494, + 494 + ], + "mapped", + [ + 495 + ] + ], + [ + [ + 495, + 496 + ], + "valid" + ], + [ + [ + 497, + 499 + ], + "mapped", + [ + 100, + 122 + ] + ], + [ + [ + 500, + 500 + ], + "mapped", + [ + 501 + ] + ], + [ + [ + 501, + 501 + ], + "valid" + ], + [ + [ + 502, + 502 + ], + "mapped", + [ + 405 + ] + ], + [ + [ + 503, + 503 + ], + "mapped", + [ + 447 + ] + ], + [ + [ + 504, + 504 + ], + "mapped", + [ + 505 + ] + ], + [ + [ + 505, + 505 + ], + "valid" + ], + [ + [ + 506, + 506 + ], + "mapped", + [ + 507 + ] + ], + [ + [ + 507, + 507 + ], + "valid" + ], + [ + [ + 508, + 508 + ], + "mapped", + [ + 509 + ] + ], + [ + [ + 509, + 509 + ], + "valid" + ], + [ + [ + 510, + 510 + ], + "mapped", + [ + 511 + ] + ], + [ + [ + 511, + 511 + ], + "valid" + ], + [ + [ + 512, + 512 + ], + "mapped", + [ + 513 + ] + ], + [ + [ + 513, + 513 + ], + "valid" + ], + [ + [ + 514, + 514 + ], + "mapped", + [ + 515 + ] + ], + [ + [ + 515, + 515 + ], + "valid" + ], + [ + [ + 516, + 516 + ], + "mapped", + [ + 517 + ] + ], + [ + [ + 517, + 517 + ], + "valid" + ], + [ + [ + 518, + 518 + ], + "mapped", + [ + 519 + ] + ], + [ + [ + 519, + 519 + ], + "valid" + ], + [ + [ + 520, + 520 + ], + "mapped", + [ + 521 + ] + ], + [ + [ + 521, + 521 + ], + "valid" + ], + [ + [ + 522, + 522 + ], + "mapped", + [ + 523 + ] + ], + [ + [ + 523, + 523 + ], + "valid" + ], + [ + [ + 524, + 524 + ], + "mapped", + [ + 525 + ] + ], + [ + [ + 525, + 525 + ], + "valid" + ], + [ + [ + 526, + 526 + ], + "mapped", + [ + 527 + ] + ], + [ + [ + 527, + 527 + ], + "valid" + ], + [ + [ + 528, + 528 + ], + "mapped", + [ + 529 + ] + ], + [ + [ + 529, + 529 + ], + "valid" + ], + [ + [ + 530, + 530 + ], + "mapped", + [ + 531 + ] + ], + [ + [ + 531, + 531 + ], + "valid" + ], + [ + [ + 532, + 532 + ], + "mapped", + [ + 533 + ] + ], + [ + [ + 533, + 533 + ], + "valid" + ], + [ + [ + 534, + 534 + ], + "mapped", + [ + 535 + ] + ], + [ + [ + 535, + 535 + ], + "valid" + ], + [ + [ + 536, + 536 + ], + "mapped", + [ + 537 + ] + ], + [ + [ + 537, + 537 + ], + "valid" + ], + [ + [ + 538, + 538 + ], + "mapped", + [ + 539 + ] + ], + [ + [ + 539, + 539 + ], + "valid" + ], + [ + [ + 540, + 540 + ], + "mapped", + [ + 541 + ] + ], + [ + [ + 541, + 541 + ], + "valid" + ], + [ + [ + 542, + 542 + ], + "mapped", + [ + 543 + ] + ], + [ + [ + 543, + 543 + ], + "valid" + ], + [ + [ + 544, + 544 + ], + "mapped", + [ + 414 + ] + ], + [ + [ + 545, + 545 + ], + "valid" + ], + [ + [ + 546, + 546 + ], + "mapped", + [ + 547 + ] + ], + [ + [ + 547, + 547 + ], + "valid" + ], + [ + [ + 548, + 548 + ], + "mapped", + [ + 549 + ] + ], + [ + [ + 549, + 549 + ], + "valid" + ], + [ + [ + 550, + 550 + ], + "mapped", + [ + 551 + ] + ], + [ + [ + 551, + 551 + ], + "valid" + ], + [ + [ + 552, + 552 + ], + "mapped", + [ + 553 + ] + ], + [ + [ + 553, + 553 + ], + "valid" + ], + [ + [ + 554, + 554 + ], + "mapped", + [ + 555 + ] + ], + [ + [ + 555, + 555 + ], + "valid" + ], + [ + [ + 556, + 556 + ], + "mapped", + [ + 557 + ] + ], + [ + [ + 557, + 557 + ], + "valid" + ], + [ + [ + 558, + 558 + ], + "mapped", + [ + 559 + ] + ], + [ + [ + 559, + 559 + ], + "valid" + ], + [ + [ + 560, + 560 + ], + "mapped", + [ + 561 + ] + ], + [ + [ + 561, + 561 + ], + "valid" + ], + [ + [ + 562, + 562 + ], + "mapped", + [ + 563 + ] + ], + [ + [ + 563, + 563 + ], + "valid" + ], + [ + [ + 564, + 566 + ], + "valid" + ], + [ + [ + 567, + 569 + ], + "valid" + ], + [ + [ + 570, + 570 + ], + "mapped", + [ + 11365 + ] + ], + [ + [ + 571, + 571 + ], + "mapped", + [ + 572 + ] + ], + [ + [ + 572, + 572 + ], + "valid" + ], + [ + [ + 573, + 573 + ], + "mapped", + [ + 410 + ] + ], + [ + [ + 574, + 574 + ], + "mapped", + [ + 11366 + ] + ], + [ + [ + 575, + 576 + ], + "valid" + ], + [ + [ + 577, + 577 + ], + "mapped", + [ + 578 + ] + ], + [ + [ + 578, + 578 + ], + "valid" + ], + [ + [ + 579, + 579 + ], + "mapped", + [ + 384 + ] + ], + [ + [ + 580, + 580 + ], + "mapped", + [ + 649 + ] + ], + [ + [ + 581, + 581 + ], + "mapped", + [ + 652 + ] + ], + [ + [ + 582, + 582 + ], + "mapped", + [ + 583 + ] + ], + [ + [ + 583, + 583 + ], + "valid" + ], + [ + [ + 584, + 584 + ], + "mapped", + [ + 585 + ] + ], + [ + [ + 585, + 585 + ], + "valid" + ], + [ + [ + 586, + 586 + ], + "mapped", + [ + 587 + ] + ], + [ + [ + 587, + 587 + ], + "valid" + ], + [ + [ + 588, + 588 + ], + "mapped", + [ + 589 + ] + ], + [ + [ + 589, + 589 + ], + "valid" + ], + [ + [ + 590, + 590 + ], + "mapped", + [ + 591 + ] + ], + [ + [ + 591, + 591 + ], + "valid" + ], + [ + [ + 592, + 680 + ], + "valid" + ], + [ + [ + 681, + 685 + ], + "valid" + ], + [ + [ + 686, + 687 + ], + "valid" + ], + [ + [ + 688, + 688 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 689, + 689 + ], + "mapped", + [ + 614 + ] + ], + [ + [ + 690, + 690 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 691, + 691 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 692, + 692 + ], + "mapped", + [ + 633 + ] + ], + [ + [ + 693, + 693 + ], + "mapped", + [ + 635 + ] + ], + [ + [ + 694, + 694 + ], + "mapped", + [ + 641 + ] + ], + [ + [ + 695, + 695 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 696, + 696 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 697, + 705 + ], + "valid" + ], + [ + [ + 706, + 709 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 710, + 721 + ], + "valid" + ], + [ + [ + 722, + 727 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 728, + 728 + ], + "disallowed_STD3_mapped", + [ + 32, + 774 + ] + ], + [ + [ + 729, + 729 + ], + "disallowed_STD3_mapped", + [ + 32, + 775 + ] + ], + [ + [ + 730, + 730 + ], + "disallowed_STD3_mapped", + [ + 32, + 778 + ] + ], + [ + [ + 731, + 731 + ], + "disallowed_STD3_mapped", + [ + 32, + 808 + ] + ], + [ + [ + 732, + 732 + ], + "disallowed_STD3_mapped", + [ + 32, + 771 + ] + ], + [ + [ + 733, + 733 + ], + "disallowed_STD3_mapped", + [ + 32, + 779 + ] + ], + [ + [ + 734, + 734 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 735, + 735 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 736, + 736 + ], + "mapped", + [ + 611 + ] + ], + [ + [ + 737, + 737 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 738, + 738 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 739, + 739 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 740, + 740 + ], + "mapped", + [ + 661 + ] + ], + [ + [ + 741, + 745 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 746, + 747 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 748, + 748 + ], + "valid" + ], + [ + [ + 749, + 749 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 750, + 750 + ], + "valid" + ], + [ + [ + 751, + 767 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 768, + 831 + ], + "valid" + ], + [ + [ + 832, + 832 + ], + "mapped", + [ + 768 + ] + ], + [ + [ + 833, + 833 + ], + "mapped", + [ + 769 + ] + ], + [ + [ + 834, + 834 + ], + "valid" + ], + [ + [ + 835, + 835 + ], + "mapped", + [ + 787 + ] + ], + [ + [ + 836, + 836 + ], + "mapped", + [ + 776, + 769 + ] + ], + [ + [ + 837, + 837 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 838, + 846 + ], + "valid" + ], + [ + [ + 847, + 847 + ], + "ignored" + ], + [ + [ + 848, + 855 + ], + "valid" + ], + [ + [ + 856, + 860 + ], + "valid" + ], + [ + [ + 861, + 863 + ], + "valid" + ], + [ + [ + 864, + 865 + ], + "valid" + ], + [ + [ + 866, + 866 + ], + "valid" + ], + [ + [ + 867, + 879 + ], + "valid" + ], + [ + [ + 880, + 880 + ], + "mapped", + [ + 881 + ] + ], + [ + [ + 881, + 881 + ], + "valid" + ], + [ + [ + 882, + 882 + ], + "mapped", + [ + 883 + ] + ], + [ + [ + 883, + 883 + ], + "valid" + ], + [ + [ + 884, + 884 + ], + "mapped", + [ + 697 + ] + ], + [ + [ + 885, + 885 + ], + "valid" + ], + [ + [ + 886, + 886 + ], + "mapped", + [ + 887 + ] + ], + [ + [ + 887, + 887 + ], + "valid" + ], + [ + [ + 888, + 889 + ], + "disallowed" + ], + [ + [ + 890, + 890 + ], + "disallowed_STD3_mapped", + [ + 32, + 953 + ] + ], + [ + [ + 891, + 893 + ], + "valid" + ], + [ + [ + 894, + 894 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 895, + 895 + ], + "mapped", + [ + 1011 + ] + ], + [ + [ + 896, + 899 + ], + "disallowed" + ], + [ + [ + 900, + 900 + ], + "disallowed_STD3_mapped", + [ + 32, + 769 + ] + ], + [ + [ + 901, + 901 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 769 + ] + ], + [ + [ + 902, + 902 + ], + "mapped", + [ + 940 + ] + ], + [ + [ + 903, + 903 + ], + "mapped", + [ + 183 + ] + ], + [ + [ + 904, + 904 + ], + "mapped", + [ + 941 + ] + ], + [ + [ + 905, + 905 + ], + "mapped", + [ + 942 + ] + ], + [ + [ + 906, + 906 + ], + "mapped", + [ + 943 + ] + ], + [ + [ + 907, + 907 + ], + "disallowed" + ], + [ + [ + 908, + 908 + ], + "mapped", + [ + 972 + ] + ], + [ + [ + 909, + 909 + ], + "disallowed" + ], + [ + [ + 910, + 910 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 911, + 911 + ], + "mapped", + [ + 974 + ] + ], + [ + [ + 912, + 912 + ], + "valid" + ], + [ + [ + 913, + 913 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 914, + 914 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 915, + 915 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 916, + 916 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 917, + 917 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 918, + 918 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 919, + 919 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 920, + 920 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 921, + 921 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 922, + 922 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 923, + 923 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 924, + 924 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 925, + 925 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 926, + 926 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 927, + 927 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 928, + 928 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 929, + 929 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 930, + 930 + ], + "disallowed" + ], + [ + [ + 931, + 931 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 932, + 932 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 933, + 933 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 934, + 934 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 935, + 935 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 936, + 936 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 937, + 937 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 938, + 938 + ], + "mapped", + [ + 970 + ] + ], + [ + [ + 939, + 939 + ], + "mapped", + [ + 971 + ] + ], + [ + [ + 940, + 961 + ], + "valid" + ], + [ + [ + 962, + 962 + ], + "deviation", + [ + 963 + ] + ], + [ + [ + 963, + 974 + ], + "valid" + ], + [ + [ + 975, + 975 + ], + "mapped", + [ + 983 + ] + ], + [ + [ + 976, + 976 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 977, + 977 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 978, + 978 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 979, + 979 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 980, + 980 + ], + "mapped", + [ + 971 + ] + ], + [ + [ + 981, + 981 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 982, + 982 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 983, + 983 + ], + "valid" + ], + [ + [ + 984, + 984 + ], + "mapped", + [ + 985 + ] + ], + [ + [ + 985, + 985 + ], + "valid" + ], + [ + [ + 986, + 986 + ], + "mapped", + [ + 987 + ] + ], + [ + [ + 987, + 987 + ], + "valid" + ], + [ + [ + 988, + 988 + ], + "mapped", + [ + 989 + ] + ], + [ + [ + 989, + 989 + ], + "valid" + ], + [ + [ + 990, + 990 + ], + "mapped", + [ + 991 + ] + ], + [ + [ + 991, + 991 + ], + "valid" + ], + [ + [ + 992, + 992 + ], + "mapped", + [ + 993 + ] + ], + [ + [ + 993, + 993 + ], + "valid" + ], + [ + [ + 994, + 994 + ], + "mapped", + [ + 995 + ] + ], + [ + [ + 995, + 995 + ], + "valid" + ], + [ + [ + 996, + 996 + ], + "mapped", + [ + 997 + ] + ], + [ + [ + 997, + 997 + ], + "valid" + ], + [ + [ + 998, + 998 + ], + "mapped", + [ + 999 + ] + ], + [ + [ + 999, + 999 + ], + "valid" + ], + [ + [ + 1000, + 1000 + ], + "mapped", + [ + 1001 + ] + ], + [ + [ + 1001, + 1001 + ], + "valid" + ], + [ + [ + 1002, + 1002 + ], + "mapped", + [ + 1003 + ] + ], + [ + [ + 1003, + 1003 + ], + "valid" + ], + [ + [ + 1004, + 1004 + ], + "mapped", + [ + 1005 + ] + ], + [ + [ + 1005, + 1005 + ], + "valid" + ], + [ + [ + 1006, + 1006 + ], + "mapped", + [ + 1007 + ] + ], + [ + [ + 1007, + 1007 + ], + "valid" + ], + [ + [ + 1008, + 1008 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 1009, + 1009 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 1010, + 1010 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 1011, + 1011 + ], + "valid" + ], + [ + [ + 1012, + 1012 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 1013, + 1013 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 1014, + 1014 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1015, + 1015 + ], + "mapped", + [ + 1016 + ] + ], + [ + [ + 1016, + 1016 + ], + "valid" + ], + [ + [ + 1017, + 1017 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 1018, + 1018 + ], + "mapped", + [ + 1019 + ] + ], + [ + [ + 1019, + 1019 + ], + "valid" + ], + [ + [ + 1020, + 1020 + ], + "valid" + ], + [ + [ + 1021, + 1021 + ], + "mapped", + [ + 891 + ] + ], + [ + [ + 1022, + 1022 + ], + "mapped", + [ + 892 + ] + ], + [ + [ + 1023, + 1023 + ], + "mapped", + [ + 893 + ] + ], + [ + [ + 1024, + 1024 + ], + "mapped", + [ + 1104 + ] + ], + [ + [ + 1025, + 1025 + ], + "mapped", + [ + 1105 + ] + ], + [ + [ + 1026, + 1026 + ], + "mapped", + [ + 1106 + ] + ], + [ + [ + 1027, + 1027 + ], + "mapped", + [ + 1107 + ] + ], + [ + [ + 1028, + 1028 + ], + "mapped", + [ + 1108 + ] + ], + [ + [ + 1029, + 1029 + ], + "mapped", + [ + 1109 + ] + ], + [ + [ + 1030, + 1030 + ], + "mapped", + [ + 1110 + ] + ], + [ + [ + 1031, + 1031 + ], + "mapped", + [ + 1111 + ] + ], + [ + [ + 1032, + 1032 + ], + "mapped", + [ + 1112 + ] + ], + [ + [ + 1033, + 1033 + ], + "mapped", + [ + 1113 + ] + ], + [ + [ + 1034, + 1034 + ], + "mapped", + [ + 1114 + ] + ], + [ + [ + 1035, + 1035 + ], + "mapped", + [ + 1115 + ] + ], + [ + [ + 1036, + 1036 + ], + "mapped", + [ + 1116 + ] + ], + [ + [ + 1037, + 1037 + ], + "mapped", + [ + 1117 + ] + ], + [ + [ + 1038, + 1038 + ], + "mapped", + [ + 1118 + ] + ], + [ + [ + 1039, + 1039 + ], + "mapped", + [ + 1119 + ] + ], + [ + [ + 1040, + 1040 + ], + "mapped", + [ + 1072 + ] + ], + [ + [ + 1041, + 1041 + ], + "mapped", + [ + 1073 + ] + ], + [ + [ + 1042, + 1042 + ], + "mapped", + [ + 1074 + ] + ], + [ + [ + 1043, + 1043 + ], + "mapped", + [ + 1075 + ] + ], + [ + [ + 1044, + 1044 + ], + "mapped", + [ + 1076 + ] + ], + [ + [ + 1045, + 1045 + ], + "mapped", + [ + 1077 + ] + ], + [ + [ + 1046, + 1046 + ], + "mapped", + [ + 1078 + ] + ], + [ + [ + 1047, + 1047 + ], + "mapped", + [ + 1079 + ] + ], + [ + [ + 1048, + 1048 + ], + "mapped", + [ + 1080 + ] + ], + [ + [ + 1049, + 1049 + ], + "mapped", + [ + 1081 + ] + ], + [ + [ + 1050, + 1050 + ], + "mapped", + [ + 1082 + ] + ], + [ + [ + 1051, + 1051 + ], + "mapped", + [ + 1083 + ] + ], + [ + [ + 1052, + 1052 + ], + "mapped", + [ + 1084 + ] + ], + [ + [ + 1053, + 1053 + ], + "mapped", + [ + 1085 + ] + ], + [ + [ + 1054, + 1054 + ], + "mapped", + [ + 1086 + ] + ], + [ + [ + 1055, + 1055 + ], + "mapped", + [ + 1087 + ] + ], + [ + [ + 1056, + 1056 + ], + "mapped", + [ + 1088 + ] + ], + [ + [ + 1057, + 1057 + ], + "mapped", + [ + 1089 + ] + ], + [ + [ + 1058, + 1058 + ], + "mapped", + [ + 1090 + ] + ], + [ + [ + 1059, + 1059 + ], + "mapped", + [ + 1091 + ] + ], + [ + [ + 1060, + 1060 + ], + "mapped", + [ + 1092 + ] + ], + [ + [ + 1061, + 1061 + ], + "mapped", + [ + 1093 + ] + ], + [ + [ + 1062, + 1062 + ], + "mapped", + [ + 1094 + ] + ], + [ + [ + 1063, + 1063 + ], + "mapped", + [ + 1095 + ] + ], + [ + [ + 1064, + 1064 + ], + "mapped", + [ + 1096 + ] + ], + [ + [ + 1065, + 1065 + ], + "mapped", + [ + 1097 + ] + ], + [ + [ + 1066, + 1066 + ], + "mapped", + [ + 1098 + ] + ], + [ + [ + 1067, + 1067 + ], + "mapped", + [ + 1099 + ] + ], + [ + [ + 1068, + 1068 + ], + "mapped", + [ + 1100 + ] + ], + [ + [ + 1069, + 1069 + ], + "mapped", + [ + 1101 + ] + ], + [ + [ + 1070, + 1070 + ], + "mapped", + [ + 1102 + ] + ], + [ + [ + 1071, + 1071 + ], + "mapped", + [ + 1103 + ] + ], + [ + [ + 1072, + 1103 + ], + "valid" + ], + [ + [ + 1104, + 1104 + ], + "valid" + ], + [ + [ + 1105, + 1116 + ], + "valid" + ], + [ + [ + 1117, + 1117 + ], + "valid" + ], + [ + [ + 1118, + 1119 + ], + "valid" + ], + [ + [ + 1120, + 1120 + ], + "mapped", + [ + 1121 + ] + ], + [ + [ + 1121, + 1121 + ], + "valid" + ], + [ + [ + 1122, + 1122 + ], + "mapped", + [ + 1123 + ] + ], + [ + [ + 1123, + 1123 + ], + "valid" + ], + [ + [ + 1124, + 1124 + ], + "mapped", + [ + 1125 + ] + ], + [ + [ + 1125, + 1125 + ], + "valid" + ], + [ + [ + 1126, + 1126 + ], + "mapped", + [ + 1127 + ] + ], + [ + [ + 1127, + 1127 + ], + "valid" + ], + [ + [ + 1128, + 1128 + ], + "mapped", + [ + 1129 + ] + ], + [ + [ + 1129, + 1129 + ], + "valid" + ], + [ + [ + 1130, + 1130 + ], + "mapped", + [ + 1131 + ] + ], + [ + [ + 1131, + 1131 + ], + "valid" + ], + [ + [ + 1132, + 1132 + ], + "mapped", + [ + 1133 + ] + ], + [ + [ + 1133, + 1133 + ], + "valid" + ], + [ + [ + 1134, + 1134 + ], + "mapped", + [ + 1135 + ] + ], + [ + [ + 1135, + 1135 + ], + "valid" + ], + [ + [ + 1136, + 1136 + ], + "mapped", + [ + 1137 + ] + ], + [ + [ + 1137, + 1137 + ], + "valid" + ], + [ + [ + 1138, + 1138 + ], + "mapped", + [ + 1139 + ] + ], + [ + [ + 1139, + 1139 + ], + "valid" + ], + [ + [ + 1140, + 1140 + ], + "mapped", + [ + 1141 + ] + ], + [ + [ + 1141, + 1141 + ], + "valid" + ], + [ + [ + 1142, + 1142 + ], + "mapped", + [ + 1143 + ] + ], + [ + [ + 1143, + 1143 + ], + "valid" + ], + [ + [ + 1144, + 1144 + ], + "mapped", + [ + 1145 + ] + ], + [ + [ + 1145, + 1145 + ], + "valid" + ], + [ + [ + 1146, + 1146 + ], + "mapped", + [ + 1147 + ] + ], + [ + [ + 1147, + 1147 + ], + "valid" + ], + [ + [ + 1148, + 1148 + ], + "mapped", + [ + 1149 + ] + ], + [ + [ + 1149, + 1149 + ], + "valid" + ], + [ + [ + 1150, + 1150 + ], + "mapped", + [ + 1151 + ] + ], + [ + [ + 1151, + 1151 + ], + "valid" + ], + [ + [ + 1152, + 1152 + ], + "mapped", + [ + 1153 + ] + ], + [ + [ + 1153, + 1153 + ], + "valid" + ], + [ + [ + 1154, + 1154 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1155, + 1158 + ], + "valid" + ], + [ + [ + 1159, + 1159 + ], + "valid" + ], + [ + [ + 1160, + 1161 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1162, + 1162 + ], + "mapped", + [ + 1163 + ] + ], + [ + [ + 1163, + 1163 + ], + "valid" + ], + [ + [ + 1164, + 1164 + ], + "mapped", + [ + 1165 + ] + ], + [ + [ + 1165, + 1165 + ], + "valid" + ], + [ + [ + 1166, + 1166 + ], + "mapped", + [ + 1167 + ] + ], + [ + [ + 1167, + 1167 + ], + "valid" + ], + [ + [ + 1168, + 1168 + ], + "mapped", + [ + 1169 + ] + ], + [ + [ + 1169, + 1169 + ], + "valid" + ], + [ + [ + 1170, + 1170 + ], + "mapped", + [ + 1171 + ] + ], + [ + [ + 1171, + 1171 + ], + "valid" + ], + [ + [ + 1172, + 1172 + ], + "mapped", + [ + 1173 + ] + ], + [ + [ + 1173, + 1173 + ], + "valid" + ], + [ + [ + 1174, + 1174 + ], + "mapped", + [ + 1175 + ] + ], + [ + [ + 1175, + 1175 + ], + "valid" + ], + [ + [ + 1176, + 1176 + ], + "mapped", + [ + 1177 + ] + ], + [ + [ + 1177, + 1177 + ], + "valid" + ], + [ + [ + 1178, + 1178 + ], + "mapped", + [ + 1179 + ] + ], + [ + [ + 1179, + 1179 + ], + "valid" + ], + [ + [ + 1180, + 1180 + ], + "mapped", + [ + 1181 + ] + ], + [ + [ + 1181, + 1181 + ], + "valid" + ], + [ + [ + 1182, + 1182 + ], + "mapped", + [ + 1183 + ] + ], + [ + [ + 1183, + 1183 + ], + "valid" + ], + [ + [ + 1184, + 1184 + ], + "mapped", + [ + 1185 + ] + ], + [ + [ + 1185, + 1185 + ], + "valid" + ], + [ + [ + 1186, + 1186 + ], + "mapped", + [ + 1187 + ] + ], + [ + [ + 1187, + 1187 + ], + "valid" + ], + [ + [ + 1188, + 1188 + ], + "mapped", + [ + 1189 + ] + ], + [ + [ + 1189, + 1189 + ], + "valid" + ], + [ + [ + 1190, + 1190 + ], + "mapped", + [ + 1191 + ] + ], + [ + [ + 1191, + 1191 + ], + "valid" + ], + [ + [ + 1192, + 1192 + ], + "mapped", + [ + 1193 + ] + ], + [ + [ + 1193, + 1193 + ], + "valid" + ], + [ + [ + 1194, + 1194 + ], + "mapped", + [ + 1195 + ] + ], + [ + [ + 1195, + 1195 + ], + "valid" + ], + [ + [ + 1196, + 1196 + ], + "mapped", + [ + 1197 + ] + ], + [ + [ + 1197, + 1197 + ], + "valid" + ], + [ + [ + 1198, + 1198 + ], + "mapped", + [ + 1199 + ] + ], + [ + [ + 1199, + 1199 + ], + "valid" + ], + [ + [ + 1200, + 1200 + ], + "mapped", + [ + 1201 + ] + ], + [ + [ + 1201, + 1201 + ], + "valid" + ], + [ + [ + 1202, + 1202 + ], + "mapped", + [ + 1203 + ] + ], + [ + [ + 1203, + 1203 + ], + "valid" + ], + [ + [ + 1204, + 1204 + ], + "mapped", + [ + 1205 + ] + ], + [ + [ + 1205, + 1205 + ], + "valid" + ], + [ + [ + 1206, + 1206 + ], + "mapped", + [ + 1207 + ] + ], + [ + [ + 1207, + 1207 + ], + "valid" + ], + [ + [ + 1208, + 1208 + ], + "mapped", + [ + 1209 + ] + ], + [ + [ + 1209, + 1209 + ], + "valid" + ], + [ + [ + 1210, + 1210 + ], + "mapped", + [ + 1211 + ] + ], + [ + [ + 1211, + 1211 + ], + "valid" + ], + [ + [ + 1212, + 1212 + ], + "mapped", + [ + 1213 + ] + ], + [ + [ + 1213, + 1213 + ], + "valid" + ], + [ + [ + 1214, + 1214 + ], + "mapped", + [ + 1215 + ] + ], + [ + [ + 1215, + 1215 + ], + "valid" + ], + [ + [ + 1216, + 1216 + ], + "disallowed" + ], + [ + [ + 1217, + 1217 + ], + "mapped", + [ + 1218 + ] + ], + [ + [ + 1218, + 1218 + ], + "valid" + ], + [ + [ + 1219, + 1219 + ], + "mapped", + [ + 1220 + ] + ], + [ + [ + 1220, + 1220 + ], + "valid" + ], + [ + [ + 1221, + 1221 + ], + "mapped", + [ + 1222 + ] + ], + [ + [ + 1222, + 1222 + ], + "valid" + ], + [ + [ + 1223, + 1223 + ], + "mapped", + [ + 1224 + ] + ], + [ + [ + 1224, + 1224 + ], + "valid" + ], + [ + [ + 1225, + 1225 + ], + "mapped", + [ + 1226 + ] + ], + [ + [ + 1226, + 1226 + ], + "valid" + ], + [ + [ + 1227, + 1227 + ], + "mapped", + [ + 1228 + ] + ], + [ + [ + 1228, + 1228 + ], + "valid" + ], + [ + [ + 1229, + 1229 + ], + "mapped", + [ + 1230 + ] + ], + [ + [ + 1230, + 1230 + ], + "valid" + ], + [ + [ + 1231, + 1231 + ], + "valid" + ], + [ + [ + 1232, + 1232 + ], + "mapped", + [ + 1233 + ] + ], + [ + [ + 1233, + 1233 + ], + "valid" + ], + [ + [ + 1234, + 1234 + ], + "mapped", + [ + 1235 + ] + ], + [ + [ + 1235, + 1235 + ], + "valid" + ], + [ + [ + 1236, + 1236 + ], + "mapped", + [ + 1237 + ] + ], + [ + [ + 1237, + 1237 + ], + "valid" + ], + [ + [ + 1238, + 1238 + ], + "mapped", + [ + 1239 + ] + ], + [ + [ + 1239, + 1239 + ], + "valid" + ], + [ + [ + 1240, + 1240 + ], + "mapped", + [ + 1241 + ] + ], + [ + [ + 1241, + 1241 + ], + "valid" + ], + [ + [ + 1242, + 1242 + ], + "mapped", + [ + 1243 + ] + ], + [ + [ + 1243, + 1243 + ], + "valid" + ], + [ + [ + 1244, + 1244 + ], + "mapped", + [ + 1245 + ] + ], + [ + [ + 1245, + 1245 + ], + "valid" + ], + [ + [ + 1246, + 1246 + ], + "mapped", + [ + 1247 + ] + ], + [ + [ + 1247, + 1247 + ], + "valid" + ], + [ + [ + 1248, + 1248 + ], + "mapped", + [ + 1249 + ] + ], + [ + [ + 1249, + 1249 + ], + "valid" + ], + [ + [ + 1250, + 1250 + ], + "mapped", + [ + 1251 + ] + ], + [ + [ + 1251, + 1251 + ], + "valid" + ], + [ + [ + 1252, + 1252 + ], + "mapped", + [ + 1253 + ] + ], + [ + [ + 1253, + 1253 + ], + "valid" + ], + [ + [ + 1254, + 1254 + ], + "mapped", + [ + 1255 + ] + ], + [ + [ + 1255, + 1255 + ], + "valid" + ], + [ + [ + 1256, + 1256 + ], + "mapped", + [ + 1257 + ] + ], + [ + [ + 1257, + 1257 + ], + "valid" + ], + [ + [ + 1258, + 1258 + ], + "mapped", + [ + 1259 + ] + ], + [ + [ + 1259, + 1259 + ], + "valid" + ], + [ + [ + 1260, + 1260 + ], + "mapped", + [ + 1261 + ] + ], + [ + [ + 1261, + 1261 + ], + "valid" + ], + [ + [ + 1262, + 1262 + ], + "mapped", + [ + 1263 + ] + ], + [ + [ + 1263, + 1263 + ], + "valid" + ], + [ + [ + 1264, + 1264 + ], + "mapped", + [ + 1265 + ] + ], + [ + [ + 1265, + 1265 + ], + "valid" + ], + [ + [ + 1266, + 1266 + ], + "mapped", + [ + 1267 + ] + ], + [ + [ + 1267, + 1267 + ], + "valid" + ], + [ + [ + 1268, + 1268 + ], + "mapped", + [ + 1269 + ] + ], + [ + [ + 1269, + 1269 + ], + "valid" + ], + [ + [ + 1270, + 1270 + ], + "mapped", + [ + 1271 + ] + ], + [ + [ + 1271, + 1271 + ], + "valid" + ], + [ + [ + 1272, + 1272 + ], + "mapped", + [ + 1273 + ] + ], + [ + [ + 1273, + 1273 + ], + "valid" + ], + [ + [ + 1274, + 1274 + ], + "mapped", + [ + 1275 + ] + ], + [ + [ + 1275, + 1275 + ], + "valid" + ], + [ + [ + 1276, + 1276 + ], + "mapped", + [ + 1277 + ] + ], + [ + [ + 1277, + 1277 + ], + "valid" + ], + [ + [ + 1278, + 1278 + ], + "mapped", + [ + 1279 + ] + ], + [ + [ + 1279, + 1279 + ], + "valid" + ], + [ + [ + 1280, + 1280 + ], + "mapped", + [ + 1281 + ] + ], + [ + [ + 1281, + 1281 + ], + "valid" + ], + [ + [ + 1282, + 1282 + ], + "mapped", + [ + 1283 + ] + ], + [ + [ + 1283, + 1283 + ], + "valid" + ], + [ + [ + 1284, + 1284 + ], + "mapped", + [ + 1285 + ] + ], + [ + [ + 1285, + 1285 + ], + "valid" + ], + [ + [ + 1286, + 1286 + ], + "mapped", + [ + 1287 + ] + ], + [ + [ + 1287, + 1287 + ], + "valid" + ], + [ + [ + 1288, + 1288 + ], + "mapped", + [ + 1289 + ] + ], + [ + [ + 1289, + 1289 + ], + "valid" + ], + [ + [ + 1290, + 1290 + ], + "mapped", + [ + 1291 + ] + ], + [ + [ + 1291, + 1291 + ], + "valid" + ], + [ + [ + 1292, + 1292 + ], + "mapped", + [ + 1293 + ] + ], + [ + [ + 1293, + 1293 + ], + "valid" + ], + [ + [ + 1294, + 1294 + ], + "mapped", + [ + 1295 + ] + ], + [ + [ + 1295, + 1295 + ], + "valid" + ], + [ + [ + 1296, + 1296 + ], + "mapped", + [ + 1297 + ] + ], + [ + [ + 1297, + 1297 + ], + "valid" + ], + [ + [ + 1298, + 1298 + ], + "mapped", + [ + 1299 + ] + ], + [ + [ + 1299, + 1299 + ], + "valid" + ], + [ + [ + 1300, + 1300 + ], + "mapped", + [ + 1301 + ] + ], + [ + [ + 1301, + 1301 + ], + "valid" + ], + [ + [ + 1302, + 1302 + ], + "mapped", + [ + 1303 + ] + ], + [ + [ + 1303, + 1303 + ], + "valid" + ], + [ + [ + 1304, + 1304 + ], + "mapped", + [ + 1305 + ] + ], + [ + [ + 1305, + 1305 + ], + "valid" + ], + [ + [ + 1306, + 1306 + ], + "mapped", + [ + 1307 + ] + ], + [ + [ + 1307, + 1307 + ], + "valid" + ], + [ + [ + 1308, + 1308 + ], + "mapped", + [ + 1309 + ] + ], + [ + [ + 1309, + 1309 + ], + "valid" + ], + [ + [ + 1310, + 1310 + ], + "mapped", + [ + 1311 + ] + ], + [ + [ + 1311, + 1311 + ], + "valid" + ], + [ + [ + 1312, + 1312 + ], + "mapped", + [ + 1313 + ] + ], + [ + [ + 1313, + 1313 + ], + "valid" + ], + [ + [ + 1314, + 1314 + ], + "mapped", + [ + 1315 + ] + ], + [ + [ + 1315, + 1315 + ], + "valid" + ], + [ + [ + 1316, + 1316 + ], + "mapped", + [ + 1317 + ] + ], + [ + [ + 1317, + 1317 + ], + "valid" + ], + [ + [ + 1318, + 1318 + ], + "mapped", + [ + 1319 + ] + ], + [ + [ + 1319, + 1319 + ], + "valid" + ], + [ + [ + 1320, + 1320 + ], + "mapped", + [ + 1321 + ] + ], + [ + [ + 1321, + 1321 + ], + "valid" + ], + [ + [ + 1322, + 1322 + ], + "mapped", + [ + 1323 + ] + ], + [ + [ + 1323, + 1323 + ], + "valid" + ], + [ + [ + 1324, + 1324 + ], + "mapped", + [ + 1325 + ] + ], + [ + [ + 1325, + 1325 + ], + "valid" + ], + [ + [ + 1326, + 1326 + ], + "mapped", + [ + 1327 + ] + ], + [ + [ + 1327, + 1327 + ], + "valid" + ], + [ + [ + 1328, + 1328 + ], + "disallowed" + ], + [ + [ + 1329, + 1329 + ], + "mapped", + [ + 1377 + ] + ], + [ + [ + 1330, + 1330 + ], + "mapped", + [ + 1378 + ] + ], + [ + [ + 1331, + 1331 + ], + "mapped", + [ + 1379 + ] + ], + [ + [ + 1332, + 1332 + ], + "mapped", + [ + 1380 + ] + ], + [ + [ + 1333, + 1333 + ], + "mapped", + [ + 1381 + ] + ], + [ + [ + 1334, + 1334 + ], + "mapped", + [ + 1382 + ] + ], + [ + [ + 1335, + 1335 + ], + "mapped", + [ + 1383 + ] + ], + [ + [ + 1336, + 1336 + ], + "mapped", + [ + 1384 + ] + ], + [ + [ + 1337, + 1337 + ], + "mapped", + [ + 1385 + ] + ], + [ + [ + 1338, + 1338 + ], + "mapped", + [ + 1386 + ] + ], + [ + [ + 1339, + 1339 + ], + "mapped", + [ + 1387 + ] + ], + [ + [ + 1340, + 1340 + ], + "mapped", + [ + 1388 + ] + ], + [ + [ + 1341, + 1341 + ], + "mapped", + [ + 1389 + ] + ], + [ + [ + 1342, + 1342 + ], + "mapped", + [ + 1390 + ] + ], + [ + [ + 1343, + 1343 + ], + "mapped", + [ + 1391 + ] + ], + [ + [ + 1344, + 1344 + ], + "mapped", + [ + 1392 + ] + ], + [ + [ + 1345, + 1345 + ], + "mapped", + [ + 1393 + ] + ], + [ + [ + 1346, + 1346 + ], + "mapped", + [ + 1394 + ] + ], + [ + [ + 1347, + 1347 + ], + "mapped", + [ + 1395 + ] + ], + [ + [ + 1348, + 1348 + ], + "mapped", + [ + 1396 + ] + ], + [ + [ + 1349, + 1349 + ], + "mapped", + [ + 1397 + ] + ], + [ + [ + 1350, + 1350 + ], + "mapped", + [ + 1398 + ] + ], + [ + [ + 1351, + 1351 + ], + "mapped", + [ + 1399 + ] + ], + [ + [ + 1352, + 1352 + ], + "mapped", + [ + 1400 + ] + ], + [ + [ + 1353, + 1353 + ], + "mapped", + [ + 1401 + ] + ], + [ + [ + 1354, + 1354 + ], + "mapped", + [ + 1402 + ] + ], + [ + [ + 1355, + 1355 + ], + "mapped", + [ + 1403 + ] + ], + [ + [ + 1356, + 1356 + ], + "mapped", + [ + 1404 + ] + ], + [ + [ + 1357, + 1357 + ], + "mapped", + [ + 1405 + ] + ], + [ + [ + 1358, + 1358 + ], + "mapped", + [ + 1406 + ] + ], + [ + [ + 1359, + 1359 + ], + "mapped", + [ + 1407 + ] + ], + [ + [ + 1360, + 1360 + ], + "mapped", + [ + 1408 + ] + ], + [ + [ + 1361, + 1361 + ], + "mapped", + [ + 1409 + ] + ], + [ + [ + 1362, + 1362 + ], + "mapped", + [ + 1410 + ] + ], + [ + [ + 1363, + 1363 + ], + "mapped", + [ + 1411 + ] + ], + [ + [ + 1364, + 1364 + ], + "mapped", + [ + 1412 + ] + ], + [ + [ + 1365, + 1365 + ], + "mapped", + [ + 1413 + ] + ], + [ + [ + 1366, + 1366 + ], + "mapped", + [ + 1414 + ] + ], + [ + [ + 1367, + 1368 + ], + "disallowed" + ], + [ + [ + 1369, + 1369 + ], + "valid" + ], + [ + [ + 1370, + 1375 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1376, + 1376 + ], + "disallowed" + ], + [ + [ + 1377, + 1414 + ], + "valid" + ], + [ + [ + 1415, + 1415 + ], + "mapped", + [ + 1381, + 1410 + ] + ], + [ + [ + 1416, + 1416 + ], + "disallowed" + ], + [ + [ + 1417, + 1417 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1418, + 1418 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1419, + 1420 + ], + "disallowed" + ], + [ + [ + 1421, + 1422 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1423, + 1423 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1424, + 1424 + ], + "disallowed" + ], + [ + [ + 1425, + 1441 + ], + "valid" + ], + [ + [ + 1442, + 1442 + ], + "valid" + ], + [ + [ + 1443, + 1455 + ], + "valid" + ], + [ + [ + 1456, + 1465 + ], + "valid" + ], + [ + [ + 1466, + 1466 + ], + "valid" + ], + [ + [ + 1467, + 1469 + ], + "valid" + ], + [ + [ + 1470, + 1470 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1471, + 1471 + ], + "valid" + ], + [ + [ + 1472, + 1472 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1473, + 1474 + ], + "valid" + ], + [ + [ + 1475, + 1475 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1476, + 1476 + ], + "valid" + ], + [ + [ + 1477, + 1477 + ], + "valid" + ], + [ + [ + 1478, + 1478 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1479, + 1479 + ], + "valid" + ], + [ + [ + 1480, + 1487 + ], + "disallowed" + ], + [ + [ + 1488, + 1514 + ], + "valid" + ], + [ + [ + 1515, + 1519 + ], + "disallowed" + ], + [ + [ + 1520, + 1524 + ], + "valid" + ], + [ + [ + 1525, + 1535 + ], + "disallowed" + ], + [ + [ + 1536, + 1539 + ], + "disallowed" + ], + [ + [ + 1540, + 1540 + ], + "disallowed" + ], + [ + [ + 1541, + 1541 + ], + "disallowed" + ], + [ + [ + 1542, + 1546 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1547, + 1547 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1548, + 1548 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1549, + 1551 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1552, + 1557 + ], + "valid" + ], + [ + [ + 1558, + 1562 + ], + "valid" + ], + [ + [ + 1563, + 1563 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1564, + 1564 + ], + "disallowed" + ], + [ + [ + 1565, + 1565 + ], + "disallowed" + ], + [ + [ + 1566, + 1566 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1567, + 1567 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1568, + 1568 + ], + "valid" + ], + [ + [ + 1569, + 1594 + ], + "valid" + ], + [ + [ + 1595, + 1599 + ], + "valid" + ], + [ + [ + 1600, + 1600 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1601, + 1618 + ], + "valid" + ], + [ + [ + 1619, + 1621 + ], + "valid" + ], + [ + [ + 1622, + 1624 + ], + "valid" + ], + [ + [ + 1625, + 1630 + ], + "valid" + ], + [ + [ + 1631, + 1631 + ], + "valid" + ], + [ + [ + 1632, + 1641 + ], + "valid" + ], + [ + [ + 1642, + 1645 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1646, + 1647 + ], + "valid" + ], + [ + [ + 1648, + 1652 + ], + "valid" + ], + [ + [ + 1653, + 1653 + ], + "mapped", + [ + 1575, + 1652 + ] + ], + [ + [ + 1654, + 1654 + ], + "mapped", + [ + 1608, + 1652 + ] + ], + [ + [ + 1655, + 1655 + ], + "mapped", + [ + 1735, + 1652 + ] + ], + [ + [ + 1656, + 1656 + ], + "mapped", + [ + 1610, + 1652 + ] + ], + [ + [ + 1657, + 1719 + ], + "valid" + ], + [ + [ + 1720, + 1721 + ], + "valid" + ], + [ + [ + 1722, + 1726 + ], + "valid" + ], + [ + [ + 1727, + 1727 + ], + "valid" + ], + [ + [ + 1728, + 1742 + ], + "valid" + ], + [ + [ + 1743, + 1743 + ], + "valid" + ], + [ + [ + 1744, + 1747 + ], + "valid" + ], + [ + [ + 1748, + 1748 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1749, + 1756 + ], + "valid" + ], + [ + [ + 1757, + 1757 + ], + "disallowed" + ], + [ + [ + 1758, + 1758 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1759, + 1768 + ], + "valid" + ], + [ + [ + 1769, + 1769 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1770, + 1773 + ], + "valid" + ], + [ + [ + 1774, + 1775 + ], + "valid" + ], + [ + [ + 1776, + 1785 + ], + "valid" + ], + [ + [ + 1786, + 1790 + ], + "valid" + ], + [ + [ + 1791, + 1791 + ], + "valid" + ], + [ + [ + 1792, + 1805 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1806, + 1806 + ], + "disallowed" + ], + [ + [ + 1807, + 1807 + ], + "disallowed" + ], + [ + [ + 1808, + 1836 + ], + "valid" + ], + [ + [ + 1837, + 1839 + ], + "valid" + ], + [ + [ + 1840, + 1866 + ], + "valid" + ], + [ + [ + 1867, + 1868 + ], + "disallowed" + ], + [ + [ + 1869, + 1871 + ], + "valid" + ], + [ + [ + 1872, + 1901 + ], + "valid" + ], + [ + [ + 1902, + 1919 + ], + "valid" + ], + [ + [ + 1920, + 1968 + ], + "valid" + ], + [ + [ + 1969, + 1969 + ], + "valid" + ], + [ + [ + 1970, + 1983 + ], + "disallowed" + ], + [ + [ + 1984, + 2037 + ], + "valid" + ], + [ + [ + 2038, + 2042 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2043, + 2047 + ], + "disallowed" + ], + [ + [ + 2048, + 2093 + ], + "valid" + ], + [ + [ + 2094, + 2095 + ], + "disallowed" + ], + [ + [ + 2096, + 2110 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2111, + 2111 + ], + "disallowed" + ], + [ + [ + 2112, + 2139 + ], + "valid" + ], + [ + [ + 2140, + 2141 + ], + "disallowed" + ], + [ + [ + 2142, + 2142 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2143, + 2207 + ], + "disallowed" + ], + [ + [ + 2208, + 2208 + ], + "valid" + ], + [ + [ + 2209, + 2209 + ], + "valid" + ], + [ + [ + 2210, + 2220 + ], + "valid" + ], + [ + [ + 2221, + 2226 + ], + "valid" + ], + [ + [ + 2227, + 2228 + ], + "valid" + ], + [ + [ + 2229, + 2274 + ], + "disallowed" + ], + [ + [ + 2275, + 2275 + ], + "valid" + ], + [ + [ + 2276, + 2302 + ], + "valid" + ], + [ + [ + 2303, + 2303 + ], + "valid" + ], + [ + [ + 2304, + 2304 + ], + "valid" + ], + [ + [ + 2305, + 2307 + ], + "valid" + ], + [ + [ + 2308, + 2308 + ], + "valid" + ], + [ + [ + 2309, + 2361 + ], + "valid" + ], + [ + [ + 2362, + 2363 + ], + "valid" + ], + [ + [ + 2364, + 2381 + ], + "valid" + ], + [ + [ + 2382, + 2382 + ], + "valid" + ], + [ + [ + 2383, + 2383 + ], + "valid" + ], + [ + [ + 2384, + 2388 + ], + "valid" + ], + [ + [ + 2389, + 2389 + ], + "valid" + ], + [ + [ + 2390, + 2391 + ], + "valid" + ], + [ + [ + 2392, + 2392 + ], + "mapped", + [ + 2325, + 2364 + ] + ], + [ + [ + 2393, + 2393 + ], + "mapped", + [ + 2326, + 2364 + ] + ], + [ + [ + 2394, + 2394 + ], + "mapped", + [ + 2327, + 2364 + ] + ], + [ + [ + 2395, + 2395 + ], + "mapped", + [ + 2332, + 2364 + ] + ], + [ + [ + 2396, + 2396 + ], + "mapped", + [ + 2337, + 2364 + ] + ], + [ + [ + 2397, + 2397 + ], + "mapped", + [ + 2338, + 2364 + ] + ], + [ + [ + 2398, + 2398 + ], + "mapped", + [ + 2347, + 2364 + ] + ], + [ + [ + 2399, + 2399 + ], + "mapped", + [ + 2351, + 2364 + ] + ], + [ + [ + 2400, + 2403 + ], + "valid" + ], + [ + [ + 2404, + 2405 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2406, + 2415 + ], + "valid" + ], + [ + [ + 2416, + 2416 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2417, + 2418 + ], + "valid" + ], + [ + [ + 2419, + 2423 + ], + "valid" + ], + [ + [ + 2424, + 2424 + ], + "valid" + ], + [ + [ + 2425, + 2426 + ], + "valid" + ], + [ + [ + 2427, + 2428 + ], + "valid" + ], + [ + [ + 2429, + 2429 + ], + "valid" + ], + [ + [ + 2430, + 2431 + ], + "valid" + ], + [ + [ + 2432, + 2432 + ], + "valid" + ], + [ + [ + 2433, + 2435 + ], + "valid" + ], + [ + [ + 2436, + 2436 + ], + "disallowed" + ], + [ + [ + 2437, + 2444 + ], + "valid" + ], + [ + [ + 2445, + 2446 + ], + "disallowed" + ], + [ + [ + 2447, + 2448 + ], + "valid" + ], + [ + [ + 2449, + 2450 + ], + "disallowed" + ], + [ + [ + 2451, + 2472 + ], + "valid" + ], + [ + [ + 2473, + 2473 + ], + "disallowed" + ], + [ + [ + 2474, + 2480 + ], + "valid" + ], + [ + [ + 2481, + 2481 + ], + "disallowed" + ], + [ + [ + 2482, + 2482 + ], + "valid" + ], + [ + [ + 2483, + 2485 + ], + "disallowed" + ], + [ + [ + 2486, + 2489 + ], + "valid" + ], + [ + [ + 2490, + 2491 + ], + "disallowed" + ], + [ + [ + 2492, + 2492 + ], + "valid" + ], + [ + [ + 2493, + 2493 + ], + "valid" + ], + [ + [ + 2494, + 2500 + ], + "valid" + ], + [ + [ + 2501, + 2502 + ], + "disallowed" + ], + [ + [ + 2503, + 2504 + ], + "valid" + ], + [ + [ + 2505, + 2506 + ], + "disallowed" + ], + [ + [ + 2507, + 2509 + ], + "valid" + ], + [ + [ + 2510, + 2510 + ], + "valid" + ], + [ + [ + 2511, + 2518 + ], + "disallowed" + ], + [ + [ + 2519, + 2519 + ], + "valid" + ], + [ + [ + 2520, + 2523 + ], + "disallowed" + ], + [ + [ + 2524, + 2524 + ], + "mapped", + [ + 2465, + 2492 + ] + ], + [ + [ + 2525, + 2525 + ], + "mapped", + [ + 2466, + 2492 + ] + ], + [ + [ + 2526, + 2526 + ], + "disallowed" + ], + [ + [ + 2527, + 2527 + ], + "mapped", + [ + 2479, + 2492 + ] + ], + [ + [ + 2528, + 2531 + ], + "valid" + ], + [ + [ + 2532, + 2533 + ], + "disallowed" + ], + [ + [ + 2534, + 2545 + ], + "valid" + ], + [ + [ + 2546, + 2554 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2555, + 2555 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2556, + 2560 + ], + "disallowed" + ], + [ + [ + 2561, + 2561 + ], + "valid" + ], + [ + [ + 2562, + 2562 + ], + "valid" + ], + [ + [ + 2563, + 2563 + ], + "valid" + ], + [ + [ + 2564, + 2564 + ], + "disallowed" + ], + [ + [ + 2565, + 2570 + ], + "valid" + ], + [ + [ + 2571, + 2574 + ], + "disallowed" + ], + [ + [ + 2575, + 2576 + ], + "valid" + ], + [ + [ + 2577, + 2578 + ], + "disallowed" + ], + [ + [ + 2579, + 2600 + ], + "valid" + ], + [ + [ + 2601, + 2601 + ], + "disallowed" + ], + [ + [ + 2602, + 2608 + ], + "valid" + ], + [ + [ + 2609, + 2609 + ], + "disallowed" + ], + [ + [ + 2610, + 2610 + ], + "valid" + ], + [ + [ + 2611, + 2611 + ], + "mapped", + [ + 2610, + 2620 + ] + ], + [ + [ + 2612, + 2612 + ], + "disallowed" + ], + [ + [ + 2613, + 2613 + ], + "valid" + ], + [ + [ + 2614, + 2614 + ], + "mapped", + [ + 2616, + 2620 + ] + ], + [ + [ + 2615, + 2615 + ], + "disallowed" + ], + [ + [ + 2616, + 2617 + ], + "valid" + ], + [ + [ + 2618, + 2619 + ], + "disallowed" + ], + [ + [ + 2620, + 2620 + ], + "valid" + ], + [ + [ + 2621, + 2621 + ], + "disallowed" + ], + [ + [ + 2622, + 2626 + ], + "valid" + ], + [ + [ + 2627, + 2630 + ], + "disallowed" + ], + [ + [ + 2631, + 2632 + ], + "valid" + ], + [ + [ + 2633, + 2634 + ], + "disallowed" + ], + [ + [ + 2635, + 2637 + ], + "valid" + ], + [ + [ + 2638, + 2640 + ], + "disallowed" + ], + [ + [ + 2641, + 2641 + ], + "valid" + ], + [ + [ + 2642, + 2648 + ], + "disallowed" + ], + [ + [ + 2649, + 2649 + ], + "mapped", + [ + 2582, + 2620 + ] + ], + [ + [ + 2650, + 2650 + ], + "mapped", + [ + 2583, + 2620 + ] + ], + [ + [ + 2651, + 2651 + ], + "mapped", + [ + 2588, + 2620 + ] + ], + [ + [ + 2652, + 2652 + ], + "valid" + ], + [ + [ + 2653, + 2653 + ], + "disallowed" + ], + [ + [ + 2654, + 2654 + ], + "mapped", + [ + 2603, + 2620 + ] + ], + [ + [ + 2655, + 2661 + ], + "disallowed" + ], + [ + [ + 2662, + 2676 + ], + "valid" + ], + [ + [ + 2677, + 2677 + ], + "valid" + ], + [ + [ + 2678, + 2688 + ], + "disallowed" + ], + [ + [ + 2689, + 2691 + ], + "valid" + ], + [ + [ + 2692, + 2692 + ], + "disallowed" + ], + [ + [ + 2693, + 2699 + ], + "valid" + ], + [ + [ + 2700, + 2700 + ], + "valid" + ], + [ + [ + 2701, + 2701 + ], + "valid" + ], + [ + [ + 2702, + 2702 + ], + "disallowed" + ], + [ + [ + 2703, + 2705 + ], + "valid" + ], + [ + [ + 2706, + 2706 + ], + "disallowed" + ], + [ + [ + 2707, + 2728 + ], + "valid" + ], + [ + [ + 2729, + 2729 + ], + "disallowed" + ], + [ + [ + 2730, + 2736 + ], + "valid" + ], + [ + [ + 2737, + 2737 + ], + "disallowed" + ], + [ + [ + 2738, + 2739 + ], + "valid" + ], + [ + [ + 2740, + 2740 + ], + "disallowed" + ], + [ + [ + 2741, + 2745 + ], + "valid" + ], + [ + [ + 2746, + 2747 + ], + "disallowed" + ], + [ + [ + 2748, + 2757 + ], + "valid" + ], + [ + [ + 2758, + 2758 + ], + "disallowed" + ], + [ + [ + 2759, + 2761 + ], + "valid" + ], + [ + [ + 2762, + 2762 + ], + "disallowed" + ], + [ + [ + 2763, + 2765 + ], + "valid" + ], + [ + [ + 2766, + 2767 + ], + "disallowed" + ], + [ + [ + 2768, + 2768 + ], + "valid" + ], + [ + [ + 2769, + 2783 + ], + "disallowed" + ], + [ + [ + 2784, + 2784 + ], + "valid" + ], + [ + [ + 2785, + 2787 + ], + "valid" + ], + [ + [ + 2788, + 2789 + ], + "disallowed" + ], + [ + [ + 2790, + 2799 + ], + "valid" + ], + [ + [ + 2800, + 2800 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2801, + 2801 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2802, + 2808 + ], + "disallowed" + ], + [ + [ + 2809, + 2809 + ], + "valid" + ], + [ + [ + 2810, + 2816 + ], + "disallowed" + ], + [ + [ + 2817, + 2819 + ], + "valid" + ], + [ + [ + 2820, + 2820 + ], + "disallowed" + ], + [ + [ + 2821, + 2828 + ], + "valid" + ], + [ + [ + 2829, + 2830 + ], + "disallowed" + ], + [ + [ + 2831, + 2832 + ], + "valid" + ], + [ + [ + 2833, + 2834 + ], + "disallowed" + ], + [ + [ + 2835, + 2856 + ], + "valid" + ], + [ + [ + 2857, + 2857 + ], + "disallowed" + ], + [ + [ + 2858, + 2864 + ], + "valid" + ], + [ + [ + 2865, + 2865 + ], + "disallowed" + ], + [ + [ + 2866, + 2867 + ], + "valid" + ], + [ + [ + 2868, + 2868 + ], + "disallowed" + ], + [ + [ + 2869, + 2869 + ], + "valid" + ], + [ + [ + 2870, + 2873 + ], + "valid" + ], + [ + [ + 2874, + 2875 + ], + "disallowed" + ], + [ + [ + 2876, + 2883 + ], + "valid" + ], + [ + [ + 2884, + 2884 + ], + "valid" + ], + [ + [ + 2885, + 2886 + ], + "disallowed" + ], + [ + [ + 2887, + 2888 + ], + "valid" + ], + [ + [ + 2889, + 2890 + ], + "disallowed" + ], + [ + [ + 2891, + 2893 + ], + "valid" + ], + [ + [ + 2894, + 2901 + ], + "disallowed" + ], + [ + [ + 2902, + 2903 + ], + "valid" + ], + [ + [ + 2904, + 2907 + ], + "disallowed" + ], + [ + [ + 2908, + 2908 + ], + "mapped", + [ + 2849, + 2876 + ] + ], + [ + [ + 2909, + 2909 + ], + "mapped", + [ + 2850, + 2876 + ] + ], + [ + [ + 2910, + 2910 + ], + "disallowed" + ], + [ + [ + 2911, + 2913 + ], + "valid" + ], + [ + [ + 2914, + 2915 + ], + "valid" + ], + [ + [ + 2916, + 2917 + ], + "disallowed" + ], + [ + [ + 2918, + 2927 + ], + "valid" + ], + [ + [ + 2928, + 2928 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2929, + 2929 + ], + "valid" + ], + [ + [ + 2930, + 2935 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2936, + 2945 + ], + "disallowed" + ], + [ + [ + 2946, + 2947 + ], + "valid" + ], + [ + [ + 2948, + 2948 + ], + "disallowed" + ], + [ + [ + 2949, + 2954 + ], + "valid" + ], + [ + [ + 2955, + 2957 + ], + "disallowed" + ], + [ + [ + 2958, + 2960 + ], + "valid" + ], + [ + [ + 2961, + 2961 + ], + "disallowed" + ], + [ + [ + 2962, + 2965 + ], + "valid" + ], + [ + [ + 2966, + 2968 + ], + "disallowed" + ], + [ + [ + 2969, + 2970 + ], + "valid" + ], + [ + [ + 2971, + 2971 + ], + "disallowed" + ], + [ + [ + 2972, + 2972 + ], + "valid" + ], + [ + [ + 2973, + 2973 + ], + "disallowed" + ], + [ + [ + 2974, + 2975 + ], + "valid" + ], + [ + [ + 2976, + 2978 + ], + "disallowed" + ], + [ + [ + 2979, + 2980 + ], + "valid" + ], + [ + [ + 2981, + 2983 + ], + "disallowed" + ], + [ + [ + 2984, + 2986 + ], + "valid" + ], + [ + [ + 2987, + 2989 + ], + "disallowed" + ], + [ + [ + 2990, + 2997 + ], + "valid" + ], + [ + [ + 2998, + 2998 + ], + "valid" + ], + [ + [ + 2999, + 3001 + ], + "valid" + ], + [ + [ + 3002, + 3005 + ], + "disallowed" + ], + [ + [ + 3006, + 3010 + ], + "valid" + ], + [ + [ + 3011, + 3013 + ], + "disallowed" + ], + [ + [ + 3014, + 3016 + ], + "valid" + ], + [ + [ + 3017, + 3017 + ], + "disallowed" + ], + [ + [ + 3018, + 3021 + ], + "valid" + ], + [ + [ + 3022, + 3023 + ], + "disallowed" + ], + [ + [ + 3024, + 3024 + ], + "valid" + ], + [ + [ + 3025, + 3030 + ], + "disallowed" + ], + [ + [ + 3031, + 3031 + ], + "valid" + ], + [ + [ + 3032, + 3045 + ], + "disallowed" + ], + [ + [ + 3046, + 3046 + ], + "valid" + ], + [ + [ + 3047, + 3055 + ], + "valid" + ], + [ + [ + 3056, + 3058 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3059, + 3066 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3067, + 3071 + ], + "disallowed" + ], + [ + [ + 3072, + 3072 + ], + "valid" + ], + [ + [ + 3073, + 3075 + ], + "valid" + ], + [ + [ + 3076, + 3076 + ], + "disallowed" + ], + [ + [ + 3077, + 3084 + ], + "valid" + ], + [ + [ + 3085, + 3085 + ], + "disallowed" + ], + [ + [ + 3086, + 3088 + ], + "valid" + ], + [ + [ + 3089, + 3089 + ], + "disallowed" + ], + [ + [ + 3090, + 3112 + ], + "valid" + ], + [ + [ + 3113, + 3113 + ], + "disallowed" + ], + [ + [ + 3114, + 3123 + ], + "valid" + ], + [ + [ + 3124, + 3124 + ], + "valid" + ], + [ + [ + 3125, + 3129 + ], + "valid" + ], + [ + [ + 3130, + 3132 + ], + "disallowed" + ], + [ + [ + 3133, + 3133 + ], + "valid" + ], + [ + [ + 3134, + 3140 + ], + "valid" + ], + [ + [ + 3141, + 3141 + ], + "disallowed" + ], + [ + [ + 3142, + 3144 + ], + "valid" + ], + [ + [ + 3145, + 3145 + ], + "disallowed" + ], + [ + [ + 3146, + 3149 + ], + "valid" + ], + [ + [ + 3150, + 3156 + ], + "disallowed" + ], + [ + [ + 3157, + 3158 + ], + "valid" + ], + [ + [ + 3159, + 3159 + ], + "disallowed" + ], + [ + [ + 3160, + 3161 + ], + "valid" + ], + [ + [ + 3162, + 3162 + ], + "valid" + ], + [ + [ + 3163, + 3167 + ], + "disallowed" + ], + [ + [ + 3168, + 3169 + ], + "valid" + ], + [ + [ + 3170, + 3171 + ], + "valid" + ], + [ + [ + 3172, + 3173 + ], + "disallowed" + ], + [ + [ + 3174, + 3183 + ], + "valid" + ], + [ + [ + 3184, + 3191 + ], + "disallowed" + ], + [ + [ + 3192, + 3199 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3200, + 3200 + ], + "disallowed" + ], + [ + [ + 3201, + 3201 + ], + "valid" + ], + [ + [ + 3202, + 3203 + ], + "valid" + ], + [ + [ + 3204, + 3204 + ], + "disallowed" + ], + [ + [ + 3205, + 3212 + ], + "valid" + ], + [ + [ + 3213, + 3213 + ], + "disallowed" + ], + [ + [ + 3214, + 3216 + ], + "valid" + ], + [ + [ + 3217, + 3217 + ], + "disallowed" + ], + [ + [ + 3218, + 3240 + ], + "valid" + ], + [ + [ + 3241, + 3241 + ], + "disallowed" + ], + [ + [ + 3242, + 3251 + ], + "valid" + ], + [ + [ + 3252, + 3252 + ], + "disallowed" + ], + [ + [ + 3253, + 3257 + ], + "valid" + ], + [ + [ + 3258, + 3259 + ], + "disallowed" + ], + [ + [ + 3260, + 3261 + ], + "valid" + ], + [ + [ + 3262, + 3268 + ], + "valid" + ], + [ + [ + 3269, + 3269 + ], + "disallowed" + ], + [ + [ + 3270, + 3272 + ], + "valid" + ], + [ + [ + 3273, + 3273 + ], + "disallowed" + ], + [ + [ + 3274, + 3277 + ], + "valid" + ], + [ + [ + 3278, + 3284 + ], + "disallowed" + ], + [ + [ + 3285, + 3286 + ], + "valid" + ], + [ + [ + 3287, + 3293 + ], + "disallowed" + ], + [ + [ + 3294, + 3294 + ], + "valid" + ], + [ + [ + 3295, + 3295 + ], + "disallowed" + ], + [ + [ + 3296, + 3297 + ], + "valid" + ], + [ + [ + 3298, + 3299 + ], + "valid" + ], + [ + [ + 3300, + 3301 + ], + "disallowed" + ], + [ + [ + 3302, + 3311 + ], + "valid" + ], + [ + [ + 3312, + 3312 + ], + "disallowed" + ], + [ + [ + 3313, + 3314 + ], + "valid" + ], + [ + [ + 3315, + 3328 + ], + "disallowed" + ], + [ + [ + 3329, + 3329 + ], + "valid" + ], + [ + [ + 3330, + 3331 + ], + "valid" + ], + [ + [ + 3332, + 3332 + ], + "disallowed" + ], + [ + [ + 3333, + 3340 + ], + "valid" + ], + [ + [ + 3341, + 3341 + ], + "disallowed" + ], + [ + [ + 3342, + 3344 + ], + "valid" + ], + [ + [ + 3345, + 3345 + ], + "disallowed" + ], + [ + [ + 3346, + 3368 + ], + "valid" + ], + [ + [ + 3369, + 3369 + ], + "valid" + ], + [ + [ + 3370, + 3385 + ], + "valid" + ], + [ + [ + 3386, + 3386 + ], + "valid" + ], + [ + [ + 3387, + 3388 + ], + "disallowed" + ], + [ + [ + 3389, + 3389 + ], + "valid" + ], + [ + [ + 3390, + 3395 + ], + "valid" + ], + [ + [ + 3396, + 3396 + ], + "valid" + ], + [ + [ + 3397, + 3397 + ], + "disallowed" + ], + [ + [ + 3398, + 3400 + ], + "valid" + ], + [ + [ + 3401, + 3401 + ], + "disallowed" + ], + [ + [ + 3402, + 3405 + ], + "valid" + ], + [ + [ + 3406, + 3406 + ], + "valid" + ], + [ + [ + 3407, + 3414 + ], + "disallowed" + ], + [ + [ + 3415, + 3415 + ], + "valid" + ], + [ + [ + 3416, + 3422 + ], + "disallowed" + ], + [ + [ + 3423, + 3423 + ], + "valid" + ], + [ + [ + 3424, + 3425 + ], + "valid" + ], + [ + [ + 3426, + 3427 + ], + "valid" + ], + [ + [ + 3428, + 3429 + ], + "disallowed" + ], + [ + [ + 3430, + 3439 + ], + "valid" + ], + [ + [ + 3440, + 3445 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3446, + 3448 + ], + "disallowed" + ], + [ + [ + 3449, + 3449 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3450, + 3455 + ], + "valid" + ], + [ + [ + 3456, + 3457 + ], + "disallowed" + ], + [ + [ + 3458, + 3459 + ], + "valid" + ], + [ + [ + 3460, + 3460 + ], + "disallowed" + ], + [ + [ + 3461, + 3478 + ], + "valid" + ], + [ + [ + 3479, + 3481 + ], + "disallowed" + ], + [ + [ + 3482, + 3505 + ], + "valid" + ], + [ + [ + 3506, + 3506 + ], + "disallowed" + ], + [ + [ + 3507, + 3515 + ], + "valid" + ], + [ + [ + 3516, + 3516 + ], + "disallowed" + ], + [ + [ + 3517, + 3517 + ], + "valid" + ], + [ + [ + 3518, + 3519 + ], + "disallowed" + ], + [ + [ + 3520, + 3526 + ], + "valid" + ], + [ + [ + 3527, + 3529 + ], + "disallowed" + ], + [ + [ + 3530, + 3530 + ], + "valid" + ], + [ + [ + 3531, + 3534 + ], + "disallowed" + ], + [ + [ + 3535, + 3540 + ], + "valid" + ], + [ + [ + 3541, + 3541 + ], + "disallowed" + ], + [ + [ + 3542, + 3542 + ], + "valid" + ], + [ + [ + 3543, + 3543 + ], + "disallowed" + ], + [ + [ + 3544, + 3551 + ], + "valid" + ], + [ + [ + 3552, + 3557 + ], + "disallowed" + ], + [ + [ + 3558, + 3567 + ], + "valid" + ], + [ + [ + 3568, + 3569 + ], + "disallowed" + ], + [ + [ + 3570, + 3571 + ], + "valid" + ], + [ + [ + 3572, + 3572 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3573, + 3584 + ], + "disallowed" + ], + [ + [ + 3585, + 3634 + ], + "valid" + ], + [ + [ + 3635, + 3635 + ], + "mapped", + [ + 3661, + 3634 + ] + ], + [ + [ + 3636, + 3642 + ], + "valid" + ], + [ + [ + 3643, + 3646 + ], + "disallowed" + ], + [ + [ + 3647, + 3647 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3648, + 3662 + ], + "valid" + ], + [ + [ + 3663, + 3663 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3664, + 3673 + ], + "valid" + ], + [ + [ + 3674, + 3675 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3676, + 3712 + ], + "disallowed" + ], + [ + [ + 3713, + 3714 + ], + "valid" + ], + [ + [ + 3715, + 3715 + ], + "disallowed" + ], + [ + [ + 3716, + 3716 + ], + "valid" + ], + [ + [ + 3717, + 3718 + ], + "disallowed" + ], + [ + [ + 3719, + 3720 + ], + "valid" + ], + [ + [ + 3721, + 3721 + ], + "disallowed" + ], + [ + [ + 3722, + 3722 + ], + "valid" + ], + [ + [ + 3723, + 3724 + ], + "disallowed" + ], + [ + [ + 3725, + 3725 + ], + "valid" + ], + [ + [ + 3726, + 3731 + ], + "disallowed" + ], + [ + [ + 3732, + 3735 + ], + "valid" + ], + [ + [ + 3736, + 3736 + ], + "disallowed" + ], + [ + [ + 3737, + 3743 + ], + "valid" + ], + [ + [ + 3744, + 3744 + ], + "disallowed" + ], + [ + [ + 3745, + 3747 + ], + "valid" + ], + [ + [ + 3748, + 3748 + ], + "disallowed" + ], + [ + [ + 3749, + 3749 + ], + "valid" + ], + [ + [ + 3750, + 3750 + ], + "disallowed" + ], + [ + [ + 3751, + 3751 + ], + "valid" + ], + [ + [ + 3752, + 3753 + ], + "disallowed" + ], + [ + [ + 3754, + 3755 + ], + "valid" + ], + [ + [ + 3756, + 3756 + ], + "disallowed" + ], + [ + [ + 3757, + 3762 + ], + "valid" + ], + [ + [ + 3763, + 3763 + ], + "mapped", + [ + 3789, + 3762 + ] + ], + [ + [ + 3764, + 3769 + ], + "valid" + ], + [ + [ + 3770, + 3770 + ], + "disallowed" + ], + [ + [ + 3771, + 3773 + ], + "valid" + ], + [ + [ + 3774, + 3775 + ], + "disallowed" + ], + [ + [ + 3776, + 3780 + ], + "valid" + ], + [ + [ + 3781, + 3781 + ], + "disallowed" + ], + [ + [ + 3782, + 3782 + ], + "valid" + ], + [ + [ + 3783, + 3783 + ], + "disallowed" + ], + [ + [ + 3784, + 3789 + ], + "valid" + ], + [ + [ + 3790, + 3791 + ], + "disallowed" + ], + [ + [ + 3792, + 3801 + ], + "valid" + ], + [ + [ + 3802, + 3803 + ], + "disallowed" + ], + [ + [ + 3804, + 3804 + ], + "mapped", + [ + 3755, + 3737 + ] + ], + [ + [ + 3805, + 3805 + ], + "mapped", + [ + 3755, + 3745 + ] + ], + [ + [ + 3806, + 3807 + ], + "valid" + ], + [ + [ + 3808, + 3839 + ], + "disallowed" + ], + [ + [ + 3840, + 3840 + ], + "valid" + ], + [ + [ + 3841, + 3850 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3851, + 3851 + ], + "valid" + ], + [ + [ + 3852, + 3852 + ], + "mapped", + [ + 3851 + ] + ], + [ + [ + 3853, + 3863 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3864, + 3865 + ], + "valid" + ], + [ + [ + 3866, + 3871 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3872, + 3881 + ], + "valid" + ], + [ + [ + 3882, + 3892 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3893, + 3893 + ], + "valid" + ], + [ + [ + 3894, + 3894 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3895, + 3895 + ], + "valid" + ], + [ + [ + 3896, + 3896 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3897, + 3897 + ], + "valid" + ], + [ + [ + 3898, + 3901 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3902, + 3906 + ], + "valid" + ], + [ + [ + 3907, + 3907 + ], + "mapped", + [ + 3906, + 4023 + ] + ], + [ + [ + 3908, + 3911 + ], + "valid" + ], + [ + [ + 3912, + 3912 + ], + "disallowed" + ], + [ + [ + 3913, + 3916 + ], + "valid" + ], + [ + [ + 3917, + 3917 + ], + "mapped", + [ + 3916, + 4023 + ] + ], + [ + [ + 3918, + 3921 + ], + "valid" + ], + [ + [ + 3922, + 3922 + ], + "mapped", + [ + 3921, + 4023 + ] + ], + [ + [ + 3923, + 3926 + ], + "valid" + ], + [ + [ + 3927, + 3927 + ], + "mapped", + [ + 3926, + 4023 + ] + ], + [ + [ + 3928, + 3931 + ], + "valid" + ], + [ + [ + 3932, + 3932 + ], + "mapped", + [ + 3931, + 4023 + ] + ], + [ + [ + 3933, + 3944 + ], + "valid" + ], + [ + [ + 3945, + 3945 + ], + "mapped", + [ + 3904, + 4021 + ] + ], + [ + [ + 3946, + 3946 + ], + "valid" + ], + [ + [ + 3947, + 3948 + ], + "valid" + ], + [ + [ + 3949, + 3952 + ], + "disallowed" + ], + [ + [ + 3953, + 3954 + ], + "valid" + ], + [ + [ + 3955, + 3955 + ], + "mapped", + [ + 3953, + 3954 + ] + ], + [ + [ + 3956, + 3956 + ], + "valid" + ], + [ + [ + 3957, + 3957 + ], + "mapped", + [ + 3953, + 3956 + ] + ], + [ + [ + 3958, + 3958 + ], + "mapped", + [ + 4018, + 3968 + ] + ], + [ + [ + 3959, + 3959 + ], + "mapped", + [ + 4018, + 3953, + 3968 + ] + ], + [ + [ + 3960, + 3960 + ], + "mapped", + [ + 4019, + 3968 + ] + ], + [ + [ + 3961, + 3961 + ], + "mapped", + [ + 4019, + 3953, + 3968 + ] + ], + [ + [ + 3962, + 3968 + ], + "valid" + ], + [ + [ + 3969, + 3969 + ], + "mapped", + [ + 3953, + 3968 + ] + ], + [ + [ + 3970, + 3972 + ], + "valid" + ], + [ + [ + 3973, + 3973 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3974, + 3979 + ], + "valid" + ], + [ + [ + 3980, + 3983 + ], + "valid" + ], + [ + [ + 3984, + 3986 + ], + "valid" + ], + [ + [ + 3987, + 3987 + ], + "mapped", + [ + 3986, + 4023 + ] + ], + [ + [ + 3988, + 3989 + ], + "valid" + ], + [ + [ + 3990, + 3990 + ], + "valid" + ], + [ + [ + 3991, + 3991 + ], + "valid" + ], + [ + [ + 3992, + 3992 + ], + "disallowed" + ], + [ + [ + 3993, + 3996 + ], + "valid" + ], + [ + [ + 3997, + 3997 + ], + "mapped", + [ + 3996, + 4023 + ] + ], + [ + [ + 3998, + 4001 + ], + "valid" + ], + [ + [ + 4002, + 4002 + ], + "mapped", + [ + 4001, + 4023 + ] + ], + [ + [ + 4003, + 4006 + ], + "valid" + ], + [ + [ + 4007, + 4007 + ], + "mapped", + [ + 4006, + 4023 + ] + ], + [ + [ + 4008, + 4011 + ], + "valid" + ], + [ + [ + 4012, + 4012 + ], + "mapped", + [ + 4011, + 4023 + ] + ], + [ + [ + 4013, + 4013 + ], + "valid" + ], + [ + [ + 4014, + 4016 + ], + "valid" + ], + [ + [ + 4017, + 4023 + ], + "valid" + ], + [ + [ + 4024, + 4024 + ], + "valid" + ], + [ + [ + 4025, + 4025 + ], + "mapped", + [ + 3984, + 4021 + ] + ], + [ + [ + 4026, + 4028 + ], + "valid" + ], + [ + [ + 4029, + 4029 + ], + "disallowed" + ], + [ + [ + 4030, + 4037 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4038, + 4038 + ], + "valid" + ], + [ + [ + 4039, + 4044 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4045, + 4045 + ], + "disallowed" + ], + [ + [ + 4046, + 4046 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4047, + 4047 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4048, + 4049 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4050, + 4052 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4053, + 4056 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4057, + 4058 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4059, + 4095 + ], + "disallowed" + ], + [ + [ + 4096, + 4129 + ], + "valid" + ], + [ + [ + 4130, + 4130 + ], + "valid" + ], + [ + [ + 4131, + 4135 + ], + "valid" + ], + [ + [ + 4136, + 4136 + ], + "valid" + ], + [ + [ + 4137, + 4138 + ], + "valid" + ], + [ + [ + 4139, + 4139 + ], + "valid" + ], + [ + [ + 4140, + 4146 + ], + "valid" + ], + [ + [ + 4147, + 4149 + ], + "valid" + ], + [ + [ + 4150, + 4153 + ], + "valid" + ], + [ + [ + 4154, + 4159 + ], + "valid" + ], + [ + [ + 4160, + 4169 + ], + "valid" + ], + [ + [ + 4170, + 4175 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4176, + 4185 + ], + "valid" + ], + [ + [ + 4186, + 4249 + ], + "valid" + ], + [ + [ + 4250, + 4253 + ], + "valid" + ], + [ + [ + 4254, + 4255 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4256, + 4293 + ], + "disallowed" + ], + [ + [ + 4294, + 4294 + ], + "disallowed" + ], + [ + [ + 4295, + 4295 + ], + "mapped", + [ + 11559 + ] + ], + [ + [ + 4296, + 4300 + ], + "disallowed" + ], + [ + [ + 4301, + 4301 + ], + "mapped", + [ + 11565 + ] + ], + [ + [ + 4302, + 4303 + ], + "disallowed" + ], + [ + [ + 4304, + 4342 + ], + "valid" + ], + [ + [ + 4343, + 4344 + ], + "valid" + ], + [ + [ + 4345, + 4346 + ], + "valid" + ], + [ + [ + 4347, + 4347 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4348, + 4348 + ], + "mapped", + [ + 4316 + ] + ], + [ + [ + 4349, + 4351 + ], + "valid" + ], + [ + [ + 4352, + 4441 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4442, + 4446 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4447, + 4448 + ], + "disallowed" + ], + [ + [ + 4449, + 4514 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4515, + 4519 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4520, + 4601 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4602, + 4607 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4608, + 4614 + ], + "valid" + ], + [ + [ + 4615, + 4615 + ], + "valid" + ], + [ + [ + 4616, + 4678 + ], + "valid" + ], + [ + [ + 4679, + 4679 + ], + "valid" + ], + [ + [ + 4680, + 4680 + ], + "valid" + ], + [ + [ + 4681, + 4681 + ], + "disallowed" + ], + [ + [ + 4682, + 4685 + ], + "valid" + ], + [ + [ + 4686, + 4687 + ], + "disallowed" + ], + [ + [ + 4688, + 4694 + ], + "valid" + ], + [ + [ + 4695, + 4695 + ], + "disallowed" + ], + [ + [ + 4696, + 4696 + ], + "valid" + ], + [ + [ + 4697, + 4697 + ], + "disallowed" + ], + [ + [ + 4698, + 4701 + ], + "valid" + ], + [ + [ + 4702, + 4703 + ], + "disallowed" + ], + [ + [ + 4704, + 4742 + ], + "valid" + ], + [ + [ + 4743, + 4743 + ], + "valid" + ], + [ + [ + 4744, + 4744 + ], + "valid" + ], + [ + [ + 4745, + 4745 + ], + "disallowed" + ], + [ + [ + 4746, + 4749 + ], + "valid" + ], + [ + [ + 4750, + 4751 + ], + "disallowed" + ], + [ + [ + 4752, + 4782 + ], + "valid" + ], + [ + [ + 4783, + 4783 + ], + "valid" + ], + [ + [ + 4784, + 4784 + ], + "valid" + ], + [ + [ + 4785, + 4785 + ], + "disallowed" + ], + [ + [ + 4786, + 4789 + ], + "valid" + ], + [ + [ + 4790, + 4791 + ], + "disallowed" + ], + [ + [ + 4792, + 4798 + ], + "valid" + ], + [ + [ + 4799, + 4799 + ], + "disallowed" + ], + [ + [ + 4800, + 4800 + ], + "valid" + ], + [ + [ + 4801, + 4801 + ], + "disallowed" + ], + [ + [ + 4802, + 4805 + ], + "valid" + ], + [ + [ + 4806, + 4807 + ], + "disallowed" + ], + [ + [ + 4808, + 4814 + ], + "valid" + ], + [ + [ + 4815, + 4815 + ], + "valid" + ], + [ + [ + 4816, + 4822 + ], + "valid" + ], + [ + [ + 4823, + 4823 + ], + "disallowed" + ], + [ + [ + 4824, + 4846 + ], + "valid" + ], + [ + [ + 4847, + 4847 + ], + "valid" + ], + [ + [ + 4848, + 4878 + ], + "valid" + ], + [ + [ + 4879, + 4879 + ], + "valid" + ], + [ + [ + 4880, + 4880 + ], + "valid" + ], + [ + [ + 4881, + 4881 + ], + "disallowed" + ], + [ + [ + 4882, + 4885 + ], + "valid" + ], + [ + [ + 4886, + 4887 + ], + "disallowed" + ], + [ + [ + 4888, + 4894 + ], + "valid" + ], + [ + [ + 4895, + 4895 + ], + "valid" + ], + [ + [ + 4896, + 4934 + ], + "valid" + ], + [ + [ + 4935, + 4935 + ], + "valid" + ], + [ + [ + 4936, + 4954 + ], + "valid" + ], + [ + [ + 4955, + 4956 + ], + "disallowed" + ], + [ + [ + 4957, + 4958 + ], + "valid" + ], + [ + [ + 4959, + 4959 + ], + "valid" + ], + [ + [ + 4960, + 4960 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4961, + 4988 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4989, + 4991 + ], + "disallowed" + ], + [ + [ + 4992, + 5007 + ], + "valid" + ], + [ + [ + 5008, + 5017 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5018, + 5023 + ], + "disallowed" + ], + [ + [ + 5024, + 5108 + ], + "valid" + ], + [ + [ + 5109, + 5109 + ], + "valid" + ], + [ + [ + 5110, + 5111 + ], + "disallowed" + ], + [ + [ + 5112, + 5112 + ], + "mapped", + [ + 5104 + ] + ], + [ + [ + 5113, + 5113 + ], + "mapped", + [ + 5105 + ] + ], + [ + [ + 5114, + 5114 + ], + "mapped", + [ + 5106 + ] + ], + [ + [ + 5115, + 5115 + ], + "mapped", + [ + 5107 + ] + ], + [ + [ + 5116, + 5116 + ], + "mapped", + [ + 5108 + ] + ], + [ + [ + 5117, + 5117 + ], + "mapped", + [ + 5109 + ] + ], + [ + [ + 5118, + 5119 + ], + "disallowed" + ], + [ + [ + 5120, + 5120 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5121, + 5740 + ], + "valid" + ], + [ + [ + 5741, + 5742 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5743, + 5750 + ], + "valid" + ], + [ + [ + 5751, + 5759 + ], + "valid" + ], + [ + [ + 5760, + 5760 + ], + "disallowed" + ], + [ + [ + 5761, + 5786 + ], + "valid" + ], + [ + [ + 5787, + 5788 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5789, + 5791 + ], + "disallowed" + ], + [ + [ + 5792, + 5866 + ], + "valid" + ], + [ + [ + 5867, + 5872 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5873, + 5880 + ], + "valid" + ], + [ + [ + 5881, + 5887 + ], + "disallowed" + ], + [ + [ + 5888, + 5900 + ], + "valid" + ], + [ + [ + 5901, + 5901 + ], + "disallowed" + ], + [ + [ + 5902, + 5908 + ], + "valid" + ], + [ + [ + 5909, + 5919 + ], + "disallowed" + ], + [ + [ + 5920, + 5940 + ], + "valid" + ], + [ + [ + 5941, + 5942 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5943, + 5951 + ], + "disallowed" + ], + [ + [ + 5952, + 5971 + ], + "valid" + ], + [ + [ + 5972, + 5983 + ], + "disallowed" + ], + [ + [ + 5984, + 5996 + ], + "valid" + ], + [ + [ + 5997, + 5997 + ], + "disallowed" + ], + [ + [ + 5998, + 6000 + ], + "valid" + ], + [ + [ + 6001, + 6001 + ], + "disallowed" + ], + [ + [ + 6002, + 6003 + ], + "valid" + ], + [ + [ + 6004, + 6015 + ], + "disallowed" + ], + [ + [ + 6016, + 6067 + ], + "valid" + ], + [ + [ + 6068, + 6069 + ], + "disallowed" + ], + [ + [ + 6070, + 6099 + ], + "valid" + ], + [ + [ + 6100, + 6102 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6103, + 6103 + ], + "valid" + ], + [ + [ + 6104, + 6107 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6108, + 6108 + ], + "valid" + ], + [ + [ + 6109, + 6109 + ], + "valid" + ], + [ + [ + 6110, + 6111 + ], + "disallowed" + ], + [ + [ + 6112, + 6121 + ], + "valid" + ], + [ + [ + 6122, + 6127 + ], + "disallowed" + ], + [ + [ + 6128, + 6137 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6138, + 6143 + ], + "disallowed" + ], + [ + [ + 6144, + 6149 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6150, + 6150 + ], + "disallowed" + ], + [ + [ + 6151, + 6154 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6155, + 6157 + ], + "ignored" + ], + [ + [ + 6158, + 6158 + ], + "disallowed" + ], + [ + [ + 6159, + 6159 + ], + "disallowed" + ], + [ + [ + 6160, + 6169 + ], + "valid" + ], + [ + [ + 6170, + 6175 + ], + "disallowed" + ], + [ + [ + 6176, + 6263 + ], + "valid" + ], + [ + [ + 6264, + 6271 + ], + "disallowed" + ], + [ + [ + 6272, + 6313 + ], + "valid" + ], + [ + [ + 6314, + 6314 + ], + "valid" + ], + [ + [ + 6315, + 6319 + ], + "disallowed" + ], + [ + [ + 6320, + 6389 + ], + "valid" + ], + [ + [ + 6390, + 6399 + ], + "disallowed" + ], + [ + [ + 6400, + 6428 + ], + "valid" + ], + [ + [ + 6429, + 6430 + ], + "valid" + ], + [ + [ + 6431, + 6431 + ], + "disallowed" + ], + [ + [ + 6432, + 6443 + ], + "valid" + ], + [ + [ + 6444, + 6447 + ], + "disallowed" + ], + [ + [ + 6448, + 6459 + ], + "valid" + ], + [ + [ + 6460, + 6463 + ], + "disallowed" + ], + [ + [ + 6464, + 6464 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6465, + 6467 + ], + "disallowed" + ], + [ + [ + 6468, + 6469 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6470, + 6509 + ], + "valid" + ], + [ + [ + 6510, + 6511 + ], + "disallowed" + ], + [ + [ + 6512, + 6516 + ], + "valid" + ], + [ + [ + 6517, + 6527 + ], + "disallowed" + ], + [ + [ + 6528, + 6569 + ], + "valid" + ], + [ + [ + 6570, + 6571 + ], + "valid" + ], + [ + [ + 6572, + 6575 + ], + "disallowed" + ], + [ + [ + 6576, + 6601 + ], + "valid" + ], + [ + [ + 6602, + 6607 + ], + "disallowed" + ], + [ + [ + 6608, + 6617 + ], + "valid" + ], + [ + [ + 6618, + 6618 + ], + "valid", + [ + ], + "XV8" + ], + [ + [ + 6619, + 6621 + ], + "disallowed" + ], + [ + [ + 6622, + 6623 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6624, + 6655 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6656, + 6683 + ], + "valid" + ], + [ + [ + 6684, + 6685 + ], + "disallowed" + ], + [ + [ + 6686, + 6687 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6688, + 6750 + ], + "valid" + ], + [ + [ + 6751, + 6751 + ], + "disallowed" + ], + [ + [ + 6752, + 6780 + ], + "valid" + ], + [ + [ + 6781, + 6782 + ], + "disallowed" + ], + [ + [ + 6783, + 6793 + ], + "valid" + ], + [ + [ + 6794, + 6799 + ], + "disallowed" + ], + [ + [ + 6800, + 6809 + ], + "valid" + ], + [ + [ + 6810, + 6815 + ], + "disallowed" + ], + [ + [ + 6816, + 6822 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6823, + 6823 + ], + "valid" + ], + [ + [ + 6824, + 6829 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6830, + 6831 + ], + "disallowed" + ], + [ + [ + 6832, + 6845 + ], + "valid" + ], + [ + [ + 6846, + 6846 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6847, + 6911 + ], + "disallowed" + ], + [ + [ + 6912, + 6987 + ], + "valid" + ], + [ + [ + 6988, + 6991 + ], + "disallowed" + ], + [ + [ + 6992, + 7001 + ], + "valid" + ], + [ + [ + 7002, + 7018 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7019, + 7027 + ], + "valid" + ], + [ + [ + 7028, + 7036 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7037, + 7039 + ], + "disallowed" + ], + [ + [ + 7040, + 7082 + ], + "valid" + ], + [ + [ + 7083, + 7085 + ], + "valid" + ], + [ + [ + 7086, + 7097 + ], + "valid" + ], + [ + [ + 7098, + 7103 + ], + "valid" + ], + [ + [ + 7104, + 7155 + ], + "valid" + ], + [ + [ + 7156, + 7163 + ], + "disallowed" + ], + [ + [ + 7164, + 7167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7168, + 7223 + ], + "valid" + ], + [ + [ + 7224, + 7226 + ], + "disallowed" + ], + [ + [ + 7227, + 7231 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7232, + 7241 + ], + "valid" + ], + [ + [ + 7242, + 7244 + ], + "disallowed" + ], + [ + [ + 7245, + 7293 + ], + "valid" + ], + [ + [ + 7294, + 7295 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7296, + 7359 + ], + "disallowed" + ], + [ + [ + 7360, + 7367 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7368, + 7375 + ], + "disallowed" + ], + [ + [ + 7376, + 7378 + ], + "valid" + ], + [ + [ + 7379, + 7379 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7380, + 7410 + ], + "valid" + ], + [ + [ + 7411, + 7414 + ], + "valid" + ], + [ + [ + 7415, + 7415 + ], + "disallowed" + ], + [ + [ + 7416, + 7417 + ], + "valid" + ], + [ + [ + 7418, + 7423 + ], + "disallowed" + ], + [ + [ + 7424, + 7467 + ], + "valid" + ], + [ + [ + 7468, + 7468 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 7469, + 7469 + ], + "mapped", + [ + 230 + ] + ], + [ + [ + 7470, + 7470 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 7471, + 7471 + ], + "valid" + ], + [ + [ + 7472, + 7472 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 7473, + 7473 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 7474, + 7474 + ], + "mapped", + [ + 477 + ] + ], + [ + [ + 7475, + 7475 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 7476, + 7476 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 7477, + 7477 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 7478, + 7478 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 7479, + 7479 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 7480, + 7480 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 7481, + 7481 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 7482, + 7482 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 7483, + 7483 + ], + "valid" + ], + [ + [ + 7484, + 7484 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 7485, + 7485 + ], + "mapped", + [ + 547 + ] + ], + [ + [ + 7486, + 7486 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 7487, + 7487 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 7488, + 7488 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 7489, + 7489 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 7490, + 7490 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 7491, + 7491 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 7492, + 7492 + ], + "mapped", + [ + 592 + ] + ], + [ + [ + 7493, + 7493 + ], + "mapped", + [ + 593 + ] + ], + [ + [ + 7494, + 7494 + ], + "mapped", + [ + 7426 + ] + ], + [ + [ + 7495, + 7495 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 7496, + 7496 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 7497, + 7497 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 7498, + 7498 + ], + "mapped", + [ + 601 + ] + ], + [ + [ + 7499, + 7499 + ], + "mapped", + [ + 603 + ] + ], + [ + [ + 7500, + 7500 + ], + "mapped", + [ + 604 + ] + ], + [ + [ + 7501, + 7501 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 7502, + 7502 + ], + "valid" + ], + [ + [ + 7503, + 7503 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 7504, + 7504 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 7505, + 7505 + ], + "mapped", + [ + 331 + ] + ], + [ + [ + 7506, + 7506 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 7507, + 7507 + ], + "mapped", + [ + 596 + ] + ], + [ + [ + 7508, + 7508 + ], + "mapped", + [ + 7446 + ] + ], + [ + [ + 7509, + 7509 + ], + "mapped", + [ + 7447 + ] + ], + [ + [ + 7510, + 7510 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 7511, + 7511 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 7512, + 7512 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 7513, + 7513 + ], + "mapped", + [ + 7453 + ] + ], + [ + [ + 7514, + 7514 + ], + "mapped", + [ + 623 + ] + ], + [ + [ + 7515, + 7515 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 7516, + 7516 + ], + "mapped", + [ + 7461 + ] + ], + [ + [ + 7517, + 7517 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 7518, + 7518 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 7519, + 7519 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 7520, + 7520 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 7521, + 7521 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 7522, + 7522 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 7523, + 7523 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 7524, + 7524 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 7525, + 7525 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 7526, + 7526 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 7527, + 7527 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 7528, + 7528 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 7529, + 7529 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 7530, + 7530 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 7531, + 7531 + ], + "valid" + ], + [ + [ + 7532, + 7543 + ], + "valid" + ], + [ + [ + 7544, + 7544 + ], + "mapped", + [ + 1085 + ] + ], + [ + [ + 7545, + 7578 + ], + "valid" + ], + [ + [ + 7579, + 7579 + ], + "mapped", + [ + 594 + ] + ], + [ + [ + 7580, + 7580 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 7581, + 7581 + ], + "mapped", + [ + 597 + ] + ], + [ + [ + 7582, + 7582 + ], + "mapped", + [ + 240 + ] + ], + [ + [ + 7583, + 7583 + ], + "mapped", + [ + 604 + ] + ], + [ + [ + 7584, + 7584 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 7585, + 7585 + ], + "mapped", + [ + 607 + ] + ], + [ + [ + 7586, + 7586 + ], + "mapped", + [ + 609 + ] + ], + [ + [ + 7587, + 7587 + ], + "mapped", + [ + 613 + ] + ], + [ + [ + 7588, + 7588 + ], + "mapped", + [ + 616 + ] + ], + [ + [ + 7589, + 7589 + ], + "mapped", + [ + 617 + ] + ], + [ + [ + 7590, + 7590 + ], + "mapped", + [ + 618 + ] + ], + [ + [ + 7591, + 7591 + ], + "mapped", + [ + 7547 + ] + ], + [ + [ + 7592, + 7592 + ], + "mapped", + [ + 669 + ] + ], + [ + [ + 7593, + 7593 + ], + "mapped", + [ + 621 + ] + ], + [ + [ + 7594, + 7594 + ], + "mapped", + [ + 7557 + ] + ], + [ + [ + 7595, + 7595 + ], + "mapped", + [ + 671 + ] + ], + [ + [ + 7596, + 7596 + ], + "mapped", + [ + 625 + ] + ], + [ + [ + 7597, + 7597 + ], + "mapped", + [ + 624 + ] + ], + [ + [ + 7598, + 7598 + ], + "mapped", + [ + 626 + ] + ], + [ + [ + 7599, + 7599 + ], + "mapped", + [ + 627 + ] + ], + [ + [ + 7600, + 7600 + ], + "mapped", + [ + 628 + ] + ], + [ + [ + 7601, + 7601 + ], + "mapped", + [ + 629 + ] + ], + [ + [ + 7602, + 7602 + ], + "mapped", + [ + 632 + ] + ], + [ + [ + 7603, + 7603 + ], + "mapped", + [ + 642 + ] + ], + [ + [ + 7604, + 7604 + ], + "mapped", + [ + 643 + ] + ], + [ + [ + 7605, + 7605 + ], + "mapped", + [ + 427 + ] + ], + [ + [ + 7606, + 7606 + ], + "mapped", + [ + 649 + ] + ], + [ + [ + 7607, + 7607 + ], + "mapped", + [ + 650 + ] + ], + [ + [ + 7608, + 7608 + ], + "mapped", + [ + 7452 + ] + ], + [ + [ + 7609, + 7609 + ], + "mapped", + [ + 651 + ] + ], + [ + [ + 7610, + 7610 + ], + "mapped", + [ + 652 + ] + ], + [ + [ + 7611, + 7611 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 7612, + 7612 + ], + "mapped", + [ + 656 + ] + ], + [ + [ + 7613, + 7613 + ], + "mapped", + [ + 657 + ] + ], + [ + [ + 7614, + 7614 + ], + "mapped", + [ + 658 + ] + ], + [ + [ + 7615, + 7615 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 7616, + 7619 + ], + "valid" + ], + [ + [ + 7620, + 7626 + ], + "valid" + ], + [ + [ + 7627, + 7654 + ], + "valid" + ], + [ + [ + 7655, + 7669 + ], + "valid" + ], + [ + [ + 7670, + 7675 + ], + "disallowed" + ], + [ + [ + 7676, + 7676 + ], + "valid" + ], + [ + [ + 7677, + 7677 + ], + "valid" + ], + [ + [ + 7678, + 7679 + ], + "valid" + ], + [ + [ + 7680, + 7680 + ], + "mapped", + [ + 7681 + ] + ], + [ + [ + 7681, + 7681 + ], + "valid" + ], + [ + [ + 7682, + 7682 + ], + "mapped", + [ + 7683 + ] + ], + [ + [ + 7683, + 7683 + ], + "valid" + ], + [ + [ + 7684, + 7684 + ], + "mapped", + [ + 7685 + ] + ], + [ + [ + 7685, + 7685 + ], + "valid" + ], + [ + [ + 7686, + 7686 + ], + "mapped", + [ + 7687 + ] + ], + [ + [ + 7687, + 7687 + ], + "valid" + ], + [ + [ + 7688, + 7688 + ], + "mapped", + [ + 7689 + ] + ], + [ + [ + 7689, + 7689 + ], + "valid" + ], + [ + [ + 7690, + 7690 + ], + "mapped", + [ + 7691 + ] + ], + [ + [ + 7691, + 7691 + ], + "valid" + ], + [ + [ + 7692, + 7692 + ], + "mapped", + [ + 7693 + ] + ], + [ + [ + 7693, + 7693 + ], + "valid" + ], + [ + [ + 7694, + 7694 + ], + "mapped", + [ + 7695 + ] + ], + [ + [ + 7695, + 7695 + ], + "valid" + ], + [ + [ + 7696, + 7696 + ], + "mapped", + [ + 7697 + ] + ], + [ + [ + 7697, + 7697 + ], + "valid" + ], + [ + [ + 7698, + 7698 + ], + "mapped", + [ + 7699 + ] + ], + [ + [ + 7699, + 7699 + ], + "valid" + ], + [ + [ + 7700, + 7700 + ], + "mapped", + [ + 7701 + ] + ], + [ + [ + 7701, + 7701 + ], + "valid" + ], + [ + [ + 7702, + 7702 + ], + "mapped", + [ + 7703 + ] + ], + [ + [ + 7703, + 7703 + ], + "valid" + ], + [ + [ + 7704, + 7704 + ], + "mapped", + [ + 7705 + ] + ], + [ + [ + 7705, + 7705 + ], + "valid" + ], + [ + [ + 7706, + 7706 + ], + "mapped", + [ + 7707 + ] + ], + [ + [ + 7707, + 7707 + ], + "valid" + ], + [ + [ + 7708, + 7708 + ], + "mapped", + [ + 7709 + ] + ], + [ + [ + 7709, + 7709 + ], + "valid" + ], + [ + [ + 7710, + 7710 + ], + "mapped", + [ + 7711 + ] + ], + [ + [ + 7711, + 7711 + ], + "valid" + ], + [ + [ + 7712, + 7712 + ], + "mapped", + [ + 7713 + ] + ], + [ + [ + 7713, + 7713 + ], + "valid" + ], + [ + [ + 7714, + 7714 + ], + "mapped", + [ + 7715 + ] + ], + [ + [ + 7715, + 7715 + ], + "valid" + ], + [ + [ + 7716, + 7716 + ], + "mapped", + [ + 7717 + ] + ], + [ + [ + 7717, + 7717 + ], + "valid" + ], + [ + [ + 7718, + 7718 + ], + "mapped", + [ + 7719 + ] + ], + [ + [ + 7719, + 7719 + ], + "valid" + ], + [ + [ + 7720, + 7720 + ], + "mapped", + [ + 7721 + ] + ], + [ + [ + 7721, + 7721 + ], + "valid" + ], + [ + [ + 7722, + 7722 + ], + "mapped", + [ + 7723 + ] + ], + [ + [ + 7723, + 7723 + ], + "valid" + ], + [ + [ + 7724, + 7724 + ], + "mapped", + [ + 7725 + ] + ], + [ + [ + 7725, + 7725 + ], + "valid" + ], + [ + [ + 7726, + 7726 + ], + "mapped", + [ + 7727 + ] + ], + [ + [ + 7727, + 7727 + ], + "valid" + ], + [ + [ + 7728, + 7728 + ], + "mapped", + [ + 7729 + ] + ], + [ + [ + 7729, + 7729 + ], + "valid" + ], + [ + [ + 7730, + 7730 + ], + "mapped", + [ + 7731 + ] + ], + [ + [ + 7731, + 7731 + ], + "valid" + ], + [ + [ + 7732, + 7732 + ], + "mapped", + [ + 7733 + ] + ], + [ + [ + 7733, + 7733 + ], + "valid" + ], + [ + [ + 7734, + 7734 + ], + "mapped", + [ + 7735 + ] + ], + [ + [ + 7735, + 7735 + ], + "valid" + ], + [ + [ + 7736, + 7736 + ], + "mapped", + [ + 7737 + ] + ], + [ + [ + 7737, + 7737 + ], + "valid" + ], + [ + [ + 7738, + 7738 + ], + "mapped", + [ + 7739 + ] + ], + [ + [ + 7739, + 7739 + ], + "valid" + ], + [ + [ + 7740, + 7740 + ], + "mapped", + [ + 7741 + ] + ], + [ + [ + 7741, + 7741 + ], + "valid" + ], + [ + [ + 7742, + 7742 + ], + "mapped", + [ + 7743 + ] + ], + [ + [ + 7743, + 7743 + ], + "valid" + ], + [ + [ + 7744, + 7744 + ], + "mapped", + [ + 7745 + ] + ], + [ + [ + 7745, + 7745 + ], + "valid" + ], + [ + [ + 7746, + 7746 + ], + "mapped", + [ + 7747 + ] + ], + [ + [ + 7747, + 7747 + ], + "valid" + ], + [ + [ + 7748, + 7748 + ], + "mapped", + [ + 7749 + ] + ], + [ + [ + 7749, + 7749 + ], + "valid" + ], + [ + [ + 7750, + 7750 + ], + "mapped", + [ + 7751 + ] + ], + [ + [ + 7751, + 7751 + ], + "valid" + ], + [ + [ + 7752, + 7752 + ], + "mapped", + [ + 7753 + ] + ], + [ + [ + 7753, + 7753 + ], + "valid" + ], + [ + [ + 7754, + 7754 + ], + "mapped", + [ + 7755 + ] + ], + [ + [ + 7755, + 7755 + ], + "valid" + ], + [ + [ + 7756, + 7756 + ], + "mapped", + [ + 7757 + ] + ], + [ + [ + 7757, + 7757 + ], + "valid" + ], + [ + [ + 7758, + 7758 + ], + "mapped", + [ + 7759 + ] + ], + [ + [ + 7759, + 7759 + ], + "valid" + ], + [ + [ + 7760, + 7760 + ], + "mapped", + [ + 7761 + ] + ], + [ + [ + 7761, + 7761 + ], + "valid" + ], + [ + [ + 7762, + 7762 + ], + "mapped", + [ + 7763 + ] + ], + [ + [ + 7763, + 7763 + ], + "valid" + ], + [ + [ + 7764, + 7764 + ], + "mapped", + [ + 7765 + ] + ], + [ + [ + 7765, + 7765 + ], + "valid" + ], + [ + [ + 7766, + 7766 + ], + "mapped", + [ + 7767 + ] + ], + [ + [ + 7767, + 7767 + ], + "valid" + ], + [ + [ + 7768, + 7768 + ], + "mapped", + [ + 7769 + ] + ], + [ + [ + 7769, + 7769 + ], + "valid" + ], + [ + [ + 7770, + 7770 + ], + "mapped", + [ + 7771 + ] + ], + [ + [ + 7771, + 7771 + ], + "valid" + ], + [ + [ + 7772, + 7772 + ], + "mapped", + [ + 7773 + ] + ], + [ + [ + 7773, + 7773 + ], + "valid" + ], + [ + [ + 7774, + 7774 + ], + "mapped", + [ + 7775 + ] + ], + [ + [ + 7775, + 7775 + ], + "valid" + ], + [ + [ + 7776, + 7776 + ], + "mapped", + [ + 7777 + ] + ], + [ + [ + 7777, + 7777 + ], + "valid" + ], + [ + [ + 7778, + 7778 + ], + "mapped", + [ + 7779 + ] + ], + [ + [ + 7779, + 7779 + ], + "valid" + ], + [ + [ + 7780, + 7780 + ], + "mapped", + [ + 7781 + ] + ], + [ + [ + 7781, + 7781 + ], + "valid" + ], + [ + [ + 7782, + 7782 + ], + "mapped", + [ + 7783 + ] + ], + [ + [ + 7783, + 7783 + ], + "valid" + ], + [ + [ + 7784, + 7784 + ], + "mapped", + [ + 7785 + ] + ], + [ + [ + 7785, + 7785 + ], + "valid" + ], + [ + [ + 7786, + 7786 + ], + "mapped", + [ + 7787 + ] + ], + [ + [ + 7787, + 7787 + ], + "valid" + ], + [ + [ + 7788, + 7788 + ], + "mapped", + [ + 7789 + ] + ], + [ + [ + 7789, + 7789 + ], + "valid" + ], + [ + [ + 7790, + 7790 + ], + "mapped", + [ + 7791 + ] + ], + [ + [ + 7791, + 7791 + ], + "valid" + ], + [ + [ + 7792, + 7792 + ], + "mapped", + [ + 7793 + ] + ], + [ + [ + 7793, + 7793 + ], + "valid" + ], + [ + [ + 7794, + 7794 + ], + "mapped", + [ + 7795 + ] + ], + [ + [ + 7795, + 7795 + ], + "valid" + ], + [ + [ + 7796, + 7796 + ], + "mapped", + [ + 7797 + ] + ], + [ + [ + 7797, + 7797 + ], + "valid" + ], + [ + [ + 7798, + 7798 + ], + "mapped", + [ + 7799 + ] + ], + [ + [ + 7799, + 7799 + ], + "valid" + ], + [ + [ + 7800, + 7800 + ], + "mapped", + [ + 7801 + ] + ], + [ + [ + 7801, + 7801 + ], + "valid" + ], + [ + [ + 7802, + 7802 + ], + "mapped", + [ + 7803 + ] + ], + [ + [ + 7803, + 7803 + ], + "valid" + ], + [ + [ + 7804, + 7804 + ], + "mapped", + [ + 7805 + ] + ], + [ + [ + 7805, + 7805 + ], + "valid" + ], + [ + [ + 7806, + 7806 + ], + "mapped", + [ + 7807 + ] + ], + [ + [ + 7807, + 7807 + ], + "valid" + ], + [ + [ + 7808, + 7808 + ], + "mapped", + [ + 7809 + ] + ], + [ + [ + 7809, + 7809 + ], + "valid" + ], + [ + [ + 7810, + 7810 + ], + "mapped", + [ + 7811 + ] + ], + [ + [ + 7811, + 7811 + ], + "valid" + ], + [ + [ + 7812, + 7812 + ], + "mapped", + [ + 7813 + ] + ], + [ + [ + 7813, + 7813 + ], + "valid" + ], + [ + [ + 7814, + 7814 + ], + "mapped", + [ + 7815 + ] + ], + [ + [ + 7815, + 7815 + ], + "valid" + ], + [ + [ + 7816, + 7816 + ], + "mapped", + [ + 7817 + ] + ], + [ + [ + 7817, + 7817 + ], + "valid" + ], + [ + [ + 7818, + 7818 + ], + "mapped", + [ + 7819 + ] + ], + [ + [ + 7819, + 7819 + ], + "valid" + ], + [ + [ + 7820, + 7820 + ], + "mapped", + [ + 7821 + ] + ], + [ + [ + 7821, + 7821 + ], + "valid" + ], + [ + [ + 7822, + 7822 + ], + "mapped", + [ + 7823 + ] + ], + [ + [ + 7823, + 7823 + ], + "valid" + ], + [ + [ + 7824, + 7824 + ], + "mapped", + [ + 7825 + ] + ], + [ + [ + 7825, + 7825 + ], + "valid" + ], + [ + [ + 7826, + 7826 + ], + "mapped", + [ + 7827 + ] + ], + [ + [ + 7827, + 7827 + ], + "valid" + ], + [ + [ + 7828, + 7828 + ], + "mapped", + [ + 7829 + ] + ], + [ + [ + 7829, + 7833 + ], + "valid" + ], + [ + [ + 7834, + 7834 + ], + "mapped", + [ + 97, + 702 + ] + ], + [ + [ + 7835, + 7835 + ], + "mapped", + [ + 7777 + ] + ], + [ + [ + 7836, + 7837 + ], + "valid" + ], + [ + [ + 7838, + 7838 + ], + "mapped", + [ + 115, + 115 + ] + ], + [ + [ + 7839, + 7839 + ], + "valid" + ], + [ + [ + 7840, + 7840 + ], + "mapped", + [ + 7841 + ] + ], + [ + [ + 7841, + 7841 + ], + "valid" + ], + [ + [ + 7842, + 7842 + ], + "mapped", + [ + 7843 + ] + ], + [ + [ + 7843, + 7843 + ], + "valid" + ], + [ + [ + 7844, + 7844 + ], + "mapped", + [ + 7845 + ] + ], + [ + [ + 7845, + 7845 + ], + "valid" + ], + [ + [ + 7846, + 7846 + ], + "mapped", + [ + 7847 + ] + ], + [ + [ + 7847, + 7847 + ], + "valid" + ], + [ + [ + 7848, + 7848 + ], + "mapped", + [ + 7849 + ] + ], + [ + [ + 7849, + 7849 + ], + "valid" + ], + [ + [ + 7850, + 7850 + ], + "mapped", + [ + 7851 + ] + ], + [ + [ + 7851, + 7851 + ], + "valid" + ], + [ + [ + 7852, + 7852 + ], + "mapped", + [ + 7853 + ] + ], + [ + [ + 7853, + 7853 + ], + "valid" + ], + [ + [ + 7854, + 7854 + ], + "mapped", + [ + 7855 + ] + ], + [ + [ + 7855, + 7855 + ], + "valid" + ], + [ + [ + 7856, + 7856 + ], + "mapped", + [ + 7857 + ] + ], + [ + [ + 7857, + 7857 + ], + "valid" + ], + [ + [ + 7858, + 7858 + ], + "mapped", + [ + 7859 + ] + ], + [ + [ + 7859, + 7859 + ], + "valid" + ], + [ + [ + 7860, + 7860 + ], + "mapped", + [ + 7861 + ] + ], + [ + [ + 7861, + 7861 + ], + "valid" + ], + [ + [ + 7862, + 7862 + ], + "mapped", + [ + 7863 + ] + ], + [ + [ + 7863, + 7863 + ], + "valid" + ], + [ + [ + 7864, + 7864 + ], + "mapped", + [ + 7865 + ] + ], + [ + [ + 7865, + 7865 + ], + "valid" + ], + [ + [ + 7866, + 7866 + ], + "mapped", + [ + 7867 + ] + ], + [ + [ + 7867, + 7867 + ], + "valid" + ], + [ + [ + 7868, + 7868 + ], + "mapped", + [ + 7869 + ] + ], + [ + [ + 7869, + 7869 + ], + "valid" + ], + [ + [ + 7870, + 7870 + ], + "mapped", + [ + 7871 + ] + ], + [ + [ + 7871, + 7871 + ], + "valid" + ], + [ + [ + 7872, + 7872 + ], + "mapped", + [ + 7873 + ] + ], + [ + [ + 7873, + 7873 + ], + "valid" + ], + [ + [ + 7874, + 7874 + ], + "mapped", + [ + 7875 + ] + ], + [ + [ + 7875, + 7875 + ], + "valid" + ], + [ + [ + 7876, + 7876 + ], + "mapped", + [ + 7877 + ] + ], + [ + [ + 7877, + 7877 + ], + "valid" + ], + [ + [ + 7878, + 7878 + ], + "mapped", + [ + 7879 + ] + ], + [ + [ + 7879, + 7879 + ], + "valid" + ], + [ + [ + 7880, + 7880 + ], + "mapped", + [ + 7881 + ] + ], + [ + [ + 7881, + 7881 + ], + "valid" + ], + [ + [ + 7882, + 7882 + ], + "mapped", + [ + 7883 + ] + ], + [ + [ + 7883, + 7883 + ], + "valid" + ], + [ + [ + 7884, + 7884 + ], + "mapped", + [ + 7885 + ] + ], + [ + [ + 7885, + 7885 + ], + "valid" + ], + [ + [ + 7886, + 7886 + ], + "mapped", + [ + 7887 + ] + ], + [ + [ + 7887, + 7887 + ], + "valid" + ], + [ + [ + 7888, + 7888 + ], + "mapped", + [ + 7889 + ] + ], + [ + [ + 7889, + 7889 + ], + "valid" + ], + [ + [ + 7890, + 7890 + ], + "mapped", + [ + 7891 + ] + ], + [ + [ + 7891, + 7891 + ], + "valid" + ], + [ + [ + 7892, + 7892 + ], + "mapped", + [ + 7893 + ] + ], + [ + [ + 7893, + 7893 + ], + "valid" + ], + [ + [ + 7894, + 7894 + ], + "mapped", + [ + 7895 + ] + ], + [ + [ + 7895, + 7895 + ], + "valid" + ], + [ + [ + 7896, + 7896 + ], + "mapped", + [ + 7897 + ] + ], + [ + [ + 7897, + 7897 + ], + "valid" + ], + [ + [ + 7898, + 7898 + ], + "mapped", + [ + 7899 + ] + ], + [ + [ + 7899, + 7899 + ], + "valid" + ], + [ + [ + 7900, + 7900 + ], + "mapped", + [ + 7901 + ] + ], + [ + [ + 7901, + 7901 + ], + "valid" + ], + [ + [ + 7902, + 7902 + ], + "mapped", + [ + 7903 + ] + ], + [ + [ + 7903, + 7903 + ], + "valid" + ], + [ + [ + 7904, + 7904 + ], + "mapped", + [ + 7905 + ] + ], + [ + [ + 7905, + 7905 + ], + "valid" + ], + [ + [ + 7906, + 7906 + ], + "mapped", + [ + 7907 + ] + ], + [ + [ + 7907, + 7907 + ], + "valid" + ], + [ + [ + 7908, + 7908 + ], + "mapped", + [ + 7909 + ] + ], + [ + [ + 7909, + 7909 + ], + "valid" + ], + [ + [ + 7910, + 7910 + ], + "mapped", + [ + 7911 + ] + ], + [ + [ + 7911, + 7911 + ], + "valid" + ], + [ + [ + 7912, + 7912 + ], + "mapped", + [ + 7913 + ] + ], + [ + [ + 7913, + 7913 + ], + "valid" + ], + [ + [ + 7914, + 7914 + ], + "mapped", + [ + 7915 + ] + ], + [ + [ + 7915, + 7915 + ], + "valid" + ], + [ + [ + 7916, + 7916 + ], + "mapped", + [ + 7917 + ] + ], + [ + [ + 7917, + 7917 + ], + "valid" + ], + [ + [ + 7918, + 7918 + ], + "mapped", + [ + 7919 + ] + ], + [ + [ + 7919, + 7919 + ], + "valid" + ], + [ + [ + 7920, + 7920 + ], + "mapped", + [ + 7921 + ] + ], + [ + [ + 7921, + 7921 + ], + "valid" + ], + [ + [ + 7922, + 7922 + ], + "mapped", + [ + 7923 + ] + ], + [ + [ + 7923, + 7923 + ], + "valid" + ], + [ + [ + 7924, + 7924 + ], + "mapped", + [ + 7925 + ] + ], + [ + [ + 7925, + 7925 + ], + "valid" + ], + [ + [ + 7926, + 7926 + ], + "mapped", + [ + 7927 + ] + ], + [ + [ + 7927, + 7927 + ], + "valid" + ], + [ + [ + 7928, + 7928 + ], + "mapped", + [ + 7929 + ] + ], + [ + [ + 7929, + 7929 + ], + "valid" + ], + [ + [ + 7930, + 7930 + ], + "mapped", + [ + 7931 + ] + ], + [ + [ + 7931, + 7931 + ], + "valid" + ], + [ + [ + 7932, + 7932 + ], + "mapped", + [ + 7933 + ] + ], + [ + [ + 7933, + 7933 + ], + "valid" + ], + [ + [ + 7934, + 7934 + ], + "mapped", + [ + 7935 + ] + ], + [ + [ + 7935, + 7935 + ], + "valid" + ], + [ + [ + 7936, + 7943 + ], + "valid" + ], + [ + [ + 7944, + 7944 + ], + "mapped", + [ + 7936 + ] + ], + [ + [ + 7945, + 7945 + ], + "mapped", + [ + 7937 + ] + ], + [ + [ + 7946, + 7946 + ], + "mapped", + [ + 7938 + ] + ], + [ + [ + 7947, + 7947 + ], + "mapped", + [ + 7939 + ] + ], + [ + [ + 7948, + 7948 + ], + "mapped", + [ + 7940 + ] + ], + [ + [ + 7949, + 7949 + ], + "mapped", + [ + 7941 + ] + ], + [ + [ + 7950, + 7950 + ], + "mapped", + [ + 7942 + ] + ], + [ + [ + 7951, + 7951 + ], + "mapped", + [ + 7943 + ] + ], + [ + [ + 7952, + 7957 + ], + "valid" + ], + [ + [ + 7958, + 7959 + ], + "disallowed" + ], + [ + [ + 7960, + 7960 + ], + "mapped", + [ + 7952 + ] + ], + [ + [ + 7961, + 7961 + ], + "mapped", + [ + 7953 + ] + ], + [ + [ + 7962, + 7962 + ], + "mapped", + [ + 7954 + ] + ], + [ + [ + 7963, + 7963 + ], + "mapped", + [ + 7955 + ] + ], + [ + [ + 7964, + 7964 + ], + "mapped", + [ + 7956 + ] + ], + [ + [ + 7965, + 7965 + ], + "mapped", + [ + 7957 + ] + ], + [ + [ + 7966, + 7967 + ], + "disallowed" + ], + [ + [ + 7968, + 7975 + ], + "valid" + ], + [ + [ + 7976, + 7976 + ], + "mapped", + [ + 7968 + ] + ], + [ + [ + 7977, + 7977 + ], + "mapped", + [ + 7969 + ] + ], + [ + [ + 7978, + 7978 + ], + "mapped", + [ + 7970 + ] + ], + [ + [ + 7979, + 7979 + ], + "mapped", + [ + 7971 + ] + ], + [ + [ + 7980, + 7980 + ], + "mapped", + [ + 7972 + ] + ], + [ + [ + 7981, + 7981 + ], + "mapped", + [ + 7973 + ] + ], + [ + [ + 7982, + 7982 + ], + "mapped", + [ + 7974 + ] + ], + [ + [ + 7983, + 7983 + ], + "mapped", + [ + 7975 + ] + ], + [ + [ + 7984, + 7991 + ], + "valid" + ], + [ + [ + 7992, + 7992 + ], + "mapped", + [ + 7984 + ] + ], + [ + [ + 7993, + 7993 + ], + "mapped", + [ + 7985 + ] + ], + [ + [ + 7994, + 7994 + ], + "mapped", + [ + 7986 + ] + ], + [ + [ + 7995, + 7995 + ], + "mapped", + [ + 7987 + ] + ], + [ + [ + 7996, + 7996 + ], + "mapped", + [ + 7988 + ] + ], + [ + [ + 7997, + 7997 + ], + "mapped", + [ + 7989 + ] + ], + [ + [ + 7998, + 7998 + ], + "mapped", + [ + 7990 + ] + ], + [ + [ + 7999, + 7999 + ], + "mapped", + [ + 7991 + ] + ], + [ + [ + 8000, + 8005 + ], + "valid" + ], + [ + [ + 8006, + 8007 + ], + "disallowed" + ], + [ + [ + 8008, + 8008 + ], + "mapped", + [ + 8000 + ] + ], + [ + [ + 8009, + 8009 + ], + "mapped", + [ + 8001 + ] + ], + [ + [ + 8010, + 8010 + ], + "mapped", + [ + 8002 + ] + ], + [ + [ + 8011, + 8011 + ], + "mapped", + [ + 8003 + ] + ], + [ + [ + 8012, + 8012 + ], + "mapped", + [ + 8004 + ] + ], + [ + [ + 8013, + 8013 + ], + "mapped", + [ + 8005 + ] + ], + [ + [ + 8014, + 8015 + ], + "disallowed" + ], + [ + [ + 8016, + 8023 + ], + "valid" + ], + [ + [ + 8024, + 8024 + ], + "disallowed" + ], + [ + [ + 8025, + 8025 + ], + "mapped", + [ + 8017 + ] + ], + [ + [ + 8026, + 8026 + ], + "disallowed" + ], + [ + [ + 8027, + 8027 + ], + "mapped", + [ + 8019 + ] + ], + [ + [ + 8028, + 8028 + ], + "disallowed" + ], + [ + [ + 8029, + 8029 + ], + "mapped", + [ + 8021 + ] + ], + [ + [ + 8030, + 8030 + ], + "disallowed" + ], + [ + [ + 8031, + 8031 + ], + "mapped", + [ + 8023 + ] + ], + [ + [ + 8032, + 8039 + ], + "valid" + ], + [ + [ + 8040, + 8040 + ], + "mapped", + [ + 8032 + ] + ], + [ + [ + 8041, + 8041 + ], + "mapped", + [ + 8033 + ] + ], + [ + [ + 8042, + 8042 + ], + "mapped", + [ + 8034 + ] + ], + [ + [ + 8043, + 8043 + ], + "mapped", + [ + 8035 + ] + ], + [ + [ + 8044, + 8044 + ], + "mapped", + [ + 8036 + ] + ], + [ + [ + 8045, + 8045 + ], + "mapped", + [ + 8037 + ] + ], + [ + [ + 8046, + 8046 + ], + "mapped", + [ + 8038 + ] + ], + [ + [ + 8047, + 8047 + ], + "mapped", + [ + 8039 + ] + ], + [ + [ + 8048, + 8048 + ], + "valid" + ], + [ + [ + 8049, + 8049 + ], + "mapped", + [ + 940 + ] + ], + [ + [ + 8050, + 8050 + ], + "valid" + ], + [ + [ + 8051, + 8051 + ], + "mapped", + [ + 941 + ] + ], + [ + [ + 8052, + 8052 + ], + "valid" + ], + [ + [ + 8053, + 8053 + ], + "mapped", + [ + 942 + ] + ], + [ + [ + 8054, + 8054 + ], + "valid" + ], + [ + [ + 8055, + 8055 + ], + "mapped", + [ + 943 + ] + ], + [ + [ + 8056, + 8056 + ], + "valid" + ], + [ + [ + 8057, + 8057 + ], + "mapped", + [ + 972 + ] + ], + [ + [ + 8058, + 8058 + ], + "valid" + ], + [ + [ + 8059, + 8059 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 8060, + 8060 + ], + "valid" + ], + [ + [ + 8061, + 8061 + ], + "mapped", + [ + 974 + ] + ], + [ + [ + 8062, + 8063 + ], + "disallowed" + ], + [ + [ + 8064, + 8064 + ], + "mapped", + [ + 7936, + 953 + ] + ], + [ + [ + 8065, + 8065 + ], + "mapped", + [ + 7937, + 953 + ] + ], + [ + [ + 8066, + 8066 + ], + "mapped", + [ + 7938, + 953 + ] + ], + [ + [ + 8067, + 8067 + ], + "mapped", + [ + 7939, + 953 + ] + ], + [ + [ + 8068, + 8068 + ], + "mapped", + [ + 7940, + 953 + ] + ], + [ + [ + 8069, + 8069 + ], + "mapped", + [ + 7941, + 953 + ] + ], + [ + [ + 8070, + 8070 + ], + "mapped", + [ + 7942, + 953 + ] + ], + [ + [ + 8071, + 8071 + ], + "mapped", + [ + 7943, + 953 + ] + ], + [ + [ + 8072, + 8072 + ], + "mapped", + [ + 7936, + 953 + ] + ], + [ + [ + 8073, + 8073 + ], + "mapped", + [ + 7937, + 953 + ] + ], + [ + [ + 8074, + 8074 + ], + "mapped", + [ + 7938, + 953 + ] + ], + [ + [ + 8075, + 8075 + ], + "mapped", + [ + 7939, + 953 + ] + ], + [ + [ + 8076, + 8076 + ], + "mapped", + [ + 7940, + 953 + ] + ], + [ + [ + 8077, + 8077 + ], + "mapped", + [ + 7941, + 953 + ] + ], + [ + [ + 8078, + 8078 + ], + "mapped", + [ + 7942, + 953 + ] + ], + [ + [ + 8079, + 8079 + ], + "mapped", + [ + 7943, + 953 + ] + ], + [ + [ + 8080, + 8080 + ], + "mapped", + [ + 7968, + 953 + ] + ], + [ + [ + 8081, + 8081 + ], + "mapped", + [ + 7969, + 953 + ] + ], + [ + [ + 8082, + 8082 + ], + "mapped", + [ + 7970, + 953 + ] + ], + [ + [ + 8083, + 8083 + ], + "mapped", + [ + 7971, + 953 + ] + ], + [ + [ + 8084, + 8084 + ], + "mapped", + [ + 7972, + 953 + ] + ], + [ + [ + 8085, + 8085 + ], + "mapped", + [ + 7973, + 953 + ] + ], + [ + [ + 8086, + 8086 + ], + "mapped", + [ + 7974, + 953 + ] + ], + [ + [ + 8087, + 8087 + ], + "mapped", + [ + 7975, + 953 + ] + ], + [ + [ + 8088, + 8088 + ], + "mapped", + [ + 7968, + 953 + ] + ], + [ + [ + 8089, + 8089 + ], + "mapped", + [ + 7969, + 953 + ] + ], + [ + [ + 8090, + 8090 + ], + "mapped", + [ + 7970, + 953 + ] + ], + [ + [ + 8091, + 8091 + ], + "mapped", + [ + 7971, + 953 + ] + ], + [ + [ + 8092, + 8092 + ], + "mapped", + [ + 7972, + 953 + ] + ], + [ + [ + 8093, + 8093 + ], + "mapped", + [ + 7973, + 953 + ] + ], + [ + [ + 8094, + 8094 + ], + "mapped", + [ + 7974, + 953 + ] + ], + [ + [ + 8095, + 8095 + ], + "mapped", + [ + 7975, + 953 + ] + ], + [ + [ + 8096, + 8096 + ], + "mapped", + [ + 8032, + 953 + ] + ], + [ + [ + 8097, + 8097 + ], + "mapped", + [ + 8033, + 953 + ] + ], + [ + [ + 8098, + 8098 + ], + "mapped", + [ + 8034, + 953 + ] + ], + [ + [ + 8099, + 8099 + ], + "mapped", + [ + 8035, + 953 + ] + ], + [ + [ + 8100, + 8100 + ], + "mapped", + [ + 8036, + 953 + ] + ], + [ + [ + 8101, + 8101 + ], + "mapped", + [ + 8037, + 953 + ] + ], + [ + [ + 8102, + 8102 + ], + "mapped", + [ + 8038, + 953 + ] + ], + [ + [ + 8103, + 8103 + ], + "mapped", + [ + 8039, + 953 + ] + ], + [ + [ + 8104, + 8104 + ], + "mapped", + [ + 8032, + 953 + ] + ], + [ + [ + 8105, + 8105 + ], + "mapped", + [ + 8033, + 953 + ] + ], + [ + [ + 8106, + 8106 + ], + "mapped", + [ + 8034, + 953 + ] + ], + [ + [ + 8107, + 8107 + ], + "mapped", + [ + 8035, + 953 + ] + ], + [ + [ + 8108, + 8108 + ], + "mapped", + [ + 8036, + 953 + ] + ], + [ + [ + 8109, + 8109 + ], + "mapped", + [ + 8037, + 953 + ] + ], + [ + [ + 8110, + 8110 + ], + "mapped", + [ + 8038, + 953 + ] + ], + [ + [ + 8111, + 8111 + ], + "mapped", + [ + 8039, + 953 + ] + ], + [ + [ + 8112, + 8113 + ], + "valid" + ], + [ + [ + 8114, + 8114 + ], + "mapped", + [ + 8048, + 953 + ] + ], + [ + [ + 8115, + 8115 + ], + "mapped", + [ + 945, + 953 + ] + ], + [ + [ + 8116, + 8116 + ], + "mapped", + [ + 940, + 953 + ] + ], + [ + [ + 8117, + 8117 + ], + "disallowed" + ], + [ + [ + 8118, + 8118 + ], + "valid" + ], + [ + [ + 8119, + 8119 + ], + "mapped", + [ + 8118, + 953 + ] + ], + [ + [ + 8120, + 8120 + ], + "mapped", + [ + 8112 + ] + ], + [ + [ + 8121, + 8121 + ], + "mapped", + [ + 8113 + ] + ], + [ + [ + 8122, + 8122 + ], + "mapped", + [ + 8048 + ] + ], + [ + [ + 8123, + 8123 + ], + "mapped", + [ + 940 + ] + ], + [ + [ + 8124, + 8124 + ], + "mapped", + [ + 945, + 953 + ] + ], + [ + [ + 8125, + 8125 + ], + "disallowed_STD3_mapped", + [ + 32, + 787 + ] + ], + [ + [ + 8126, + 8126 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 8127, + 8127 + ], + "disallowed_STD3_mapped", + [ + 32, + 787 + ] + ], + [ + [ + 8128, + 8128 + ], + "disallowed_STD3_mapped", + [ + 32, + 834 + ] + ], + [ + [ + 8129, + 8129 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 834 + ] + ], + [ + [ + 8130, + 8130 + ], + "mapped", + [ + 8052, + 953 + ] + ], + [ + [ + 8131, + 8131 + ], + "mapped", + [ + 951, + 953 + ] + ], + [ + [ + 8132, + 8132 + ], + "mapped", + [ + 942, + 953 + ] + ], + [ + [ + 8133, + 8133 + ], + "disallowed" + ], + [ + [ + 8134, + 8134 + ], + "valid" + ], + [ + [ + 8135, + 8135 + ], + "mapped", + [ + 8134, + 953 + ] + ], + [ + [ + 8136, + 8136 + ], + "mapped", + [ + 8050 + ] + ], + [ + [ + 8137, + 8137 + ], + "mapped", + [ + 941 + ] + ], + [ + [ + 8138, + 8138 + ], + "mapped", + [ + 8052 + ] + ], + [ + [ + 8139, + 8139 + ], + "mapped", + [ + 942 + ] + ], + [ + [ + 8140, + 8140 + ], + "mapped", + [ + 951, + 953 + ] + ], + [ + [ + 8141, + 8141 + ], + "disallowed_STD3_mapped", + [ + 32, + 787, + 768 + ] + ], + [ + [ + 8142, + 8142 + ], + "disallowed_STD3_mapped", + [ + 32, + 787, + 769 + ] + ], + [ + [ + 8143, + 8143 + ], + "disallowed_STD3_mapped", + [ + 32, + 787, + 834 + ] + ], + [ + [ + 8144, + 8146 + ], + "valid" + ], + [ + [ + 8147, + 8147 + ], + "mapped", + [ + 912 + ] + ], + [ + [ + 8148, + 8149 + ], + "disallowed" + ], + [ + [ + 8150, + 8151 + ], + "valid" + ], + [ + [ + 8152, + 8152 + ], + "mapped", + [ + 8144 + ] + ], + [ + [ + 8153, + 8153 + ], + "mapped", + [ + 8145 + ] + ], + [ + [ + 8154, + 8154 + ], + "mapped", + [ + 8054 + ] + ], + [ + [ + 8155, + 8155 + ], + "mapped", + [ + 943 + ] + ], + [ + [ + 8156, + 8156 + ], + "disallowed" + ], + [ + [ + 8157, + 8157 + ], + "disallowed_STD3_mapped", + [ + 32, + 788, + 768 + ] + ], + [ + [ + 8158, + 8158 + ], + "disallowed_STD3_mapped", + [ + 32, + 788, + 769 + ] + ], + [ + [ + 8159, + 8159 + ], + "disallowed_STD3_mapped", + [ + 32, + 788, + 834 + ] + ], + [ + [ + 8160, + 8162 + ], + "valid" + ], + [ + [ + 8163, + 8163 + ], + "mapped", + [ + 944 + ] + ], + [ + [ + 8164, + 8167 + ], + "valid" + ], + [ + [ + 8168, + 8168 + ], + "mapped", + [ + 8160 + ] + ], + [ + [ + 8169, + 8169 + ], + "mapped", + [ + 8161 + ] + ], + [ + [ + 8170, + 8170 + ], + "mapped", + [ + 8058 + ] + ], + [ + [ + 8171, + 8171 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 8172, + 8172 + ], + "mapped", + [ + 8165 + ] + ], + [ + [ + 8173, + 8173 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 768 + ] + ], + [ + [ + 8174, + 8174 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 769 + ] + ], + [ + [ + 8175, + 8175 + ], + "disallowed_STD3_mapped", + [ + 96 + ] + ], + [ + [ + 8176, + 8177 + ], + "disallowed" + ], + [ + [ + 8178, + 8178 + ], + "mapped", + [ + 8060, + 953 + ] + ], + [ + [ + 8179, + 8179 + ], + "mapped", + [ + 969, + 953 + ] + ], + [ + [ + 8180, + 8180 + ], + "mapped", + [ + 974, + 953 + ] + ], + [ + [ + 8181, + 8181 + ], + "disallowed" + ], + [ + [ + 8182, + 8182 + ], + "valid" + ], + [ + [ + 8183, + 8183 + ], + "mapped", + [ + 8182, + 953 + ] + ], + [ + [ + 8184, + 8184 + ], + "mapped", + [ + 8056 + ] + ], + [ + [ + 8185, + 8185 + ], + "mapped", + [ + 972 + ] + ], + [ + [ + 8186, + 8186 + ], + "mapped", + [ + 8060 + ] + ], + [ + [ + 8187, + 8187 + ], + "mapped", + [ + 974 + ] + ], + [ + [ + 8188, + 8188 + ], + "mapped", + [ + 969, + 953 + ] + ], + [ + [ + 8189, + 8189 + ], + "disallowed_STD3_mapped", + [ + 32, + 769 + ] + ], + [ + [ + 8190, + 8190 + ], + "disallowed_STD3_mapped", + [ + 32, + 788 + ] + ], + [ + [ + 8191, + 8191 + ], + "disallowed" + ], + [ + [ + 8192, + 8202 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 8203, + 8203 + ], + "ignored" + ], + [ + [ + 8204, + 8205 + ], + "deviation", + [ + ] + ], + [ + [ + 8206, + 8207 + ], + "disallowed" + ], + [ + [ + 8208, + 8208 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8209, + 8209 + ], + "mapped", + [ + 8208 + ] + ], + [ + [ + 8210, + 8214 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8215, + 8215 + ], + "disallowed_STD3_mapped", + [ + 32, + 819 + ] + ], + [ + [ + 8216, + 8227 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8228, + 8230 + ], + "disallowed" + ], + [ + [ + 8231, + 8231 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8232, + 8238 + ], + "disallowed" + ], + [ + [ + 8239, + 8239 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 8240, + 8242 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8243, + 8243 + ], + "mapped", + [ + 8242, + 8242 + ] + ], + [ + [ + 8244, + 8244 + ], + "mapped", + [ + 8242, + 8242, + 8242 + ] + ], + [ + [ + 8245, + 8245 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8246, + 8246 + ], + "mapped", + [ + 8245, + 8245 + ] + ], + [ + [ + 8247, + 8247 + ], + "mapped", + [ + 8245, + 8245, + 8245 + ] + ], + [ + [ + 8248, + 8251 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8252, + 8252 + ], + "disallowed_STD3_mapped", + [ + 33, + 33 + ] + ], + [ + [ + 8253, + 8253 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8254, + 8254 + ], + "disallowed_STD3_mapped", + [ + 32, + 773 + ] + ], + [ + [ + 8255, + 8262 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8263, + 8263 + ], + "disallowed_STD3_mapped", + [ + 63, + 63 + ] + ], + [ + [ + 8264, + 8264 + ], + "disallowed_STD3_mapped", + [ + 63, + 33 + ] + ], + [ + [ + 8265, + 8265 + ], + "disallowed_STD3_mapped", + [ + 33, + 63 + ] + ], + [ + [ + 8266, + 8269 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8270, + 8274 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8275, + 8276 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8277, + 8278 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8279, + 8279 + ], + "mapped", + [ + 8242, + 8242, + 8242, + 8242 + ] + ], + [ + [ + 8280, + 8286 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8287, + 8287 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 8288, + 8288 + ], + "ignored" + ], + [ + [ + 8289, + 8291 + ], + "disallowed" + ], + [ + [ + 8292, + 8292 + ], + "ignored" + ], + [ + [ + 8293, + 8293 + ], + "disallowed" + ], + [ + [ + 8294, + 8297 + ], + "disallowed" + ], + [ + [ + 8298, + 8303 + ], + "disallowed" + ], + [ + [ + 8304, + 8304 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 8305, + 8305 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8306, + 8307 + ], + "disallowed" + ], + [ + [ + 8308, + 8308 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 8309, + 8309 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 8310, + 8310 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 8311, + 8311 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 8312, + 8312 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 8313, + 8313 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 8314, + 8314 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 8315, + 8315 + ], + "mapped", + [ + 8722 + ] + ], + [ + [ + 8316, + 8316 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 8317, + 8317 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 8318, + 8318 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 8319, + 8319 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 8320, + 8320 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 8321, + 8321 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 8322, + 8322 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 8323, + 8323 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 8324, + 8324 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 8325, + 8325 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 8326, + 8326 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 8327, + 8327 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 8328, + 8328 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 8329, + 8329 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 8330, + 8330 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 8331, + 8331 + ], + "mapped", + [ + 8722 + ] + ], + [ + [ + 8332, + 8332 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 8333, + 8333 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 8334, + 8334 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 8335, + 8335 + ], + "disallowed" + ], + [ + [ + 8336, + 8336 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 8337, + 8337 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 8338, + 8338 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 8339, + 8339 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 8340, + 8340 + ], + "mapped", + [ + 601 + ] + ], + [ + [ + 8341, + 8341 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 8342, + 8342 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 8343, + 8343 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8344, + 8344 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8345, + 8345 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 8346, + 8346 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 8347, + 8347 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 8348, + 8348 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 8349, + 8351 + ], + "disallowed" + ], + [ + [ + 8352, + 8359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8360, + 8360 + ], + "mapped", + [ + 114, + 115 + ] + ], + [ + [ + 8361, + 8362 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8363, + 8363 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8364, + 8364 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8365, + 8367 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8368, + 8369 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8370, + 8373 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8374, + 8376 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8377, + 8377 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8378, + 8378 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8379, + 8381 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8382, + 8382 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8383, + 8399 + ], + "disallowed" + ], + [ + [ + 8400, + 8417 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8418, + 8419 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8420, + 8426 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8427, + 8427 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8428, + 8431 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8432, + 8432 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8433, + 8447 + ], + "disallowed" + ], + [ + [ + 8448, + 8448 + ], + "disallowed_STD3_mapped", + [ + 97, + 47, + 99 + ] + ], + [ + [ + 8449, + 8449 + ], + "disallowed_STD3_mapped", + [ + 97, + 47, + 115 + ] + ], + [ + [ + 8450, + 8450 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8451, + 8451 + ], + "mapped", + [ + 176, + 99 + ] + ], + [ + [ + 8452, + 8452 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8453, + 8453 + ], + "disallowed_STD3_mapped", + [ + 99, + 47, + 111 + ] + ], + [ + [ + 8454, + 8454 + ], + "disallowed_STD3_mapped", + [ + 99, + 47, + 117 + ] + ], + [ + [ + 8455, + 8455 + ], + "mapped", + [ + 603 + ] + ], + [ + [ + 8456, + 8456 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8457, + 8457 + ], + "mapped", + [ + 176, + 102 + ] + ], + [ + [ + 8458, + 8458 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 8459, + 8462 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 8463, + 8463 + ], + "mapped", + [ + 295 + ] + ], + [ + [ + 8464, + 8465 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8466, + 8467 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8468, + 8468 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8469, + 8469 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 8470, + 8470 + ], + "mapped", + [ + 110, + 111 + ] + ], + [ + [ + 8471, + 8472 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8473, + 8473 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 8474, + 8474 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 8475, + 8477 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 8478, + 8479 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8480, + 8480 + ], + "mapped", + [ + 115, + 109 + ] + ], + [ + [ + 8481, + 8481 + ], + "mapped", + [ + 116, + 101, + 108 + ] + ], + [ + [ + 8482, + 8482 + ], + "mapped", + [ + 116, + 109 + ] + ], + [ + [ + 8483, + 8483 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8484, + 8484 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 8485, + 8485 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8486, + 8486 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 8487, + 8487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8488, + 8488 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 8489, + 8489 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8490, + 8490 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 8491, + 8491 + ], + "mapped", + [ + 229 + ] + ], + [ + [ + 8492, + 8492 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 8493, + 8493 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8494, + 8494 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8495, + 8496 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 8497, + 8497 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 8498, + 8498 + ], + "disallowed" + ], + [ + [ + 8499, + 8499 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8500, + 8500 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 8501, + 8501 + ], + "mapped", + [ + 1488 + ] + ], + [ + [ + 8502, + 8502 + ], + "mapped", + [ + 1489 + ] + ], + [ + [ + 8503, + 8503 + ], + "mapped", + [ + 1490 + ] + ], + [ + [ + 8504, + 8504 + ], + "mapped", + [ + 1491 + ] + ], + [ + [ + 8505, + 8505 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8506, + 8506 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8507, + 8507 + ], + "mapped", + [ + 102, + 97, + 120 + ] + ], + [ + [ + 8508, + 8508 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 8509, + 8510 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 8511, + 8511 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 8512, + 8512 + ], + "mapped", + [ + 8721 + ] + ], + [ + [ + 8513, + 8516 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8517, + 8518 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 8519, + 8519 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 8520, + 8520 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8521, + 8521 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 8522, + 8523 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8524, + 8524 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8525, + 8525 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8526, + 8526 + ], + "valid" + ], + [ + [ + 8527, + 8527 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8528, + 8528 + ], + "mapped", + [ + 49, + 8260, + 55 + ] + ], + [ + [ + 8529, + 8529 + ], + "mapped", + [ + 49, + 8260, + 57 + ] + ], + [ + [ + 8530, + 8530 + ], + "mapped", + [ + 49, + 8260, + 49, + 48 + ] + ], + [ + [ + 8531, + 8531 + ], + "mapped", + [ + 49, + 8260, + 51 + ] + ], + [ + [ + 8532, + 8532 + ], + "mapped", + [ + 50, + 8260, + 51 + ] + ], + [ + [ + 8533, + 8533 + ], + "mapped", + [ + 49, + 8260, + 53 + ] + ], + [ + [ + 8534, + 8534 + ], + "mapped", + [ + 50, + 8260, + 53 + ] + ], + [ + [ + 8535, + 8535 + ], + "mapped", + [ + 51, + 8260, + 53 + ] + ], + [ + [ + 8536, + 8536 + ], + "mapped", + [ + 52, + 8260, + 53 + ] + ], + [ + [ + 8537, + 8537 + ], + "mapped", + [ + 49, + 8260, + 54 + ] + ], + [ + [ + 8538, + 8538 + ], + "mapped", + [ + 53, + 8260, + 54 + ] + ], + [ + [ + 8539, + 8539 + ], + "mapped", + [ + 49, + 8260, + 56 + ] + ], + [ + [ + 8540, + 8540 + ], + "mapped", + [ + 51, + 8260, + 56 + ] + ], + [ + [ + 8541, + 8541 + ], + "mapped", + [ + 53, + 8260, + 56 + ] + ], + [ + [ + 8542, + 8542 + ], + "mapped", + [ + 55, + 8260, + 56 + ] + ], + [ + [ + 8543, + 8543 + ], + "mapped", + [ + 49, + 8260 + ] + ], + [ + [ + 8544, + 8544 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8545, + 8545 + ], + "mapped", + [ + 105, + 105 + ] + ], + [ + [ + 8546, + 8546 + ], + "mapped", + [ + 105, + 105, + 105 + ] + ], + [ + [ + 8547, + 8547 + ], + "mapped", + [ + 105, + 118 + ] + ], + [ + [ + 8548, + 8548 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 8549, + 8549 + ], + "mapped", + [ + 118, + 105 + ] + ], + [ + [ + 8550, + 8550 + ], + "mapped", + [ + 118, + 105, + 105 + ] + ], + [ + [ + 8551, + 8551 + ], + "mapped", + [ + 118, + 105, + 105, + 105 + ] + ], + [ + [ + 8552, + 8552 + ], + "mapped", + [ + 105, + 120 + ] + ], + [ + [ + 8553, + 8553 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 8554, + 8554 + ], + "mapped", + [ + 120, + 105 + ] + ], + [ + [ + 8555, + 8555 + ], + "mapped", + [ + 120, + 105, + 105 + ] + ], + [ + [ + 8556, + 8556 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8557, + 8557 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8558, + 8558 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 8559, + 8559 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8560, + 8560 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8561, + 8561 + ], + "mapped", + [ + 105, + 105 + ] + ], + [ + [ + 8562, + 8562 + ], + "mapped", + [ + 105, + 105, + 105 + ] + ], + [ + [ + 8563, + 8563 + ], + "mapped", + [ + 105, + 118 + ] + ], + [ + [ + 8564, + 8564 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 8565, + 8565 + ], + "mapped", + [ + 118, + 105 + ] + ], + [ + [ + 8566, + 8566 + ], + "mapped", + [ + 118, + 105, + 105 + ] + ], + [ + [ + 8567, + 8567 + ], + "mapped", + [ + 118, + 105, + 105, + 105 + ] + ], + [ + [ + 8568, + 8568 + ], + "mapped", + [ + 105, + 120 + ] + ], + [ + [ + 8569, + 8569 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 8570, + 8570 + ], + "mapped", + [ + 120, + 105 + ] + ], + [ + [ + 8571, + 8571 + ], + "mapped", + [ + 120, + 105, + 105 + ] + ], + [ + [ + 8572, + 8572 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8573, + 8573 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8574, + 8574 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 8575, + 8575 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8576, + 8578 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8579, + 8579 + ], + "disallowed" + ], + [ + [ + 8580, + 8580 + ], + "valid" + ], + [ + [ + 8581, + 8584 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8585, + 8585 + ], + "mapped", + [ + 48, + 8260, + 51 + ] + ], + [ + [ + 8586, + 8587 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8588, + 8591 + ], + "disallowed" + ], + [ + [ + 8592, + 8682 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8683, + 8691 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8692, + 8703 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8704, + 8747 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8748, + 8748 + ], + "mapped", + [ + 8747, + 8747 + ] + ], + [ + [ + 8749, + 8749 + ], + "mapped", + [ + 8747, + 8747, + 8747 + ] + ], + [ + [ + 8750, + 8750 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8751, + 8751 + ], + "mapped", + [ + 8750, + 8750 + ] + ], + [ + [ + 8752, + 8752 + ], + "mapped", + [ + 8750, + 8750, + 8750 + ] + ], + [ + [ + 8753, + 8799 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8800, + 8800 + ], + "disallowed_STD3_valid" + ], + [ + [ + 8801, + 8813 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8814, + 8815 + ], + "disallowed_STD3_valid" + ], + [ + [ + 8816, + 8945 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8946, + 8959 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8960, + 8960 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8961, + 8961 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8962, + 9000 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9001, + 9001 + ], + "mapped", + [ + 12296 + ] + ], + [ + [ + 9002, + 9002 + ], + "mapped", + [ + 12297 + ] + ], + [ + [ + 9003, + 9082 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9083, + 9083 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9084, + 9084 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9085, + 9114 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9115, + 9166 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9167, + 9168 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9169, + 9179 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9180, + 9191 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9192, + 9192 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9193, + 9203 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9204, + 9210 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9211, + 9215 + ], + "disallowed" + ], + [ + [ + 9216, + 9252 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9253, + 9254 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9255, + 9279 + ], + "disallowed" + ], + [ + [ + 9280, + 9290 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9291, + 9311 + ], + "disallowed" + ], + [ + [ + 9312, + 9312 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 9313, + 9313 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 9314, + 9314 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 9315, + 9315 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 9316, + 9316 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 9317, + 9317 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 9318, + 9318 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 9319, + 9319 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 9320, + 9320 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 9321, + 9321 + ], + "mapped", + [ + 49, + 48 + ] + ], + [ + [ + 9322, + 9322 + ], + "mapped", + [ + 49, + 49 + ] + ], + [ + [ + 9323, + 9323 + ], + "mapped", + [ + 49, + 50 + ] + ], + [ + [ + 9324, + 9324 + ], + "mapped", + [ + 49, + 51 + ] + ], + [ + [ + 9325, + 9325 + ], + "mapped", + [ + 49, + 52 + ] + ], + [ + [ + 9326, + 9326 + ], + "mapped", + [ + 49, + 53 + ] + ], + [ + [ + 9327, + 9327 + ], + "mapped", + [ + 49, + 54 + ] + ], + [ + [ + 9328, + 9328 + ], + "mapped", + [ + 49, + 55 + ] + ], + [ + [ + 9329, + 9329 + ], + "mapped", + [ + 49, + 56 + ] + ], + [ + [ + 9330, + 9330 + ], + "mapped", + [ + 49, + 57 + ] + ], + [ + [ + 9331, + 9331 + ], + "mapped", + [ + 50, + 48 + ] + ], + [ + [ + 9332, + 9332 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 41 + ] + ], + [ + [ + 9333, + 9333 + ], + "disallowed_STD3_mapped", + [ + 40, + 50, + 41 + ] + ], + [ + [ + 9334, + 9334 + ], + "disallowed_STD3_mapped", + [ + 40, + 51, + 41 + ] + ], + [ + [ + 9335, + 9335 + ], + "disallowed_STD3_mapped", + [ + 40, + 52, + 41 + ] + ], + [ + [ + 9336, + 9336 + ], + "disallowed_STD3_mapped", + [ + 40, + 53, + 41 + ] + ], + [ + [ + 9337, + 9337 + ], + "disallowed_STD3_mapped", + [ + 40, + 54, + 41 + ] + ], + [ + [ + 9338, + 9338 + ], + "disallowed_STD3_mapped", + [ + 40, + 55, + 41 + ] + ], + [ + [ + 9339, + 9339 + ], + "disallowed_STD3_mapped", + [ + 40, + 56, + 41 + ] + ], + [ + [ + 9340, + 9340 + ], + "disallowed_STD3_mapped", + [ + 40, + 57, + 41 + ] + ], + [ + [ + 9341, + 9341 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 48, + 41 + ] + ], + [ + [ + 9342, + 9342 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 49, + 41 + ] + ], + [ + [ + 9343, + 9343 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 50, + 41 + ] + ], + [ + [ + 9344, + 9344 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 51, + 41 + ] + ], + [ + [ + 9345, + 9345 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 52, + 41 + ] + ], + [ + [ + 9346, + 9346 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 53, + 41 + ] + ], + [ + [ + 9347, + 9347 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 54, + 41 + ] + ], + [ + [ + 9348, + 9348 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 55, + 41 + ] + ], + [ + [ + 9349, + 9349 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 56, + 41 + ] + ], + [ + [ + 9350, + 9350 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 57, + 41 + ] + ], + [ + [ + 9351, + 9351 + ], + "disallowed_STD3_mapped", + [ + 40, + 50, + 48, + 41 + ] + ], + [ + [ + 9352, + 9371 + ], + "disallowed" + ], + [ + [ + 9372, + 9372 + ], + "disallowed_STD3_mapped", + [ + 40, + 97, + 41 + ] + ], + [ + [ + 9373, + 9373 + ], + "disallowed_STD3_mapped", + [ + 40, + 98, + 41 + ] + ], + [ + [ + 9374, + 9374 + ], + "disallowed_STD3_mapped", + [ + 40, + 99, + 41 + ] + ], + [ + [ + 9375, + 9375 + ], + "disallowed_STD3_mapped", + [ + 40, + 100, + 41 + ] + ], + [ + [ + 9376, + 9376 + ], + "disallowed_STD3_mapped", + [ + 40, + 101, + 41 + ] + ], + [ + [ + 9377, + 9377 + ], + "disallowed_STD3_mapped", + [ + 40, + 102, + 41 + ] + ], + [ + [ + 9378, + 9378 + ], + "disallowed_STD3_mapped", + [ + 40, + 103, + 41 + ] + ], + [ + [ + 9379, + 9379 + ], + "disallowed_STD3_mapped", + [ + 40, + 104, + 41 + ] + ], + [ + [ + 9380, + 9380 + ], + "disallowed_STD3_mapped", + [ + 40, + 105, + 41 + ] + ], + [ + [ + 9381, + 9381 + ], + "disallowed_STD3_mapped", + [ + 40, + 106, + 41 + ] + ], + [ + [ + 9382, + 9382 + ], + "disallowed_STD3_mapped", + [ + 40, + 107, + 41 + ] + ], + [ + [ + 9383, + 9383 + ], + "disallowed_STD3_mapped", + [ + 40, + 108, + 41 + ] + ], + [ + [ + 9384, + 9384 + ], + "disallowed_STD3_mapped", + [ + 40, + 109, + 41 + ] + ], + [ + [ + 9385, + 9385 + ], + "disallowed_STD3_mapped", + [ + 40, + 110, + 41 + ] + ], + [ + [ + 9386, + 9386 + ], + "disallowed_STD3_mapped", + [ + 40, + 111, + 41 + ] + ], + [ + [ + 9387, + 9387 + ], + "disallowed_STD3_mapped", + [ + 40, + 112, + 41 + ] + ], + [ + [ + 9388, + 9388 + ], + "disallowed_STD3_mapped", + [ + 40, + 113, + 41 + ] + ], + [ + [ + 9389, + 9389 + ], + "disallowed_STD3_mapped", + [ + 40, + 114, + 41 + ] + ], + [ + [ + 9390, + 9390 + ], + "disallowed_STD3_mapped", + [ + 40, + 115, + 41 + ] + ], + [ + [ + 9391, + 9391 + ], + "disallowed_STD3_mapped", + [ + 40, + 116, + 41 + ] + ], + [ + [ + 9392, + 9392 + ], + "disallowed_STD3_mapped", + [ + 40, + 117, + 41 + ] + ], + [ + [ + 9393, + 9393 + ], + "disallowed_STD3_mapped", + [ + 40, + 118, + 41 + ] + ], + [ + [ + 9394, + 9394 + ], + "disallowed_STD3_mapped", + [ + 40, + 119, + 41 + ] + ], + [ + [ + 9395, + 9395 + ], + "disallowed_STD3_mapped", + [ + 40, + 120, + 41 + ] + ], + [ + [ + 9396, + 9396 + ], + "disallowed_STD3_mapped", + [ + 40, + 121, + 41 + ] + ], + [ + [ + 9397, + 9397 + ], + "disallowed_STD3_mapped", + [ + 40, + 122, + 41 + ] + ], + [ + [ + 9398, + 9398 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 9399, + 9399 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 9400, + 9400 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 9401, + 9401 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 9402, + 9402 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 9403, + 9403 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 9404, + 9404 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 9405, + 9405 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 9406, + 9406 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 9407, + 9407 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 9408, + 9408 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 9409, + 9409 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 9410, + 9410 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 9411, + 9411 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 9412, + 9412 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 9413, + 9413 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 9414, + 9414 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 9415, + 9415 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 9416, + 9416 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 9417, + 9417 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 9418, + 9418 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 9419, + 9419 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 9420, + 9420 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 9421, + 9421 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 9422, + 9422 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 9423, + 9423 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 9424, + 9424 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 9425, + 9425 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 9426, + 9426 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 9427, + 9427 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 9428, + 9428 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 9429, + 9429 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 9430, + 9430 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 9431, + 9431 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 9432, + 9432 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 9433, + 9433 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 9434, + 9434 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 9435, + 9435 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 9436, + 9436 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 9437, + 9437 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 9438, + 9438 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 9439, + 9439 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 9440, + 9440 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 9441, + 9441 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 9442, + 9442 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 9443, + 9443 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 9444, + 9444 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 9445, + 9445 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 9446, + 9446 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 9447, + 9447 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 9448, + 9448 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 9449, + 9449 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 9450, + 9450 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 9451, + 9470 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9471, + 9471 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9472, + 9621 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9622, + 9631 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9632, + 9711 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9712, + 9719 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9720, + 9727 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9728, + 9747 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9748, + 9749 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9750, + 9751 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9752, + 9752 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9753, + 9753 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9754, + 9839 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9840, + 9841 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9842, + 9853 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9854, + 9855 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9856, + 9865 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9866, + 9873 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9874, + 9884 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9885, + 9885 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9886, + 9887 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9888, + 9889 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9890, + 9905 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9906, + 9906 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9907, + 9916 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9917, + 9919 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9920, + 9923 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9924, + 9933 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9934, + 9934 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9935, + 9953 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9954, + 9954 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9955, + 9955 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9956, + 9959 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9960, + 9983 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9984, + 9984 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9985, + 9988 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9989, + 9989 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9990, + 9993 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9994, + 9995 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9996, + 10023 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10024, + 10024 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10025, + 10059 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10060, + 10060 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10061, + 10061 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10062, + 10062 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10063, + 10066 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10067, + 10069 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10070, + 10070 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10071, + 10071 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10072, + 10078 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10079, + 10080 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10081, + 10087 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10088, + 10101 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10102, + 10132 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10133, + 10135 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10136, + 10159 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10160, + 10160 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10161, + 10174 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10175, + 10175 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10176, + 10182 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10183, + 10186 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10187, + 10187 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10188, + 10188 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10189, + 10189 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10190, + 10191 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10192, + 10219 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10220, + 10223 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10224, + 10239 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10240, + 10495 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10496, + 10763 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10764, + 10764 + ], + "mapped", + [ + 8747, + 8747, + 8747, + 8747 + ] + ], + [ + [ + 10765, + 10867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10868, + 10868 + ], + "disallowed_STD3_mapped", + [ + 58, + 58, + 61 + ] + ], + [ + [ + 10869, + 10869 + ], + "disallowed_STD3_mapped", + [ + 61, + 61 + ] + ], + [ + [ + 10870, + 10870 + ], + "disallowed_STD3_mapped", + [ + 61, + 61, + 61 + ] + ], + [ + [ + 10871, + 10971 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10972, + 10972 + ], + "mapped", + [ + 10973, + 824 + ] + ], + [ + [ + 10973, + 11007 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11008, + 11021 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11022, + 11027 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11028, + 11034 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11035, + 11039 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11040, + 11043 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11044, + 11084 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11085, + 11087 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11088, + 11092 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11093, + 11097 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11098, + 11123 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11124, + 11125 + ], + "disallowed" + ], + [ + [ + 11126, + 11157 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11158, + 11159 + ], + "disallowed" + ], + [ + [ + 11160, + 11193 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11194, + 11196 + ], + "disallowed" + ], + [ + [ + 11197, + 11208 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11209, + 11209 + ], + "disallowed" + ], + [ + [ + 11210, + 11217 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11218, + 11243 + ], + "disallowed" + ], + [ + [ + 11244, + 11247 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11248, + 11263 + ], + "disallowed" + ], + [ + [ + 11264, + 11264 + ], + "mapped", + [ + 11312 + ] + ], + [ + [ + 11265, + 11265 + ], + "mapped", + [ + 11313 + ] + ], + [ + [ + 11266, + 11266 + ], + "mapped", + [ + 11314 + ] + ], + [ + [ + 11267, + 11267 + ], + "mapped", + [ + 11315 + ] + ], + [ + [ + 11268, + 11268 + ], + "mapped", + [ + 11316 + ] + ], + [ + [ + 11269, + 11269 + ], + "mapped", + [ + 11317 + ] + ], + [ + [ + 11270, + 11270 + ], + "mapped", + [ + 11318 + ] + ], + [ + [ + 11271, + 11271 + ], + "mapped", + [ + 11319 + ] + ], + [ + [ + 11272, + 11272 + ], + "mapped", + [ + 11320 + ] + ], + [ + [ + 11273, + 11273 + ], + "mapped", + [ + 11321 + ] + ], + [ + [ + 11274, + 11274 + ], + "mapped", + [ + 11322 + ] + ], + [ + [ + 11275, + 11275 + ], + "mapped", + [ + 11323 + ] + ], + [ + [ + 11276, + 11276 + ], + "mapped", + [ + 11324 + ] + ], + [ + [ + 11277, + 11277 + ], + "mapped", + [ + 11325 + ] + ], + [ + [ + 11278, + 11278 + ], + "mapped", + [ + 11326 + ] + ], + [ + [ + 11279, + 11279 + ], + "mapped", + [ + 11327 + ] + ], + [ + [ + 11280, + 11280 + ], + "mapped", + [ + 11328 + ] + ], + [ + [ + 11281, + 11281 + ], + "mapped", + [ + 11329 + ] + ], + [ + [ + 11282, + 11282 + ], + "mapped", + [ + 11330 + ] + ], + [ + [ + 11283, + 11283 + ], + "mapped", + [ + 11331 + ] + ], + [ + [ + 11284, + 11284 + ], + "mapped", + [ + 11332 + ] + ], + [ + [ + 11285, + 11285 + ], + "mapped", + [ + 11333 + ] + ], + [ + [ + 11286, + 11286 + ], + "mapped", + [ + 11334 + ] + ], + [ + [ + 11287, + 11287 + ], + "mapped", + [ + 11335 + ] + ], + [ + [ + 11288, + 11288 + ], + "mapped", + [ + 11336 + ] + ], + [ + [ + 11289, + 11289 + ], + "mapped", + [ + 11337 + ] + ], + [ + [ + 11290, + 11290 + ], + "mapped", + [ + 11338 + ] + ], + [ + [ + 11291, + 11291 + ], + "mapped", + [ + 11339 + ] + ], + [ + [ + 11292, + 11292 + ], + "mapped", + [ + 11340 + ] + ], + [ + [ + 11293, + 11293 + ], + "mapped", + [ + 11341 + ] + ], + [ + [ + 11294, + 11294 + ], + "mapped", + [ + 11342 + ] + ], + [ + [ + 11295, + 11295 + ], + "mapped", + [ + 11343 + ] + ], + [ + [ + 11296, + 11296 + ], + "mapped", + [ + 11344 + ] + ], + [ + [ + 11297, + 11297 + ], + "mapped", + [ + 11345 + ] + ], + [ + [ + 11298, + 11298 + ], + "mapped", + [ + 11346 + ] + ], + [ + [ + 11299, + 11299 + ], + "mapped", + [ + 11347 + ] + ], + [ + [ + 11300, + 11300 + ], + "mapped", + [ + 11348 + ] + ], + [ + [ + 11301, + 11301 + ], + "mapped", + [ + 11349 + ] + ], + [ + [ + 11302, + 11302 + ], + "mapped", + [ + 11350 + ] + ], + [ + [ + 11303, + 11303 + ], + "mapped", + [ + 11351 + ] + ], + [ + [ + 11304, + 11304 + ], + "mapped", + [ + 11352 + ] + ], + [ + [ + 11305, + 11305 + ], + "mapped", + [ + 11353 + ] + ], + [ + [ + 11306, + 11306 + ], + "mapped", + [ + 11354 + ] + ], + [ + [ + 11307, + 11307 + ], + "mapped", + [ + 11355 + ] + ], + [ + [ + 11308, + 11308 + ], + "mapped", + [ + 11356 + ] + ], + [ + [ + 11309, + 11309 + ], + "mapped", + [ + 11357 + ] + ], + [ + [ + 11310, + 11310 + ], + "mapped", + [ + 11358 + ] + ], + [ + [ + 11311, + 11311 + ], + "disallowed" + ], + [ + [ + 11312, + 11358 + ], + "valid" + ], + [ + [ + 11359, + 11359 + ], + "disallowed" + ], + [ + [ + 11360, + 11360 + ], + "mapped", + [ + 11361 + ] + ], + [ + [ + 11361, + 11361 + ], + "valid" + ], + [ + [ + 11362, + 11362 + ], + "mapped", + [ + 619 + ] + ], + [ + [ + 11363, + 11363 + ], + "mapped", + [ + 7549 + ] + ], + [ + [ + 11364, + 11364 + ], + "mapped", + [ + 637 + ] + ], + [ + [ + 11365, + 11366 + ], + "valid" + ], + [ + [ + 11367, + 11367 + ], + "mapped", + [ + 11368 + ] + ], + [ + [ + 11368, + 11368 + ], + "valid" + ], + [ + [ + 11369, + 11369 + ], + "mapped", + [ + 11370 + ] + ], + [ + [ + 11370, + 11370 + ], + "valid" + ], + [ + [ + 11371, + 11371 + ], + "mapped", + [ + 11372 + ] + ], + [ + [ + 11372, + 11372 + ], + "valid" + ], + [ + [ + 11373, + 11373 + ], + "mapped", + [ + 593 + ] + ], + [ + [ + 11374, + 11374 + ], + "mapped", + [ + 625 + ] + ], + [ + [ + 11375, + 11375 + ], + "mapped", + [ + 592 + ] + ], + [ + [ + 11376, + 11376 + ], + "mapped", + [ + 594 + ] + ], + [ + [ + 11377, + 11377 + ], + "valid" + ], + [ + [ + 11378, + 11378 + ], + "mapped", + [ + 11379 + ] + ], + [ + [ + 11379, + 11379 + ], + "valid" + ], + [ + [ + 11380, + 11380 + ], + "valid" + ], + [ + [ + 11381, + 11381 + ], + "mapped", + [ + 11382 + ] + ], + [ + [ + 11382, + 11383 + ], + "valid" + ], + [ + [ + 11384, + 11387 + ], + "valid" + ], + [ + [ + 11388, + 11388 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 11389, + 11389 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 11390, + 11390 + ], + "mapped", + [ + 575 + ] + ], + [ + [ + 11391, + 11391 + ], + "mapped", + [ + 576 + ] + ], + [ + [ + 11392, + 11392 + ], + "mapped", + [ + 11393 + ] + ], + [ + [ + 11393, + 11393 + ], + "valid" + ], + [ + [ + 11394, + 11394 + ], + "mapped", + [ + 11395 + ] + ], + [ + [ + 11395, + 11395 + ], + "valid" + ], + [ + [ + 11396, + 11396 + ], + "mapped", + [ + 11397 + ] + ], + [ + [ + 11397, + 11397 + ], + "valid" + ], + [ + [ + 11398, + 11398 + ], + "mapped", + [ + 11399 + ] + ], + [ + [ + 11399, + 11399 + ], + "valid" + ], + [ + [ + 11400, + 11400 + ], + "mapped", + [ + 11401 + ] + ], + [ + [ + 11401, + 11401 + ], + "valid" + ], + [ + [ + 11402, + 11402 + ], + "mapped", + [ + 11403 + ] + ], + [ + [ + 11403, + 11403 + ], + "valid" + ], + [ + [ + 11404, + 11404 + ], + "mapped", + [ + 11405 + ] + ], + [ + [ + 11405, + 11405 + ], + "valid" + ], + [ + [ + 11406, + 11406 + ], + "mapped", + [ + 11407 + ] + ], + [ + [ + 11407, + 11407 + ], + "valid" + ], + [ + [ + 11408, + 11408 + ], + "mapped", + [ + 11409 + ] + ], + [ + [ + 11409, + 11409 + ], + "valid" + ], + [ + [ + 11410, + 11410 + ], + "mapped", + [ + 11411 + ] + ], + [ + [ + 11411, + 11411 + ], + "valid" + ], + [ + [ + 11412, + 11412 + ], + "mapped", + [ + 11413 + ] + ], + [ + [ + 11413, + 11413 + ], + "valid" + ], + [ + [ + 11414, + 11414 + ], + "mapped", + [ + 11415 + ] + ], + [ + [ + 11415, + 11415 + ], + "valid" + ], + [ + [ + 11416, + 11416 + ], + "mapped", + [ + 11417 + ] + ], + [ + [ + 11417, + 11417 + ], + "valid" + ], + [ + [ + 11418, + 11418 + ], + "mapped", + [ + 11419 + ] + ], + [ + [ + 11419, + 11419 + ], + "valid" + ], + [ + [ + 11420, + 11420 + ], + "mapped", + [ + 11421 + ] + ], + [ + [ + 11421, + 11421 + ], + "valid" + ], + [ + [ + 11422, + 11422 + ], + "mapped", + [ + 11423 + ] + ], + [ + [ + 11423, + 11423 + ], + "valid" + ], + [ + [ + 11424, + 11424 + ], + "mapped", + [ + 11425 + ] + ], + [ + [ + 11425, + 11425 + ], + "valid" + ], + [ + [ + 11426, + 11426 + ], + "mapped", + [ + 11427 + ] + ], + [ + [ + 11427, + 11427 + ], + "valid" + ], + [ + [ + 11428, + 11428 + ], + "mapped", + [ + 11429 + ] + ], + [ + [ + 11429, + 11429 + ], + "valid" + ], + [ + [ + 11430, + 11430 + ], + "mapped", + [ + 11431 + ] + ], + [ + [ + 11431, + 11431 + ], + "valid" + ], + [ + [ + 11432, + 11432 + ], + "mapped", + [ + 11433 + ] + ], + [ + [ + 11433, + 11433 + ], + "valid" + ], + [ + [ + 11434, + 11434 + ], + "mapped", + [ + 11435 + ] + ], + [ + [ + 11435, + 11435 + ], + "valid" + ], + [ + [ + 11436, + 11436 + ], + "mapped", + [ + 11437 + ] + ], + [ + [ + 11437, + 11437 + ], + "valid" + ], + [ + [ + 11438, + 11438 + ], + "mapped", + [ + 11439 + ] + ], + [ + [ + 11439, + 11439 + ], + "valid" + ], + [ + [ + 11440, + 11440 + ], + "mapped", + [ + 11441 + ] + ], + [ + [ + 11441, + 11441 + ], + "valid" + ], + [ + [ + 11442, + 11442 + ], + "mapped", + [ + 11443 + ] + ], + [ + [ + 11443, + 11443 + ], + "valid" + ], + [ + [ + 11444, + 11444 + ], + "mapped", + [ + 11445 + ] + ], + [ + [ + 11445, + 11445 + ], + "valid" + ], + [ + [ + 11446, + 11446 + ], + "mapped", + [ + 11447 + ] + ], + [ + [ + 11447, + 11447 + ], + "valid" + ], + [ + [ + 11448, + 11448 + ], + "mapped", + [ + 11449 + ] + ], + [ + [ + 11449, + 11449 + ], + "valid" + ], + [ + [ + 11450, + 11450 + ], + "mapped", + [ + 11451 + ] + ], + [ + [ + 11451, + 11451 + ], + "valid" + ], + [ + [ + 11452, + 11452 + ], + "mapped", + [ + 11453 + ] + ], + [ + [ + 11453, + 11453 + ], + "valid" + ], + [ + [ + 11454, + 11454 + ], + "mapped", + [ + 11455 + ] + ], + [ + [ + 11455, + 11455 + ], + "valid" + ], + [ + [ + 11456, + 11456 + ], + "mapped", + [ + 11457 + ] + ], + [ + [ + 11457, + 11457 + ], + "valid" + ], + [ + [ + 11458, + 11458 + ], + "mapped", + [ + 11459 + ] + ], + [ + [ + 11459, + 11459 + ], + "valid" + ], + [ + [ + 11460, + 11460 + ], + "mapped", + [ + 11461 + ] + ], + [ + [ + 11461, + 11461 + ], + "valid" + ], + [ + [ + 11462, + 11462 + ], + "mapped", + [ + 11463 + ] + ], + [ + [ + 11463, + 11463 + ], + "valid" + ], + [ + [ + 11464, + 11464 + ], + "mapped", + [ + 11465 + ] + ], + [ + [ + 11465, + 11465 + ], + "valid" + ], + [ + [ + 11466, + 11466 + ], + "mapped", + [ + 11467 + ] + ], + [ + [ + 11467, + 11467 + ], + "valid" + ], + [ + [ + 11468, + 11468 + ], + "mapped", + [ + 11469 + ] + ], + [ + [ + 11469, + 11469 + ], + "valid" + ], + [ + [ + 11470, + 11470 + ], + "mapped", + [ + 11471 + ] + ], + [ + [ + 11471, + 11471 + ], + "valid" + ], + [ + [ + 11472, + 11472 + ], + "mapped", + [ + 11473 + ] + ], + [ + [ + 11473, + 11473 + ], + "valid" + ], + [ + [ + 11474, + 11474 + ], + "mapped", + [ + 11475 + ] + ], + [ + [ + 11475, + 11475 + ], + "valid" + ], + [ + [ + 11476, + 11476 + ], + "mapped", + [ + 11477 + ] + ], + [ + [ + 11477, + 11477 + ], + "valid" + ], + [ + [ + 11478, + 11478 + ], + "mapped", + [ + 11479 + ] + ], + [ + [ + 11479, + 11479 + ], + "valid" + ], + [ + [ + 11480, + 11480 + ], + "mapped", + [ + 11481 + ] + ], + [ + [ + 11481, + 11481 + ], + "valid" + ], + [ + [ + 11482, + 11482 + ], + "mapped", + [ + 11483 + ] + ], + [ + [ + 11483, + 11483 + ], + "valid" + ], + [ + [ + 11484, + 11484 + ], + "mapped", + [ + 11485 + ] + ], + [ + [ + 11485, + 11485 + ], + "valid" + ], + [ + [ + 11486, + 11486 + ], + "mapped", + [ + 11487 + ] + ], + [ + [ + 11487, + 11487 + ], + "valid" + ], + [ + [ + 11488, + 11488 + ], + "mapped", + [ + 11489 + ] + ], + [ + [ + 11489, + 11489 + ], + "valid" + ], + [ + [ + 11490, + 11490 + ], + "mapped", + [ + 11491 + ] + ], + [ + [ + 11491, + 11492 + ], + "valid" + ], + [ + [ + 11493, + 11498 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11499, + 11499 + ], + "mapped", + [ + 11500 + ] + ], + [ + [ + 11500, + 11500 + ], + "valid" + ], + [ + [ + 11501, + 11501 + ], + "mapped", + [ + 11502 + ] + ], + [ + [ + 11502, + 11505 + ], + "valid" + ], + [ + [ + 11506, + 11506 + ], + "mapped", + [ + 11507 + ] + ], + [ + [ + 11507, + 11507 + ], + "valid" + ], + [ + [ + 11508, + 11512 + ], + "disallowed" + ], + [ + [ + 11513, + 11519 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11520, + 11557 + ], + "valid" + ], + [ + [ + 11558, + 11558 + ], + "disallowed" + ], + [ + [ + 11559, + 11559 + ], + "valid" + ], + [ + [ + 11560, + 11564 + ], + "disallowed" + ], + [ + [ + 11565, + 11565 + ], + "valid" + ], + [ + [ + 11566, + 11567 + ], + "disallowed" + ], + [ + [ + 11568, + 11621 + ], + "valid" + ], + [ + [ + 11622, + 11623 + ], + "valid" + ], + [ + [ + 11624, + 11630 + ], + "disallowed" + ], + [ + [ + 11631, + 11631 + ], + "mapped", + [ + 11617 + ] + ], + [ + [ + 11632, + 11632 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11633, + 11646 + ], + "disallowed" + ], + [ + [ + 11647, + 11647 + ], + "valid" + ], + [ + [ + 11648, + 11670 + ], + "valid" + ], + [ + [ + 11671, + 11679 + ], + "disallowed" + ], + [ + [ + 11680, + 11686 + ], + "valid" + ], + [ + [ + 11687, + 11687 + ], + "disallowed" + ], + [ + [ + 11688, + 11694 + ], + "valid" + ], + [ + [ + 11695, + 11695 + ], + "disallowed" + ], + [ + [ + 11696, + 11702 + ], + "valid" + ], + [ + [ + 11703, + 11703 + ], + "disallowed" + ], + [ + [ + 11704, + 11710 + ], + "valid" + ], + [ + [ + 11711, + 11711 + ], + "disallowed" + ], + [ + [ + 11712, + 11718 + ], + "valid" + ], + [ + [ + 11719, + 11719 + ], + "disallowed" + ], + [ + [ + 11720, + 11726 + ], + "valid" + ], + [ + [ + 11727, + 11727 + ], + "disallowed" + ], + [ + [ + 11728, + 11734 + ], + "valid" + ], + [ + [ + 11735, + 11735 + ], + "disallowed" + ], + [ + [ + 11736, + 11742 + ], + "valid" + ], + [ + [ + 11743, + 11743 + ], + "disallowed" + ], + [ + [ + 11744, + 11775 + ], + "valid" + ], + [ + [ + 11776, + 11799 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11800, + 11803 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11804, + 11805 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11806, + 11822 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11823, + 11823 + ], + "valid" + ], + [ + [ + 11824, + 11824 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11825, + 11825 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11826, + 11835 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11836, + 11842 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11843, + 11903 + ], + "disallowed" + ], + [ + [ + 11904, + 11929 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11930, + 11930 + ], + "disallowed" + ], + [ + [ + 11931, + 11934 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11935, + 11935 + ], + "mapped", + [ + 27597 + ] + ], + [ + [ + 11936, + 12018 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12019, + 12019 + ], + "mapped", + [ + 40863 + ] + ], + [ + [ + 12020, + 12031 + ], + "disallowed" + ], + [ + [ + 12032, + 12032 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 12033, + 12033 + ], + "mapped", + [ + 20008 + ] + ], + [ + [ + 12034, + 12034 + ], + "mapped", + [ + 20022 + ] + ], + [ + [ + 12035, + 12035 + ], + "mapped", + [ + 20031 + ] + ], + [ + [ + 12036, + 12036 + ], + "mapped", + [ + 20057 + ] + ], + [ + [ + 12037, + 12037 + ], + "mapped", + [ + 20101 + ] + ], + [ + [ + 12038, + 12038 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 12039, + 12039 + ], + "mapped", + [ + 20128 + ] + ], + [ + [ + 12040, + 12040 + ], + "mapped", + [ + 20154 + ] + ], + [ + [ + 12041, + 12041 + ], + "mapped", + [ + 20799 + ] + ], + [ + [ + 12042, + 12042 + ], + "mapped", + [ + 20837 + ] + ], + [ + [ + 12043, + 12043 + ], + "mapped", + [ + 20843 + ] + ], + [ + [ + 12044, + 12044 + ], + "mapped", + [ + 20866 + ] + ], + [ + [ + 12045, + 12045 + ], + "mapped", + [ + 20886 + ] + ], + [ + [ + 12046, + 12046 + ], + "mapped", + [ + 20907 + ] + ], + [ + [ + 12047, + 12047 + ], + "mapped", + [ + 20960 + ] + ], + [ + [ + 12048, + 12048 + ], + "mapped", + [ + 20981 + ] + ], + [ + [ + 12049, + 12049 + ], + "mapped", + [ + 20992 + ] + ], + [ + [ + 12050, + 12050 + ], + "mapped", + [ + 21147 + ] + ], + [ + [ + 12051, + 12051 + ], + "mapped", + [ + 21241 + ] + ], + [ + [ + 12052, + 12052 + ], + "mapped", + [ + 21269 + ] + ], + [ + [ + 12053, + 12053 + ], + "mapped", + [ + 21274 + ] + ], + [ + [ + 12054, + 12054 + ], + "mapped", + [ + 21304 + ] + ], + [ + [ + 12055, + 12055 + ], + "mapped", + [ + 21313 + ] + ], + [ + [ + 12056, + 12056 + ], + "mapped", + [ + 21340 + ] + ], + [ + [ + 12057, + 12057 + ], + "mapped", + [ + 21353 + ] + ], + [ + [ + 12058, + 12058 + ], + "mapped", + [ + 21378 + ] + ], + [ + [ + 12059, + 12059 + ], + "mapped", + [ + 21430 + ] + ], + [ + [ + 12060, + 12060 + ], + "mapped", + [ + 21448 + ] + ], + [ + [ + 12061, + 12061 + ], + "mapped", + [ + 21475 + ] + ], + [ + [ + 12062, + 12062 + ], + "mapped", + [ + 22231 + ] + ], + [ + [ + 12063, + 12063 + ], + "mapped", + [ + 22303 + ] + ], + [ + [ + 12064, + 12064 + ], + "mapped", + [ + 22763 + ] + ], + [ + [ + 12065, + 12065 + ], + "mapped", + [ + 22786 + ] + ], + [ + [ + 12066, + 12066 + ], + "mapped", + [ + 22794 + ] + ], + [ + [ + 12067, + 12067 + ], + "mapped", + [ + 22805 + ] + ], + [ + [ + 12068, + 12068 + ], + "mapped", + [ + 22823 + ] + ], + [ + [ + 12069, + 12069 + ], + "mapped", + [ + 22899 + ] + ], + [ + [ + 12070, + 12070 + ], + "mapped", + [ + 23376 + ] + ], + [ + [ + 12071, + 12071 + ], + "mapped", + [ + 23424 + ] + ], + [ + [ + 12072, + 12072 + ], + "mapped", + [ + 23544 + ] + ], + [ + [ + 12073, + 12073 + ], + "mapped", + [ + 23567 + ] + ], + [ + [ + 12074, + 12074 + ], + "mapped", + [ + 23586 + ] + ], + [ + [ + 12075, + 12075 + ], + "mapped", + [ + 23608 + ] + ], + [ + [ + 12076, + 12076 + ], + "mapped", + [ + 23662 + ] + ], + [ + [ + 12077, + 12077 + ], + "mapped", + [ + 23665 + ] + ], + [ + [ + 12078, + 12078 + ], + "mapped", + [ + 24027 + ] + ], + [ + [ + 12079, + 12079 + ], + "mapped", + [ + 24037 + ] + ], + [ + [ + 12080, + 12080 + ], + "mapped", + [ + 24049 + ] + ], + [ + [ + 12081, + 12081 + ], + "mapped", + [ + 24062 + ] + ], + [ + [ + 12082, + 12082 + ], + "mapped", + [ + 24178 + ] + ], + [ + [ + 12083, + 12083 + ], + "mapped", + [ + 24186 + ] + ], + [ + [ + 12084, + 12084 + ], + "mapped", + [ + 24191 + ] + ], + [ + [ + 12085, + 12085 + ], + "mapped", + [ + 24308 + ] + ], + [ + [ + 12086, + 12086 + ], + "mapped", + [ + 24318 + ] + ], + [ + [ + 12087, + 12087 + ], + "mapped", + [ + 24331 + ] + ], + [ + [ + 12088, + 12088 + ], + "mapped", + [ + 24339 + ] + ], + [ + [ + 12089, + 12089 + ], + "mapped", + [ + 24400 + ] + ], + [ + [ + 12090, + 12090 + ], + "mapped", + [ + 24417 + ] + ], + [ + [ + 12091, + 12091 + ], + "mapped", + [ + 24435 + ] + ], + [ + [ + 12092, + 12092 + ], + "mapped", + [ + 24515 + ] + ], + [ + [ + 12093, + 12093 + ], + "mapped", + [ + 25096 + ] + ], + [ + [ + 12094, + 12094 + ], + "mapped", + [ + 25142 + ] + ], + [ + [ + 12095, + 12095 + ], + "mapped", + [ + 25163 + ] + ], + [ + [ + 12096, + 12096 + ], + "mapped", + [ + 25903 + ] + ], + [ + [ + 12097, + 12097 + ], + "mapped", + [ + 25908 + ] + ], + [ + [ + 12098, + 12098 + ], + "mapped", + [ + 25991 + ] + ], + [ + [ + 12099, + 12099 + ], + "mapped", + [ + 26007 + ] + ], + [ + [ + 12100, + 12100 + ], + "mapped", + [ + 26020 + ] + ], + [ + [ + 12101, + 12101 + ], + "mapped", + [ + 26041 + ] + ], + [ + [ + 12102, + 12102 + ], + "mapped", + [ + 26080 + ] + ], + [ + [ + 12103, + 12103 + ], + "mapped", + [ + 26085 + ] + ], + [ + [ + 12104, + 12104 + ], + "mapped", + [ + 26352 + ] + ], + [ + [ + 12105, + 12105 + ], + "mapped", + [ + 26376 + ] + ], + [ + [ + 12106, + 12106 + ], + "mapped", + [ + 26408 + ] + ], + [ + [ + 12107, + 12107 + ], + "mapped", + [ + 27424 + ] + ], + [ + [ + 12108, + 12108 + ], + "mapped", + [ + 27490 + ] + ], + [ + [ + 12109, + 12109 + ], + "mapped", + [ + 27513 + ] + ], + [ + [ + 12110, + 12110 + ], + "mapped", + [ + 27571 + ] + ], + [ + [ + 12111, + 12111 + ], + "mapped", + [ + 27595 + ] + ], + [ + [ + 12112, + 12112 + ], + "mapped", + [ + 27604 + ] + ], + [ + [ + 12113, + 12113 + ], + "mapped", + [ + 27611 + ] + ], + [ + [ + 12114, + 12114 + ], + "mapped", + [ + 27663 + ] + ], + [ + [ + 12115, + 12115 + ], + "mapped", + [ + 27668 + ] + ], + [ + [ + 12116, + 12116 + ], + "mapped", + [ + 27700 + ] + ], + [ + [ + 12117, + 12117 + ], + "mapped", + [ + 28779 + ] + ], + [ + [ + 12118, + 12118 + ], + "mapped", + [ + 29226 + ] + ], + [ + [ + 12119, + 12119 + ], + "mapped", + [ + 29238 + ] + ], + [ + [ + 12120, + 12120 + ], + "mapped", + [ + 29243 + ] + ], + [ + [ + 12121, + 12121 + ], + "mapped", + [ + 29247 + ] + ], + [ + [ + 12122, + 12122 + ], + "mapped", + [ + 29255 + ] + ], + [ + [ + 12123, + 12123 + ], + "mapped", + [ + 29273 + ] + ], + [ + [ + 12124, + 12124 + ], + "mapped", + [ + 29275 + ] + ], + [ + [ + 12125, + 12125 + ], + "mapped", + [ + 29356 + ] + ], + [ + [ + 12126, + 12126 + ], + "mapped", + [ + 29572 + ] + ], + [ + [ + 12127, + 12127 + ], + "mapped", + [ + 29577 + ] + ], + [ + [ + 12128, + 12128 + ], + "mapped", + [ + 29916 + ] + ], + [ + [ + 12129, + 12129 + ], + "mapped", + [ + 29926 + ] + ], + [ + [ + 12130, + 12130 + ], + "mapped", + [ + 29976 + ] + ], + [ + [ + 12131, + 12131 + ], + "mapped", + [ + 29983 + ] + ], + [ + [ + 12132, + 12132 + ], + "mapped", + [ + 29992 + ] + ], + [ + [ + 12133, + 12133 + ], + "mapped", + [ + 30000 + ] + ], + [ + [ + 12134, + 12134 + ], + "mapped", + [ + 30091 + ] + ], + [ + [ + 12135, + 12135 + ], + "mapped", + [ + 30098 + ] + ], + [ + [ + 12136, + 12136 + ], + "mapped", + [ + 30326 + ] + ], + [ + [ + 12137, + 12137 + ], + "mapped", + [ + 30333 + ] + ], + [ + [ + 12138, + 12138 + ], + "mapped", + [ + 30382 + ] + ], + [ + [ + 12139, + 12139 + ], + "mapped", + [ + 30399 + ] + ], + [ + [ + 12140, + 12140 + ], + "mapped", + [ + 30446 + ] + ], + [ + [ + 12141, + 12141 + ], + "mapped", + [ + 30683 + ] + ], + [ + [ + 12142, + 12142 + ], + "mapped", + [ + 30690 + ] + ], + [ + [ + 12143, + 12143 + ], + "mapped", + [ + 30707 + ] + ], + [ + [ + 12144, + 12144 + ], + "mapped", + [ + 31034 + ] + ], + [ + [ + 12145, + 12145 + ], + "mapped", + [ + 31160 + ] + ], + [ + [ + 12146, + 12146 + ], + "mapped", + [ + 31166 + ] + ], + [ + [ + 12147, + 12147 + ], + "mapped", + [ + 31348 + ] + ], + [ + [ + 12148, + 12148 + ], + "mapped", + [ + 31435 + ] + ], + [ + [ + 12149, + 12149 + ], + "mapped", + [ + 31481 + ] + ], + [ + [ + 12150, + 12150 + ], + "mapped", + [ + 31859 + ] + ], + [ + [ + 12151, + 12151 + ], + "mapped", + [ + 31992 + ] + ], + [ + [ + 12152, + 12152 + ], + "mapped", + [ + 32566 + ] + ], + [ + [ + 12153, + 12153 + ], + "mapped", + [ + 32593 + ] + ], + [ + [ + 12154, + 12154 + ], + "mapped", + [ + 32650 + ] + ], + [ + [ + 12155, + 12155 + ], + "mapped", + [ + 32701 + ] + ], + [ + [ + 12156, + 12156 + ], + "mapped", + [ + 32769 + ] + ], + [ + [ + 12157, + 12157 + ], + "mapped", + [ + 32780 + ] + ], + [ + [ + 12158, + 12158 + ], + "mapped", + [ + 32786 + ] + ], + [ + [ + 12159, + 12159 + ], + "mapped", + [ + 32819 + ] + ], + [ + [ + 12160, + 12160 + ], + "mapped", + [ + 32895 + ] + ], + [ + [ + 12161, + 12161 + ], + "mapped", + [ + 32905 + ] + ], + [ + [ + 12162, + 12162 + ], + "mapped", + [ + 33251 + ] + ], + [ + [ + 12163, + 12163 + ], + "mapped", + [ + 33258 + ] + ], + [ + [ + 12164, + 12164 + ], + "mapped", + [ + 33267 + ] + ], + [ + [ + 12165, + 12165 + ], + "mapped", + [ + 33276 + ] + ], + [ + [ + 12166, + 12166 + ], + "mapped", + [ + 33292 + ] + ], + [ + [ + 12167, + 12167 + ], + "mapped", + [ + 33307 + ] + ], + [ + [ + 12168, + 12168 + ], + "mapped", + [ + 33311 + ] + ], + [ + [ + 12169, + 12169 + ], + "mapped", + [ + 33390 + ] + ], + [ + [ + 12170, + 12170 + ], + "mapped", + [ + 33394 + ] + ], + [ + [ + 12171, + 12171 + ], + "mapped", + [ + 33400 + ] + ], + [ + [ + 12172, + 12172 + ], + "mapped", + [ + 34381 + ] + ], + [ + [ + 12173, + 12173 + ], + "mapped", + [ + 34411 + ] + ], + [ + [ + 12174, + 12174 + ], + "mapped", + [ + 34880 + ] + ], + [ + [ + 12175, + 12175 + ], + "mapped", + [ + 34892 + ] + ], + [ + [ + 12176, + 12176 + ], + "mapped", + [ + 34915 + ] + ], + [ + [ + 12177, + 12177 + ], + "mapped", + [ + 35198 + ] + ], + [ + [ + 12178, + 12178 + ], + "mapped", + [ + 35211 + ] + ], + [ + [ + 12179, + 12179 + ], + "mapped", + [ + 35282 + ] + ], + [ + [ + 12180, + 12180 + ], + "mapped", + [ + 35328 + ] + ], + [ + [ + 12181, + 12181 + ], + "mapped", + [ + 35895 + ] + ], + [ + [ + 12182, + 12182 + ], + "mapped", + [ + 35910 + ] + ], + [ + [ + 12183, + 12183 + ], + "mapped", + [ + 35925 + ] + ], + [ + [ + 12184, + 12184 + ], + "mapped", + [ + 35960 + ] + ], + [ + [ + 12185, + 12185 + ], + "mapped", + [ + 35997 + ] + ], + [ + [ + 12186, + 12186 + ], + "mapped", + [ + 36196 + ] + ], + [ + [ + 12187, + 12187 + ], + "mapped", + [ + 36208 + ] + ], + [ + [ + 12188, + 12188 + ], + "mapped", + [ + 36275 + ] + ], + [ + [ + 12189, + 12189 + ], + "mapped", + [ + 36523 + ] + ], + [ + [ + 12190, + 12190 + ], + "mapped", + [ + 36554 + ] + ], + [ + [ + 12191, + 12191 + ], + "mapped", + [ + 36763 + ] + ], + [ + [ + 12192, + 12192 + ], + "mapped", + [ + 36784 + ] + ], + [ + [ + 12193, + 12193 + ], + "mapped", + [ + 36789 + ] + ], + [ + [ + 12194, + 12194 + ], + "mapped", + [ + 37009 + ] + ], + [ + [ + 12195, + 12195 + ], + "mapped", + [ + 37193 + ] + ], + [ + [ + 12196, + 12196 + ], + "mapped", + [ + 37318 + ] + ], + [ + [ + 12197, + 12197 + ], + "mapped", + [ + 37324 + ] + ], + [ + [ + 12198, + 12198 + ], + "mapped", + [ + 37329 + ] + ], + [ + [ + 12199, + 12199 + ], + "mapped", + [ + 38263 + ] + ], + [ + [ + 12200, + 12200 + ], + "mapped", + [ + 38272 + ] + ], + [ + [ + 12201, + 12201 + ], + "mapped", + [ + 38428 + ] + ], + [ + [ + 12202, + 12202 + ], + "mapped", + [ + 38582 + ] + ], + [ + [ + 12203, + 12203 + ], + "mapped", + [ + 38585 + ] + ], + [ + [ + 12204, + 12204 + ], + "mapped", + [ + 38632 + ] + ], + [ + [ + 12205, + 12205 + ], + "mapped", + [ + 38737 + ] + ], + [ + [ + 12206, + 12206 + ], + "mapped", + [ + 38750 + ] + ], + [ + [ + 12207, + 12207 + ], + "mapped", + [ + 38754 + ] + ], + [ + [ + 12208, + 12208 + ], + "mapped", + [ + 38761 + ] + ], + [ + [ + 12209, + 12209 + ], + "mapped", + [ + 38859 + ] + ], + [ + [ + 12210, + 12210 + ], + "mapped", + [ + 38893 + ] + ], + [ + [ + 12211, + 12211 + ], + "mapped", + [ + 38899 + ] + ], + [ + [ + 12212, + 12212 + ], + "mapped", + [ + 38913 + ] + ], + [ + [ + 12213, + 12213 + ], + "mapped", + [ + 39080 + ] + ], + [ + [ + 12214, + 12214 + ], + "mapped", + [ + 39131 + ] + ], + [ + [ + 12215, + 12215 + ], + "mapped", + [ + 39135 + ] + ], + [ + [ + 12216, + 12216 + ], + "mapped", + [ + 39318 + ] + ], + [ + [ + 12217, + 12217 + ], + "mapped", + [ + 39321 + ] + ], + [ + [ + 12218, + 12218 + ], + "mapped", + [ + 39340 + ] + ], + [ + [ + 12219, + 12219 + ], + "mapped", + [ + 39592 + ] + ], + [ + [ + 12220, + 12220 + ], + "mapped", + [ + 39640 + ] + ], + [ + [ + 12221, + 12221 + ], + "mapped", + [ + 39647 + ] + ], + [ + [ + 12222, + 12222 + ], + "mapped", + [ + 39717 + ] + ], + [ + [ + 12223, + 12223 + ], + "mapped", + [ + 39727 + ] + ], + [ + [ + 12224, + 12224 + ], + "mapped", + [ + 39730 + ] + ], + [ + [ + 12225, + 12225 + ], + "mapped", + [ + 39740 + ] + ], + [ + [ + 12226, + 12226 + ], + "mapped", + [ + 39770 + ] + ], + [ + [ + 12227, + 12227 + ], + "mapped", + [ + 40165 + ] + ], + [ + [ + 12228, + 12228 + ], + "mapped", + [ + 40565 + ] + ], + [ + [ + 12229, + 12229 + ], + "mapped", + [ + 40575 + ] + ], + [ + [ + 12230, + 12230 + ], + "mapped", + [ + 40613 + ] + ], + [ + [ + 12231, + 12231 + ], + "mapped", + [ + 40635 + ] + ], + [ + [ + 12232, + 12232 + ], + "mapped", + [ + 40643 + ] + ], + [ + [ + 12233, + 12233 + ], + "mapped", + [ + 40653 + ] + ], + [ + [ + 12234, + 12234 + ], + "mapped", + [ + 40657 + ] + ], + [ + [ + 12235, + 12235 + ], + "mapped", + [ + 40697 + ] + ], + [ + [ + 12236, + 12236 + ], + "mapped", + [ + 40701 + ] + ], + [ + [ + 12237, + 12237 + ], + "mapped", + [ + 40718 + ] + ], + [ + [ + 12238, + 12238 + ], + "mapped", + [ + 40723 + ] + ], + [ + [ + 12239, + 12239 + ], + "mapped", + [ + 40736 + ] + ], + [ + [ + 12240, + 12240 + ], + "mapped", + [ + 40763 + ] + ], + [ + [ + 12241, + 12241 + ], + "mapped", + [ + 40778 + ] + ], + [ + [ + 12242, + 12242 + ], + "mapped", + [ + 40786 + ] + ], + [ + [ + 12243, + 12243 + ], + "mapped", + [ + 40845 + ] + ], + [ + [ + 12244, + 12244 + ], + "mapped", + [ + 40860 + ] + ], + [ + [ + 12245, + 12245 + ], + "mapped", + [ + 40864 + ] + ], + [ + [ + 12246, + 12271 + ], + "disallowed" + ], + [ + [ + 12272, + 12283 + ], + "disallowed" + ], + [ + [ + 12284, + 12287 + ], + "disallowed" + ], + [ + [ + 12288, + 12288 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 12289, + 12289 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12290, + 12290 + ], + "mapped", + [ + 46 + ] + ], + [ + [ + 12291, + 12292 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12293, + 12295 + ], + "valid" + ], + [ + [ + 12296, + 12329 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12330, + 12333 + ], + "valid" + ], + [ + [ + 12334, + 12341 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12342, + 12342 + ], + "mapped", + [ + 12306 + ] + ], + [ + [ + 12343, + 12343 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12344, + 12344 + ], + "mapped", + [ + 21313 + ] + ], + [ + [ + 12345, + 12345 + ], + "mapped", + [ + 21316 + ] + ], + [ + [ + 12346, + 12346 + ], + "mapped", + [ + 21317 + ] + ], + [ + [ + 12347, + 12347 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12348, + 12348 + ], + "valid" + ], + [ + [ + 12349, + 12349 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12350, + 12350 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12351, + 12351 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12352, + 12352 + ], + "disallowed" + ], + [ + [ + 12353, + 12436 + ], + "valid" + ], + [ + [ + 12437, + 12438 + ], + "valid" + ], + [ + [ + 12439, + 12440 + ], + "disallowed" + ], + [ + [ + 12441, + 12442 + ], + "valid" + ], + [ + [ + 12443, + 12443 + ], + "disallowed_STD3_mapped", + [ + 32, + 12441 + ] + ], + [ + [ + 12444, + 12444 + ], + "disallowed_STD3_mapped", + [ + 32, + 12442 + ] + ], + [ + [ + 12445, + 12446 + ], + "valid" + ], + [ + [ + 12447, + 12447 + ], + "mapped", + [ + 12424, + 12426 + ] + ], + [ + [ + 12448, + 12448 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12449, + 12542 + ], + "valid" + ], + [ + [ + 12543, + 12543 + ], + "mapped", + [ + 12467, + 12488 + ] + ], + [ + [ + 12544, + 12548 + ], + "disallowed" + ], + [ + [ + 12549, + 12588 + ], + "valid" + ], + [ + [ + 12589, + 12589 + ], + "valid" + ], + [ + [ + 12590, + 12592 + ], + "disallowed" + ], + [ + [ + 12593, + 12593 + ], + "mapped", + [ + 4352 + ] + ], + [ + [ + 12594, + 12594 + ], + "mapped", + [ + 4353 + ] + ], + [ + [ + 12595, + 12595 + ], + "mapped", + [ + 4522 + ] + ], + [ + [ + 12596, + 12596 + ], + "mapped", + [ + 4354 + ] + ], + [ + [ + 12597, + 12597 + ], + "mapped", + [ + 4524 + ] + ], + [ + [ + 12598, + 12598 + ], + "mapped", + [ + 4525 + ] + ], + [ + [ + 12599, + 12599 + ], + "mapped", + [ + 4355 + ] + ], + [ + [ + 12600, + 12600 + ], + "mapped", + [ + 4356 + ] + ], + [ + [ + 12601, + 12601 + ], + "mapped", + [ + 4357 + ] + ], + [ + [ + 12602, + 12602 + ], + "mapped", + [ + 4528 + ] + ], + [ + [ + 12603, + 12603 + ], + "mapped", + [ + 4529 + ] + ], + [ + [ + 12604, + 12604 + ], + "mapped", + [ + 4530 + ] + ], + [ + [ + 12605, + 12605 + ], + "mapped", + [ + 4531 + ] + ], + [ + [ + 12606, + 12606 + ], + "mapped", + [ + 4532 + ] + ], + [ + [ + 12607, + 12607 + ], + "mapped", + [ + 4533 + ] + ], + [ + [ + 12608, + 12608 + ], + "mapped", + [ + 4378 + ] + ], + [ + [ + 12609, + 12609 + ], + "mapped", + [ + 4358 + ] + ], + [ + [ + 12610, + 12610 + ], + "mapped", + [ + 4359 + ] + ], + [ + [ + 12611, + 12611 + ], + "mapped", + [ + 4360 + ] + ], + [ + [ + 12612, + 12612 + ], + "mapped", + [ + 4385 + ] + ], + [ + [ + 12613, + 12613 + ], + "mapped", + [ + 4361 + ] + ], + [ + [ + 12614, + 12614 + ], + "mapped", + [ + 4362 + ] + ], + [ + [ + 12615, + 12615 + ], + "mapped", + [ + 4363 + ] + ], + [ + [ + 12616, + 12616 + ], + "mapped", + [ + 4364 + ] + ], + [ + [ + 12617, + 12617 + ], + "mapped", + [ + 4365 + ] + ], + [ + [ + 12618, + 12618 + ], + "mapped", + [ + 4366 + ] + ], + [ + [ + 12619, + 12619 + ], + "mapped", + [ + 4367 + ] + ], + [ + [ + 12620, + 12620 + ], + "mapped", + [ + 4368 + ] + ], + [ + [ + 12621, + 12621 + ], + "mapped", + [ + 4369 + ] + ], + [ + [ + 12622, + 12622 + ], + "mapped", + [ + 4370 + ] + ], + [ + [ + 12623, + 12623 + ], + "mapped", + [ + 4449 + ] + ], + [ + [ + 12624, + 12624 + ], + "mapped", + [ + 4450 + ] + ], + [ + [ + 12625, + 12625 + ], + "mapped", + [ + 4451 + ] + ], + [ + [ + 12626, + 12626 + ], + "mapped", + [ + 4452 + ] + ], + [ + [ + 12627, + 12627 + ], + "mapped", + [ + 4453 + ] + ], + [ + [ + 12628, + 12628 + ], + "mapped", + [ + 4454 + ] + ], + [ + [ + 12629, + 12629 + ], + "mapped", + [ + 4455 + ] + ], + [ + [ + 12630, + 12630 + ], + "mapped", + [ + 4456 + ] + ], + [ + [ + 12631, + 12631 + ], + "mapped", + [ + 4457 + ] + ], + [ + [ + 12632, + 12632 + ], + "mapped", + [ + 4458 + ] + ], + [ + [ + 12633, + 12633 + ], + "mapped", + [ + 4459 + ] + ], + [ + [ + 12634, + 12634 + ], + "mapped", + [ + 4460 + ] + ], + [ + [ + 12635, + 12635 + ], + "mapped", + [ + 4461 + ] + ], + [ + [ + 12636, + 12636 + ], + "mapped", + [ + 4462 + ] + ], + [ + [ + 12637, + 12637 + ], + "mapped", + [ + 4463 + ] + ], + [ + [ + 12638, + 12638 + ], + "mapped", + [ + 4464 + ] + ], + [ + [ + 12639, + 12639 + ], + "mapped", + [ + 4465 + ] + ], + [ + [ + 12640, + 12640 + ], + "mapped", + [ + 4466 + ] + ], + [ + [ + 12641, + 12641 + ], + "mapped", + [ + 4467 + ] + ], + [ + [ + 12642, + 12642 + ], + "mapped", + [ + 4468 + ] + ], + [ + [ + 12643, + 12643 + ], + "mapped", + [ + 4469 + ] + ], + [ + [ + 12644, + 12644 + ], + "disallowed" + ], + [ + [ + 12645, + 12645 + ], + "mapped", + [ + 4372 + ] + ], + [ + [ + 12646, + 12646 + ], + "mapped", + [ + 4373 + ] + ], + [ + [ + 12647, + 12647 + ], + "mapped", + [ + 4551 + ] + ], + [ + [ + 12648, + 12648 + ], + "mapped", + [ + 4552 + ] + ], + [ + [ + 12649, + 12649 + ], + "mapped", + [ + 4556 + ] + ], + [ + [ + 12650, + 12650 + ], + "mapped", + [ + 4558 + ] + ], + [ + [ + 12651, + 12651 + ], + "mapped", + [ + 4563 + ] + ], + [ + [ + 12652, + 12652 + ], + "mapped", + [ + 4567 + ] + ], + [ + [ + 12653, + 12653 + ], + "mapped", + [ + 4569 + ] + ], + [ + [ + 12654, + 12654 + ], + "mapped", + [ + 4380 + ] + ], + [ + [ + 12655, + 12655 + ], + "mapped", + [ + 4573 + ] + ], + [ + [ + 12656, + 12656 + ], + "mapped", + [ + 4575 + ] + ], + [ + [ + 12657, + 12657 + ], + "mapped", + [ + 4381 + ] + ], + [ + [ + 12658, + 12658 + ], + "mapped", + [ + 4382 + ] + ], + [ + [ + 12659, + 12659 + ], + "mapped", + [ + 4384 + ] + ], + [ + [ + 12660, + 12660 + ], + "mapped", + [ + 4386 + ] + ], + [ + [ + 12661, + 12661 + ], + "mapped", + [ + 4387 + ] + ], + [ + [ + 12662, + 12662 + ], + "mapped", + [ + 4391 + ] + ], + [ + [ + 12663, + 12663 + ], + "mapped", + [ + 4393 + ] + ], + [ + [ + 12664, + 12664 + ], + "mapped", + [ + 4395 + ] + ], + [ + [ + 12665, + 12665 + ], + "mapped", + [ + 4396 + ] + ], + [ + [ + 12666, + 12666 + ], + "mapped", + [ + 4397 + ] + ], + [ + [ + 12667, + 12667 + ], + "mapped", + [ + 4398 + ] + ], + [ + [ + 12668, + 12668 + ], + "mapped", + [ + 4399 + ] + ], + [ + [ + 12669, + 12669 + ], + "mapped", + [ + 4402 + ] + ], + [ + [ + 12670, + 12670 + ], + "mapped", + [ + 4406 + ] + ], + [ + [ + 12671, + 12671 + ], + "mapped", + [ + 4416 + ] + ], + [ + [ + 12672, + 12672 + ], + "mapped", + [ + 4423 + ] + ], + [ + [ + 12673, + 12673 + ], + "mapped", + [ + 4428 + ] + ], + [ + [ + 12674, + 12674 + ], + "mapped", + [ + 4593 + ] + ], + [ + [ + 12675, + 12675 + ], + "mapped", + [ + 4594 + ] + ], + [ + [ + 12676, + 12676 + ], + "mapped", + [ + 4439 + ] + ], + [ + [ + 12677, + 12677 + ], + "mapped", + [ + 4440 + ] + ], + [ + [ + 12678, + 12678 + ], + "mapped", + [ + 4441 + ] + ], + [ + [ + 12679, + 12679 + ], + "mapped", + [ + 4484 + ] + ], + [ + [ + 12680, + 12680 + ], + "mapped", + [ + 4485 + ] + ], + [ + [ + 12681, + 12681 + ], + "mapped", + [ + 4488 + ] + ], + [ + [ + 12682, + 12682 + ], + "mapped", + [ + 4497 + ] + ], + [ + [ + 12683, + 12683 + ], + "mapped", + [ + 4498 + ] + ], + [ + [ + 12684, + 12684 + ], + "mapped", + [ + 4500 + ] + ], + [ + [ + 12685, + 12685 + ], + "mapped", + [ + 4510 + ] + ], + [ + [ + 12686, + 12686 + ], + "mapped", + [ + 4513 + ] + ], + [ + [ + 12687, + 12687 + ], + "disallowed" + ], + [ + [ + 12688, + 12689 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12690, + 12690 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 12691, + 12691 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 12692, + 12692 + ], + "mapped", + [ + 19977 + ] + ], + [ + [ + 12693, + 12693 + ], + "mapped", + [ + 22235 + ] + ], + [ + [ + 12694, + 12694 + ], + "mapped", + [ + 19978 + ] + ], + [ + [ + 12695, + 12695 + ], + "mapped", + [ + 20013 + ] + ], + [ + [ + 12696, + 12696 + ], + "mapped", + [ + 19979 + ] + ], + [ + [ + 12697, + 12697 + ], + "mapped", + [ + 30002 + ] + ], + [ + [ + 12698, + 12698 + ], + "mapped", + [ + 20057 + ] + ], + [ + [ + 12699, + 12699 + ], + "mapped", + [ + 19993 + ] + ], + [ + [ + 12700, + 12700 + ], + "mapped", + [ + 19969 + ] + ], + [ + [ + 12701, + 12701 + ], + "mapped", + [ + 22825 + ] + ], + [ + [ + 12702, + 12702 + ], + "mapped", + [ + 22320 + ] + ], + [ + [ + 12703, + 12703 + ], + "mapped", + [ + 20154 + ] + ], + [ + [ + 12704, + 12727 + ], + "valid" + ], + [ + [ + 12728, + 12730 + ], + "valid" + ], + [ + [ + 12731, + 12735 + ], + "disallowed" + ], + [ + [ + 12736, + 12751 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12752, + 12771 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12772, + 12783 + ], + "disallowed" + ], + [ + [ + 12784, + 12799 + ], + "valid" + ], + [ + [ + 12800, + 12800 + ], + "disallowed_STD3_mapped", + [ + 40, + 4352, + 41 + ] + ], + [ + [ + 12801, + 12801 + ], + "disallowed_STD3_mapped", + [ + 40, + 4354, + 41 + ] + ], + [ + [ + 12802, + 12802 + ], + "disallowed_STD3_mapped", + [ + 40, + 4355, + 41 + ] + ], + [ + [ + 12803, + 12803 + ], + "disallowed_STD3_mapped", + [ + 40, + 4357, + 41 + ] + ], + [ + [ + 12804, + 12804 + ], + "disallowed_STD3_mapped", + [ + 40, + 4358, + 41 + ] + ], + [ + [ + 12805, + 12805 + ], + "disallowed_STD3_mapped", + [ + 40, + 4359, + 41 + ] + ], + [ + [ + 12806, + 12806 + ], + "disallowed_STD3_mapped", + [ + 40, + 4361, + 41 + ] + ], + [ + [ + 12807, + 12807 + ], + "disallowed_STD3_mapped", + [ + 40, + 4363, + 41 + ] + ], + [ + [ + 12808, + 12808 + ], + "disallowed_STD3_mapped", + [ + 40, + 4364, + 41 + ] + ], + [ + [ + 12809, + 12809 + ], + "disallowed_STD3_mapped", + [ + 40, + 4366, + 41 + ] + ], + [ + [ + 12810, + 12810 + ], + "disallowed_STD3_mapped", + [ + 40, + 4367, + 41 + ] + ], + [ + [ + 12811, + 12811 + ], + "disallowed_STD3_mapped", + [ + 40, + 4368, + 41 + ] + ], + [ + [ + 12812, + 12812 + ], + "disallowed_STD3_mapped", + [ + 40, + 4369, + 41 + ] + ], + [ + [ + 12813, + 12813 + ], + "disallowed_STD3_mapped", + [ + 40, + 4370, + 41 + ] + ], + [ + [ + 12814, + 12814 + ], + "disallowed_STD3_mapped", + [ + 40, + 44032, + 41 + ] + ], + [ + [ + 12815, + 12815 + ], + "disallowed_STD3_mapped", + [ + 40, + 45208, + 41 + ] + ], + [ + [ + 12816, + 12816 + ], + "disallowed_STD3_mapped", + [ + 40, + 45796, + 41 + ] + ], + [ + [ + 12817, + 12817 + ], + "disallowed_STD3_mapped", + [ + 40, + 46972, + 41 + ] + ], + [ + [ + 12818, + 12818 + ], + "disallowed_STD3_mapped", + [ + 40, + 47560, + 41 + ] + ], + [ + [ + 12819, + 12819 + ], + "disallowed_STD3_mapped", + [ + 40, + 48148, + 41 + ] + ], + [ + [ + 12820, + 12820 + ], + "disallowed_STD3_mapped", + [ + 40, + 49324, + 41 + ] + ], + [ + [ + 12821, + 12821 + ], + "disallowed_STD3_mapped", + [ + 40, + 50500, + 41 + ] + ], + [ + [ + 12822, + 12822 + ], + "disallowed_STD3_mapped", + [ + 40, + 51088, + 41 + ] + ], + [ + [ + 12823, + 12823 + ], + "disallowed_STD3_mapped", + [ + 40, + 52264, + 41 + ] + ], + [ + [ + 12824, + 12824 + ], + "disallowed_STD3_mapped", + [ + 40, + 52852, + 41 + ] + ], + [ + [ + 12825, + 12825 + ], + "disallowed_STD3_mapped", + [ + 40, + 53440, + 41 + ] + ], + [ + [ + 12826, + 12826 + ], + "disallowed_STD3_mapped", + [ + 40, + 54028, + 41 + ] + ], + [ + [ + 12827, + 12827 + ], + "disallowed_STD3_mapped", + [ + 40, + 54616, + 41 + ] + ], + [ + [ + 12828, + 12828 + ], + "disallowed_STD3_mapped", + [ + 40, + 51452, + 41 + ] + ], + [ + [ + 12829, + 12829 + ], + "disallowed_STD3_mapped", + [ + 40, + 50724, + 51204, + 41 + ] + ], + [ + [ + 12830, + 12830 + ], + "disallowed_STD3_mapped", + [ + 40, + 50724, + 54980, + 41 + ] + ], + [ + [ + 12831, + 12831 + ], + "disallowed" + ], + [ + [ + 12832, + 12832 + ], + "disallowed_STD3_mapped", + [ + 40, + 19968, + 41 + ] + ], + [ + [ + 12833, + 12833 + ], + "disallowed_STD3_mapped", + [ + 40, + 20108, + 41 + ] + ], + [ + [ + 12834, + 12834 + ], + "disallowed_STD3_mapped", + [ + 40, + 19977, + 41 + ] + ], + [ + [ + 12835, + 12835 + ], + "disallowed_STD3_mapped", + [ + 40, + 22235, + 41 + ] + ], + [ + [ + 12836, + 12836 + ], + "disallowed_STD3_mapped", + [ + 40, + 20116, + 41 + ] + ], + [ + [ + 12837, + 12837 + ], + "disallowed_STD3_mapped", + [ + 40, + 20845, + 41 + ] + ], + [ + [ + 12838, + 12838 + ], + "disallowed_STD3_mapped", + [ + 40, + 19971, + 41 + ] + ], + [ + [ + 12839, + 12839 + ], + "disallowed_STD3_mapped", + [ + 40, + 20843, + 41 + ] + ], + [ + [ + 12840, + 12840 + ], + "disallowed_STD3_mapped", + [ + 40, + 20061, + 41 + ] + ], + [ + [ + 12841, + 12841 + ], + "disallowed_STD3_mapped", + [ + 40, + 21313, + 41 + ] + ], + [ + [ + 12842, + 12842 + ], + "disallowed_STD3_mapped", + [ + 40, + 26376, + 41 + ] + ], + [ + [ + 12843, + 12843 + ], + "disallowed_STD3_mapped", + [ + 40, + 28779, + 41 + ] + ], + [ + [ + 12844, + 12844 + ], + "disallowed_STD3_mapped", + [ + 40, + 27700, + 41 + ] + ], + [ + [ + 12845, + 12845 + ], + "disallowed_STD3_mapped", + [ + 40, + 26408, + 41 + ] + ], + [ + [ + 12846, + 12846 + ], + "disallowed_STD3_mapped", + [ + 40, + 37329, + 41 + ] + ], + [ + [ + 12847, + 12847 + ], + "disallowed_STD3_mapped", + [ + 40, + 22303, + 41 + ] + ], + [ + [ + 12848, + 12848 + ], + "disallowed_STD3_mapped", + [ + 40, + 26085, + 41 + ] + ], + [ + [ + 12849, + 12849 + ], + "disallowed_STD3_mapped", + [ + 40, + 26666, + 41 + ] + ], + [ + [ + 12850, + 12850 + ], + "disallowed_STD3_mapped", + [ + 40, + 26377, + 41 + ] + ], + [ + [ + 12851, + 12851 + ], + "disallowed_STD3_mapped", + [ + 40, + 31038, + 41 + ] + ], + [ + [ + 12852, + 12852 + ], + "disallowed_STD3_mapped", + [ + 40, + 21517, + 41 + ] + ], + [ + [ + 12853, + 12853 + ], + "disallowed_STD3_mapped", + [ + 40, + 29305, + 41 + ] + ], + [ + [ + 12854, + 12854 + ], + "disallowed_STD3_mapped", + [ + 40, + 36001, + 41 + ] + ], + [ + [ + 12855, + 12855 + ], + "disallowed_STD3_mapped", + [ + 40, + 31069, + 41 + ] + ], + [ + [ + 12856, + 12856 + ], + "disallowed_STD3_mapped", + [ + 40, + 21172, + 41 + ] + ], + [ + [ + 12857, + 12857 + ], + "disallowed_STD3_mapped", + [ + 40, + 20195, + 41 + ] + ], + [ + [ + 12858, + 12858 + ], + "disallowed_STD3_mapped", + [ + 40, + 21628, + 41 + ] + ], + [ + [ + 12859, + 12859 + ], + "disallowed_STD3_mapped", + [ + 40, + 23398, + 41 + ] + ], + [ + [ + 12860, + 12860 + ], + "disallowed_STD3_mapped", + [ + 40, + 30435, + 41 + ] + ], + [ + [ + 12861, + 12861 + ], + "disallowed_STD3_mapped", + [ + 40, + 20225, + 41 + ] + ], + [ + [ + 12862, + 12862 + ], + "disallowed_STD3_mapped", + [ + 40, + 36039, + 41 + ] + ], + [ + [ + 12863, + 12863 + ], + "disallowed_STD3_mapped", + [ + 40, + 21332, + 41 + ] + ], + [ + [ + 12864, + 12864 + ], + "disallowed_STD3_mapped", + [ + 40, + 31085, + 41 + ] + ], + [ + [ + 12865, + 12865 + ], + "disallowed_STD3_mapped", + [ + 40, + 20241, + 41 + ] + ], + [ + [ + 12866, + 12866 + ], + "disallowed_STD3_mapped", + [ + 40, + 33258, + 41 + ] + ], + [ + [ + 12867, + 12867 + ], + "disallowed_STD3_mapped", + [ + 40, + 33267, + 41 + ] + ], + [ + [ + 12868, + 12868 + ], + "mapped", + [ + 21839 + ] + ], + [ + [ + 12869, + 12869 + ], + "mapped", + [ + 24188 + ] + ], + [ + [ + 12870, + 12870 + ], + "mapped", + [ + 25991 + ] + ], + [ + [ + 12871, + 12871 + ], + "mapped", + [ + 31631 + ] + ], + [ + [ + 12872, + 12879 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12880, + 12880 + ], + "mapped", + [ + 112, + 116, + 101 + ] + ], + [ + [ + 12881, + 12881 + ], + "mapped", + [ + 50, + 49 + ] + ], + [ + [ + 12882, + 12882 + ], + "mapped", + [ + 50, + 50 + ] + ], + [ + [ + 12883, + 12883 + ], + "mapped", + [ + 50, + 51 + ] + ], + [ + [ + 12884, + 12884 + ], + "mapped", + [ + 50, + 52 + ] + ], + [ + [ + 12885, + 12885 + ], + "mapped", + [ + 50, + 53 + ] + ], + [ + [ + 12886, + 12886 + ], + "mapped", + [ + 50, + 54 + ] + ], + [ + [ + 12887, + 12887 + ], + "mapped", + [ + 50, + 55 + ] + ], + [ + [ + 12888, + 12888 + ], + "mapped", + [ + 50, + 56 + ] + ], + [ + [ + 12889, + 12889 + ], + "mapped", + [ + 50, + 57 + ] + ], + [ + [ + 12890, + 12890 + ], + "mapped", + [ + 51, + 48 + ] + ], + [ + [ + 12891, + 12891 + ], + "mapped", + [ + 51, + 49 + ] + ], + [ + [ + 12892, + 12892 + ], + "mapped", + [ + 51, + 50 + ] + ], + [ + [ + 12893, + 12893 + ], + "mapped", + [ + 51, + 51 + ] + ], + [ + [ + 12894, + 12894 + ], + "mapped", + [ + 51, + 52 + ] + ], + [ + [ + 12895, + 12895 + ], + "mapped", + [ + 51, + 53 + ] + ], + [ + [ + 12896, + 12896 + ], + "mapped", + [ + 4352 + ] + ], + [ + [ + 12897, + 12897 + ], + "mapped", + [ + 4354 + ] + ], + [ + [ + 12898, + 12898 + ], + "mapped", + [ + 4355 + ] + ], + [ + [ + 12899, + 12899 + ], + "mapped", + [ + 4357 + ] + ], + [ + [ + 12900, + 12900 + ], + "mapped", + [ + 4358 + ] + ], + [ + [ + 12901, + 12901 + ], + "mapped", + [ + 4359 + ] + ], + [ + [ + 12902, + 12902 + ], + "mapped", + [ + 4361 + ] + ], + [ + [ + 12903, + 12903 + ], + "mapped", + [ + 4363 + ] + ], + [ + [ + 12904, + 12904 + ], + "mapped", + [ + 4364 + ] + ], + [ + [ + 12905, + 12905 + ], + "mapped", + [ + 4366 + ] + ], + [ + [ + 12906, + 12906 + ], + "mapped", + [ + 4367 + ] + ], + [ + [ + 12907, + 12907 + ], + "mapped", + [ + 4368 + ] + ], + [ + [ + 12908, + 12908 + ], + "mapped", + [ + 4369 + ] + ], + [ + [ + 12909, + 12909 + ], + "mapped", + [ + 4370 + ] + ], + [ + [ + 12910, + 12910 + ], + "mapped", + [ + 44032 + ] + ], + [ + [ + 12911, + 12911 + ], + "mapped", + [ + 45208 + ] + ], + [ + [ + 12912, + 12912 + ], + "mapped", + [ + 45796 + ] + ], + [ + [ + 12913, + 12913 + ], + "mapped", + [ + 46972 + ] + ], + [ + [ + 12914, + 12914 + ], + "mapped", + [ + 47560 + ] + ], + [ + [ + 12915, + 12915 + ], + "mapped", + [ + 48148 + ] + ], + [ + [ + 12916, + 12916 + ], + "mapped", + [ + 49324 + ] + ], + [ + [ + 12917, + 12917 + ], + "mapped", + [ + 50500 + ] + ], + [ + [ + 12918, + 12918 + ], + "mapped", + [ + 51088 + ] + ], + [ + [ + 12919, + 12919 + ], + "mapped", + [ + 52264 + ] + ], + [ + [ + 12920, + 12920 + ], + "mapped", + [ + 52852 + ] + ], + [ + [ + 12921, + 12921 + ], + "mapped", + [ + 53440 + ] + ], + [ + [ + 12922, + 12922 + ], + "mapped", + [ + 54028 + ] + ], + [ + [ + 12923, + 12923 + ], + "mapped", + [ + 54616 + ] + ], + [ + [ + 12924, + 12924 + ], + "mapped", + [ + 52280, + 44256 + ] + ], + [ + [ + 12925, + 12925 + ], + "mapped", + [ + 51452, + 51032 + ] + ], + [ + [ + 12926, + 12926 + ], + "mapped", + [ + 50864 + ] + ], + [ + [ + 12927, + 12927 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12928, + 12928 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 12929, + 12929 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 12930, + 12930 + ], + "mapped", + [ + 19977 + ] + ], + [ + [ + 12931, + 12931 + ], + "mapped", + [ + 22235 + ] + ], + [ + [ + 12932, + 12932 + ], + "mapped", + [ + 20116 + ] + ], + [ + [ + 12933, + 12933 + ], + "mapped", + [ + 20845 + ] + ], + [ + [ + 12934, + 12934 + ], + "mapped", + [ + 19971 + ] + ], + [ + [ + 12935, + 12935 + ], + "mapped", + [ + 20843 + ] + ], + [ + [ + 12936, + 12936 + ], + "mapped", + [ + 20061 + ] + ], + [ + [ + 12937, + 12937 + ], + "mapped", + [ + 21313 + ] + ], + [ + [ + 12938, + 12938 + ], + "mapped", + [ + 26376 + ] + ], + [ + [ + 12939, + 12939 + ], + "mapped", + [ + 28779 + ] + ], + [ + [ + 12940, + 12940 + ], + "mapped", + [ + 27700 + ] + ], + [ + [ + 12941, + 12941 + ], + "mapped", + [ + 26408 + ] + ], + [ + [ + 12942, + 12942 + ], + "mapped", + [ + 37329 + ] + ], + [ + [ + 12943, + 12943 + ], + "mapped", + [ + 22303 + ] + ], + [ + [ + 12944, + 12944 + ], + "mapped", + [ + 26085 + ] + ], + [ + [ + 12945, + 12945 + ], + "mapped", + [ + 26666 + ] + ], + [ + [ + 12946, + 12946 + ], + "mapped", + [ + 26377 + ] + ], + [ + [ + 12947, + 12947 + ], + "mapped", + [ + 31038 + ] + ], + [ + [ + 12948, + 12948 + ], + "mapped", + [ + 21517 + ] + ], + [ + [ + 12949, + 12949 + ], + "mapped", + [ + 29305 + ] + ], + [ + [ + 12950, + 12950 + ], + "mapped", + [ + 36001 + ] + ], + [ + [ + 12951, + 12951 + ], + "mapped", + [ + 31069 + ] + ], + [ + [ + 12952, + 12952 + ], + "mapped", + [ + 21172 + ] + ], + [ + [ + 12953, + 12953 + ], + "mapped", + [ + 31192 + ] + ], + [ + [ + 12954, + 12954 + ], + "mapped", + [ + 30007 + ] + ], + [ + [ + 12955, + 12955 + ], + "mapped", + [ + 22899 + ] + ], + [ + [ + 12956, + 12956 + ], + "mapped", + [ + 36969 + ] + ], + [ + [ + 12957, + 12957 + ], + "mapped", + [ + 20778 + ] + ], + [ + [ + 12958, + 12958 + ], + "mapped", + [ + 21360 + ] + ], + [ + [ + 12959, + 12959 + ], + "mapped", + [ + 27880 + ] + ], + [ + [ + 12960, + 12960 + ], + "mapped", + [ + 38917 + ] + ], + [ + [ + 12961, + 12961 + ], + "mapped", + [ + 20241 + ] + ], + [ + [ + 12962, + 12962 + ], + "mapped", + [ + 20889 + ] + ], + [ + [ + 12963, + 12963 + ], + "mapped", + [ + 27491 + ] + ], + [ + [ + 12964, + 12964 + ], + "mapped", + [ + 19978 + ] + ], + [ + [ + 12965, + 12965 + ], + "mapped", + [ + 20013 + ] + ], + [ + [ + 12966, + 12966 + ], + "mapped", + [ + 19979 + ] + ], + [ + [ + 12967, + 12967 + ], + "mapped", + [ + 24038 + ] + ], + [ + [ + 12968, + 12968 + ], + "mapped", + [ + 21491 + ] + ], + [ + [ + 12969, + 12969 + ], + "mapped", + [ + 21307 + ] + ], + [ + [ + 12970, + 12970 + ], + "mapped", + [ + 23447 + ] + ], + [ + [ + 12971, + 12971 + ], + "mapped", + [ + 23398 + ] + ], + [ + [ + 12972, + 12972 + ], + "mapped", + [ + 30435 + ] + ], + [ + [ + 12973, + 12973 + ], + "mapped", + [ + 20225 + ] + ], + [ + [ + 12974, + 12974 + ], + "mapped", + [ + 36039 + ] + ], + [ + [ + 12975, + 12975 + ], + "mapped", + [ + 21332 + ] + ], + [ + [ + 12976, + 12976 + ], + "mapped", + [ + 22812 + ] + ], + [ + [ + 12977, + 12977 + ], + "mapped", + [ + 51, + 54 + ] + ], + [ + [ + 12978, + 12978 + ], + "mapped", + [ + 51, + 55 + ] + ], + [ + [ + 12979, + 12979 + ], + "mapped", + [ + 51, + 56 + ] + ], + [ + [ + 12980, + 12980 + ], + "mapped", + [ + 51, + 57 + ] + ], + [ + [ + 12981, + 12981 + ], + "mapped", + [ + 52, + 48 + ] + ], + [ + [ + 12982, + 12982 + ], + "mapped", + [ + 52, + 49 + ] + ], + [ + [ + 12983, + 12983 + ], + "mapped", + [ + 52, + 50 + ] + ], + [ + [ + 12984, + 12984 + ], + "mapped", + [ + 52, + 51 + ] + ], + [ + [ + 12985, + 12985 + ], + "mapped", + [ + 52, + 52 + ] + ], + [ + [ + 12986, + 12986 + ], + "mapped", + [ + 52, + 53 + ] + ], + [ + [ + 12987, + 12987 + ], + "mapped", + [ + 52, + 54 + ] + ], + [ + [ + 12988, + 12988 + ], + "mapped", + [ + 52, + 55 + ] + ], + [ + [ + 12989, + 12989 + ], + "mapped", + [ + 52, + 56 + ] + ], + [ + [ + 12990, + 12990 + ], + "mapped", + [ + 52, + 57 + ] + ], + [ + [ + 12991, + 12991 + ], + "mapped", + [ + 53, + 48 + ] + ], + [ + [ + 12992, + 12992 + ], + "mapped", + [ + 49, + 26376 + ] + ], + [ + [ + 12993, + 12993 + ], + "mapped", + [ + 50, + 26376 + ] + ], + [ + [ + 12994, + 12994 + ], + "mapped", + [ + 51, + 26376 + ] + ], + [ + [ + 12995, + 12995 + ], + "mapped", + [ + 52, + 26376 + ] + ], + [ + [ + 12996, + 12996 + ], + "mapped", + [ + 53, + 26376 + ] + ], + [ + [ + 12997, + 12997 + ], + "mapped", + [ + 54, + 26376 + ] + ], + [ + [ + 12998, + 12998 + ], + "mapped", + [ + 55, + 26376 + ] + ], + [ + [ + 12999, + 12999 + ], + "mapped", + [ + 56, + 26376 + ] + ], + [ + [ + 13000, + 13000 + ], + "mapped", + [ + 57, + 26376 + ] + ], + [ + [ + 13001, + 13001 + ], + "mapped", + [ + 49, + 48, + 26376 + ] + ], + [ + [ + 13002, + 13002 + ], + "mapped", + [ + 49, + 49, + 26376 + ] + ], + [ + [ + 13003, + 13003 + ], + "mapped", + [ + 49, + 50, + 26376 + ] + ], + [ + [ + 13004, + 13004 + ], + "mapped", + [ + 104, + 103 + ] + ], + [ + [ + 13005, + 13005 + ], + "mapped", + [ + 101, + 114, + 103 + ] + ], + [ + [ + 13006, + 13006 + ], + "mapped", + [ + 101, + 118 + ] + ], + [ + [ + 13007, + 13007 + ], + "mapped", + [ + 108, + 116, + 100 + ] + ], + [ + [ + 13008, + 13008 + ], + "mapped", + [ + 12450 + ] + ], + [ + [ + 13009, + 13009 + ], + "mapped", + [ + 12452 + ] + ], + [ + [ + 13010, + 13010 + ], + "mapped", + [ + 12454 + ] + ], + [ + [ + 13011, + 13011 + ], + "mapped", + [ + 12456 + ] + ], + [ + [ + 13012, + 13012 + ], + "mapped", + [ + 12458 + ] + ], + [ + [ + 13013, + 13013 + ], + "mapped", + [ + 12459 + ] + ], + [ + [ + 13014, + 13014 + ], + "mapped", + [ + 12461 + ] + ], + [ + [ + 13015, + 13015 + ], + "mapped", + [ + 12463 + ] + ], + [ + [ + 13016, + 13016 + ], + "mapped", + [ + 12465 + ] + ], + [ + [ + 13017, + 13017 + ], + "mapped", + [ + 12467 + ] + ], + [ + [ + 13018, + 13018 + ], + "mapped", + [ + 12469 + ] + ], + [ + [ + 13019, + 13019 + ], + "mapped", + [ + 12471 + ] + ], + [ + [ + 13020, + 13020 + ], + "mapped", + [ + 12473 + ] + ], + [ + [ + 13021, + 13021 + ], + "mapped", + [ + 12475 + ] + ], + [ + [ + 13022, + 13022 + ], + "mapped", + [ + 12477 + ] + ], + [ + [ + 13023, + 13023 + ], + "mapped", + [ + 12479 + ] + ], + [ + [ + 13024, + 13024 + ], + "mapped", + [ + 12481 + ] + ], + [ + [ + 13025, + 13025 + ], + "mapped", + [ + 12484 + ] + ], + [ + [ + 13026, + 13026 + ], + "mapped", + [ + 12486 + ] + ], + [ + [ + 13027, + 13027 + ], + "mapped", + [ + 12488 + ] + ], + [ + [ + 13028, + 13028 + ], + "mapped", + [ + 12490 + ] + ], + [ + [ + 13029, + 13029 + ], + "mapped", + [ + 12491 + ] + ], + [ + [ + 13030, + 13030 + ], + "mapped", + [ + 12492 + ] + ], + [ + [ + 13031, + 13031 + ], + "mapped", + [ + 12493 + ] + ], + [ + [ + 13032, + 13032 + ], + "mapped", + [ + 12494 + ] + ], + [ + [ + 13033, + 13033 + ], + "mapped", + [ + 12495 + ] + ], + [ + [ + 13034, + 13034 + ], + "mapped", + [ + 12498 + ] + ], + [ + [ + 13035, + 13035 + ], + "mapped", + [ + 12501 + ] + ], + [ + [ + 13036, + 13036 + ], + "mapped", + [ + 12504 + ] + ], + [ + [ + 13037, + 13037 + ], + "mapped", + [ + 12507 + ] + ], + [ + [ + 13038, + 13038 + ], + "mapped", + [ + 12510 + ] + ], + [ + [ + 13039, + 13039 + ], + "mapped", + [ + 12511 + ] + ], + [ + [ + 13040, + 13040 + ], + "mapped", + [ + 12512 + ] + ], + [ + [ + 13041, + 13041 + ], + "mapped", + [ + 12513 + ] + ], + [ + [ + 13042, + 13042 + ], + "mapped", + [ + 12514 + ] + ], + [ + [ + 13043, + 13043 + ], + "mapped", + [ + 12516 + ] + ], + [ + [ + 13044, + 13044 + ], + "mapped", + [ + 12518 + ] + ], + [ + [ + 13045, + 13045 + ], + "mapped", + [ + 12520 + ] + ], + [ + [ + 13046, + 13046 + ], + "mapped", + [ + 12521 + ] + ], + [ + [ + 13047, + 13047 + ], + "mapped", + [ + 12522 + ] + ], + [ + [ + 13048, + 13048 + ], + "mapped", + [ + 12523 + ] + ], + [ + [ + 13049, + 13049 + ], + "mapped", + [ + 12524 + ] + ], + [ + [ + 13050, + 13050 + ], + "mapped", + [ + 12525 + ] + ], + [ + [ + 13051, + 13051 + ], + "mapped", + [ + 12527 + ] + ], + [ + [ + 13052, + 13052 + ], + "mapped", + [ + 12528 + ] + ], + [ + [ + 13053, + 13053 + ], + "mapped", + [ + 12529 + ] + ], + [ + [ + 13054, + 13054 + ], + "mapped", + [ + 12530 + ] + ], + [ + [ + 13055, + 13055 + ], + "disallowed" + ], + [ + [ + 13056, + 13056 + ], + "mapped", + [ + 12450, + 12497, + 12540, + 12488 + ] + ], + [ + [ + 13057, + 13057 + ], + "mapped", + [ + 12450, + 12523, + 12501, + 12449 + ] + ], + [ + [ + 13058, + 13058 + ], + "mapped", + [ + 12450, + 12531, + 12506, + 12450 + ] + ], + [ + [ + 13059, + 13059 + ], + "mapped", + [ + 12450, + 12540, + 12523 + ] + ], + [ + [ + 13060, + 13060 + ], + "mapped", + [ + 12452, + 12491, + 12531, + 12464 + ] + ], + [ + [ + 13061, + 13061 + ], + "mapped", + [ + 12452, + 12531, + 12481 + ] + ], + [ + [ + 13062, + 13062 + ], + "mapped", + [ + 12454, + 12457, + 12531 + ] + ], + [ + [ + 13063, + 13063 + ], + "mapped", + [ + 12456, + 12473, + 12463, + 12540, + 12489 + ] + ], + [ + [ + 13064, + 13064 + ], + "mapped", + [ + 12456, + 12540, + 12459, + 12540 + ] + ], + [ + [ + 13065, + 13065 + ], + "mapped", + [ + 12458, + 12531, + 12473 + ] + ], + [ + [ + 13066, + 13066 + ], + "mapped", + [ + 12458, + 12540, + 12512 + ] + ], + [ + [ + 13067, + 13067 + ], + "mapped", + [ + 12459, + 12452, + 12522 + ] + ], + [ + [ + 13068, + 13068 + ], + "mapped", + [ + 12459, + 12521, + 12483, + 12488 + ] + ], + [ + [ + 13069, + 13069 + ], + "mapped", + [ + 12459, + 12525, + 12522, + 12540 + ] + ], + [ + [ + 13070, + 13070 + ], + "mapped", + [ + 12460, + 12525, + 12531 + ] + ], + [ + [ + 13071, + 13071 + ], + "mapped", + [ + 12460, + 12531, + 12510 + ] + ], + [ + [ + 13072, + 13072 + ], + "mapped", + [ + 12462, + 12460 + ] + ], + [ + [ + 13073, + 13073 + ], + "mapped", + [ + 12462, + 12491, + 12540 + ] + ], + [ + [ + 13074, + 13074 + ], + "mapped", + [ + 12461, + 12517, + 12522, + 12540 + ] + ], + [ + [ + 13075, + 13075 + ], + "mapped", + [ + 12462, + 12523, + 12480, + 12540 + ] + ], + [ + [ + 13076, + 13076 + ], + "mapped", + [ + 12461, + 12525 + ] + ], + [ + [ + 13077, + 13077 + ], + "mapped", + [ + 12461, + 12525, + 12464, + 12521, + 12512 + ] + ], + [ + [ + 13078, + 13078 + ], + "mapped", + [ + 12461, + 12525, + 12513, + 12540, + 12488, + 12523 + ] + ], + [ + [ + 13079, + 13079 + ], + "mapped", + [ + 12461, + 12525, + 12527, + 12483, + 12488 + ] + ], + [ + [ + 13080, + 13080 + ], + "mapped", + [ + 12464, + 12521, + 12512 + ] + ], + [ + [ + 13081, + 13081 + ], + "mapped", + [ + 12464, + 12521, + 12512, + 12488, + 12531 + ] + ], + [ + [ + 13082, + 13082 + ], + "mapped", + [ + 12463, + 12523, + 12476, + 12452, + 12525 + ] + ], + [ + [ + 13083, + 13083 + ], + "mapped", + [ + 12463, + 12525, + 12540, + 12493 + ] + ], + [ + [ + 13084, + 13084 + ], + "mapped", + [ + 12465, + 12540, + 12473 + ] + ], + [ + [ + 13085, + 13085 + ], + "mapped", + [ + 12467, + 12523, + 12490 + ] + ], + [ + [ + 13086, + 13086 + ], + "mapped", + [ + 12467, + 12540, + 12509 + ] + ], + [ + [ + 13087, + 13087 + ], + "mapped", + [ + 12469, + 12452, + 12463, + 12523 + ] + ], + [ + [ + 13088, + 13088 + ], + "mapped", + [ + 12469, + 12531, + 12481, + 12540, + 12512 + ] + ], + [ + [ + 13089, + 13089 + ], + "mapped", + [ + 12471, + 12522, + 12531, + 12464 + ] + ], + [ + [ + 13090, + 13090 + ], + "mapped", + [ + 12475, + 12531, + 12481 + ] + ], + [ + [ + 13091, + 13091 + ], + "mapped", + [ + 12475, + 12531, + 12488 + ] + ], + [ + [ + 13092, + 13092 + ], + "mapped", + [ + 12480, + 12540, + 12473 + ] + ], + [ + [ + 13093, + 13093 + ], + "mapped", + [ + 12487, + 12471 + ] + ], + [ + [ + 13094, + 13094 + ], + "mapped", + [ + 12489, + 12523 + ] + ], + [ + [ + 13095, + 13095 + ], + "mapped", + [ + 12488, + 12531 + ] + ], + [ + [ + 13096, + 13096 + ], + "mapped", + [ + 12490, + 12494 + ] + ], + [ + [ + 13097, + 13097 + ], + "mapped", + [ + 12494, + 12483, + 12488 + ] + ], + [ + [ + 13098, + 13098 + ], + "mapped", + [ + 12495, + 12452, + 12484 + ] + ], + [ + [ + 13099, + 13099 + ], + "mapped", + [ + 12497, + 12540, + 12475, + 12531, + 12488 + ] + ], + [ + [ + 13100, + 13100 + ], + "mapped", + [ + 12497, + 12540, + 12484 + ] + ], + [ + [ + 13101, + 13101 + ], + "mapped", + [ + 12496, + 12540, + 12524, + 12523 + ] + ], + [ + [ + 13102, + 13102 + ], + "mapped", + [ + 12500, + 12450, + 12473, + 12488, + 12523 + ] + ], + [ + [ + 13103, + 13103 + ], + "mapped", + [ + 12500, + 12463, + 12523 + ] + ], + [ + [ + 13104, + 13104 + ], + "mapped", + [ + 12500, + 12467 + ] + ], + [ + [ + 13105, + 13105 + ], + "mapped", + [ + 12499, + 12523 + ] + ], + [ + [ + 13106, + 13106 + ], + "mapped", + [ + 12501, + 12449, + 12521, + 12483, + 12489 + ] + ], + [ + [ + 13107, + 13107 + ], + "mapped", + [ + 12501, + 12451, + 12540, + 12488 + ] + ], + [ + [ + 13108, + 13108 + ], + "mapped", + [ + 12502, + 12483, + 12471, + 12455, + 12523 + ] + ], + [ + [ + 13109, + 13109 + ], + "mapped", + [ + 12501, + 12521, + 12531 + ] + ], + [ + [ + 13110, + 13110 + ], + "mapped", + [ + 12504, + 12463, + 12479, + 12540, + 12523 + ] + ], + [ + [ + 13111, + 13111 + ], + "mapped", + [ + 12506, + 12477 + ] + ], + [ + [ + 13112, + 13112 + ], + "mapped", + [ + 12506, + 12491, + 12498 + ] + ], + [ + [ + 13113, + 13113 + ], + "mapped", + [ + 12504, + 12523, + 12484 + ] + ], + [ + [ + 13114, + 13114 + ], + "mapped", + [ + 12506, + 12531, + 12473 + ] + ], + [ + [ + 13115, + 13115 + ], + "mapped", + [ + 12506, + 12540, + 12472 + ] + ], + [ + [ + 13116, + 13116 + ], + "mapped", + [ + 12505, + 12540, + 12479 + ] + ], + [ + [ + 13117, + 13117 + ], + "mapped", + [ + 12509, + 12452, + 12531, + 12488 + ] + ], + [ + [ + 13118, + 13118 + ], + "mapped", + [ + 12508, + 12523, + 12488 + ] + ], + [ + [ + 13119, + 13119 + ], + "mapped", + [ + 12507, + 12531 + ] + ], + [ + [ + 13120, + 13120 + ], + "mapped", + [ + 12509, + 12531, + 12489 + ] + ], + [ + [ + 13121, + 13121 + ], + "mapped", + [ + 12507, + 12540, + 12523 + ] + ], + [ + [ + 13122, + 13122 + ], + "mapped", + [ + 12507, + 12540, + 12531 + ] + ], + [ + [ + 13123, + 13123 + ], + "mapped", + [ + 12510, + 12452, + 12463, + 12525 + ] + ], + [ + [ + 13124, + 13124 + ], + "mapped", + [ + 12510, + 12452, + 12523 + ] + ], + [ + [ + 13125, + 13125 + ], + "mapped", + [ + 12510, + 12483, + 12495 + ] + ], + [ + [ + 13126, + 13126 + ], + "mapped", + [ + 12510, + 12523, + 12463 + ] + ], + [ + [ + 13127, + 13127 + ], + "mapped", + [ + 12510, + 12531, + 12471, + 12519, + 12531 + ] + ], + [ + [ + 13128, + 13128 + ], + "mapped", + [ + 12511, + 12463, + 12525, + 12531 + ] + ], + [ + [ + 13129, + 13129 + ], + "mapped", + [ + 12511, + 12522 + ] + ], + [ + [ + 13130, + 13130 + ], + "mapped", + [ + 12511, + 12522, + 12496, + 12540, + 12523 + ] + ], + [ + [ + 13131, + 13131 + ], + "mapped", + [ + 12513, + 12460 + ] + ], + [ + [ + 13132, + 13132 + ], + "mapped", + [ + 12513, + 12460, + 12488, + 12531 + ] + ], + [ + [ + 13133, + 13133 + ], + "mapped", + [ + 12513, + 12540, + 12488, + 12523 + ] + ], + [ + [ + 13134, + 13134 + ], + "mapped", + [ + 12516, + 12540, + 12489 + ] + ], + [ + [ + 13135, + 13135 + ], + "mapped", + [ + 12516, + 12540, + 12523 + ] + ], + [ + [ + 13136, + 13136 + ], + "mapped", + [ + 12518, + 12450, + 12531 + ] + ], + [ + [ + 13137, + 13137 + ], + "mapped", + [ + 12522, + 12483, + 12488, + 12523 + ] + ], + [ + [ + 13138, + 13138 + ], + "mapped", + [ + 12522, + 12521 + ] + ], + [ + [ + 13139, + 13139 + ], + "mapped", + [ + 12523, + 12500, + 12540 + ] + ], + [ + [ + 13140, + 13140 + ], + "mapped", + [ + 12523, + 12540, + 12502, + 12523 + ] + ], + [ + [ + 13141, + 13141 + ], + "mapped", + [ + 12524, + 12512 + ] + ], + [ + [ + 13142, + 13142 + ], + "mapped", + [ + 12524, + 12531, + 12488, + 12466, + 12531 + ] + ], + [ + [ + 13143, + 13143 + ], + "mapped", + [ + 12527, + 12483, + 12488 + ] + ], + [ + [ + 13144, + 13144 + ], + "mapped", + [ + 48, + 28857 + ] + ], + [ + [ + 13145, + 13145 + ], + "mapped", + [ + 49, + 28857 + ] + ], + [ + [ + 13146, + 13146 + ], + "mapped", + [ + 50, + 28857 + ] + ], + [ + [ + 13147, + 13147 + ], + "mapped", + [ + 51, + 28857 + ] + ], + [ + [ + 13148, + 13148 + ], + "mapped", + [ + 52, + 28857 + ] + ], + [ + [ + 13149, + 13149 + ], + "mapped", + [ + 53, + 28857 + ] + ], + [ + [ + 13150, + 13150 + ], + "mapped", + [ + 54, + 28857 + ] + ], + [ + [ + 13151, + 13151 + ], + "mapped", + [ + 55, + 28857 + ] + ], + [ + [ + 13152, + 13152 + ], + "mapped", + [ + 56, + 28857 + ] + ], + [ + [ + 13153, + 13153 + ], + "mapped", + [ + 57, + 28857 + ] + ], + [ + [ + 13154, + 13154 + ], + "mapped", + [ + 49, + 48, + 28857 + ] + ], + [ + [ + 13155, + 13155 + ], + "mapped", + [ + 49, + 49, + 28857 + ] + ], + [ + [ + 13156, + 13156 + ], + "mapped", + [ + 49, + 50, + 28857 + ] + ], + [ + [ + 13157, + 13157 + ], + "mapped", + [ + 49, + 51, + 28857 + ] + ], + [ + [ + 13158, + 13158 + ], + "mapped", + [ + 49, + 52, + 28857 + ] + ], + [ + [ + 13159, + 13159 + ], + "mapped", + [ + 49, + 53, + 28857 + ] + ], + [ + [ + 13160, + 13160 + ], + "mapped", + [ + 49, + 54, + 28857 + ] + ], + [ + [ + 13161, + 13161 + ], + "mapped", + [ + 49, + 55, + 28857 + ] + ], + [ + [ + 13162, + 13162 + ], + "mapped", + [ + 49, + 56, + 28857 + ] + ], + [ + [ + 13163, + 13163 + ], + "mapped", + [ + 49, + 57, + 28857 + ] + ], + [ + [ + 13164, + 13164 + ], + "mapped", + [ + 50, + 48, + 28857 + ] + ], + [ + [ + 13165, + 13165 + ], + "mapped", + [ + 50, + 49, + 28857 + ] + ], + [ + [ + 13166, + 13166 + ], + "mapped", + [ + 50, + 50, + 28857 + ] + ], + [ + [ + 13167, + 13167 + ], + "mapped", + [ + 50, + 51, + 28857 + ] + ], + [ + [ + 13168, + 13168 + ], + "mapped", + [ + 50, + 52, + 28857 + ] + ], + [ + [ + 13169, + 13169 + ], + "mapped", + [ + 104, + 112, + 97 + ] + ], + [ + [ + 13170, + 13170 + ], + "mapped", + [ + 100, + 97 + ] + ], + [ + [ + 13171, + 13171 + ], + "mapped", + [ + 97, + 117 + ] + ], + [ + [ + 13172, + 13172 + ], + "mapped", + [ + 98, + 97, + 114 + ] + ], + [ + [ + 13173, + 13173 + ], + "mapped", + [ + 111, + 118 + ] + ], + [ + [ + 13174, + 13174 + ], + "mapped", + [ + 112, + 99 + ] + ], + [ + [ + 13175, + 13175 + ], + "mapped", + [ + 100, + 109 + ] + ], + [ + [ + 13176, + 13176 + ], + "mapped", + [ + 100, + 109, + 50 + ] + ], + [ + [ + 13177, + 13177 + ], + "mapped", + [ + 100, + 109, + 51 + ] + ], + [ + [ + 13178, + 13178 + ], + "mapped", + [ + 105, + 117 + ] + ], + [ + [ + 13179, + 13179 + ], + "mapped", + [ + 24179, + 25104 + ] + ], + [ + [ + 13180, + 13180 + ], + "mapped", + [ + 26157, + 21644 + ] + ], + [ + [ + 13181, + 13181 + ], + "mapped", + [ + 22823, + 27491 + ] + ], + [ + [ + 13182, + 13182 + ], + "mapped", + [ + 26126, + 27835 + ] + ], + [ + [ + 13183, + 13183 + ], + "mapped", + [ + 26666, + 24335, + 20250, + 31038 + ] + ], + [ + [ + 13184, + 13184 + ], + "mapped", + [ + 112, + 97 + ] + ], + [ + [ + 13185, + 13185 + ], + "mapped", + [ + 110, + 97 + ] + ], + [ + [ + 13186, + 13186 + ], + "mapped", + [ + 956, + 97 + ] + ], + [ + [ + 13187, + 13187 + ], + "mapped", + [ + 109, + 97 + ] + ], + [ + [ + 13188, + 13188 + ], + "mapped", + [ + 107, + 97 + ] + ], + [ + [ + 13189, + 13189 + ], + "mapped", + [ + 107, + 98 + ] + ], + [ + [ + 13190, + 13190 + ], + "mapped", + [ + 109, + 98 + ] + ], + [ + [ + 13191, + 13191 + ], + "mapped", + [ + 103, + 98 + ] + ], + [ + [ + 13192, + 13192 + ], + "mapped", + [ + 99, + 97, + 108 + ] + ], + [ + [ + 13193, + 13193 + ], + "mapped", + [ + 107, + 99, + 97, + 108 + ] + ], + [ + [ + 13194, + 13194 + ], + "mapped", + [ + 112, + 102 + ] + ], + [ + [ + 13195, + 13195 + ], + "mapped", + [ + 110, + 102 + ] + ], + [ + [ + 13196, + 13196 + ], + "mapped", + [ + 956, + 102 + ] + ], + [ + [ + 13197, + 13197 + ], + "mapped", + [ + 956, + 103 + ] + ], + [ + [ + 13198, + 13198 + ], + "mapped", + [ + 109, + 103 + ] + ], + [ + [ + 13199, + 13199 + ], + "mapped", + [ + 107, + 103 + ] + ], + [ + [ + 13200, + 13200 + ], + "mapped", + [ + 104, + 122 + ] + ], + [ + [ + 13201, + 13201 + ], + "mapped", + [ + 107, + 104, + 122 + ] + ], + [ + [ + 13202, + 13202 + ], + "mapped", + [ + 109, + 104, + 122 + ] + ], + [ + [ + 13203, + 13203 + ], + "mapped", + [ + 103, + 104, + 122 + ] + ], + [ + [ + 13204, + 13204 + ], + "mapped", + [ + 116, + 104, + 122 + ] + ], + [ + [ + 13205, + 13205 + ], + "mapped", + [ + 956, + 108 + ] + ], + [ + [ + 13206, + 13206 + ], + "mapped", + [ + 109, + 108 + ] + ], + [ + [ + 13207, + 13207 + ], + "mapped", + [ + 100, + 108 + ] + ], + [ + [ + 13208, + 13208 + ], + "mapped", + [ + 107, + 108 + ] + ], + [ + [ + 13209, + 13209 + ], + "mapped", + [ + 102, + 109 + ] + ], + [ + [ + 13210, + 13210 + ], + "mapped", + [ + 110, + 109 + ] + ], + [ + [ + 13211, + 13211 + ], + "mapped", + [ + 956, + 109 + ] + ], + [ + [ + 13212, + 13212 + ], + "mapped", + [ + 109, + 109 + ] + ], + [ + [ + 13213, + 13213 + ], + "mapped", + [ + 99, + 109 + ] + ], + [ + [ + 13214, + 13214 + ], + "mapped", + [ + 107, + 109 + ] + ], + [ + [ + 13215, + 13215 + ], + "mapped", + [ + 109, + 109, + 50 + ] + ], + [ + [ + 13216, + 13216 + ], + "mapped", + [ + 99, + 109, + 50 + ] + ], + [ + [ + 13217, + 13217 + ], + "mapped", + [ + 109, + 50 + ] + ], + [ + [ + 13218, + 13218 + ], + "mapped", + [ + 107, + 109, + 50 + ] + ], + [ + [ + 13219, + 13219 + ], + "mapped", + [ + 109, + 109, + 51 + ] + ], + [ + [ + 13220, + 13220 + ], + "mapped", + [ + 99, + 109, + 51 + ] + ], + [ + [ + 13221, + 13221 + ], + "mapped", + [ + 109, + 51 + ] + ], + [ + [ + 13222, + 13222 + ], + "mapped", + [ + 107, + 109, + 51 + ] + ], + [ + [ + 13223, + 13223 + ], + "mapped", + [ + 109, + 8725, + 115 + ] + ], + [ + [ + 13224, + 13224 + ], + "mapped", + [ + 109, + 8725, + 115, + 50 + ] + ], + [ + [ + 13225, + 13225 + ], + "mapped", + [ + 112, + 97 + ] + ], + [ + [ + 13226, + 13226 + ], + "mapped", + [ + 107, + 112, + 97 + ] + ], + [ + [ + 13227, + 13227 + ], + "mapped", + [ + 109, + 112, + 97 + ] + ], + [ + [ + 13228, + 13228 + ], + "mapped", + [ + 103, + 112, + 97 + ] + ], + [ + [ + 13229, + 13229 + ], + "mapped", + [ + 114, + 97, + 100 + ] + ], + [ + [ + 13230, + 13230 + ], + "mapped", + [ + 114, + 97, + 100, + 8725, + 115 + ] + ], + [ + [ + 13231, + 13231 + ], + "mapped", + [ + 114, + 97, + 100, + 8725, + 115, + 50 + ] + ], + [ + [ + 13232, + 13232 + ], + "mapped", + [ + 112, + 115 + ] + ], + [ + [ + 13233, + 13233 + ], + "mapped", + [ + 110, + 115 + ] + ], + [ + [ + 13234, + 13234 + ], + "mapped", + [ + 956, + 115 + ] + ], + [ + [ + 13235, + 13235 + ], + "mapped", + [ + 109, + 115 + ] + ], + [ + [ + 13236, + 13236 + ], + "mapped", + [ + 112, + 118 + ] + ], + [ + [ + 13237, + 13237 + ], + "mapped", + [ + 110, + 118 + ] + ], + [ + [ + 13238, + 13238 + ], + "mapped", + [ + 956, + 118 + ] + ], + [ + [ + 13239, + 13239 + ], + "mapped", + [ + 109, + 118 + ] + ], + [ + [ + 13240, + 13240 + ], + "mapped", + [ + 107, + 118 + ] + ], + [ + [ + 13241, + 13241 + ], + "mapped", + [ + 109, + 118 + ] + ], + [ + [ + 13242, + 13242 + ], + "mapped", + [ + 112, + 119 + ] + ], + [ + [ + 13243, + 13243 + ], + "mapped", + [ + 110, + 119 + ] + ], + [ + [ + 13244, + 13244 + ], + "mapped", + [ + 956, + 119 + ] + ], + [ + [ + 13245, + 13245 + ], + "mapped", + [ + 109, + 119 + ] + ], + [ + [ + 13246, + 13246 + ], + "mapped", + [ + 107, + 119 + ] + ], + [ + [ + 13247, + 13247 + ], + "mapped", + [ + 109, + 119 + ] + ], + [ + [ + 13248, + 13248 + ], + "mapped", + [ + 107, + 969 + ] + ], + [ + [ + 13249, + 13249 + ], + "mapped", + [ + 109, + 969 + ] + ], + [ + [ + 13250, + 13250 + ], + "disallowed" + ], + [ + [ + 13251, + 13251 + ], + "mapped", + [ + 98, + 113 + ] + ], + [ + [ + 13252, + 13252 + ], + "mapped", + [ + 99, + 99 + ] + ], + [ + [ + 13253, + 13253 + ], + "mapped", + [ + 99, + 100 + ] + ], + [ + [ + 13254, + 13254 + ], + "mapped", + [ + 99, + 8725, + 107, + 103 + ] + ], + [ + [ + 13255, + 13255 + ], + "disallowed" + ], + [ + [ + 13256, + 13256 + ], + "mapped", + [ + 100, + 98 + ] + ], + [ + [ + 13257, + 13257 + ], + "mapped", + [ + 103, + 121 + ] + ], + [ + [ + 13258, + 13258 + ], + "mapped", + [ + 104, + 97 + ] + ], + [ + [ + 13259, + 13259 + ], + "mapped", + [ + 104, + 112 + ] + ], + [ + [ + 13260, + 13260 + ], + "mapped", + [ + 105, + 110 + ] + ], + [ + [ + 13261, + 13261 + ], + "mapped", + [ + 107, + 107 + ] + ], + [ + [ + 13262, + 13262 + ], + "mapped", + [ + 107, + 109 + ] + ], + [ + [ + 13263, + 13263 + ], + "mapped", + [ + 107, + 116 + ] + ], + [ + [ + 13264, + 13264 + ], + "mapped", + [ + 108, + 109 + ] + ], + [ + [ + 13265, + 13265 + ], + "mapped", + [ + 108, + 110 + ] + ], + [ + [ + 13266, + 13266 + ], + "mapped", + [ + 108, + 111, + 103 + ] + ], + [ + [ + 13267, + 13267 + ], + "mapped", + [ + 108, + 120 + ] + ], + [ + [ + 13268, + 13268 + ], + "mapped", + [ + 109, + 98 + ] + ], + [ + [ + 13269, + 13269 + ], + "mapped", + [ + 109, + 105, + 108 + ] + ], + [ + [ + 13270, + 13270 + ], + "mapped", + [ + 109, + 111, + 108 + ] + ], + [ + [ + 13271, + 13271 + ], + "mapped", + [ + 112, + 104 + ] + ], + [ + [ + 13272, + 13272 + ], + "disallowed" + ], + [ + [ + 13273, + 13273 + ], + "mapped", + [ + 112, + 112, + 109 + ] + ], + [ + [ + 13274, + 13274 + ], + "mapped", + [ + 112, + 114 + ] + ], + [ + [ + 13275, + 13275 + ], + "mapped", + [ + 115, + 114 + ] + ], + [ + [ + 13276, + 13276 + ], + "mapped", + [ + 115, + 118 + ] + ], + [ + [ + 13277, + 13277 + ], + "mapped", + [ + 119, + 98 + ] + ], + [ + [ + 13278, + 13278 + ], + "mapped", + [ + 118, + 8725, + 109 + ] + ], + [ + [ + 13279, + 13279 + ], + "mapped", + [ + 97, + 8725, + 109 + ] + ], + [ + [ + 13280, + 13280 + ], + "mapped", + [ + 49, + 26085 + ] + ], + [ + [ + 13281, + 13281 + ], + "mapped", + [ + 50, + 26085 + ] + ], + [ + [ + 13282, + 13282 + ], + "mapped", + [ + 51, + 26085 + ] + ], + [ + [ + 13283, + 13283 + ], + "mapped", + [ + 52, + 26085 + ] + ], + [ + [ + 13284, + 13284 + ], + "mapped", + [ + 53, + 26085 + ] + ], + [ + [ + 13285, + 13285 + ], + "mapped", + [ + 54, + 26085 + ] + ], + [ + [ + 13286, + 13286 + ], + "mapped", + [ + 55, + 26085 + ] + ], + [ + [ + 13287, + 13287 + ], + "mapped", + [ + 56, + 26085 + ] + ], + [ + [ + 13288, + 13288 + ], + "mapped", + [ + 57, + 26085 + ] + ], + [ + [ + 13289, + 13289 + ], + "mapped", + [ + 49, + 48, + 26085 + ] + ], + [ + [ + 13290, + 13290 + ], + "mapped", + [ + 49, + 49, + 26085 + ] + ], + [ + [ + 13291, + 13291 + ], + "mapped", + [ + 49, + 50, + 26085 + ] + ], + [ + [ + 13292, + 13292 + ], + "mapped", + [ + 49, + 51, + 26085 + ] + ], + [ + [ + 13293, + 13293 + ], + "mapped", + [ + 49, + 52, + 26085 + ] + ], + [ + [ + 13294, + 13294 + ], + "mapped", + [ + 49, + 53, + 26085 + ] + ], + [ + [ + 13295, + 13295 + ], + "mapped", + [ + 49, + 54, + 26085 + ] + ], + [ + [ + 13296, + 13296 + ], + "mapped", + [ + 49, + 55, + 26085 + ] + ], + [ + [ + 13297, + 13297 + ], + "mapped", + [ + 49, + 56, + 26085 + ] + ], + [ + [ + 13298, + 13298 + ], + "mapped", + [ + 49, + 57, + 26085 + ] + ], + [ + [ + 13299, + 13299 + ], + "mapped", + [ + 50, + 48, + 26085 + ] + ], + [ + [ + 13300, + 13300 + ], + "mapped", + [ + 50, + 49, + 26085 + ] + ], + [ + [ + 13301, + 13301 + ], + "mapped", + [ + 50, + 50, + 26085 + ] + ], + [ + [ + 13302, + 13302 + ], + "mapped", + [ + 50, + 51, + 26085 + ] + ], + [ + [ + 13303, + 13303 + ], + "mapped", + [ + 50, + 52, + 26085 + ] + ], + [ + [ + 13304, + 13304 + ], + "mapped", + [ + 50, + 53, + 26085 + ] + ], + [ + [ + 13305, + 13305 + ], + "mapped", + [ + 50, + 54, + 26085 + ] + ], + [ + [ + 13306, + 13306 + ], + "mapped", + [ + 50, + 55, + 26085 + ] + ], + [ + [ + 13307, + 13307 + ], + "mapped", + [ + 50, + 56, + 26085 + ] + ], + [ + [ + 13308, + 13308 + ], + "mapped", + [ + 50, + 57, + 26085 + ] + ], + [ + [ + 13309, + 13309 + ], + "mapped", + [ + 51, + 48, + 26085 + ] + ], + [ + [ + 13310, + 13310 + ], + "mapped", + [ + 51, + 49, + 26085 + ] + ], + [ + [ + 13311, + 13311 + ], + "mapped", + [ + 103, + 97, + 108 + ] + ], + [ + [ + 13312, + 19893 + ], + "valid" + ], + [ + [ + 19894, + 19903 + ], + "disallowed" + ], + [ + [ + 19904, + 19967 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 19968, + 40869 + ], + "valid" + ], + [ + [ + 40870, + 40891 + ], + "valid" + ], + [ + [ + 40892, + 40899 + ], + "valid" + ], + [ + [ + 40900, + 40907 + ], + "valid" + ], + [ + [ + 40908, + 40908 + ], + "valid" + ], + [ + [ + 40909, + 40917 + ], + "valid" + ], + [ + [ + 40918, + 40959 + ], + "disallowed" + ], + [ + [ + 40960, + 42124 + ], + "valid" + ], + [ + [ + 42125, + 42127 + ], + "disallowed" + ], + [ + [ + 42128, + 42145 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42146, + 42147 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42148, + 42163 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42164, + 42164 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42165, + 42176 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42177, + 42177 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42178, + 42180 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42181, + 42181 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42182, + 42182 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42183, + 42191 + ], + "disallowed" + ], + [ + [ + 42192, + 42237 + ], + "valid" + ], + [ + [ + 42238, + 42239 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42240, + 42508 + ], + "valid" + ], + [ + [ + 42509, + 42511 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42512, + 42539 + ], + "valid" + ], + [ + [ + 42540, + 42559 + ], + "disallowed" + ], + [ + [ + 42560, + 42560 + ], + "mapped", + [ + 42561 + ] + ], + [ + [ + 42561, + 42561 + ], + "valid" + ], + [ + [ + 42562, + 42562 + ], + "mapped", + [ + 42563 + ] + ], + [ + [ + 42563, + 42563 + ], + "valid" + ], + [ + [ + 42564, + 42564 + ], + "mapped", + [ + 42565 + ] + ], + [ + [ + 42565, + 42565 + ], + "valid" + ], + [ + [ + 42566, + 42566 + ], + "mapped", + [ + 42567 + ] + ], + [ + [ + 42567, + 42567 + ], + "valid" + ], + [ + [ + 42568, + 42568 + ], + "mapped", + [ + 42569 + ] + ], + [ + [ + 42569, + 42569 + ], + "valid" + ], + [ + [ + 42570, + 42570 + ], + "mapped", + [ + 42571 + ] + ], + [ + [ + 42571, + 42571 + ], + "valid" + ], + [ + [ + 42572, + 42572 + ], + "mapped", + [ + 42573 + ] + ], + [ + [ + 42573, + 42573 + ], + "valid" + ], + [ + [ + 42574, + 42574 + ], + "mapped", + [ + 42575 + ] + ], + [ + [ + 42575, + 42575 + ], + "valid" + ], + [ + [ + 42576, + 42576 + ], + "mapped", + [ + 42577 + ] + ], + [ + [ + 42577, + 42577 + ], + "valid" + ], + [ + [ + 42578, + 42578 + ], + "mapped", + [ + 42579 + ] + ], + [ + [ + 42579, + 42579 + ], + "valid" + ], + [ + [ + 42580, + 42580 + ], + "mapped", + [ + 42581 + ] + ], + [ + [ + 42581, + 42581 + ], + "valid" + ], + [ + [ + 42582, + 42582 + ], + "mapped", + [ + 42583 + ] + ], + [ + [ + 42583, + 42583 + ], + "valid" + ], + [ + [ + 42584, + 42584 + ], + "mapped", + [ + 42585 + ] + ], + [ + [ + 42585, + 42585 + ], + "valid" + ], + [ + [ + 42586, + 42586 + ], + "mapped", + [ + 42587 + ] + ], + [ + [ + 42587, + 42587 + ], + "valid" + ], + [ + [ + 42588, + 42588 + ], + "mapped", + [ + 42589 + ] + ], + [ + [ + 42589, + 42589 + ], + "valid" + ], + [ + [ + 42590, + 42590 + ], + "mapped", + [ + 42591 + ] + ], + [ + [ + 42591, + 42591 + ], + "valid" + ], + [ + [ + 42592, + 42592 + ], + "mapped", + [ + 42593 + ] + ], + [ + [ + 42593, + 42593 + ], + "valid" + ], + [ + [ + 42594, + 42594 + ], + "mapped", + [ + 42595 + ] + ], + [ + [ + 42595, + 42595 + ], + "valid" + ], + [ + [ + 42596, + 42596 + ], + "mapped", + [ + 42597 + ] + ], + [ + [ + 42597, + 42597 + ], + "valid" + ], + [ + [ + 42598, + 42598 + ], + "mapped", + [ + 42599 + ] + ], + [ + [ + 42599, + 42599 + ], + "valid" + ], + [ + [ + 42600, + 42600 + ], + "mapped", + [ + 42601 + ] + ], + [ + [ + 42601, + 42601 + ], + "valid" + ], + [ + [ + 42602, + 42602 + ], + "mapped", + [ + 42603 + ] + ], + [ + [ + 42603, + 42603 + ], + "valid" + ], + [ + [ + 42604, + 42604 + ], + "mapped", + [ + 42605 + ] + ], + [ + [ + 42605, + 42607 + ], + "valid" + ], + [ + [ + 42608, + 42611 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42612, + 42619 + ], + "valid" + ], + [ + [ + 42620, + 42621 + ], + "valid" + ], + [ + [ + 42622, + 42622 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42623, + 42623 + ], + "valid" + ], + [ + [ + 42624, + 42624 + ], + "mapped", + [ + 42625 + ] + ], + [ + [ + 42625, + 42625 + ], + "valid" + ], + [ + [ + 42626, + 42626 + ], + "mapped", + [ + 42627 + ] + ], + [ + [ + 42627, + 42627 + ], + "valid" + ], + [ + [ + 42628, + 42628 + ], + "mapped", + [ + 42629 + ] + ], + [ + [ + 42629, + 42629 + ], + "valid" + ], + [ + [ + 42630, + 42630 + ], + "mapped", + [ + 42631 + ] + ], + [ + [ + 42631, + 42631 + ], + "valid" + ], + [ + [ + 42632, + 42632 + ], + "mapped", + [ + 42633 + ] + ], + [ + [ + 42633, + 42633 + ], + "valid" + ], + [ + [ + 42634, + 42634 + ], + "mapped", + [ + 42635 + ] + ], + [ + [ + 42635, + 42635 + ], + "valid" + ], + [ + [ + 42636, + 42636 + ], + "mapped", + [ + 42637 + ] + ], + [ + [ + 42637, + 42637 + ], + "valid" + ], + [ + [ + 42638, + 42638 + ], + "mapped", + [ + 42639 + ] + ], + [ + [ + 42639, + 42639 + ], + "valid" + ], + [ + [ + 42640, + 42640 + ], + "mapped", + [ + 42641 + ] + ], + [ + [ + 42641, + 42641 + ], + "valid" + ], + [ + [ + 42642, + 42642 + ], + "mapped", + [ + 42643 + ] + ], + [ + [ + 42643, + 42643 + ], + "valid" + ], + [ + [ + 42644, + 42644 + ], + "mapped", + [ + 42645 + ] + ], + [ + [ + 42645, + 42645 + ], + "valid" + ], + [ + [ + 42646, + 42646 + ], + "mapped", + [ + 42647 + ] + ], + [ + [ + 42647, + 42647 + ], + "valid" + ], + [ + [ + 42648, + 42648 + ], + "mapped", + [ + 42649 + ] + ], + [ + [ + 42649, + 42649 + ], + "valid" + ], + [ + [ + 42650, + 42650 + ], + "mapped", + [ + 42651 + ] + ], + [ + [ + 42651, + 42651 + ], + "valid" + ], + [ + [ + 42652, + 42652 + ], + "mapped", + [ + 1098 + ] + ], + [ + [ + 42653, + 42653 + ], + "mapped", + [ + 1100 + ] + ], + [ + [ + 42654, + 42654 + ], + "valid" + ], + [ + [ + 42655, + 42655 + ], + "valid" + ], + [ + [ + 42656, + 42725 + ], + "valid" + ], + [ + [ + 42726, + 42735 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42736, + 42737 + ], + "valid" + ], + [ + [ + 42738, + 42743 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42744, + 42751 + ], + "disallowed" + ], + [ + [ + 42752, + 42774 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42775, + 42778 + ], + "valid" + ], + [ + [ + 42779, + 42783 + ], + "valid" + ], + [ + [ + 42784, + 42785 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42786, + 42786 + ], + "mapped", + [ + 42787 + ] + ], + [ + [ + 42787, + 42787 + ], + "valid" + ], + [ + [ + 42788, + 42788 + ], + "mapped", + [ + 42789 + ] + ], + [ + [ + 42789, + 42789 + ], + "valid" + ], + [ + [ + 42790, + 42790 + ], + "mapped", + [ + 42791 + ] + ], + [ + [ + 42791, + 42791 + ], + "valid" + ], + [ + [ + 42792, + 42792 + ], + "mapped", + [ + 42793 + ] + ], + [ + [ + 42793, + 42793 + ], + "valid" + ], + [ + [ + 42794, + 42794 + ], + "mapped", + [ + 42795 + ] + ], + [ + [ + 42795, + 42795 + ], + "valid" + ], + [ + [ + 42796, + 42796 + ], + "mapped", + [ + 42797 + ] + ], + [ + [ + 42797, + 42797 + ], + "valid" + ], + [ + [ + 42798, + 42798 + ], + "mapped", + [ + 42799 + ] + ], + [ + [ + 42799, + 42801 + ], + "valid" + ], + [ + [ + 42802, + 42802 + ], + "mapped", + [ + 42803 + ] + ], + [ + [ + 42803, + 42803 + ], + "valid" + ], + [ + [ + 42804, + 42804 + ], + "mapped", + [ + 42805 + ] + ], + [ + [ + 42805, + 42805 + ], + "valid" + ], + [ + [ + 42806, + 42806 + ], + "mapped", + [ + 42807 + ] + ], + [ + [ + 42807, + 42807 + ], + "valid" + ], + [ + [ + 42808, + 42808 + ], + "mapped", + [ + 42809 + ] + ], + [ + [ + 42809, + 42809 + ], + "valid" + ], + [ + [ + 42810, + 42810 + ], + "mapped", + [ + 42811 + ] + ], + [ + [ + 42811, + 42811 + ], + "valid" + ], + [ + [ + 42812, + 42812 + ], + "mapped", + [ + 42813 + ] + ], + [ + [ + 42813, + 42813 + ], + "valid" + ], + [ + [ + 42814, + 42814 + ], + "mapped", + [ + 42815 + ] + ], + [ + [ + 42815, + 42815 + ], + "valid" + ], + [ + [ + 42816, + 42816 + ], + "mapped", + [ + 42817 + ] + ], + [ + [ + 42817, + 42817 + ], + "valid" + ], + [ + [ + 42818, + 42818 + ], + "mapped", + [ + 42819 + ] + ], + [ + [ + 42819, + 42819 + ], + "valid" + ], + [ + [ + 42820, + 42820 + ], + "mapped", + [ + 42821 + ] + ], + [ + [ + 42821, + 42821 + ], + "valid" + ], + [ + [ + 42822, + 42822 + ], + "mapped", + [ + 42823 + ] + ], + [ + [ + 42823, + 42823 + ], + "valid" + ], + [ + [ + 42824, + 42824 + ], + "mapped", + [ + 42825 + ] + ], + [ + [ + 42825, + 42825 + ], + "valid" + ], + [ + [ + 42826, + 42826 + ], + "mapped", + [ + 42827 + ] + ], + [ + [ + 42827, + 42827 + ], + "valid" + ], + [ + [ + 42828, + 42828 + ], + "mapped", + [ + 42829 + ] + ], + [ + [ + 42829, + 42829 + ], + "valid" + ], + [ + [ + 42830, + 42830 + ], + "mapped", + [ + 42831 + ] + ], + [ + [ + 42831, + 42831 + ], + "valid" + ], + [ + [ + 42832, + 42832 + ], + "mapped", + [ + 42833 + ] + ], + [ + [ + 42833, + 42833 + ], + "valid" + ], + [ + [ + 42834, + 42834 + ], + "mapped", + [ + 42835 + ] + ], + [ + [ + 42835, + 42835 + ], + "valid" + ], + [ + [ + 42836, + 42836 + ], + "mapped", + [ + 42837 + ] + ], + [ + [ + 42837, + 42837 + ], + "valid" + ], + [ + [ + 42838, + 42838 + ], + "mapped", + [ + 42839 + ] + ], + [ + [ + 42839, + 42839 + ], + "valid" + ], + [ + [ + 42840, + 42840 + ], + "mapped", + [ + 42841 + ] + ], + [ + [ + 42841, + 42841 + ], + "valid" + ], + [ + [ + 42842, + 42842 + ], + "mapped", + [ + 42843 + ] + ], + [ + [ + 42843, + 42843 + ], + "valid" + ], + [ + [ + 42844, + 42844 + ], + "mapped", + [ + 42845 + ] + ], + [ + [ + 42845, + 42845 + ], + "valid" + ], + [ + [ + 42846, + 42846 + ], + "mapped", + [ + 42847 + ] + ], + [ + [ + 42847, + 42847 + ], + "valid" + ], + [ + [ + 42848, + 42848 + ], + "mapped", + [ + 42849 + ] + ], + [ + [ + 42849, + 42849 + ], + "valid" + ], + [ + [ + 42850, + 42850 + ], + "mapped", + [ + 42851 + ] + ], + [ + [ + 42851, + 42851 + ], + "valid" + ], + [ + [ + 42852, + 42852 + ], + "mapped", + [ + 42853 + ] + ], + [ + [ + 42853, + 42853 + ], + "valid" + ], + [ + [ + 42854, + 42854 + ], + "mapped", + [ + 42855 + ] + ], + [ + [ + 42855, + 42855 + ], + "valid" + ], + [ + [ + 42856, + 42856 + ], + "mapped", + [ + 42857 + ] + ], + [ + [ + 42857, + 42857 + ], + "valid" + ], + [ + [ + 42858, + 42858 + ], + "mapped", + [ + 42859 + ] + ], + [ + [ + 42859, + 42859 + ], + "valid" + ], + [ + [ + 42860, + 42860 + ], + "mapped", + [ + 42861 + ] + ], + [ + [ + 42861, + 42861 + ], + "valid" + ], + [ + [ + 42862, + 42862 + ], + "mapped", + [ + 42863 + ] + ], + [ + [ + 42863, + 42863 + ], + "valid" + ], + [ + [ + 42864, + 42864 + ], + "mapped", + [ + 42863 + ] + ], + [ + [ + 42865, + 42872 + ], + "valid" + ], + [ + [ + 42873, + 42873 + ], + "mapped", + [ + 42874 + ] + ], + [ + [ + 42874, + 42874 + ], + "valid" + ], + [ + [ + 42875, + 42875 + ], + "mapped", + [ + 42876 + ] + ], + [ + [ + 42876, + 42876 + ], + "valid" + ], + [ + [ + 42877, + 42877 + ], + "mapped", + [ + 7545 + ] + ], + [ + [ + 42878, + 42878 + ], + "mapped", + [ + 42879 + ] + ], + [ + [ + 42879, + 42879 + ], + "valid" + ], + [ + [ + 42880, + 42880 + ], + "mapped", + [ + 42881 + ] + ], + [ + [ + 42881, + 42881 + ], + "valid" + ], + [ + [ + 42882, + 42882 + ], + "mapped", + [ + 42883 + ] + ], + [ + [ + 42883, + 42883 + ], + "valid" + ], + [ + [ + 42884, + 42884 + ], + "mapped", + [ + 42885 + ] + ], + [ + [ + 42885, + 42885 + ], + "valid" + ], + [ + [ + 42886, + 42886 + ], + "mapped", + [ + 42887 + ] + ], + [ + [ + 42887, + 42888 + ], + "valid" + ], + [ + [ + 42889, + 42890 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42891, + 42891 + ], + "mapped", + [ + 42892 + ] + ], + [ + [ + 42892, + 42892 + ], + "valid" + ], + [ + [ + 42893, + 42893 + ], + "mapped", + [ + 613 + ] + ], + [ + [ + 42894, + 42894 + ], + "valid" + ], + [ + [ + 42895, + 42895 + ], + "valid" + ], + [ + [ + 42896, + 42896 + ], + "mapped", + [ + 42897 + ] + ], + [ + [ + 42897, + 42897 + ], + "valid" + ], + [ + [ + 42898, + 42898 + ], + "mapped", + [ + 42899 + ] + ], + [ + [ + 42899, + 42899 + ], + "valid" + ], + [ + [ + 42900, + 42901 + ], + "valid" + ], + [ + [ + 42902, + 42902 + ], + "mapped", + [ + 42903 + ] + ], + [ + [ + 42903, + 42903 + ], + "valid" + ], + [ + [ + 42904, + 42904 + ], + "mapped", + [ + 42905 + ] + ], + [ + [ + 42905, + 42905 + ], + "valid" + ], + [ + [ + 42906, + 42906 + ], + "mapped", + [ + 42907 + ] + ], + [ + [ + 42907, + 42907 + ], + "valid" + ], + [ + [ + 42908, + 42908 + ], + "mapped", + [ + 42909 + ] + ], + [ + [ + 42909, + 42909 + ], + "valid" + ], + [ + [ + 42910, + 42910 + ], + "mapped", + [ + 42911 + ] + ], + [ + [ + 42911, + 42911 + ], + "valid" + ], + [ + [ + 42912, + 42912 + ], + "mapped", + [ + 42913 + ] + ], + [ + [ + 42913, + 42913 + ], + "valid" + ], + [ + [ + 42914, + 42914 + ], + "mapped", + [ + 42915 + ] + ], + [ + [ + 42915, + 42915 + ], + "valid" + ], + [ + [ + 42916, + 42916 + ], + "mapped", + [ + 42917 + ] + ], + [ + [ + 42917, + 42917 + ], + "valid" + ], + [ + [ + 42918, + 42918 + ], + "mapped", + [ + 42919 + ] + ], + [ + [ + 42919, + 42919 + ], + "valid" + ], + [ + [ + 42920, + 42920 + ], + "mapped", + [ + 42921 + ] + ], + [ + [ + 42921, + 42921 + ], + "valid" + ], + [ + [ + 42922, + 42922 + ], + "mapped", + [ + 614 + ] + ], + [ + [ + 42923, + 42923 + ], + "mapped", + [ + 604 + ] + ], + [ + [ + 42924, + 42924 + ], + "mapped", + [ + 609 + ] + ], + [ + [ + 42925, + 42925 + ], + "mapped", + [ + 620 + ] + ], + [ + [ + 42926, + 42927 + ], + "disallowed" + ], + [ + [ + 42928, + 42928 + ], + "mapped", + [ + 670 + ] + ], + [ + [ + 42929, + 42929 + ], + "mapped", + [ + 647 + ] + ], + [ + [ + 42930, + 42930 + ], + "mapped", + [ + 669 + ] + ], + [ + [ + 42931, + 42931 + ], + "mapped", + [ + 43859 + ] + ], + [ + [ + 42932, + 42932 + ], + "mapped", + [ + 42933 + ] + ], + [ + [ + 42933, + 42933 + ], + "valid" + ], + [ + [ + 42934, + 42934 + ], + "mapped", + [ + 42935 + ] + ], + [ + [ + 42935, + 42935 + ], + "valid" + ], + [ + [ + 42936, + 42998 + ], + "disallowed" + ], + [ + [ + 42999, + 42999 + ], + "valid" + ], + [ + [ + 43000, + 43000 + ], + "mapped", + [ + 295 + ] + ], + [ + [ + 43001, + 43001 + ], + "mapped", + [ + 339 + ] + ], + [ + [ + 43002, + 43002 + ], + "valid" + ], + [ + [ + 43003, + 43007 + ], + "valid" + ], + [ + [ + 43008, + 43047 + ], + "valid" + ], + [ + [ + 43048, + 43051 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43052, + 43055 + ], + "disallowed" + ], + [ + [ + 43056, + 43065 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43066, + 43071 + ], + "disallowed" + ], + [ + [ + 43072, + 43123 + ], + "valid" + ], + [ + [ + 43124, + 43127 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43128, + 43135 + ], + "disallowed" + ], + [ + [ + 43136, + 43204 + ], + "valid" + ], + [ + [ + 43205, + 43213 + ], + "disallowed" + ], + [ + [ + 43214, + 43215 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43216, + 43225 + ], + "valid" + ], + [ + [ + 43226, + 43231 + ], + "disallowed" + ], + [ + [ + 43232, + 43255 + ], + "valid" + ], + [ + [ + 43256, + 43258 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43259, + 43259 + ], + "valid" + ], + [ + [ + 43260, + 43260 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43261, + 43261 + ], + "valid" + ], + [ + [ + 43262, + 43263 + ], + "disallowed" + ], + [ + [ + 43264, + 43309 + ], + "valid" + ], + [ + [ + 43310, + 43311 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43312, + 43347 + ], + "valid" + ], + [ + [ + 43348, + 43358 + ], + "disallowed" + ], + [ + [ + 43359, + 43359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43360, + 43388 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43389, + 43391 + ], + "disallowed" + ], + [ + [ + 43392, + 43456 + ], + "valid" + ], + [ + [ + 43457, + 43469 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43470, + 43470 + ], + "disallowed" + ], + [ + [ + 43471, + 43481 + ], + "valid" + ], + [ + [ + 43482, + 43485 + ], + "disallowed" + ], + [ + [ + 43486, + 43487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43488, + 43518 + ], + "valid" + ], + [ + [ + 43519, + 43519 + ], + "disallowed" + ], + [ + [ + 43520, + 43574 + ], + "valid" + ], + [ + [ + 43575, + 43583 + ], + "disallowed" + ], + [ + [ + 43584, + 43597 + ], + "valid" + ], + [ + [ + 43598, + 43599 + ], + "disallowed" + ], + [ + [ + 43600, + 43609 + ], + "valid" + ], + [ + [ + 43610, + 43611 + ], + "disallowed" + ], + [ + [ + 43612, + 43615 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43616, + 43638 + ], + "valid" + ], + [ + [ + 43639, + 43641 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43642, + 43643 + ], + "valid" + ], + [ + [ + 43644, + 43647 + ], + "valid" + ], + [ + [ + 43648, + 43714 + ], + "valid" + ], + [ + [ + 43715, + 43738 + ], + "disallowed" + ], + [ + [ + 43739, + 43741 + ], + "valid" + ], + [ + [ + 43742, + 43743 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43744, + 43759 + ], + "valid" + ], + [ + [ + 43760, + 43761 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43762, + 43766 + ], + "valid" + ], + [ + [ + 43767, + 43776 + ], + "disallowed" + ], + [ + [ + 43777, + 43782 + ], + "valid" + ], + [ + [ + 43783, + 43784 + ], + "disallowed" + ], + [ + [ + 43785, + 43790 + ], + "valid" + ], + [ + [ + 43791, + 43792 + ], + "disallowed" + ], + [ + [ + 43793, + 43798 + ], + "valid" + ], + [ + [ + 43799, + 43807 + ], + "disallowed" + ], + [ + [ + 43808, + 43814 + ], + "valid" + ], + [ + [ + 43815, + 43815 + ], + "disallowed" + ], + [ + [ + 43816, + 43822 + ], + "valid" + ], + [ + [ + 43823, + 43823 + ], + "disallowed" + ], + [ + [ + 43824, + 43866 + ], + "valid" + ], + [ + [ + 43867, + 43867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43868, + 43868 + ], + "mapped", + [ + 42791 + ] + ], + [ + [ + 43869, + 43869 + ], + "mapped", + [ + 43831 + ] + ], + [ + [ + 43870, + 43870 + ], + "mapped", + [ + 619 + ] + ], + [ + [ + 43871, + 43871 + ], + "mapped", + [ + 43858 + ] + ], + [ + [ + 43872, + 43875 + ], + "valid" + ], + [ + [ + 43876, + 43877 + ], + "valid" + ], + [ + [ + 43878, + 43887 + ], + "disallowed" + ], + [ + [ + 43888, + 43888 + ], + "mapped", + [ + 5024 + ] + ], + [ + [ + 43889, + 43889 + ], + "mapped", + [ + 5025 + ] + ], + [ + [ + 43890, + 43890 + ], + "mapped", + [ + 5026 + ] + ], + [ + [ + 43891, + 43891 + ], + "mapped", + [ + 5027 + ] + ], + [ + [ + 43892, + 43892 + ], + "mapped", + [ + 5028 + ] + ], + [ + [ + 43893, + 43893 + ], + "mapped", + [ + 5029 + ] + ], + [ + [ + 43894, + 43894 + ], + "mapped", + [ + 5030 + ] + ], + [ + [ + 43895, + 43895 + ], + "mapped", + [ + 5031 + ] + ], + [ + [ + 43896, + 43896 + ], + "mapped", + [ + 5032 + ] + ], + [ + [ + 43897, + 43897 + ], + "mapped", + [ + 5033 + ] + ], + [ + [ + 43898, + 43898 + ], + "mapped", + [ + 5034 + ] + ], + [ + [ + 43899, + 43899 + ], + "mapped", + [ + 5035 + ] + ], + [ + [ + 43900, + 43900 + ], + "mapped", + [ + 5036 + ] + ], + [ + [ + 43901, + 43901 + ], + "mapped", + [ + 5037 + ] + ], + [ + [ + 43902, + 43902 + ], + "mapped", + [ + 5038 + ] + ], + [ + [ + 43903, + 43903 + ], + "mapped", + [ + 5039 + ] + ], + [ + [ + 43904, + 43904 + ], + "mapped", + [ + 5040 + ] + ], + [ + [ + 43905, + 43905 + ], + "mapped", + [ + 5041 + ] + ], + [ + [ + 43906, + 43906 + ], + "mapped", + [ + 5042 + ] + ], + [ + [ + 43907, + 43907 + ], + "mapped", + [ + 5043 + ] + ], + [ + [ + 43908, + 43908 + ], + "mapped", + [ + 5044 + ] + ], + [ + [ + 43909, + 43909 + ], + "mapped", + [ + 5045 + ] + ], + [ + [ + 43910, + 43910 + ], + "mapped", + [ + 5046 + ] + ], + [ + [ + 43911, + 43911 + ], + "mapped", + [ + 5047 + ] + ], + [ + [ + 43912, + 43912 + ], + "mapped", + [ + 5048 + ] + ], + [ + [ + 43913, + 43913 + ], + "mapped", + [ + 5049 + ] + ], + [ + [ + 43914, + 43914 + ], + "mapped", + [ + 5050 + ] + ], + [ + [ + 43915, + 43915 + ], + "mapped", + [ + 5051 + ] + ], + [ + [ + 43916, + 43916 + ], + "mapped", + [ + 5052 + ] + ], + [ + [ + 43917, + 43917 + ], + "mapped", + [ + 5053 + ] + ], + [ + [ + 43918, + 43918 + ], + "mapped", + [ + 5054 + ] + ], + [ + [ + 43919, + 43919 + ], + "mapped", + [ + 5055 + ] + ], + [ + [ + 43920, + 43920 + ], + "mapped", + [ + 5056 + ] + ], + [ + [ + 43921, + 43921 + ], + "mapped", + [ + 5057 + ] + ], + [ + [ + 43922, + 43922 + ], + "mapped", + [ + 5058 + ] + ], + [ + [ + 43923, + 43923 + ], + "mapped", + [ + 5059 + ] + ], + [ + [ + 43924, + 43924 + ], + "mapped", + [ + 5060 + ] + ], + [ + [ + 43925, + 43925 + ], + "mapped", + [ + 5061 + ] + ], + [ + [ + 43926, + 43926 + ], + "mapped", + [ + 5062 + ] + ], + [ + [ + 43927, + 43927 + ], + "mapped", + [ + 5063 + ] + ], + [ + [ + 43928, + 43928 + ], + "mapped", + [ + 5064 + ] + ], + [ + [ + 43929, + 43929 + ], + "mapped", + [ + 5065 + ] + ], + [ + [ + 43930, + 43930 + ], + "mapped", + [ + 5066 + ] + ], + [ + [ + 43931, + 43931 + ], + "mapped", + [ + 5067 + ] + ], + [ + [ + 43932, + 43932 + ], + "mapped", + [ + 5068 + ] + ], + [ + [ + 43933, + 43933 + ], + "mapped", + [ + 5069 + ] + ], + [ + [ + 43934, + 43934 + ], + "mapped", + [ + 5070 + ] + ], + [ + [ + 43935, + 43935 + ], + "mapped", + [ + 5071 + ] + ], + [ + [ + 43936, + 43936 + ], + "mapped", + [ + 5072 + ] + ], + [ + [ + 43937, + 43937 + ], + "mapped", + [ + 5073 + ] + ], + [ + [ + 43938, + 43938 + ], + "mapped", + [ + 5074 + ] + ], + [ + [ + 43939, + 43939 + ], + "mapped", + [ + 5075 + ] + ], + [ + [ + 43940, + 43940 + ], + "mapped", + [ + 5076 + ] + ], + [ + [ + 43941, + 43941 + ], + "mapped", + [ + 5077 + ] + ], + [ + [ + 43942, + 43942 + ], + "mapped", + [ + 5078 + ] + ], + [ + [ + 43943, + 43943 + ], + "mapped", + [ + 5079 + ] + ], + [ + [ + 43944, + 43944 + ], + "mapped", + [ + 5080 + ] + ], + [ + [ + 43945, + 43945 + ], + "mapped", + [ + 5081 + ] + ], + [ + [ + 43946, + 43946 + ], + "mapped", + [ + 5082 + ] + ], + [ + [ + 43947, + 43947 + ], + "mapped", + [ + 5083 + ] + ], + [ + [ + 43948, + 43948 + ], + "mapped", + [ + 5084 + ] + ], + [ + [ + 43949, + 43949 + ], + "mapped", + [ + 5085 + ] + ], + [ + [ + 43950, + 43950 + ], + "mapped", + [ + 5086 + ] + ], + [ + [ + 43951, + 43951 + ], + "mapped", + [ + 5087 + ] + ], + [ + [ + 43952, + 43952 + ], + "mapped", + [ + 5088 + ] + ], + [ + [ + 43953, + 43953 + ], + "mapped", + [ + 5089 + ] + ], + [ + [ + 43954, + 43954 + ], + "mapped", + [ + 5090 + ] + ], + [ + [ + 43955, + 43955 + ], + "mapped", + [ + 5091 + ] + ], + [ + [ + 43956, + 43956 + ], + "mapped", + [ + 5092 + ] + ], + [ + [ + 43957, + 43957 + ], + "mapped", + [ + 5093 + ] + ], + [ + [ + 43958, + 43958 + ], + "mapped", + [ + 5094 + ] + ], + [ + [ + 43959, + 43959 + ], + "mapped", + [ + 5095 + ] + ], + [ + [ + 43960, + 43960 + ], + "mapped", + [ + 5096 + ] + ], + [ + [ + 43961, + 43961 + ], + "mapped", + [ + 5097 + ] + ], + [ + [ + 43962, + 43962 + ], + "mapped", + [ + 5098 + ] + ], + [ + [ + 43963, + 43963 + ], + "mapped", + [ + 5099 + ] + ], + [ + [ + 43964, + 43964 + ], + "mapped", + [ + 5100 + ] + ], + [ + [ + 43965, + 43965 + ], + "mapped", + [ + 5101 + ] + ], + [ + [ + 43966, + 43966 + ], + "mapped", + [ + 5102 + ] + ], + [ + [ + 43967, + 43967 + ], + "mapped", + [ + 5103 + ] + ], + [ + [ + 43968, + 44010 + ], + "valid" + ], + [ + [ + 44011, + 44011 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 44012, + 44013 + ], + "valid" + ], + [ + [ + 44014, + 44015 + ], + "disallowed" + ], + [ + [ + 44016, + 44025 + ], + "valid" + ], + [ + [ + 44026, + 44031 + ], + "disallowed" + ], + [ + [ + 44032, + 55203 + ], + "valid" + ], + [ + [ + 55204, + 55215 + ], + "disallowed" + ], + [ + [ + 55216, + 55238 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 55239, + 55242 + ], + "disallowed" + ], + [ + [ + 55243, + 55291 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 55292, + 55295 + ], + "disallowed" + ], + [ + [ + 55296, + 57343 + ], + "disallowed" + ], + [ + [ + 57344, + 63743 + ], + "disallowed" + ], + [ + [ + 63744, + 63744 + ], + "mapped", + [ + 35912 + ] + ], + [ + [ + 63745, + 63745 + ], + "mapped", + [ + 26356 + ] + ], + [ + [ + 63746, + 63746 + ], + "mapped", + [ + 36554 + ] + ], + [ + [ + 63747, + 63747 + ], + "mapped", + [ + 36040 + ] + ], + [ + [ + 63748, + 63748 + ], + "mapped", + [ + 28369 + ] + ], + [ + [ + 63749, + 63749 + ], + "mapped", + [ + 20018 + ] + ], + [ + [ + 63750, + 63750 + ], + "mapped", + [ + 21477 + ] + ], + [ + [ + 63751, + 63752 + ], + "mapped", + [ + 40860 + ] + ], + [ + [ + 63753, + 63753 + ], + "mapped", + [ + 22865 + ] + ], + [ + [ + 63754, + 63754 + ], + "mapped", + [ + 37329 + ] + ], + [ + [ + 63755, + 63755 + ], + "mapped", + [ + 21895 + ] + ], + [ + [ + 63756, + 63756 + ], + "mapped", + [ + 22856 + ] + ], + [ + [ + 63757, + 63757 + ], + "mapped", + [ + 25078 + ] + ], + [ + [ + 63758, + 63758 + ], + "mapped", + [ + 30313 + ] + ], + [ + [ + 63759, + 63759 + ], + "mapped", + [ + 32645 + ] + ], + [ + [ + 63760, + 63760 + ], + "mapped", + [ + 34367 + ] + ], + [ + [ + 63761, + 63761 + ], + "mapped", + [ + 34746 + ] + ], + [ + [ + 63762, + 63762 + ], + "mapped", + [ + 35064 + ] + ], + [ + [ + 63763, + 63763 + ], + "mapped", + [ + 37007 + ] + ], + [ + [ + 63764, + 63764 + ], + "mapped", + [ + 27138 + ] + ], + [ + [ + 63765, + 63765 + ], + "mapped", + [ + 27931 + ] + ], + [ + [ + 63766, + 63766 + ], + "mapped", + [ + 28889 + ] + ], + [ + [ + 63767, + 63767 + ], + "mapped", + [ + 29662 + ] + ], + [ + [ + 63768, + 63768 + ], + "mapped", + [ + 33853 + ] + ], + [ + [ + 63769, + 63769 + ], + "mapped", + [ + 37226 + ] + ], + [ + [ + 63770, + 63770 + ], + "mapped", + [ + 39409 + ] + ], + [ + [ + 63771, + 63771 + ], + "mapped", + [ + 20098 + ] + ], + [ + [ + 63772, + 63772 + ], + "mapped", + [ + 21365 + ] + ], + [ + [ + 63773, + 63773 + ], + "mapped", + [ + 27396 + ] + ], + [ + [ + 63774, + 63774 + ], + "mapped", + [ + 29211 + ] + ], + [ + [ + 63775, + 63775 + ], + "mapped", + [ + 34349 + ] + ], + [ + [ + 63776, + 63776 + ], + "mapped", + [ + 40478 + ] + ], + [ + [ + 63777, + 63777 + ], + "mapped", + [ + 23888 + ] + ], + [ + [ + 63778, + 63778 + ], + "mapped", + [ + 28651 + ] + ], + [ + [ + 63779, + 63779 + ], + "mapped", + [ + 34253 + ] + ], + [ + [ + 63780, + 63780 + ], + "mapped", + [ + 35172 + ] + ], + [ + [ + 63781, + 63781 + ], + "mapped", + [ + 25289 + ] + ], + [ + [ + 63782, + 63782 + ], + "mapped", + [ + 33240 + ] + ], + [ + [ + 63783, + 63783 + ], + "mapped", + [ + 34847 + ] + ], + [ + [ + 63784, + 63784 + ], + "mapped", + [ + 24266 + ] + ], + [ + [ + 63785, + 63785 + ], + "mapped", + [ + 26391 + ] + ], + [ + [ + 63786, + 63786 + ], + "mapped", + [ + 28010 + ] + ], + [ + [ + 63787, + 63787 + ], + "mapped", + [ + 29436 + ] + ], + [ + [ + 63788, + 63788 + ], + "mapped", + [ + 37070 + ] + ], + [ + [ + 63789, + 63789 + ], + "mapped", + [ + 20358 + ] + ], + [ + [ + 63790, + 63790 + ], + "mapped", + [ + 20919 + ] + ], + [ + [ + 63791, + 63791 + ], + "mapped", + [ + 21214 + ] + ], + [ + [ + 63792, + 63792 + ], + "mapped", + [ + 25796 + ] + ], + [ + [ + 63793, + 63793 + ], + "mapped", + [ + 27347 + ] + ], + [ + [ + 63794, + 63794 + ], + "mapped", + [ + 29200 + ] + ], + [ + [ + 63795, + 63795 + ], + "mapped", + [ + 30439 + ] + ], + [ + [ + 63796, + 63796 + ], + "mapped", + [ + 32769 + ] + ], + [ + [ + 63797, + 63797 + ], + "mapped", + [ + 34310 + ] + ], + [ + [ + 63798, + 63798 + ], + "mapped", + [ + 34396 + ] + ], + [ + [ + 63799, + 63799 + ], + "mapped", + [ + 36335 + ] + ], + [ + [ + 63800, + 63800 + ], + "mapped", + [ + 38706 + ] + ], + [ + [ + 63801, + 63801 + ], + "mapped", + [ + 39791 + ] + ], + [ + [ + 63802, + 63802 + ], + "mapped", + [ + 40442 + ] + ], + [ + [ + 63803, + 63803 + ], + "mapped", + [ + 30860 + ] + ], + [ + [ + 63804, + 63804 + ], + "mapped", + [ + 31103 + ] + ], + [ + [ + 63805, + 63805 + ], + "mapped", + [ + 32160 + ] + ], + [ + [ + 63806, + 63806 + ], + "mapped", + [ + 33737 + ] + ], + [ + [ + 63807, + 63807 + ], + "mapped", + [ + 37636 + ] + ], + [ + [ + 63808, + 63808 + ], + "mapped", + [ + 40575 + ] + ], + [ + [ + 63809, + 63809 + ], + "mapped", + [ + 35542 + ] + ], + [ + [ + 63810, + 63810 + ], + "mapped", + [ + 22751 + ] + ], + [ + [ + 63811, + 63811 + ], + "mapped", + [ + 24324 + ] + ], + [ + [ + 63812, + 63812 + ], + "mapped", + [ + 31840 + ] + ], + [ + [ + 63813, + 63813 + ], + "mapped", + [ + 32894 + ] + ], + [ + [ + 63814, + 63814 + ], + "mapped", + [ + 29282 + ] + ], + [ + [ + 63815, + 63815 + ], + "mapped", + [ + 30922 + ] + ], + [ + [ + 63816, + 63816 + ], + "mapped", + [ + 36034 + ] + ], + [ + [ + 63817, + 63817 + ], + "mapped", + [ + 38647 + ] + ], + [ + [ + 63818, + 63818 + ], + "mapped", + [ + 22744 + ] + ], + [ + [ + 63819, + 63819 + ], + "mapped", + [ + 23650 + ] + ], + [ + [ + 63820, + 63820 + ], + "mapped", + [ + 27155 + ] + ], + [ + [ + 63821, + 63821 + ], + "mapped", + [ + 28122 + ] + ], + [ + [ + 63822, + 63822 + ], + "mapped", + [ + 28431 + ] + ], + [ + [ + 63823, + 63823 + ], + "mapped", + [ + 32047 + ] + ], + [ + [ + 63824, + 63824 + ], + "mapped", + [ + 32311 + ] + ], + [ + [ + 63825, + 63825 + ], + "mapped", + [ + 38475 + ] + ], + [ + [ + 63826, + 63826 + ], + "mapped", + [ + 21202 + ] + ], + [ + [ + 63827, + 63827 + ], + "mapped", + [ + 32907 + ] + ], + [ + [ + 63828, + 63828 + ], + "mapped", + [ + 20956 + ] + ], + [ + [ + 63829, + 63829 + ], + "mapped", + [ + 20940 + ] + ], + [ + [ + 63830, + 63830 + ], + "mapped", + [ + 31260 + ] + ], + [ + [ + 63831, + 63831 + ], + "mapped", + [ + 32190 + ] + ], + [ + [ + 63832, + 63832 + ], + "mapped", + [ + 33777 + ] + ], + [ + [ + 63833, + 63833 + ], + "mapped", + [ + 38517 + ] + ], + [ + [ + 63834, + 63834 + ], + "mapped", + [ + 35712 + ] + ], + [ + [ + 63835, + 63835 + ], + "mapped", + [ + 25295 + ] + ], + [ + [ + 63836, + 63836 + ], + "mapped", + [ + 27138 + ] + ], + [ + [ + 63837, + 63837 + ], + "mapped", + [ + 35582 + ] + ], + [ + [ + 63838, + 63838 + ], + "mapped", + [ + 20025 + ] + ], + [ + [ + 63839, + 63839 + ], + "mapped", + [ + 23527 + ] + ], + [ + [ + 63840, + 63840 + ], + "mapped", + [ + 24594 + ] + ], + [ + [ + 63841, + 63841 + ], + "mapped", + [ + 29575 + ] + ], + [ + [ + 63842, + 63842 + ], + "mapped", + [ + 30064 + ] + ], + [ + [ + 63843, + 63843 + ], + "mapped", + [ + 21271 + ] + ], + [ + [ + 63844, + 63844 + ], + "mapped", + [ + 30971 + ] + ], + [ + [ + 63845, + 63845 + ], + "mapped", + [ + 20415 + ] + ], + [ + [ + 63846, + 63846 + ], + "mapped", + [ + 24489 + ] + ], + [ + [ + 63847, + 63847 + ], + "mapped", + [ + 19981 + ] + ], + [ + [ + 63848, + 63848 + ], + "mapped", + [ + 27852 + ] + ], + [ + [ + 63849, + 63849 + ], + "mapped", + [ + 25976 + ] + ], + [ + [ + 63850, + 63850 + ], + "mapped", + [ + 32034 + ] + ], + [ + [ + 63851, + 63851 + ], + "mapped", + [ + 21443 + ] + ], + [ + [ + 63852, + 63852 + ], + "mapped", + [ + 22622 + ] + ], + [ + [ + 63853, + 63853 + ], + "mapped", + [ + 30465 + ] + ], + [ + [ + 63854, + 63854 + ], + "mapped", + [ + 33865 + ] + ], + [ + [ + 63855, + 63855 + ], + "mapped", + [ + 35498 + ] + ], + [ + [ + 63856, + 63856 + ], + "mapped", + [ + 27578 + ] + ], + [ + [ + 63857, + 63857 + ], + "mapped", + [ + 36784 + ] + ], + [ + [ + 63858, + 63858 + ], + "mapped", + [ + 27784 + ] + ], + [ + [ + 63859, + 63859 + ], + "mapped", + [ + 25342 + ] + ], + [ + [ + 63860, + 63860 + ], + "mapped", + [ + 33509 + ] + ], + [ + [ + 63861, + 63861 + ], + "mapped", + [ + 25504 + ] + ], + [ + [ + 63862, + 63862 + ], + "mapped", + [ + 30053 + ] + ], + [ + [ + 63863, + 63863 + ], + "mapped", + [ + 20142 + ] + ], + [ + [ + 63864, + 63864 + ], + "mapped", + [ + 20841 + ] + ], + [ + [ + 63865, + 63865 + ], + "mapped", + [ + 20937 + ] + ], + [ + [ + 63866, + 63866 + ], + "mapped", + [ + 26753 + ] + ], + [ + [ + 63867, + 63867 + ], + "mapped", + [ + 31975 + ] + ], + [ + [ + 63868, + 63868 + ], + "mapped", + [ + 33391 + ] + ], + [ + [ + 63869, + 63869 + ], + "mapped", + [ + 35538 + ] + ], + [ + [ + 63870, + 63870 + ], + "mapped", + [ + 37327 + ] + ], + [ + [ + 63871, + 63871 + ], + "mapped", + [ + 21237 + ] + ], + [ + [ + 63872, + 63872 + ], + "mapped", + [ + 21570 + ] + ], + [ + [ + 63873, + 63873 + ], + "mapped", + [ + 22899 + ] + ], + [ + [ + 63874, + 63874 + ], + "mapped", + [ + 24300 + ] + ], + [ + [ + 63875, + 63875 + ], + "mapped", + [ + 26053 + ] + ], + [ + [ + 63876, + 63876 + ], + "mapped", + [ + 28670 + ] + ], + [ + [ + 63877, + 63877 + ], + "mapped", + [ + 31018 + ] + ], + [ + [ + 63878, + 63878 + ], + "mapped", + [ + 38317 + ] + ], + [ + [ + 63879, + 63879 + ], + "mapped", + [ + 39530 + ] + ], + [ + [ + 63880, + 63880 + ], + "mapped", + [ + 40599 + ] + ], + [ + [ + 63881, + 63881 + ], + "mapped", + [ + 40654 + ] + ], + [ + [ + 63882, + 63882 + ], + "mapped", + [ + 21147 + ] + ], + [ + [ + 63883, + 63883 + ], + "mapped", + [ + 26310 + ] + ], + [ + [ + 63884, + 63884 + ], + "mapped", + [ + 27511 + ] + ], + [ + [ + 63885, + 63885 + ], + "mapped", + [ + 36706 + ] + ], + [ + [ + 63886, + 63886 + ], + "mapped", + [ + 24180 + ] + ], + [ + [ + 63887, + 63887 + ], + "mapped", + [ + 24976 + ] + ], + [ + [ + 63888, + 63888 + ], + "mapped", + [ + 25088 + ] + ], + [ + [ + 63889, + 63889 + ], + "mapped", + [ + 25754 + ] + ], + [ + [ + 63890, + 63890 + ], + "mapped", + [ + 28451 + ] + ], + [ + [ + 63891, + 63891 + ], + "mapped", + [ + 29001 + ] + ], + [ + [ + 63892, + 63892 + ], + "mapped", + [ + 29833 + ] + ], + [ + [ + 63893, + 63893 + ], + "mapped", + [ + 31178 + ] + ], + [ + [ + 63894, + 63894 + ], + "mapped", + [ + 32244 + ] + ], + [ + [ + 63895, + 63895 + ], + "mapped", + [ + 32879 + ] + ], + [ + [ + 63896, + 63896 + ], + "mapped", + [ + 36646 + ] + ], + [ + [ + 63897, + 63897 + ], + "mapped", + [ + 34030 + ] + ], + [ + [ + 63898, + 63898 + ], + "mapped", + [ + 36899 + ] + ], + [ + [ + 63899, + 63899 + ], + "mapped", + [ + 37706 + ] + ], + [ + [ + 63900, + 63900 + ], + "mapped", + [ + 21015 + ] + ], + [ + [ + 63901, + 63901 + ], + "mapped", + [ + 21155 + ] + ], + [ + [ + 63902, + 63902 + ], + "mapped", + [ + 21693 + ] + ], + [ + [ + 63903, + 63903 + ], + "mapped", + [ + 28872 + ] + ], + [ + [ + 63904, + 63904 + ], + "mapped", + [ + 35010 + ] + ], + [ + [ + 63905, + 63905 + ], + "mapped", + [ + 35498 + ] + ], + [ + [ + 63906, + 63906 + ], + "mapped", + [ + 24265 + ] + ], + [ + [ + 63907, + 63907 + ], + "mapped", + [ + 24565 + ] + ], + [ + [ + 63908, + 63908 + ], + "mapped", + [ + 25467 + ] + ], + [ + [ + 63909, + 63909 + ], + "mapped", + [ + 27566 + ] + ], + [ + [ + 63910, + 63910 + ], + "mapped", + [ + 31806 + ] + ], + [ + [ + 63911, + 63911 + ], + "mapped", + [ + 29557 + ] + ], + [ + [ + 63912, + 63912 + ], + "mapped", + [ + 20196 + ] + ], + [ + [ + 63913, + 63913 + ], + "mapped", + [ + 22265 + ] + ], + [ + [ + 63914, + 63914 + ], + "mapped", + [ + 23527 + ] + ], + [ + [ + 63915, + 63915 + ], + "mapped", + [ + 23994 + ] + ], + [ + [ + 63916, + 63916 + ], + "mapped", + [ + 24604 + ] + ], + [ + [ + 63917, + 63917 + ], + "mapped", + [ + 29618 + ] + ], + [ + [ + 63918, + 63918 + ], + "mapped", + [ + 29801 + ] + ], + [ + [ + 63919, + 63919 + ], + "mapped", + [ + 32666 + ] + ], + [ + [ + 63920, + 63920 + ], + "mapped", + [ + 32838 + ] + ], + [ + [ + 63921, + 63921 + ], + "mapped", + [ + 37428 + ] + ], + [ + [ + 63922, + 63922 + ], + "mapped", + [ + 38646 + ] + ], + [ + [ + 63923, + 63923 + ], + "mapped", + [ + 38728 + ] + ], + [ + [ + 63924, + 63924 + ], + "mapped", + [ + 38936 + ] + ], + [ + [ + 63925, + 63925 + ], + "mapped", + [ + 20363 + ] + ], + [ + [ + 63926, + 63926 + ], + "mapped", + [ + 31150 + ] + ], + [ + [ + 63927, + 63927 + ], + "mapped", + [ + 37300 + ] + ], + [ + [ + 63928, + 63928 + ], + "mapped", + [ + 38584 + ] + ], + [ + [ + 63929, + 63929 + ], + "mapped", + [ + 24801 + ] + ], + [ + [ + 63930, + 63930 + ], + "mapped", + [ + 20102 + ] + ], + [ + [ + 63931, + 63931 + ], + "mapped", + [ + 20698 + ] + ], + [ + [ + 63932, + 63932 + ], + "mapped", + [ + 23534 + ] + ], + [ + [ + 63933, + 63933 + ], + "mapped", + [ + 23615 + ] + ], + [ + [ + 63934, + 63934 + ], + "mapped", + [ + 26009 + ] + ], + [ + [ + 63935, + 63935 + ], + "mapped", + [ + 27138 + ] + ], + [ + [ + 63936, + 63936 + ], + "mapped", + [ + 29134 + ] + ], + [ + [ + 63937, + 63937 + ], + "mapped", + [ + 30274 + ] + ], + [ + [ + 63938, + 63938 + ], + "mapped", + [ + 34044 + ] + ], + [ + [ + 63939, + 63939 + ], + "mapped", + [ + 36988 + ] + ], + [ + [ + 63940, + 63940 + ], + "mapped", + [ + 40845 + ] + ], + [ + [ + 63941, + 63941 + ], + "mapped", + [ + 26248 + ] + ], + [ + [ + 63942, + 63942 + ], + "mapped", + [ + 38446 + ] + ], + [ + [ + 63943, + 63943 + ], + "mapped", + [ + 21129 + ] + ], + [ + [ + 63944, + 63944 + ], + "mapped", + [ + 26491 + ] + ], + [ + [ + 63945, + 63945 + ], + "mapped", + [ + 26611 + ] + ], + [ + [ + 63946, + 63946 + ], + "mapped", + [ + 27969 + ] + ], + [ + [ + 63947, + 63947 + ], + "mapped", + [ + 28316 + ] + ], + [ + [ + 63948, + 63948 + ], + "mapped", + [ + 29705 + ] + ], + [ + [ + 63949, + 63949 + ], + "mapped", + [ + 30041 + ] + ], + [ + [ + 63950, + 63950 + ], + "mapped", + [ + 30827 + ] + ], + [ + [ + 63951, + 63951 + ], + "mapped", + [ + 32016 + ] + ], + [ + [ + 63952, + 63952 + ], + "mapped", + [ + 39006 + ] + ], + [ + [ + 63953, + 63953 + ], + "mapped", + [ + 20845 + ] + ], + [ + [ + 63954, + 63954 + ], + "mapped", + [ + 25134 + ] + ], + [ + [ + 63955, + 63955 + ], + "mapped", + [ + 38520 + ] + ], + [ + [ + 63956, + 63956 + ], + "mapped", + [ + 20523 + ] + ], + [ + [ + 63957, + 63957 + ], + "mapped", + [ + 23833 + ] + ], + [ + [ + 63958, + 63958 + ], + "mapped", + [ + 28138 + ] + ], + [ + [ + 63959, + 63959 + ], + "mapped", + [ + 36650 + ] + ], + [ + [ + 63960, + 63960 + ], + "mapped", + [ + 24459 + ] + ], + [ + [ + 63961, + 63961 + ], + "mapped", + [ + 24900 + ] + ], + [ + [ + 63962, + 63962 + ], + "mapped", + [ + 26647 + ] + ], + [ + [ + 63963, + 63963 + ], + "mapped", + [ + 29575 + ] + ], + [ + [ + 63964, + 63964 + ], + "mapped", + [ + 38534 + ] + ], + [ + [ + 63965, + 63965 + ], + "mapped", + [ + 21033 + ] + ], + [ + [ + 63966, + 63966 + ], + "mapped", + [ + 21519 + ] + ], + [ + [ + 63967, + 63967 + ], + "mapped", + [ + 23653 + ] + ], + [ + [ + 63968, + 63968 + ], + "mapped", + [ + 26131 + ] + ], + [ + [ + 63969, + 63969 + ], + "mapped", + [ + 26446 + ] + ], + [ + [ + 63970, + 63970 + ], + "mapped", + [ + 26792 + ] + ], + [ + [ + 63971, + 63971 + ], + "mapped", + [ + 27877 + ] + ], + [ + [ + 63972, + 63972 + ], + "mapped", + [ + 29702 + ] + ], + [ + [ + 63973, + 63973 + ], + "mapped", + [ + 30178 + ] + ], + [ + [ + 63974, + 63974 + ], + "mapped", + [ + 32633 + ] + ], + [ + [ + 63975, + 63975 + ], + "mapped", + [ + 35023 + ] + ], + [ + [ + 63976, + 63976 + ], + "mapped", + [ + 35041 + ] + ], + [ + [ + 63977, + 63977 + ], + "mapped", + [ + 37324 + ] + ], + [ + [ + 63978, + 63978 + ], + "mapped", + [ + 38626 + ] + ], + [ + [ + 63979, + 63979 + ], + "mapped", + [ + 21311 + ] + ], + [ + [ + 63980, + 63980 + ], + "mapped", + [ + 28346 + ] + ], + [ + [ + 63981, + 63981 + ], + "mapped", + [ + 21533 + ] + ], + [ + [ + 63982, + 63982 + ], + "mapped", + [ + 29136 + ] + ], + [ + [ + 63983, + 63983 + ], + "mapped", + [ + 29848 + ] + ], + [ + [ + 63984, + 63984 + ], + "mapped", + [ + 34298 + ] + ], + [ + [ + 63985, + 63985 + ], + "mapped", + [ + 38563 + ] + ], + [ + [ + 63986, + 63986 + ], + "mapped", + [ + 40023 + ] + ], + [ + [ + 63987, + 63987 + ], + "mapped", + [ + 40607 + ] + ], + [ + [ + 63988, + 63988 + ], + "mapped", + [ + 26519 + ] + ], + [ + [ + 63989, + 63989 + ], + "mapped", + [ + 28107 + ] + ], + [ + [ + 63990, + 63990 + ], + "mapped", + [ + 33256 + ] + ], + [ + [ + 63991, + 63991 + ], + "mapped", + [ + 31435 + ] + ], + [ + [ + 63992, + 63992 + ], + "mapped", + [ + 31520 + ] + ], + [ + [ + 63993, + 63993 + ], + "mapped", + [ + 31890 + ] + ], + [ + [ + 63994, + 63994 + ], + "mapped", + [ + 29376 + ] + ], + [ + [ + 63995, + 63995 + ], + "mapped", + [ + 28825 + ] + ], + [ + [ + 63996, + 63996 + ], + "mapped", + [ + 35672 + ] + ], + [ + [ + 63997, + 63997 + ], + "mapped", + [ + 20160 + ] + ], + [ + [ + 63998, + 63998 + ], + "mapped", + [ + 33590 + ] + ], + [ + [ + 63999, + 63999 + ], + "mapped", + [ + 21050 + ] + ], + [ + [ + 64000, + 64000 + ], + "mapped", + [ + 20999 + ] + ], + [ + [ + 64001, + 64001 + ], + "mapped", + [ + 24230 + ] + ], + [ + [ + 64002, + 64002 + ], + "mapped", + [ + 25299 + ] + ], + [ + [ + 64003, + 64003 + ], + "mapped", + [ + 31958 + ] + ], + [ + [ + 64004, + 64004 + ], + "mapped", + [ + 23429 + ] + ], + [ + [ + 64005, + 64005 + ], + "mapped", + [ + 27934 + ] + ], + [ + [ + 64006, + 64006 + ], + "mapped", + [ + 26292 + ] + ], + [ + [ + 64007, + 64007 + ], + "mapped", + [ + 36667 + ] + ], + [ + [ + 64008, + 64008 + ], + "mapped", + [ + 34892 + ] + ], + [ + [ + 64009, + 64009 + ], + "mapped", + [ + 38477 + ] + ], + [ + [ + 64010, + 64010 + ], + "mapped", + [ + 35211 + ] + ], + [ + [ + 64011, + 64011 + ], + "mapped", + [ + 24275 + ] + ], + [ + [ + 64012, + 64012 + ], + "mapped", + [ + 20800 + ] + ], + [ + [ + 64013, + 64013 + ], + "mapped", + [ + 21952 + ] + ], + [ + [ + 64014, + 64015 + ], + "valid" + ], + [ + [ + 64016, + 64016 + ], + "mapped", + [ + 22618 + ] + ], + [ + [ + 64017, + 64017 + ], + "valid" + ], + [ + [ + 64018, + 64018 + ], + "mapped", + [ + 26228 + ] + ], + [ + [ + 64019, + 64020 + ], + "valid" + ], + [ + [ + 64021, + 64021 + ], + "mapped", + [ + 20958 + ] + ], + [ + [ + 64022, + 64022 + ], + "mapped", + [ + 29482 + ] + ], + [ + [ + 64023, + 64023 + ], + "mapped", + [ + 30410 + ] + ], + [ + [ + 64024, + 64024 + ], + "mapped", + [ + 31036 + ] + ], + [ + [ + 64025, + 64025 + ], + "mapped", + [ + 31070 + ] + ], + [ + [ + 64026, + 64026 + ], + "mapped", + [ + 31077 + ] + ], + [ + [ + 64027, + 64027 + ], + "mapped", + [ + 31119 + ] + ], + [ + [ + 64028, + 64028 + ], + "mapped", + [ + 38742 + ] + ], + [ + [ + 64029, + 64029 + ], + "mapped", + [ + 31934 + ] + ], + [ + [ + 64030, + 64030 + ], + "mapped", + [ + 32701 + ] + ], + [ + [ + 64031, + 64031 + ], + "valid" + ], + [ + [ + 64032, + 64032 + ], + "mapped", + [ + 34322 + ] + ], + [ + [ + 64033, + 64033 + ], + "valid" + ], + [ + [ + 64034, + 64034 + ], + "mapped", + [ + 35576 + ] + ], + [ + [ + 64035, + 64036 + ], + "valid" + ], + [ + [ + 64037, + 64037 + ], + "mapped", + [ + 36920 + ] + ], + [ + [ + 64038, + 64038 + ], + "mapped", + [ + 37117 + ] + ], + [ + [ + 64039, + 64041 + ], + "valid" + ], + [ + [ + 64042, + 64042 + ], + "mapped", + [ + 39151 + ] + ], + [ + [ + 64043, + 64043 + ], + "mapped", + [ + 39164 + ] + ], + [ + [ + 64044, + 64044 + ], + "mapped", + [ + 39208 + ] + ], + [ + [ + 64045, + 64045 + ], + "mapped", + [ + 40372 + ] + ], + [ + [ + 64046, + 64046 + ], + "mapped", + [ + 37086 + ] + ], + [ + [ + 64047, + 64047 + ], + "mapped", + [ + 38583 + ] + ], + [ + [ + 64048, + 64048 + ], + "mapped", + [ + 20398 + ] + ], + [ + [ + 64049, + 64049 + ], + "mapped", + [ + 20711 + ] + ], + [ + [ + 64050, + 64050 + ], + "mapped", + [ + 20813 + ] + ], + [ + [ + 64051, + 64051 + ], + "mapped", + [ + 21193 + ] + ], + [ + [ + 64052, + 64052 + ], + "mapped", + [ + 21220 + ] + ], + [ + [ + 64053, + 64053 + ], + "mapped", + [ + 21329 + ] + ], + [ + [ + 64054, + 64054 + ], + "mapped", + [ + 21917 + ] + ], + [ + [ + 64055, + 64055 + ], + "mapped", + [ + 22022 + ] + ], + [ + [ + 64056, + 64056 + ], + "mapped", + [ + 22120 + ] + ], + [ + [ + 64057, + 64057 + ], + "mapped", + [ + 22592 + ] + ], + [ + [ + 64058, + 64058 + ], + "mapped", + [ + 22696 + ] + ], + [ + [ + 64059, + 64059 + ], + "mapped", + [ + 23652 + ] + ], + [ + [ + 64060, + 64060 + ], + "mapped", + [ + 23662 + ] + ], + [ + [ + 64061, + 64061 + ], + "mapped", + [ + 24724 + ] + ], + [ + [ + 64062, + 64062 + ], + "mapped", + [ + 24936 + ] + ], + [ + [ + 64063, + 64063 + ], + "mapped", + [ + 24974 + ] + ], + [ + [ + 64064, + 64064 + ], + "mapped", + [ + 25074 + ] + ], + [ + [ + 64065, + 64065 + ], + "mapped", + [ + 25935 + ] + ], + [ + [ + 64066, + 64066 + ], + "mapped", + [ + 26082 + ] + ], + [ + [ + 64067, + 64067 + ], + "mapped", + [ + 26257 + ] + ], + [ + [ + 64068, + 64068 + ], + "mapped", + [ + 26757 + ] + ], + [ + [ + 64069, + 64069 + ], + "mapped", + [ + 28023 + ] + ], + [ + [ + 64070, + 64070 + ], + "mapped", + [ + 28186 + ] + ], + [ + [ + 64071, + 64071 + ], + "mapped", + [ + 28450 + ] + ], + [ + [ + 64072, + 64072 + ], + "mapped", + [ + 29038 + ] + ], + [ + [ + 64073, + 64073 + ], + "mapped", + [ + 29227 + ] + ], + [ + [ + 64074, + 64074 + ], + "mapped", + [ + 29730 + ] + ], + [ + [ + 64075, + 64075 + ], + "mapped", + [ + 30865 + ] + ], + [ + [ + 64076, + 64076 + ], + "mapped", + [ + 31038 + ] + ], + [ + [ + 64077, + 64077 + ], + "mapped", + [ + 31049 + ] + ], + [ + [ + 64078, + 64078 + ], + "mapped", + [ + 31048 + ] + ], + [ + [ + 64079, + 64079 + ], + "mapped", + [ + 31056 + ] + ], + [ + [ + 64080, + 64080 + ], + "mapped", + [ + 31062 + ] + ], + [ + [ + 64081, + 64081 + ], + "mapped", + [ + 31069 + ] + ], + [ + [ + 64082, + 64082 + ], + "mapped", + [ + 31117 + ] + ], + [ + [ + 64083, + 64083 + ], + "mapped", + [ + 31118 + ] + ], + [ + [ + 64084, + 64084 + ], + "mapped", + [ + 31296 + ] + ], + [ + [ + 64085, + 64085 + ], + "mapped", + [ + 31361 + ] + ], + [ + [ + 64086, + 64086 + ], + "mapped", + [ + 31680 + ] + ], + [ + [ + 64087, + 64087 + ], + "mapped", + [ + 32244 + ] + ], + [ + [ + 64088, + 64088 + ], + "mapped", + [ + 32265 + ] + ], + [ + [ + 64089, + 64089 + ], + "mapped", + [ + 32321 + ] + ], + [ + [ + 64090, + 64090 + ], + "mapped", + [ + 32626 + ] + ], + [ + [ + 64091, + 64091 + ], + "mapped", + [ + 32773 + ] + ], + [ + [ + 64092, + 64092 + ], + "mapped", + [ + 33261 + ] + ], + [ + [ + 64093, + 64094 + ], + "mapped", + [ + 33401 + ] + ], + [ + [ + 64095, + 64095 + ], + "mapped", + [ + 33879 + ] + ], + [ + [ + 64096, + 64096 + ], + "mapped", + [ + 35088 + ] + ], + [ + [ + 64097, + 64097 + ], + "mapped", + [ + 35222 + ] + ], + [ + [ + 64098, + 64098 + ], + "mapped", + [ + 35585 + ] + ], + [ + [ + 64099, + 64099 + ], + "mapped", + [ + 35641 + ] + ], + [ + [ + 64100, + 64100 + ], + "mapped", + [ + 36051 + ] + ], + [ + [ + 64101, + 64101 + ], + "mapped", + [ + 36104 + ] + ], + [ + [ + 64102, + 64102 + ], + "mapped", + [ + 36790 + ] + ], + [ + [ + 64103, + 64103 + ], + "mapped", + [ + 36920 + ] + ], + [ + [ + 64104, + 64104 + ], + "mapped", + [ + 38627 + ] + ], + [ + [ + 64105, + 64105 + ], + "mapped", + [ + 38911 + ] + ], + [ + [ + 64106, + 64106 + ], + "mapped", + [ + 38971 + ] + ], + [ + [ + 64107, + 64107 + ], + "mapped", + [ + 24693 + ] + ], + [ + [ + 64108, + 64108 + ], + "mapped", + [ + 148206 + ] + ], + [ + [ + 64109, + 64109 + ], + "mapped", + [ + 33304 + ] + ], + [ + [ + 64110, + 64111 + ], + "disallowed" + ], + [ + [ + 64112, + 64112 + ], + "mapped", + [ + 20006 + ] + ], + [ + [ + 64113, + 64113 + ], + "mapped", + [ + 20917 + ] + ], + [ + [ + 64114, + 64114 + ], + "mapped", + [ + 20840 + ] + ], + [ + [ + 64115, + 64115 + ], + "mapped", + [ + 20352 + ] + ], + [ + [ + 64116, + 64116 + ], + "mapped", + [ + 20805 + ] + ], + [ + [ + 64117, + 64117 + ], + "mapped", + [ + 20864 + ] + ], + [ + [ + 64118, + 64118 + ], + "mapped", + [ + 21191 + ] + ], + [ + [ + 64119, + 64119 + ], + "mapped", + [ + 21242 + ] + ], + [ + [ + 64120, + 64120 + ], + "mapped", + [ + 21917 + ] + ], + [ + [ + 64121, + 64121 + ], + "mapped", + [ + 21845 + ] + ], + [ + [ + 64122, + 64122 + ], + "mapped", + [ + 21913 + ] + ], + [ + [ + 64123, + 64123 + ], + "mapped", + [ + 21986 + ] + ], + [ + [ + 64124, + 64124 + ], + "mapped", + [ + 22618 + ] + ], + [ + [ + 64125, + 64125 + ], + "mapped", + [ + 22707 + ] + ], + [ + [ + 64126, + 64126 + ], + "mapped", + [ + 22852 + ] + ], + [ + [ + 64127, + 64127 + ], + "mapped", + [ + 22868 + ] + ], + [ + [ + 64128, + 64128 + ], + "mapped", + [ + 23138 + ] + ], + [ + [ + 64129, + 64129 + ], + "mapped", + [ + 23336 + ] + ], + [ + [ + 64130, + 64130 + ], + "mapped", + [ + 24274 + ] + ], + [ + [ + 64131, + 64131 + ], + "mapped", + [ + 24281 + ] + ], + [ + [ + 64132, + 64132 + ], + "mapped", + [ + 24425 + ] + ], + [ + [ + 64133, + 64133 + ], + "mapped", + [ + 24493 + ] + ], + [ + [ + 64134, + 64134 + ], + "mapped", + [ + 24792 + ] + ], + [ + [ + 64135, + 64135 + ], + "mapped", + [ + 24910 + ] + ], + [ + [ + 64136, + 64136 + ], + "mapped", + [ + 24840 + ] + ], + [ + [ + 64137, + 64137 + ], + "mapped", + [ + 24974 + ] + ], + [ + [ + 64138, + 64138 + ], + "mapped", + [ + 24928 + ] + ], + [ + [ + 64139, + 64139 + ], + "mapped", + [ + 25074 + ] + ], + [ + [ + 64140, + 64140 + ], + "mapped", + [ + 25140 + ] + ], + [ + [ + 64141, + 64141 + ], + "mapped", + [ + 25540 + ] + ], + [ + [ + 64142, + 64142 + ], + "mapped", + [ + 25628 + ] + ], + [ + [ + 64143, + 64143 + ], + "mapped", + [ + 25682 + ] + ], + [ + [ + 64144, + 64144 + ], + "mapped", + [ + 25942 + ] + ], + [ + [ + 64145, + 64145 + ], + "mapped", + [ + 26228 + ] + ], + [ + [ + 64146, + 64146 + ], + "mapped", + [ + 26391 + ] + ], + [ + [ + 64147, + 64147 + ], + "mapped", + [ + 26395 + ] + ], + [ + [ + 64148, + 64148 + ], + "mapped", + [ + 26454 + ] + ], + [ + [ + 64149, + 64149 + ], + "mapped", + [ + 27513 + ] + ], + [ + [ + 64150, + 64150 + ], + "mapped", + [ + 27578 + ] + ], + [ + [ + 64151, + 64151 + ], + "mapped", + [ + 27969 + ] + ], + [ + [ + 64152, + 64152 + ], + "mapped", + [ + 28379 + ] + ], + [ + [ + 64153, + 64153 + ], + "mapped", + [ + 28363 + ] + ], + [ + [ + 64154, + 64154 + ], + "mapped", + [ + 28450 + ] + ], + [ + [ + 64155, + 64155 + ], + "mapped", + [ + 28702 + ] + ], + [ + [ + 64156, + 64156 + ], + "mapped", + [ + 29038 + ] + ], + [ + [ + 64157, + 64157 + ], + "mapped", + [ + 30631 + ] + ], + [ + [ + 64158, + 64158 + ], + "mapped", + [ + 29237 + ] + ], + [ + [ + 64159, + 64159 + ], + "mapped", + [ + 29359 + ] + ], + [ + [ + 64160, + 64160 + ], + "mapped", + [ + 29482 + ] + ], + [ + [ + 64161, + 64161 + ], + "mapped", + [ + 29809 + ] + ], + [ + [ + 64162, + 64162 + ], + "mapped", + [ + 29958 + ] + ], + [ + [ + 64163, + 64163 + ], + "mapped", + [ + 30011 + ] + ], + [ + [ + 64164, + 64164 + ], + "mapped", + [ + 30237 + ] + ], + [ + [ + 64165, + 64165 + ], + "mapped", + [ + 30239 + ] + ], + [ + [ + 64166, + 64166 + ], + "mapped", + [ + 30410 + ] + ], + [ + [ + 64167, + 64167 + ], + "mapped", + [ + 30427 + ] + ], + [ + [ + 64168, + 64168 + ], + "mapped", + [ + 30452 + ] + ], + [ + [ + 64169, + 64169 + ], + "mapped", + [ + 30538 + ] + ], + [ + [ + 64170, + 64170 + ], + "mapped", + [ + 30528 + ] + ], + [ + [ + 64171, + 64171 + ], + "mapped", + [ + 30924 + ] + ], + [ + [ + 64172, + 64172 + ], + "mapped", + [ + 31409 + ] + ], + [ + [ + 64173, + 64173 + ], + "mapped", + [ + 31680 + ] + ], + [ + [ + 64174, + 64174 + ], + "mapped", + [ + 31867 + ] + ], + [ + [ + 64175, + 64175 + ], + "mapped", + [ + 32091 + ] + ], + [ + [ + 64176, + 64176 + ], + "mapped", + [ + 32244 + ] + ], + [ + [ + 64177, + 64177 + ], + "mapped", + [ + 32574 + ] + ], + [ + [ + 64178, + 64178 + ], + "mapped", + [ + 32773 + ] + ], + [ + [ + 64179, + 64179 + ], + "mapped", + [ + 33618 + ] + ], + [ + [ + 64180, + 64180 + ], + "mapped", + [ + 33775 + ] + ], + [ + [ + 64181, + 64181 + ], + "mapped", + [ + 34681 + ] + ], + [ + [ + 64182, + 64182 + ], + "mapped", + [ + 35137 + ] + ], + [ + [ + 64183, + 64183 + ], + "mapped", + [ + 35206 + ] + ], + [ + [ + 64184, + 64184 + ], + "mapped", + [ + 35222 + ] + ], + [ + [ + 64185, + 64185 + ], + "mapped", + [ + 35519 + ] + ], + [ + [ + 64186, + 64186 + ], + "mapped", + [ + 35576 + ] + ], + [ + [ + 64187, + 64187 + ], + "mapped", + [ + 35531 + ] + ], + [ + [ + 64188, + 64188 + ], + "mapped", + [ + 35585 + ] + ], + [ + [ + 64189, + 64189 + ], + "mapped", + [ + 35582 + ] + ], + [ + [ + 64190, + 64190 + ], + "mapped", + [ + 35565 + ] + ], + [ + [ + 64191, + 64191 + ], + "mapped", + [ + 35641 + ] + ], + [ + [ + 64192, + 64192 + ], + "mapped", + [ + 35722 + ] + ], + [ + [ + 64193, + 64193 + ], + "mapped", + [ + 36104 + ] + ], + [ + [ + 64194, + 64194 + ], + "mapped", + [ + 36664 + ] + ], + [ + [ + 64195, + 64195 + ], + "mapped", + [ + 36978 + ] + ], + [ + [ + 64196, + 64196 + ], + "mapped", + [ + 37273 + ] + ], + [ + [ + 64197, + 64197 + ], + "mapped", + [ + 37494 + ] + ], + [ + [ + 64198, + 64198 + ], + "mapped", + [ + 38524 + ] + ], + [ + [ + 64199, + 64199 + ], + "mapped", + [ + 38627 + ] + ], + [ + [ + 64200, + 64200 + ], + "mapped", + [ + 38742 + ] + ], + [ + [ + 64201, + 64201 + ], + "mapped", + [ + 38875 + ] + ], + [ + [ + 64202, + 64202 + ], + "mapped", + [ + 38911 + ] + ], + [ + [ + 64203, + 64203 + ], + "mapped", + [ + 38923 + ] + ], + [ + [ + 64204, + 64204 + ], + "mapped", + [ + 38971 + ] + ], + [ + [ + 64205, + 64205 + ], + "mapped", + [ + 39698 + ] + ], + [ + [ + 64206, + 64206 + ], + "mapped", + [ + 40860 + ] + ], + [ + [ + 64207, + 64207 + ], + "mapped", + [ + 141386 + ] + ], + [ + [ + 64208, + 64208 + ], + "mapped", + [ + 141380 + ] + ], + [ + [ + 64209, + 64209 + ], + "mapped", + [ + 144341 + ] + ], + [ + [ + 64210, + 64210 + ], + "mapped", + [ + 15261 + ] + ], + [ + [ + 64211, + 64211 + ], + "mapped", + [ + 16408 + ] + ], + [ + [ + 64212, + 64212 + ], + "mapped", + [ + 16441 + ] + ], + [ + [ + 64213, + 64213 + ], + "mapped", + [ + 152137 + ] + ], + [ + [ + 64214, + 64214 + ], + "mapped", + [ + 154832 + ] + ], + [ + [ + 64215, + 64215 + ], + "mapped", + [ + 163539 + ] + ], + [ + [ + 64216, + 64216 + ], + "mapped", + [ + 40771 + ] + ], + [ + [ + 64217, + 64217 + ], + "mapped", + [ + 40846 + ] + ], + [ + [ + 64218, + 64255 + ], + "disallowed" + ], + [ + [ + 64256, + 64256 + ], + "mapped", + [ + 102, + 102 + ] + ], + [ + [ + 64257, + 64257 + ], + "mapped", + [ + 102, + 105 + ] + ], + [ + [ + 64258, + 64258 + ], + "mapped", + [ + 102, + 108 + ] + ], + [ + [ + 64259, + 64259 + ], + "mapped", + [ + 102, + 102, + 105 + ] + ], + [ + [ + 64260, + 64260 + ], + "mapped", + [ + 102, + 102, + 108 + ] + ], + [ + [ + 64261, + 64262 + ], + "mapped", + [ + 115, + 116 + ] + ], + [ + [ + 64263, + 64274 + ], + "disallowed" + ], + [ + [ + 64275, + 64275 + ], + "mapped", + [ + 1396, + 1398 + ] + ], + [ + [ + 64276, + 64276 + ], + "mapped", + [ + 1396, + 1381 + ] + ], + [ + [ + 64277, + 64277 + ], + "mapped", + [ + 1396, + 1387 + ] + ], + [ + [ + 64278, + 64278 + ], + "mapped", + [ + 1406, + 1398 + ] + ], + [ + [ + 64279, + 64279 + ], + "mapped", + [ + 1396, + 1389 + ] + ], + [ + [ + 64280, + 64284 + ], + "disallowed" + ], + [ + [ + 64285, + 64285 + ], + "mapped", + [ + 1497, + 1460 + ] + ], + [ + [ + 64286, + 64286 + ], + "valid" + ], + [ + [ + 64287, + 64287 + ], + "mapped", + [ + 1522, + 1463 + ] + ], + [ + [ + 64288, + 64288 + ], + "mapped", + [ + 1506 + ] + ], + [ + [ + 64289, + 64289 + ], + "mapped", + [ + 1488 + ] + ], + [ + [ + 64290, + 64290 + ], + "mapped", + [ + 1491 + ] + ], + [ + [ + 64291, + 64291 + ], + "mapped", + [ + 1492 + ] + ], + [ + [ + 64292, + 64292 + ], + "mapped", + [ + 1499 + ] + ], + [ + [ + 64293, + 64293 + ], + "mapped", + [ + 1500 + ] + ], + [ + [ + 64294, + 64294 + ], + "mapped", + [ + 1501 + ] + ], + [ + [ + 64295, + 64295 + ], + "mapped", + [ + 1512 + ] + ], + [ + [ + 64296, + 64296 + ], + "mapped", + [ + 1514 + ] + ], + [ + [ + 64297, + 64297 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 64298, + 64298 + ], + "mapped", + [ + 1513, + 1473 + ] + ], + [ + [ + 64299, + 64299 + ], + "mapped", + [ + 1513, + 1474 + ] + ], + [ + [ + 64300, + 64300 + ], + "mapped", + [ + 1513, + 1468, + 1473 + ] + ], + [ + [ + 64301, + 64301 + ], + "mapped", + [ + 1513, + 1468, + 1474 + ] + ], + [ + [ + 64302, + 64302 + ], + "mapped", + [ + 1488, + 1463 + ] + ], + [ + [ + 64303, + 64303 + ], + "mapped", + [ + 1488, + 1464 + ] + ], + [ + [ + 64304, + 64304 + ], + "mapped", + [ + 1488, + 1468 + ] + ], + [ + [ + 64305, + 64305 + ], + "mapped", + [ + 1489, + 1468 + ] + ], + [ + [ + 64306, + 64306 + ], + "mapped", + [ + 1490, + 1468 + ] + ], + [ + [ + 64307, + 64307 + ], + "mapped", + [ + 1491, + 1468 + ] + ], + [ + [ + 64308, + 64308 + ], + "mapped", + [ + 1492, + 1468 + ] + ], + [ + [ + 64309, + 64309 + ], + "mapped", + [ + 1493, + 1468 + ] + ], + [ + [ + 64310, + 64310 + ], + "mapped", + [ + 1494, + 1468 + ] + ], + [ + [ + 64311, + 64311 + ], + "disallowed" + ], + [ + [ + 64312, + 64312 + ], + "mapped", + [ + 1496, + 1468 + ] + ], + [ + [ + 64313, + 64313 + ], + "mapped", + [ + 1497, + 1468 + ] + ], + [ + [ + 64314, + 64314 + ], + "mapped", + [ + 1498, + 1468 + ] + ], + [ + [ + 64315, + 64315 + ], + "mapped", + [ + 1499, + 1468 + ] + ], + [ + [ + 64316, + 64316 + ], + "mapped", + [ + 1500, + 1468 + ] + ], + [ + [ + 64317, + 64317 + ], + "disallowed" + ], + [ + [ + 64318, + 64318 + ], + "mapped", + [ + 1502, + 1468 + ] + ], + [ + [ + 64319, + 64319 + ], + "disallowed" + ], + [ + [ + 64320, + 64320 + ], + "mapped", + [ + 1504, + 1468 + ] + ], + [ + [ + 64321, + 64321 + ], + "mapped", + [ + 1505, + 1468 + ] + ], + [ + [ + 64322, + 64322 + ], + "disallowed" + ], + [ + [ + 64323, + 64323 + ], + "mapped", + [ + 1507, + 1468 + ] + ], + [ + [ + 64324, + 64324 + ], + "mapped", + [ + 1508, + 1468 + ] + ], + [ + [ + 64325, + 64325 + ], + "disallowed" + ], + [ + [ + 64326, + 64326 + ], + "mapped", + [ + 1510, + 1468 + ] + ], + [ + [ + 64327, + 64327 + ], + "mapped", + [ + 1511, + 1468 + ] + ], + [ + [ + 64328, + 64328 + ], + "mapped", + [ + 1512, + 1468 + ] + ], + [ + [ + 64329, + 64329 + ], + "mapped", + [ + 1513, + 1468 + ] + ], + [ + [ + 64330, + 64330 + ], + "mapped", + [ + 1514, + 1468 + ] + ], + [ + [ + 64331, + 64331 + ], + "mapped", + [ + 1493, + 1465 + ] + ], + [ + [ + 64332, + 64332 + ], + "mapped", + [ + 1489, + 1471 + ] + ], + [ + [ + 64333, + 64333 + ], + "mapped", + [ + 1499, + 1471 + ] + ], + [ + [ + 64334, + 64334 + ], + "mapped", + [ + 1508, + 1471 + ] + ], + [ + [ + 64335, + 64335 + ], + "mapped", + [ + 1488, + 1500 + ] + ], + [ + [ + 64336, + 64337 + ], + "mapped", + [ + 1649 + ] + ], + [ + [ + 64338, + 64341 + ], + "mapped", + [ + 1659 + ] + ], + [ + [ + 64342, + 64345 + ], + "mapped", + [ + 1662 + ] + ], + [ + [ + 64346, + 64349 + ], + "mapped", + [ + 1664 + ] + ], + [ + [ + 64350, + 64353 + ], + "mapped", + [ + 1658 + ] + ], + [ + [ + 64354, + 64357 + ], + "mapped", + [ + 1663 + ] + ], + [ + [ + 64358, + 64361 + ], + "mapped", + [ + 1657 + ] + ], + [ + [ + 64362, + 64365 + ], + "mapped", + [ + 1700 + ] + ], + [ + [ + 64366, + 64369 + ], + "mapped", + [ + 1702 + ] + ], + [ + [ + 64370, + 64373 + ], + "mapped", + [ + 1668 + ] + ], + [ + [ + 64374, + 64377 + ], + "mapped", + [ + 1667 + ] + ], + [ + [ + 64378, + 64381 + ], + "mapped", + [ + 1670 + ] + ], + [ + [ + 64382, + 64385 + ], + "mapped", + [ + 1671 + ] + ], + [ + [ + 64386, + 64387 + ], + "mapped", + [ + 1677 + ] + ], + [ + [ + 64388, + 64389 + ], + "mapped", + [ + 1676 + ] + ], + [ + [ + 64390, + 64391 + ], + "mapped", + [ + 1678 + ] + ], + [ + [ + 64392, + 64393 + ], + "mapped", + [ + 1672 + ] + ], + [ + [ + 64394, + 64395 + ], + "mapped", + [ + 1688 + ] + ], + [ + [ + 64396, + 64397 + ], + "mapped", + [ + 1681 + ] + ], + [ + [ + 64398, + 64401 + ], + "mapped", + [ + 1705 + ] + ], + [ + [ + 64402, + 64405 + ], + "mapped", + [ + 1711 + ] + ], + [ + [ + 64406, + 64409 + ], + "mapped", + [ + 1715 + ] + ], + [ + [ + 64410, + 64413 + ], + "mapped", + [ + 1713 + ] + ], + [ + [ + 64414, + 64415 + ], + "mapped", + [ + 1722 + ] + ], + [ + [ + 64416, + 64419 + ], + "mapped", + [ + 1723 + ] + ], + [ + [ + 64420, + 64421 + ], + "mapped", + [ + 1728 + ] + ], + [ + [ + 64422, + 64425 + ], + "mapped", + [ + 1729 + ] + ], + [ + [ + 64426, + 64429 + ], + "mapped", + [ + 1726 + ] + ], + [ + [ + 64430, + 64431 + ], + "mapped", + [ + 1746 + ] + ], + [ + [ + 64432, + 64433 + ], + "mapped", + [ + 1747 + ] + ], + [ + [ + 64434, + 64449 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 64450, + 64466 + ], + "disallowed" + ], + [ + [ + 64467, + 64470 + ], + "mapped", + [ + 1709 + ] + ], + [ + [ + 64471, + 64472 + ], + "mapped", + [ + 1735 + ] + ], + [ + [ + 64473, + 64474 + ], + "mapped", + [ + 1734 + ] + ], + [ + [ + 64475, + 64476 + ], + "mapped", + [ + 1736 + ] + ], + [ + [ + 64477, + 64477 + ], + "mapped", + [ + 1735, + 1652 + ] + ], + [ + [ + 64478, + 64479 + ], + "mapped", + [ + 1739 + ] + ], + [ + [ + 64480, + 64481 + ], + "mapped", + [ + 1733 + ] + ], + [ + [ + 64482, + 64483 + ], + "mapped", + [ + 1737 + ] + ], + [ + [ + 64484, + 64487 + ], + "mapped", + [ + 1744 + ] + ], + [ + [ + 64488, + 64489 + ], + "mapped", + [ + 1609 + ] + ], + [ + [ + 64490, + 64491 + ], + "mapped", + [ + 1574, + 1575 + ] + ], + [ + [ + 64492, + 64493 + ], + "mapped", + [ + 1574, + 1749 + ] + ], + [ + [ + 64494, + 64495 + ], + "mapped", + [ + 1574, + 1608 + ] + ], + [ + [ + 64496, + 64497 + ], + "mapped", + [ + 1574, + 1735 + ] + ], + [ + [ + 64498, + 64499 + ], + "mapped", + [ + 1574, + 1734 + ] + ], + [ + [ + 64500, + 64501 + ], + "mapped", + [ + 1574, + 1736 + ] + ], + [ + [ + 64502, + 64504 + ], + "mapped", + [ + 1574, + 1744 + ] + ], + [ + [ + 64505, + 64507 + ], + "mapped", + [ + 1574, + 1609 + ] + ], + [ + [ + 64508, + 64511 + ], + "mapped", + [ + 1740 + ] + ], + [ + [ + 64512, + 64512 + ], + "mapped", + [ + 1574, + 1580 + ] + ], + [ + [ + 64513, + 64513 + ], + "mapped", + [ + 1574, + 1581 + ] + ], + [ + [ + 64514, + 64514 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64515, + 64515 + ], + "mapped", + [ + 1574, + 1609 + ] + ], + [ + [ + 64516, + 64516 + ], + "mapped", + [ + 1574, + 1610 + ] + ], + [ + [ + 64517, + 64517 + ], + "mapped", + [ + 1576, + 1580 + ] + ], + [ + [ + 64518, + 64518 + ], + "mapped", + [ + 1576, + 1581 + ] + ], + [ + [ + 64519, + 64519 + ], + "mapped", + [ + 1576, + 1582 + ] + ], + [ + [ + 64520, + 64520 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64521, + 64521 + ], + "mapped", + [ + 1576, + 1609 + ] + ], + [ + [ + 64522, + 64522 + ], + "mapped", + [ + 1576, + 1610 + ] + ], + [ + [ + 64523, + 64523 + ], + "mapped", + [ + 1578, + 1580 + ] + ], + [ + [ + 64524, + 64524 + ], + "mapped", + [ + 1578, + 1581 + ] + ], + [ + [ + 64525, + 64525 + ], + "mapped", + [ + 1578, + 1582 + ] + ], + [ + [ + 64526, + 64526 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64527, + 64527 + ], + "mapped", + [ + 1578, + 1609 + ] + ], + [ + [ + 64528, + 64528 + ], + "mapped", + [ + 1578, + 1610 + ] + ], + [ + [ + 64529, + 64529 + ], + "mapped", + [ + 1579, + 1580 + ] + ], + [ + [ + 64530, + 64530 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64531, + 64531 + ], + "mapped", + [ + 1579, + 1609 + ] + ], + [ + [ + 64532, + 64532 + ], + "mapped", + [ + 1579, + 1610 + ] + ], + [ + [ + 64533, + 64533 + ], + "mapped", + [ + 1580, + 1581 + ] + ], + [ + [ + 64534, + 64534 + ], + "mapped", + [ + 1580, + 1605 + ] + ], + [ + [ + 64535, + 64535 + ], + "mapped", + [ + 1581, + 1580 + ] + ], + [ + [ + 64536, + 64536 + ], + "mapped", + [ + 1581, + 1605 + ] + ], + [ + [ + 64537, + 64537 + ], + "mapped", + [ + 1582, + 1580 + ] + ], + [ + [ + 64538, + 64538 + ], + "mapped", + [ + 1582, + 1581 + ] + ], + [ + [ + 64539, + 64539 + ], + "mapped", + [ + 1582, + 1605 + ] + ], + [ + [ + 64540, + 64540 + ], + "mapped", + [ + 1587, + 1580 + ] + ], + [ + [ + 64541, + 64541 + ], + "mapped", + [ + 1587, + 1581 + ] + ], + [ + [ + 64542, + 64542 + ], + "mapped", + [ + 1587, + 1582 + ] + ], + [ + [ + 64543, + 64543 + ], + "mapped", + [ + 1587, + 1605 + ] + ], + [ + [ + 64544, + 64544 + ], + "mapped", + [ + 1589, + 1581 + ] + ], + [ + [ + 64545, + 64545 + ], + "mapped", + [ + 1589, + 1605 + ] + ], + [ + [ + 64546, + 64546 + ], + "mapped", + [ + 1590, + 1580 + ] + ], + [ + [ + 64547, + 64547 + ], + "mapped", + [ + 1590, + 1581 + ] + ], + [ + [ + 64548, + 64548 + ], + "mapped", + [ + 1590, + 1582 + ] + ], + [ + [ + 64549, + 64549 + ], + "mapped", + [ + 1590, + 1605 + ] + ], + [ + [ + 64550, + 64550 + ], + "mapped", + [ + 1591, + 1581 + ] + ], + [ + [ + 64551, + 64551 + ], + "mapped", + [ + 1591, + 1605 + ] + ], + [ + [ + 64552, + 64552 + ], + "mapped", + [ + 1592, + 1605 + ] + ], + [ + [ + 64553, + 64553 + ], + "mapped", + [ + 1593, + 1580 + ] + ], + [ + [ + 64554, + 64554 + ], + "mapped", + [ + 1593, + 1605 + ] + ], + [ + [ + 64555, + 64555 + ], + "mapped", + [ + 1594, + 1580 + ] + ], + [ + [ + 64556, + 64556 + ], + "mapped", + [ + 1594, + 1605 + ] + ], + [ + [ + 64557, + 64557 + ], + "mapped", + [ + 1601, + 1580 + ] + ], + [ + [ + 64558, + 64558 + ], + "mapped", + [ + 1601, + 1581 + ] + ], + [ + [ + 64559, + 64559 + ], + "mapped", + [ + 1601, + 1582 + ] + ], + [ + [ + 64560, + 64560 + ], + "mapped", + [ + 1601, + 1605 + ] + ], + [ + [ + 64561, + 64561 + ], + "mapped", + [ + 1601, + 1609 + ] + ], + [ + [ + 64562, + 64562 + ], + "mapped", + [ + 1601, + 1610 + ] + ], + [ + [ + 64563, + 64563 + ], + "mapped", + [ + 1602, + 1581 + ] + ], + [ + [ + 64564, + 64564 + ], + "mapped", + [ + 1602, + 1605 + ] + ], + [ + [ + 64565, + 64565 + ], + "mapped", + [ + 1602, + 1609 + ] + ], + [ + [ + 64566, + 64566 + ], + "mapped", + [ + 1602, + 1610 + ] + ], + [ + [ + 64567, + 64567 + ], + "mapped", + [ + 1603, + 1575 + ] + ], + [ + [ + 64568, + 64568 + ], + "mapped", + [ + 1603, + 1580 + ] + ], + [ + [ + 64569, + 64569 + ], + "mapped", + [ + 1603, + 1581 + ] + ], + [ + [ + 64570, + 64570 + ], + "mapped", + [ + 1603, + 1582 + ] + ], + [ + [ + 64571, + 64571 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64572, + 64572 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64573, + 64573 + ], + "mapped", + [ + 1603, + 1609 + ] + ], + [ + [ + 64574, + 64574 + ], + "mapped", + [ + 1603, + 1610 + ] + ], + [ + [ + 64575, + 64575 + ], + "mapped", + [ + 1604, + 1580 + ] + ], + [ + [ + 64576, + 64576 + ], + "mapped", + [ + 1604, + 1581 + ] + ], + [ + [ + 64577, + 64577 + ], + "mapped", + [ + 1604, + 1582 + ] + ], + [ + [ + 64578, + 64578 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64579, + 64579 + ], + "mapped", + [ + 1604, + 1609 + ] + ], + [ + [ + 64580, + 64580 + ], + "mapped", + [ + 1604, + 1610 + ] + ], + [ + [ + 64581, + 64581 + ], + "mapped", + [ + 1605, + 1580 + ] + ], + [ + [ + 64582, + 64582 + ], + "mapped", + [ + 1605, + 1581 + ] + ], + [ + [ + 64583, + 64583 + ], + "mapped", + [ + 1605, + 1582 + ] + ], + [ + [ + 64584, + 64584 + ], + "mapped", + [ + 1605, + 1605 + ] + ], + [ + [ + 64585, + 64585 + ], + "mapped", + [ + 1605, + 1609 + ] + ], + [ + [ + 64586, + 64586 + ], + "mapped", + [ + 1605, + 1610 + ] + ], + [ + [ + 64587, + 64587 + ], + "mapped", + [ + 1606, + 1580 + ] + ], + [ + [ + 64588, + 64588 + ], + "mapped", + [ + 1606, + 1581 + ] + ], + [ + [ + 64589, + 64589 + ], + "mapped", + [ + 1606, + 1582 + ] + ], + [ + [ + 64590, + 64590 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64591, + 64591 + ], + "mapped", + [ + 1606, + 1609 + ] + ], + [ + [ + 64592, + 64592 + ], + "mapped", + [ + 1606, + 1610 + ] + ], + [ + [ + 64593, + 64593 + ], + "mapped", + [ + 1607, + 1580 + ] + ], + [ + [ + 64594, + 64594 + ], + "mapped", + [ + 1607, + 1605 + ] + ], + [ + [ + 64595, + 64595 + ], + "mapped", + [ + 1607, + 1609 + ] + ], + [ + [ + 64596, + 64596 + ], + "mapped", + [ + 1607, + 1610 + ] + ], + [ + [ + 64597, + 64597 + ], + "mapped", + [ + 1610, + 1580 + ] + ], + [ + [ + 64598, + 64598 + ], + "mapped", + [ + 1610, + 1581 + ] + ], + [ + [ + 64599, + 64599 + ], + "mapped", + [ + 1610, + 1582 + ] + ], + [ + [ + 64600, + 64600 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64601, + 64601 + ], + "mapped", + [ + 1610, + 1609 + ] + ], + [ + [ + 64602, + 64602 + ], + "mapped", + [ + 1610, + 1610 + ] + ], + [ + [ + 64603, + 64603 + ], + "mapped", + [ + 1584, + 1648 + ] + ], + [ + [ + 64604, + 64604 + ], + "mapped", + [ + 1585, + 1648 + ] + ], + [ + [ + 64605, + 64605 + ], + "mapped", + [ + 1609, + 1648 + ] + ], + [ + [ + 64606, + 64606 + ], + "disallowed_STD3_mapped", + [ + 32, + 1612, + 1617 + ] + ], + [ + [ + 64607, + 64607 + ], + "disallowed_STD3_mapped", + [ + 32, + 1613, + 1617 + ] + ], + [ + [ + 64608, + 64608 + ], + "disallowed_STD3_mapped", + [ + 32, + 1614, + 1617 + ] + ], + [ + [ + 64609, + 64609 + ], + "disallowed_STD3_mapped", + [ + 32, + 1615, + 1617 + ] + ], + [ + [ + 64610, + 64610 + ], + "disallowed_STD3_mapped", + [ + 32, + 1616, + 1617 + ] + ], + [ + [ + 64611, + 64611 + ], + "disallowed_STD3_mapped", + [ + 32, + 1617, + 1648 + ] + ], + [ + [ + 64612, + 64612 + ], + "mapped", + [ + 1574, + 1585 + ] + ], + [ + [ + 64613, + 64613 + ], + "mapped", + [ + 1574, + 1586 + ] + ], + [ + [ + 64614, + 64614 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64615, + 64615 + ], + "mapped", + [ + 1574, + 1606 + ] + ], + [ + [ + 64616, + 64616 + ], + "mapped", + [ + 1574, + 1609 + ] + ], + [ + [ + 64617, + 64617 + ], + "mapped", + [ + 1574, + 1610 + ] + ], + [ + [ + 64618, + 64618 + ], + "mapped", + [ + 1576, + 1585 + ] + ], + [ + [ + 64619, + 64619 + ], + "mapped", + [ + 1576, + 1586 + ] + ], + [ + [ + 64620, + 64620 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64621, + 64621 + ], + "mapped", + [ + 1576, + 1606 + ] + ], + [ + [ + 64622, + 64622 + ], + "mapped", + [ + 1576, + 1609 + ] + ], + [ + [ + 64623, + 64623 + ], + "mapped", + [ + 1576, + 1610 + ] + ], + [ + [ + 64624, + 64624 + ], + "mapped", + [ + 1578, + 1585 + ] + ], + [ + [ + 64625, + 64625 + ], + "mapped", + [ + 1578, + 1586 + ] + ], + [ + [ + 64626, + 64626 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64627, + 64627 + ], + "mapped", + [ + 1578, + 1606 + ] + ], + [ + [ + 64628, + 64628 + ], + "mapped", + [ + 1578, + 1609 + ] + ], + [ + [ + 64629, + 64629 + ], + "mapped", + [ + 1578, + 1610 + ] + ], + [ + [ + 64630, + 64630 + ], + "mapped", + [ + 1579, + 1585 + ] + ], + [ + [ + 64631, + 64631 + ], + "mapped", + [ + 1579, + 1586 + ] + ], + [ + [ + 64632, + 64632 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64633, + 64633 + ], + "mapped", + [ + 1579, + 1606 + ] + ], + [ + [ + 64634, + 64634 + ], + "mapped", + [ + 1579, + 1609 + ] + ], + [ + [ + 64635, + 64635 + ], + "mapped", + [ + 1579, + 1610 + ] + ], + [ + [ + 64636, + 64636 + ], + "mapped", + [ + 1601, + 1609 + ] + ], + [ + [ + 64637, + 64637 + ], + "mapped", + [ + 1601, + 1610 + ] + ], + [ + [ + 64638, + 64638 + ], + "mapped", + [ + 1602, + 1609 + ] + ], + [ + [ + 64639, + 64639 + ], + "mapped", + [ + 1602, + 1610 + ] + ], + [ + [ + 64640, + 64640 + ], + "mapped", + [ + 1603, + 1575 + ] + ], + [ + [ + 64641, + 64641 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64642, + 64642 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64643, + 64643 + ], + "mapped", + [ + 1603, + 1609 + ] + ], + [ + [ + 64644, + 64644 + ], + "mapped", + [ + 1603, + 1610 + ] + ], + [ + [ + 64645, + 64645 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64646, + 64646 + ], + "mapped", + [ + 1604, + 1609 + ] + ], + [ + [ + 64647, + 64647 + ], + "mapped", + [ + 1604, + 1610 + ] + ], + [ + [ + 64648, + 64648 + ], + "mapped", + [ + 1605, + 1575 + ] + ], + [ + [ + 64649, + 64649 + ], + "mapped", + [ + 1605, + 1605 + ] + ], + [ + [ + 64650, + 64650 + ], + "mapped", + [ + 1606, + 1585 + ] + ], + [ + [ + 64651, + 64651 + ], + "mapped", + [ + 1606, + 1586 + ] + ], + [ + [ + 64652, + 64652 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64653, + 64653 + ], + "mapped", + [ + 1606, + 1606 + ] + ], + [ + [ + 64654, + 64654 + ], + "mapped", + [ + 1606, + 1609 + ] + ], + [ + [ + 64655, + 64655 + ], + "mapped", + [ + 1606, + 1610 + ] + ], + [ + [ + 64656, + 64656 + ], + "mapped", + [ + 1609, + 1648 + ] + ], + [ + [ + 64657, + 64657 + ], + "mapped", + [ + 1610, + 1585 + ] + ], + [ + [ + 64658, + 64658 + ], + "mapped", + [ + 1610, + 1586 + ] + ], + [ + [ + 64659, + 64659 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64660, + 64660 + ], + "mapped", + [ + 1610, + 1606 + ] + ], + [ + [ + 64661, + 64661 + ], + "mapped", + [ + 1610, + 1609 + ] + ], + [ + [ + 64662, + 64662 + ], + "mapped", + [ + 1610, + 1610 + ] + ], + [ + [ + 64663, + 64663 + ], + "mapped", + [ + 1574, + 1580 + ] + ], + [ + [ + 64664, + 64664 + ], + "mapped", + [ + 1574, + 1581 + ] + ], + [ + [ + 64665, + 64665 + ], + "mapped", + [ + 1574, + 1582 + ] + ], + [ + [ + 64666, + 64666 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64667, + 64667 + ], + "mapped", + [ + 1574, + 1607 + ] + ], + [ + [ + 64668, + 64668 + ], + "mapped", + [ + 1576, + 1580 + ] + ], + [ + [ + 64669, + 64669 + ], + "mapped", + [ + 1576, + 1581 + ] + ], + [ + [ + 64670, + 64670 + ], + "mapped", + [ + 1576, + 1582 + ] + ], + [ + [ + 64671, + 64671 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64672, + 64672 + ], + "mapped", + [ + 1576, + 1607 + ] + ], + [ + [ + 64673, + 64673 + ], + "mapped", + [ + 1578, + 1580 + ] + ], + [ + [ + 64674, + 64674 + ], + "mapped", + [ + 1578, + 1581 + ] + ], + [ + [ + 64675, + 64675 + ], + "mapped", + [ + 1578, + 1582 + ] + ], + [ + [ + 64676, + 64676 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64677, + 64677 + ], + "mapped", + [ + 1578, + 1607 + ] + ], + [ + [ + 64678, + 64678 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64679, + 64679 + ], + "mapped", + [ + 1580, + 1581 + ] + ], + [ + [ + 64680, + 64680 + ], + "mapped", + [ + 1580, + 1605 + ] + ], + [ + [ + 64681, + 64681 + ], + "mapped", + [ + 1581, + 1580 + ] + ], + [ + [ + 64682, + 64682 + ], + "mapped", + [ + 1581, + 1605 + ] + ], + [ + [ + 64683, + 64683 + ], + "mapped", + [ + 1582, + 1580 + ] + ], + [ + [ + 64684, + 64684 + ], + "mapped", + [ + 1582, + 1605 + ] + ], + [ + [ + 64685, + 64685 + ], + "mapped", + [ + 1587, + 1580 + ] + ], + [ + [ + 64686, + 64686 + ], + "mapped", + [ + 1587, + 1581 + ] + ], + [ + [ + 64687, + 64687 + ], + "mapped", + [ + 1587, + 1582 + ] + ], + [ + [ + 64688, + 64688 + ], + "mapped", + [ + 1587, + 1605 + ] + ], + [ + [ + 64689, + 64689 + ], + "mapped", + [ + 1589, + 1581 + ] + ], + [ + [ + 64690, + 64690 + ], + "mapped", + [ + 1589, + 1582 + ] + ], + [ + [ + 64691, + 64691 + ], + "mapped", + [ + 1589, + 1605 + ] + ], + [ + [ + 64692, + 64692 + ], + "mapped", + [ + 1590, + 1580 + ] + ], + [ + [ + 64693, + 64693 + ], + "mapped", + [ + 1590, + 1581 + ] + ], + [ + [ + 64694, + 64694 + ], + "mapped", + [ + 1590, + 1582 + ] + ], + [ + [ + 64695, + 64695 + ], + "mapped", + [ + 1590, + 1605 + ] + ], + [ + [ + 64696, + 64696 + ], + "mapped", + [ + 1591, + 1581 + ] + ], + [ + [ + 64697, + 64697 + ], + "mapped", + [ + 1592, + 1605 + ] + ], + [ + [ + 64698, + 64698 + ], + "mapped", + [ + 1593, + 1580 + ] + ], + [ + [ + 64699, + 64699 + ], + "mapped", + [ + 1593, + 1605 + ] + ], + [ + [ + 64700, + 64700 + ], + "mapped", + [ + 1594, + 1580 + ] + ], + [ + [ + 64701, + 64701 + ], + "mapped", + [ + 1594, + 1605 + ] + ], + [ + [ + 64702, + 64702 + ], + "mapped", + [ + 1601, + 1580 + ] + ], + [ + [ + 64703, + 64703 + ], + "mapped", + [ + 1601, + 1581 + ] + ], + [ + [ + 64704, + 64704 + ], + "mapped", + [ + 1601, + 1582 + ] + ], + [ + [ + 64705, + 64705 + ], + "mapped", + [ + 1601, + 1605 + ] + ], + [ + [ + 64706, + 64706 + ], + "mapped", + [ + 1602, + 1581 + ] + ], + [ + [ + 64707, + 64707 + ], + "mapped", + [ + 1602, + 1605 + ] + ], + [ + [ + 64708, + 64708 + ], + "mapped", + [ + 1603, + 1580 + ] + ], + [ + [ + 64709, + 64709 + ], + "mapped", + [ + 1603, + 1581 + ] + ], + [ + [ + 64710, + 64710 + ], + "mapped", + [ + 1603, + 1582 + ] + ], + [ + [ + 64711, + 64711 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64712, + 64712 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64713, + 64713 + ], + "mapped", + [ + 1604, + 1580 + ] + ], + [ + [ + 64714, + 64714 + ], + "mapped", + [ + 1604, + 1581 + ] + ], + [ + [ + 64715, + 64715 + ], + "mapped", + [ + 1604, + 1582 + ] + ], + [ + [ + 64716, + 64716 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64717, + 64717 + ], + "mapped", + [ + 1604, + 1607 + ] + ], + [ + [ + 64718, + 64718 + ], + "mapped", + [ + 1605, + 1580 + ] + ], + [ + [ + 64719, + 64719 + ], + "mapped", + [ + 1605, + 1581 + ] + ], + [ + [ + 64720, + 64720 + ], + "mapped", + [ + 1605, + 1582 + ] + ], + [ + [ + 64721, + 64721 + ], + "mapped", + [ + 1605, + 1605 + ] + ], + [ + [ + 64722, + 64722 + ], + "mapped", + [ + 1606, + 1580 + ] + ], + [ + [ + 64723, + 64723 + ], + "mapped", + [ + 1606, + 1581 + ] + ], + [ + [ + 64724, + 64724 + ], + "mapped", + [ + 1606, + 1582 + ] + ], + [ + [ + 64725, + 64725 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64726, + 64726 + ], + "mapped", + [ + 1606, + 1607 + ] + ], + [ + [ + 64727, + 64727 + ], + "mapped", + [ + 1607, + 1580 + ] + ], + [ + [ + 64728, + 64728 + ], + "mapped", + [ + 1607, + 1605 + ] + ], + [ + [ + 64729, + 64729 + ], + "mapped", + [ + 1607, + 1648 + ] + ], + [ + [ + 64730, + 64730 + ], + "mapped", + [ + 1610, + 1580 + ] + ], + [ + [ + 64731, + 64731 + ], + "mapped", + [ + 1610, + 1581 + ] + ], + [ + [ + 64732, + 64732 + ], + "mapped", + [ + 1610, + 1582 + ] + ], + [ + [ + 64733, + 64733 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64734, + 64734 + ], + "mapped", + [ + 1610, + 1607 + ] + ], + [ + [ + 64735, + 64735 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64736, + 64736 + ], + "mapped", + [ + 1574, + 1607 + ] + ], + [ + [ + 64737, + 64737 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64738, + 64738 + ], + "mapped", + [ + 1576, + 1607 + ] + ], + [ + [ + 64739, + 64739 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64740, + 64740 + ], + "mapped", + [ + 1578, + 1607 + ] + ], + [ + [ + 64741, + 64741 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64742, + 64742 + ], + "mapped", + [ + 1579, + 1607 + ] + ], + [ + [ + 64743, + 64743 + ], + "mapped", + [ + 1587, + 1605 + ] + ], + [ + [ + 64744, + 64744 + ], + "mapped", + [ + 1587, + 1607 + ] + ], + [ + [ + 64745, + 64745 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64746, + 64746 + ], + "mapped", + [ + 1588, + 1607 + ] + ], + [ + [ + 64747, + 64747 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64748, + 64748 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64749, + 64749 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64750, + 64750 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64751, + 64751 + ], + "mapped", + [ + 1606, + 1607 + ] + ], + [ + [ + 64752, + 64752 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64753, + 64753 + ], + "mapped", + [ + 1610, + 1607 + ] + ], + [ + [ + 64754, + 64754 + ], + "mapped", + [ + 1600, + 1614, + 1617 + ] + ], + [ + [ + 64755, + 64755 + ], + "mapped", + [ + 1600, + 1615, + 1617 + ] + ], + [ + [ + 64756, + 64756 + ], + "mapped", + [ + 1600, + 1616, + 1617 + ] + ], + [ + [ + 64757, + 64757 + ], + "mapped", + [ + 1591, + 1609 + ] + ], + [ + [ + 64758, + 64758 + ], + "mapped", + [ + 1591, + 1610 + ] + ], + [ + [ + 64759, + 64759 + ], + "mapped", + [ + 1593, + 1609 + ] + ], + [ + [ + 64760, + 64760 + ], + "mapped", + [ + 1593, + 1610 + ] + ], + [ + [ + 64761, + 64761 + ], + "mapped", + [ + 1594, + 1609 + ] + ], + [ + [ + 64762, + 64762 + ], + "mapped", + [ + 1594, + 1610 + ] + ], + [ + [ + 64763, + 64763 + ], + "mapped", + [ + 1587, + 1609 + ] + ], + [ + [ + 64764, + 64764 + ], + "mapped", + [ + 1587, + 1610 + ] + ], + [ + [ + 64765, + 64765 + ], + "mapped", + [ + 1588, + 1609 + ] + ], + [ + [ + 64766, + 64766 + ], + "mapped", + [ + 1588, + 1610 + ] + ], + [ + [ + 64767, + 64767 + ], + "mapped", + [ + 1581, + 1609 + ] + ], + [ + [ + 64768, + 64768 + ], + "mapped", + [ + 1581, + 1610 + ] + ], + [ + [ + 64769, + 64769 + ], + "mapped", + [ + 1580, + 1609 + ] + ], + [ + [ + 64770, + 64770 + ], + "mapped", + [ + 1580, + 1610 + ] + ], + [ + [ + 64771, + 64771 + ], + "mapped", + [ + 1582, + 1609 + ] + ], + [ + [ + 64772, + 64772 + ], + "mapped", + [ + 1582, + 1610 + ] + ], + [ + [ + 64773, + 64773 + ], + "mapped", + [ + 1589, + 1609 + ] + ], + [ + [ + 64774, + 64774 + ], + "mapped", + [ + 1589, + 1610 + ] + ], + [ + [ + 64775, + 64775 + ], + "mapped", + [ + 1590, + 1609 + ] + ], + [ + [ + 64776, + 64776 + ], + "mapped", + [ + 1590, + 1610 + ] + ], + [ + [ + 64777, + 64777 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64778, + 64778 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64779, + 64779 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64780, + 64780 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64781, + 64781 + ], + "mapped", + [ + 1588, + 1585 + ] + ], + [ + [ + 64782, + 64782 + ], + "mapped", + [ + 1587, + 1585 + ] + ], + [ + [ + 64783, + 64783 + ], + "mapped", + [ + 1589, + 1585 + ] + ], + [ + [ + 64784, + 64784 + ], + "mapped", + [ + 1590, + 1585 + ] + ], + [ + [ + 64785, + 64785 + ], + "mapped", + [ + 1591, + 1609 + ] + ], + [ + [ + 64786, + 64786 + ], + "mapped", + [ + 1591, + 1610 + ] + ], + [ + [ + 64787, + 64787 + ], + "mapped", + [ + 1593, + 1609 + ] + ], + [ + [ + 64788, + 64788 + ], + "mapped", + [ + 1593, + 1610 + ] + ], + [ + [ + 64789, + 64789 + ], + "mapped", + [ + 1594, + 1609 + ] + ], + [ + [ + 64790, + 64790 + ], + "mapped", + [ + 1594, + 1610 + ] + ], + [ + [ + 64791, + 64791 + ], + "mapped", + [ + 1587, + 1609 + ] + ], + [ + [ + 64792, + 64792 + ], + "mapped", + [ + 1587, + 1610 + ] + ], + [ + [ + 64793, + 64793 + ], + "mapped", + [ + 1588, + 1609 + ] + ], + [ + [ + 64794, + 64794 + ], + "mapped", + [ + 1588, + 1610 + ] + ], + [ + [ + 64795, + 64795 + ], + "mapped", + [ + 1581, + 1609 + ] + ], + [ + [ + 64796, + 64796 + ], + "mapped", + [ + 1581, + 1610 + ] + ], + [ + [ + 64797, + 64797 + ], + "mapped", + [ + 1580, + 1609 + ] + ], + [ + [ + 64798, + 64798 + ], + "mapped", + [ + 1580, + 1610 + ] + ], + [ + [ + 64799, + 64799 + ], + "mapped", + [ + 1582, + 1609 + ] + ], + [ + [ + 64800, + 64800 + ], + "mapped", + [ + 1582, + 1610 + ] + ], + [ + [ + 64801, + 64801 + ], + "mapped", + [ + 1589, + 1609 + ] + ], + [ + [ + 64802, + 64802 + ], + "mapped", + [ + 1589, + 1610 + ] + ], + [ + [ + 64803, + 64803 + ], + "mapped", + [ + 1590, + 1609 + ] + ], + [ + [ + 64804, + 64804 + ], + "mapped", + [ + 1590, + 1610 + ] + ], + [ + [ + 64805, + 64805 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64806, + 64806 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64807, + 64807 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64808, + 64808 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64809, + 64809 + ], + "mapped", + [ + 1588, + 1585 + ] + ], + [ + [ + 64810, + 64810 + ], + "mapped", + [ + 1587, + 1585 + ] + ], + [ + [ + 64811, + 64811 + ], + "mapped", + [ + 1589, + 1585 + ] + ], + [ + [ + 64812, + 64812 + ], + "mapped", + [ + 1590, + 1585 + ] + ], + [ + [ + 64813, + 64813 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64814, + 64814 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64815, + 64815 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64816, + 64816 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64817, + 64817 + ], + "mapped", + [ + 1587, + 1607 + ] + ], + [ + [ + 64818, + 64818 + ], + "mapped", + [ + 1588, + 1607 + ] + ], + [ + [ + 64819, + 64819 + ], + "mapped", + [ + 1591, + 1605 + ] + ], + [ + [ + 64820, + 64820 + ], + "mapped", + [ + 1587, + 1580 + ] + ], + [ + [ + 64821, + 64821 + ], + "mapped", + [ + 1587, + 1581 + ] + ], + [ + [ + 64822, + 64822 + ], + "mapped", + [ + 1587, + 1582 + ] + ], + [ + [ + 64823, + 64823 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64824, + 64824 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64825, + 64825 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64826, + 64826 + ], + "mapped", + [ + 1591, + 1605 + ] + ], + [ + [ + 64827, + 64827 + ], + "mapped", + [ + 1592, + 1605 + ] + ], + [ + [ + 64828, + 64829 + ], + "mapped", + [ + 1575, + 1611 + ] + ], + [ + [ + 64830, + 64831 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 64832, + 64847 + ], + "disallowed" + ], + [ + [ + 64848, + 64848 + ], + "mapped", + [ + 1578, + 1580, + 1605 + ] + ], + [ + [ + 64849, + 64850 + ], + "mapped", + [ + 1578, + 1581, + 1580 + ] + ], + [ + [ + 64851, + 64851 + ], + "mapped", + [ + 1578, + 1581, + 1605 + ] + ], + [ + [ + 64852, + 64852 + ], + "mapped", + [ + 1578, + 1582, + 1605 + ] + ], + [ + [ + 64853, + 64853 + ], + "mapped", + [ + 1578, + 1605, + 1580 + ] + ], + [ + [ + 64854, + 64854 + ], + "mapped", + [ + 1578, + 1605, + 1581 + ] + ], + [ + [ + 64855, + 64855 + ], + "mapped", + [ + 1578, + 1605, + 1582 + ] + ], + [ + [ + 64856, + 64857 + ], + "mapped", + [ + 1580, + 1605, + 1581 + ] + ], + [ + [ + 64858, + 64858 + ], + "mapped", + [ + 1581, + 1605, + 1610 + ] + ], + [ + [ + 64859, + 64859 + ], + "mapped", + [ + 1581, + 1605, + 1609 + ] + ], + [ + [ + 64860, + 64860 + ], + "mapped", + [ + 1587, + 1581, + 1580 + ] + ], + [ + [ + 64861, + 64861 + ], + "mapped", + [ + 1587, + 1580, + 1581 + ] + ], + [ + [ + 64862, + 64862 + ], + "mapped", + [ + 1587, + 1580, + 1609 + ] + ], + [ + [ + 64863, + 64864 + ], + "mapped", + [ + 1587, + 1605, + 1581 + ] + ], + [ + [ + 64865, + 64865 + ], + "mapped", + [ + 1587, + 1605, + 1580 + ] + ], + [ + [ + 64866, + 64867 + ], + "mapped", + [ + 1587, + 1605, + 1605 + ] + ], + [ + [ + 64868, + 64869 + ], + "mapped", + [ + 1589, + 1581, + 1581 + ] + ], + [ + [ + 64870, + 64870 + ], + "mapped", + [ + 1589, + 1605, + 1605 + ] + ], + [ + [ + 64871, + 64872 + ], + "mapped", + [ + 1588, + 1581, + 1605 + ] + ], + [ + [ + 64873, + 64873 + ], + "mapped", + [ + 1588, + 1580, + 1610 + ] + ], + [ + [ + 64874, + 64875 + ], + "mapped", + [ + 1588, + 1605, + 1582 + ] + ], + [ + [ + 64876, + 64877 + ], + "mapped", + [ + 1588, + 1605, + 1605 + ] + ], + [ + [ + 64878, + 64878 + ], + "mapped", + [ + 1590, + 1581, + 1609 + ] + ], + [ + [ + 64879, + 64880 + ], + "mapped", + [ + 1590, + 1582, + 1605 + ] + ], + [ + [ + 64881, + 64882 + ], + "mapped", + [ + 1591, + 1605, + 1581 + ] + ], + [ + [ + 64883, + 64883 + ], + "mapped", + [ + 1591, + 1605, + 1605 + ] + ], + [ + [ + 64884, + 64884 + ], + "mapped", + [ + 1591, + 1605, + 1610 + ] + ], + [ + [ + 64885, + 64885 + ], + "mapped", + [ + 1593, + 1580, + 1605 + ] + ], + [ + [ + 64886, + 64887 + ], + "mapped", + [ + 1593, + 1605, + 1605 + ] + ], + [ + [ + 64888, + 64888 + ], + "mapped", + [ + 1593, + 1605, + 1609 + ] + ], + [ + [ + 64889, + 64889 + ], + "mapped", + [ + 1594, + 1605, + 1605 + ] + ], + [ + [ + 64890, + 64890 + ], + "mapped", + [ + 1594, + 1605, + 1610 + ] + ], + [ + [ + 64891, + 64891 + ], + "mapped", + [ + 1594, + 1605, + 1609 + ] + ], + [ + [ + 64892, + 64893 + ], + "mapped", + [ + 1601, + 1582, + 1605 + ] + ], + [ + [ + 64894, + 64894 + ], + "mapped", + [ + 1602, + 1605, + 1581 + ] + ], + [ + [ + 64895, + 64895 + ], + "mapped", + [ + 1602, + 1605, + 1605 + ] + ], + [ + [ + 64896, + 64896 + ], + "mapped", + [ + 1604, + 1581, + 1605 + ] + ], + [ + [ + 64897, + 64897 + ], + "mapped", + [ + 1604, + 1581, + 1610 + ] + ], + [ + [ + 64898, + 64898 + ], + "mapped", + [ + 1604, + 1581, + 1609 + ] + ], + [ + [ + 64899, + 64900 + ], + "mapped", + [ + 1604, + 1580, + 1580 + ] + ], + [ + [ + 64901, + 64902 + ], + "mapped", + [ + 1604, + 1582, + 1605 + ] + ], + [ + [ + 64903, + 64904 + ], + "mapped", + [ + 1604, + 1605, + 1581 + ] + ], + [ + [ + 64905, + 64905 + ], + "mapped", + [ + 1605, + 1581, + 1580 + ] + ], + [ + [ + 64906, + 64906 + ], + "mapped", + [ + 1605, + 1581, + 1605 + ] + ], + [ + [ + 64907, + 64907 + ], + "mapped", + [ + 1605, + 1581, + 1610 + ] + ], + [ + [ + 64908, + 64908 + ], + "mapped", + [ + 1605, + 1580, + 1581 + ] + ], + [ + [ + 64909, + 64909 + ], + "mapped", + [ + 1605, + 1580, + 1605 + ] + ], + [ + [ + 64910, + 64910 + ], + "mapped", + [ + 1605, + 1582, + 1580 + ] + ], + [ + [ + 64911, + 64911 + ], + "mapped", + [ + 1605, + 1582, + 1605 + ] + ], + [ + [ + 64912, + 64913 + ], + "disallowed" + ], + [ + [ + 64914, + 64914 + ], + "mapped", + [ + 1605, + 1580, + 1582 + ] + ], + [ + [ + 64915, + 64915 + ], + "mapped", + [ + 1607, + 1605, + 1580 + ] + ], + [ + [ + 64916, + 64916 + ], + "mapped", + [ + 1607, + 1605, + 1605 + ] + ], + [ + [ + 64917, + 64917 + ], + "mapped", + [ + 1606, + 1581, + 1605 + ] + ], + [ + [ + 64918, + 64918 + ], + "mapped", + [ + 1606, + 1581, + 1609 + ] + ], + [ + [ + 64919, + 64920 + ], + "mapped", + [ + 1606, + 1580, + 1605 + ] + ], + [ + [ + 64921, + 64921 + ], + "mapped", + [ + 1606, + 1580, + 1609 + ] + ], + [ + [ + 64922, + 64922 + ], + "mapped", + [ + 1606, + 1605, + 1610 + ] + ], + [ + [ + 64923, + 64923 + ], + "mapped", + [ + 1606, + 1605, + 1609 + ] + ], + [ + [ + 64924, + 64925 + ], + "mapped", + [ + 1610, + 1605, + 1605 + ] + ], + [ + [ + 64926, + 64926 + ], + "mapped", + [ + 1576, + 1582, + 1610 + ] + ], + [ + [ + 64927, + 64927 + ], + "mapped", + [ + 1578, + 1580, + 1610 + ] + ], + [ + [ + 64928, + 64928 + ], + "mapped", + [ + 1578, + 1580, + 1609 + ] + ], + [ + [ + 64929, + 64929 + ], + "mapped", + [ + 1578, + 1582, + 1610 + ] + ], + [ + [ + 64930, + 64930 + ], + "mapped", + [ + 1578, + 1582, + 1609 + ] + ], + [ + [ + 64931, + 64931 + ], + "mapped", + [ + 1578, + 1605, + 1610 + ] + ], + [ + [ + 64932, + 64932 + ], + "mapped", + [ + 1578, + 1605, + 1609 + ] + ], + [ + [ + 64933, + 64933 + ], + "mapped", + [ + 1580, + 1605, + 1610 + ] + ], + [ + [ + 64934, + 64934 + ], + "mapped", + [ + 1580, + 1581, + 1609 + ] + ], + [ + [ + 64935, + 64935 + ], + "mapped", + [ + 1580, + 1605, + 1609 + ] + ], + [ + [ + 64936, + 64936 + ], + "mapped", + [ + 1587, + 1582, + 1609 + ] + ], + [ + [ + 64937, + 64937 + ], + "mapped", + [ + 1589, + 1581, + 1610 + ] + ], + [ + [ + 64938, + 64938 + ], + "mapped", + [ + 1588, + 1581, + 1610 + ] + ], + [ + [ + 64939, + 64939 + ], + "mapped", + [ + 1590, + 1581, + 1610 + ] + ], + [ + [ + 64940, + 64940 + ], + "mapped", + [ + 1604, + 1580, + 1610 + ] + ], + [ + [ + 64941, + 64941 + ], + "mapped", + [ + 1604, + 1605, + 1610 + ] + ], + [ + [ + 64942, + 64942 + ], + "mapped", + [ + 1610, + 1581, + 1610 + ] + ], + [ + [ + 64943, + 64943 + ], + "mapped", + [ + 1610, + 1580, + 1610 + ] + ], + [ + [ + 64944, + 64944 + ], + "mapped", + [ + 1610, + 1605, + 1610 + ] + ], + [ + [ + 64945, + 64945 + ], + "mapped", + [ + 1605, + 1605, + 1610 + ] + ], + [ + [ + 64946, + 64946 + ], + "mapped", + [ + 1602, + 1605, + 1610 + ] + ], + [ + [ + 64947, + 64947 + ], + "mapped", + [ + 1606, + 1581, + 1610 + ] + ], + [ + [ + 64948, + 64948 + ], + "mapped", + [ + 1602, + 1605, + 1581 + ] + ], + [ + [ + 64949, + 64949 + ], + "mapped", + [ + 1604, + 1581, + 1605 + ] + ], + [ + [ + 64950, + 64950 + ], + "mapped", + [ + 1593, + 1605, + 1610 + ] + ], + [ + [ + 64951, + 64951 + ], + "mapped", + [ + 1603, + 1605, + 1610 + ] + ], + [ + [ + 64952, + 64952 + ], + "mapped", + [ + 1606, + 1580, + 1581 + ] + ], + [ + [ + 64953, + 64953 + ], + "mapped", + [ + 1605, + 1582, + 1610 + ] + ], + [ + [ + 64954, + 64954 + ], + "mapped", + [ + 1604, + 1580, + 1605 + ] + ], + [ + [ + 64955, + 64955 + ], + "mapped", + [ + 1603, + 1605, + 1605 + ] + ], + [ + [ + 64956, + 64956 + ], + "mapped", + [ + 1604, + 1580, + 1605 + ] + ], + [ + [ + 64957, + 64957 + ], + "mapped", + [ + 1606, + 1580, + 1581 + ] + ], + [ + [ + 64958, + 64958 + ], + "mapped", + [ + 1580, + 1581, + 1610 + ] + ], + [ + [ + 64959, + 64959 + ], + "mapped", + [ + 1581, + 1580, + 1610 + ] + ], + [ + [ + 64960, + 64960 + ], + "mapped", + [ + 1605, + 1580, + 1610 + ] + ], + [ + [ + 64961, + 64961 + ], + "mapped", + [ + 1601, + 1605, + 1610 + ] + ], + [ + [ + 64962, + 64962 + ], + "mapped", + [ + 1576, + 1581, + 1610 + ] + ], + [ + [ + 64963, + 64963 + ], + "mapped", + [ + 1603, + 1605, + 1605 + ] + ], + [ + [ + 64964, + 64964 + ], + "mapped", + [ + 1593, + 1580, + 1605 + ] + ], + [ + [ + 64965, + 64965 + ], + "mapped", + [ + 1589, + 1605, + 1605 + ] + ], + [ + [ + 64966, + 64966 + ], + "mapped", + [ + 1587, + 1582, + 1610 + ] + ], + [ + [ + 64967, + 64967 + ], + "mapped", + [ + 1606, + 1580, + 1610 + ] + ], + [ + [ + 64968, + 64975 + ], + "disallowed" + ], + [ + [ + 64976, + 65007 + ], + "disallowed" + ], + [ + [ + 65008, + 65008 + ], + "mapped", + [ + 1589, + 1604, + 1746 + ] + ], + [ + [ + 65009, + 65009 + ], + "mapped", + [ + 1602, + 1604, + 1746 + ] + ], + [ + [ + 65010, + 65010 + ], + "mapped", + [ + 1575, + 1604, + 1604, + 1607 + ] + ], + [ + [ + 65011, + 65011 + ], + "mapped", + [ + 1575, + 1603, + 1576, + 1585 + ] + ], + [ + [ + 65012, + 65012 + ], + "mapped", + [ + 1605, + 1581, + 1605, + 1583 + ] + ], + [ + [ + 65013, + 65013 + ], + "mapped", + [ + 1589, + 1604, + 1593, + 1605 + ] + ], + [ + [ + 65014, + 65014 + ], + "mapped", + [ + 1585, + 1587, + 1608, + 1604 + ] + ], + [ + [ + 65015, + 65015 + ], + "mapped", + [ + 1593, + 1604, + 1610, + 1607 + ] + ], + [ + [ + 65016, + 65016 + ], + "mapped", + [ + 1608, + 1587, + 1604, + 1605 + ] + ], + [ + [ + 65017, + 65017 + ], + "mapped", + [ + 1589, + 1604, + 1609 + ] + ], + [ + [ + 65018, + 65018 + ], + "disallowed_STD3_mapped", + [ + 1589, + 1604, + 1609, + 32, + 1575, + 1604, + 1604, + 1607, + 32, + 1593, + 1604, + 1610, + 1607, + 32, + 1608, + 1587, + 1604, + 1605 + ] + ], + [ + [ + 65019, + 65019 + ], + "disallowed_STD3_mapped", + [ + 1580, + 1604, + 32, + 1580, + 1604, + 1575, + 1604, + 1607 + ] + ], + [ + [ + 65020, + 65020 + ], + "mapped", + [ + 1585, + 1740, + 1575, + 1604 + ] + ], + [ + [ + 65021, + 65021 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65022, + 65023 + ], + "disallowed" + ], + [ + [ + 65024, + 65039 + ], + "ignored" + ], + [ + [ + 65040, + 65040 + ], + "disallowed_STD3_mapped", + [ + 44 + ] + ], + [ + [ + 65041, + 65041 + ], + "mapped", + [ + 12289 + ] + ], + [ + [ + 65042, + 65042 + ], + "disallowed" + ], + [ + [ + 65043, + 65043 + ], + "disallowed_STD3_mapped", + [ + 58 + ] + ], + [ + [ + 65044, + 65044 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 65045, + 65045 + ], + "disallowed_STD3_mapped", + [ + 33 + ] + ], + [ + [ + 65046, + 65046 + ], + "disallowed_STD3_mapped", + [ + 63 + ] + ], + [ + [ + 65047, + 65047 + ], + "mapped", + [ + 12310 + ] + ], + [ + [ + 65048, + 65048 + ], + "mapped", + [ + 12311 + ] + ], + [ + [ + 65049, + 65049 + ], + "disallowed" + ], + [ + [ + 65050, + 65055 + ], + "disallowed" + ], + [ + [ + 65056, + 65059 + ], + "valid" + ], + [ + [ + 65060, + 65062 + ], + "valid" + ], + [ + [ + 65063, + 65069 + ], + "valid" + ], + [ + [ + 65070, + 65071 + ], + "valid" + ], + [ + [ + 65072, + 65072 + ], + "disallowed" + ], + [ + [ + 65073, + 65073 + ], + "mapped", + [ + 8212 + ] + ], + [ + [ + 65074, + 65074 + ], + "mapped", + [ + 8211 + ] + ], + [ + [ + 65075, + 65076 + ], + "disallowed_STD3_mapped", + [ + 95 + ] + ], + [ + [ + 65077, + 65077 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 65078, + 65078 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 65079, + 65079 + ], + "disallowed_STD3_mapped", + [ + 123 + ] + ], + [ + [ + 65080, + 65080 + ], + "disallowed_STD3_mapped", + [ + 125 + ] + ], + [ + [ + 65081, + 65081 + ], + "mapped", + [ + 12308 + ] + ], + [ + [ + 65082, + 65082 + ], + "mapped", + [ + 12309 + ] + ], + [ + [ + 65083, + 65083 + ], + "mapped", + [ + 12304 + ] + ], + [ + [ + 65084, + 65084 + ], + "mapped", + [ + 12305 + ] + ], + [ + [ + 65085, + 65085 + ], + "mapped", + [ + 12298 + ] + ], + [ + [ + 65086, + 65086 + ], + "mapped", + [ + 12299 + ] + ], + [ + [ + 65087, + 65087 + ], + "mapped", + [ + 12296 + ] + ], + [ + [ + 65088, + 65088 + ], + "mapped", + [ + 12297 + ] + ], + [ + [ + 65089, + 65089 + ], + "mapped", + [ + 12300 + ] + ], + [ + [ + 65090, + 65090 + ], + "mapped", + [ + 12301 + ] + ], + [ + [ + 65091, + 65091 + ], + "mapped", + [ + 12302 + ] + ], + [ + [ + 65092, + 65092 + ], + "mapped", + [ + 12303 + ] + ], + [ + [ + 65093, + 65094 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65095, + 65095 + ], + "disallowed_STD3_mapped", + [ + 91 + ] + ], + [ + [ + 65096, + 65096 + ], + "disallowed_STD3_mapped", + [ + 93 + ] + ], + [ + [ + 65097, + 65100 + ], + "disallowed_STD3_mapped", + [ + 32, + 773 + ] + ], + [ + [ + 65101, + 65103 + ], + "disallowed_STD3_mapped", + [ + 95 + ] + ], + [ + [ + 65104, + 65104 + ], + "disallowed_STD3_mapped", + [ + 44 + ] + ], + [ + [ + 65105, + 65105 + ], + "mapped", + [ + 12289 + ] + ], + [ + [ + 65106, + 65106 + ], + "disallowed" + ], + [ + [ + 65107, + 65107 + ], + "disallowed" + ], + [ + [ + 65108, + 65108 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 65109, + 65109 + ], + "disallowed_STD3_mapped", + [ + 58 + ] + ], + [ + [ + 65110, + 65110 + ], + "disallowed_STD3_mapped", + [ + 63 + ] + ], + [ + [ + 65111, + 65111 + ], + "disallowed_STD3_mapped", + [ + 33 + ] + ], + [ + [ + 65112, + 65112 + ], + "mapped", + [ + 8212 + ] + ], + [ + [ + 65113, + 65113 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 65114, + 65114 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 65115, + 65115 + ], + "disallowed_STD3_mapped", + [ + 123 + ] + ], + [ + [ + 65116, + 65116 + ], + "disallowed_STD3_mapped", + [ + 125 + ] + ], + [ + [ + 65117, + 65117 + ], + "mapped", + [ + 12308 + ] + ], + [ + [ + 65118, + 65118 + ], + "mapped", + [ + 12309 + ] + ], + [ + [ + 65119, + 65119 + ], + "disallowed_STD3_mapped", + [ + 35 + ] + ], + [ + [ + 65120, + 65120 + ], + "disallowed_STD3_mapped", + [ + 38 + ] + ], + [ + [ + 65121, + 65121 + ], + "disallowed_STD3_mapped", + [ + 42 + ] + ], + [ + [ + 65122, + 65122 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 65123, + 65123 + ], + "mapped", + [ + 45 + ] + ], + [ + [ + 65124, + 65124 + ], + "disallowed_STD3_mapped", + [ + 60 + ] + ], + [ + [ + 65125, + 65125 + ], + "disallowed_STD3_mapped", + [ + 62 + ] + ], + [ + [ + 65126, + 65126 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 65127, + 65127 + ], + "disallowed" + ], + [ + [ + 65128, + 65128 + ], + "disallowed_STD3_mapped", + [ + 92 + ] + ], + [ + [ + 65129, + 65129 + ], + "disallowed_STD3_mapped", + [ + 36 + ] + ], + [ + [ + 65130, + 65130 + ], + "disallowed_STD3_mapped", + [ + 37 + ] + ], + [ + [ + 65131, + 65131 + ], + "disallowed_STD3_mapped", + [ + 64 + ] + ], + [ + [ + 65132, + 65135 + ], + "disallowed" + ], + [ + [ + 65136, + 65136 + ], + "disallowed_STD3_mapped", + [ + 32, + 1611 + ] + ], + [ + [ + 65137, + 65137 + ], + "mapped", + [ + 1600, + 1611 + ] + ], + [ + [ + 65138, + 65138 + ], + "disallowed_STD3_mapped", + [ + 32, + 1612 + ] + ], + [ + [ + 65139, + 65139 + ], + "valid" + ], + [ + [ + 65140, + 65140 + ], + "disallowed_STD3_mapped", + [ + 32, + 1613 + ] + ], + [ + [ + 65141, + 65141 + ], + "disallowed" + ], + [ + [ + 65142, + 65142 + ], + "disallowed_STD3_mapped", + [ + 32, + 1614 + ] + ], + [ + [ + 65143, + 65143 + ], + "mapped", + [ + 1600, + 1614 + ] + ], + [ + [ + 65144, + 65144 + ], + "disallowed_STD3_mapped", + [ + 32, + 1615 + ] + ], + [ + [ + 65145, + 65145 + ], + "mapped", + [ + 1600, + 1615 + ] + ], + [ + [ + 65146, + 65146 + ], + "disallowed_STD3_mapped", + [ + 32, + 1616 + ] + ], + [ + [ + 65147, + 65147 + ], + "mapped", + [ + 1600, + 1616 + ] + ], + [ + [ + 65148, + 65148 + ], + "disallowed_STD3_mapped", + [ + 32, + 1617 + ] + ], + [ + [ + 65149, + 65149 + ], + "mapped", + [ + 1600, + 1617 + ] + ], + [ + [ + 65150, + 65150 + ], + "disallowed_STD3_mapped", + [ + 32, + 1618 + ] + ], + [ + [ + 65151, + 65151 + ], + "mapped", + [ + 1600, + 1618 + ] + ], + [ + [ + 65152, + 65152 + ], + "mapped", + [ + 1569 + ] + ], + [ + [ + 65153, + 65154 + ], + "mapped", + [ + 1570 + ] + ], + [ + [ + 65155, + 65156 + ], + "mapped", + [ + 1571 + ] + ], + [ + [ + 65157, + 65158 + ], + "mapped", + [ + 1572 + ] + ], + [ + [ + 65159, + 65160 + ], + "mapped", + [ + 1573 + ] + ], + [ + [ + 65161, + 65164 + ], + "mapped", + [ + 1574 + ] + ], + [ + [ + 65165, + 65166 + ], + "mapped", + [ + 1575 + ] + ], + [ + [ + 65167, + 65170 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 65171, + 65172 + ], + "mapped", + [ + 1577 + ] + ], + [ + [ + 65173, + 65176 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 65177, + 65180 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 65181, + 65184 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 65185, + 65188 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 65189, + 65192 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 65193, + 65194 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 65195, + 65196 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 65197, + 65198 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 65199, + 65200 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 65201, + 65204 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 65205, + 65208 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 65209, + 65212 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 65213, + 65216 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 65217, + 65220 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 65221, + 65224 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 65225, + 65228 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 65229, + 65232 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 65233, + 65236 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 65237, + 65240 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 65241, + 65244 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 65245, + 65248 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 65249, + 65252 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 65253, + 65256 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 65257, + 65260 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 65261, + 65262 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 65263, + 65264 + ], + "mapped", + [ + 1609 + ] + ], + [ + [ + 65265, + 65268 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 65269, + 65270 + ], + "mapped", + [ + 1604, + 1570 + ] + ], + [ + [ + 65271, + 65272 + ], + "mapped", + [ + 1604, + 1571 + ] + ], + [ + [ + 65273, + 65274 + ], + "mapped", + [ + 1604, + 1573 + ] + ], + [ + [ + 65275, + 65276 + ], + "mapped", + [ + 1604, + 1575 + ] + ], + [ + [ + 65277, + 65278 + ], + "disallowed" + ], + [ + [ + 65279, + 65279 + ], + "ignored" + ], + [ + [ + 65280, + 65280 + ], + "disallowed" + ], + [ + [ + 65281, + 65281 + ], + "disallowed_STD3_mapped", + [ + 33 + ] + ], + [ + [ + 65282, + 65282 + ], + "disallowed_STD3_mapped", + [ + 34 + ] + ], + [ + [ + 65283, + 65283 + ], + "disallowed_STD3_mapped", + [ + 35 + ] + ], + [ + [ + 65284, + 65284 + ], + "disallowed_STD3_mapped", + [ + 36 + ] + ], + [ + [ + 65285, + 65285 + ], + "disallowed_STD3_mapped", + [ + 37 + ] + ], + [ + [ + 65286, + 65286 + ], + "disallowed_STD3_mapped", + [ + 38 + ] + ], + [ + [ + 65287, + 65287 + ], + "disallowed_STD3_mapped", + [ + 39 + ] + ], + [ + [ + 65288, + 65288 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 65289, + 65289 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 65290, + 65290 + ], + "disallowed_STD3_mapped", + [ + 42 + ] + ], + [ + [ + 65291, + 65291 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 65292, + 65292 + ], + "disallowed_STD3_mapped", + [ + 44 + ] + ], + [ + [ + 65293, + 65293 + ], + "mapped", + [ + 45 + ] + ], + [ + [ + 65294, + 65294 + ], + "mapped", + [ + 46 + ] + ], + [ + [ + 65295, + 65295 + ], + "disallowed_STD3_mapped", + [ + 47 + ] + ], + [ + [ + 65296, + 65296 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 65297, + 65297 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 65298, + 65298 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 65299, + 65299 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 65300, + 65300 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 65301, + 65301 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 65302, + 65302 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 65303, + 65303 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 65304, + 65304 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 65305, + 65305 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 65306, + 65306 + ], + "disallowed_STD3_mapped", + [ + 58 + ] + ], + [ + [ + 65307, + 65307 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 65308, + 65308 + ], + "disallowed_STD3_mapped", + [ + 60 + ] + ], + [ + [ + 65309, + 65309 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 65310, + 65310 + ], + "disallowed_STD3_mapped", + [ + 62 + ] + ], + [ + [ + 65311, + 65311 + ], + "disallowed_STD3_mapped", + [ + 63 + ] + ], + [ + [ + 65312, + 65312 + ], + "disallowed_STD3_mapped", + [ + 64 + ] + ], + [ + [ + 65313, + 65313 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 65314, + 65314 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 65315, + 65315 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 65316, + 65316 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 65317, + 65317 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 65318, + 65318 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 65319, + 65319 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 65320, + 65320 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 65321, + 65321 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 65322, + 65322 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 65323, + 65323 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 65324, + 65324 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 65325, + 65325 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 65326, + 65326 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 65327, + 65327 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 65328, + 65328 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 65329, + 65329 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 65330, + 65330 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 65331, + 65331 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 65332, + 65332 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 65333, + 65333 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 65334, + 65334 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 65335, + 65335 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 65336, + 65336 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 65337, + 65337 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 65338, + 65338 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 65339, + 65339 + ], + "disallowed_STD3_mapped", + [ + 91 + ] + ], + [ + [ + 65340, + 65340 + ], + "disallowed_STD3_mapped", + [ + 92 + ] + ], + [ + [ + 65341, + 65341 + ], + "disallowed_STD3_mapped", + [ + 93 + ] + ], + [ + [ + 65342, + 65342 + ], + "disallowed_STD3_mapped", + [ + 94 + ] + ], + [ + [ + 65343, + 65343 + ], + "disallowed_STD3_mapped", + [ + 95 + ] + ], + [ + [ + 65344, + 65344 + ], + "disallowed_STD3_mapped", + [ + 96 + ] + ], + [ + [ + 65345, + 65345 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 65346, + 65346 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 65347, + 65347 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 65348, + 65348 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 65349, + 65349 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 65350, + 65350 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 65351, + 65351 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 65352, + 65352 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 65353, + 65353 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 65354, + 65354 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 65355, + 65355 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 65356, + 65356 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 65357, + 65357 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 65358, + 65358 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 65359, + 65359 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 65360, + 65360 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 65361, + 65361 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 65362, + 65362 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 65363, + 65363 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 65364, + 65364 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 65365, + 65365 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 65366, + 65366 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 65367, + 65367 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 65368, + 65368 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 65369, + 65369 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 65370, + 65370 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 65371, + 65371 + ], + "disallowed_STD3_mapped", + [ + 123 + ] + ], + [ + [ + 65372, + 65372 + ], + "disallowed_STD3_mapped", + [ + 124 + ] + ], + [ + [ + 65373, + 65373 + ], + "disallowed_STD3_mapped", + [ + 125 + ] + ], + [ + [ + 65374, + 65374 + ], + "disallowed_STD3_mapped", + [ + 126 + ] + ], + [ + [ + 65375, + 65375 + ], + "mapped", + [ + 10629 + ] + ], + [ + [ + 65376, + 65376 + ], + "mapped", + [ + 10630 + ] + ], + [ + [ + 65377, + 65377 + ], + "mapped", + [ + 46 + ] + ], + [ + [ + 65378, + 65378 + ], + "mapped", + [ + 12300 + ] + ], + [ + [ + 65379, + 65379 + ], + "mapped", + [ + 12301 + ] + ], + [ + [ + 65380, + 65380 + ], + "mapped", + [ + 12289 + ] + ], + [ + [ + 65381, + 65381 + ], + "mapped", + [ + 12539 + ] + ], + [ + [ + 65382, + 65382 + ], + "mapped", + [ + 12530 + ] + ], + [ + [ + 65383, + 65383 + ], + "mapped", + [ + 12449 + ] + ], + [ + [ + 65384, + 65384 + ], + "mapped", + [ + 12451 + ] + ], + [ + [ + 65385, + 65385 + ], + "mapped", + [ + 12453 + ] + ], + [ + [ + 65386, + 65386 + ], + "mapped", + [ + 12455 + ] + ], + [ + [ + 65387, + 65387 + ], + "mapped", + [ + 12457 + ] + ], + [ + [ + 65388, + 65388 + ], + "mapped", + [ + 12515 + ] + ], + [ + [ + 65389, + 65389 + ], + "mapped", + [ + 12517 + ] + ], + [ + [ + 65390, + 65390 + ], + "mapped", + [ + 12519 + ] + ], + [ + [ + 65391, + 65391 + ], + "mapped", + [ + 12483 + ] + ], + [ + [ + 65392, + 65392 + ], + "mapped", + [ + 12540 + ] + ], + [ + [ + 65393, + 65393 + ], + "mapped", + [ + 12450 + ] + ], + [ + [ + 65394, + 65394 + ], + "mapped", + [ + 12452 + ] + ], + [ + [ + 65395, + 65395 + ], + "mapped", + [ + 12454 + ] + ], + [ + [ + 65396, + 65396 + ], + "mapped", + [ + 12456 + ] + ], + [ + [ + 65397, + 65397 + ], + "mapped", + [ + 12458 + ] + ], + [ + [ + 65398, + 65398 + ], + "mapped", + [ + 12459 + ] + ], + [ + [ + 65399, + 65399 + ], + "mapped", + [ + 12461 + ] + ], + [ + [ + 65400, + 65400 + ], + "mapped", + [ + 12463 + ] + ], + [ + [ + 65401, + 65401 + ], + "mapped", + [ + 12465 + ] + ], + [ + [ + 65402, + 65402 + ], + "mapped", + [ + 12467 + ] + ], + [ + [ + 65403, + 65403 + ], + "mapped", + [ + 12469 + ] + ], + [ + [ + 65404, + 65404 + ], + "mapped", + [ + 12471 + ] + ], + [ + [ + 65405, + 65405 + ], + "mapped", + [ + 12473 + ] + ], + [ + [ + 65406, + 65406 + ], + "mapped", + [ + 12475 + ] + ], + [ + [ + 65407, + 65407 + ], + "mapped", + [ + 12477 + ] + ], + [ + [ + 65408, + 65408 + ], + "mapped", + [ + 12479 + ] + ], + [ + [ + 65409, + 65409 + ], + "mapped", + [ + 12481 + ] + ], + [ + [ + 65410, + 65410 + ], + "mapped", + [ + 12484 + ] + ], + [ + [ + 65411, + 65411 + ], + "mapped", + [ + 12486 + ] + ], + [ + [ + 65412, + 65412 + ], + "mapped", + [ + 12488 + ] + ], + [ + [ + 65413, + 65413 + ], + "mapped", + [ + 12490 + ] + ], + [ + [ + 65414, + 65414 + ], + "mapped", + [ + 12491 + ] + ], + [ + [ + 65415, + 65415 + ], + "mapped", + [ + 12492 + ] + ], + [ + [ + 65416, + 65416 + ], + "mapped", + [ + 12493 + ] + ], + [ + [ + 65417, + 65417 + ], + "mapped", + [ + 12494 + ] + ], + [ + [ + 65418, + 65418 + ], + "mapped", + [ + 12495 + ] + ], + [ + [ + 65419, + 65419 + ], + "mapped", + [ + 12498 + ] + ], + [ + [ + 65420, + 65420 + ], + "mapped", + [ + 12501 + ] + ], + [ + [ + 65421, + 65421 + ], + "mapped", + [ + 12504 + ] + ], + [ + [ + 65422, + 65422 + ], + "mapped", + [ + 12507 + ] + ], + [ + [ + 65423, + 65423 + ], + "mapped", + [ + 12510 + ] + ], + [ + [ + 65424, + 65424 + ], + "mapped", + [ + 12511 + ] + ], + [ + [ + 65425, + 65425 + ], + "mapped", + [ + 12512 + ] + ], + [ + [ + 65426, + 65426 + ], + "mapped", + [ + 12513 + ] + ], + [ + [ + 65427, + 65427 + ], + "mapped", + [ + 12514 + ] + ], + [ + [ + 65428, + 65428 + ], + "mapped", + [ + 12516 + ] + ], + [ + [ + 65429, + 65429 + ], + "mapped", + [ + 12518 + ] + ], + [ + [ + 65430, + 65430 + ], + "mapped", + [ + 12520 + ] + ], + [ + [ + 65431, + 65431 + ], + "mapped", + [ + 12521 + ] + ], + [ + [ + 65432, + 65432 + ], + "mapped", + [ + 12522 + ] + ], + [ + [ + 65433, + 65433 + ], + "mapped", + [ + 12523 + ] + ], + [ + [ + 65434, + 65434 + ], + "mapped", + [ + 12524 + ] + ], + [ + [ + 65435, + 65435 + ], + "mapped", + [ + 12525 + ] + ], + [ + [ + 65436, + 65436 + ], + "mapped", + [ + 12527 + ] + ], + [ + [ + 65437, + 65437 + ], + "mapped", + [ + 12531 + ] + ], + [ + [ + 65438, + 65438 + ], + "mapped", + [ + 12441 + ] + ], + [ + [ + 65439, + 65439 + ], + "mapped", + [ + 12442 + ] + ], + [ + [ + 65440, + 65440 + ], + "disallowed" + ], + [ + [ + 65441, + 65441 + ], + "mapped", + [ + 4352 + ] + ], + [ + [ + 65442, + 65442 + ], + "mapped", + [ + 4353 + ] + ], + [ + [ + 65443, + 65443 + ], + "mapped", + [ + 4522 + ] + ], + [ + [ + 65444, + 65444 + ], + "mapped", + [ + 4354 + ] + ], + [ + [ + 65445, + 65445 + ], + "mapped", + [ + 4524 + ] + ], + [ + [ + 65446, + 65446 + ], + "mapped", + [ + 4525 + ] + ], + [ + [ + 65447, + 65447 + ], + "mapped", + [ + 4355 + ] + ], + [ + [ + 65448, + 65448 + ], + "mapped", + [ + 4356 + ] + ], + [ + [ + 65449, + 65449 + ], + "mapped", + [ + 4357 + ] + ], + [ + [ + 65450, + 65450 + ], + "mapped", + [ + 4528 + ] + ], + [ + [ + 65451, + 65451 + ], + "mapped", + [ + 4529 + ] + ], + [ + [ + 65452, + 65452 + ], + "mapped", + [ + 4530 + ] + ], + [ + [ + 65453, + 65453 + ], + "mapped", + [ + 4531 + ] + ], + [ + [ + 65454, + 65454 + ], + "mapped", + [ + 4532 + ] + ], + [ + [ + 65455, + 65455 + ], + "mapped", + [ + 4533 + ] + ], + [ + [ + 65456, + 65456 + ], + "mapped", + [ + 4378 + ] + ], + [ + [ + 65457, + 65457 + ], + "mapped", + [ + 4358 + ] + ], + [ + [ + 65458, + 65458 + ], + "mapped", + [ + 4359 + ] + ], + [ + [ + 65459, + 65459 + ], + "mapped", + [ + 4360 + ] + ], + [ + [ + 65460, + 65460 + ], + "mapped", + [ + 4385 + ] + ], + [ + [ + 65461, + 65461 + ], + "mapped", + [ + 4361 + ] + ], + [ + [ + 65462, + 65462 + ], + "mapped", + [ + 4362 + ] + ], + [ + [ + 65463, + 65463 + ], + "mapped", + [ + 4363 + ] + ], + [ + [ + 65464, + 65464 + ], + "mapped", + [ + 4364 + ] + ], + [ + [ + 65465, + 65465 + ], + "mapped", + [ + 4365 + ] + ], + [ + [ + 65466, + 65466 + ], + "mapped", + [ + 4366 + ] + ], + [ + [ + 65467, + 65467 + ], + "mapped", + [ + 4367 + ] + ], + [ + [ + 65468, + 65468 + ], + "mapped", + [ + 4368 + ] + ], + [ + [ + 65469, + 65469 + ], + "mapped", + [ + 4369 + ] + ], + [ + [ + 65470, + 65470 + ], + "mapped", + [ + 4370 + ] + ], + [ + [ + 65471, + 65473 + ], + "disallowed" + ], + [ + [ + 65474, + 65474 + ], + "mapped", + [ + 4449 + ] + ], + [ + [ + 65475, + 65475 + ], + "mapped", + [ + 4450 + ] + ], + [ + [ + 65476, + 65476 + ], + "mapped", + [ + 4451 + ] + ], + [ + [ + 65477, + 65477 + ], + "mapped", + [ + 4452 + ] + ], + [ + [ + 65478, + 65478 + ], + "mapped", + [ + 4453 + ] + ], + [ + [ + 65479, + 65479 + ], + "mapped", + [ + 4454 + ] + ], + [ + [ + 65480, + 65481 + ], + "disallowed" + ], + [ + [ + 65482, + 65482 + ], + "mapped", + [ + 4455 + ] + ], + [ + [ + 65483, + 65483 + ], + "mapped", + [ + 4456 + ] + ], + [ + [ + 65484, + 65484 + ], + "mapped", + [ + 4457 + ] + ], + [ + [ + 65485, + 65485 + ], + "mapped", + [ + 4458 + ] + ], + [ + [ + 65486, + 65486 + ], + "mapped", + [ + 4459 + ] + ], + [ + [ + 65487, + 65487 + ], + "mapped", + [ + 4460 + ] + ], + [ + [ + 65488, + 65489 + ], + "disallowed" + ], + [ + [ + 65490, + 65490 + ], + "mapped", + [ + 4461 + ] + ], + [ + [ + 65491, + 65491 + ], + "mapped", + [ + 4462 + ] + ], + [ + [ + 65492, + 65492 + ], + "mapped", + [ + 4463 + ] + ], + [ + [ + 65493, + 65493 + ], + "mapped", + [ + 4464 + ] + ], + [ + [ + 65494, + 65494 + ], + "mapped", + [ + 4465 + ] + ], + [ + [ + 65495, + 65495 + ], + "mapped", + [ + 4466 + ] + ], + [ + [ + 65496, + 65497 + ], + "disallowed" + ], + [ + [ + 65498, + 65498 + ], + "mapped", + [ + 4467 + ] + ], + [ + [ + 65499, + 65499 + ], + "mapped", + [ + 4468 + ] + ], + [ + [ + 65500, + 65500 + ], + "mapped", + [ + 4469 + ] + ], + [ + [ + 65501, + 65503 + ], + "disallowed" + ], + [ + [ + 65504, + 65504 + ], + "mapped", + [ + 162 + ] + ], + [ + [ + 65505, + 65505 + ], + "mapped", + [ + 163 + ] + ], + [ + [ + 65506, + 65506 + ], + "mapped", + [ + 172 + ] + ], + [ + [ + 65507, + 65507 + ], + "disallowed_STD3_mapped", + [ + 32, + 772 + ] + ], + [ + [ + 65508, + 65508 + ], + "mapped", + [ + 166 + ] + ], + [ + [ + 65509, + 65509 + ], + "mapped", + [ + 165 + ] + ], + [ + [ + 65510, + 65510 + ], + "mapped", + [ + 8361 + ] + ], + [ + [ + 65511, + 65511 + ], + "disallowed" + ], + [ + [ + 65512, + 65512 + ], + "mapped", + [ + 9474 + ] + ], + [ + [ + 65513, + 65513 + ], + "mapped", + [ + 8592 + ] + ], + [ + [ + 65514, + 65514 + ], + "mapped", + [ + 8593 + ] + ], + [ + [ + 65515, + 65515 + ], + "mapped", + [ + 8594 + ] + ], + [ + [ + 65516, + 65516 + ], + "mapped", + [ + 8595 + ] + ], + [ + [ + 65517, + 65517 + ], + "mapped", + [ + 9632 + ] + ], + [ + [ + 65518, + 65518 + ], + "mapped", + [ + 9675 + ] + ], + [ + [ + 65519, + 65528 + ], + "disallowed" + ], + [ + [ + 65529, + 65531 + ], + "disallowed" + ], + [ + [ + 65532, + 65532 + ], + "disallowed" + ], + [ + [ + 65533, + 65533 + ], + "disallowed" + ], + [ + [ + 65534, + 65535 + ], + "disallowed" + ], + [ + [ + 65536, + 65547 + ], + "valid" + ], + [ + [ + 65548, + 65548 + ], + "disallowed" + ], + [ + [ + 65549, + 65574 + ], + "valid" + ], + [ + [ + 65575, + 65575 + ], + "disallowed" + ], + [ + [ + 65576, + 65594 + ], + "valid" + ], + [ + [ + 65595, + 65595 + ], + "disallowed" + ], + [ + [ + 65596, + 65597 + ], + "valid" + ], + [ + [ + 65598, + 65598 + ], + "disallowed" + ], + [ + [ + 65599, + 65613 + ], + "valid" + ], + [ + [ + 65614, + 65615 + ], + "disallowed" + ], + [ + [ + 65616, + 65629 + ], + "valid" + ], + [ + [ + 65630, + 65663 + ], + "disallowed" + ], + [ + [ + 65664, + 65786 + ], + "valid" + ], + [ + [ + 65787, + 65791 + ], + "disallowed" + ], + [ + [ + 65792, + 65794 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65795, + 65798 + ], + "disallowed" + ], + [ + [ + 65799, + 65843 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65844, + 65846 + ], + "disallowed" + ], + [ + [ + 65847, + 65855 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65856, + 65930 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65931, + 65932 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65933, + 65935 + ], + "disallowed" + ], + [ + [ + 65936, + 65947 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65948, + 65951 + ], + "disallowed" + ], + [ + [ + 65952, + 65952 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65953, + 65999 + ], + "disallowed" + ], + [ + [ + 66000, + 66044 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66045, + 66045 + ], + "valid" + ], + [ + [ + 66046, + 66175 + ], + "disallowed" + ], + [ + [ + 66176, + 66204 + ], + "valid" + ], + [ + [ + 66205, + 66207 + ], + "disallowed" + ], + [ + [ + 66208, + 66256 + ], + "valid" + ], + [ + [ + 66257, + 66271 + ], + "disallowed" + ], + [ + [ + 66272, + 66272 + ], + "valid" + ], + [ + [ + 66273, + 66299 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66300, + 66303 + ], + "disallowed" + ], + [ + [ + 66304, + 66334 + ], + "valid" + ], + [ + [ + 66335, + 66335 + ], + "valid" + ], + [ + [ + 66336, + 66339 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66340, + 66351 + ], + "disallowed" + ], + [ + [ + 66352, + 66368 + ], + "valid" + ], + [ + [ + 66369, + 66369 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66370, + 66377 + ], + "valid" + ], + [ + [ + 66378, + 66378 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66379, + 66383 + ], + "disallowed" + ], + [ + [ + 66384, + 66426 + ], + "valid" + ], + [ + [ + 66427, + 66431 + ], + "disallowed" + ], + [ + [ + 66432, + 66461 + ], + "valid" + ], + [ + [ + 66462, + 66462 + ], + "disallowed" + ], + [ + [ + 66463, + 66463 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66464, + 66499 + ], + "valid" + ], + [ + [ + 66500, + 66503 + ], + "disallowed" + ], + [ + [ + 66504, + 66511 + ], + "valid" + ], + [ + [ + 66512, + 66517 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66518, + 66559 + ], + "disallowed" + ], + [ + [ + 66560, + 66560 + ], + "mapped", + [ + 66600 + ] + ], + [ + [ + 66561, + 66561 + ], + "mapped", + [ + 66601 + ] + ], + [ + [ + 66562, + 66562 + ], + "mapped", + [ + 66602 + ] + ], + [ + [ + 66563, + 66563 + ], + "mapped", + [ + 66603 + ] + ], + [ + [ + 66564, + 66564 + ], + "mapped", + [ + 66604 + ] + ], + [ + [ + 66565, + 66565 + ], + "mapped", + [ + 66605 + ] + ], + [ + [ + 66566, + 66566 + ], + "mapped", + [ + 66606 + ] + ], + [ + [ + 66567, + 66567 + ], + "mapped", + [ + 66607 + ] + ], + [ + [ + 66568, + 66568 + ], + "mapped", + [ + 66608 + ] + ], + [ + [ + 66569, + 66569 + ], + "mapped", + [ + 66609 + ] + ], + [ + [ + 66570, + 66570 + ], + "mapped", + [ + 66610 + ] + ], + [ + [ + 66571, + 66571 + ], + "mapped", + [ + 66611 + ] + ], + [ + [ + 66572, + 66572 + ], + "mapped", + [ + 66612 + ] + ], + [ + [ + 66573, + 66573 + ], + "mapped", + [ + 66613 + ] + ], + [ + [ + 66574, + 66574 + ], + "mapped", + [ + 66614 + ] + ], + [ + [ + 66575, + 66575 + ], + "mapped", + [ + 66615 + ] + ], + [ + [ + 66576, + 66576 + ], + "mapped", + [ + 66616 + ] + ], + [ + [ + 66577, + 66577 + ], + "mapped", + [ + 66617 + ] + ], + [ + [ + 66578, + 66578 + ], + "mapped", + [ + 66618 + ] + ], + [ + [ + 66579, + 66579 + ], + "mapped", + [ + 66619 + ] + ], + [ + [ + 66580, + 66580 + ], + "mapped", + [ + 66620 + ] + ], + [ + [ + 66581, + 66581 + ], + "mapped", + [ + 66621 + ] + ], + [ + [ + 66582, + 66582 + ], + "mapped", + [ + 66622 + ] + ], + [ + [ + 66583, + 66583 + ], + "mapped", + [ + 66623 + ] + ], + [ + [ + 66584, + 66584 + ], + "mapped", + [ + 66624 + ] + ], + [ + [ + 66585, + 66585 + ], + "mapped", + [ + 66625 + ] + ], + [ + [ + 66586, + 66586 + ], + "mapped", + [ + 66626 + ] + ], + [ + [ + 66587, + 66587 + ], + "mapped", + [ + 66627 + ] + ], + [ + [ + 66588, + 66588 + ], + "mapped", + [ + 66628 + ] + ], + [ + [ + 66589, + 66589 + ], + "mapped", + [ + 66629 + ] + ], + [ + [ + 66590, + 66590 + ], + "mapped", + [ + 66630 + ] + ], + [ + [ + 66591, + 66591 + ], + "mapped", + [ + 66631 + ] + ], + [ + [ + 66592, + 66592 + ], + "mapped", + [ + 66632 + ] + ], + [ + [ + 66593, + 66593 + ], + "mapped", + [ + 66633 + ] + ], + [ + [ + 66594, + 66594 + ], + "mapped", + [ + 66634 + ] + ], + [ + [ + 66595, + 66595 + ], + "mapped", + [ + 66635 + ] + ], + [ + [ + 66596, + 66596 + ], + "mapped", + [ + 66636 + ] + ], + [ + [ + 66597, + 66597 + ], + "mapped", + [ + 66637 + ] + ], + [ + [ + 66598, + 66598 + ], + "mapped", + [ + 66638 + ] + ], + [ + [ + 66599, + 66599 + ], + "mapped", + [ + 66639 + ] + ], + [ + [ + 66600, + 66637 + ], + "valid" + ], + [ + [ + 66638, + 66717 + ], + "valid" + ], + [ + [ + 66718, + 66719 + ], + "disallowed" + ], + [ + [ + 66720, + 66729 + ], + "valid" + ], + [ + [ + 66730, + 66815 + ], + "disallowed" + ], + [ + [ + 66816, + 66855 + ], + "valid" + ], + [ + [ + 66856, + 66863 + ], + "disallowed" + ], + [ + [ + 66864, + 66915 + ], + "valid" + ], + [ + [ + 66916, + 66926 + ], + "disallowed" + ], + [ + [ + 66927, + 66927 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66928, + 67071 + ], + "disallowed" + ], + [ + [ + 67072, + 67382 + ], + "valid" + ], + [ + [ + 67383, + 67391 + ], + "disallowed" + ], + [ + [ + 67392, + 67413 + ], + "valid" + ], + [ + [ + 67414, + 67423 + ], + "disallowed" + ], + [ + [ + 67424, + 67431 + ], + "valid" + ], + [ + [ + 67432, + 67583 + ], + "disallowed" + ], + [ + [ + 67584, + 67589 + ], + "valid" + ], + [ + [ + 67590, + 67591 + ], + "disallowed" + ], + [ + [ + 67592, + 67592 + ], + "valid" + ], + [ + [ + 67593, + 67593 + ], + "disallowed" + ], + [ + [ + 67594, + 67637 + ], + "valid" + ], + [ + [ + 67638, + 67638 + ], + "disallowed" + ], + [ + [ + 67639, + 67640 + ], + "valid" + ], + [ + [ + 67641, + 67643 + ], + "disallowed" + ], + [ + [ + 67644, + 67644 + ], + "valid" + ], + [ + [ + 67645, + 67646 + ], + "disallowed" + ], + [ + [ + 67647, + 67647 + ], + "valid" + ], + [ + [ + 67648, + 67669 + ], + "valid" + ], + [ + [ + 67670, + 67670 + ], + "disallowed" + ], + [ + [ + 67671, + 67679 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67680, + 67702 + ], + "valid" + ], + [ + [ + 67703, + 67711 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67712, + 67742 + ], + "valid" + ], + [ + [ + 67743, + 67750 + ], + "disallowed" + ], + [ + [ + 67751, + 67759 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67760, + 67807 + ], + "disallowed" + ], + [ + [ + 67808, + 67826 + ], + "valid" + ], + [ + [ + 67827, + 67827 + ], + "disallowed" + ], + [ + [ + 67828, + 67829 + ], + "valid" + ], + [ + [ + 67830, + 67834 + ], + "disallowed" + ], + [ + [ + 67835, + 67839 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67840, + 67861 + ], + "valid" + ], + [ + [ + 67862, + 67865 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67866, + 67867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67868, + 67870 + ], + "disallowed" + ], + [ + [ + 67871, + 67871 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67872, + 67897 + ], + "valid" + ], + [ + [ + 67898, + 67902 + ], + "disallowed" + ], + [ + [ + 67903, + 67903 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67904, + 67967 + ], + "disallowed" + ], + [ + [ + 67968, + 68023 + ], + "valid" + ], + [ + [ + 68024, + 68027 + ], + "disallowed" + ], + [ + [ + 68028, + 68029 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68030, + 68031 + ], + "valid" + ], + [ + [ + 68032, + 68047 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68048, + 68049 + ], + "disallowed" + ], + [ + [ + 68050, + 68095 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68096, + 68099 + ], + "valid" + ], + [ + [ + 68100, + 68100 + ], + "disallowed" + ], + [ + [ + 68101, + 68102 + ], + "valid" + ], + [ + [ + 68103, + 68107 + ], + "disallowed" + ], + [ + [ + 68108, + 68115 + ], + "valid" + ], + [ + [ + 68116, + 68116 + ], + "disallowed" + ], + [ + [ + 68117, + 68119 + ], + "valid" + ], + [ + [ + 68120, + 68120 + ], + "disallowed" + ], + [ + [ + 68121, + 68147 + ], + "valid" + ], + [ + [ + 68148, + 68151 + ], + "disallowed" + ], + [ + [ + 68152, + 68154 + ], + "valid" + ], + [ + [ + 68155, + 68158 + ], + "disallowed" + ], + [ + [ + 68159, + 68159 + ], + "valid" + ], + [ + [ + 68160, + 68167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68168, + 68175 + ], + "disallowed" + ], + [ + [ + 68176, + 68184 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68185, + 68191 + ], + "disallowed" + ], + [ + [ + 68192, + 68220 + ], + "valid" + ], + [ + [ + 68221, + 68223 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68224, + 68252 + ], + "valid" + ], + [ + [ + 68253, + 68255 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68256, + 68287 + ], + "disallowed" + ], + [ + [ + 68288, + 68295 + ], + "valid" + ], + [ + [ + 68296, + 68296 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68297, + 68326 + ], + "valid" + ], + [ + [ + 68327, + 68330 + ], + "disallowed" + ], + [ + [ + 68331, + 68342 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68343, + 68351 + ], + "disallowed" + ], + [ + [ + 68352, + 68405 + ], + "valid" + ], + [ + [ + 68406, + 68408 + ], + "disallowed" + ], + [ + [ + 68409, + 68415 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68416, + 68437 + ], + "valid" + ], + [ + [ + 68438, + 68439 + ], + "disallowed" + ], + [ + [ + 68440, + 68447 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68448, + 68466 + ], + "valid" + ], + [ + [ + 68467, + 68471 + ], + "disallowed" + ], + [ + [ + 68472, + 68479 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68480, + 68497 + ], + "valid" + ], + [ + [ + 68498, + 68504 + ], + "disallowed" + ], + [ + [ + 68505, + 68508 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68509, + 68520 + ], + "disallowed" + ], + [ + [ + 68521, + 68527 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68528, + 68607 + ], + "disallowed" + ], + [ + [ + 68608, + 68680 + ], + "valid" + ], + [ + [ + 68681, + 68735 + ], + "disallowed" + ], + [ + [ + 68736, + 68736 + ], + "mapped", + [ + 68800 + ] + ], + [ + [ + 68737, + 68737 + ], + "mapped", + [ + 68801 + ] + ], + [ + [ + 68738, + 68738 + ], + "mapped", + [ + 68802 + ] + ], + [ + [ + 68739, + 68739 + ], + "mapped", + [ + 68803 + ] + ], + [ + [ + 68740, + 68740 + ], + "mapped", + [ + 68804 + ] + ], + [ + [ + 68741, + 68741 + ], + "mapped", + [ + 68805 + ] + ], + [ + [ + 68742, + 68742 + ], + "mapped", + [ + 68806 + ] + ], + [ + [ + 68743, + 68743 + ], + "mapped", + [ + 68807 + ] + ], + [ + [ + 68744, + 68744 + ], + "mapped", + [ + 68808 + ] + ], + [ + [ + 68745, + 68745 + ], + "mapped", + [ + 68809 + ] + ], + [ + [ + 68746, + 68746 + ], + "mapped", + [ + 68810 + ] + ], + [ + [ + 68747, + 68747 + ], + "mapped", + [ + 68811 + ] + ], + [ + [ + 68748, + 68748 + ], + "mapped", + [ + 68812 + ] + ], + [ + [ + 68749, + 68749 + ], + "mapped", + [ + 68813 + ] + ], + [ + [ + 68750, + 68750 + ], + "mapped", + [ + 68814 + ] + ], + [ + [ + 68751, + 68751 + ], + "mapped", + [ + 68815 + ] + ], + [ + [ + 68752, + 68752 + ], + "mapped", + [ + 68816 + ] + ], + [ + [ + 68753, + 68753 + ], + "mapped", + [ + 68817 + ] + ], + [ + [ + 68754, + 68754 + ], + "mapped", + [ + 68818 + ] + ], + [ + [ + 68755, + 68755 + ], + "mapped", + [ + 68819 + ] + ], + [ + [ + 68756, + 68756 + ], + "mapped", + [ + 68820 + ] + ], + [ + [ + 68757, + 68757 + ], + "mapped", + [ + 68821 + ] + ], + [ + [ + 68758, + 68758 + ], + "mapped", + [ + 68822 + ] + ], + [ + [ + 68759, + 68759 + ], + "mapped", + [ + 68823 + ] + ], + [ + [ + 68760, + 68760 + ], + "mapped", + [ + 68824 + ] + ], + [ + [ + 68761, + 68761 + ], + "mapped", + [ + 68825 + ] + ], + [ + [ + 68762, + 68762 + ], + "mapped", + [ + 68826 + ] + ], + [ + [ + 68763, + 68763 + ], + "mapped", + [ + 68827 + ] + ], + [ + [ + 68764, + 68764 + ], + "mapped", + [ + 68828 + ] + ], + [ + [ + 68765, + 68765 + ], + "mapped", + [ + 68829 + ] + ], + [ + [ + 68766, + 68766 + ], + "mapped", + [ + 68830 + ] + ], + [ + [ + 68767, + 68767 + ], + "mapped", + [ + 68831 + ] + ], + [ + [ + 68768, + 68768 + ], + "mapped", + [ + 68832 + ] + ], + [ + [ + 68769, + 68769 + ], + "mapped", + [ + 68833 + ] + ], + [ + [ + 68770, + 68770 + ], + "mapped", + [ + 68834 + ] + ], + [ + [ + 68771, + 68771 + ], + "mapped", + [ + 68835 + ] + ], + [ + [ + 68772, + 68772 + ], + "mapped", + [ + 68836 + ] + ], + [ + [ + 68773, + 68773 + ], + "mapped", + [ + 68837 + ] + ], + [ + [ + 68774, + 68774 + ], + "mapped", + [ + 68838 + ] + ], + [ + [ + 68775, + 68775 + ], + "mapped", + [ + 68839 + ] + ], + [ + [ + 68776, + 68776 + ], + "mapped", + [ + 68840 + ] + ], + [ + [ + 68777, + 68777 + ], + "mapped", + [ + 68841 + ] + ], + [ + [ + 68778, + 68778 + ], + "mapped", + [ + 68842 + ] + ], + [ + [ + 68779, + 68779 + ], + "mapped", + [ + 68843 + ] + ], + [ + [ + 68780, + 68780 + ], + "mapped", + [ + 68844 + ] + ], + [ + [ + 68781, + 68781 + ], + "mapped", + [ + 68845 + ] + ], + [ + [ + 68782, + 68782 + ], + "mapped", + [ + 68846 + ] + ], + [ + [ + 68783, + 68783 + ], + "mapped", + [ + 68847 + ] + ], + [ + [ + 68784, + 68784 + ], + "mapped", + [ + 68848 + ] + ], + [ + [ + 68785, + 68785 + ], + "mapped", + [ + 68849 + ] + ], + [ + [ + 68786, + 68786 + ], + "mapped", + [ + 68850 + ] + ], + [ + [ + 68787, + 68799 + ], + "disallowed" + ], + [ + [ + 68800, + 68850 + ], + "valid" + ], + [ + [ + 68851, + 68857 + ], + "disallowed" + ], + [ + [ + 68858, + 68863 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68864, + 69215 + ], + "disallowed" + ], + [ + [ + 69216, + 69246 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69247, + 69631 + ], + "disallowed" + ], + [ + [ + 69632, + 69702 + ], + "valid" + ], + [ + [ + 69703, + 69709 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69710, + 69713 + ], + "disallowed" + ], + [ + [ + 69714, + 69733 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69734, + 69743 + ], + "valid" + ], + [ + [ + 69744, + 69758 + ], + "disallowed" + ], + [ + [ + 69759, + 69759 + ], + "valid" + ], + [ + [ + 69760, + 69818 + ], + "valid" + ], + [ + [ + 69819, + 69820 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69821, + 69821 + ], + "disallowed" + ], + [ + [ + 69822, + 69825 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69826, + 69839 + ], + "disallowed" + ], + [ + [ + 69840, + 69864 + ], + "valid" + ], + [ + [ + 69865, + 69871 + ], + "disallowed" + ], + [ + [ + 69872, + 69881 + ], + "valid" + ], + [ + [ + 69882, + 69887 + ], + "disallowed" + ], + [ + [ + 69888, + 69940 + ], + "valid" + ], + [ + [ + 69941, + 69941 + ], + "disallowed" + ], + [ + [ + 69942, + 69951 + ], + "valid" + ], + [ + [ + 69952, + 69955 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69956, + 69967 + ], + "disallowed" + ], + [ + [ + 69968, + 70003 + ], + "valid" + ], + [ + [ + 70004, + 70005 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70006, + 70006 + ], + "valid" + ], + [ + [ + 70007, + 70015 + ], + "disallowed" + ], + [ + [ + 70016, + 70084 + ], + "valid" + ], + [ + [ + 70085, + 70088 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70089, + 70089 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70090, + 70092 + ], + "valid" + ], + [ + [ + 70093, + 70093 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70094, + 70095 + ], + "disallowed" + ], + [ + [ + 70096, + 70105 + ], + "valid" + ], + [ + [ + 70106, + 70106 + ], + "valid" + ], + [ + [ + 70107, + 70107 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70108, + 70108 + ], + "valid" + ], + [ + [ + 70109, + 70111 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70112, + 70112 + ], + "disallowed" + ], + [ + [ + 70113, + 70132 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70133, + 70143 + ], + "disallowed" + ], + [ + [ + 70144, + 70161 + ], + "valid" + ], + [ + [ + 70162, + 70162 + ], + "disallowed" + ], + [ + [ + 70163, + 70199 + ], + "valid" + ], + [ + [ + 70200, + 70205 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70206, + 70271 + ], + "disallowed" + ], + [ + [ + 70272, + 70278 + ], + "valid" + ], + [ + [ + 70279, + 70279 + ], + "disallowed" + ], + [ + [ + 70280, + 70280 + ], + "valid" + ], + [ + [ + 70281, + 70281 + ], + "disallowed" + ], + [ + [ + 70282, + 70285 + ], + "valid" + ], + [ + [ + 70286, + 70286 + ], + "disallowed" + ], + [ + [ + 70287, + 70301 + ], + "valid" + ], + [ + [ + 70302, + 70302 + ], + "disallowed" + ], + [ + [ + 70303, + 70312 + ], + "valid" + ], + [ + [ + 70313, + 70313 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70314, + 70319 + ], + "disallowed" + ], + [ + [ + 70320, + 70378 + ], + "valid" + ], + [ + [ + 70379, + 70383 + ], + "disallowed" + ], + [ + [ + 70384, + 70393 + ], + "valid" + ], + [ + [ + 70394, + 70399 + ], + "disallowed" + ], + [ + [ + 70400, + 70400 + ], + "valid" + ], + [ + [ + 70401, + 70403 + ], + "valid" + ], + [ + [ + 70404, + 70404 + ], + "disallowed" + ], + [ + [ + 70405, + 70412 + ], + "valid" + ], + [ + [ + 70413, + 70414 + ], + "disallowed" + ], + [ + [ + 70415, + 70416 + ], + "valid" + ], + [ + [ + 70417, + 70418 + ], + "disallowed" + ], + [ + [ + 70419, + 70440 + ], + "valid" + ], + [ + [ + 70441, + 70441 + ], + "disallowed" + ], + [ + [ + 70442, + 70448 + ], + "valid" + ], + [ + [ + 70449, + 70449 + ], + "disallowed" + ], + [ + [ + 70450, + 70451 + ], + "valid" + ], + [ + [ + 70452, + 70452 + ], + "disallowed" + ], + [ + [ + 70453, + 70457 + ], + "valid" + ], + [ + [ + 70458, + 70459 + ], + "disallowed" + ], + [ + [ + 70460, + 70468 + ], + "valid" + ], + [ + [ + 70469, + 70470 + ], + "disallowed" + ], + [ + [ + 70471, + 70472 + ], + "valid" + ], + [ + [ + 70473, + 70474 + ], + "disallowed" + ], + [ + [ + 70475, + 70477 + ], + "valid" + ], + [ + [ + 70478, + 70479 + ], + "disallowed" + ], + [ + [ + 70480, + 70480 + ], + "valid" + ], + [ + [ + 70481, + 70486 + ], + "disallowed" + ], + [ + [ + 70487, + 70487 + ], + "valid" + ], + [ + [ + 70488, + 70492 + ], + "disallowed" + ], + [ + [ + 70493, + 70499 + ], + "valid" + ], + [ + [ + 70500, + 70501 + ], + "disallowed" + ], + [ + [ + 70502, + 70508 + ], + "valid" + ], + [ + [ + 70509, + 70511 + ], + "disallowed" + ], + [ + [ + 70512, + 70516 + ], + "valid" + ], + [ + [ + 70517, + 70783 + ], + "disallowed" + ], + [ + [ + 70784, + 70853 + ], + "valid" + ], + [ + [ + 70854, + 70854 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70855, + 70855 + ], + "valid" + ], + [ + [ + 70856, + 70863 + ], + "disallowed" + ], + [ + [ + 70864, + 70873 + ], + "valid" + ], + [ + [ + 70874, + 71039 + ], + "disallowed" + ], + [ + [ + 71040, + 71093 + ], + "valid" + ], + [ + [ + 71094, + 71095 + ], + "disallowed" + ], + [ + [ + 71096, + 71104 + ], + "valid" + ], + [ + [ + 71105, + 71113 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71114, + 71127 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71128, + 71133 + ], + "valid" + ], + [ + [ + 71134, + 71167 + ], + "disallowed" + ], + [ + [ + 71168, + 71232 + ], + "valid" + ], + [ + [ + 71233, + 71235 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71236, + 71236 + ], + "valid" + ], + [ + [ + 71237, + 71247 + ], + "disallowed" + ], + [ + [ + 71248, + 71257 + ], + "valid" + ], + [ + [ + 71258, + 71295 + ], + "disallowed" + ], + [ + [ + 71296, + 71351 + ], + "valid" + ], + [ + [ + 71352, + 71359 + ], + "disallowed" + ], + [ + [ + 71360, + 71369 + ], + "valid" + ], + [ + [ + 71370, + 71423 + ], + "disallowed" + ], + [ + [ + 71424, + 71449 + ], + "valid" + ], + [ + [ + 71450, + 71452 + ], + "disallowed" + ], + [ + [ + 71453, + 71467 + ], + "valid" + ], + [ + [ + 71468, + 71471 + ], + "disallowed" + ], + [ + [ + 71472, + 71481 + ], + "valid" + ], + [ + [ + 71482, + 71487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71488, + 71839 + ], + "disallowed" + ], + [ + [ + 71840, + 71840 + ], + "mapped", + [ + 71872 + ] + ], + [ + [ + 71841, + 71841 + ], + "mapped", + [ + 71873 + ] + ], + [ + [ + 71842, + 71842 + ], + "mapped", + [ + 71874 + ] + ], + [ + [ + 71843, + 71843 + ], + "mapped", + [ + 71875 + ] + ], + [ + [ + 71844, + 71844 + ], + "mapped", + [ + 71876 + ] + ], + [ + [ + 71845, + 71845 + ], + "mapped", + [ + 71877 + ] + ], + [ + [ + 71846, + 71846 + ], + "mapped", + [ + 71878 + ] + ], + [ + [ + 71847, + 71847 + ], + "mapped", + [ + 71879 + ] + ], + [ + [ + 71848, + 71848 + ], + "mapped", + [ + 71880 + ] + ], + [ + [ + 71849, + 71849 + ], + "mapped", + [ + 71881 + ] + ], + [ + [ + 71850, + 71850 + ], + "mapped", + [ + 71882 + ] + ], + [ + [ + 71851, + 71851 + ], + "mapped", + [ + 71883 + ] + ], + [ + [ + 71852, + 71852 + ], + "mapped", + [ + 71884 + ] + ], + [ + [ + 71853, + 71853 + ], + "mapped", + [ + 71885 + ] + ], + [ + [ + 71854, + 71854 + ], + "mapped", + [ + 71886 + ] + ], + [ + [ + 71855, + 71855 + ], + "mapped", + [ + 71887 + ] + ], + [ + [ + 71856, + 71856 + ], + "mapped", + [ + 71888 + ] + ], + [ + [ + 71857, + 71857 + ], + "mapped", + [ + 71889 + ] + ], + [ + [ + 71858, + 71858 + ], + "mapped", + [ + 71890 + ] + ], + [ + [ + 71859, + 71859 + ], + "mapped", + [ + 71891 + ] + ], + [ + [ + 71860, + 71860 + ], + "mapped", + [ + 71892 + ] + ], + [ + [ + 71861, + 71861 + ], + "mapped", + [ + 71893 + ] + ], + [ + [ + 71862, + 71862 + ], + "mapped", + [ + 71894 + ] + ], + [ + [ + 71863, + 71863 + ], + "mapped", + [ + 71895 + ] + ], + [ + [ + 71864, + 71864 + ], + "mapped", + [ + 71896 + ] + ], + [ + [ + 71865, + 71865 + ], + "mapped", + [ + 71897 + ] + ], + [ + [ + 71866, + 71866 + ], + "mapped", + [ + 71898 + ] + ], + [ + [ + 71867, + 71867 + ], + "mapped", + [ + 71899 + ] + ], + [ + [ + 71868, + 71868 + ], + "mapped", + [ + 71900 + ] + ], + [ + [ + 71869, + 71869 + ], + "mapped", + [ + 71901 + ] + ], + [ + [ + 71870, + 71870 + ], + "mapped", + [ + 71902 + ] + ], + [ + [ + 71871, + 71871 + ], + "mapped", + [ + 71903 + ] + ], + [ + [ + 71872, + 71913 + ], + "valid" + ], + [ + [ + 71914, + 71922 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71923, + 71934 + ], + "disallowed" + ], + [ + [ + 71935, + 71935 + ], + "valid" + ], + [ + [ + 71936, + 72383 + ], + "disallowed" + ], + [ + [ + 72384, + 72440 + ], + "valid" + ], + [ + [ + 72441, + 73727 + ], + "disallowed" + ], + [ + [ + 73728, + 74606 + ], + "valid" + ], + [ + [ + 74607, + 74648 + ], + "valid" + ], + [ + [ + 74649, + 74649 + ], + "valid" + ], + [ + [ + 74650, + 74751 + ], + "disallowed" + ], + [ + [ + 74752, + 74850 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74851, + 74862 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74863, + 74863 + ], + "disallowed" + ], + [ + [ + 74864, + 74867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74868, + 74868 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74869, + 74879 + ], + "disallowed" + ], + [ + [ + 74880, + 75075 + ], + "valid" + ], + [ + [ + 75076, + 77823 + ], + "disallowed" + ], + [ + [ + 77824, + 78894 + ], + "valid" + ], + [ + [ + 78895, + 82943 + ], + "disallowed" + ], + [ + [ + 82944, + 83526 + ], + "valid" + ], + [ + [ + 83527, + 92159 + ], + "disallowed" + ], + [ + [ + 92160, + 92728 + ], + "valid" + ], + [ + [ + 92729, + 92735 + ], + "disallowed" + ], + [ + [ + 92736, + 92766 + ], + "valid" + ], + [ + [ + 92767, + 92767 + ], + "disallowed" + ], + [ + [ + 92768, + 92777 + ], + "valid" + ], + [ + [ + 92778, + 92781 + ], + "disallowed" + ], + [ + [ + 92782, + 92783 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92784, + 92879 + ], + "disallowed" + ], + [ + [ + 92880, + 92909 + ], + "valid" + ], + [ + [ + 92910, + 92911 + ], + "disallowed" + ], + [ + [ + 92912, + 92916 + ], + "valid" + ], + [ + [ + 92917, + 92917 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92918, + 92927 + ], + "disallowed" + ], + [ + [ + 92928, + 92982 + ], + "valid" + ], + [ + [ + 92983, + 92991 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92992, + 92995 + ], + "valid" + ], + [ + [ + 92996, + 92997 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92998, + 93007 + ], + "disallowed" + ], + [ + [ + 93008, + 93017 + ], + "valid" + ], + [ + [ + 93018, + 93018 + ], + "disallowed" + ], + [ + [ + 93019, + 93025 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 93026, + 93026 + ], + "disallowed" + ], + [ + [ + 93027, + 93047 + ], + "valid" + ], + [ + [ + 93048, + 93052 + ], + "disallowed" + ], + [ + [ + 93053, + 93071 + ], + "valid" + ], + [ + [ + 93072, + 93951 + ], + "disallowed" + ], + [ + [ + 93952, + 94020 + ], + "valid" + ], + [ + [ + 94021, + 94031 + ], + "disallowed" + ], + [ + [ + 94032, + 94078 + ], + "valid" + ], + [ + [ + 94079, + 94094 + ], + "disallowed" + ], + [ + [ + 94095, + 94111 + ], + "valid" + ], + [ + [ + 94112, + 110591 + ], + "disallowed" + ], + [ + [ + 110592, + 110593 + ], + "valid" + ], + [ + [ + 110594, + 113663 + ], + "disallowed" + ], + [ + [ + 113664, + 113770 + ], + "valid" + ], + [ + [ + 113771, + 113775 + ], + "disallowed" + ], + [ + [ + 113776, + 113788 + ], + "valid" + ], + [ + [ + 113789, + 113791 + ], + "disallowed" + ], + [ + [ + 113792, + 113800 + ], + "valid" + ], + [ + [ + 113801, + 113807 + ], + "disallowed" + ], + [ + [ + 113808, + 113817 + ], + "valid" + ], + [ + [ + 113818, + 113819 + ], + "disallowed" + ], + [ + [ + 113820, + 113820 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 113821, + 113822 + ], + "valid" + ], + [ + [ + 113823, + 113823 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 113824, + 113827 + ], + "ignored" + ], + [ + [ + 113828, + 118783 + ], + "disallowed" + ], + [ + [ + 118784, + 119029 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119030, + 119039 + ], + "disallowed" + ], + [ + [ + 119040, + 119078 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119079, + 119080 + ], + "disallowed" + ], + [ + [ + 119081, + 119081 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119082, + 119133 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119134, + 119134 + ], + "mapped", + [ + 119127, + 119141 + ] + ], + [ + [ + 119135, + 119135 + ], + "mapped", + [ + 119128, + 119141 + ] + ], + [ + [ + 119136, + 119136 + ], + "mapped", + [ + 119128, + 119141, + 119150 + ] + ], + [ + [ + 119137, + 119137 + ], + "mapped", + [ + 119128, + 119141, + 119151 + ] + ], + [ + [ + 119138, + 119138 + ], + "mapped", + [ + 119128, + 119141, + 119152 + ] + ], + [ + [ + 119139, + 119139 + ], + "mapped", + [ + 119128, + 119141, + 119153 + ] + ], + [ + [ + 119140, + 119140 + ], + "mapped", + [ + 119128, + 119141, + 119154 + ] + ], + [ + [ + 119141, + 119154 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119155, + 119162 + ], + "disallowed" + ], + [ + [ + 119163, + 119226 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119227, + 119227 + ], + "mapped", + [ + 119225, + 119141 + ] + ], + [ + [ + 119228, + 119228 + ], + "mapped", + [ + 119226, + 119141 + ] + ], + [ + [ + 119229, + 119229 + ], + "mapped", + [ + 119225, + 119141, + 119150 + ] + ], + [ + [ + 119230, + 119230 + ], + "mapped", + [ + 119226, + 119141, + 119150 + ] + ], + [ + [ + 119231, + 119231 + ], + "mapped", + [ + 119225, + 119141, + 119151 + ] + ], + [ + [ + 119232, + 119232 + ], + "mapped", + [ + 119226, + 119141, + 119151 + ] + ], + [ + [ + 119233, + 119261 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119262, + 119272 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119273, + 119295 + ], + "disallowed" + ], + [ + [ + 119296, + 119365 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119366, + 119551 + ], + "disallowed" + ], + [ + [ + 119552, + 119638 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119639, + 119647 + ], + "disallowed" + ], + [ + [ + 119648, + 119665 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119666, + 119807 + ], + "disallowed" + ], + [ + [ + 119808, + 119808 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119809, + 119809 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119810, + 119810 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119811, + 119811 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119812, + 119812 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119813, + 119813 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119814, + 119814 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119815, + 119815 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119816, + 119816 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119817, + 119817 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119818, + 119818 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119819, + 119819 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119820, + 119820 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119821, + 119821 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119822, + 119822 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119823, + 119823 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119824, + 119824 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119825, + 119825 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119826, + 119826 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119827, + 119827 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119828, + 119828 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119829, + 119829 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119830, + 119830 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119831, + 119831 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119832, + 119832 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119833, + 119833 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119834, + 119834 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119835, + 119835 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119836, + 119836 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119837, + 119837 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119838, + 119838 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119839, + 119839 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119840, + 119840 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119841, + 119841 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119842, + 119842 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119843, + 119843 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119844, + 119844 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119845, + 119845 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119846, + 119846 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119847, + 119847 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119848, + 119848 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119849, + 119849 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119850, + 119850 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119851, + 119851 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119852, + 119852 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119853, + 119853 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119854, + 119854 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119855, + 119855 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119856, + 119856 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119857, + 119857 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119858, + 119858 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119859, + 119859 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119860, + 119860 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119861, + 119861 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119862, + 119862 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119863, + 119863 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119864, + 119864 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119865, + 119865 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119866, + 119866 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119867, + 119867 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119868, + 119868 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119869, + 119869 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119870, + 119870 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119871, + 119871 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119872, + 119872 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119873, + 119873 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119874, + 119874 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119875, + 119875 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119876, + 119876 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119877, + 119877 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119878, + 119878 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119879, + 119879 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119880, + 119880 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119881, + 119881 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119882, + 119882 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119883, + 119883 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119884, + 119884 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119885, + 119885 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119886, + 119886 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119887, + 119887 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119888, + 119888 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119889, + 119889 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119890, + 119890 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119891, + 119891 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119892, + 119892 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119893, + 119893 + ], + "disallowed" + ], + [ + [ + 119894, + 119894 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119895, + 119895 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119896, + 119896 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119897, + 119897 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119898, + 119898 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119899, + 119899 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119900, + 119900 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119901, + 119901 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119902, + 119902 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119903, + 119903 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119904, + 119904 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119905, + 119905 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119906, + 119906 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119907, + 119907 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119908, + 119908 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119909, + 119909 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119910, + 119910 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119911, + 119911 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119912, + 119912 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119913, + 119913 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119914, + 119914 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119915, + 119915 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119916, + 119916 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119917, + 119917 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119918, + 119918 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119919, + 119919 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119920, + 119920 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119921, + 119921 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119922, + 119922 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119923, + 119923 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119924, + 119924 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119925, + 119925 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119926, + 119926 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119927, + 119927 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119928, + 119928 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119929, + 119929 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119930, + 119930 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119931, + 119931 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119932, + 119932 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119933, + 119933 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119934, + 119934 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119935, + 119935 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119936, + 119936 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119937, + 119937 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119938, + 119938 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119939, + 119939 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119940, + 119940 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119941, + 119941 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119942, + 119942 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119943, + 119943 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119944, + 119944 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119945, + 119945 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119946, + 119946 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119947, + 119947 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119948, + 119948 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119949, + 119949 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119950, + 119950 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119951, + 119951 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119952, + 119952 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119953, + 119953 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119954, + 119954 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119955, + 119955 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119956, + 119956 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119957, + 119957 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119958, + 119958 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119959, + 119959 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119960, + 119960 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119961, + 119961 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119962, + 119962 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119963, + 119963 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119964, + 119964 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119965, + 119965 + ], + "disallowed" + ], + [ + [ + 119966, + 119966 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119967, + 119967 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119968, + 119969 + ], + "disallowed" + ], + [ + [ + 119970, + 119970 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119971, + 119972 + ], + "disallowed" + ], + [ + [ + 119973, + 119973 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119974, + 119974 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119975, + 119976 + ], + "disallowed" + ], + [ + [ + 119977, + 119977 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119978, + 119978 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119979, + 119979 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119980, + 119980 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119981, + 119981 + ], + "disallowed" + ], + [ + [ + 119982, + 119982 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119983, + 119983 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119984, + 119984 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119985, + 119985 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119986, + 119986 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119987, + 119987 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119988, + 119988 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119989, + 119989 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119990, + 119990 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119991, + 119991 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119992, + 119992 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119993, + 119993 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119994, + 119994 + ], + "disallowed" + ], + [ + [ + 119995, + 119995 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119996, + 119996 + ], + "disallowed" + ], + [ + [ + 119997, + 119997 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119998, + 119998 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119999, + 119999 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120000, + 120000 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120001, + 120001 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120002, + 120002 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120003, + 120003 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120004, + 120004 + ], + "disallowed" + ], + [ + [ + 120005, + 120005 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120006, + 120006 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120007, + 120007 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120008, + 120008 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120009, + 120009 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120010, + 120010 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120011, + 120011 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120012, + 120012 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120013, + 120013 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120014, + 120014 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120015, + 120015 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120016, + 120016 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120017, + 120017 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120018, + 120018 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120019, + 120019 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120020, + 120020 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120021, + 120021 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120022, + 120022 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120023, + 120023 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120024, + 120024 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120025, + 120025 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120026, + 120026 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120027, + 120027 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120028, + 120028 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120029, + 120029 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120030, + 120030 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120031, + 120031 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120032, + 120032 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120033, + 120033 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120034, + 120034 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120035, + 120035 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120036, + 120036 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120037, + 120037 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120038, + 120038 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120039, + 120039 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120040, + 120040 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120041, + 120041 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120042, + 120042 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120043, + 120043 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120044, + 120044 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120045, + 120045 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120046, + 120046 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120047, + 120047 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120048, + 120048 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120049, + 120049 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120050, + 120050 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120051, + 120051 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120052, + 120052 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120053, + 120053 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120054, + 120054 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120055, + 120055 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120056, + 120056 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120057, + 120057 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120058, + 120058 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120059, + 120059 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120060, + 120060 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120061, + 120061 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120062, + 120062 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120063, + 120063 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120064, + 120064 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120065, + 120065 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120066, + 120066 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120067, + 120067 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120068, + 120068 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120069, + 120069 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120070, + 120070 + ], + "disallowed" + ], + [ + [ + 120071, + 120071 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120072, + 120072 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120073, + 120073 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120074, + 120074 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120075, + 120076 + ], + "disallowed" + ], + [ + [ + 120077, + 120077 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120078, + 120078 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120079, + 120079 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120080, + 120080 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120081, + 120081 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120082, + 120082 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120083, + 120083 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120084, + 120084 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120085, + 120085 + ], + "disallowed" + ], + [ + [ + 120086, + 120086 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120087, + 120087 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120088, + 120088 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120089, + 120089 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120090, + 120090 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120091, + 120091 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120092, + 120092 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120093, + 120093 + ], + "disallowed" + ], + [ + [ + 120094, + 120094 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120095, + 120095 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120096, + 120096 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120097, + 120097 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120098, + 120098 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120099, + 120099 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120100, + 120100 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120101, + 120101 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120102, + 120102 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120103, + 120103 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120104, + 120104 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120105, + 120105 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120106, + 120106 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120107, + 120107 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120108, + 120108 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120109, + 120109 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120110, + 120110 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120111, + 120111 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120112, + 120112 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120113, + 120113 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120114, + 120114 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120115, + 120115 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120116, + 120116 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120117, + 120117 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120118, + 120118 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120119, + 120119 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120120, + 120120 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120121, + 120121 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120122, + 120122 + ], + "disallowed" + ], + [ + [ + 120123, + 120123 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120124, + 120124 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120125, + 120125 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120126, + 120126 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120127, + 120127 + ], + "disallowed" + ], + [ + [ + 120128, + 120128 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120129, + 120129 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120130, + 120130 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120131, + 120131 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120132, + 120132 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120133, + 120133 + ], + "disallowed" + ], + [ + [ + 120134, + 120134 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120135, + 120137 + ], + "disallowed" + ], + [ + [ + 120138, + 120138 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120139, + 120139 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120140, + 120140 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120141, + 120141 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120142, + 120142 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120143, + 120143 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120144, + 120144 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120145, + 120145 + ], + "disallowed" + ], + [ + [ + 120146, + 120146 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120147, + 120147 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120148, + 120148 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120149, + 120149 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120150, + 120150 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120151, + 120151 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120152, + 120152 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120153, + 120153 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120154, + 120154 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120155, + 120155 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120156, + 120156 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120157, + 120157 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120158, + 120158 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120159, + 120159 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120160, + 120160 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120161, + 120161 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120162, + 120162 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120163, + 120163 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120164, + 120164 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120165, + 120165 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120166, + 120166 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120167, + 120167 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120168, + 120168 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120169, + 120169 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120170, + 120170 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120171, + 120171 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120172, + 120172 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120173, + 120173 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120174, + 120174 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120175, + 120175 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120176, + 120176 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120177, + 120177 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120178, + 120178 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120179, + 120179 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120180, + 120180 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120181, + 120181 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120182, + 120182 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120183, + 120183 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120184, + 120184 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120185, + 120185 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120186, + 120186 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120187, + 120187 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120188, + 120188 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120189, + 120189 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120190, + 120190 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120191, + 120191 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120192, + 120192 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120193, + 120193 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120194, + 120194 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120195, + 120195 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120196, + 120196 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120197, + 120197 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120198, + 120198 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120199, + 120199 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120200, + 120200 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120201, + 120201 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120202, + 120202 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120203, + 120203 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120204, + 120204 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120205, + 120205 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120206, + 120206 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120207, + 120207 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120208, + 120208 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120209, + 120209 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120210, + 120210 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120211, + 120211 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120212, + 120212 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120213, + 120213 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120214, + 120214 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120215, + 120215 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120216, + 120216 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120217, + 120217 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120218, + 120218 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120219, + 120219 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120220, + 120220 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120221, + 120221 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120222, + 120222 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120223, + 120223 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120224, + 120224 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120225, + 120225 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120226, + 120226 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120227, + 120227 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120228, + 120228 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120229, + 120229 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120230, + 120230 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120231, + 120231 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120232, + 120232 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120233, + 120233 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120234, + 120234 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120235, + 120235 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120236, + 120236 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120237, + 120237 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120238, + 120238 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120239, + 120239 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120240, + 120240 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120241, + 120241 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120242, + 120242 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120243, + 120243 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120244, + 120244 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120245, + 120245 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120246, + 120246 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120247, + 120247 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120248, + 120248 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120249, + 120249 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120250, + 120250 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120251, + 120251 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120252, + 120252 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120253, + 120253 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120254, + 120254 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120255, + 120255 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120256, + 120256 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120257, + 120257 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120258, + 120258 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120259, + 120259 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120260, + 120260 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120261, + 120261 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120262, + 120262 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120263, + 120263 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120264, + 120264 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120265, + 120265 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120266, + 120266 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120267, + 120267 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120268, + 120268 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120269, + 120269 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120270, + 120270 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120271, + 120271 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120272, + 120272 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120273, + 120273 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120274, + 120274 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120275, + 120275 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120276, + 120276 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120277, + 120277 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120278, + 120278 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120279, + 120279 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120280, + 120280 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120281, + 120281 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120282, + 120282 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120283, + 120283 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120284, + 120284 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120285, + 120285 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120286, + 120286 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120287, + 120287 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120288, + 120288 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120289, + 120289 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120290, + 120290 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120291, + 120291 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120292, + 120292 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120293, + 120293 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120294, + 120294 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120295, + 120295 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120296, + 120296 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120297, + 120297 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120298, + 120298 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120299, + 120299 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120300, + 120300 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120301, + 120301 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120302, + 120302 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120303, + 120303 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120304, + 120304 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120305, + 120305 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120306, + 120306 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120307, + 120307 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120308, + 120308 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120309, + 120309 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120310, + 120310 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120311, + 120311 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120312, + 120312 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120313, + 120313 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120314, + 120314 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120315, + 120315 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120316, + 120316 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120317, + 120317 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120318, + 120318 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120319, + 120319 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120320, + 120320 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120321, + 120321 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120322, + 120322 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120323, + 120323 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120324, + 120324 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120325, + 120325 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120326, + 120326 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120327, + 120327 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120328, + 120328 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120329, + 120329 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120330, + 120330 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120331, + 120331 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120332, + 120332 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120333, + 120333 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120334, + 120334 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120335, + 120335 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120336, + 120336 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120337, + 120337 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120338, + 120338 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120339, + 120339 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120340, + 120340 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120341, + 120341 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120342, + 120342 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120343, + 120343 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120344, + 120344 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120345, + 120345 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120346, + 120346 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120347, + 120347 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120348, + 120348 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120349, + 120349 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120350, + 120350 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120351, + 120351 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120352, + 120352 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120353, + 120353 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120354, + 120354 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120355, + 120355 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120356, + 120356 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120357, + 120357 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120358, + 120358 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120359, + 120359 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120360, + 120360 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120361, + 120361 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120362, + 120362 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120363, + 120363 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120364, + 120364 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120365, + 120365 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120366, + 120366 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120367, + 120367 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120368, + 120368 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120369, + 120369 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120370, + 120370 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120371, + 120371 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120372, + 120372 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120373, + 120373 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120374, + 120374 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120375, + 120375 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120376, + 120376 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120377, + 120377 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120378, + 120378 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120379, + 120379 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120380, + 120380 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120381, + 120381 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120382, + 120382 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120383, + 120383 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120384, + 120384 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120385, + 120385 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120386, + 120386 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120387, + 120387 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120388, + 120388 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120389, + 120389 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120390, + 120390 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120391, + 120391 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120392, + 120392 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120393, + 120393 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120394, + 120394 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120395, + 120395 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120396, + 120396 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120397, + 120397 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120398, + 120398 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120399, + 120399 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120400, + 120400 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120401, + 120401 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120402, + 120402 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120403, + 120403 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120404, + 120404 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120405, + 120405 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120406, + 120406 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120407, + 120407 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120408, + 120408 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120409, + 120409 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120410, + 120410 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120411, + 120411 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120412, + 120412 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120413, + 120413 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120414, + 120414 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120415, + 120415 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120416, + 120416 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120417, + 120417 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120418, + 120418 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120419, + 120419 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120420, + 120420 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120421, + 120421 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120422, + 120422 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120423, + 120423 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120424, + 120424 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120425, + 120425 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120426, + 120426 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120427, + 120427 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120428, + 120428 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120429, + 120429 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120430, + 120430 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120431, + 120431 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120432, + 120432 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120433, + 120433 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120434, + 120434 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120435, + 120435 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120436, + 120436 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120437, + 120437 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120438, + 120438 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120439, + 120439 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120440, + 120440 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120441, + 120441 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120442, + 120442 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120443, + 120443 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120444, + 120444 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120445, + 120445 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120446, + 120446 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120447, + 120447 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120448, + 120448 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120449, + 120449 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120450, + 120450 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120451, + 120451 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120452, + 120452 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120453, + 120453 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120454, + 120454 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120455, + 120455 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120456, + 120456 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120457, + 120457 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120458, + 120458 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120459, + 120459 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120460, + 120460 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120461, + 120461 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120462, + 120462 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120463, + 120463 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120464, + 120464 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120465, + 120465 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120466, + 120466 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120467, + 120467 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120468, + 120468 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120469, + 120469 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120470, + 120470 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120471, + 120471 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120472, + 120472 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120473, + 120473 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120474, + 120474 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120475, + 120475 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120476, + 120476 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120477, + 120477 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120478, + 120478 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120479, + 120479 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120480, + 120480 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120481, + 120481 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120482, + 120482 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120483, + 120483 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120484, + 120484 + ], + "mapped", + [ + 305 + ] + ], + [ + [ + 120485, + 120485 + ], + "mapped", + [ + 567 + ] + ], + [ + [ + 120486, + 120487 + ], + "disallowed" + ], + [ + [ + 120488, + 120488 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120489, + 120489 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120490, + 120490 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120491, + 120491 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120492, + 120492 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120493, + 120493 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120494, + 120494 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120495, + 120495 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120496, + 120496 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120497, + 120497 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120498, + 120498 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120499, + 120499 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120500, + 120500 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120501, + 120501 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120502, + 120502 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120503, + 120503 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120504, + 120504 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120505, + 120505 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120506, + 120506 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120507, + 120507 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120508, + 120508 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120509, + 120509 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120510, + 120510 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120511, + 120511 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120512, + 120512 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120513, + 120513 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120514, + 120514 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120515, + 120515 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120516, + 120516 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120517, + 120517 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120518, + 120518 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120519, + 120519 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120520, + 120520 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120521, + 120521 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120522, + 120522 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120523, + 120523 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120524, + 120524 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120525, + 120525 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120526, + 120526 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120527, + 120527 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120528, + 120528 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120529, + 120529 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120530, + 120530 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120531, + 120532 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120533, + 120533 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120534, + 120534 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120535, + 120535 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120536, + 120536 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120537, + 120537 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120538, + 120538 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120539, + 120539 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120540, + 120540 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120541, + 120541 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120542, + 120542 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120543, + 120543 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120544, + 120544 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120545, + 120545 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120546, + 120546 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120547, + 120547 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120548, + 120548 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120549, + 120549 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120550, + 120550 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120551, + 120551 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120552, + 120552 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120553, + 120553 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120554, + 120554 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120555, + 120555 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120556, + 120556 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120557, + 120557 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120558, + 120558 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120559, + 120559 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120560, + 120560 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120561, + 120561 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120562, + 120562 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120563, + 120563 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120564, + 120564 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120565, + 120565 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120566, + 120566 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120567, + 120567 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120568, + 120568 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120569, + 120569 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120570, + 120570 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120571, + 120571 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120572, + 120572 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120573, + 120573 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120574, + 120574 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120575, + 120575 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120576, + 120576 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120577, + 120577 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120578, + 120578 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120579, + 120579 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120580, + 120580 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120581, + 120581 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120582, + 120582 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120583, + 120583 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120584, + 120584 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120585, + 120585 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120586, + 120586 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120587, + 120587 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120588, + 120588 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120589, + 120590 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120591, + 120591 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120592, + 120592 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120593, + 120593 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120594, + 120594 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120595, + 120595 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120596, + 120596 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120597, + 120597 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120598, + 120598 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120599, + 120599 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120600, + 120600 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120601, + 120601 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120602, + 120602 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120603, + 120603 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120604, + 120604 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120605, + 120605 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120606, + 120606 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120607, + 120607 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120608, + 120608 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120609, + 120609 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120610, + 120610 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120611, + 120611 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120612, + 120612 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120613, + 120613 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120614, + 120614 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120615, + 120615 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120616, + 120616 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120617, + 120617 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120618, + 120618 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120619, + 120619 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120620, + 120620 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120621, + 120621 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120622, + 120622 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120623, + 120623 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120624, + 120624 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120625, + 120625 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120626, + 120626 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120627, + 120627 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120628, + 120628 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120629, + 120629 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120630, + 120630 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120631, + 120631 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120632, + 120632 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120633, + 120633 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120634, + 120634 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120635, + 120635 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120636, + 120636 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120637, + 120637 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120638, + 120638 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120639, + 120639 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120640, + 120640 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120641, + 120641 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120642, + 120642 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120643, + 120643 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120644, + 120644 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120645, + 120645 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120646, + 120646 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120647, + 120648 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120649, + 120649 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120650, + 120650 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120651, + 120651 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120652, + 120652 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120653, + 120653 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120654, + 120654 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120655, + 120655 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120656, + 120656 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120657, + 120657 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120658, + 120658 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120659, + 120659 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120660, + 120660 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120661, + 120661 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120662, + 120662 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120663, + 120663 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120664, + 120664 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120665, + 120665 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120666, + 120666 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120667, + 120667 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120668, + 120668 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120669, + 120669 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120670, + 120670 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120671, + 120671 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120672, + 120672 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120673, + 120673 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120674, + 120674 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120675, + 120675 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120676, + 120676 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120677, + 120677 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120678, + 120678 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120679, + 120679 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120680, + 120680 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120681, + 120681 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120682, + 120682 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120683, + 120683 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120684, + 120684 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120685, + 120685 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120686, + 120686 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120687, + 120687 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120688, + 120688 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120689, + 120689 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120690, + 120690 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120691, + 120691 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120692, + 120692 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120693, + 120693 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120694, + 120694 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120695, + 120695 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120696, + 120696 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120697, + 120697 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120698, + 120698 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120699, + 120699 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120700, + 120700 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120701, + 120701 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120702, + 120702 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120703, + 120703 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120704, + 120704 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120705, + 120706 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120707, + 120707 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120708, + 120708 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120709, + 120709 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120710, + 120710 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120711, + 120711 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120712, + 120712 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120713, + 120713 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120714, + 120714 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120715, + 120715 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120716, + 120716 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120717, + 120717 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120718, + 120718 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120719, + 120719 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120720, + 120720 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120721, + 120721 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120722, + 120722 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120723, + 120723 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120724, + 120724 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120725, + 120725 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120726, + 120726 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120727, + 120727 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120728, + 120728 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120729, + 120729 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120730, + 120730 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120731, + 120731 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120732, + 120732 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120733, + 120733 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120734, + 120734 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120735, + 120735 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120736, + 120736 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120737, + 120737 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120738, + 120738 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120739, + 120739 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120740, + 120740 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120741, + 120741 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120742, + 120742 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120743, + 120743 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120744, + 120744 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120745, + 120745 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120746, + 120746 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120747, + 120747 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120748, + 120748 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120749, + 120749 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120750, + 120750 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120751, + 120751 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120752, + 120752 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120753, + 120753 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120754, + 120754 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120755, + 120755 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120756, + 120756 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120757, + 120757 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120758, + 120758 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120759, + 120759 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120760, + 120760 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120761, + 120761 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120762, + 120762 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120763, + 120764 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120765, + 120765 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120766, + 120766 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120767, + 120767 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120768, + 120768 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120769, + 120769 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120770, + 120770 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120771, + 120771 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120772, + 120772 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120773, + 120773 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120774, + 120774 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120775, + 120775 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120776, + 120776 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120777, + 120777 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120778, + 120779 + ], + "mapped", + [ + 989 + ] + ], + [ + [ + 120780, + 120781 + ], + "disallowed" + ], + [ + [ + 120782, + 120782 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120783, + 120783 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120784, + 120784 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120785, + 120785 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120786, + 120786 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120787, + 120787 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120788, + 120788 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120789, + 120789 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120790, + 120790 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120791, + 120791 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120792, + 120792 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120793, + 120793 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120794, + 120794 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120795, + 120795 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120796, + 120796 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120797, + 120797 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120798, + 120798 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120799, + 120799 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120800, + 120800 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120801, + 120801 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120802, + 120802 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120803, + 120803 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120804, + 120804 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120805, + 120805 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120806, + 120806 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120807, + 120807 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120808, + 120808 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120809, + 120809 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120810, + 120810 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120811, + 120811 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120812, + 120812 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120813, + 120813 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120814, + 120814 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120815, + 120815 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120816, + 120816 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120817, + 120817 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120818, + 120818 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120819, + 120819 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120820, + 120820 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120821, + 120821 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120822, + 120822 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120823, + 120823 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120824, + 120824 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120825, + 120825 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120826, + 120826 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120827, + 120827 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120828, + 120828 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120829, + 120829 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120830, + 120830 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120831, + 120831 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120832, + 121343 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121344, + 121398 + ], + "valid" + ], + [ + [ + 121399, + 121402 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121403, + 121452 + ], + "valid" + ], + [ + [ + 121453, + 121460 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121461, + 121461 + ], + "valid" + ], + [ + [ + 121462, + 121475 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121476, + 121476 + ], + "valid" + ], + [ + [ + 121477, + 121483 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121484, + 121498 + ], + "disallowed" + ], + [ + [ + 121499, + 121503 + ], + "valid" + ], + [ + [ + 121504, + 121504 + ], + "disallowed" + ], + [ + [ + 121505, + 121519 + ], + "valid" + ], + [ + [ + 121520, + 124927 + ], + "disallowed" + ], + [ + [ + 124928, + 125124 + ], + "valid" + ], + [ + [ + 125125, + 125126 + ], + "disallowed" + ], + [ + [ + 125127, + 125135 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 125136, + 125142 + ], + "valid" + ], + [ + [ + 125143, + 126463 + ], + "disallowed" + ], + [ + [ + 126464, + 126464 + ], + "mapped", + [ + 1575 + ] + ], + [ + [ + 126465, + 126465 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126466, + 126466 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126467, + 126467 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 126468, + 126468 + ], + "disallowed" + ], + [ + [ + 126469, + 126469 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 126470, + 126470 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 126471, + 126471 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126472, + 126472 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126473, + 126473 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126474, + 126474 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 126475, + 126475 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126476, + 126476 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126477, + 126477 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126478, + 126478 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126479, + 126479 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126480, + 126480 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126481, + 126481 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126482, + 126482 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126483, + 126483 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 126484, + 126484 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126485, + 126485 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126486, + 126486 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126487, + 126487 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126488, + 126488 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 126489, + 126489 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126490, + 126490 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126491, + 126491 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126492, + 126492 + ], + "mapped", + [ + 1646 + ] + ], + [ + [ + 126493, + 126493 + ], + "mapped", + [ + 1722 + ] + ], + [ + [ + 126494, + 126494 + ], + "mapped", + [ + 1697 + ] + ], + [ + [ + 126495, + 126495 + ], + "mapped", + [ + 1647 + ] + ], + [ + [ + 126496, + 126496 + ], + "disallowed" + ], + [ + [ + 126497, + 126497 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126498, + 126498 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126499, + 126499 + ], + "disallowed" + ], + [ + [ + 126500, + 126500 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 126501, + 126502 + ], + "disallowed" + ], + [ + [ + 126503, + 126503 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126504, + 126504 + ], + "disallowed" + ], + [ + [ + 126505, + 126505 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126506, + 126506 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 126507, + 126507 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126508, + 126508 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126509, + 126509 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126510, + 126510 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126511, + 126511 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126512, + 126512 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126513, + 126513 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126514, + 126514 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126515, + 126515 + ], + "disallowed" + ], + [ + [ + 126516, + 126516 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126517, + 126517 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126518, + 126518 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126519, + 126519 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126520, + 126520 + ], + "disallowed" + ], + [ + [ + 126521, + 126521 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126522, + 126522 + ], + "disallowed" + ], + [ + [ + 126523, + 126523 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126524, + 126529 + ], + "disallowed" + ], + [ + [ + 126530, + 126530 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126531, + 126534 + ], + "disallowed" + ], + [ + [ + 126535, + 126535 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126536, + 126536 + ], + "disallowed" + ], + [ + [ + 126537, + 126537 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126538, + 126538 + ], + "disallowed" + ], + [ + [ + 126539, + 126539 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126540, + 126540 + ], + "disallowed" + ], + [ + [ + 126541, + 126541 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126542, + 126542 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126543, + 126543 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126544, + 126544 + ], + "disallowed" + ], + [ + [ + 126545, + 126545 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126546, + 126546 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126547, + 126547 + ], + "disallowed" + ], + [ + [ + 126548, + 126548 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126549, + 126550 + ], + "disallowed" + ], + [ + [ + 126551, + 126551 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126552, + 126552 + ], + "disallowed" + ], + [ + [ + 126553, + 126553 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126554, + 126554 + ], + "disallowed" + ], + [ + [ + 126555, + 126555 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126556, + 126556 + ], + "disallowed" + ], + [ + [ + 126557, + 126557 + ], + "mapped", + [ + 1722 + ] + ], + [ + [ + 126558, + 126558 + ], + "disallowed" + ], + [ + [ + 126559, + 126559 + ], + "mapped", + [ + 1647 + ] + ], + [ + [ + 126560, + 126560 + ], + "disallowed" + ], + [ + [ + 126561, + 126561 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126562, + 126562 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126563, + 126563 + ], + "disallowed" + ], + [ + [ + 126564, + 126564 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 126565, + 126566 + ], + "disallowed" + ], + [ + [ + 126567, + 126567 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126568, + 126568 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126569, + 126569 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126570, + 126570 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 126571, + 126571 + ], + "disallowed" + ], + [ + [ + 126572, + 126572 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126573, + 126573 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126574, + 126574 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126575, + 126575 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126576, + 126576 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126577, + 126577 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126578, + 126578 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126579, + 126579 + ], + "disallowed" + ], + [ + [ + 126580, + 126580 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126581, + 126581 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126582, + 126582 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126583, + 126583 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126584, + 126584 + ], + "disallowed" + ], + [ + [ + 126585, + 126585 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126586, + 126586 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126587, + 126587 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126588, + 126588 + ], + "mapped", + [ + 1646 + ] + ], + [ + [ + 126589, + 126589 + ], + "disallowed" + ], + [ + [ + 126590, + 126590 + ], + "mapped", + [ + 1697 + ] + ], + [ + [ + 126591, + 126591 + ], + "disallowed" + ], + [ + [ + 126592, + 126592 + ], + "mapped", + [ + 1575 + ] + ], + [ + [ + 126593, + 126593 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126594, + 126594 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126595, + 126595 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 126596, + 126596 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 126597, + 126597 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 126598, + 126598 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 126599, + 126599 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126600, + 126600 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126601, + 126601 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126602, + 126602 + ], + "disallowed" + ], + [ + [ + 126603, + 126603 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126604, + 126604 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126605, + 126605 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126606, + 126606 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126607, + 126607 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126608, + 126608 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126609, + 126609 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126610, + 126610 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126611, + 126611 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 126612, + 126612 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126613, + 126613 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126614, + 126614 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126615, + 126615 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126616, + 126616 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 126617, + 126617 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126618, + 126618 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126619, + 126619 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126620, + 126624 + ], + "disallowed" + ], + [ + [ + 126625, + 126625 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126626, + 126626 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126627, + 126627 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 126628, + 126628 + ], + "disallowed" + ], + [ + [ + 126629, + 126629 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 126630, + 126630 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 126631, + 126631 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126632, + 126632 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126633, + 126633 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126634, + 126634 + ], + "disallowed" + ], + [ + [ + 126635, + 126635 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126636, + 126636 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126637, + 126637 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126638, + 126638 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126639, + 126639 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126640, + 126640 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126641, + 126641 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126642, + 126642 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126643, + 126643 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 126644, + 126644 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126645, + 126645 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126646, + 126646 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126647, + 126647 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126648, + 126648 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 126649, + 126649 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126650, + 126650 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126651, + 126651 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126652, + 126703 + ], + "disallowed" + ], + [ + [ + 126704, + 126705 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 126706, + 126975 + ], + "disallowed" + ], + [ + [ + 126976, + 127019 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127020, + 127023 + ], + "disallowed" + ], + [ + [ + 127024, + 127123 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127124, + 127135 + ], + "disallowed" + ], + [ + [ + 127136, + 127150 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127151, + 127152 + ], + "disallowed" + ], + [ + [ + 127153, + 127166 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127167, + 127167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127168, + 127168 + ], + "disallowed" + ], + [ + [ + 127169, + 127183 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127184, + 127184 + ], + "disallowed" + ], + [ + [ + 127185, + 127199 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127200, + 127221 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127222, + 127231 + ], + "disallowed" + ], + [ + [ + 127232, + 127232 + ], + "disallowed" + ], + [ + [ + 127233, + 127233 + ], + "disallowed_STD3_mapped", + [ + 48, + 44 + ] + ], + [ + [ + 127234, + 127234 + ], + "disallowed_STD3_mapped", + [ + 49, + 44 + ] + ], + [ + [ + 127235, + 127235 + ], + "disallowed_STD3_mapped", + [ + 50, + 44 + ] + ], + [ + [ + 127236, + 127236 + ], + "disallowed_STD3_mapped", + [ + 51, + 44 + ] + ], + [ + [ + 127237, + 127237 + ], + "disallowed_STD3_mapped", + [ + 52, + 44 + ] + ], + [ + [ + 127238, + 127238 + ], + "disallowed_STD3_mapped", + [ + 53, + 44 + ] + ], + [ + [ + 127239, + 127239 + ], + "disallowed_STD3_mapped", + [ + 54, + 44 + ] + ], + [ + [ + 127240, + 127240 + ], + "disallowed_STD3_mapped", + [ + 55, + 44 + ] + ], + [ + [ + 127241, + 127241 + ], + "disallowed_STD3_mapped", + [ + 56, + 44 + ] + ], + [ + [ + 127242, + 127242 + ], + "disallowed_STD3_mapped", + [ + 57, + 44 + ] + ], + [ + [ + 127243, + 127244 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127245, + 127247 + ], + "disallowed" + ], + [ + [ + 127248, + 127248 + ], + "disallowed_STD3_mapped", + [ + 40, + 97, + 41 + ] + ], + [ + [ + 127249, + 127249 + ], + "disallowed_STD3_mapped", + [ + 40, + 98, + 41 + ] + ], + [ + [ + 127250, + 127250 + ], + "disallowed_STD3_mapped", + [ + 40, + 99, + 41 + ] + ], + [ + [ + 127251, + 127251 + ], + "disallowed_STD3_mapped", + [ + 40, + 100, + 41 + ] + ], + [ + [ + 127252, + 127252 + ], + "disallowed_STD3_mapped", + [ + 40, + 101, + 41 + ] + ], + [ + [ + 127253, + 127253 + ], + "disallowed_STD3_mapped", + [ + 40, + 102, + 41 + ] + ], + [ + [ + 127254, + 127254 + ], + "disallowed_STD3_mapped", + [ + 40, + 103, + 41 + ] + ], + [ + [ + 127255, + 127255 + ], + "disallowed_STD3_mapped", + [ + 40, + 104, + 41 + ] + ], + [ + [ + 127256, + 127256 + ], + "disallowed_STD3_mapped", + [ + 40, + 105, + 41 + ] + ], + [ + [ + 127257, + 127257 + ], + "disallowed_STD3_mapped", + [ + 40, + 106, + 41 + ] + ], + [ + [ + 127258, + 127258 + ], + "disallowed_STD3_mapped", + [ + 40, + 107, + 41 + ] + ], + [ + [ + 127259, + 127259 + ], + "disallowed_STD3_mapped", + [ + 40, + 108, + 41 + ] + ], + [ + [ + 127260, + 127260 + ], + "disallowed_STD3_mapped", + [ + 40, + 109, + 41 + ] + ], + [ + [ + 127261, + 127261 + ], + "disallowed_STD3_mapped", + [ + 40, + 110, + 41 + ] + ], + [ + [ + 127262, + 127262 + ], + "disallowed_STD3_mapped", + [ + 40, + 111, + 41 + ] + ], + [ + [ + 127263, + 127263 + ], + "disallowed_STD3_mapped", + [ + 40, + 112, + 41 + ] + ], + [ + [ + 127264, + 127264 + ], + "disallowed_STD3_mapped", + [ + 40, + 113, + 41 + ] + ], + [ + [ + 127265, + 127265 + ], + "disallowed_STD3_mapped", + [ + 40, + 114, + 41 + ] + ], + [ + [ + 127266, + 127266 + ], + "disallowed_STD3_mapped", + [ + 40, + 115, + 41 + ] + ], + [ + [ + 127267, + 127267 + ], + "disallowed_STD3_mapped", + [ + 40, + 116, + 41 + ] + ], + [ + [ + 127268, + 127268 + ], + "disallowed_STD3_mapped", + [ + 40, + 117, + 41 + ] + ], + [ + [ + 127269, + 127269 + ], + "disallowed_STD3_mapped", + [ + 40, + 118, + 41 + ] + ], + [ + [ + 127270, + 127270 + ], + "disallowed_STD3_mapped", + [ + 40, + 119, + 41 + ] + ], + [ + [ + 127271, + 127271 + ], + "disallowed_STD3_mapped", + [ + 40, + 120, + 41 + ] + ], + [ + [ + 127272, + 127272 + ], + "disallowed_STD3_mapped", + [ + 40, + 121, + 41 + ] + ], + [ + [ + 127273, + 127273 + ], + "disallowed_STD3_mapped", + [ + 40, + 122, + 41 + ] + ], + [ + [ + 127274, + 127274 + ], + "mapped", + [ + 12308, + 115, + 12309 + ] + ], + [ + [ + 127275, + 127275 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 127276, + 127276 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 127277, + 127277 + ], + "mapped", + [ + 99, + 100 + ] + ], + [ + [ + 127278, + 127278 + ], + "mapped", + [ + 119, + 122 + ] + ], + [ + [ + 127279, + 127279 + ], + "disallowed" + ], + [ + [ + 127280, + 127280 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 127281, + 127281 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 127282, + 127282 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 127283, + 127283 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 127284, + 127284 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 127285, + 127285 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 127286, + 127286 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 127287, + 127287 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 127288, + 127288 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 127289, + 127289 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 127290, + 127290 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 127291, + 127291 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 127292, + 127292 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 127293, + 127293 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 127294, + 127294 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 127295, + 127295 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 127296, + 127296 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 127297, + 127297 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 127298, + 127298 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 127299, + 127299 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 127300, + 127300 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 127301, + 127301 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 127302, + 127302 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 127303, + 127303 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 127304, + 127304 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 127305, + 127305 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 127306, + 127306 + ], + "mapped", + [ + 104, + 118 + ] + ], + [ + [ + 127307, + 127307 + ], + "mapped", + [ + 109, + 118 + ] + ], + [ + [ + 127308, + 127308 + ], + "mapped", + [ + 115, + 100 + ] + ], + [ + [ + 127309, + 127309 + ], + "mapped", + [ + 115, + 115 + ] + ], + [ + [ + 127310, + 127310 + ], + "mapped", + [ + 112, + 112, + 118 + ] + ], + [ + [ + 127311, + 127311 + ], + "mapped", + [ + 119, + 99 + ] + ], + [ + [ + 127312, + 127318 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127319, + 127319 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127320, + 127326 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127327, + 127327 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127328, + 127337 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127338, + 127338 + ], + "mapped", + [ + 109, + 99 + ] + ], + [ + [ + 127339, + 127339 + ], + "mapped", + [ + 109, + 100 + ] + ], + [ + [ + 127340, + 127343 + ], + "disallowed" + ], + [ + [ + 127344, + 127352 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127353, + 127353 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127354, + 127354 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127355, + 127356 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127357, + 127358 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127359, + 127359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127360, + 127369 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127370, + 127373 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127374, + 127375 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127376, + 127376 + ], + "mapped", + [ + 100, + 106 + ] + ], + [ + [ + 127377, + 127386 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127387, + 127461 + ], + "disallowed" + ], + [ + [ + 127462, + 127487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127488, + 127488 + ], + "mapped", + [ + 12411, + 12363 + ] + ], + [ + [ + 127489, + 127489 + ], + "mapped", + [ + 12467, + 12467 + ] + ], + [ + [ + 127490, + 127490 + ], + "mapped", + [ + 12469 + ] + ], + [ + [ + 127491, + 127503 + ], + "disallowed" + ], + [ + [ + 127504, + 127504 + ], + "mapped", + [ + 25163 + ] + ], + [ + [ + 127505, + 127505 + ], + "mapped", + [ + 23383 + ] + ], + [ + [ + 127506, + 127506 + ], + "mapped", + [ + 21452 + ] + ], + [ + [ + 127507, + 127507 + ], + "mapped", + [ + 12487 + ] + ], + [ + [ + 127508, + 127508 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 127509, + 127509 + ], + "mapped", + [ + 22810 + ] + ], + [ + [ + 127510, + 127510 + ], + "mapped", + [ + 35299 + ] + ], + [ + [ + 127511, + 127511 + ], + "mapped", + [ + 22825 + ] + ], + [ + [ + 127512, + 127512 + ], + "mapped", + [ + 20132 + ] + ], + [ + [ + 127513, + 127513 + ], + "mapped", + [ + 26144 + ] + ], + [ + [ + 127514, + 127514 + ], + "mapped", + [ + 28961 + ] + ], + [ + [ + 127515, + 127515 + ], + "mapped", + [ + 26009 + ] + ], + [ + [ + 127516, + 127516 + ], + "mapped", + [ + 21069 + ] + ], + [ + [ + 127517, + 127517 + ], + "mapped", + [ + 24460 + ] + ], + [ + [ + 127518, + 127518 + ], + "mapped", + [ + 20877 + ] + ], + [ + [ + 127519, + 127519 + ], + "mapped", + [ + 26032 + ] + ], + [ + [ + 127520, + 127520 + ], + "mapped", + [ + 21021 + ] + ], + [ + [ + 127521, + 127521 + ], + "mapped", + [ + 32066 + ] + ], + [ + [ + 127522, + 127522 + ], + "mapped", + [ + 29983 + ] + ], + [ + [ + 127523, + 127523 + ], + "mapped", + [ + 36009 + ] + ], + [ + [ + 127524, + 127524 + ], + "mapped", + [ + 22768 + ] + ], + [ + [ + 127525, + 127525 + ], + "mapped", + [ + 21561 + ] + ], + [ + [ + 127526, + 127526 + ], + "mapped", + [ + 28436 + ] + ], + [ + [ + 127527, + 127527 + ], + "mapped", + [ + 25237 + ] + ], + [ + [ + 127528, + 127528 + ], + "mapped", + [ + 25429 + ] + ], + [ + [ + 127529, + 127529 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 127530, + 127530 + ], + "mapped", + [ + 19977 + ] + ], + [ + [ + 127531, + 127531 + ], + "mapped", + [ + 36938 + ] + ], + [ + [ + 127532, + 127532 + ], + "mapped", + [ + 24038 + ] + ], + [ + [ + 127533, + 127533 + ], + "mapped", + [ + 20013 + ] + ], + [ + [ + 127534, + 127534 + ], + "mapped", + [ + 21491 + ] + ], + [ + [ + 127535, + 127535 + ], + "mapped", + [ + 25351 + ] + ], + [ + [ + 127536, + 127536 + ], + "mapped", + [ + 36208 + ] + ], + [ + [ + 127537, + 127537 + ], + "mapped", + [ + 25171 + ] + ], + [ + [ + 127538, + 127538 + ], + "mapped", + [ + 31105 + ] + ], + [ + [ + 127539, + 127539 + ], + "mapped", + [ + 31354 + ] + ], + [ + [ + 127540, + 127540 + ], + "mapped", + [ + 21512 + ] + ], + [ + [ + 127541, + 127541 + ], + "mapped", + [ + 28288 + ] + ], + [ + [ + 127542, + 127542 + ], + "mapped", + [ + 26377 + ] + ], + [ + [ + 127543, + 127543 + ], + "mapped", + [ + 26376 + ] + ], + [ + [ + 127544, + 127544 + ], + "mapped", + [ + 30003 + ] + ], + [ + [ + 127545, + 127545 + ], + "mapped", + [ + 21106 + ] + ], + [ + [ + 127546, + 127546 + ], + "mapped", + [ + 21942 + ] + ], + [ + [ + 127547, + 127551 + ], + "disallowed" + ], + [ + [ + 127552, + 127552 + ], + "mapped", + [ + 12308, + 26412, + 12309 + ] + ], + [ + [ + 127553, + 127553 + ], + "mapped", + [ + 12308, + 19977, + 12309 + ] + ], + [ + [ + 127554, + 127554 + ], + "mapped", + [ + 12308, + 20108, + 12309 + ] + ], + [ + [ + 127555, + 127555 + ], + "mapped", + [ + 12308, + 23433, + 12309 + ] + ], + [ + [ + 127556, + 127556 + ], + "mapped", + [ + 12308, + 28857, + 12309 + ] + ], + [ + [ + 127557, + 127557 + ], + "mapped", + [ + 12308, + 25171, + 12309 + ] + ], + [ + [ + 127558, + 127558 + ], + "mapped", + [ + 12308, + 30423, + 12309 + ] + ], + [ + [ + 127559, + 127559 + ], + "mapped", + [ + 12308, + 21213, + 12309 + ] + ], + [ + [ + 127560, + 127560 + ], + "mapped", + [ + 12308, + 25943, + 12309 + ] + ], + [ + [ + 127561, + 127567 + ], + "disallowed" + ], + [ + [ + 127568, + 127568 + ], + "mapped", + [ + 24471 + ] + ], + [ + [ + 127569, + 127569 + ], + "mapped", + [ + 21487 + ] + ], + [ + [ + 127570, + 127743 + ], + "disallowed" + ], + [ + [ + 127744, + 127776 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127777, + 127788 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127789, + 127791 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127792, + 127797 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127798, + 127798 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127799, + 127868 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127869, + 127869 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127870, + 127871 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127872, + 127891 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127892, + 127903 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127904, + 127940 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127941, + 127941 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127942, + 127946 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127947, + 127950 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127951, + 127955 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127956, + 127967 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127968, + 127984 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127985, + 127991 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127992, + 127999 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128000, + 128062 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128063, + 128063 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128064, + 128064 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128065, + 128065 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128066, + 128247 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128248, + 128248 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128249, + 128252 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128253, + 128254 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128255, + 128255 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128256, + 128317 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128318, + 128319 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128320, + 128323 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128324, + 128330 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128331, + 128335 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128336, + 128359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128360, + 128377 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128378, + 128378 + ], + "disallowed" + ], + [ + [ + 128379, + 128419 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128420, + 128420 + ], + "disallowed" + ], + [ + [ + 128421, + 128506 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128507, + 128511 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128512, + 128512 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128513, + 128528 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128529, + 128529 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128530, + 128532 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128533, + 128533 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128534, + 128534 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128535, + 128535 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128536, + 128536 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128537, + 128537 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128538, + 128538 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128539, + 128539 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128540, + 128542 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128543, + 128543 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128544, + 128549 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128550, + 128551 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128552, + 128555 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128556, + 128556 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128557, + 128557 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128558, + 128559 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128560, + 128563 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128564, + 128564 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128565, + 128576 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128577, + 128578 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128579, + 128580 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128581, + 128591 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128592, + 128639 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128640, + 128709 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128710, + 128719 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128720, + 128720 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128721, + 128735 + ], + "disallowed" + ], + [ + [ + 128736, + 128748 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128749, + 128751 + ], + "disallowed" + ], + [ + [ + 128752, + 128755 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128756, + 128767 + ], + "disallowed" + ], + [ + [ + 128768, + 128883 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128884, + 128895 + ], + "disallowed" + ], + [ + [ + 128896, + 128980 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128981, + 129023 + ], + "disallowed" + ], + [ + [ + 129024, + 129035 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129036, + 129039 + ], + "disallowed" + ], + [ + [ + 129040, + 129095 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129096, + 129103 + ], + "disallowed" + ], + [ + [ + 129104, + 129113 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129114, + 129119 + ], + "disallowed" + ], + [ + [ + 129120, + 129159 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129160, + 129167 + ], + "disallowed" + ], + [ + [ + 129168, + 129197 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129198, + 129295 + ], + "disallowed" + ], + [ + [ + 129296, + 129304 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129305, + 129407 + ], + "disallowed" + ], + [ + [ + 129408, + 129412 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129413, + 129471 + ], + "disallowed" + ], + [ + [ + 129472, + 129472 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129473, + 131069 + ], + "disallowed" + ], + [ + [ + 131070, + 131071 + ], + "disallowed" + ], + [ + [ + 131072, + 173782 + ], + "valid" + ], + [ + [ + 173783, + 173823 + ], + "disallowed" + ], + [ + [ + 173824, + 177972 + ], + "valid" + ], + [ + [ + 177973, + 177983 + ], + "disallowed" + ], + [ + [ + 177984, + 178205 + ], + "valid" + ], + [ + [ + 178206, + 178207 + ], + "disallowed" + ], + [ + [ + 178208, + 183969 + ], + "valid" + ], + [ + [ + 183970, + 194559 + ], + "disallowed" + ], + [ + [ + 194560, + 194560 + ], + "mapped", + [ + 20029 + ] + ], + [ + [ + 194561, + 194561 + ], + "mapped", + [ + 20024 + ] + ], + [ + [ + 194562, + 194562 + ], + "mapped", + [ + 20033 + ] + ], + [ + [ + 194563, + 194563 + ], + "mapped", + [ + 131362 + ] + ], + [ + [ + 194564, + 194564 + ], + "mapped", + [ + 20320 + ] + ], + [ + [ + 194565, + 194565 + ], + "mapped", + [ + 20398 + ] + ], + [ + [ + 194566, + 194566 + ], + "mapped", + [ + 20411 + ] + ], + [ + [ + 194567, + 194567 + ], + "mapped", + [ + 20482 + ] + ], + [ + [ + 194568, + 194568 + ], + "mapped", + [ + 20602 + ] + ], + [ + [ + 194569, + 194569 + ], + "mapped", + [ + 20633 + ] + ], + [ + [ + 194570, + 194570 + ], + "mapped", + [ + 20711 + ] + ], + [ + [ + 194571, + 194571 + ], + "mapped", + [ + 20687 + ] + ], + [ + [ + 194572, + 194572 + ], + "mapped", + [ + 13470 + ] + ], + [ + [ + 194573, + 194573 + ], + "mapped", + [ + 132666 + ] + ], + [ + [ + 194574, + 194574 + ], + "mapped", + [ + 20813 + ] + ], + [ + [ + 194575, + 194575 + ], + "mapped", + [ + 20820 + ] + ], + [ + [ + 194576, + 194576 + ], + "mapped", + [ + 20836 + ] + ], + [ + [ + 194577, + 194577 + ], + "mapped", + [ + 20855 + ] + ], + [ + [ + 194578, + 194578 + ], + "mapped", + [ + 132380 + ] + ], + [ + [ + 194579, + 194579 + ], + "mapped", + [ + 13497 + ] + ], + [ + [ + 194580, + 194580 + ], + "mapped", + [ + 20839 + ] + ], + [ + [ + 194581, + 194581 + ], + "mapped", + [ + 20877 + ] + ], + [ + [ + 194582, + 194582 + ], + "mapped", + [ + 132427 + ] + ], + [ + [ + 194583, + 194583 + ], + "mapped", + [ + 20887 + ] + ], + [ + [ + 194584, + 194584 + ], + "mapped", + [ + 20900 + ] + ], + [ + [ + 194585, + 194585 + ], + "mapped", + [ + 20172 + ] + ], + [ + [ + 194586, + 194586 + ], + "mapped", + [ + 20908 + ] + ], + [ + [ + 194587, + 194587 + ], + "mapped", + [ + 20917 + ] + ], + [ + [ + 194588, + 194588 + ], + "mapped", + [ + 168415 + ] + ], + [ + [ + 194589, + 194589 + ], + "mapped", + [ + 20981 + ] + ], + [ + [ + 194590, + 194590 + ], + "mapped", + [ + 20995 + ] + ], + [ + [ + 194591, + 194591 + ], + "mapped", + [ + 13535 + ] + ], + [ + [ + 194592, + 194592 + ], + "mapped", + [ + 21051 + ] + ], + [ + [ + 194593, + 194593 + ], + "mapped", + [ + 21062 + ] + ], + [ + [ + 194594, + 194594 + ], + "mapped", + [ + 21106 + ] + ], + [ + [ + 194595, + 194595 + ], + "mapped", + [ + 21111 + ] + ], + [ + [ + 194596, + 194596 + ], + "mapped", + [ + 13589 + ] + ], + [ + [ + 194597, + 194597 + ], + "mapped", + [ + 21191 + ] + ], + [ + [ + 194598, + 194598 + ], + "mapped", + [ + 21193 + ] + ], + [ + [ + 194599, + 194599 + ], + "mapped", + [ + 21220 + ] + ], + [ + [ + 194600, + 194600 + ], + "mapped", + [ + 21242 + ] + ], + [ + [ + 194601, + 194601 + ], + "mapped", + [ + 21253 + ] + ], + [ + [ + 194602, + 194602 + ], + "mapped", + [ + 21254 + ] + ], + [ + [ + 194603, + 194603 + ], + "mapped", + [ + 21271 + ] + ], + [ + [ + 194604, + 194604 + ], + "mapped", + [ + 21321 + ] + ], + [ + [ + 194605, + 194605 + ], + "mapped", + [ + 21329 + ] + ], + [ + [ + 194606, + 194606 + ], + "mapped", + [ + 21338 + ] + ], + [ + [ + 194607, + 194607 + ], + "mapped", + [ + 21363 + ] + ], + [ + [ + 194608, + 194608 + ], + "mapped", + [ + 21373 + ] + ], + [ + [ + 194609, + 194611 + ], + "mapped", + [ + 21375 + ] + ], + [ + [ + 194612, + 194612 + ], + "mapped", + [ + 133676 + ] + ], + [ + [ + 194613, + 194613 + ], + "mapped", + [ + 28784 + ] + ], + [ + [ + 194614, + 194614 + ], + "mapped", + [ + 21450 + ] + ], + [ + [ + 194615, + 194615 + ], + "mapped", + [ + 21471 + ] + ], + [ + [ + 194616, + 194616 + ], + "mapped", + [ + 133987 + ] + ], + [ + [ + 194617, + 194617 + ], + "mapped", + [ + 21483 + ] + ], + [ + [ + 194618, + 194618 + ], + "mapped", + [ + 21489 + ] + ], + [ + [ + 194619, + 194619 + ], + "mapped", + [ + 21510 + ] + ], + [ + [ + 194620, + 194620 + ], + "mapped", + [ + 21662 + ] + ], + [ + [ + 194621, + 194621 + ], + "mapped", + [ + 21560 + ] + ], + [ + [ + 194622, + 194622 + ], + "mapped", + [ + 21576 + ] + ], + [ + [ + 194623, + 194623 + ], + "mapped", + [ + 21608 + ] + ], + [ + [ + 194624, + 194624 + ], + "mapped", + [ + 21666 + ] + ], + [ + [ + 194625, + 194625 + ], + "mapped", + [ + 21750 + ] + ], + [ + [ + 194626, + 194626 + ], + "mapped", + [ + 21776 + ] + ], + [ + [ + 194627, + 194627 + ], + "mapped", + [ + 21843 + ] + ], + [ + [ + 194628, + 194628 + ], + "mapped", + [ + 21859 + ] + ], + [ + [ + 194629, + 194630 + ], + "mapped", + [ + 21892 + ] + ], + [ + [ + 194631, + 194631 + ], + "mapped", + [ + 21913 + ] + ], + [ + [ + 194632, + 194632 + ], + "mapped", + [ + 21931 + ] + ], + [ + [ + 194633, + 194633 + ], + "mapped", + [ + 21939 + ] + ], + [ + [ + 194634, + 194634 + ], + "mapped", + [ + 21954 + ] + ], + [ + [ + 194635, + 194635 + ], + "mapped", + [ + 22294 + ] + ], + [ + [ + 194636, + 194636 + ], + "mapped", + [ + 22022 + ] + ], + [ + [ + 194637, + 194637 + ], + "mapped", + [ + 22295 + ] + ], + [ + [ + 194638, + 194638 + ], + "mapped", + [ + 22097 + ] + ], + [ + [ + 194639, + 194639 + ], + "mapped", + [ + 22132 + ] + ], + [ + [ + 194640, + 194640 + ], + "mapped", + [ + 20999 + ] + ], + [ + [ + 194641, + 194641 + ], + "mapped", + [ + 22766 + ] + ], + [ + [ + 194642, + 194642 + ], + "mapped", + [ + 22478 + ] + ], + [ + [ + 194643, + 194643 + ], + "mapped", + [ + 22516 + ] + ], + [ + [ + 194644, + 194644 + ], + "mapped", + [ + 22541 + ] + ], + [ + [ + 194645, + 194645 + ], + "mapped", + [ + 22411 + ] + ], + [ + [ + 194646, + 194646 + ], + "mapped", + [ + 22578 + ] + ], + [ + [ + 194647, + 194647 + ], + "mapped", + [ + 22577 + ] + ], + [ + [ + 194648, + 194648 + ], + "mapped", + [ + 22700 + ] + ], + [ + [ + 194649, + 194649 + ], + "mapped", + [ + 136420 + ] + ], + [ + [ + 194650, + 194650 + ], + "mapped", + [ + 22770 + ] + ], + [ + [ + 194651, + 194651 + ], + "mapped", + [ + 22775 + ] + ], + [ + [ + 194652, + 194652 + ], + "mapped", + [ + 22790 + ] + ], + [ + [ + 194653, + 194653 + ], + "mapped", + [ + 22810 + ] + ], + [ + [ + 194654, + 194654 + ], + "mapped", + [ + 22818 + ] + ], + [ + [ + 194655, + 194655 + ], + "mapped", + [ + 22882 + ] + ], + [ + [ + 194656, + 194656 + ], + "mapped", + [ + 136872 + ] + ], + [ + [ + 194657, + 194657 + ], + "mapped", + [ + 136938 + ] + ], + [ + [ + 194658, + 194658 + ], + "mapped", + [ + 23020 + ] + ], + [ + [ + 194659, + 194659 + ], + "mapped", + [ + 23067 + ] + ], + [ + [ + 194660, + 194660 + ], + "mapped", + [ + 23079 + ] + ], + [ + [ + 194661, + 194661 + ], + "mapped", + [ + 23000 + ] + ], + [ + [ + 194662, + 194662 + ], + "mapped", + [ + 23142 + ] + ], + [ + [ + 194663, + 194663 + ], + "mapped", + [ + 14062 + ] + ], + [ + [ + 194664, + 194664 + ], + "disallowed" + ], + [ + [ + 194665, + 194665 + ], + "mapped", + [ + 23304 + ] + ], + [ + [ + 194666, + 194667 + ], + "mapped", + [ + 23358 + ] + ], + [ + [ + 194668, + 194668 + ], + "mapped", + [ + 137672 + ] + ], + [ + [ + 194669, + 194669 + ], + "mapped", + [ + 23491 + ] + ], + [ + [ + 194670, + 194670 + ], + "mapped", + [ + 23512 + ] + ], + [ + [ + 194671, + 194671 + ], + "mapped", + [ + 23527 + ] + ], + [ + [ + 194672, + 194672 + ], + "mapped", + [ + 23539 + ] + ], + [ + [ + 194673, + 194673 + ], + "mapped", + [ + 138008 + ] + ], + [ + [ + 194674, + 194674 + ], + "mapped", + [ + 23551 + ] + ], + [ + [ + 194675, + 194675 + ], + "mapped", + [ + 23558 + ] + ], + [ + [ + 194676, + 194676 + ], + "disallowed" + ], + [ + [ + 194677, + 194677 + ], + "mapped", + [ + 23586 + ] + ], + [ + [ + 194678, + 194678 + ], + "mapped", + [ + 14209 + ] + ], + [ + [ + 194679, + 194679 + ], + "mapped", + [ + 23648 + ] + ], + [ + [ + 194680, + 194680 + ], + "mapped", + [ + 23662 + ] + ], + [ + [ + 194681, + 194681 + ], + "mapped", + [ + 23744 + ] + ], + [ + [ + 194682, + 194682 + ], + "mapped", + [ + 23693 + ] + ], + [ + [ + 194683, + 194683 + ], + "mapped", + [ + 138724 + ] + ], + [ + [ + 194684, + 194684 + ], + "mapped", + [ + 23875 + ] + ], + [ + [ + 194685, + 194685 + ], + "mapped", + [ + 138726 + ] + ], + [ + [ + 194686, + 194686 + ], + "mapped", + [ + 23918 + ] + ], + [ + [ + 194687, + 194687 + ], + "mapped", + [ + 23915 + ] + ], + [ + [ + 194688, + 194688 + ], + "mapped", + [ + 23932 + ] + ], + [ + [ + 194689, + 194689 + ], + "mapped", + [ + 24033 + ] + ], + [ + [ + 194690, + 194690 + ], + "mapped", + [ + 24034 + ] + ], + [ + [ + 194691, + 194691 + ], + "mapped", + [ + 14383 + ] + ], + [ + [ + 194692, + 194692 + ], + "mapped", + [ + 24061 + ] + ], + [ + [ + 194693, + 194693 + ], + "mapped", + [ + 24104 + ] + ], + [ + [ + 194694, + 194694 + ], + "mapped", + [ + 24125 + ] + ], + [ + [ + 194695, + 194695 + ], + "mapped", + [ + 24169 + ] + ], + [ + [ + 194696, + 194696 + ], + "mapped", + [ + 14434 + ] + ], + [ + [ + 194697, + 194697 + ], + "mapped", + [ + 139651 + ] + ], + [ + [ + 194698, + 194698 + ], + "mapped", + [ + 14460 + ] + ], + [ + [ + 194699, + 194699 + ], + "mapped", + [ + 24240 + ] + ], + [ + [ + 194700, + 194700 + ], + "mapped", + [ + 24243 + ] + ], + [ + [ + 194701, + 194701 + ], + "mapped", + [ + 24246 + ] + ], + [ + [ + 194702, + 194702 + ], + "mapped", + [ + 24266 + ] + ], + [ + [ + 194703, + 194703 + ], + "mapped", + [ + 172946 + ] + ], + [ + [ + 194704, + 194704 + ], + "mapped", + [ + 24318 + ] + ], + [ + [ + 194705, + 194706 + ], + "mapped", + [ + 140081 + ] + ], + [ + [ + 194707, + 194707 + ], + "mapped", + [ + 33281 + ] + ], + [ + [ + 194708, + 194709 + ], + "mapped", + [ + 24354 + ] + ], + [ + [ + 194710, + 194710 + ], + "mapped", + [ + 14535 + ] + ], + [ + [ + 194711, + 194711 + ], + "mapped", + [ + 144056 + ] + ], + [ + [ + 194712, + 194712 + ], + "mapped", + [ + 156122 + ] + ], + [ + [ + 194713, + 194713 + ], + "mapped", + [ + 24418 + ] + ], + [ + [ + 194714, + 194714 + ], + "mapped", + [ + 24427 + ] + ], + [ + [ + 194715, + 194715 + ], + "mapped", + [ + 14563 + ] + ], + [ + [ + 194716, + 194716 + ], + "mapped", + [ + 24474 + ] + ], + [ + [ + 194717, + 194717 + ], + "mapped", + [ + 24525 + ] + ], + [ + [ + 194718, + 194718 + ], + "mapped", + [ + 24535 + ] + ], + [ + [ + 194719, + 194719 + ], + "mapped", + [ + 24569 + ] + ], + [ + [ + 194720, + 194720 + ], + "mapped", + [ + 24705 + ] + ], + [ + [ + 194721, + 194721 + ], + "mapped", + [ + 14650 + ] + ], + [ + [ + 194722, + 194722 + ], + "mapped", + [ + 14620 + ] + ], + [ + [ + 194723, + 194723 + ], + "mapped", + [ + 24724 + ] + ], + [ + [ + 194724, + 194724 + ], + "mapped", + [ + 141012 + ] + ], + [ + [ + 194725, + 194725 + ], + "mapped", + [ + 24775 + ] + ], + [ + [ + 194726, + 194726 + ], + "mapped", + [ + 24904 + ] + ], + [ + [ + 194727, + 194727 + ], + "mapped", + [ + 24908 + ] + ], + [ + [ + 194728, + 194728 + ], + "mapped", + [ + 24910 + ] + ], + [ + [ + 194729, + 194729 + ], + "mapped", + [ + 24908 + ] + ], + [ + [ + 194730, + 194730 + ], + "mapped", + [ + 24954 + ] + ], + [ + [ + 194731, + 194731 + ], + "mapped", + [ + 24974 + ] + ], + [ + [ + 194732, + 194732 + ], + "mapped", + [ + 25010 + ] + ], + [ + [ + 194733, + 194733 + ], + "mapped", + [ + 24996 + ] + ], + [ + [ + 194734, + 194734 + ], + "mapped", + [ + 25007 + ] + ], + [ + [ + 194735, + 194735 + ], + "mapped", + [ + 25054 + ] + ], + [ + [ + 194736, + 194736 + ], + "mapped", + [ + 25074 + ] + ], + [ + [ + 194737, + 194737 + ], + "mapped", + [ + 25078 + ] + ], + [ + [ + 194738, + 194738 + ], + "mapped", + [ + 25104 + ] + ], + [ + [ + 194739, + 194739 + ], + "mapped", + [ + 25115 + ] + ], + [ + [ + 194740, + 194740 + ], + "mapped", + [ + 25181 + ] + ], + [ + [ + 194741, + 194741 + ], + "mapped", + [ + 25265 + ] + ], + [ + [ + 194742, + 194742 + ], + "mapped", + [ + 25300 + ] + ], + [ + [ + 194743, + 194743 + ], + "mapped", + [ + 25424 + ] + ], + [ + [ + 194744, + 194744 + ], + "mapped", + [ + 142092 + ] + ], + [ + [ + 194745, + 194745 + ], + "mapped", + [ + 25405 + ] + ], + [ + [ + 194746, + 194746 + ], + "mapped", + [ + 25340 + ] + ], + [ + [ + 194747, + 194747 + ], + "mapped", + [ + 25448 + ] + ], + [ + [ + 194748, + 194748 + ], + "mapped", + [ + 25475 + ] + ], + [ + [ + 194749, + 194749 + ], + "mapped", + [ + 25572 + ] + ], + [ + [ + 194750, + 194750 + ], + "mapped", + [ + 142321 + ] + ], + [ + [ + 194751, + 194751 + ], + "mapped", + [ + 25634 + ] + ], + [ + [ + 194752, + 194752 + ], + "mapped", + [ + 25541 + ] + ], + [ + [ + 194753, + 194753 + ], + "mapped", + [ + 25513 + ] + ], + [ + [ + 194754, + 194754 + ], + "mapped", + [ + 14894 + ] + ], + [ + [ + 194755, + 194755 + ], + "mapped", + [ + 25705 + ] + ], + [ + [ + 194756, + 194756 + ], + "mapped", + [ + 25726 + ] + ], + [ + [ + 194757, + 194757 + ], + "mapped", + [ + 25757 + ] + ], + [ + [ + 194758, + 194758 + ], + "mapped", + [ + 25719 + ] + ], + [ + [ + 194759, + 194759 + ], + "mapped", + [ + 14956 + ] + ], + [ + [ + 194760, + 194760 + ], + "mapped", + [ + 25935 + ] + ], + [ + [ + 194761, + 194761 + ], + "mapped", + [ + 25964 + ] + ], + [ + [ + 194762, + 194762 + ], + "mapped", + [ + 143370 + ] + ], + [ + [ + 194763, + 194763 + ], + "mapped", + [ + 26083 + ] + ], + [ + [ + 194764, + 194764 + ], + "mapped", + [ + 26360 + ] + ], + [ + [ + 194765, + 194765 + ], + "mapped", + [ + 26185 + ] + ], + [ + [ + 194766, + 194766 + ], + "mapped", + [ + 15129 + ] + ], + [ + [ + 194767, + 194767 + ], + "mapped", + [ + 26257 + ] + ], + [ + [ + 194768, + 194768 + ], + "mapped", + [ + 15112 + ] + ], + [ + [ + 194769, + 194769 + ], + "mapped", + [ + 15076 + ] + ], + [ + [ + 194770, + 194770 + ], + "mapped", + [ + 20882 + ] + ], + [ + [ + 194771, + 194771 + ], + "mapped", + [ + 20885 + ] + ], + [ + [ + 194772, + 194772 + ], + "mapped", + [ + 26368 + ] + ], + [ + [ + 194773, + 194773 + ], + "mapped", + [ + 26268 + ] + ], + [ + [ + 194774, + 194774 + ], + "mapped", + [ + 32941 + ] + ], + [ + [ + 194775, + 194775 + ], + "mapped", + [ + 17369 + ] + ], + [ + [ + 194776, + 194776 + ], + "mapped", + [ + 26391 + ] + ], + [ + [ + 194777, + 194777 + ], + "mapped", + [ + 26395 + ] + ], + [ + [ + 194778, + 194778 + ], + "mapped", + [ + 26401 + ] + ], + [ + [ + 194779, + 194779 + ], + "mapped", + [ + 26462 + ] + ], + [ + [ + 194780, + 194780 + ], + "mapped", + [ + 26451 + ] + ], + [ + [ + 194781, + 194781 + ], + "mapped", + [ + 144323 + ] + ], + [ + [ + 194782, + 194782 + ], + "mapped", + [ + 15177 + ] + ], + [ + [ + 194783, + 194783 + ], + "mapped", + [ + 26618 + ] + ], + [ + [ + 194784, + 194784 + ], + "mapped", + [ + 26501 + ] + ], + [ + [ + 194785, + 194785 + ], + "mapped", + [ + 26706 + ] + ], + [ + [ + 194786, + 194786 + ], + "mapped", + [ + 26757 + ] + ], + [ + [ + 194787, + 194787 + ], + "mapped", + [ + 144493 + ] + ], + [ + [ + 194788, + 194788 + ], + "mapped", + [ + 26766 + ] + ], + [ + [ + 194789, + 194789 + ], + "mapped", + [ + 26655 + ] + ], + [ + [ + 194790, + 194790 + ], + "mapped", + [ + 26900 + ] + ], + [ + [ + 194791, + 194791 + ], + "mapped", + [ + 15261 + ] + ], + [ + [ + 194792, + 194792 + ], + "mapped", + [ + 26946 + ] + ], + [ + [ + 194793, + 194793 + ], + "mapped", + [ + 27043 + ] + ], + [ + [ + 194794, + 194794 + ], + "mapped", + [ + 27114 + ] + ], + [ + [ + 194795, + 194795 + ], + "mapped", + [ + 27304 + ] + ], + [ + [ + 194796, + 194796 + ], + "mapped", + [ + 145059 + ] + ], + [ + [ + 194797, + 194797 + ], + "mapped", + [ + 27355 + ] + ], + [ + [ + 194798, + 194798 + ], + "mapped", + [ + 15384 + ] + ], + [ + [ + 194799, + 194799 + ], + "mapped", + [ + 27425 + ] + ], + [ + [ + 194800, + 194800 + ], + "mapped", + [ + 145575 + ] + ], + [ + [ + 194801, + 194801 + ], + "mapped", + [ + 27476 + ] + ], + [ + [ + 194802, + 194802 + ], + "mapped", + [ + 15438 + ] + ], + [ + [ + 194803, + 194803 + ], + "mapped", + [ + 27506 + ] + ], + [ + [ + 194804, + 194804 + ], + "mapped", + [ + 27551 + ] + ], + [ + [ + 194805, + 194805 + ], + "mapped", + [ + 27578 + ] + ], + [ + [ + 194806, + 194806 + ], + "mapped", + [ + 27579 + ] + ], + [ + [ + 194807, + 194807 + ], + "mapped", + [ + 146061 + ] + ], + [ + [ + 194808, + 194808 + ], + "mapped", + [ + 138507 + ] + ], + [ + [ + 194809, + 194809 + ], + "mapped", + [ + 146170 + ] + ], + [ + [ + 194810, + 194810 + ], + "mapped", + [ + 27726 + ] + ], + [ + [ + 194811, + 194811 + ], + "mapped", + [ + 146620 + ] + ], + [ + [ + 194812, + 194812 + ], + "mapped", + [ + 27839 + ] + ], + [ + [ + 194813, + 194813 + ], + "mapped", + [ + 27853 + ] + ], + [ + [ + 194814, + 194814 + ], + "mapped", + [ + 27751 + ] + ], + [ + [ + 194815, + 194815 + ], + "mapped", + [ + 27926 + ] + ], + [ + [ + 194816, + 194816 + ], + "mapped", + [ + 27966 + ] + ], + [ + [ + 194817, + 194817 + ], + "mapped", + [ + 28023 + ] + ], + [ + [ + 194818, + 194818 + ], + "mapped", + [ + 27969 + ] + ], + [ + [ + 194819, + 194819 + ], + "mapped", + [ + 28009 + ] + ], + [ + [ + 194820, + 194820 + ], + "mapped", + [ + 28024 + ] + ], + [ + [ + 194821, + 194821 + ], + "mapped", + [ + 28037 + ] + ], + [ + [ + 194822, + 194822 + ], + "mapped", + [ + 146718 + ] + ], + [ + [ + 194823, + 194823 + ], + "mapped", + [ + 27956 + ] + ], + [ + [ + 194824, + 194824 + ], + "mapped", + [ + 28207 + ] + ], + [ + [ + 194825, + 194825 + ], + "mapped", + [ + 28270 + ] + ], + [ + [ + 194826, + 194826 + ], + "mapped", + [ + 15667 + ] + ], + [ + [ + 194827, + 194827 + ], + "mapped", + [ + 28363 + ] + ], + [ + [ + 194828, + 194828 + ], + "mapped", + [ + 28359 + ] + ], + [ + [ + 194829, + 194829 + ], + "mapped", + [ + 147153 + ] + ], + [ + [ + 194830, + 194830 + ], + "mapped", + [ + 28153 + ] + ], + [ + [ + 194831, + 194831 + ], + "mapped", + [ + 28526 + ] + ], + [ + [ + 194832, + 194832 + ], + "mapped", + [ + 147294 + ] + ], + [ + [ + 194833, + 194833 + ], + "mapped", + [ + 147342 + ] + ], + [ + [ + 194834, + 194834 + ], + "mapped", + [ + 28614 + ] + ], + [ + [ + 194835, + 194835 + ], + "mapped", + [ + 28729 + ] + ], + [ + [ + 194836, + 194836 + ], + "mapped", + [ + 28702 + ] + ], + [ + [ + 194837, + 194837 + ], + "mapped", + [ + 28699 + ] + ], + [ + [ + 194838, + 194838 + ], + "mapped", + [ + 15766 + ] + ], + [ + [ + 194839, + 194839 + ], + "mapped", + [ + 28746 + ] + ], + [ + [ + 194840, + 194840 + ], + "mapped", + [ + 28797 + ] + ], + [ + [ + 194841, + 194841 + ], + "mapped", + [ + 28791 + ] + ], + [ + [ + 194842, + 194842 + ], + "mapped", + [ + 28845 + ] + ], + [ + [ + 194843, + 194843 + ], + "mapped", + [ + 132389 + ] + ], + [ + [ + 194844, + 194844 + ], + "mapped", + [ + 28997 + ] + ], + [ + [ + 194845, + 194845 + ], + "mapped", + [ + 148067 + ] + ], + [ + [ + 194846, + 194846 + ], + "mapped", + [ + 29084 + ] + ], + [ + [ + 194847, + 194847 + ], + "disallowed" + ], + [ + [ + 194848, + 194848 + ], + "mapped", + [ + 29224 + ] + ], + [ + [ + 194849, + 194849 + ], + "mapped", + [ + 29237 + ] + ], + [ + [ + 194850, + 194850 + ], + "mapped", + [ + 29264 + ] + ], + [ + [ + 194851, + 194851 + ], + "mapped", + [ + 149000 + ] + ], + [ + [ + 194852, + 194852 + ], + "mapped", + [ + 29312 + ] + ], + [ + [ + 194853, + 194853 + ], + "mapped", + [ + 29333 + ] + ], + [ + [ + 194854, + 194854 + ], + "mapped", + [ + 149301 + ] + ], + [ + [ + 194855, + 194855 + ], + "mapped", + [ + 149524 + ] + ], + [ + [ + 194856, + 194856 + ], + "mapped", + [ + 29562 + ] + ], + [ + [ + 194857, + 194857 + ], + "mapped", + [ + 29579 + ] + ], + [ + [ + 194858, + 194858 + ], + "mapped", + [ + 16044 + ] + ], + [ + [ + 194859, + 194859 + ], + "mapped", + [ + 29605 + ] + ], + [ + [ + 194860, + 194861 + ], + "mapped", + [ + 16056 + ] + ], + [ + [ + 194862, + 194862 + ], + "mapped", + [ + 29767 + ] + ], + [ + [ + 194863, + 194863 + ], + "mapped", + [ + 29788 + ] + ], + [ + [ + 194864, + 194864 + ], + "mapped", + [ + 29809 + ] + ], + [ + [ + 194865, + 194865 + ], + "mapped", + [ + 29829 + ] + ], + [ + [ + 194866, + 194866 + ], + "mapped", + [ + 29898 + ] + ], + [ + [ + 194867, + 194867 + ], + "mapped", + [ + 16155 + ] + ], + [ + [ + 194868, + 194868 + ], + "mapped", + [ + 29988 + ] + ], + [ + [ + 194869, + 194869 + ], + "mapped", + [ + 150582 + ] + ], + [ + [ + 194870, + 194870 + ], + "mapped", + [ + 30014 + ] + ], + [ + [ + 194871, + 194871 + ], + "mapped", + [ + 150674 + ] + ], + [ + [ + 194872, + 194872 + ], + "mapped", + [ + 30064 + ] + ], + [ + [ + 194873, + 194873 + ], + "mapped", + [ + 139679 + ] + ], + [ + [ + 194874, + 194874 + ], + "mapped", + [ + 30224 + ] + ], + [ + [ + 194875, + 194875 + ], + "mapped", + [ + 151457 + ] + ], + [ + [ + 194876, + 194876 + ], + "mapped", + [ + 151480 + ] + ], + [ + [ + 194877, + 194877 + ], + "mapped", + [ + 151620 + ] + ], + [ + [ + 194878, + 194878 + ], + "mapped", + [ + 16380 + ] + ], + [ + [ + 194879, + 194879 + ], + "mapped", + [ + 16392 + ] + ], + [ + [ + 194880, + 194880 + ], + "mapped", + [ + 30452 + ] + ], + [ + [ + 194881, + 194881 + ], + "mapped", + [ + 151795 + ] + ], + [ + [ + 194882, + 194882 + ], + "mapped", + [ + 151794 + ] + ], + [ + [ + 194883, + 194883 + ], + "mapped", + [ + 151833 + ] + ], + [ + [ + 194884, + 194884 + ], + "mapped", + [ + 151859 + ] + ], + [ + [ + 194885, + 194885 + ], + "mapped", + [ + 30494 + ] + ], + [ + [ + 194886, + 194887 + ], + "mapped", + [ + 30495 + ] + ], + [ + [ + 194888, + 194888 + ], + "mapped", + [ + 30538 + ] + ], + [ + [ + 194889, + 194889 + ], + "mapped", + [ + 16441 + ] + ], + [ + [ + 194890, + 194890 + ], + "mapped", + [ + 30603 + ] + ], + [ + [ + 194891, + 194891 + ], + "mapped", + [ + 16454 + ] + ], + [ + [ + 194892, + 194892 + ], + "mapped", + [ + 16534 + ] + ], + [ + [ + 194893, + 194893 + ], + "mapped", + [ + 152605 + ] + ], + [ + [ + 194894, + 194894 + ], + "mapped", + [ + 30798 + ] + ], + [ + [ + 194895, + 194895 + ], + "mapped", + [ + 30860 + ] + ], + [ + [ + 194896, + 194896 + ], + "mapped", + [ + 30924 + ] + ], + [ + [ + 194897, + 194897 + ], + "mapped", + [ + 16611 + ] + ], + [ + [ + 194898, + 194898 + ], + "mapped", + [ + 153126 + ] + ], + [ + [ + 194899, + 194899 + ], + "mapped", + [ + 31062 + ] + ], + [ + [ + 194900, + 194900 + ], + "mapped", + [ + 153242 + ] + ], + [ + [ + 194901, + 194901 + ], + "mapped", + [ + 153285 + ] + ], + [ + [ + 194902, + 194902 + ], + "mapped", + [ + 31119 + ] + ], + [ + [ + 194903, + 194903 + ], + "mapped", + [ + 31211 + ] + ], + [ + [ + 194904, + 194904 + ], + "mapped", + [ + 16687 + ] + ], + [ + [ + 194905, + 194905 + ], + "mapped", + [ + 31296 + ] + ], + [ + [ + 194906, + 194906 + ], + "mapped", + [ + 31306 + ] + ], + [ + [ + 194907, + 194907 + ], + "mapped", + [ + 31311 + ] + ], + [ + [ + 194908, + 194908 + ], + "mapped", + [ + 153980 + ] + ], + [ + [ + 194909, + 194910 + ], + "mapped", + [ + 154279 + ] + ], + [ + [ + 194911, + 194911 + ], + "disallowed" + ], + [ + [ + 194912, + 194912 + ], + "mapped", + [ + 16898 + ] + ], + [ + [ + 194913, + 194913 + ], + "mapped", + [ + 154539 + ] + ], + [ + [ + 194914, + 194914 + ], + "mapped", + [ + 31686 + ] + ], + [ + [ + 194915, + 194915 + ], + "mapped", + [ + 31689 + ] + ], + [ + [ + 194916, + 194916 + ], + "mapped", + [ + 16935 + ] + ], + [ + [ + 194917, + 194917 + ], + "mapped", + [ + 154752 + ] + ], + [ + [ + 194918, + 194918 + ], + "mapped", + [ + 31954 + ] + ], + [ + [ + 194919, + 194919 + ], + "mapped", + [ + 17056 + ] + ], + [ + [ + 194920, + 194920 + ], + "mapped", + [ + 31976 + ] + ], + [ + [ + 194921, + 194921 + ], + "mapped", + [ + 31971 + ] + ], + [ + [ + 194922, + 194922 + ], + "mapped", + [ + 32000 + ] + ], + [ + [ + 194923, + 194923 + ], + "mapped", + [ + 155526 + ] + ], + [ + [ + 194924, + 194924 + ], + "mapped", + [ + 32099 + ] + ], + [ + [ + 194925, + 194925 + ], + "mapped", + [ + 17153 + ] + ], + [ + [ + 194926, + 194926 + ], + "mapped", + [ + 32199 + ] + ], + [ + [ + 194927, + 194927 + ], + "mapped", + [ + 32258 + ] + ], + [ + [ + 194928, + 194928 + ], + "mapped", + [ + 32325 + ] + ], + [ + [ + 194929, + 194929 + ], + "mapped", + [ + 17204 + ] + ], + [ + [ + 194930, + 194930 + ], + "mapped", + [ + 156200 + ] + ], + [ + [ + 194931, + 194931 + ], + "mapped", + [ + 156231 + ] + ], + [ + [ + 194932, + 194932 + ], + "mapped", + [ + 17241 + ] + ], + [ + [ + 194933, + 194933 + ], + "mapped", + [ + 156377 + ] + ], + [ + [ + 194934, + 194934 + ], + "mapped", + [ + 32634 + ] + ], + [ + [ + 194935, + 194935 + ], + "mapped", + [ + 156478 + ] + ], + [ + [ + 194936, + 194936 + ], + "mapped", + [ + 32661 + ] + ], + [ + [ + 194937, + 194937 + ], + "mapped", + [ + 32762 + ] + ], + [ + [ + 194938, + 194938 + ], + "mapped", + [ + 32773 + ] + ], + [ + [ + 194939, + 194939 + ], + "mapped", + [ + 156890 + ] + ], + [ + [ + 194940, + 194940 + ], + "mapped", + [ + 156963 + ] + ], + [ + [ + 194941, + 194941 + ], + "mapped", + [ + 32864 + ] + ], + [ + [ + 194942, + 194942 + ], + "mapped", + [ + 157096 + ] + ], + [ + [ + 194943, + 194943 + ], + "mapped", + [ + 32880 + ] + ], + [ + [ + 194944, + 194944 + ], + "mapped", + [ + 144223 + ] + ], + [ + [ + 194945, + 194945 + ], + "mapped", + [ + 17365 + ] + ], + [ + [ + 194946, + 194946 + ], + "mapped", + [ + 32946 + ] + ], + [ + [ + 194947, + 194947 + ], + "mapped", + [ + 33027 + ] + ], + [ + [ + 194948, + 194948 + ], + "mapped", + [ + 17419 + ] + ], + [ + [ + 194949, + 194949 + ], + "mapped", + [ + 33086 + ] + ], + [ + [ + 194950, + 194950 + ], + "mapped", + [ + 23221 + ] + ], + [ + [ + 194951, + 194951 + ], + "mapped", + [ + 157607 + ] + ], + [ + [ + 194952, + 194952 + ], + "mapped", + [ + 157621 + ] + ], + [ + [ + 194953, + 194953 + ], + "mapped", + [ + 144275 + ] + ], + [ + [ + 194954, + 194954 + ], + "mapped", + [ + 144284 + ] + ], + [ + [ + 194955, + 194955 + ], + "mapped", + [ + 33281 + ] + ], + [ + [ + 194956, + 194956 + ], + "mapped", + [ + 33284 + ] + ], + [ + [ + 194957, + 194957 + ], + "mapped", + [ + 36766 + ] + ], + [ + [ + 194958, + 194958 + ], + "mapped", + [ + 17515 + ] + ], + [ + [ + 194959, + 194959 + ], + "mapped", + [ + 33425 + ] + ], + [ + [ + 194960, + 194960 + ], + "mapped", + [ + 33419 + ] + ], + [ + [ + 194961, + 194961 + ], + "mapped", + [ + 33437 + ] + ], + [ + [ + 194962, + 194962 + ], + "mapped", + [ + 21171 + ] + ], + [ + [ + 194963, + 194963 + ], + "mapped", + [ + 33457 + ] + ], + [ + [ + 194964, + 194964 + ], + "mapped", + [ + 33459 + ] + ], + [ + [ + 194965, + 194965 + ], + "mapped", + [ + 33469 + ] + ], + [ + [ + 194966, + 194966 + ], + "mapped", + [ + 33510 + ] + ], + [ + [ + 194967, + 194967 + ], + "mapped", + [ + 158524 + ] + ], + [ + [ + 194968, + 194968 + ], + "mapped", + [ + 33509 + ] + ], + [ + [ + 194969, + 194969 + ], + "mapped", + [ + 33565 + ] + ], + [ + [ + 194970, + 194970 + ], + "mapped", + [ + 33635 + ] + ], + [ + [ + 194971, + 194971 + ], + "mapped", + [ + 33709 + ] + ], + [ + [ + 194972, + 194972 + ], + "mapped", + [ + 33571 + ] + ], + [ + [ + 194973, + 194973 + ], + "mapped", + [ + 33725 + ] + ], + [ + [ + 194974, + 194974 + ], + "mapped", + [ + 33767 + ] + ], + [ + [ + 194975, + 194975 + ], + "mapped", + [ + 33879 + ] + ], + [ + [ + 194976, + 194976 + ], + "mapped", + [ + 33619 + ] + ], + [ + [ + 194977, + 194977 + ], + "mapped", + [ + 33738 + ] + ], + [ + [ + 194978, + 194978 + ], + "mapped", + [ + 33740 + ] + ], + [ + [ + 194979, + 194979 + ], + "mapped", + [ + 33756 + ] + ], + [ + [ + 194980, + 194980 + ], + "mapped", + [ + 158774 + ] + ], + [ + [ + 194981, + 194981 + ], + "mapped", + [ + 159083 + ] + ], + [ + [ + 194982, + 194982 + ], + "mapped", + [ + 158933 + ] + ], + [ + [ + 194983, + 194983 + ], + "mapped", + [ + 17707 + ] + ], + [ + [ + 194984, + 194984 + ], + "mapped", + [ + 34033 + ] + ], + [ + [ + 194985, + 194985 + ], + "mapped", + [ + 34035 + ] + ], + [ + [ + 194986, + 194986 + ], + "mapped", + [ + 34070 + ] + ], + [ + [ + 194987, + 194987 + ], + "mapped", + [ + 160714 + ] + ], + [ + [ + 194988, + 194988 + ], + "mapped", + [ + 34148 + ] + ], + [ + [ + 194989, + 194989 + ], + "mapped", + [ + 159532 + ] + ], + [ + [ + 194990, + 194990 + ], + "mapped", + [ + 17757 + ] + ], + [ + [ + 194991, + 194991 + ], + "mapped", + [ + 17761 + ] + ], + [ + [ + 194992, + 194992 + ], + "mapped", + [ + 159665 + ] + ], + [ + [ + 194993, + 194993 + ], + "mapped", + [ + 159954 + ] + ], + [ + [ + 194994, + 194994 + ], + "mapped", + [ + 17771 + ] + ], + [ + [ + 194995, + 194995 + ], + "mapped", + [ + 34384 + ] + ], + [ + [ + 194996, + 194996 + ], + "mapped", + [ + 34396 + ] + ], + [ + [ + 194997, + 194997 + ], + "mapped", + [ + 34407 + ] + ], + [ + [ + 194998, + 194998 + ], + "mapped", + [ + 34409 + ] + ], + [ + [ + 194999, + 194999 + ], + "mapped", + [ + 34473 + ] + ], + [ + [ + 195000, + 195000 + ], + "mapped", + [ + 34440 + ] + ], + [ + [ + 195001, + 195001 + ], + "mapped", + [ + 34574 + ] + ], + [ + [ + 195002, + 195002 + ], + "mapped", + [ + 34530 + ] + ], + [ + [ + 195003, + 195003 + ], + "mapped", + [ + 34681 + ] + ], + [ + [ + 195004, + 195004 + ], + "mapped", + [ + 34600 + ] + ], + [ + [ + 195005, + 195005 + ], + "mapped", + [ + 34667 + ] + ], + [ + [ + 195006, + 195006 + ], + "mapped", + [ + 34694 + ] + ], + [ + [ + 195007, + 195007 + ], + "disallowed" + ], + [ + [ + 195008, + 195008 + ], + "mapped", + [ + 34785 + ] + ], + [ + [ + 195009, + 195009 + ], + "mapped", + [ + 34817 + ] + ], + [ + [ + 195010, + 195010 + ], + "mapped", + [ + 17913 + ] + ], + [ + [ + 195011, + 195011 + ], + "mapped", + [ + 34912 + ] + ], + [ + [ + 195012, + 195012 + ], + "mapped", + [ + 34915 + ] + ], + [ + [ + 195013, + 195013 + ], + "mapped", + [ + 161383 + ] + ], + [ + [ + 195014, + 195014 + ], + "mapped", + [ + 35031 + ] + ], + [ + [ + 195015, + 195015 + ], + "mapped", + [ + 35038 + ] + ], + [ + [ + 195016, + 195016 + ], + "mapped", + [ + 17973 + ] + ], + [ + [ + 195017, + 195017 + ], + "mapped", + [ + 35066 + ] + ], + [ + [ + 195018, + 195018 + ], + "mapped", + [ + 13499 + ] + ], + [ + [ + 195019, + 195019 + ], + "mapped", + [ + 161966 + ] + ], + [ + [ + 195020, + 195020 + ], + "mapped", + [ + 162150 + ] + ], + [ + [ + 195021, + 195021 + ], + "mapped", + [ + 18110 + ] + ], + [ + [ + 195022, + 195022 + ], + "mapped", + [ + 18119 + ] + ], + [ + [ + 195023, + 195023 + ], + "mapped", + [ + 35488 + ] + ], + [ + [ + 195024, + 195024 + ], + "mapped", + [ + 35565 + ] + ], + [ + [ + 195025, + 195025 + ], + "mapped", + [ + 35722 + ] + ], + [ + [ + 195026, + 195026 + ], + "mapped", + [ + 35925 + ] + ], + [ + [ + 195027, + 195027 + ], + "mapped", + [ + 162984 + ] + ], + [ + [ + 195028, + 195028 + ], + "mapped", + [ + 36011 + ] + ], + [ + [ + 195029, + 195029 + ], + "mapped", + [ + 36033 + ] + ], + [ + [ + 195030, + 195030 + ], + "mapped", + [ + 36123 + ] + ], + [ + [ + 195031, + 195031 + ], + "mapped", + [ + 36215 + ] + ], + [ + [ + 195032, + 195032 + ], + "mapped", + [ + 163631 + ] + ], + [ + [ + 195033, + 195033 + ], + "mapped", + [ + 133124 + ] + ], + [ + [ + 195034, + 195034 + ], + "mapped", + [ + 36299 + ] + ], + [ + [ + 195035, + 195035 + ], + "mapped", + [ + 36284 + ] + ], + [ + [ + 195036, + 195036 + ], + "mapped", + [ + 36336 + ] + ], + [ + [ + 195037, + 195037 + ], + "mapped", + [ + 133342 + ] + ], + [ + [ + 195038, + 195038 + ], + "mapped", + [ + 36564 + ] + ], + [ + [ + 195039, + 195039 + ], + "mapped", + [ + 36664 + ] + ], + [ + [ + 195040, + 195040 + ], + "mapped", + [ + 165330 + ] + ], + [ + [ + 195041, + 195041 + ], + "mapped", + [ + 165357 + ] + ], + [ + [ + 195042, + 195042 + ], + "mapped", + [ + 37012 + ] + ], + [ + [ + 195043, + 195043 + ], + "mapped", + [ + 37105 + ] + ], + [ + [ + 195044, + 195044 + ], + "mapped", + [ + 37137 + ] + ], + [ + [ + 195045, + 195045 + ], + "mapped", + [ + 165678 + ] + ], + [ + [ + 195046, + 195046 + ], + "mapped", + [ + 37147 + ] + ], + [ + [ + 195047, + 195047 + ], + "mapped", + [ + 37432 + ] + ], + [ + [ + 195048, + 195048 + ], + "mapped", + [ + 37591 + ] + ], + [ + [ + 195049, + 195049 + ], + "mapped", + [ + 37592 + ] + ], + [ + [ + 195050, + 195050 + ], + "mapped", + [ + 37500 + ] + ], + [ + [ + 195051, + 195051 + ], + "mapped", + [ + 37881 + ] + ], + [ + [ + 195052, + 195052 + ], + "mapped", + [ + 37909 + ] + ], + [ + [ + 195053, + 195053 + ], + "mapped", + [ + 166906 + ] + ], + [ + [ + 195054, + 195054 + ], + "mapped", + [ + 38283 + ] + ], + [ + [ + 195055, + 195055 + ], + "mapped", + [ + 18837 + ] + ], + [ + [ + 195056, + 195056 + ], + "mapped", + [ + 38327 + ] + ], + [ + [ + 195057, + 195057 + ], + "mapped", + [ + 167287 + ] + ], + [ + [ + 195058, + 195058 + ], + "mapped", + [ + 18918 + ] + ], + [ + [ + 195059, + 195059 + ], + "mapped", + [ + 38595 + ] + ], + [ + [ + 195060, + 195060 + ], + "mapped", + [ + 23986 + ] + ], + [ + [ + 195061, + 195061 + ], + "mapped", + [ + 38691 + ] + ], + [ + [ + 195062, + 195062 + ], + "mapped", + [ + 168261 + ] + ], + [ + [ + 195063, + 195063 + ], + "mapped", + [ + 168474 + ] + ], + [ + [ + 195064, + 195064 + ], + "mapped", + [ + 19054 + ] + ], + [ + [ + 195065, + 195065 + ], + "mapped", + [ + 19062 + ] + ], + [ + [ + 195066, + 195066 + ], + "mapped", + [ + 38880 + ] + ], + [ + [ + 195067, + 195067 + ], + "mapped", + [ + 168970 + ] + ], + [ + [ + 195068, + 195068 + ], + "mapped", + [ + 19122 + ] + ], + [ + [ + 195069, + 195069 + ], + "mapped", + [ + 169110 + ] + ], + [ + [ + 195070, + 195071 + ], + "mapped", + [ + 38923 + ] + ], + [ + [ + 195072, + 195072 + ], + "mapped", + [ + 38953 + ] + ], + [ + [ + 195073, + 195073 + ], + "mapped", + [ + 169398 + ] + ], + [ + [ + 195074, + 195074 + ], + "mapped", + [ + 39138 + ] + ], + [ + [ + 195075, + 195075 + ], + "mapped", + [ + 19251 + ] + ], + [ + [ + 195076, + 195076 + ], + "mapped", + [ + 39209 + ] + ], + [ + [ + 195077, + 195077 + ], + "mapped", + [ + 39335 + ] + ], + [ + [ + 195078, + 195078 + ], + "mapped", + [ + 39362 + ] + ], + [ + [ + 195079, + 195079 + ], + "mapped", + [ + 39422 + ] + ], + [ + [ + 195080, + 195080 + ], + "mapped", + [ + 19406 + ] + ], + [ + [ + 195081, + 195081 + ], + "mapped", + [ + 170800 + ] + ], + [ + [ + 195082, + 195082 + ], + "mapped", + [ + 39698 + ] + ], + [ + [ + 195083, + 195083 + ], + "mapped", + [ + 40000 + ] + ], + [ + [ + 195084, + 195084 + ], + "mapped", + [ + 40189 + ] + ], + [ + [ + 195085, + 195085 + ], + "mapped", + [ + 19662 + ] + ], + [ + [ + 195086, + 195086 + ], + "mapped", + [ + 19693 + ] + ], + [ + [ + 195087, + 195087 + ], + "mapped", + [ + 40295 + ] + ], + [ + [ + 195088, + 195088 + ], + "mapped", + [ + 172238 + ] + ], + [ + [ + 195089, + 195089 + ], + "mapped", + [ + 19704 + ] + ], + [ + [ + 195090, + 195090 + ], + "mapped", + [ + 172293 + ] + ], + [ + [ + 195091, + 195091 + ], + "mapped", + [ + 172558 + ] + ], + [ + [ + 195092, + 195092 + ], + "mapped", + [ + 172689 + ] + ], + [ + [ + 195093, + 195093 + ], + "mapped", + [ + 40635 + ] + ], + [ + [ + 195094, + 195094 + ], + "mapped", + [ + 19798 + ] + ], + [ + [ + 195095, + 195095 + ], + "mapped", + [ + 40697 + ] + ], + [ + [ + 195096, + 195096 + ], + "mapped", + [ + 40702 + ] + ], + [ + [ + 195097, + 195097 + ], + "mapped", + [ + 40709 + ] + ], + [ + [ + 195098, + 195098 + ], + "mapped", + [ + 40719 + ] + ], + [ + [ + 195099, + 195099 + ], + "mapped", + [ + 40726 + ] + ], + [ + [ + 195100, + 195100 + ], + "mapped", + [ + 40763 + ] + ], + [ + [ + 195101, + 195101 + ], + "mapped", + [ + 173568 + ] + ], + [ + [ + 195102, + 196605 + ], + "disallowed" + ], + [ + [ + 196606, + 196607 + ], + "disallowed" + ], + [ + [ + 196608, + 262141 + ], + "disallowed" + ], + [ + [ + 262142, + 262143 + ], + "disallowed" + ], + [ + [ + 262144, + 327677 + ], + "disallowed" + ], + [ + [ + 327678, + 327679 + ], + "disallowed" + ], + [ + [ + 327680, + 393213 + ], + "disallowed" + ], + [ + [ + 393214, + 393215 + ], + "disallowed" + ], + [ + [ + 393216, + 458749 + ], + "disallowed" + ], + [ + [ + 458750, + 458751 + ], + "disallowed" + ], + [ + [ + 458752, + 524285 + ], + "disallowed" + ], + [ + [ + 524286, + 524287 + ], + "disallowed" + ], + [ + [ + 524288, + 589821 + ], + "disallowed" + ], + [ + [ + 589822, + 589823 + ], + "disallowed" + ], + [ + [ + 589824, + 655357 + ], + "disallowed" + ], + [ + [ + 655358, + 655359 + ], + "disallowed" + ], + [ + [ + 655360, + 720893 + ], + "disallowed" + ], + [ + [ + 720894, + 720895 + ], + "disallowed" + ], + [ + [ + 720896, + 786429 + ], + "disallowed" + ], + [ + [ + 786430, + 786431 + ], + "disallowed" + ], + [ + [ + 786432, + 851965 + ], + "disallowed" + ], + [ + [ + 851966, + 851967 + ], + "disallowed" + ], + [ + [ + 851968, + 917501 + ], + "disallowed" + ], + [ + [ + 917502, + 917503 + ], + "disallowed" + ], + [ + [ + 917504, + 917504 + ], + "disallowed" + ], + [ + [ + 917505, + 917505 + ], + "disallowed" + ], + [ + [ + 917506, + 917535 + ], + "disallowed" + ], + [ + [ + 917536, + 917631 + ], + "disallowed" + ], + [ + [ + 917632, + 917759 + ], + "disallowed" + ], + [ + [ + 917760, + 917999 + ], + "ignored" + ], + [ + [ + 918000, + 983037 + ], + "disallowed" + ], + [ + [ + 983038, + 983039 + ], + "disallowed" + ], + [ + [ + 983040, + 1048573 + ], + "disallowed" + ], + [ + [ + 1048574, + 1048575 + ], + "disallowed" + ], + [ + [ + 1048576, + 1114109 + ], + "disallowed" + ], + [ + [ + 1114110, + 1114111 + ], + "disallowed" + ] +]; + +var punycode = require$$0__default$1["default"]; +var mappingTable = require$$1$1; + +var PROCESSING_OPTIONS = { + TRANSITIONAL: 0, + NONTRANSITIONAL: 1 +}; + +function normalize(str) { // fix bug in v8 + return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); +} + +function findStatus(val) { + var start = 0; + var end = mappingTable.length - 1; + + while (start <= end) { + var mid = Math.floor((start + end) / 2); + + var target = mappingTable[mid]; + if (target[0][0] <= val && target[0][1] >= val) { + return target; + } else if (target[0][0] > val) { + end = mid - 1; + } else { + start = mid + 1; + } + } + + return null; +} + +var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + +function countSymbols(string) { + return string + // replace every surrogate pair with a BMP symbol + .replace(regexAstralSymbols, '_') + // then get the length + .length; +} + +function mapChars(domain_name, useSTD3, processing_option) { + var hasError = false; + var processed = ""; + + var len = countSymbols(domain_name); + for (var i = 0; i < len; ++i) { + var codePoint = domain_name.codePointAt(i); + var status = findStatus(codePoint); + + switch (status[1]) { + case "disallowed": + hasError = true; + processed += String.fromCodePoint(codePoint); + break; + case "ignored": + break; + case "mapped": + processed += String.fromCodePoint.apply(String, status[2]); + break; + case "deviation": + if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { + processed += String.fromCodePoint.apply(String, status[2]); + } else { + processed += String.fromCodePoint(codePoint); + } + break; + case "valid": + processed += String.fromCodePoint(codePoint); + break; + case "disallowed_STD3_mapped": + if (useSTD3) { + hasError = true; + processed += String.fromCodePoint(codePoint); + } else { + processed += String.fromCodePoint.apply(String, status[2]); + } + break; + case "disallowed_STD3_valid": + if (useSTD3) { + hasError = true; + } + + processed += String.fromCodePoint(codePoint); + break; + } + } + + return { + string: processed, + error: hasError + }; +} + +var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; + +function validateLabel(label, processing_option) { + if (label.substr(0, 4) === "xn--") { + label = punycode.toUnicode(label); + PROCESSING_OPTIONS.NONTRANSITIONAL; + } + + var error = false; + + if (normalize(label) !== label || + (label[3] === "-" && label[4] === "-") || + label[0] === "-" || label[label.length - 1] === "-" || + label.indexOf(".") !== -1 || + label.search(combiningMarksRegex) === 0) { + error = true; + } + + var len = countSymbols(label); + for (var i = 0; i < len; ++i) { + var status = findStatus(label.codePointAt(i)); + if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== "valid" && status[1] !== "deviation")) { + error = true; + break; + } + } + + return { + label: label, + error: error + }; +} + +function processing(domain_name, useSTD3, processing_option) { + var result = mapChars(domain_name, useSTD3, processing_option); + result.string = normalize(result.string); + + var labels = result.string.split("."); + for (var i = 0; i < labels.length; ++i) { + try { + var validation = validateLabel(labels[i]); + labels[i] = validation.label; + result.error = result.error || validation.error; + } catch(e) { + result.error = true; + } + } + + return { + string: labels.join("."), + error: result.error + }; +} + +tr46.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { + var result = processing(domain_name, useSTD3, processing_option); + var labels = result.string.split("."); + labels = labels.map(function(l) { + try { + return punycode.toASCII(l); + } catch(e) { + result.error = true; + return l; + } + }); + + if (verifyDnsLength) { + var total = labels.slice(0, labels.length - 1).join(".").length; + if (total.length > 253 || total.length === 0) { + result.error = true; + } + + for (var i=0; i < labels.length; ++i) { + if (labels.length > 63 || labels.length === 0) { + result.error = true; + break; + } + } + } + + if (result.error) return null; + return labels.join("."); +}; + +tr46.toUnicode = function(domain_name, useSTD3) { + var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); + + return { + domain: result.string, + error: result.error + }; +}; + +tr46.PROCESSING_OPTIONS = PROCESSING_OPTIONS; + +(function (module) { + const punycode = require$$0__default$1["default"]; + const tr46$1 = tr46; + + const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 + }; + + const failure = Symbol("failure"); + + function countSymbols(str) { + return punycode.ucs2.decode(str).length; + } + + function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); + } + + function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; + } + + function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); + } + + function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); + } + + function isASCIIHex(c) { + return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); + } + + function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; + } + + function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; + } + + function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); + } + + function isWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); + } + + function isNormalizedWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; + } + + function containsForbiddenHostCodePoint(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; + } + + function containsForbiddenHostCodePointExcludingPercent(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; + } + + function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; + } + + function isSpecial(url) { + return isSpecialScheme(url.scheme); + } + + function defaultPort(scheme) { + return specialSchemes[scheme]; + } + + function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } + + return "%" + hex; + } + + function utf8PercentEncode(c) { + const buf = new Buffer(c); + + let str = ""; + + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } + + return str; + } + + function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); + } + + function isC0ControlPercentEncode(c) { + return c <= 0x1F || c > 0x7E; + } + + const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); + function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); + } + + const extraUserinfoPercentEncodeSet = + new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); + function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); + } + + function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); + + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } + + return cStr; + } + + function parseIPv4Number(input) { + let R = 10; + + if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } + + if (input === "") { + return 0; + } + + const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); + if (regex.test(input)) { + return failure; + } + + return parseInt(input, R); + } + + function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } + + if (parts.length > 4) { + return input; + } + + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } + + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } + + let ipv4 = numbers.pop(); + let counter = 0; + + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } + + return ipv4; + } + + function serializeIPv4(address) { + let output = ""; + let n = address; + + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } + + return output; + } + + function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; + + input = punycode.ucs2.decode(input); + + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } + + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } + + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } + + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } + + let value = 0; + let length = 0; + + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } + + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } + + pointer -= length; + + if (pieceIndex > 6) { + return failure; + } + + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; + + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; + } else { + return failure; + } + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } + + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; + } + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } + + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; + + ++numbersSeen; + + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } + + if (numbersSeen !== 4) { + return failure; + } + + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } + + address[pieceIndex] = value; + ++pieceIndex; + } + + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } + + return address; + } + + function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } + + return output; + } + + function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } + + return parseIPv6(input.substring(1, input.length - 1)); + } + + if (!isSpecialArg) { + return parseOpaqueHost(input); + } + + const domain = utf8PercentDecode(input); + const asciiDomain = tr46$1.toASCII(domain, false, tr46$1.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + if (asciiDomain === null) { + return failure; + } + + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } + + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } + + return asciiDomain; + } + + function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } + + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; + } + + function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } + + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + return { + idx: maxIdx, + len: maxLen + }; + } + + function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } + + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } + + return host; + } + + function trimControlChars(url) { + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); + } + + function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); + } + + function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { + return; + } + + path.pop(); + } + + function includesCredentials(url) { + return url.username !== "" || url.password !== ""; + } + + function cannotHaveAUsernamePasswordPort(url) { + return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; + } + + function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); + } + + function URLStateMachine(input, base, encodingOverride, url, stateOverride) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } + + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + + this.state = stateOverride || "scheme start"; + + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; + + this.input = punycode.ucs2.decode(this.input); + + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); + + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } + } + + URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } + + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } + + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + return false; + } + + if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { + this.parseError = true; + } + this.state = "file"; + } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; + }; + + URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse hostname"] = + URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if (this.stateOverride && this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null)) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + + URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; + } + + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; + + if (this.stateOverride) { + return false; + } + + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } + + return true; + }; + + URLStateMachine.prototype["parse path"] = function parsePath(c) { + if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35))) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if (isSingleDot(this.buffer) && c !== 47 && + !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } + + return true; + }; + + URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } + + return true; + }; + + URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || + buffer[i] === 0x3C || buffer[i] === 0x3E) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) ; else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; + }; + + function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; + } + output += "@"; + } + + output += serializeHost(url.host); + + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } + + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } + + if (url.query !== null) { + output += "?" + url.query; + } + + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } + + return output; + } + + function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); + + if (tuple.port !== null) { + result += ":" + tuple.port; + } + + return result; + } + + module.exports.serializeURL = serializeURL; + + module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } + }; + + module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } + + const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); + if (usm.failure) { + return "failure"; + } + + return usm.url; + }; + + module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } + }; + + module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } + }; + + module.exports.serializeHost = serializeHost; + + module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; + + module.exports.serializeInteger = function (integer) { + return String(integer); + }; + + module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } + + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); + }; +} (urlStateMachine)); + +const usm = urlStateMachine.exports; + +URLImpl.implementation = class URLImpl { + constructor(constructorArgs) { + const url = constructorArgs[0]; + const base = constructorArgs[1]; + + let parsedBase = null; + if (base !== undefined) { + parsedBase = usm.basicURLParse(base); + if (parsedBase === "failure") { + throw new TypeError("Invalid base URL"); + } + } + + const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } + + this._url = parsedURL; + + // TODO: query stuff + } + + get href() { + return usm.serializeURL(this._url); + } + + set href(v) { + const parsedURL = usm.basicURLParse(v); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } + + this._url = parsedURL; + } + + get origin() { + return usm.serializeURLOrigin(this._url); + } + + get protocol() { + return this._url.scheme + ":"; + } + + set protocol(v) { + usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); + } + + get username() { + return this._url.username; + } + + set username(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + usm.setTheUsername(this._url, v); + } + + get password() { + return this._url.password; + } + + set password(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + usm.setThePassword(this._url, v); + } + + get host() { + const url = this._url; + + if (url.host === null) { + return ""; + } + + if (url.port === null) { + return usm.serializeHost(url.host); + } + + return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); + } + + set host(v) { + if (this._url.cannotBeABaseURL) { + return; + } + + usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); + } + + get hostname() { + if (this._url.host === null) { + return ""; + } + + return usm.serializeHost(this._url.host); + } + + set hostname(v) { + if (this._url.cannotBeABaseURL) { + return; + } + + usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); + } + + get port() { + if (this._url.port === null) { + return ""; + } + + return usm.serializeInteger(this._url.port); + } + + set port(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } + + if (v === "") { + this._url.port = null; + } else { + usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); + } + } + + get pathname() { + if (this._url.cannotBeABaseURL) { + return this._url.path[0]; + } + + if (this._url.path.length === 0) { + return ""; + } + + return "/" + this._url.path.join("/"); + } + + set pathname(v) { + if (this._url.cannotBeABaseURL) { + return; + } + + this._url.path = []; + usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); + } + + get search() { + if (this._url.query === null || this._url.query === "") { + return ""; + } + + return "?" + this._url.query; + } + + set search(v) { + // TODO: query stuff + + const url = this._url; + + if (v === "") { + url.query = null; + return; + } + + const input = v[0] === "?" ? v.substring(1) : v; + url.query = ""; + usm.basicURLParse(input, { url, stateOverride: "query" }); + } + + get hash() { + if (this._url.fragment === null || this._url.fragment === "") { + return ""; + } + + return "#" + this._url.fragment; + } + + set hash(v) { + if (v === "") { + this._url.fragment = null; + return; + } + + const input = v[0] === "#" ? v.substring(1) : v; + this._url.fragment = ""; + usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); + } + + toJSON() { + return this.href; + } +}; + +(function (module) { + + const conversions = lib$3; + const utils = utils$n.exports; + const Impl = URLImpl; + + const impl = utils.implSymbol; + + function URL(url) { + if (!this || this[impl] || !(this instanceof URL)) { + throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); + } + if (arguments.length < 1) { + throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); + } + const args = []; + for (let i = 0; i < arguments.length && i < 2; ++i) { + args[i] = arguments[i]; + } + args[0] = conversions["USVString"](args[0]); + if (args[1] !== undefined) { + args[1] = conversions["USVString"](args[1]); + } + + module.exports.setup(this, args); + } + + URL.prototype.toJSON = function toJSON() { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + const args = []; + for (let i = 0; i < arguments.length && i < 0; ++i) { + args[i] = arguments[i]; + } + return this[impl].toJSON.apply(this[impl], args); + }; + Object.defineProperty(URL.prototype, "href", { + get() { + return this[impl].href; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].href = V; + }, + enumerable: true, + configurable: true + }); + + URL.prototype.toString = function () { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + return this.href; + }; + + Object.defineProperty(URL.prototype, "origin", { + get() { + return this[impl].origin; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "protocol", { + get() { + return this[impl].protocol; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].protocol = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "username", { + get() { + return this[impl].username; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].username = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "password", { + get() { + return this[impl].password; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].password = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "host", { + get() { + return this[impl].host; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].host = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "hostname", { + get() { + return this[impl].hostname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hostname = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "port", { + get() { + return this[impl].port; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].port = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "pathname", { + get() { + return this[impl].pathname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].pathname = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "search", { + get() { + return this[impl].search; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].search = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "hash", { + get() { + return this[impl].hash; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hash = V; + }, + enumerable: true, + configurable: true + }); + + + module.exports = { + is(obj) { + return !!obj && obj[impl] instanceof Impl.implementation; + }, + create(constructorArgs, privateData) { + let obj = Object.create(URL.prototype); + this.setup(obj, constructorArgs, privateData); + return obj; + }, + setup(obj, constructorArgs, privateData) { + if (!privateData) privateData = {}; + privateData.wrapper = obj; + + obj[impl] = new Impl.implementation(constructorArgs, privateData); + obj[impl][utils.wrapperSymbol] = obj; + }, + interface: URL, + expose: { + Window: { URL: URL }, + Worker: { URL: URL } + } + }; +} (URL$2)); + +publicApi.URL = URL$2.exports.interface; +publicApi.serializeURL = urlStateMachine.exports.serializeURL; +publicApi.serializeURLOrigin = urlStateMachine.exports.serializeURLOrigin; +publicApi.basicURLParse = urlStateMachine.exports.basicURLParse; +publicApi.setTheUsername = urlStateMachine.exports.setTheUsername; +publicApi.setThePassword = urlStateMachine.exports.setThePassword; +publicApi.serializeHost = urlStateMachine.exports.serializeHost; +publicApi.serializeInteger = urlStateMachine.exports.serializeInteger; +publicApi.parseURL = urlStateMachine.exports.parseURL; + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream__default["default"].Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); + +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert$2; +try { + convert$2 = require('encoding').convert; +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream__default["default"].PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream__default["default"]) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream__default["default"]) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); + +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream__default["default"])) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert$2 !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; + +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); + +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http__default["default"].STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} + +Body.mixIn(Response.prototype); + +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); + +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); + +const INTERNALS$2 = Symbol('Request internals'); +const URL$1 = Url__default["default"].URL || publicApi.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url__default["default"].parse; +const format_url = Url__default["default"].format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL$1(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream__default["default"].Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } +} + +Body.mixIn(Request.prototype); + +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); + +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream__default["default"].Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1$1 = Url__default["default"].URL || publicApi.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream__default["default"].PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1$1(original).hostname; + const dest = new URL$1$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch$1(url, opts) { + + // allow custom promise + if (!fetch$1.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch$1.Promise; + + // wrap http.request into fetch + return new fetch$1.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? require$$2__default["default"] : http__default["default"]).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream__default["default"].Readable) { + request.body.destroy(error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + finalize(); + }); + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch$1.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } + + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch$1(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib__default["default"].Z_SYNC_FLUSH, + finishFlush: zlib__default["default"].Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib__default["default"].createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib__default["default"].createInflate()); + } else { + body = body.pipe(zlib__default["default"].createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib__default["default"].createBrotliDecompress === 'function') { + body = body.pipe(zlib__default["default"].createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch$1.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch$1.Promise = global.Promise; + +var lib$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': fetch$1, + Headers: Headers, + Request: Request, + Response: Response, + FetchError: FetchError +}); + +var require$$4 = /*@__PURE__*/getAugmentedNamespace(lib$2); + +var contentType = {}; + +/*! + * content-type + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1 + * + * parameter = token "=" ( token / quoted-string ) + * token = 1*tchar + * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" + * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" + * / DIGIT / ALPHA + * ; any VCHAR, except delimiters + * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE + * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text + * obs-text = %x80-FF + * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) + */ +var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g; +var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/; +var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; + +/** + * RegExp to match quoted-pair in RFC 7230 sec 3.2.6 + * + * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) + * obs-text = %x80-FF + */ +var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g; + +/** + * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6 + */ +var QUOTE_REGEXP = /([\\"])/g; + +/** + * RegExp to match type in RFC 7231 sec 3.1.1.1 + * + * media-type = type "/" subtype + * type = token + * subtype = token + */ +var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; + +/** + * Module exports. + * @public + */ + +contentType.format = format$1; +contentType.parse = parse$1; + +/** + * Format object to media type. + * + * @param {object} obj + * @return {string} + * @public + */ + +function format$1 (obj) { + if (!obj || typeof obj !== 'object') { + throw new TypeError('argument obj is required') + } + + var parameters = obj.parameters; + var type = obj.type; + + if (!type || !TYPE_REGEXP.test(type)) { + throw new TypeError('invalid type') + } + + var string = type; + + // append parameters + if (parameters && typeof parameters === 'object') { + var param; + var params = Object.keys(parameters).sort(); + + for (var i = 0; i < params.length; i++) { + param = params[i]; + + if (!TOKEN_REGEXP.test(param)) { + throw new TypeError('invalid parameter name') + } + + string += '; ' + param + '=' + qstring(parameters[param]); + } + } + + return string +} + +/** + * Parse media type to object. + * + * @param {string|object} string + * @return {Object} + * @public + */ + +function parse$1 (string) { + if (!string) { + throw new TypeError('argument string is required') + } + + // support req/res-like objects as argument + var header = typeof string === 'object' + ? getcontenttype(string) + : string; + + if (typeof header !== 'string') { + throw new TypeError('argument string is required to be a string') + } + + var index = header.indexOf(';'); + var type = index !== -1 + ? header.substr(0, index).trim() + : header.trim(); + + if (!TYPE_REGEXP.test(type)) { + throw new TypeError('invalid media type') + } + + var obj = new ContentType(type.toLowerCase()); + + // parse parameters + if (index !== -1) { + var key; + var match; + var value; + + PARAM_REGEXP.lastIndex = index; + + while ((match = PARAM_REGEXP.exec(header))) { + if (match.index !== index) { + throw new TypeError('invalid parameter format') + } + + index += match[0].length; + key = match[1].toLowerCase(); + value = match[2]; + + if (value[0] === '"') { + // remove quotes and escapes + value = value + .substr(1, value.length - 2) + .replace(QESC_REGEXP, '$1'); + } + + obj.parameters[key] = value; + } + + if (index !== header.length) { + throw new TypeError('invalid parameter format') + } + } + + return obj +} + +/** + * Get content-type from req/res objects. + * + * @param {object} + * @return {Object} + * @private + */ + +function getcontenttype (obj) { + var header; + + if (typeof obj.getHeader === 'function') { + // res-like + header = obj.getHeader('content-type'); + } else if (typeof obj.headers === 'object') { + // req-like + header = obj.headers && obj.headers['content-type']; + } + + if (typeof header !== 'string') { + throw new TypeError('content-type header is missing from object') + } + + return header +} + +/** + * Quote a string if necessary. + * + * @param {string} val + * @return {string} + * @private + */ + +function qstring (val) { + var str = String(val); + + // no need to quote tokens + if (TOKEN_REGEXP.test(str)) { + return str + } + + if (str.length > 0 && !TEXT_REGEXP.test(str)) { + throw new TypeError('invalid parameter value') + } + + return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"' +} + +/** + * Class to represent a content type. + * @private + */ +function ContentType (type) { + this.parameters = Object.create(null); + this.type = type; +} + +function Queue(options) { + if (!(this instanceof Queue)) { + return new Queue(options); + } + + options = options || {}; + this.concurrency = options.concurrency || Infinity; + this.pending = 0; + this.jobs = []; + this.cbs = []; + this._done = done.bind(this); +} + +var arrayAddMethods = [ + 'push', + 'unshift', + 'splice' +]; + +arrayAddMethods.forEach(function(method) { + Queue.prototype[method] = function() { + var methodResult = Array.prototype[method].apply(this.jobs, arguments); + this._run(); + return methodResult; + }; +}); + +Object.defineProperty(Queue.prototype, 'length', { + get: function() { + return this.pending + this.jobs.length; + } +}); + +Queue.prototype._run = function() { + if (this.pending === this.concurrency) { + return; + } + if (this.jobs.length) { + var job = this.jobs.shift(); + this.pending++; + job(this._done); + this._run(); + } + + if (this.pending === 0) { + while (this.cbs.length !== 0) { + var cb = this.cbs.pop(); + process.nextTick(cb); + } + } +}; + +Queue.prototype.onDone = function(cb) { + if (typeof cb === 'function') { + this.cbs.push(cb); + this._run(); + } +}; + +function done() { + this.pending--; + this._run(); +} + +var asyncLimiter = Queue; + +var bufferUtil$1 = {exports: {}}; + +var constants = { + BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'], + GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', + kStatusCode: Symbol('status-code'), + kWebSocket: Symbol('websocket'), + EMPTY_BUFFER: Buffer.alloc(0), + NOOP: () => {} +}; + +const { EMPTY_BUFFER: EMPTY_BUFFER$5 } = constants; + +/** + * Merges an array of buffers into a new buffer. + * + * @param {Buffer[]} list The array of buffers to concat + * @param {Number} totalLength The total length of buffers in the list + * @return {Buffer} The resulting buffer + * @public + */ +function concat$1(list, totalLength) { + if (list.length === 0) return EMPTY_BUFFER$5; + if (list.length === 1) return list[0]; + + const target = Buffer.allocUnsafe(totalLength); + var offset = 0; + + for (var i = 0; i < list.length; i++) { + const buf = list[i]; + buf.copy(target, offset); + offset += buf.length; + } + + return target; +} + +/** + * Masks a buffer using the given mask. + * + * @param {Buffer} source The buffer to mask + * @param {Buffer} mask The mask to use + * @param {Buffer} output The buffer where to store the result + * @param {Number} offset The offset at which to start writing + * @param {Number} length The number of bytes to mask. + * @public + */ +function _mask(source, mask, output, offset, length) { + for (var i = 0; i < length; i++) { + output[offset + i] = source[i] ^ mask[i & 3]; + } +} + +/** + * Unmasks a buffer using the given mask. + * + * @param {Buffer} buffer The buffer to unmask + * @param {Buffer} mask The mask to use + * @public + */ +function _unmask(buffer, mask) { + // Required until https://github.com/nodejs/node/issues/9006 is resolved. + const length = buffer.length; + for (var i = 0; i < length; i++) { + buffer[i] ^= mask[i & 3]; + } +} + +/** + * Converts a buffer to an `ArrayBuffer`. + * + * @param {Buffer} buf The buffer to convert + * @return {ArrayBuffer} Converted buffer + * @public + */ +function toArrayBuffer$1(buf) { + if (buf.byteLength === buf.buffer.byteLength) { + return buf.buffer; + } + + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); +} + +/** + * Converts `data` to a `Buffer`. + * + * @param {*} data The data to convert + * @return {Buffer} The buffer + * @throws {TypeError} + * @public + */ +function toBuffer$1(data) { + toBuffer$1.readOnly = true; + + if (Buffer.isBuffer(data)) return data; + + var buf; + + if (data instanceof ArrayBuffer) { + buf = Buffer.from(data); + } else if (ArrayBuffer.isView(data)) { + buf = viewToBuffer(data); + } else { + buf = Buffer.from(data); + toBuffer$1.readOnly = false; + } + + return buf; +} + +/** + * Converts an `ArrayBuffer` view into a buffer. + * + * @param {(DataView|TypedArray)} view The view to convert + * @return {Buffer} Converted view + * @private + */ +function viewToBuffer(view) { + const buf = Buffer.from(view.buffer); + + if (view.byteLength !== view.buffer.byteLength) { + return buf.slice(view.byteOffset, view.byteOffset + view.byteLength); + } + + return buf; +} + +try { + const bufferUtil = require('bufferutil'); + const bu = bufferUtil.BufferUtil || bufferUtil; + + bufferUtil$1.exports = { + concat: concat$1, + mask(source, mask, output, offset, length) { + if (length < 48) _mask(source, mask, output, offset, length); + else bu.mask(source, mask, output, offset, length); + }, + toArrayBuffer: toArrayBuffer$1, + toBuffer: toBuffer$1, + unmask(buffer, mask) { + if (buffer.length < 32) _unmask(buffer, mask); + else bu.unmask(buffer, mask); + } + }; +} catch (e) /* istanbul ignore next */ { + bufferUtil$1.exports = { + concat: concat$1, + mask: _mask, + toArrayBuffer: toArrayBuffer$1, + toBuffer: toBuffer$1, + unmask: _unmask + }; +} + +const Limiter = asyncLimiter; +const zlib = zlib__default["default"]; + +const bufferUtil = bufferUtil$1.exports; +const { kStatusCode: kStatusCode$2, NOOP: NOOP$1 } = constants; + +const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); +const EMPTY_BLOCK = Buffer.from([0x00]); + +const kPerMessageDeflate = Symbol('permessage-deflate'); +const kTotalLength = Symbol('total-length'); +const kCallback = Symbol('callback'); +const kBuffers = Symbol('buffers'); +const kError = Symbol('error'); + +// +// We limit zlib concurrency, which prevents severe memory fragmentation +// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913 +// and https://github.com/websockets/ws/issues/1202 +// +// Intentionally global; it's the global thread pool that's an issue. +// +let zlibLimiter; + +/** + * permessage-deflate implementation. + */ +class PerMessageDeflate$4 { + /** + * Creates a PerMessageDeflate instance. + * + * @param {Object} options Configuration options + * @param {Boolean} options.serverNoContextTakeover Request/accept disabling + * of server context takeover + * @param {Boolean} options.clientNoContextTakeover Advertise/acknowledge + * disabling of client context takeover + * @param {(Boolean|Number)} options.serverMaxWindowBits Request/confirm the + * use of a custom server window size + * @param {(Boolean|Number)} options.clientMaxWindowBits Advertise support + * for, or request, a custom client window size + * @param {Object} options.zlibDeflateOptions Options to pass to zlib on deflate + * @param {Object} options.zlibInflateOptions Options to pass to zlib on inflate + * @param {Number} options.threshold Size (in bytes) below which messages + * should not be compressed + * @param {Number} options.concurrencyLimit The number of concurrent calls to + * zlib + * @param {Boolean} isServer Create the instance in either server or client + * mode + * @param {Number} maxPayload The maximum allowed message length + */ + constructor(options, isServer, maxPayload) { + this._maxPayload = maxPayload | 0; + this._options = options || {}; + this._threshold = + this._options.threshold !== undefined ? this._options.threshold : 1024; + this._isServer = !!isServer; + this._deflate = null; + this._inflate = null; + + this.params = null; + + if (!zlibLimiter) { + const concurrency = + this._options.concurrencyLimit !== undefined + ? this._options.concurrencyLimit + : 10; + zlibLimiter = new Limiter({ concurrency }); + } + } + + /** + * @type {String} + */ + static get extensionName() { + return 'permessage-deflate'; + } + + /** + * Create an extension negotiation offer. + * + * @return {Object} Extension parameters + * @public + */ + offer() { + const params = {}; + + if (this._options.serverNoContextTakeover) { + params.server_no_context_takeover = true; + } + if (this._options.clientNoContextTakeover) { + params.client_no_context_takeover = true; + } + if (this._options.serverMaxWindowBits) { + params.server_max_window_bits = this._options.serverMaxWindowBits; + } + if (this._options.clientMaxWindowBits) { + params.client_max_window_bits = this._options.clientMaxWindowBits; + } else if (this._options.clientMaxWindowBits == null) { + params.client_max_window_bits = true; + } + + return params; + } + + /** + * Accept an extension negotiation offer/response. + * + * @param {Array} configurations The extension negotiation offers/reponse + * @return {Object} Accepted configuration + * @public + */ + accept(configurations) { + configurations = this.normalizeParams(configurations); + + this.params = this._isServer + ? this.acceptAsServer(configurations) + : this.acceptAsClient(configurations); + + return this.params; + } + + /** + * Releases all resources used by the extension. + * + * @public + */ + cleanup() { + if (this._inflate) { + this._inflate.close(); + this._inflate = null; + } + + if (this._deflate) { + this._deflate.close(); + this._deflate = null; + } + } + + /** + * Accept an extension negotiation offer. + * + * @param {Array} offers The extension negotiation offers + * @return {Object} Accepted configuration + * @private + */ + acceptAsServer(offers) { + const opts = this._options; + const accepted = offers.find((params) => { + if ( + (opts.serverNoContextTakeover === false && + params.server_no_context_takeover) || + (params.server_max_window_bits && + (opts.serverMaxWindowBits === false || + (typeof opts.serverMaxWindowBits === 'number' && + opts.serverMaxWindowBits > params.server_max_window_bits))) || + (typeof opts.clientMaxWindowBits === 'number' && + !params.client_max_window_bits) + ) { + return false; + } + + return true; + }); + + if (!accepted) { + throw new Error('None of the extension offers can be accepted'); + } + + if (opts.serverNoContextTakeover) { + accepted.server_no_context_takeover = true; + } + if (opts.clientNoContextTakeover) { + accepted.client_no_context_takeover = true; + } + if (typeof opts.serverMaxWindowBits === 'number') { + accepted.server_max_window_bits = opts.serverMaxWindowBits; + } + if (typeof opts.clientMaxWindowBits === 'number') { + accepted.client_max_window_bits = opts.clientMaxWindowBits; + } else if ( + accepted.client_max_window_bits === true || + opts.clientMaxWindowBits === false + ) { + delete accepted.client_max_window_bits; + } + + return accepted; + } + + /** + * Accept the extension negotiation response. + * + * @param {Array} response The extension negotiation response + * @return {Object} Accepted configuration + * @private + */ + acceptAsClient(response) { + const params = response[0]; + + if ( + this._options.clientNoContextTakeover === false && + params.client_no_context_takeover + ) { + throw new Error('Unexpected parameter "client_no_context_takeover"'); + } + + if (!params.client_max_window_bits) { + if (typeof this._options.clientMaxWindowBits === 'number') { + params.client_max_window_bits = this._options.clientMaxWindowBits; + } + } else if ( + this._options.clientMaxWindowBits === false || + (typeof this._options.clientMaxWindowBits === 'number' && + params.client_max_window_bits > this._options.clientMaxWindowBits) + ) { + throw new Error( + 'Unexpected or invalid parameter "client_max_window_bits"' + ); + } + + return params; + } + + /** + * Normalize parameters. + * + * @param {Array} configurations The extension negotiation offers/reponse + * @return {Array} The offers/response with normalized parameters + * @private + */ + normalizeParams(configurations) { + configurations.forEach((params) => { + Object.keys(params).forEach((key) => { + var value = params[key]; + + if (value.length > 1) { + throw new Error(`Parameter "${key}" must have only a single value`); + } + + value = value[0]; + + if (key === 'client_max_window_bits') { + if (value !== true) { + const num = +value; + if (!Number.isInteger(num) || num < 8 || num > 15) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + value = num; + } else if (!this._isServer) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + } else if (key === 'server_max_window_bits') { + const num = +value; + if (!Number.isInteger(num) || num < 8 || num > 15) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + value = num; + } else if ( + key === 'client_no_context_takeover' || + key === 'server_no_context_takeover' + ) { + if (value !== true) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + } else { + throw new Error(`Unknown parameter "${key}"`); + } + + params[key] = value; + }); + }); + + return configurations; + } + + /** + * Decompress data. Concurrency limited by async-limiter. + * + * @param {Buffer} data Compressed data + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @public + */ + decompress(data, fin, callback) { + zlibLimiter.push((done) => { + this._decompress(data, fin, (err, result) => { + done(); + callback(err, result); + }); + }); + } + + /** + * Compress data. Concurrency limited by async-limiter. + * + * @param {Buffer} data Data to compress + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @public + */ + compress(data, fin, callback) { + zlibLimiter.push((done) => { + this._compress(data, fin, (err, result) => { + done(); + callback(err, result); + }); + }); + } + + /** + * Decompress data. + * + * @param {Buffer} data Compressed data + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @private + */ + _decompress(data, fin, callback) { + const endpoint = this._isServer ? 'client' : 'server'; + + if (!this._inflate) { + const key = `${endpoint}_max_window_bits`; + const windowBits = + typeof this.params[key] !== 'number' + ? zlib.Z_DEFAULT_WINDOWBITS + : this.params[key]; + + this._inflate = zlib.createInflateRaw( + Object.assign({}, this._options.zlibInflateOptions, { windowBits }) + ); + this._inflate[kPerMessageDeflate] = this; + this._inflate[kTotalLength] = 0; + this._inflate[kBuffers] = []; + this._inflate.on('error', inflateOnError); + this._inflate.on('data', inflateOnData); + } + + this._inflate[kCallback] = callback; + + this._inflate.write(data); + if (fin) this._inflate.write(TRAILER); + + this._inflate.flush(() => { + const err = this._inflate[kError]; + + if (err) { + this._inflate.close(); + this._inflate = null; + callback(err); + return; + } + + const data = bufferUtil.concat( + this._inflate[kBuffers], + this._inflate[kTotalLength] + ); + + if (fin && this.params[`${endpoint}_no_context_takeover`]) { + this._inflate.close(); + this._inflate = null; + } else { + this._inflate[kTotalLength] = 0; + this._inflate[kBuffers] = []; + } + + callback(null, data); + }); + } + + /** + * Compress data. + * + * @param {Buffer} data Data to compress + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @private + */ + _compress(data, fin, callback) { + if (!data || data.length === 0) { + process.nextTick(callback, null, EMPTY_BLOCK); + return; + } + + const endpoint = this._isServer ? 'server' : 'client'; + + if (!this._deflate) { + const key = `${endpoint}_max_window_bits`; + const windowBits = + typeof this.params[key] !== 'number' + ? zlib.Z_DEFAULT_WINDOWBITS + : this.params[key]; + + this._deflate = zlib.createDeflateRaw( + Object.assign({}, this._options.zlibDeflateOptions, { windowBits }) + ); + + this._deflate[kTotalLength] = 0; + this._deflate[kBuffers] = []; + + // + // An `'error'` event is emitted, only on Node.js < 10.0.0, if the + // `zlib.DeflateRaw` instance is closed while data is being processed. + // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong + // time due to an abnormal WebSocket closure. + // + this._deflate.on('error', NOOP$1); + this._deflate.on('data', deflateOnData); + } + + this._deflate.write(data); + this._deflate.flush(zlib.Z_SYNC_FLUSH, () => { + if (!this._deflate) { + // + // This `if` statement is only needed for Node.js < 10.0.0 because as of + // commit https://github.com/nodejs/node/commit/5e3f5164, the flush + // callback is no longer called if the deflate stream is closed while + // data is being processed. + // + return; + } + + var data = bufferUtil.concat( + this._deflate[kBuffers], + this._deflate[kTotalLength] + ); + + if (fin) data = data.slice(0, data.length - 4); + + if (fin && this.params[`${endpoint}_no_context_takeover`]) { + this._deflate.close(); + this._deflate = null; + } else { + this._deflate[kTotalLength] = 0; + this._deflate[kBuffers] = []; + } + + callback(null, data); + }); + } +} + +var permessageDeflate = PerMessageDeflate$4; + +/** + * The listener of the `zlib.DeflateRaw` stream `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function deflateOnData(chunk) { + this[kBuffers].push(chunk); + this[kTotalLength] += chunk.length; +} + +/** + * The listener of the `zlib.InflateRaw` stream `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function inflateOnData(chunk) { + this[kTotalLength] += chunk.length; + + if ( + this[kPerMessageDeflate]._maxPayload < 1 || + this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload + ) { + this[kBuffers].push(chunk); + return; + } + + this[kError] = new RangeError('Max payload size exceeded'); + this[kError][kStatusCode$2] = 1009; + this.removeListener('data', inflateOnData); + this.reset(); +} + +/** + * The listener of the `zlib.InflateRaw` stream `'error'` event. + * + * @param {Error} err The emitted error + * @private + */ +function inflateOnError(err) { + // + // There is no need to call `Zlib#close()` as the handle is automatically + // closed when an error is emitted. + // + this[kPerMessageDeflate]._inflate = null; + err[kStatusCode$2] = 1007; + this[kCallback](err); +} + +/** + * Class representing an event. + * + * @private + */ +class Event { + /** + * Create a new `Event`. + * + * @param {String} type The name of the event + * @param {Object} target A reference to the target to which the event was dispatched + */ + constructor(type, target) { + this.target = target; + this.type = type; + } +} + +/** + * Class representing a message event. + * + * @extends Event + * @private + */ +class MessageEvent extends Event { + /** + * Create a new `MessageEvent`. + * + * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(data, target) { + super('message', target); + + this.data = data; + } +} + +/** + * Class representing a close event. + * + * @extends Event + * @private + */ +class CloseEvent extends Event { + /** + * Create a new `CloseEvent`. + * + * @param {Number} code The status code explaining why the connection is being closed + * @param {String} reason A human-readable string explaining why the connection is closing + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(code, reason, target) { + super('close', target); + + this.wasClean = target._closeFrameReceived && target._closeFrameSent; + this.reason = reason; + this.code = code; + } +} + +/** + * Class representing an open event. + * + * @extends Event + * @private + */ +class OpenEvent extends Event { + /** + * Create a new `OpenEvent`. + * + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(target) { + super('open', target); + } +} + +/** + * Class representing an error event. + * + * @extends Event + * @private + */ +class ErrorEvent extends Event { + /** + * Create a new `ErrorEvent`. + * + * @param {Object} error The error that generated this event + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(error, target) { + super('error', target); + + this.message = error.message; + this.error = error; + } +} + +/** + * This provides methods for emulating the `EventTarget` interface. It's not + * meant to be used directly. + * + * @mixin + */ +const EventTarget$1 = { + /** + * Register an event listener. + * + * @param {String} method A string representing the event type to listen for + * @param {Function} listener The listener to add + * @public + */ + addEventListener(method, listener) { + if (typeof listener !== 'function') return; + + function onMessage(data) { + listener.call(this, new MessageEvent(data, this)); + } + + function onClose(code, message) { + listener.call(this, new CloseEvent(code, message, this)); + } + + function onError(error) { + listener.call(this, new ErrorEvent(error, this)); + } + + function onOpen() { + listener.call(this, new OpenEvent(this)); + } + + if (method === 'message') { + onMessage._listener = listener; + this.on(method, onMessage); + } else if (method === 'close') { + onClose._listener = listener; + this.on(method, onClose); + } else if (method === 'error') { + onError._listener = listener; + this.on(method, onError); + } else if (method === 'open') { + onOpen._listener = listener; + this.on(method, onOpen); + } else { + this.on(method, listener); + } + }, + + /** + * Remove an event listener. + * + * @param {String} method A string representing the event type to remove + * @param {Function} listener The listener to remove + * @public + */ + removeEventListener(method, listener) { + const listeners = this.listeners(method); + + for (var i = 0; i < listeners.length; i++) { + if (listeners[i] === listener || listeners[i]._listener === listener) { + this.removeListener(method, listeners[i]); + } + } + } +}; + +var eventTarget = EventTarget$1; + +// +// Allowed token characters: +// +// '!', '#', '$', '%', '&', ''', '*', '+', '-', +// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~' +// +// tokenChars[32] === 0 // ' ' +// tokenChars[33] === 1 // '!' +// tokenChars[34] === 0 // '"' +// ... +// +// prettier-ignore +const tokenChars = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31 + 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63 + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127 +]; + +/** + * Adds an offer to the map of extension offers or a parameter to the map of + * parameters. + * + * @param {Object} dest The map of extension offers or parameters + * @param {String} name The extension or parameter name + * @param {(Object|Boolean|String)} elem The extension parameters or the + * parameter value + * @private + */ +function push(dest, name, elem) { + if (Object.prototype.hasOwnProperty.call(dest, name)) dest[name].push(elem); + else dest[name] = [elem]; +} + +/** + * Parses the `Sec-WebSocket-Extensions` header into an object. + * + * @param {String} header The field value of the header + * @return {Object} The parsed object + * @public + */ +function parse(header) { + const offers = {}; + + if (header === undefined || header === '') return offers; + + var params = {}; + var mustUnescape = false; + var isEscaping = false; + var inQuotes = false; + var extensionName; + var paramName; + var start = -1; + var end = -1; + + for (var i = 0; i < header.length; i++) { + const code = header.charCodeAt(i); + + if (extensionName === undefined) { + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\t' */) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + const name = header.slice(start, end); + if (code === 0x2c) { + push(offers, name, params); + params = {}; + } else { + extensionName = name; + } + + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else if (paramName === undefined) { + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x20 || code === 0x09) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x3b || code === 0x2c) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + push(params, header.slice(start, end), true); + if (code === 0x2c) { + push(offers, extensionName, params); + params = {}; + extensionName = undefined; + } + + start = end = -1; + } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) { + paramName = header.slice(start, i); + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else { + // + // The value of a quoted-string after unescaping must conform to the + // token ABNF, so only token characters are valid. + // Ref: https://tools.ietf.org/html/rfc6455#section-9.1 + // + if (isEscaping) { + if (tokenChars[code] !== 1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + if (start === -1) start = i; + else if (!mustUnescape) mustUnescape = true; + isEscaping = false; + } else if (inQuotes) { + if (tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x22 /* '"' */ && start !== -1) { + inQuotes = false; + end = i; + } else if (code === 0x5c /* '\' */) { + isEscaping = true; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) { + inQuotes = true; + } else if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (start !== -1 && (code === 0x20 || code === 0x09)) { + if (end === -1) end = i; + } else if (code === 0x3b || code === 0x2c) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + var value = header.slice(start, end); + if (mustUnescape) { + value = value.replace(/\\/g, ''); + mustUnescape = false; + } + push(params, paramName, value); + if (code === 0x2c) { + push(offers, extensionName, params); + params = {}; + extensionName = undefined; + } + + paramName = undefined; + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } + } + + if (start === -1 || inQuotes) { + throw new SyntaxError('Unexpected end of input'); + } + + if (end === -1) end = i; + const token = header.slice(start, end); + if (extensionName === undefined) { + push(offers, token, {}); + } else { + if (paramName === undefined) { + push(params, token, true); + } else if (mustUnescape) { + push(params, paramName, token.replace(/\\/g, '')); + } else { + push(params, paramName, token); + } + push(offers, extensionName, params); + } + + return offers; +} + +/** + * Builds the `Sec-WebSocket-Extensions` header field value. + * + * @param {Object} extensions The map of extensions and parameters to format + * @return {String} A string representing the given object + * @public + */ +function format(extensions) { + return Object.keys(extensions) + .map((extension) => { + var configurations = extensions[extension]; + if (!Array.isArray(configurations)) configurations = [configurations]; + return configurations + .map((params) => { + return [extension] + .concat( + Object.keys(params).map((k) => { + var values = params[k]; + if (!Array.isArray(values)) values = [values]; + return values + .map((v) => (v === true ? k : `${k}=${v}`)) + .join('; '); + }) + ) + .join('; '); + }) + .join(', '); + }) + .join(', '); +} + +var extension$2 = { format, parse }; + +var validation = {}; + +var isValidUTF8_1; + +try { + const isValidUTF8 = require('utf-8-validate'); + + isValidUTF8_1 = validation.isValidUTF8 = + typeof isValidUTF8 === 'object' + ? isValidUTF8.Validation.isValidUTF8 // utf-8-validate@<3.0.0 + : isValidUTF8; +} catch (e) /* istanbul ignore next */ { + isValidUTF8_1 = validation.isValidUTF8 = () => true; +} + +/** + * Checks if a status code is allowed in a close frame. + * + * @param {Number} code The status code + * @return {Boolean} `true` if the status code is valid, else `false` + * @public + */ +validation.isValidStatusCode = (code) => { + return ( + (code >= 1000 && + code <= 1013 && + code !== 1004 && + code !== 1005 && + code !== 1006) || + (code >= 3000 && code <= 4999) + ); +}; + +const { Writable } = Stream__default["default"]; + +const PerMessageDeflate$3 = permessageDeflate; +const { + BINARY_TYPES: BINARY_TYPES$1, + EMPTY_BUFFER: EMPTY_BUFFER$4, + kStatusCode: kStatusCode$1, + kWebSocket: kWebSocket$1 +} = constants; +const { concat, toArrayBuffer, unmask } = bufferUtil$1.exports; +const { isValidStatusCode: isValidStatusCode$1, isValidUTF8 } = validation; + +const GET_INFO = 0; +const GET_PAYLOAD_LENGTH_16 = 1; +const GET_PAYLOAD_LENGTH_64 = 2; +const GET_MASK = 3; +const GET_DATA = 4; +const INFLATING = 5; + +/** + * HyBi Receiver implementation. + * + * @extends stream.Writable + */ +class Receiver$1 extends Writable { + /** + * Creates a Receiver instance. + * + * @param {String} binaryType The type for binary data + * @param {Object} extensions An object containing the negotiated extensions + * @param {Number} maxPayload The maximum allowed message length + */ + constructor(binaryType, extensions, maxPayload) { + super(); + + this._binaryType = binaryType || BINARY_TYPES$1[0]; + this[kWebSocket$1] = undefined; + this._extensions = extensions || {}; + this._maxPayload = maxPayload | 0; + + this._bufferedBytes = 0; + this._buffers = []; + + this._compressed = false; + this._payloadLength = 0; + this._mask = undefined; + this._fragmented = 0; + this._masked = false; + this._fin = false; + this._opcode = 0; + + this._totalPayloadLength = 0; + this._messageLength = 0; + this._fragments = []; + + this._state = GET_INFO; + this._loop = false; + } + + /** + * Implements `Writable.prototype._write()`. + * + * @param {Buffer} chunk The chunk of data to write + * @param {String} encoding The character encoding of `chunk` + * @param {Function} cb Callback + */ + _write(chunk, encoding, cb) { + if (this._opcode === 0x08 && this._state == GET_INFO) return cb(); + + this._bufferedBytes += chunk.length; + this._buffers.push(chunk); + this.startLoop(cb); + } + + /** + * Consumes `n` bytes from the buffered data. + * + * @param {Number} n The number of bytes to consume + * @return {Buffer} The consumed bytes + * @private + */ + consume(n) { + this._bufferedBytes -= n; + + if (n === this._buffers[0].length) return this._buffers.shift(); + + if (n < this._buffers[0].length) { + const buf = this._buffers[0]; + this._buffers[0] = buf.slice(n); + return buf.slice(0, n); + } + + const dst = Buffer.allocUnsafe(n); + + do { + const buf = this._buffers[0]; + + if (n >= buf.length) { + this._buffers.shift().copy(dst, dst.length - n); + } else { + buf.copy(dst, dst.length - n, 0, n); + this._buffers[0] = buf.slice(n); + } + + n -= buf.length; + } while (n > 0); + + return dst; + } + + /** + * Starts the parsing loop. + * + * @param {Function} cb Callback + * @private + */ + startLoop(cb) { + var err; + this._loop = true; + + do { + switch (this._state) { + case GET_INFO: + err = this.getInfo(); + break; + case GET_PAYLOAD_LENGTH_16: + err = this.getPayloadLength16(); + break; + case GET_PAYLOAD_LENGTH_64: + err = this.getPayloadLength64(); + break; + case GET_MASK: + this.getMask(); + break; + case GET_DATA: + err = this.getData(cb); + break; + default: + // `INFLATING` + this._loop = false; + return; + } + } while (this._loop); + + cb(err); + } + + /** + * Reads the first two bytes of a frame. + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + getInfo() { + if (this._bufferedBytes < 2) { + this._loop = false; + return; + } + + const buf = this.consume(2); + + if ((buf[0] & 0x30) !== 0x00) { + this._loop = false; + return error(RangeError, 'RSV2 and RSV3 must be clear', true, 1002); + } + + const compressed = (buf[0] & 0x40) === 0x40; + + if (compressed && !this._extensions[PerMessageDeflate$3.extensionName]) { + this._loop = false; + return error(RangeError, 'RSV1 must be clear', true, 1002); + } + + this._fin = (buf[0] & 0x80) === 0x80; + this._opcode = buf[0] & 0x0f; + this._payloadLength = buf[1] & 0x7f; + + if (this._opcode === 0x00) { + if (compressed) { + this._loop = false; + return error(RangeError, 'RSV1 must be clear', true, 1002); + } + + if (!this._fragmented) { + this._loop = false; + return error(RangeError, 'invalid opcode 0', true, 1002); + } + + this._opcode = this._fragmented; + } else if (this._opcode === 0x01 || this._opcode === 0x02) { + if (this._fragmented) { + this._loop = false; + return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); + } + + this._compressed = compressed; + } else if (this._opcode > 0x07 && this._opcode < 0x0b) { + if (!this._fin) { + this._loop = false; + return error(RangeError, 'FIN must be set', true, 1002); + } + + if (compressed) { + this._loop = false; + return error(RangeError, 'RSV1 must be clear', true, 1002); + } + + if (this._payloadLength > 0x7d) { + this._loop = false; + return error( + RangeError, + `invalid payload length ${this._payloadLength}`, + true, + 1002 + ); + } + } else { + this._loop = false; + return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); + } + + if (!this._fin && !this._fragmented) this._fragmented = this._opcode; + this._masked = (buf[1] & 0x80) === 0x80; + + if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16; + else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64; + else return this.haveLength(); + } + + /** + * Gets extended payload length (7+16). + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + getPayloadLength16() { + if (this._bufferedBytes < 2) { + this._loop = false; + return; + } + + this._payloadLength = this.consume(2).readUInt16BE(0); + return this.haveLength(); + } + + /** + * Gets extended payload length (7+64). + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + getPayloadLength64() { + if (this._bufferedBytes < 8) { + this._loop = false; + return; + } + + const buf = this.consume(8); + const num = buf.readUInt32BE(0); + + // + // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned + // if payload length is greater than this number. + // + if (num > Math.pow(2, 53 - 32) - 1) { + this._loop = false; + return error( + RangeError, + 'Unsupported WebSocket frame: payload length > 2^53 - 1', + false, + 1009 + ); + } + + this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4); + return this.haveLength(); + } + + /** + * Payload length has been read. + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + haveLength() { + if (this._payloadLength && this._opcode < 0x08) { + this._totalPayloadLength += this._payloadLength; + if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) { + this._loop = false; + return error(RangeError, 'Max payload size exceeded', false, 1009); + } + } + + if (this._masked) this._state = GET_MASK; + else this._state = GET_DATA; + } + + /** + * Reads mask bytes. + * + * @private + */ + getMask() { + if (this._bufferedBytes < 4) { + this._loop = false; + return; + } + + this._mask = this.consume(4); + this._state = GET_DATA; + } + + /** + * Reads data bytes. + * + * @param {Function} cb Callback + * @return {(Error|RangeError|undefined)} A possible error + * @private + */ + getData(cb) { + var data = EMPTY_BUFFER$4; + + if (this._payloadLength) { + if (this._bufferedBytes < this._payloadLength) { + this._loop = false; + return; + } + + data = this.consume(this._payloadLength); + if (this._masked) unmask(data, this._mask); + } + + if (this._opcode > 0x07) return this.controlMessage(data); + + if (this._compressed) { + this._state = INFLATING; + this.decompress(data, cb); + return; + } + + if (data.length) { + // + // This message is not compressed so its lenght is the sum of the payload + // length of all fragments. + // + this._messageLength = this._totalPayloadLength; + this._fragments.push(data); + } + + return this.dataMessage(); + } + + /** + * Decompresses data. + * + * @param {Buffer} data Compressed data + * @param {Function} cb Callback + * @private + */ + decompress(data, cb) { + const perMessageDeflate = this._extensions[PerMessageDeflate$3.extensionName]; + + perMessageDeflate.decompress(data, this._fin, (err, buf) => { + if (err) return cb(err); + + if (buf.length) { + this._messageLength += buf.length; + if (this._messageLength > this._maxPayload && this._maxPayload > 0) { + return cb( + error(RangeError, 'Max payload size exceeded', false, 1009) + ); + } + + this._fragments.push(buf); + } + + const er = this.dataMessage(); + if (er) return cb(er); + + this.startLoop(cb); + }); + } + + /** + * Handles a data message. + * + * @return {(Error|undefined)} A possible error + * @private + */ + dataMessage() { + if (this._fin) { + const messageLength = this._messageLength; + const fragments = this._fragments; + + this._totalPayloadLength = 0; + this._messageLength = 0; + this._fragmented = 0; + this._fragments = []; + + if (this._opcode === 2) { + var data; + + if (this._binaryType === 'nodebuffer') { + data = concat(fragments, messageLength); + } else if (this._binaryType === 'arraybuffer') { + data = toArrayBuffer(concat(fragments, messageLength)); + } else { + data = fragments; + } + + this.emit('message', data); + } else { + const buf = concat(fragments, messageLength); + + if (!isValidUTF8(buf)) { + this._loop = false; + return error(Error, 'invalid UTF-8 sequence', true, 1007); + } + + this.emit('message', buf.toString()); + } + } + + this._state = GET_INFO; + } + + /** + * Handles a control message. + * + * @param {Buffer} data Data to handle + * @return {(Error|RangeError|undefined)} A possible error + * @private + */ + controlMessage(data) { + if (this._opcode === 0x08) { + this._loop = false; + + if (data.length === 0) { + this.emit('conclude', 1005, ''); + this.end(); + } else if (data.length === 1) { + return error(RangeError, 'invalid payload length 1', true, 1002); + } else { + const code = data.readUInt16BE(0); + + if (!isValidStatusCode$1(code)) { + return error(RangeError, `invalid status code ${code}`, true, 1002); + } + + const buf = data.slice(2); + + if (!isValidUTF8(buf)) { + return error(Error, 'invalid UTF-8 sequence', true, 1007); + } + + this.emit('conclude', code, buf.toString()); + this.end(); + } + } else if (this._opcode === 0x09) { + this.emit('ping', data); + } else { + this.emit('pong', data); + } + + this._state = GET_INFO; + } +} + +var receiver = Receiver$1; + +/** + * Builds an error object. + * + * @param {(Error|RangeError)} ErrorCtor The error constructor + * @param {String} message The error message + * @param {Boolean} prefix Specifies whether or not to add a default prefix to + * `message` + * @param {Number} statusCode The status code + * @return {(Error|RangeError)} The error + * @private + */ +function error(ErrorCtor, message, prefix, statusCode) { + const err = new ErrorCtor( + prefix ? `Invalid WebSocket frame: ${message}` : message + ); + + Error.captureStackTrace(err, error); + err[kStatusCode$1] = statusCode; + return err; +} + +const { randomBytes } = require$$0__default["default"]; + +const PerMessageDeflate$2 = permessageDeflate; +const { EMPTY_BUFFER: EMPTY_BUFFER$3 } = constants; +const { isValidStatusCode } = validation; +const { mask: applyMask, toBuffer } = bufferUtil$1.exports; + +/** + * HyBi Sender implementation. + */ +class Sender$1 { + /** + * Creates a Sender instance. + * + * @param {net.Socket} socket The connection socket + * @param {Object} extensions An object containing the negotiated extensions + */ + constructor(socket, extensions) { + this._extensions = extensions || {}; + this._socket = socket; + + this._firstFragment = true; + this._compress = false; + + this._bufferedBytes = 0; + this._deflating = false; + this._queue = []; + } + + /** + * Frames a piece of data according to the HyBi WebSocket protocol. + * + * @param {Buffer} data The data to frame + * @param {Object} options Options object + * @param {Number} options.opcode The opcode + * @param {Boolean} options.readOnly Specifies whether `data` can be modified + * @param {Boolean} options.fin Specifies whether or not to set the FIN bit + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit + * @return {Buffer[]} The framed data as a list of `Buffer` instances + * @public + */ + static frame(data, options) { + const merge = options.mask && options.readOnly; + var offset = options.mask ? 6 : 2; + var payloadLength = data.length; + + if (data.length >= 65536) { + offset += 8; + payloadLength = 127; + } else if (data.length > 125) { + offset += 2; + payloadLength = 126; + } + + const target = Buffer.allocUnsafe(merge ? data.length + offset : offset); + + target[0] = options.fin ? options.opcode | 0x80 : options.opcode; + if (options.rsv1) target[0] |= 0x40; + + target[1] = payloadLength; + + if (payloadLength === 126) { + target.writeUInt16BE(data.length, 2); + } else if (payloadLength === 127) { + target.writeUInt32BE(0, 2); + target.writeUInt32BE(data.length, 6); + } + + if (!options.mask) return [target, data]; + + const mask = randomBytes(4); + + target[1] |= 0x80; + target[offset - 4] = mask[0]; + target[offset - 3] = mask[1]; + target[offset - 2] = mask[2]; + target[offset - 1] = mask[3]; + + if (merge) { + applyMask(data, mask, target, offset, data.length); + return [target]; + } + + applyMask(data, mask, data, 0, data.length); + return [target, data]; + } + + /** + * Sends a close message to the other peer. + * + * @param {(Number|undefined)} code The status code component of the body + * @param {String} data The message component of the body + * @param {Boolean} mask Specifies whether or not to mask the message + * @param {Function} cb Callback + * @public + */ + close(code, data, mask, cb) { + var buf; + + if (code === undefined) { + buf = EMPTY_BUFFER$3; + } else if (typeof code !== 'number' || !isValidStatusCode(code)) { + throw new TypeError('First argument must be a valid error code number'); + } else if (data === undefined || data === '') { + buf = Buffer.allocUnsafe(2); + buf.writeUInt16BE(code, 0); + } else { + buf = Buffer.allocUnsafe(2 + Buffer.byteLength(data)); + buf.writeUInt16BE(code, 0); + buf.write(data, 2); + } + + if (this._deflating) { + this.enqueue([this.doClose, buf, mask, cb]); + } else { + this.doClose(buf, mask, cb); + } + } + + /** + * Frames and sends a close message. + * + * @param {Buffer} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @private + */ + doClose(data, mask, cb) { + this.sendFrame( + Sender$1.frame(data, { + fin: true, + rsv1: false, + opcode: 0x08, + mask, + readOnly: false + }), + cb + ); + } + + /** + * Sends a ping message to the other peer. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @public + */ + ping(data, mask, cb) { + const buf = toBuffer(data); + + if (this._deflating) { + this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]); + } else { + this.doPing(buf, mask, toBuffer.readOnly, cb); + } + } + + /** + * Frames and sends a ping message. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Boolean} readOnly Specifies whether `data` can be modified + * @param {Function} cb Callback + * @private + */ + doPing(data, mask, readOnly, cb) { + this.sendFrame( + Sender$1.frame(data, { + fin: true, + rsv1: false, + opcode: 0x09, + mask, + readOnly + }), + cb + ); + } + + /** + * Sends a pong message to the other peer. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @public + */ + pong(data, mask, cb) { + const buf = toBuffer(data); + + if (this._deflating) { + this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]); + } else { + this.doPong(buf, mask, toBuffer.readOnly, cb); + } + } + + /** + * Frames and sends a pong message. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Boolean} readOnly Specifies whether `data` can be modified + * @param {Function} cb Callback + * @private + */ + doPong(data, mask, readOnly, cb) { + this.sendFrame( + Sender$1.frame(data, { + fin: true, + rsv1: false, + opcode: 0x0a, + mask, + readOnly + }), + cb + ); + } + + /** + * Sends a data message to the other peer. + * + * @param {*} data The message to send + * @param {Object} options Options object + * @param {Boolean} options.compress Specifies whether or not to compress `data` + * @param {Boolean} options.binary Specifies whether `data` is binary or text + * @param {Boolean} options.fin Specifies whether the fragment is the last one + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @public + */ + send(data, options, cb) { + const buf = toBuffer(data); + const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; + var opcode = options.binary ? 2 : 1; + var rsv1 = options.compress; + + if (this._firstFragment) { + this._firstFragment = false; + if (rsv1 && perMessageDeflate) { + rsv1 = buf.length >= perMessageDeflate._threshold; + } + this._compress = rsv1; + } else { + rsv1 = false; + opcode = 0; + } + + if (options.fin) this._firstFragment = true; + + if (perMessageDeflate) { + const opts = { + fin: options.fin, + rsv1, + opcode, + mask: options.mask, + readOnly: toBuffer.readOnly + }; + + if (this._deflating) { + this.enqueue([this.dispatch, buf, this._compress, opts, cb]); + } else { + this.dispatch(buf, this._compress, opts, cb); + } + } else { + this.sendFrame( + Sender$1.frame(buf, { + fin: options.fin, + rsv1: false, + opcode, + mask: options.mask, + readOnly: toBuffer.readOnly + }), + cb + ); + } + } + + /** + * Dispatches a data message. + * + * @param {Buffer} data The message to send + * @param {Boolean} compress Specifies whether or not to compress `data` + * @param {Object} options Options object + * @param {Number} options.opcode The opcode + * @param {Boolean} options.readOnly Specifies whether `data` can be modified + * @param {Boolean} options.fin Specifies whether or not to set the FIN bit + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit + * @param {Function} cb Callback + * @private + */ + dispatch(data, compress, options, cb) { + if (!compress) { + this.sendFrame(Sender$1.frame(data, options), cb); + return; + } + + const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; + + this._deflating = true; + perMessageDeflate.compress(data, options.fin, (_, buf) => { + this._deflating = false; + options.readOnly = false; + this.sendFrame(Sender$1.frame(buf, options), cb); + this.dequeue(); + }); + } + + /** + * Executes queued send operations. + * + * @private + */ + dequeue() { + while (!this._deflating && this._queue.length) { + const params = this._queue.shift(); + + this._bufferedBytes -= params[1].length; + params[0].apply(this, params.slice(1)); + } + } + + /** + * Enqueues a send operation. + * + * @param {Array} params Send operation parameters. + * @private + */ + enqueue(params) { + this._bufferedBytes += params[1].length; + this._queue.push(params); + } + + /** + * Sends a frame. + * + * @param {Buffer[]} list The frame to send + * @param {Function} cb Callback + * @private + */ + sendFrame(list, cb) { + if (list.length === 2) { + this._socket.cork(); + this._socket.write(list[0]); + this._socket.write(list[1], cb); + this._socket.uncork(); + } else { + this._socket.write(list[0], cb); + } + } +} + +var sender = Sender$1; + +const EventEmitter$2 = require$$0__default$2["default"]; +const crypto$9 = require$$0__default["default"]; +const https = require$$2__default["default"]; +const http$1 = http__default["default"]; +const net = require$$4__default["default"]; +const tls = require$$5__default["default"]; +const url = Url__default["default"]; + +const PerMessageDeflate$1 = permessageDeflate; +const EventTarget = eventTarget; +const extension$1 = extension$2; +const Receiver = receiver; +const Sender = sender; +const { + BINARY_TYPES, + EMPTY_BUFFER: EMPTY_BUFFER$2, + GUID: GUID$1, + kStatusCode, + kWebSocket, + NOOP +} = constants; + +const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED']; +const protocolVersions = [8, 13]; +const closeTimeout = 30 * 1000; + +/** + * Class representing a WebSocket. + * + * @extends EventEmitter + */ +class WebSocket$3 extends EventEmitter$2 { + /** + * Create a new `WebSocket`. + * + * @param {(String|url.Url|url.URL)} address The URL to which to connect + * @param {(String|String[])} protocols The subprotocols + * @param {Object} options Connection options + */ + constructor(address, protocols, options) { + super(); + + this.readyState = WebSocket$3.CONNECTING; + this.protocol = ''; + + this._binaryType = BINARY_TYPES[0]; + this._closeFrameReceived = false; + this._closeFrameSent = false; + this._closeMessage = ''; + this._closeTimer = null; + this._closeCode = 1006; + this._extensions = {}; + this._receiver = null; + this._sender = null; + this._socket = null; + + if (address !== null) { + this._isServer = false; + this._redirects = 0; + + if (Array.isArray(protocols)) { + protocols = protocols.join(', '); + } else if (typeof protocols === 'object' && protocols !== null) { + options = protocols; + protocols = undefined; + } + + initAsClient(this, address, protocols, options); + } else { + this._isServer = true; + } + } + + get CONNECTING() { + return WebSocket$3.CONNECTING; + } + get CLOSING() { + return WebSocket$3.CLOSING; + } + get CLOSED() { + return WebSocket$3.CLOSED; + } + get OPEN() { + return WebSocket$3.OPEN; + } + + /** + * This deviates from the WHATWG interface since ws doesn't support the + * required default "blob" type (instead we define a custom "nodebuffer" + * type). + * + * @type {String} + */ + get binaryType() { + return this._binaryType; + } + + set binaryType(type) { + if (!BINARY_TYPES.includes(type)) return; + + this._binaryType = type; + + // + // Allow to change `binaryType` on the fly. + // + if (this._receiver) this._receiver._binaryType = type; + } + + /** + * @type {Number} + */ + get bufferedAmount() { + if (!this._socket) return 0; + + // + // `socket.bufferSize` is `undefined` if the socket is closed. + // + return (this._socket.bufferSize || 0) + this._sender._bufferedBytes; + } + + /** + * @type {String} + */ + get extensions() { + return Object.keys(this._extensions).join(); + } + + /** + * Set up the socket and the internal resources. + * + * @param {net.Socket} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Number} maxPayload The maximum allowed message size + * @private + */ + setSocket(socket, head, maxPayload) { + const receiver = new Receiver( + this._binaryType, + this._extensions, + maxPayload + ); + + this._sender = new Sender(socket, this._extensions); + this._receiver = receiver; + this._socket = socket; + + receiver[kWebSocket] = this; + socket[kWebSocket] = this; + + receiver.on('conclude', receiverOnConclude); + receiver.on('drain', receiverOnDrain); + receiver.on('error', receiverOnError); + receiver.on('message', receiverOnMessage); + receiver.on('ping', receiverOnPing); + receiver.on('pong', receiverOnPong); + + socket.setTimeout(0); + socket.setNoDelay(); + + if (head.length > 0) socket.unshift(head); + + socket.on('close', socketOnClose); + socket.on('data', socketOnData); + socket.on('end', socketOnEnd); + socket.on('error', socketOnError$1); + + this.readyState = WebSocket$3.OPEN; + this.emit('open'); + } + + /** + * Emit the `'close'` event. + * + * @private + */ + emitClose() { + this.readyState = WebSocket$3.CLOSED; + + if (!this._socket) { + this.emit('close', this._closeCode, this._closeMessage); + return; + } + + if (this._extensions[PerMessageDeflate$1.extensionName]) { + this._extensions[PerMessageDeflate$1.extensionName].cleanup(); + } + + this._receiver.removeAllListeners(); + this.emit('close', this._closeCode, this._closeMessage); + } + + /** + * Start a closing handshake. + * + * +----------+ +-----------+ +----------+ + * - - -|ws.close()|-->|close frame|-->|ws.close()|- - - + * | +----------+ +-----------+ +----------+ | + * +----------+ +-----------+ | + * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING + * +----------+ +-----------+ | + * | | | +---+ | + * +------------------------+-->|fin| - - - - + * | +---+ | +---+ + * - - - - -|fin|<---------------------+ + * +---+ + * + * @param {Number} code Status code explaining why the connection is closing + * @param {String} data A string explaining why the connection is closing + * @public + */ + close(code, data) { + if (this.readyState === WebSocket$3.CLOSED) return; + if (this.readyState === WebSocket$3.CONNECTING) { + const msg = 'WebSocket was closed before the connection was established'; + return abortHandshake$1(this, this._req, msg); + } + + if (this.readyState === WebSocket$3.CLOSING) { + if (this._closeFrameSent && this._closeFrameReceived) this._socket.end(); + return; + } + + this.readyState = WebSocket$3.CLOSING; + this._sender.close(code, data, !this._isServer, (err) => { + // + // This error is handled by the `'error'` listener on the socket. We only + // want to know if the close frame has been sent here. + // + if (err) return; + + this._closeFrameSent = true; + if (this._closeFrameReceived) this._socket.end(); + }); + + // + // Specify a timeout for the closing handshake to complete. + // + this._closeTimer = setTimeout( + this._socket.destroy.bind(this._socket), + closeTimeout + ); + } + + /** + * Send a ping. + * + * @param {*} data The data to send + * @param {Boolean} mask Indicates whether or not to mask `data` + * @param {Function} cb Callback which is executed when the ping is sent + * @public + */ + ping(data, mask, cb) { + if (typeof data === 'function') { + cb = data; + data = mask = undefined; + } else if (typeof mask === 'function') { + cb = mask; + mask = undefined; + } + + if (this.readyState !== WebSocket$3.OPEN) { + const err = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${readyStates[this.readyState]})` + ); + + if (cb) return cb(err); + throw err; + } + + if (typeof data === 'number') data = data.toString(); + if (mask === undefined) mask = !this._isServer; + this._sender.ping(data || EMPTY_BUFFER$2, mask, cb); + } + + /** + * Send a pong. + * + * @param {*} data The data to send + * @param {Boolean} mask Indicates whether or not to mask `data` + * @param {Function} cb Callback which is executed when the pong is sent + * @public + */ + pong(data, mask, cb) { + if (typeof data === 'function') { + cb = data; + data = mask = undefined; + } else if (typeof mask === 'function') { + cb = mask; + mask = undefined; + } + + if (this.readyState !== WebSocket$3.OPEN) { + const err = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${readyStates[this.readyState]})` + ); + + if (cb) return cb(err); + throw err; + } + + if (typeof data === 'number') data = data.toString(); + if (mask === undefined) mask = !this._isServer; + this._sender.pong(data || EMPTY_BUFFER$2, mask, cb); + } + + /** + * Send a data message. + * + * @param {*} data The message to send + * @param {Object} options Options object + * @param {Boolean} options.compress Specifies whether or not to compress `data` + * @param {Boolean} options.binary Specifies whether `data` is binary or text + * @param {Boolean} options.fin Specifies whether the fragment is the last one + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Function} cb Callback which is executed when data is written out + * @public + */ + send(data, options, cb) { + if (typeof options === 'function') { + cb = options; + options = {}; + } + + if (this.readyState !== WebSocket$3.OPEN) { + const err = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${readyStates[this.readyState]})` + ); + + if (cb) return cb(err); + throw err; + } + + if (typeof data === 'number') data = data.toString(); + + const opts = Object.assign( + { + binary: typeof data !== 'string', + mask: !this._isServer, + compress: true, + fin: true + }, + options + ); + + if (!this._extensions[PerMessageDeflate$1.extensionName]) { + opts.compress = false; + } + + this._sender.send(data || EMPTY_BUFFER$2, opts, cb); + } + + /** + * Forcibly close the connection. + * + * @public + */ + terminate() { + if (this.readyState === WebSocket$3.CLOSED) return; + if (this.readyState === WebSocket$3.CONNECTING) { + const msg = 'WebSocket was closed before the connection was established'; + return abortHandshake$1(this, this._req, msg); + } + + if (this._socket) { + this.readyState = WebSocket$3.CLOSING; + this._socket.destroy(); + } + } +} + +readyStates.forEach((readyState, i) => { + WebSocket$3[readyState] = i; +}); + +// +// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes. +// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface +// +['open', 'error', 'close', 'message'].forEach((method) => { + Object.defineProperty(WebSocket$3.prototype, `on${method}`, { + /** + * Return the listener of the event. + * + * @return {(Function|undefined)} The event listener or `undefined` + * @public + */ + get() { + const listeners = this.listeners(method); + for (var i = 0; i < listeners.length; i++) { + if (listeners[i]._listener) return listeners[i]._listener; + } + + return undefined; + }, + /** + * Add a listener for the event. + * + * @param {Function} listener The listener to add + * @public + */ + set(listener) { + const listeners = this.listeners(method); + for (var i = 0; i < listeners.length; i++) { + // + // Remove only the listeners added via `addEventListener`. + // + if (listeners[i]._listener) this.removeListener(method, listeners[i]); + } + this.addEventListener(method, listener); + } + }); +}); + +WebSocket$3.prototype.addEventListener = EventTarget.addEventListener; +WebSocket$3.prototype.removeEventListener = EventTarget.removeEventListener; + +var websocket = WebSocket$3; + +/** + * Initialize a WebSocket client. + * + * @param {WebSocket} websocket The client to initialize + * @param {(String|url.Url|url.URL)} address The URL to which to connect + * @param {String} protocols The subprotocols + * @param {Object} options Connection options + * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable + * permessage-deflate + * @param {Number} options.handshakeTimeout Timeout in milliseconds for the + * handshake request + * @param {Number} options.protocolVersion Value of the `Sec-WebSocket-Version` + * header + * @param {String} options.origin Value of the `Origin` or + * `Sec-WebSocket-Origin` header + * @param {Number} options.maxPayload The maximum allowed message size + * @param {Boolean} options.followRedirects Whether or not to follow redirects + * @param {Number} options.maxRedirects The maximum number of redirects allowed + * @private + */ +function initAsClient(websocket, address, protocols, options) { + const opts = Object.assign( + { + protocolVersion: protocolVersions[1], + maxPayload: 100 * 1024 * 1024, + perMessageDeflate: true, + followRedirects: false, + maxRedirects: 10 + }, + options, + { + createConnection: undefined, + socketPath: undefined, + hostname: undefined, + protocol: undefined, + timeout: undefined, + method: undefined, + auth: undefined, + host: undefined, + path: undefined, + port: undefined + } + ); + + if (!protocolVersions.includes(opts.protocolVersion)) { + throw new RangeError( + `Unsupported protocol version: ${opts.protocolVersion} ` + + `(supported versions: ${protocolVersions.join(', ')})` + ); + } + + var parsedUrl; + + if (typeof address === 'object' && address.href !== undefined) { + parsedUrl = address; + websocket.url = address.href; + } else { + // + // The WHATWG URL constructor is not available on Node.js < 6.13.0 + // + parsedUrl = url.URL ? new url.URL(address) : url.parse(address); + websocket.url = address; + } + + const isUnixSocket = parsedUrl.protocol === 'ws+unix:'; + + if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) { + throw new Error(`Invalid URL: ${websocket.url}`); + } + + const isSecure = + parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:'; + const defaultPort = isSecure ? 443 : 80; + const key = crypto$9.randomBytes(16).toString('base64'); + const get = isSecure ? https.get : http$1.get; + const path = parsedUrl.search + ? `${parsedUrl.pathname || '/'}${parsedUrl.search}` + : parsedUrl.pathname || '/'; + var perMessageDeflate; + + opts.createConnection = isSecure ? tlsConnect : netConnect; + opts.defaultPort = opts.defaultPort || defaultPort; + opts.port = parsedUrl.port || defaultPort; + opts.host = parsedUrl.hostname.startsWith('[') + ? parsedUrl.hostname.slice(1, -1) + : parsedUrl.hostname; + opts.headers = Object.assign( + { + 'Sec-WebSocket-Version': opts.protocolVersion, + 'Sec-WebSocket-Key': key, + Connection: 'Upgrade', + Upgrade: 'websocket' + }, + opts.headers + ); + opts.path = path; + opts.timeout = opts.handshakeTimeout; + + if (opts.perMessageDeflate) { + perMessageDeflate = new PerMessageDeflate$1( + opts.perMessageDeflate !== true ? opts.perMessageDeflate : {}, + false, + opts.maxPayload + ); + opts.headers['Sec-WebSocket-Extensions'] = extension$1.format({ + [PerMessageDeflate$1.extensionName]: perMessageDeflate.offer() + }); + } + if (protocols) { + opts.headers['Sec-WebSocket-Protocol'] = protocols; + } + if (opts.origin) { + if (opts.protocolVersion < 13) { + opts.headers['Sec-WebSocket-Origin'] = opts.origin; + } else { + opts.headers.Origin = opts.origin; + } + } + if (parsedUrl.auth) { + opts.auth = parsedUrl.auth; + } else if (parsedUrl.username || parsedUrl.password) { + opts.auth = `${parsedUrl.username}:${parsedUrl.password}`; + } + + if (isUnixSocket) { + const parts = path.split(':'); + + opts.socketPath = parts[0]; + opts.path = parts[1]; + } + + var req = (websocket._req = get(opts)); + + if (opts.timeout) { + req.on('timeout', () => { + abortHandshake$1(websocket, req, 'Opening handshake has timed out'); + }); + } + + req.on('error', (err) => { + if (websocket._req.aborted) return; + + req = websocket._req = null; + websocket.readyState = WebSocket$3.CLOSING; + websocket.emit('error', err); + websocket.emitClose(); + }); + + req.on('response', (res) => { + const location = res.headers.location; + const statusCode = res.statusCode; + + if ( + location && + opts.followRedirects && + statusCode >= 300 && + statusCode < 400 + ) { + if (++websocket._redirects > opts.maxRedirects) { + abortHandshake$1(websocket, req, 'Maximum redirects exceeded'); + return; + } + + req.abort(); + + const addr = url.URL + ? new url.URL(location, address) + : url.resolve(address, location); + + initAsClient(websocket, addr, protocols, options); + } else if (!websocket.emit('unexpected-response', req, res)) { + abortHandshake$1( + websocket, + req, + `Unexpected server response: ${res.statusCode}` + ); + } + }); + + req.on('upgrade', (res, socket, head) => { + websocket.emit('upgrade', res); + + // + // The user may have closed the connection from a listener of the `upgrade` + // event. + // + if (websocket.readyState !== WebSocket$3.CONNECTING) return; + + req = websocket._req = null; + + const digest = crypto$9 + .createHash('sha1') + .update(key + GUID$1) + .digest('base64'); + + if (res.headers['sec-websocket-accept'] !== digest) { + abortHandshake$1(websocket, socket, 'Invalid Sec-WebSocket-Accept header'); + return; + } + + const serverProt = res.headers['sec-websocket-protocol']; + const protList = (protocols || '').split(/, */); + var protError; + + if (!protocols && serverProt) { + protError = 'Server sent a subprotocol but none was requested'; + } else if (protocols && !serverProt) { + protError = 'Server sent no subprotocol'; + } else if (serverProt && !protList.includes(serverProt)) { + protError = 'Server sent an invalid subprotocol'; + } + + if (protError) { + abortHandshake$1(websocket, socket, protError); + return; + } + + if (serverProt) websocket.protocol = serverProt; + + if (perMessageDeflate) { + try { + const extensions = extension$1.parse( + res.headers['sec-websocket-extensions'] + ); + + if (extensions[PerMessageDeflate$1.extensionName]) { + perMessageDeflate.accept(extensions[PerMessageDeflate$1.extensionName]); + websocket._extensions[ + PerMessageDeflate$1.extensionName + ] = perMessageDeflate; + } + } catch (err) { + abortHandshake$1( + websocket, + socket, + 'Invalid Sec-WebSocket-Extensions header' + ); + return; + } + } + + websocket.setSocket(socket, head, opts.maxPayload); + }); +} + +/** + * Create a `net.Socket` and initiate a connection. + * + * @param {Object} options Connection options + * @return {net.Socket} The newly created socket used to start the connection + * @private + */ +function netConnect(options) { + // + // Override `options.path` only if `options` is a copy of the original options + // object. This is always true on Node.js >= 8 but not on Node.js 6 where + // `options.socketPath` might be `undefined` even if the `socketPath` option + // was originally set. + // + if (options.protocolVersion) options.path = options.socketPath; + return net.connect(options); +} + +/** + * Create a `tls.TLSSocket` and initiate a connection. + * + * @param {Object} options Connection options + * @return {tls.TLSSocket} The newly created socket used to start the connection + * @private + */ +function tlsConnect(options) { + options.path = undefined; + options.servername = options.servername || options.host; + return tls.connect(options); +} + +/** + * Abort the handshake and emit an error. + * + * @param {WebSocket} websocket The WebSocket instance + * @param {(http.ClientRequest|net.Socket)} stream The request to abort or the + * socket to destroy + * @param {String} message The error message + * @private + */ +function abortHandshake$1(websocket, stream, message) { + websocket.readyState = WebSocket$3.CLOSING; + + const err = new Error(message); + Error.captureStackTrace(err, abortHandshake$1); + + if (stream.setHeader) { + stream.abort(); + stream.once('abort', websocket.emitClose.bind(websocket)); + websocket.emit('error', err); + } else { + stream.destroy(err); + stream.once('error', websocket.emit.bind(websocket, 'error')); + stream.once('close', websocket.emitClose.bind(websocket)); + } +} + +/** + * The listener of the `Receiver` `'conclude'` event. + * + * @param {Number} code The status code + * @param {String} reason The reason for closing + * @private + */ +function receiverOnConclude(code, reason) { + const websocket = this[kWebSocket]; + + websocket._socket.removeListener('data', socketOnData); + websocket._socket.resume(); + + websocket._closeFrameReceived = true; + websocket._closeMessage = reason; + websocket._closeCode = code; + + if (code === 1005) websocket.close(); + else websocket.close(code, reason); +} + +/** + * The listener of the `Receiver` `'drain'` event. + * + * @private + */ +function receiverOnDrain() { + this[kWebSocket]._socket.resume(); +} + +/** + * The listener of the `Receiver` `'error'` event. + * + * @param {(RangeError|Error)} err The emitted error + * @private + */ +function receiverOnError(err) { + const websocket = this[kWebSocket]; + + websocket._socket.removeListener('data', socketOnData); + + websocket.readyState = WebSocket$3.CLOSING; + websocket._closeCode = err[kStatusCode]; + websocket.emit('error', err); + websocket._socket.destroy(); +} + +/** + * The listener of the `Receiver` `'finish'` event. + * + * @private + */ +function receiverOnFinish() { + this[kWebSocket].emitClose(); +} + +/** + * The listener of the `Receiver` `'message'` event. + * + * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message + * @private + */ +function receiverOnMessage(data) { + this[kWebSocket].emit('message', data); +} + +/** + * The listener of the `Receiver` `'ping'` event. + * + * @param {Buffer} data The data included in the ping frame + * @private + */ +function receiverOnPing(data) { + const websocket = this[kWebSocket]; + + websocket.pong(data, !websocket._isServer, NOOP); + websocket.emit('ping', data); +} + +/** + * The listener of the `Receiver` `'pong'` event. + * + * @param {Buffer} data The data included in the pong frame + * @private + */ +function receiverOnPong(data) { + this[kWebSocket].emit('pong', data); +} + +/** + * The listener of the `net.Socket` `'close'` event. + * + * @private + */ +function socketOnClose() { + const websocket = this[kWebSocket]; + + this.removeListener('close', socketOnClose); + this.removeListener('end', socketOnEnd); + + websocket.readyState = WebSocket$3.CLOSING; + + // + // The close frame might not have been received or the `'end'` event emitted, + // for example, if the socket was destroyed due to an error. Ensure that the + // `receiver` stream is closed after writing any remaining buffered data to + // it. If the readable side of the socket is in flowing mode then there is no + // buffered data as everything has been already written and `readable.read()` + // will return `null`. If instead, the socket is paused, any possible buffered + // data will be read as a single chunk and emitted synchronously in a single + // `'data'` event. + // + websocket._socket.read(); + websocket._receiver.end(); + + this.removeListener('data', socketOnData); + this[kWebSocket] = undefined; + + clearTimeout(websocket._closeTimer); + + if ( + websocket._receiver._writableState.finished || + websocket._receiver._writableState.errorEmitted + ) { + websocket.emitClose(); + } else { + websocket._receiver.on('error', receiverOnFinish); + websocket._receiver.on('finish', receiverOnFinish); + } +} + +/** + * The listener of the `net.Socket` `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function socketOnData(chunk) { + if (!this[kWebSocket]._receiver.write(chunk)) { + this.pause(); + } +} + +/** + * The listener of the `net.Socket` `'end'` event. + * + * @private + */ +function socketOnEnd() { + const websocket = this[kWebSocket]; + + websocket.readyState = WebSocket$3.CLOSING; + websocket._receiver.end(); + this.end(); +} + +/** + * The listener of the `net.Socket` `'error'` event. + * + * @private + */ +function socketOnError$1() { + const websocket = this[kWebSocket]; + + this.removeListener('error', socketOnError$1); + this.on('error', NOOP); + + websocket.readyState = WebSocket$3.CLOSING; + this.destroy(); +} + +const EventEmitter$1 = require$$0__default$2["default"]; +const crypto$8 = require$$0__default["default"]; +const http = http__default["default"]; + +const PerMessageDeflate = permessageDeflate; +const extension = extension$2; +const WebSocket$2 = websocket; +const { GUID } = constants; + +const keyRegex = /^[+/0-9A-Za-z]{22}==$/; + +/** + * Class representing a WebSocket server. + * + * @extends EventEmitter + */ +class WebSocketServer extends EventEmitter$1 { + /** + * Create a `WebSocketServer` instance. + * + * @param {Object} options Configuration options + * @param {Number} options.backlog The maximum length of the queue of pending + * connections + * @param {Boolean} options.clientTracking Specifies whether or not to track + * clients + * @param {Function} options.handleProtocols An hook to handle protocols + * @param {String} options.host The hostname where to bind the server + * @param {Number} options.maxPayload The maximum allowed message size + * @param {Boolean} options.noServer Enable no server mode + * @param {String} options.path Accept only connections matching this path + * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable + * permessage-deflate + * @param {Number} options.port The port where to bind the server + * @param {http.Server} options.server A pre-created HTTP/S server to use + * @param {Function} options.verifyClient An hook to reject connections + * @param {Function} callback A listener for the `listening` event + */ + constructor(options, callback) { + super(); + + options = Object.assign( + { + maxPayload: 100 * 1024 * 1024, + perMessageDeflate: false, + handleProtocols: null, + clientTracking: true, + verifyClient: null, + noServer: false, + backlog: null, // use default (511 as implemented in net.js) + server: null, + host: null, + path: null, + port: null + }, + options + ); + + if (options.port == null && !options.server && !options.noServer) { + throw new TypeError( + 'One of the "port", "server", or "noServer" options must be specified' + ); + } + + if (options.port != null) { + this._server = http.createServer((req, res) => { + const body = http.STATUS_CODES[426]; + + res.writeHead(426, { + 'Content-Length': body.length, + 'Content-Type': 'text/plain' + }); + res.end(body); + }); + this._server.listen( + options.port, + options.host, + options.backlog, + callback + ); + } else if (options.server) { + this._server = options.server; + } + + if (this._server) { + this._removeListeners = addListeners(this._server, { + listening: this.emit.bind(this, 'listening'), + error: this.emit.bind(this, 'error'), + upgrade: (req, socket, head) => { + this.handleUpgrade(req, socket, head, (ws) => { + this.emit('connection', ws, req); + }); + } + }); + } + + if (options.perMessageDeflate === true) options.perMessageDeflate = {}; + if (options.clientTracking) this.clients = new Set(); + this.options = options; + } + + /** + * Returns the bound address, the address family name, and port of the server + * as reported by the operating system if listening on an IP socket. + * If the server is listening on a pipe or UNIX domain socket, the name is + * returned as a string. + * + * @return {(Object|String|null)} The address of the server + * @public + */ + address() { + if (this.options.noServer) { + throw new Error('The server is operating in "noServer" mode'); + } + + if (!this._server) return null; + return this._server.address(); + } + + /** + * Close the server. + * + * @param {Function} cb Callback + * @public + */ + close(cb) { + if (cb) this.once('close', cb); + + // + // Terminate all associated clients. + // + if (this.clients) { + for (const client of this.clients) client.terminate(); + } + + const server = this._server; + + if (server) { + this._removeListeners(); + this._removeListeners = this._server = null; + + // + // Close the http server if it was internally created. + // + if (this.options.port != null) { + server.close(() => this.emit('close')); + return; + } + } + + process.nextTick(emitClose, this); + } + + /** + * See if a given request should be handled by this server instance. + * + * @param {http.IncomingMessage} req Request object to inspect + * @return {Boolean} `true` if the request is valid, else `false` + * @public + */ + shouldHandle(req) { + if (this.options.path) { + const index = req.url.indexOf('?'); + const pathname = index !== -1 ? req.url.slice(0, index) : req.url; + + if (pathname !== this.options.path) return false; + } + + return true; + } + + /** + * Handle a HTTP Upgrade request. + * + * @param {http.IncomingMessage} req The request object + * @param {net.Socket} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Function} cb Callback + * @public + */ + handleUpgrade(req, socket, head, cb) { + socket.on('error', socketOnError); + + const key = + req.headers['sec-websocket-key'] !== undefined + ? req.headers['sec-websocket-key'].trim() + : false; + const version = +req.headers['sec-websocket-version']; + const extensions = {}; + + if ( + req.method !== 'GET' || + req.headers.upgrade.toLowerCase() !== 'websocket' || + !key || + !keyRegex.test(key) || + (version !== 8 && version !== 13) || + !this.shouldHandle(req) + ) { + return abortHandshake(socket, 400); + } + + if (this.options.perMessageDeflate) { + const perMessageDeflate = new PerMessageDeflate( + this.options.perMessageDeflate, + true, + this.options.maxPayload + ); + + try { + const offers = extension.parse(req.headers['sec-websocket-extensions']); + + if (offers[PerMessageDeflate.extensionName]) { + perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]); + extensions[PerMessageDeflate.extensionName] = perMessageDeflate; + } + } catch (err) { + return abortHandshake(socket, 400); + } + } + + // + // Optionally call external client verification handler. + // + if (this.options.verifyClient) { + const info = { + origin: + req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`], + secure: !!(req.connection.authorized || req.connection.encrypted), + req + }; + + if (this.options.verifyClient.length === 2) { + this.options.verifyClient(info, (verified, code, message, headers) => { + if (!verified) { + return abortHandshake(socket, code || 401, message, headers); + } + + this.completeUpgrade(key, extensions, req, socket, head, cb); + }); + return; + } + + if (!this.options.verifyClient(info)) return abortHandshake(socket, 401); + } + + this.completeUpgrade(key, extensions, req, socket, head, cb); + } + + /** + * Upgrade the connection to WebSocket. + * + * @param {String} key The value of the `Sec-WebSocket-Key` header + * @param {Object} extensions The accepted extensions + * @param {http.IncomingMessage} req The request object + * @param {net.Socket} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Function} cb Callback + * @private + */ + completeUpgrade(key, extensions, req, socket, head, cb) { + // + // Destroy the socket if the client has already sent a FIN packet. + // + if (!socket.readable || !socket.writable) return socket.destroy(); + + const digest = crypto$8 + .createHash('sha1') + .update(key + GUID) + .digest('base64'); + + const headers = [ + 'HTTP/1.1 101 Switching Protocols', + 'Upgrade: websocket', + 'Connection: Upgrade', + `Sec-WebSocket-Accept: ${digest}` + ]; + + const ws = new WebSocket$2(null); + var protocol = req.headers['sec-websocket-protocol']; + + if (protocol) { + protocol = protocol.split(',').map(trim); + + // + // Optionally call external protocol selection handler. + // + if (this.options.handleProtocols) { + protocol = this.options.handleProtocols(protocol, req); + } else { + protocol = protocol[0]; + } + + if (protocol) { + headers.push(`Sec-WebSocket-Protocol: ${protocol}`); + ws.protocol = protocol; + } + } + + if (extensions[PerMessageDeflate.extensionName]) { + const params = extensions[PerMessageDeflate.extensionName].params; + const value = extension.format({ + [PerMessageDeflate.extensionName]: [params] + }); + headers.push(`Sec-WebSocket-Extensions: ${value}`); + ws._extensions = extensions; + } + + // + // Allow external modification/inspection of handshake headers. + // + this.emit('headers', headers, req); + + socket.write(headers.concat('\r\n').join('\r\n')); + socket.removeListener('error', socketOnError); + + ws.setSocket(socket, head, this.options.maxPayload); + + if (this.clients) { + this.clients.add(ws); + ws.on('close', () => this.clients.delete(ws)); + } + + cb(ws); + } +} + +var websocketServer = WebSocketServer; + +/** + * Add event listeners on an `EventEmitter` using a map of + * pairs. + * + * @param {EventEmitter} server The event emitter + * @param {Object.} map The listeners to add + * @return {Function} A function that will remove the added listeners when called + * @private + */ +function addListeners(server, map) { + for (const event of Object.keys(map)) server.on(event, map[event]); + + return function removeListeners() { + for (const event of Object.keys(map)) { + server.removeListener(event, map[event]); + } + }; +} + +/** + * Emit a `'close'` event on an `EventEmitter`. + * + * @param {EventEmitter} server The event emitter + * @private + */ +function emitClose(server) { + server.emit('close'); +} + +/** + * Handle premature socket errors. + * + * @private + */ +function socketOnError() { + this.destroy(); +} + +/** + * Close the connection when preconditions are not fulfilled. + * + * @param {net.Socket} socket The socket of the upgrade request + * @param {Number} code The HTTP response status code + * @param {String} [message] The HTTP response body + * @param {Object} [headers] Additional HTTP response headers + * @private + */ +function abortHandshake(socket, code, message, headers) { + if (socket.writable) { + message = message || http.STATUS_CODES[code]; + headers = Object.assign( + { + Connection: 'close', + 'Content-type': 'text/html', + 'Content-Length': Buffer.byteLength(message) + }, + headers + ); + + socket.write( + `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\r\n` + + Object.keys(headers) + .map((h) => `${h}: ${headers[h]}`) + .join('\r\n') + + '\r\n\r\n' + + message + ); + } + + socket.removeListener('error', socketOnError); + socket.destroy(); +} + +/** + * Remove whitespace characters from both ends of a string. + * + * @param {String} str The string + * @return {String} A new string representing `str` stripped of whitespace + * characters from both its beginning and end + * @private + */ +function trim(str) { + return str.trim(); +} + +const WebSocket$1 = websocket; + +WebSocket$1.Server = websocketServer; +WebSocket$1.Receiver = receiver; +WebSocket$1.Sender = sender; + +var ws = WebSocket$1; + +var duplex = {}; + +var helpers = {}; + +/*! + * https://github.com/Starcounter-Jack/JSON-Patch + * (c) 2017 Joachim Wester + * MIT license + */ + +var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(helpers, "__esModule", { value: true }); +var _hasOwnProperty = Object.prototype.hasOwnProperty; +function hasOwnProperty(obj, key) { + return _hasOwnProperty.call(obj, key); +} +helpers.hasOwnProperty = hasOwnProperty; +function _objectKeys(obj) { + if (Array.isArray(obj)) { + var keys = new Array(obj.length); + for (var k = 0; k < keys.length; k++) { + keys[k] = "" + k; + } + return keys; + } + if (Object.keys) { + return Object.keys(obj); + } + var keys = []; + for (var i in obj) { + if (hasOwnProperty(obj, i)) { + keys.push(i); + } + } + return keys; +} +helpers._objectKeys = _objectKeys; +/** +* Deeply clone the object. +* https://jsperf.com/deep-copy-vs-json-stringify-json-parse/25 (recursiveDeepCopy) +* @param {any} obj value to clone +* @return {any} cloned obj +*/ +function _deepClone(obj) { + switch (typeof obj) { + case "object": + return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5 + case "undefined": + return null; //this is how JSON.stringify behaves for array items + default: + return obj; //no need to clone primitives + } +} +helpers._deepClone = _deepClone; +//3x faster than cached /^\d+$/.test(str) +function isInteger(str) { + var i = 0; + var len = str.length; + var charCode; + while (i < len) { + charCode = str.charCodeAt(i); + if (charCode >= 48 && charCode <= 57) { + i++; + continue; + } + return false; + } + return true; +} +helpers.isInteger = isInteger; +/** +* Escapes a json pointer path +* @param path The raw pointer +* @return the Escaped path +*/ +function escapePathComponent(path) { + if (path.indexOf('/') === -1 && path.indexOf('~') === -1) + return path; + return path.replace(/~/g, '~0').replace(/\//g, '~1'); +} +helpers.escapePathComponent = escapePathComponent; +/** + * Unescapes a json pointer path + * @param path The escaped pointer + * @return The unescaped path + */ +function unescapePathComponent(path) { + return path.replace(/~1/g, '/').replace(/~0/g, '~'); +} +helpers.unescapePathComponent = unescapePathComponent; +function _getPathRecursive(root, obj) { + var found; + for (var key in root) { + if (hasOwnProperty(root, key)) { + if (root[key] === obj) { + return escapePathComponent(key) + '/'; + } + else if (typeof root[key] === 'object') { + found = _getPathRecursive(root[key], obj); + if (found != '') { + return escapePathComponent(key) + '/' + found; + } + } + } + } + return ''; +} +helpers._getPathRecursive = _getPathRecursive; +function getPath(root, obj) { + if (root === obj) { + return '/'; + } + var path = _getPathRecursive(root, obj); + if (path === '') { + throw new Error("Object not found in root"); + } + return '/' + path; +} +helpers.getPath = getPath; +/** +* Recursively checks whether an object has any undefined values inside. +*/ +function hasUndefined(obj) { + if (obj === undefined) { + return true; + } + if (obj) { + if (Array.isArray(obj)) { + for (var i = 0, len = obj.length; i < len; i++) { + if (hasUndefined(obj[i])) { + return true; + } + } + } + else if (typeof obj === "object") { + var objKeys = _objectKeys(obj); + var objKeysLength = objKeys.length; + for (var i = 0; i < objKeysLength; i++) { + if (hasUndefined(obj[objKeys[i]])) { + return true; + } + } + } + } + return false; +} +helpers.hasUndefined = hasUndefined; +function patchErrorMessageFormatter(message, args) { + var messageParts = [message]; + for (var key in args) { + var value = typeof args[key] === 'object' ? JSON.stringify(args[key], null, 2) : args[key]; // pretty print + if (typeof value !== 'undefined') { + messageParts.push(key + ": " + value); + } + } + return messageParts.join('\n'); +} +var PatchError = /** @class */ (function (_super) { + __extends(PatchError, _super); + function PatchError(message, name, index, operation, tree) { + var _newTarget = this.constructor; + var _this = _super.call(this, patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree })) || this; + _this.name = name; + _this.index = index; + _this.operation = operation; + _this.tree = tree; + Object.setPrototypeOf(_this, _newTarget.prototype); // restore prototype chain, see https://stackoverflow.com/a/48342359 + _this.message = patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree }); + return _this; + } + return PatchError; +}(Error)); +helpers.PatchError = PatchError; + +var core$1 = {}; + +var isArray = Array.isArray; +var keyList = Object.keys; +var hasProp = Object.prototype.hasOwnProperty; + +var fastDeepEqual = function equal(a, b) { + if (a === b) return true; + + if (a && b && typeof a == 'object' && typeof b == 'object') { + var arrA = isArray(a) + , arrB = isArray(b) + , i + , length + , key; + + if (arrA && arrB) { + length = a.length; + if (length != b.length) return false; + for (i = length; i-- !== 0;) + if (!equal(a[i], b[i])) return false; + return true; + } + + if (arrA != arrB) return false; + + var dateA = a instanceof Date + , dateB = b instanceof Date; + if (dateA != dateB) return false; + if (dateA && dateB) return a.getTime() == b.getTime(); + + var regexpA = a instanceof RegExp + , regexpB = b instanceof RegExp; + if (regexpA != regexpB) return false; + if (regexpA && regexpB) return a.toString() == b.toString(); + + var keys = keyList(a); + length = keys.length; + + if (length !== keyList(b).length) + return false; + + for (i = length; i-- !== 0;) + if (!hasProp.call(b, keys[i])) return false; + + for (i = length; i-- !== 0;) { + key = keys[i]; + if (!equal(a[key], b[key])) return false; + } + + return true; + } + + return a!==a && b!==b; +}; + +(function (exports) { + Object.defineProperty(exports, "__esModule", { value: true }); + var areEquals = fastDeepEqual; + var helpers_1 = helpers; + exports.JsonPatchError = helpers_1.PatchError; + exports.deepClone = helpers_1._deepClone; + /* We use a Javascript hash to store each + function. Each hash entry (property) uses + the operation identifiers specified in rfc6902. + In this way, we can map each patch operation + to its dedicated function in efficient way. + */ + /* The operations applicable to an object */ + var objOps = { + add: function (obj, key, document) { + obj[key] = this.value; + return { newDocument: document }; + }, + remove: function (obj, key, document) { + var removed = obj[key]; + delete obj[key]; + return { newDocument: document, removed: removed }; + }, + replace: function (obj, key, document) { + var removed = obj[key]; + obj[key] = this.value; + return { newDocument: document, removed: removed }; + }, + move: function (obj, key, document) { + /* in case move target overwrites an existing value, + return the removed value, this can be taxing performance-wise, + and is potentially unneeded */ + var removed = getValueByPointer(document, this.path); + if (removed) { + removed = helpers_1._deepClone(removed); + } + var originalValue = applyOperation(document, { op: "remove", path: this.from }).removed; + applyOperation(document, { op: "add", path: this.path, value: originalValue }); + return { newDocument: document, removed: removed }; + }, + copy: function (obj, key, document) { + var valueToCopy = getValueByPointer(document, this.from); + // enforce copy by value so further operations don't affect source (see issue #177) + applyOperation(document, { op: "add", path: this.path, value: helpers_1._deepClone(valueToCopy) }); + return { newDocument: document }; + }, + test: function (obj, key, document) { + return { newDocument: document, test: areEquals(obj[key], this.value) }; + }, + _get: function (obj, key, document) { + this.value = obj[key]; + return { newDocument: document }; + } + }; + /* The operations applicable to an array. Many are the same as for the object */ + var arrOps = { + add: function (arr, i, document) { + if (helpers_1.isInteger(i)) { + arr.splice(i, 0, this.value); + } + else { // array props + arr[i] = this.value; + } + // this may be needed when using '-' in an array + return { newDocument: document, index: i }; + }, + remove: function (arr, i, document) { + var removedList = arr.splice(i, 1); + return { newDocument: document, removed: removedList[0] }; + }, + replace: function (arr, i, document) { + var removed = arr[i]; + arr[i] = this.value; + return { newDocument: document, removed: removed }; + }, + move: objOps.move, + copy: objOps.copy, + test: objOps.test, + _get: objOps._get + }; + /** + * Retrieves a value from a JSON document by a JSON pointer. + * Returns the value. + * + * @param document The document to get the value from + * @param pointer an escaped JSON pointer + * @return The retrieved value + */ + function getValueByPointer(document, pointer) { + if (pointer == '') { + return document; + } + var getOriginalDestination = { op: "_get", path: pointer }; + applyOperation(document, getOriginalDestination); + return getOriginalDestination.value; + } + exports.getValueByPointer = getValueByPointer; + /** + * Apply a single JSON Patch Operation on a JSON document. + * Returns the {newDocument, result} of the operation. + * It modifies the `document` and `operation` objects - it gets the values by reference. + * If you would like to avoid touching your values, clone them: + * `jsonpatch.applyOperation(document, jsonpatch._deepClone(operation))`. + * + * @param document The document to patch + * @param operation The operation to apply + * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. + * @param mutateDocument Whether to mutate the original document or clone it before applying + * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. + * @return `{newDocument, result}` after the operation + */ + function applyOperation(document, operation, validateOperation, mutateDocument, banPrototypeModifications, index) { + if (validateOperation === void 0) { validateOperation = false; } + if (mutateDocument === void 0) { mutateDocument = true; } + if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } + if (index === void 0) { index = 0; } + if (validateOperation) { + if (typeof validateOperation == 'function') { + validateOperation(operation, 0, document, operation.path); + } + else { + validator(operation, 0); + } + } + /* ROOT OPERATIONS */ + if (operation.path === "") { + var returnValue = { newDocument: document }; + if (operation.op === 'add') { + returnValue.newDocument = operation.value; + return returnValue; + } + else if (operation.op === 'replace') { + returnValue.newDocument = operation.value; + returnValue.removed = document; //document we removed + return returnValue; + } + else if (operation.op === 'move' || operation.op === 'copy') { // it's a move or copy to root + returnValue.newDocument = getValueByPointer(document, operation.from); // get the value by json-pointer in `from` field + if (operation.op === 'move') { // report removed item + returnValue.removed = document; + } + return returnValue; + } + else if (operation.op === 'test') { + returnValue.test = areEquals(document, operation.value); + if (returnValue.test === false) { + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + returnValue.newDocument = document; + return returnValue; + } + else if (operation.op === 'remove') { // a remove on root + returnValue.removed = document; + returnValue.newDocument = null; + return returnValue; + } + else if (operation.op === '_get') { + operation.value = document; + return returnValue; + } + else { /* bad operation */ + if (validateOperation) { + throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); + } + else { + return returnValue; + } + } + } /* END ROOT OPERATIONS */ + else { + if (!mutateDocument) { + document = helpers_1._deepClone(document); + } + var path = operation.path || ""; + var keys = path.split('/'); + var obj = document; + var t = 1; //skip empty element - http://jsperf.com/to-shift-or-not-to-shift + var len = keys.length; + var existingPathFragment = undefined; + var key = void 0; + var validateFunction = void 0; + if (typeof validateOperation == 'function') { + validateFunction = validateOperation; + } + else { + validateFunction = validator; + } + while (true) { + key = keys[t]; + if (banPrototypeModifications && key == '__proto__') { + throw new TypeError('JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README'); + } + if (validateOperation) { + if (existingPathFragment === undefined) { + if (obj[key] === undefined) { + existingPathFragment = keys.slice(0, t).join('/'); + } + else if (t == len - 1) { + existingPathFragment = operation.path; + } + if (existingPathFragment !== undefined) { + validateFunction(operation, 0, document, existingPathFragment); + } + } + } + t++; + if (Array.isArray(obj)) { + if (key === '-') { + key = obj.length; + } + else { + if (validateOperation && !helpers_1.isInteger(key)) { + throw new exports.JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index", "OPERATION_PATH_ILLEGAL_ARRAY_INDEX", index, operation, document); + } // only parse key when it's an integer for `arr.prop` to work + else if (helpers_1.isInteger(key)) { + key = ~~key; + } + } + if (t >= len) { + if (validateOperation && operation.op === "add" && key > obj.length) { + throw new exports.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array", "OPERATION_VALUE_OUT_OF_BOUNDS", index, operation, document); + } + var returnValue = arrOps[operation.op].call(operation, obj, key, document); // Apply patch + if (returnValue.test === false) { + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + return returnValue; + } + } + else { + if (key && key.indexOf('~') != -1) { + key = helpers_1.unescapePathComponent(key); + } + if (t >= len) { + var returnValue = objOps[operation.op].call(operation, obj, key, document); // Apply patch + if (returnValue.test === false) { + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + return returnValue; + } + } + obj = obj[key]; + } + } + } + exports.applyOperation = applyOperation; + /** + * Apply a full JSON Patch array on a JSON document. + * Returns the {newDocument, result} of the patch. + * It modifies the `document` object and `patch` - it gets the values by reference. + * If you would like to avoid touching your values, clone them: + * `jsonpatch.applyPatch(document, jsonpatch._deepClone(patch))`. + * + * @param document The document to patch + * @param patch The patch to apply + * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. + * @param mutateDocument Whether to mutate the original document or clone it before applying + * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. + * @return An array of `{newDocument, result}` after the patch + */ + function applyPatch(document, patch, validateOperation, mutateDocument, banPrototypeModifications) { + if (mutateDocument === void 0) { mutateDocument = true; } + if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } + if (validateOperation) { + if (!Array.isArray(patch)) { + throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); + } + } + if (!mutateDocument) { + document = helpers_1._deepClone(document); + } + var results = new Array(patch.length); + for (var i = 0, length_1 = patch.length; i < length_1; i++) { + // we don't need to pass mutateDocument argument because if it was true, we already deep cloned the object, we'll just pass `true` + results[i] = applyOperation(document, patch[i], validateOperation, true, banPrototypeModifications, i); + document = results[i].newDocument; // in case root was replaced + } + results.newDocument = document; + return results; + } + exports.applyPatch = applyPatch; + /** + * Apply a single JSON Patch Operation on a JSON document. + * Returns the updated document. + * Suitable as a reducer. + * + * @param document The document to patch + * @param operation The operation to apply + * @return The updated document + */ + function applyReducer(document, operation, index) { + var operationResult = applyOperation(document, operation); + if (operationResult.test === false) { // failed test + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + return operationResult.newDocument; + } + exports.applyReducer = applyReducer; + /** + * Validates a single operation. Called from `jsonpatch.validate`. Throws `JsonPatchError` in case of an error. + * @param {object} operation - operation object (patch) + * @param {number} index - index of operation in the sequence + * @param {object} [document] - object where the operation is supposed to be applied + * @param {string} [existingPathFragment] - comes along with `document` + */ + function validator(operation, index, document, existingPathFragment) { + if (typeof operation !== 'object' || operation === null || Array.isArray(operation)) { + throw new exports.JsonPatchError('Operation is not an object', 'OPERATION_NOT_AN_OBJECT', index, operation, document); + } + else if (!objOps[operation.op]) { + throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); + } + else if (typeof operation.path !== 'string') { + throw new exports.JsonPatchError('Operation `path` property is not a string', 'OPERATION_PATH_INVALID', index, operation, document); + } + else if (operation.path.indexOf('/') !== 0 && operation.path.length > 0) { + // paths that aren't empty string should start with "/" + throw new exports.JsonPatchError('Operation `path` property must start with "/"', 'OPERATION_PATH_INVALID', index, operation, document); + } + else if ((operation.op === 'move' || operation.op === 'copy') && typeof operation.from !== 'string') { + throw new exports.JsonPatchError('Operation `from` property is not present (applicable in `move` and `copy` operations)', 'OPERATION_FROM_REQUIRED', index, operation, document); + } + else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && operation.value === undefined) { + throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_REQUIRED', index, operation, document); + } + else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && helpers_1.hasUndefined(operation.value)) { + throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED', index, operation, document); + } + else if (document) { + if (operation.op == "add") { + var pathLen = operation.path.split("/").length; + var existingPathLen = existingPathFragment.split("/").length; + if (pathLen !== existingPathLen + 1 && pathLen !== existingPathLen) { + throw new exports.JsonPatchError('Cannot perform an `add` operation at the desired path', 'OPERATION_PATH_CANNOT_ADD', index, operation, document); + } + } + else if (operation.op === 'replace' || operation.op === 'remove' || operation.op === '_get') { + if (operation.path !== existingPathFragment) { + throw new exports.JsonPatchError('Cannot perform the operation at a path that does not exist', 'OPERATION_PATH_UNRESOLVABLE', index, operation, document); + } + } + else if (operation.op === 'move' || operation.op === 'copy') { + var existingValue = { op: "_get", path: operation.from, value: undefined }; + var error = validate([existingValue], document); + if (error && error.name === 'OPERATION_PATH_UNRESOLVABLE') { + throw new exports.JsonPatchError('Cannot perform the operation from a path that does not exist', 'OPERATION_FROM_UNRESOLVABLE', index, operation, document); + } + } + } + } + exports.validator = validator; + /** + * Validates a sequence of operations. If `document` parameter is provided, the sequence is additionally validated against the object document. + * If error is encountered, returns a JsonPatchError object + * @param sequence + * @param document + * @returns {JsonPatchError|undefined} + */ + function validate(sequence, document, externalValidator) { + try { + if (!Array.isArray(sequence)) { + throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); + } + if (document) { + //clone document and sequence so that we can safely try applying operations + applyPatch(helpers_1._deepClone(document), helpers_1._deepClone(sequence), externalValidator || true); + } + else { + externalValidator = externalValidator || validator; + for (var i = 0; i < sequence.length; i++) { + externalValidator(sequence[i], i, document, undefined); + } + } + } + catch (e) { + if (e instanceof exports.JsonPatchError) { + return e; + } + else { + throw e; + } + } + } + exports.validate = validate; + /** + * Default export for backwards compat + */ + exports.default = { + JsonPatchError: exports.JsonPatchError, + deepClone: exports.deepClone, + getValueByPointer: getValueByPointer, + applyOperation: applyOperation, + applyPatch: applyPatch, + applyReducer: applyReducer, + validator: validator, + validate: validate + }; +} (core$1)); + +var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +Object.defineProperty(duplex, "__esModule", { value: true }); +/*! + * https://github.com/Starcounter-Jack/JSON-Patch + * (c) 2017 Joachim Wester + * MIT license + */ +var helpers_1 = helpers; +var core_1 = core$1; +/* export all core functions and types */ +var core_2 = core$1; +duplex.applyOperation = core_2.applyOperation; +duplex.applyPatch = core_2.applyPatch; +duplex.applyReducer = core_2.applyReducer; +duplex.getValueByPointer = core_2.getValueByPointer; +duplex.validate = core_2.validate; +duplex.validator = core_2.validator; +/* export some helpers */ +var helpers_2 = helpers; +duplex.JsonPatchError = helpers_2.PatchError; +duplex.deepClone = helpers_2._deepClone; +duplex.escapePathComponent = helpers_2.escapePathComponent; +duplex.unescapePathComponent = helpers_2.unescapePathComponent; +var beforeDict = new WeakMap(); +var Mirror = /** @class */ (function () { + function Mirror(obj) { + this.observers = new Map(); + this.obj = obj; + } + return Mirror; +}()); +var ObserverInfo = /** @class */ (function () { + function ObserverInfo(callback, observer) { + this.callback = callback; + this.observer = observer; + } + return ObserverInfo; +}()); +function getMirror(obj) { + return beforeDict.get(obj); +} +function getObserverFromMirror(mirror, callback) { + return mirror.observers.get(callback); +} +function removeObserverFromMirror(mirror, observer) { + mirror.observers.delete(observer.callback); +} +/** + * Detach an observer from an object + */ +function unobserve(root, observer) { + observer.unobserve(); +} +duplex.unobserve = unobserve; +/** + * Observes changes made to an object, which can then be retrieved using generate + */ +function observe(obj, callback) { + var patches = []; + var observer; + var mirror = getMirror(obj); + if (!mirror) { + mirror = new Mirror(obj); + beforeDict.set(obj, mirror); + } + else { + var observerInfo = getObserverFromMirror(mirror, callback); + observer = observerInfo && observerInfo.observer; + } + if (observer) { + return observer; + } + observer = {}; + mirror.value = helpers_1._deepClone(obj); + if (callback) { + observer.callback = callback; + observer.next = null; + var dirtyCheck = function () { + generate(observer); + }; + var fastCheck = function () { + clearTimeout(observer.next); + observer.next = setTimeout(dirtyCheck); + }; + if (typeof window !== 'undefined') { //not Node + window.addEventListener('mouseup', fastCheck); + window.addEventListener('keyup', fastCheck); + window.addEventListener('mousedown', fastCheck); + window.addEventListener('keydown', fastCheck); + window.addEventListener('change', fastCheck); + } + } + observer.patches = patches; + observer.object = obj; + observer.unobserve = function () { + generate(observer); + clearTimeout(observer.next); + removeObserverFromMirror(mirror, observer); + if (typeof window !== 'undefined') { + window.removeEventListener('mouseup', fastCheck); + window.removeEventListener('keyup', fastCheck); + window.removeEventListener('mousedown', fastCheck); + window.removeEventListener('keydown', fastCheck); + window.removeEventListener('change', fastCheck); + } + }; + mirror.observers.set(callback, new ObserverInfo(callback, observer)); + return observer; +} +duplex.observe = observe; +/** + * Generate an array of patches from an observer + */ +function generate(observer, invertible) { + if (invertible === void 0) { invertible = false; } + var mirror = beforeDict.get(observer.object); + _generate(mirror.value, observer.object, observer.patches, "", invertible); + if (observer.patches.length) { + core_1.applyPatch(mirror.value, observer.patches); + } + var temp = observer.patches; + if (temp.length > 0) { + observer.patches = []; + if (observer.callback) { + observer.callback(temp); + } + } + return temp; +} +duplex.generate = generate; +// Dirty check if obj is different from mirror, generate patches and update mirror +function _generate(mirror, obj, patches, path, invertible) { + if (obj === mirror) { + return; + } + if (typeof obj.toJSON === "function") { + obj = obj.toJSON(); + } + var newKeys = helpers_1._objectKeys(obj); + var oldKeys = helpers_1._objectKeys(mirror); + var deleted = false; + //if ever "move" operation is implemented here, make sure this test runs OK: "should not generate the same patch twice (move)" + for (var t = oldKeys.length - 1; t >= 0; t--) { + var key = oldKeys[t]; + var oldVal = mirror[key]; + if (helpers_1.hasOwnProperty(obj, key) && !(obj[key] === undefined && oldVal !== undefined && Array.isArray(obj) === false)) { + var newVal = obj[key]; + if (typeof oldVal == "object" && oldVal != null && typeof newVal == "object" && newVal != null) { + _generate(oldVal, newVal, patches, path + "/" + helpers_1.escapePathComponent(key), invertible); + } + else { + if (oldVal !== newVal) { + if (invertible) { + patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); + } + patches.push({ op: "replace", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(newVal) }); + } + } + } + else if (Array.isArray(mirror) === Array.isArray(obj)) { + if (invertible) { + patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); + } + patches.push({ op: "remove", path: path + "/" + helpers_1.escapePathComponent(key) }); + deleted = true; // property has been deleted + } + else { + if (invertible) { + patches.push({ op: "test", path: path, value: mirror }); + } + patches.push({ op: "replace", path: path, value: obj }); + } + } + if (!deleted && newKeys.length == oldKeys.length) { + return; + } + for (var t = 0; t < newKeys.length; t++) { + var key = newKeys[t]; + if (!helpers_1.hasOwnProperty(mirror, key) && obj[key] !== undefined) { + patches.push({ op: "add", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(obj[key]) }); + } + } +} +/** + * Create an array of patches from the differences in two objects + */ +function compare$1(tree1, tree2, invertible) { + if (invertible === void 0) { invertible = false; } + var patches = []; + _generate(tree1, tree2, patches, '', invertible); + return patches; +} +duplex.compare = compare$1; +/** + * Default export for backwards compat + */ +// import just to re-export as default +var core = core$1; +var helpers_3 = helpers; +duplex.default = __assign({}, core, { + // duplex + unobserve: unobserve, + observe: observe, + generate: generate, + compare: compare$1, + // helpers + JsonPatchError: helpers_3.PatchError, deepClone: helpers_1._deepClone, escapePathComponent: helpers_1.escapePathComponent, + unescapePathComponent: helpers_3.unescapePathComponent }); + +const crypto$7 = require$$0__default["default"]; + +/** + * Simple interaction with 256-bit spaces. + */ +class Hash256$3 { + /** + * Create an instance of a `Hash256` object by calling `new Hash256()`, + * where `settings` can be provided to supply a particular input object. + * + * If the `settings` is not a string, `input` must be provided. + * @param {Object} settings + * @param {String} settings.input Input string to map as 256-bit hash. + */ + constructor (settings = {}) { + if (typeof settings === 'string') settings = { input: settings }; + if (!settings.input) settings.input = crypto$7.randomBytes(32).toString('hex'); + + this.settings = Object.assign({ + hash: Hash256$3.digest(settings.input) + }, settings); + } + + /** + * Produce a SHA256 digest of some input data. + * @param {String|Buffer} input Content to digest. + * @returns {String} `SHA256(input)` as a hexadecimal string. + */ + static digest (input) { + if (typeof input !== 'string' && !(input instanceof Buffer)) { + throw new Error(`Input to process must be of type "String" or "Buffer" to digest.`); + } + + // consume and output as string + return crypto$7.createHash('sha256').update(input).digest('hex'); + } + + // TODO: document `hash256.value` + get value () { + return Hash256$3.digest(this.settings.input); + } + + /** + * Reverses the bytes of the digest. + */ + static reverse (input = '') { + return Buffer.from(input, 'hex').reverse().toString('hex'); + } + + reverse (input = this.value) { + return Hash256$3.reverse(input); + } +} + +var hash256$1 = Hash256$3; + +/** + * Create a new {@link Object} with sorted properties. + * @param {Object} [state] Object to sort. + * @returns {Object} Re-sorted instance of `state` as provided. + */ + +var _sortKeys$1 = function _sortKeys (state = {}) { + return Object.keys(state).sort().reduce((obj, key) => { + obj[key] = state[key]; + return obj; + }, {}); +}; + +// Dependencies +const crypto$6 = require$$0__default["default"]; +const { EventEmitter } = require$$0__default$2["default"]; +const monitor = duplex; + +// Fabric Types +const Hash256$2 = hash256$1; + +// Fabric Functions +const _sortKeys = _sortKeys$1; + +/** + * Generic Fabric Actor. + * @access protected + * @emits message Fabric {@link Message} objects. + * @property {String} id Unique identifier for this Actor (id === SHA256(preimage)). + * @property {String} preimage Input hash for the `id` property (preimage === SHA256(ActorState)). + */ +class Actor$4 extends EventEmitter { + /** + * Creates an {@link Actor}, which emits messages for other + * Actors to subscribe to. You can supply certain parameters + * for the actor, including key material [!!!] — be mindful of + * what you share with others! + * @param {Object} [actor] Object to use as the actor. + * @param {String} [actor.seed] BIP24 Mnemonic to use as a seed phrase. + * @param {Buffer} [actor.public] Public key. + * @param {Buffer} [actor.private] Private key. + * @returns {Actor} Instance of the Actor. Call {@link Actor#sign} to emit a {@link Signature}. + */ + constructor (actor = {}) { + super(actor); + + this.commits = []; + // this.signature = Buffer.alloc(64); + this.value = this._readObject(actor); // TODO: use Buffer? + + // Internal State + this._state = { + type: 'Actor', + data: this.value, + status: 'PAUSED', + content: this.value || {} + }; + + this.monitor = monitor.observe(this._state.content, this._handleMonitorChanges.bind(this)); + + // Chainable + return this; + } + + static fromAny (input = {}) { + let state = null; + + if (typeof input === 'string') { + state = { content: input }; + } else if (input instanceof Buffer) { + state = { content: input.toString('hex') }; + } else { + state = Object.assign({}, input); + } + + return new Actor$4(state); + } + + static fromJSON (input) { + let result = null; + + if (typeof input === 'string' && input.length) { + console.log('trying to parse as JSON:', input); + try { + result = JSON.parse(input); + } catch (E) { + console.error('Failure in fromJSON:', E); + } + } else { + console.trace('Invalid input:', typeof input); + } + + return result; + } + + static randomBytes (count = 32) { + return crypto$6.randomBytes(count); + } + + get id () { + const buffer = Buffer.from(this.preimage, 'hex'); + return Hash256$2.digest(buffer); + } + + get preimage () { + const input = { + 'type': 'FabricActorState', + 'object': this.toObject() + }; + + const string = JSON.stringify(input, null, ' '); + const buffer = Buffer.from(string, 'utf8'); + + return Hash256$2.digest(buffer); + } + + get state () { + return Object.assign({}, this._state.content); + } + + get status () { + return this._state.status; + } + + get type () { + return this._state['@type']; + } + + set state (value) { + this._state.content = value; + } + + set status (value) { + this._state.status = value; + } + + /** + * Resolve the current state to a commitment. + * @emits Actor Current malleable state. + * @returns {String} 32-byte ID + */ + commit () { + const state = new Actor$4(this._state.content); + const commit = new Actor$4({ + state: state.id + }); + + this.history.push(commit); + this.emit('commit', commit); + return commit.id; + } + + debug (...params) { + this.emit('debug', params); + } + + log (...params) { + this.emit('log', ...params); + } + + mutate (seed) { + if (seed === 0 || !seed) seed = this.randomBytes(32).toString('hex'); + + const patches = [ + { op: 'replace', path: '/seed', value: seed } + ]; + + monitor.applyPatch(this._state.content, patches); + this.commit(); + + return this; + } + + /** + * Casts the Actor to a normalized Buffer. + * @returns {Buffer} + */ + toBuffer () { + return Buffer.from(this.serialize(), 'utf8'); + } + + /** + * Returns the Actor's current state as an {@link Object}. + * @returns {Object} + */ + toObject () { + return _sortKeys(this.state); + } + + toString (format = 'json') { + switch (format) { + case 'hex': + return Buffer.from(this.serialize(), 'utf8').toString('hex'); + case 'json': + default: + return this.serialize(); + } + } + + pause () { + this.status = 'PAUSING'; + this.commit(); + return this; + } + + randomBytes (count = 32) { + return crypto$6.randomBytes(count); + } + + /** + * Serialize the Actor's current state into a JSON-formatted string. + * @returns {String} + */ + serialize () { + let json = null; + + try { + json = JSON.stringify(this.toObject(), null, ' '); + } catch (exception) { + json = JSON.stringify({ + type: 'Error', + content: `Exception serializing: ${exception}` + }, null, ' '); + } + + return json; + } + + sha256 (value) { + return Hash256$2.digest(value); + } + + /** + * Signs the Actor. + * @returns {Actor} + */ + sign () { + throw new Error('Unimplemented on this branch. Use @fabric/core/types/signer instead.'); + /* this.signature = this.key._sign(this.toBuffer()); + this.emit('signature', this.signature); + return this; */ + } + + /** + * Toggles `status` property to unpaused. + * @ + * @returns {Actor} + */ + unpause () { + this.status = 'UNPAUSING'; + this.commit(); + this.status = 'UNPAUSED'; + return this; + } + + _getField (name) { + return this._state.content[name]; + } + + /** + * Incurs 1 SYSCALL + * @access private + * @returns {Object} + */ + _getState () { + return this.state; + } + + _handleMonitorChanges (changes) { + console.log('got monitor changes from actor:', changes); + // TODO: emit global state event here + // after verify, commit + } + + /** + * Parse an Object into a corresponding Fabric state. + * @param {Object} input Object to read as input. + * @returns {Object} Fabric state. + */ + _readObject (input = {}) { + let state = {}; + + if (typeof input === 'string') { + state = Object.assign(state, { + type: 'String', + size: input.length, + content: input, + encoding: 'utf8' + }); + } else if (input instanceof Buffer) { + state = Object.assign(state, { + type: 'Buffer', + size: input.length, + content: input.toString('hex'), + encoding: 'hex' + }); + } else { + state = Object.assign(state, input); + } + + return state; + } +} + +var actor = Actor$4; + +var struct$1 = {exports: {}}; + +/** + * Default export `Struct`. + */ + +(function (module, exports) { + // export default Struct; + module.exports = exports = Struct; + + // compatibility + exports.Struct = Struct; + + function boolField(p, offset, length) { + this.length = length; + this.offset = offset; + this.get = function() { + return (p.buf[offset] > 0); + }; + this.set = function (val) { + p.buf[offset] = val ? 1 : 0; + }; + } + + function intField(p, offset, length, le, signed) { + this.length = length; + this.offset = offset; + + function bec(cb) { + for (var i = 0; i < length; i++) + cb(i, length - i - 1); + } + + function lec(cb) { + for (var i = 0; i < length; i++) + cb(i, i); + } + + function getUVal(bor) { + var val = 0; + bor(function (i, o) { + val += Math.pow(256, o) * p.buf[offset + i]; + }); + return val; + } + + function getSVal(bor) { + + var val = getUVal(bor); + if ((p.buf[offset + (le ? (length - 1) : 0)] & 0x80) == 0x80) { + val -= Math.pow(256, length); + } + return val; + } + + function setVal(bor, val) { + bor(function (i, o) { + p.buf[offset + i] = Math.floor(val / Math.pow(256, o)) & 0xff; + }); + } + + var + nativeSuff = (signed?'':'U') + 'Int' + (length * 8) + (le?'LE':'BE'), + readMethod = Buffer.prototype['read' + nativeSuff], writeMethod = Buffer.prototype['write' + nativeSuff]; + + + if (!readMethod) { + this.get = function () { + var bor = le ? lec : bec; + return (signed ? getSVal(bor) : getUVal(bor)); + }; + } + else { + this.get = function () { + return readMethod.call(p.buf, offset); + }; + } + + + if (!writeMethod) { + this.set = function (val) { + var bor = le ? lec : bec; + setVal(bor, val); + }; + } + else { + this.set = function (val) { + writeMethod.call(p.buf, val, offset); + }; + } + + } + + function floatField(p, offset, le) { + this.length = 4; + this.offset = offset; + this.get = function () { + return le ? p.buf.readFloatLE(offset) : p.buf.readFloatBE(offset); + }; + this.set = function (val) { + return le ? p.buf.writeFloatLE(val, offset) : p.buf.writeFloatBE(val, offset); + }; + } + + function doubleField(p, offset, le) { + this.length = 8; + this.offset = offset; + this.get = function () { + return le ? p.buf.readDoubleLE(offset) : p.buf.readDoubleBE(offset); + }; + this.set = function (val) { + return le ? p.buf.writeDoubleLE(val, offset) : p.buf.writeDoubleBE(val, offset); + }; + } + + function charField(p, offset, length, encoding, secure) { + var self = this; + self.length = length; + self.offset = offset; + self.encoding = encoding; + self.secure = secure; + self.get = function () { + if (!length) + return; + + var result = p.buf.toString(self.encoding, offset, (offset + length)); + var strlen = result.indexOf("\0"); + if (strlen == -1) { + return result; + } else { + return result.slice(0, strlen); + } + }; + self.set = function (val) { + if (!length) + return; + + // Be string is terminated with the null char, else troncate it + if (secure === true) { + + // Append \0 to the string + val += "\0"; + if (val.length >= length) { + val = val.substring(0, length - 1); + val += "\0"; + } + + // Write to buffer + p.buf.write(val, offset, val.length, self.encoding); + + // Fill rest of the buffer with \0 + var remainSpace = (length - val.length); + if (remainSpace > 0) { + p.buf.fill(0, (offset + val.length), offset + length); + } + + } else { + // Trust Buffer class to write the string into the buffer + p.buf.write(val, offset, length, self.encoding); + } + }; + } + + function structField(p, offset, struct) { + this.length = struct.length(); + this.offset = offset; + this.get = function () { + return struct; + }; + this.set = function (val) { + struct.set(val); + }; + this.allocate = function () { + struct._setBuff(p.buf.slice(offset, offset + struct.length())); + }; + } + + function arrayField(p, offset, len, type) { + var as = Struct(); + var args = [].slice.call(arguments, 4); + args.unshift(0); + for (var i = 0; i < len; i++) { + if (type instanceof Struct) { + as.struct(i, type.clone()); + } else if (type in as) { + args[0] = i; + as[type].apply(as, args); + } + } + this.length = as.length(); + this.offset = offset; + this.allocate = function () { + as._setBuff(p.buf.slice(offset, offset + as.length())); + }; + this.get = function () { + return as; + }; + this.set = function (val) { + as.set(val); + }; + } + + function Struct() { + if (!(this instanceof Struct)) + return new Struct; + + var priv = { + buf : {}, + allocated : false, + len : 0, + fields : {}, + closures : [] + }, self = this; + + function checkAllocated() { + if (priv.allocated) + throw new Error('Cant change struct after allocation'); + } + + // Create handlers for various float Field Variants + [true, false].forEach(function (le) { + self['float' + (le ? 'le' : 'be')] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + var n = 4; + p.fields[key] = new floatField(p, p.len, le); + p.len += n; + }); + return this; + }; + }); + + // Create handlers for various double Field Variants + [true, false].forEach(function (le) { + self['double' + (le ? 'le' : 'be')] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + var n = 8; + p.fields[key] = new doubleField(p, p.len, le); + p.len += n; + }); + return this; + }; + }); + + // Create handlers for various Bool Field Variants + [1, 2, 3, 4].forEach(function (n) { + self['bool' + (n == 1 ? '' : n)] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new boolField(p, p.len, n); + p.len += n; + }); + return this; + }; + }); + + // Create handlers for various Integer Field Variants + [1, 2, 3, 4, 6, 8].forEach(function (n) { + [true, false].forEach(function (le) { + [true, false].forEach(function (signed) { + var name = 'word' + (n * 8) + (signed ? 'S' : 'U') + (le ? 'le' : 'be'); + self[name] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new intField(p, p.len, n, le, signed); + p.len += n; + }); + return this; + }; + }); + }); + }); + this.word8 = this.word8Ule; + + ['chars', 'charsnt'].forEach(function (c) { + self[c] = function (key, length, encoding) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new charField(p, p.len, length, encoding || 'ascii', (c == 'charsnt')); + p.len += length; + }); + return this; + }; + }); + + this.struct = function (key, struct) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new structField(p, p.len, struct.clone()); + p.len += p.fields[key].length; + }); + return this; + }; + function construct(constructor, args) { + function F() { + return constructor.apply(this, args); + } + + F.prototype = constructor.prototype; + return new F(); + } + + + this.array = function (key, length, type) { + checkAllocated(); + var args = [].slice.call(arguments, 1); + args.unshift(null); + args.unshift(null); + priv.closures.push(function (p) { + args[0] = p; + args[1] = p.len; + p.fields[key] = construct(arrayField, args); + p.len += p.fields[key].length; + }); + + return this; + }; + var beenHere = false; + + function applyClosures(p) { + if (beenHere) + return; + p.closures.forEach(function (el) { + el(p); + }); + beenHere = true; + } + + function allocateFields() { + for (var key in priv.fields) { + if ('allocate' in priv.fields[key]) + priv.fields[key].allocate(); + } + } + + this._setBuff = this.setBuffer = function (buff, buffLength) { + applyClosures(priv); + if (typeof (buffLength) === 'number') { + if (buffLength > buff.length) { + throw new Error('Invalid specified buffer size !'); + } + priv.buf = buff.slice(0, buffLength); + } else { + priv.buf = buff; + } + if (priv.buf.length < priv.len) { + throw new Error('Buffer size too small for struct layout !'); + } + allocateFields(); + priv.allocated = true; + }; + + this.allocate = function () { + applyClosures(priv); + if (Buffer.alloc) { + priv.buf = Buffer.alloc(priv.len); + } else { + priv.buf = new Buffer(priv.len); + priv.buf.fill(0); + } + allocateFields(); + priv.allocated = true; + return this; + }; + + this._getPriv = function () { + return priv; + }; + + this.getOffset = function (field) { + if (priv.fields[field]) return priv.fields[field].offset; + }; + + this.clone = function () { + var c = new Struct; + var p = c._getPriv(); + p.closures = priv.closures.slice(0); + return c; + }; + + this.length = function () { + applyClosures(priv); + return priv.len; + }; + + this.get = function (key) { + if (key in priv.fields) { + return priv.fields[key].get(); + } else + throw new Error('Can not find field ' + key); + }; + + this.set = function (key, val) { + if (arguments.length == 2) { + if (key in priv.fields) { + priv.fields[key].set(val); + } else + throw new Error('Can not find field ' + key); + } else if (Buffer.isBuffer(key)) { + this._setBuff(key); + } else { + for (var k in key) { + this.set(k, key[k]); + } + } + }; + this.buffer = function () { + return priv.buf; + }; + + + function getFields() { + var fields = {}; + Object.keys(priv.fields).forEach(function (key) { + var setFunc, getFunc; + if (priv.fields[key] instanceof structField || + priv.fields[key] instanceof arrayField) { + getFunc = function () { + return priv.fields[key].get().fields; + }; + setFunc = function (newVal) { + self.set(key, newVal); + }; + } + else { + getFunc = priv.fields[key].get; + setFunc = priv.fields[key].set; + } + Object.defineProperty(fields, key, { + get : getFunc, + set : setFunc, + enumerable : true + }); + }); + return fields; + } + var _fields; + Object.defineProperty(this, 'fields', { + get : function () { + if (_fields) + return _fields; + return (_fields = getFields()); + }, + enumerable : true, + configurable : true + }); + + } +} (struct$1, struct$1.exports)); + +const Actor$3 = actor; +const Hash256$1 = hash256$1; + +class Label$1 extends Actor$3 { + constructor (input = '') { + super(input); + if (typeof input != 'string') input = super.serialize(input); + this._id = Hash256$1.digest(`@labels/${input}`); + return this; + } +} + +var label = Label$1; + +var padDigits$1 = function padDigits (number, digits) { + return Array(Math.max(digits - String(number).length + 1, 0)).join(0) + number; +}; + +const { + MAGIC_BYTES, + VERSION_NUMBER, + HEADER_SIZE, + MAX_MESSAGE_SIZE, + OP_CYCLE, + GENERIC_MESSAGE_TYPE, + LOG_MESSAGE_TYPE, + GENERIC_LIST_TYPE, + P2P_GENERIC, + P2P_IDENT_REQUEST, + P2P_IDENT_RESPONSE, + P2P_ROOT, + P2P_PING, + P2P_PONG, + P2P_START_CHAIN, + P2P_INSTRUCTION, + P2P_BASE_MESSAGE, + P2P_CHAIN_SYNC_REQUEST, + P2P_STATE_ROOT, + P2P_STATE_COMMITTMENT, + P2P_STATE_CHANGE, + P2P_STATE_REQUEST, + P2P_TRANSACTION, + P2P_CALL: P2P_CALL$1, + CHAT_MESSAGE, + DOCUMENT_PUBLISH_TYPE, + DOCUMENT_REQUEST_TYPE, + BLOCK_CANDIDATE, + PEER_CANDIDATE, + SESSION_START +} = constants$1; + +// Dependencies +const crypto$5 = require$$0__default["default"]; +const struct = struct$1.exports; + +// Fabric Types +const Actor$2 = actor; +const Label = label; + +// Function Definitions +const padDigits = padDigits$1; + +// Type Labels +const TYPE_ETHEREUM_BLOCK = parseInt((new Label('types/EthereumBlock'))._id, 16); +const TYPE_ETHEREUM_BLOCK_NUMBER = parseInt((new Label('types/EthereumBlockNumber'))._id, 16); + +/** + * The {@link Message} type defines the Application Messaging Protocol, or AMP. + * Each {@link Actor} in the network receives and broadcasts messages, + * selectively disclosing new routes to peers which may have open circuits. + * @type {Object} + */ +class Message$1 extends Actor$2 { + /** + * The `Message` type is standardized in {@link Fabric} as a {@link Array}, which can be added to any other vector to compute a resulting state. + * @param {Object} message Message vector. Will be serialized by {@link Array#_serialize}. + * @return {Message} Instance of the message. + */ + constructor (input = {}) { + super(input); + + this.raw = { + magic: Buffer.alloc(4), + version: Buffer.alloc(4), + parent: Buffer.alloc(32), + type: Buffer.alloc(4), // TODO: 8, 32 + size: Buffer.alloc(4), // TODO: 8, 32 + hash: Buffer.alloc(32), + signature: Buffer.alloc(64), + data: null + }; + + this.raw.magic.write(MAGIC_BYTES.toString(16), 'hex'); + this.raw.version.write(padDigits(VERSION_NUMBER.toString(16), 8), 'hex'); + + if (input.data && input.type) { + this.type = input.type; + + if (typeof input.data !== 'string') { + this.data = JSON.stringify(input.data); + } else { + this.data = input.data; + } + } + + // Set various properties to be unenumerable + for (let name of [ + '@input', + '@entity', + '_state', + 'config', + 'settings', + 'stack', + 'observer' + ]) Object.defineProperty(this, name, { enumerable: false }); + + return this; + } + + get body () { + return this.raw.data.toString('utf8'); + } + + get byte () { + const input = 0 + ''; + const num = Buffer.from(`0x${padDigits(input, 8)}`, 'hex'); + return num; + } + + get tu16 () { + return parseInt(0); + } + + get tu32 () { + return parseInt(0); + } + + get tu64 () { + return parseInt(0); + } + + get Uint256 () { + // 256 bits + return Buffer.from((this.raw && this.raw.hash) ? `0x${padDigits(this.raw.hash, 8)}` : crypto$5.randomBytes(32)); + } + + set signature (value) { + if (value instanceof Buffer) value = value.toString('hex'); + this.raw.signature.write(value, 'hex'); + } + + toBuffer () { + return this.asRaw(); + } + + /** + * Returns a {@link Buffer} of the complete message. + * @return {Buffer} Buffer of the encoded {@link Message}. + */ + asRaw () { + return Buffer.concat([this.header, this.raw.data]); + } + + toRaw () { + return this.asRaw(); + } + + asTypedArray () { + return new Uint8Array(this.asRaw()); + // TODO: Node 12 + // return new TypedArray(this.asRaw()); + } + + asBlob () { + return this.asRaw().map(byte => parseInt(byte, 16)); + } + + toObject () { + return { + headers: { + magic: parseInt(`${this.raw.magic.toString('hex')}`, 16), + version: parseInt(`${this.raw.version.toString('hex')}`, 16), + parent: this.raw.parent.toString('hex'), + type: parseInt(`${this.raw.type.toString('hex')}`, 16), + size: parseInt(`${this.raw.size.toString('hex')}`, 16), + signature: this.raw.signature.toString('hex'), + hash: this.raw.hash.toString('hex') + }, + type: this.type, + data: this.data + }; + } + + fromObject (input) { + return new Message$1(input); + } + + static parseBuffer (buffer) { + const message = struct() + .charsnt('magic', 4, 'hex') + .charsnt('version', 4, 'hex') + .charsnt('parent', 32, 'hex') + .charsnt('type', 4, 'hex') + .charsnt('size', 4, 'hex') + .charsnt('hash', 32, 'hex') + .charsnt('signature', 64, 'hex') + .charsnt('data', buffer.length - HEADER_SIZE); + + message.allocate(); + message._setBuff(buffer); + + return message; + } + + static parseRawMessage (buffer) { + const message = { + magic: buffer.slice(0, 4), + version: buffer.slice(4, 8), + parent: buffer.slice(8, 40), + type: buffer.slice(40, 44), + size: buffer.slice(44, 48), + hash: buffer.slice(48, 80), + signature: buffer.slice(80, 144) + }; + + if (buffer.length >= 144) { + message.data = buffer.slice(144, buffer.length); + } + + return message; + }; + + static fromBuffer (buffer) { + return Message$1.fromRaw(buffer); + } + + static fromRaw (input) { + if (!input) return null; + if (!(input instanceof Buffer)) throw new Error('Input must be a buffer.'); + // if (input.length < HEADER_SIZE) return null; + // if (input.length > MAX_MESSAGE_SIZE) return new Error('Input too large.'); + + const message = new Message$1(); + + message.raw = { + magic: input.slice(0, 4), + version: input.slice(4, 8), + parent: input.slice(8, 40), + type: input.slice(40, 44), + size: input.slice(40, 48), + hash: input.slice(40, 80), + signature: input.slice(0, 144) + }; + + message.data = input.slice(HEADER_SIZE); + + return message; + } + + static fromVector (vector = ['LogMessage', 'No vector provided.']) { + let message = null; + + try { + message = new Message$1({ + type: vector[0], + data: vector[1] + }); + } catch (exception) { + console.error('[FABRIC:MESSAGE]', 'Could not construct Message:', exception); + } + + return message; + } + + /* get [Symbol.toStringTag] () { + return ``; + } */ + + get id () { + return crypto$5.createHash('sha256').update(this.asRaw()).digest('hex'); + } + + get types () { + // Message Types + return { + 'GenericMessage': GENERIC_MESSAGE_TYPE, + 'GenericLogMessage': LOG_MESSAGE_TYPE, + 'GenericList': GENERIC_LIST_TYPE, + 'GenericQueue': GENERIC_LIST_TYPE, + 'FabricLogMessage': LOG_MESSAGE_TYPE, + 'FabricServiceLogMessage': LOG_MESSAGE_TYPE, + 'GenericTransferQueue': GENERIC_LIST_TYPE, + // TODO: document Generic type + // P2P Commands + 'Generic': P2P_GENERIC, + 'Cycle': OP_CYCLE, + 'IdentityRequest': P2P_IDENT_REQUEST, + 'IdentityResponse': P2P_IDENT_RESPONSE, + 'ChainSyncRequest': P2P_CHAIN_SYNC_REQUEST, + // TODO: restore this type + // 'StateRoot': P2P_ROOT, + 'Ping': P2P_PING, + 'Pong': P2P_PONG, + 'DocumentRequest': DOCUMENT_REQUEST_TYPE, + 'DocumentPublish': DOCUMENT_PUBLISH_TYPE, + 'BlockCandidate': BLOCK_CANDIDATE, + 'PeerCandidate': PEER_CANDIDATE, + 'PeerInstruction': P2P_INSTRUCTION, + 'PeerMessage': P2P_BASE_MESSAGE, + 'StartSession': SESSION_START, + 'ChatMessage': CHAT_MESSAGE, + 'StartChain': P2P_START_CHAIN, + // TODO: restore above StateRoot type + 'StateRoot': P2P_STATE_ROOT, + 'StateCommitment': P2P_STATE_COMMITTMENT, + 'StateChange': P2P_STATE_CHANGE, + 'StateRequest': P2P_STATE_REQUEST, + 'Transaction': P2P_TRANSACTION, + 'Call': P2P_CALL$1, + 'LogMessage': LOG_MESSAGE_TYPE, + 'EthereumBlock': TYPE_ETHEREUM_BLOCK, + 'EthereumBlockNumber': TYPE_ETHEREUM_BLOCK_NUMBER + }; + } + + get codes () { + return Object.entries(this.types).reduce((ret, entry) => { + const [ key, value ] = entry; + ret[ value ] = key; + return ret; + }, {}); + } + + get magic () { + return this.raw.magic; + } + + get signature () { + return parseInt(Buffer.from(this.raw.signature, 'hex')); + } + + get size () { + return parseInt(Buffer.from(this.raw.size, 'hex')); + } + + get version () { + return parseInt(Buffer.from(this.raw.version)); + } + + get header () { + const parts = [ + Buffer.from(this.raw.magic, 'hex'), + Buffer.from(this.raw.version, 'hex'), + Buffer.from(this.raw.type, 'hex'), + Buffer.from(this.raw.size, 'hex'), + Buffer.from(this.raw.signature, 'hex'), + Buffer.from(this.raw.hash, 'hex') + ]; + + return Buffer.concat(parts); + } +} + +Object.defineProperty(Message$1.prototype, 'type', { + get () { + const code = parseInt(this.raw.type.toString('hex'), 16); + switch (code) { + case GENERIC_MESSAGE_TYPE: + return 'GenericMessage'; + case LOG_MESSAGE_TYPE: + return 'GenericLogMessage'; + case GENERIC_LIST_TYPE: + return 'GenericList'; + case DOCUMENT_PUBLISH_TYPE: + return 'DocumentPublish'; + case DOCUMENT_REQUEST_TYPE: + return 'DocumentRequest'; + case BLOCK_CANDIDATE: + return 'BlockCandidate'; + case OP_CYCLE: + return 'Cycle'; + case P2P_PING: + return 'Ping'; + case P2P_PONG: + return 'Pong'; + case P2P_GENERIC: + return 'Generic'; + case P2P_CHAIN_SYNC_REQUEST: + return 'ChainSyncRequest'; + case P2P_IDENT_REQUEST: + return 'IdentityRequest'; + case P2P_IDENT_RESPONSE: + return 'IdentityResponse'; + case P2P_BASE_MESSAGE: + return 'PeerMessage'; + case P2P_STATE_ROOT: + return 'StateRoot'; + case P2P_STATE_CHANGE: + return 'StateChange'; + case P2P_STATE_REQUEST: + return 'StateRequest'; + case P2P_TRANSACTION: + return 'Transaction'; + case P2P_CALL$1: + return 'Call'; + case PEER_CANDIDATE: + return 'PeerCandidate'; + case SESSION_START: + return 'StartSession'; + case CHAT_MESSAGE: + return 'ChatMessage'; + case P2P_START_CHAIN: + return 'StartChain'; + case TYPE_ETHEREUM_BLOCK: + return 'EthereumBlock'; + case TYPE_ETHEREUM_BLOCK_NUMBER: + return 'EthereumBlockNumber'; + default: + return 'GenericMessage'; + } + }, + set (value) { + let code = this.types[value]; + // Default to GenericMessage; + if (!code) { + this.emit('warning', `Unknown message type: ${value}`); + code = this.types['GenericMessage']; + } + + const padded = padDigits(code.toString(16), 8); + this['@type'] = value; + this.raw.type.write(padded, 'hex'); + } +}); + +Object.defineProperty(Message$1.prototype, 'data', { + get () { + if (!this.raw.data) return ''; + return this.raw.data.toString('utf8'); + }, + set (value) { + if (!value) value = ''; + const hash = crypto$5.createHash('sha256').update(value.toString('utf8')); + this.raw.hash = hash.digest(); + this.raw.data = Buffer.from(value); + this.raw.size.write(padDigits(this.raw.data.byteLength.toString(16), 8), 'hex'); + } +}); + +var message = Message$1; + +const { + P2P_CALL +} = constants$1; +const querystring = require$$3__default["default"]; + +// External Dependencies +const fetch = require$$4; +const parser = contentType; +ws.WebSocket; + +// Internal Types +const Actor$1 = actor; +const Message = message; +const CONTENT_TYPE = 'application/json'; + +/** + * Interact with a remote {@link Resource}. This is currently the only + * HTTP-related code that should remain in @fabric/core — all else must + * be moved to @fabric/http before final release! + * @type {Remote} + * @property {Object} config + * @property {Boolean} secure + */ +class Remote extends Actor$1 { + /** + * An in-memory representation of a node in our network. + * @param {Object} target - Target object. + * @param {String} target.host - Named host, e.g. "localhost". + * @param {String} target.secure - Require TLS session. + * @constructor + */ + constructor (config = {}) { + super(config); + + this.settings = Object.assign({ + authority: 'localhost', + backoff: 2, + entropy: Math.random(), + secure: true, + host: 'hub.fabric.pub', + port: 443 + }, config); + + this.host = this.settings.host || this.settings.authority; + this.secure = this.settings.secure; + this.socket = null; + + this.endpoint = `${(this.secure) ? 'wss' : 'ws'}:${this.host}:${this.port}/`; + + this._nextReconnect = 0; + this._reconnectAttempts = 0; + this._state = { + status: 'PAUSED', + messages: [], + meta: { + messages: { + count: 0 + } + } + }; + + return this; + } + + get port () { + return this.settings.port; + } + + get authority () { + // TODO: use onion address for secure mode + const parts = this.settings.authority.split(':'); + const state = { + host: null, + secure: null, + protocol: null, + port: null + }; + + // Check number of components + switch (parts.length) { + default: + // TODO: warn about unexpected values + state.host = this.settings.host; + state.port = this.settings.port; + state.secure = this.settings.secure; + break; + case 1: + state.host = parts[0]; + state.port = this.settings.port; + state.secure = this.settings.secure; + break; + case 2: + state.host = parts[0]; + state.port = parts[1]; + state.secure = this.settings.secure; + break; + case 3: + state.host = parts[1]; + state.port = parts[2]; + // TODO: should settings override protocol inclusion? + state.secure = (parts[0].charAt(4) === 's'); + break; + } + + // Finally set protocol for all cases... + state.protocol = (!state.secure) ? 'http' : 'https'; + + return `${state.protocol}://${state.host}:${state.port}`; + } + + get isArrayBufferSupported () { + return (new Buffer(new Uint8Array([1]).buffer)[0] === 1); + } + + get arrayBufferToBuffer () { + return this.isArrayBufferSupported ? this.arrayBufferToBufferAsArgument : this.arrayBufferToBufferCycle; + } + + arrayBufferToBufferAsArgument (ab) { + return new Buffer(ab); + } + + arrayBufferToBufferCycle (ab) { + var buffer = new Buffer(ab.byteLength); + var view = new Uint8Array(ab); + for (var i = 0; i < buffer.length; ++i) { + buffer[i] = view[i]; + } + return buffer; + } + + async _handleSocketClose (message) { + this._state.status = 'CLOSED'; + console.log('[FABRIC:REMOTE]', 'Socket close:', message); + this._reconnectAttempts++; + this._reconnector = setTimeout(this.connect.bind(this), this._nextReconnect); + this._nextReconnect = Math.pow(this.settings.backoff, this._reconnectAttempts) * 1000 * Math.random(); + } + + async _handleSocketError (message) { + console.error('[FABRIC:REMOTE]', 'Socket error:', message); + this.emit('error', message); + } + + async _handleSocketMessage (packet) { + this.emit('debug', `[FABRIC:REMOTE] Socket packet ${JSON.stringify(packet)}`); + const length = packet.data.byteLength; + console.log('length:', length); + const buffer = Buffer.from(packet.data); + console.log('buffer:', buffer); + const message = Message.fromRaw(buffer).toObject(); + console.log('message:', message); + this._state.messages.push(message); + ++this._state.meta.messages.count; + this.emit('message', message); + } + + async _handleSocketOpen (message) { + this._nextReconnect = 0; + this._reconnectAttempts = 0; + if (this._reconnector) clearTimeout(this._reconnector); + this._state.status = 'CONNECTED'; + this.emit('ready'); + } + + async executeMethod (name, params = []) { + const call = Message.fromVector([P2P_CALL, JSON.stringify([name, params])]); + console.log('call:', call); + console.log('raw:', call.toRaw()); + return this.socket.send(call.toRaw()); + } + + async connect () { + this._state.status = 'CONNECTING'; + + try { + this.socket = new WebSocket(this.endpoint); + console.log('socket:', this.socket); + } catch (exception) { + console.error('[FABRIC:REMOTE]', 'Unable to connect:', exception); + } + + if (this.socket) { + this.socket.binaryType = 'arraybuffer'; + this.socket.addEventListener('close', this._handleSocketClose.bind(this)); + this.socket.addEventListener('open', this._handleSocketOpen.bind(this)); + this.socket.addEventListener('message', this._handleSocketMessage.bind(this)); + this.socket.addEventListener('error', this._handleSocketError.bind(this)); + } + + return this; + } + + /** + * Enumerate the available Resources on the remote host. + * @return {Configuration} An object with enumerable key/value pairs for the Application Resource Contract. + */ + async enumerate () { + const options = await this._OPTIONS('/'); + const results = []; + + for (const name in options) { + const definition = options[name]; + results.push({ + name: definition.name, + description: definition.description, + components: Object.assign({ + list: 'maki-resource-list', + view: 'maki-resource-view' + }, definition.components), + routes: definition.routes, + attributes: definition.attributes, + names: definition.names + }); + } + + return options; + } + + /** + * Make an HTTP request to the configured authority. + * @param {String} type One of `GET`, `PUT`, `POST`, `DELETE`, or `OPTIONS`. + * @param {String} path The path to request from the authority. + * @param {Object} [params] Options. + * @returns {FabricHTTPResult} + */ + async request (type, path, params = {}) { + const self = this; + + let url = this.authority + path; + let result = null; + let response = null; + let headers = { + 'Accept': CONTENT_TYPE, + 'Content-Type': CONTENT_TYPE + }; + + let opts = { + method: type, + headers: headers + }; + + // TODO: break out into independent auth module + if (this.settings.username || this.settings.password) { + headers['Authorization'] = `Basic ${Buffer.from([ + this.settings.username || '', + this.settings.password || '' + ].join(':')).toString('base64')}`; + } + + switch (params.mode) { + case 'query': + url += '?' + querystring.stringify(params.body); + break; + default: + try { + opts.body = JSON.stringify(params.body); + } catch (exception) { + console.error('[FABRIC:REMOTE] Could not prepare request:', exception); + } + + opts = Object.assign(opts, { + body: params.body || null + }); + break; + } + + // Core Logic + try { + response = await fetch(url, opts); + } catch (e) { + self.emit('error', `[REMOTE] exception: ${e}`); + } + + if (!response) { + return { + status: 'error', + message: 'No response to request.' + }; + } + + switch (response.status) { + case 404: + result = { + status: 'error', + message: 'Document not found.' + }; + break; + default: + if (response.ok) { + const formatter = parser.parse(response.headers.get('content-type')); + switch (formatter.type) { + case 'application/json': + try { + result = await response.json(); + } catch (E) { + console.error('[REMOTE]', 'Could not parse JSON:', E); + } + break; + default: + if (this.settings.verbosity >= 4) self.emit('warning', `[FABRIC:REMOTE] Unhandled headers content type: ${formatter.type}`); + result = await response.text(); + break; + } + } else { + if (this.settings.verbosity >= 4) console.warn('[FABRIC:REMOTE]', 'Unmanaged HTTP status code:', response.status); + + try { + result = response.json(); + } catch (exception) { + result = response.text(); + } + } + break; + } + + return result; + } + + async ping () { + this.send({ + created: (new Date()).toISOString(), + type: 'PING' + }); + } + + async send (message) { + const msg = Message.fromVector(['GenericMessage', JSON.stringify(message)]); + const raw = msg.toRaw(); + const actor = new Actor$1({ content: raw.toString('hex') }); + this.socket.send(raw); + return actor.id; + } + + async sendAsJSON (message) { + this.socket.send({ + content: message + }); + } + + /** + * HTTP PUT against the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} body - Map of parameters to supply. + * @return {FabricHTTPResult|String} Result of request. + */ + async _PUT (key, body) { + return this.request('put', key, { body }); + } + + /** + * HTTP GET against the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {FabricHTTPResult|String} Result of request. + */ + async _GET (key, params) { + return this.request('get', key, params); + } + + /** + * HTTP POST against the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {FabricHTTPResult|String} Result of request. + */ + async _POST (key, obj, params = {}) { + let result = null; + let options = null; + + switch (params.mode) { + case 'query': + options = Object.assign({}, { + body: obj, + mode: 'query' + }); + break; + default: + options = Object.assign({}, params, { + body: obj, + mode: 'body' + }); + break; + } + + result = await this.request('post', key, options); + + return result; + } + + /** + * HTTP OPTIONS on the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {Object} - Full description of remote resource. + */ + async _OPTIONS (key, params) { + return this.request('options', key, params); + } + + /** + * HTTP PATCH on the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} body - Map of parameters to supply. + * @return {Object} - Full description of remote resource. + */ + async _PATCH (key, body) { + return this.request('patch', key, { body }); + } + + /** + * HTTP DELETE on the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {Object} - Full description of remote resource. + */ + async _DELETE (key, params) { + return this.request('delete', key, params); + } + + async _SEARCH (key, params) { + return this.request('search', key, params); + } +} + +var remote = Remote; + +var Remote$1 = /*#__PURE__*/_mergeNamespaces({ + __proto__: null, + 'default': remote +}, [remote]); + +var FabricBridge$1 = /*#__PURE__*/function (_React$Component) { + _inherits(FabricBridge, _React$Component); + + var _super = _createSuper(FabricBridge); + + function FabricBridge(props) { + var _this; + + _classCallCheck$1(this, FabricBridge); + + _this = _super.call(this, props); + _this.settings = Object.assign({ + host: 'localhost', + port: 9999, + secure: false + }, props); + _this.state = merge__default["default"]({ + integrity: 'sha256-deadbeefbabe', + status: 'disconnected', + messages: [], + meta: { + messages: { + count: 0 + } + } + }, _this.settings); + console.log('bridge settings:', _this.settings); + _this.remote = new Remote$1({ + host: _this.settings.host, + port: _this.settings.port, + secure: _this.settings.secure + }); + /* this.agent = new Worker({ + service: main, + settings: settings + }); */ + + return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); + } + + _createClass$1(FabricBridge, [{ + key: "_handleRemoteMessage", + value: function _handleRemoteMessage(message) { + console.log('Remote message:', message); + + this._syncState(); + } + }, { + key: "_handleRemoteError", + value: function _handleRemoteError(error) { + console.log('Remote error:', error); + } + }, { + key: "_syncState", + value: function _syncState() { + this.setState({ + status: this.remote._state.status, + messages: this.remote._state.messages, + meta: this.remote._state.meta + }); + } + }, { + key: "componentDidMount", + value: function componentDidMount() { + console.log('bridge mounted! starting...'); // this.agent.executeMethod('connect'); + // this.process.executeMethod('connect'); + + this.start(); + } + }, { + key: "connect", + value: function connect() { + this._syncState(); + + this.remote.connect(); + + this._syncState(); + } + }, { + key: "executeMethod", + value: function executeMethod(name, params) { + return this.remote.executeMethod(name, params); + } + }, { + key: "ping", + value: function ping() { + this.remote.ping(); + } + }, { + key: "render", + value: function render() { + return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { + fluid: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { + floated: "right" + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + onClick: this.ping.bind(this) + }, "Ping ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "info" + })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + onClick: this.connect.bind(this) + }, "Connect ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "lightning" + }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, { + as: "h3" + }, "Bridge")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed, null, this.state.messages.map(function (message, i) { + return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Event, { + size: "small", + key: i, + style: { + fontSize: '0.8em', + fontFamily: 'monospace' + } + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Content, null, /*#__PURE__*/React__default["default"].createElement("div", { + style: { + color: 'black' + } + }, JSON.stringify(message, null, ' ')))); + }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { + extra: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "info" + }), " ", this.remote._state.status), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "mail" + }), " ", this.remote._state.meta.messages.count)))); + } + }, { + key: "send", + value: function () { + var _send = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(message) { + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", this.remote.send(message)); + + case 1: + case "end": + return _context.stop(); + } + } + }, _callee, this); + })); + + function send(_x) { + return _send.apply(this, arguments); + } + + return send; + }() + }, { + key: "start", + value: function () { + var _start = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + this.remote.on('ready', this.props.remoteReady.bind(this)); + this.remote.on('message', this._handleRemoteMessage.bind(this)); + this.remote.on('error', this._handleRemoteError.bind(this)); + this.connect(); + + case 4: + case "end": + return _context2.stop(); + } + } + }, _callee2, this); + })); + + function start() { + return _start.apply(this, arguments); + } + + return start; + }() + }]); + + return FabricBridge; +}(React__default["default"].Component); + +var FabricBridge$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': FabricBridge$1 +}); + +var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(FabricBridge$2); + +var lib$1 = {}; + +var bitConverter = {}; + +Object.defineProperty(bitConverter, "__esModule", { + value: true +}); +bitConverter.createBitArray = createBitArray; +bitConverter.fromBits = fromBits; +bitConverter.toBits = toBits; + +/* eslint-disable no-unused-vars */ + +/** + * Virtual type for bit arrays, i.e., arrays in which each element contains + * an integer in range `[0, 1 << L)`, where `1 <= L <= 8`. + */ + +/* eslint-enable no-unused-vars */ + +/** + * Performs unchecked conversion from `Uint8Array` to `BitArray`. + * This function is translated as the indentity operation by Babel; it's needed purely + * for Flow type checks. + * + * @param {Uint8Array} src + * array to convert + * @returns {Uint8Array} + * `src` interpreted as a `BitArray` with the specified bitness + * + * @api private + */ +function toBitArrayUnchecked(src) { + return src; +} +/** + * Creates a new array with specified bitness. + * + * @param {number} len + * length of the created array + * @returns {Uint8Array} + * + * @api private + */ + + +function createBitArray(len) { + return toBitArrayUnchecked(new Uint8Array(len)); +} +/** + * Converts an array from one number of bits per element to another. + * + * @api private + */ + + +function convert$1(src, srcBits, dst, dstBits, pad) { + var mask = (1 << dstBits) - 1; + var acc = 0; + var bits = 0; + var pos = 0; + src.forEach(function (b) { + // Pull next bits from the input buffer into accumulator. + acc = (acc << srcBits) + b; + bits += srcBits; // Push into the output buffer while there are enough bits in the accumulator. + + while (bits >= dstBits) { + bits -= dstBits; + dst[pos] = acc >> bits & mask; + pos += 1; + } + }); + + if (pad) { + if (bits > 0) { + // `dstBits - rem.bits` is the number of trailing zero bits needed to be appended + // to accumulator bits to get the trailing bit group. + dst[pos] = acc << dstBits - bits & mask; + } + } else { + // Truncate the remaining padding, but make sure that it is zeroed and not + // overly long first. + if (bits >= srcBits) { + throw new Error("Excessive padding: ".concat(bits, " (max ").concat(srcBits - 1, " allowed)")); + } + + if (acc % (1 << bits) !== 0) { + throw new Error('Non-zero padding'); + } + } +} +/** + * Encodes a `Uint8Array` buffer as an array with a lesser number of bits per element. + * + * @api private + */ + + +function toBits(src, bits, dst) { + if (bits > 8 || bits < 1) { + throw new RangeError('Invalid bits per element; 1 to 8 expected'); + } // `BitArray<8>` is equivalent to `Uint8Array`; unfortunately, Flow + // has problems expressing this, so the explicit conversion is performed here. + + + convert$1(toBitArrayUnchecked(src), 8, dst, bits, true); + return dst; +} + +function fromBits(src, bits, dst) { + if (bits > 8 || bits < 1) { + throw new RangeError('Invalid bits per element; 1 to 8 expected'); + } + + convert$1(src, bits, toBitArrayUnchecked(dst), 8, false); + return dst; +} + +var encoding = {}; + +Object.defineProperty(encoding, "__esModule", { + value: true +}); +encoding.CHECKSUM_LENGTH = void 0; +encoding.createChecksum = createChecksum; +encoding.decode = decode$6; +encoding.decodeWithPrefix = decodeWithPrefix; +encoding.encode = encode$6; +encoding.expandPrefix = expandPrefix; +encoding.verifyChecksum = verifyChecksum; + +var _bitConverter$1 = bitConverter; + +// Alphabet for Bech32 +var CHARSET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; // Checksum constant for Bech32m. + +var BECH32M_CHECKSUM = 0x2bc830a3; +var CHECKSUM_LENGTH = 6; // Reverse lookup for characters + +encoding.CHECKSUM_LENGTH = CHECKSUM_LENGTH; + +var CHAR_LOOKUP = function () { + var lookup = new Map(); + + for (var i = 0; i < CHARSET.length; i += 1) { + lookup.set(CHARSET[i], i); + } + + return lookup; +}(); // Poly generators + + +var GEN = [0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3]; + +function polymod(values) { + return values.reduce(function (checksum, value) { + var bits = checksum >> 25; + var newChecksum = (checksum & 0x1ffffff) << 5 ^ value; + return GEN.reduce(function (chk, gen, i) { + return (bits >> i & 1) === 0 ? chk : chk ^ gen; + }, newChecksum); + }, + /* initial checksum */ + 1); +} +/** + * Expands a prefix into the specified output buffer. + */ + + +function expandPrefix(prefix, outBuffer) { + for (var i = 0; i < prefix.length; i += 1) { + var code = prefix.charCodeAt(i); + outBuffer[i] = code >> 5; + outBuffer[i + prefix.length + 1] = code & 31; + } + + outBuffer[prefix.length] = 0; +} +/** + * Verifies the checksum for a particular buffer. + */ + + +function verifyChecksum(buffer) { + switch (polymod(buffer)) { + case 1: + return 'bech32'; + + case BECH32M_CHECKSUM: + return 'bech32m'; + + default: + return undefined; + } +} +/** + * Creates a checksum for a buffer and writes it to the last 6 5-bit groups + * of the buffer. + */ + + +function createChecksum(buffer, encoding) { + var checksumConstant; + + switch (encoding) { + case 'bech32': + checksumConstant = 1; + break; + + case 'bech32m': + checksumConstant = BECH32M_CHECKSUM; + break; + + default: + throw Error("Invalid encoding value: ".concat(encoding, "; expected bech32 or bech32m")); + } + + var mod = polymod(buffer) ^ checksumConstant; + + for (var i = 0; i < CHECKSUM_LENGTH; i += 1) { + var shift = 5 * (5 - i); + buffer[buffer.length - CHECKSUM_LENGTH + i] = mod >> shift & 31; + } +} +/** + * Encodes an array of 5-bit groups into a string. + * + * @param {Uint8Array} buffer + * @returns {string} + * + * @api private + */ + + +function encode$6(buffer) { + return buffer.reduce(function (acc, bits) { + return acc + CHARSET[bits]; + }, ''); +} +/** + * Decodes a string into an array of 5-bit groups. + * + * @param {string} message + * @param {Uint8Array} [dst] + * Optional array to write the output to. If not specified, the array is created. + * @returns {Uint8Array} + * Array with the result of decoding + * + * @throws {Error} + * if there are characters in `message` not present in the encoding alphabet + * + * @api private + */ + + +function decode$6(message, dst) { + var realDst = dst || (0, _bitConverter$1.createBitArray)(message.length); + + for (var i = 0; i < message.length; i += 1) { + var idx = CHAR_LOOKUP.get(message[i]); + + if (idx === undefined) { + throw new Error("Invalid char in message: ".concat(message[i])); + } + + realDst[i] = idx; + } + + return realDst; +} +/** + * Decodes a string and a human-readable prefix into an array of 5-bit groups. + * The prefix is expanded as specified by Bech32. + * + * @param {string} prefix + * @param {string} message + * @returns {Uint8Array} + * Array with the result of decoding + * + * @api private + */ + + +function decodeWithPrefix(prefix, message) { + var len = message.length + 2 * prefix.length + 1; + var dst = (0, _bitConverter$1.createBitArray)(len); + expandPrefix(prefix, dst.subarray(0, 2 * prefix.length + 1)); + decode$6(message, dst.subarray(2 * prefix.length + 1)); + return dst; +} + +Object.defineProperty(lib$1, "__esModule", { + value: true +}); +lib$1.BitcoinAddress = void 0; +lib$1.decode = decode$5; +lib$1.decodeTo5BitArray = decodeTo5BitArray; +lib$1.encode = encode$5; +lib$1.encode5BitArray = encode5BitArray; +lib$1.from5BitArray = from5BitArray; +lib$1.to5BitArray = to5BitArray; + +var _bitConverter = bitConverter; + +var _encoding = encoding; + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +// Minimum char code that could be present in the encoded message +var MIN_CHAR_CODE = 33; // Maximum char code that could be present in the encoded message + +var MAX_CHAR_CODE = 126; // Maximum encoded message length + +var MAX_ENC_LENGTH = 90; + +/** + * Converts a Uint8Array into a Uint8Array variant, in which each element + * encodes 5 bits of the original byte array. + * + * @param {Uint8Array} src + * Input to convert + * @param {?Uint8Array} dst + * Optional output buffer. If specified, the sequence of 5-bit chunks will be written there; + * if not specified, the output buffer will be created from scratch. The length + * of `outBuffer` is not checked. + * @returns {Uint8Array} + * Output buffer consisting of 5-bit chunks + * + * @api public + */ +function to5BitArray(src, dst) { + var len = Math.ceil(src.length * 8 / 5); + var realDst = dst || (0, _bitConverter.createBitArray)(len); + return (0, _bitConverter.toBits)(src, 5, realDst); +} + +function from5BitArray(src, dst) { + var len = Math.floor(src.length * 5 / 8); + var realDst = dst || new Uint8Array(len); + return (0, _bitConverter.fromBits)(src, 5, realDst); +} +/** + * Encodes binary data into Bech32 encoding. + * + * Ordinarily, you may want to use [`encode`](#encode) because it converts + * binary data to an array of 5-bit integers automatically. + * + * @param {string} prefix + * Human-readable prefix to place at the beginning of the encoding + * @param {Uint8Array} data + * Array of 5-bit integers with data to encode + * @param {Encoding} encoding + * Encoding to use; influences the checksum computation. If not specified, + * Bech32 encoding will be used. + * @returns {string} + * Bech32 encoding of data in the form `1` + * + * @api public + */ + + +function encode5BitArray(prefix, data) { + var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; + // 1. Allocate buffer for all operations + var len = 2 * prefix.length + 1 // expanded prefix + + data.length // five-bit data encoding + + _encoding.CHECKSUM_LENGTH; // checksum + + if (len - prefix.length > MAX_ENC_LENGTH) { + throw new Error("Message to be produced is too long (max ".concat(MAX_ENC_LENGTH, " supported)")); + } + + for (var i = 0; i < prefix.length; i += 1) { + var ord = prefix.charCodeAt(i); + + if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { + throw new TypeError("Invalid char in prefix: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); + } + } + + var buffer = (0, _bitConverter.createBitArray)(len); // 2. Expand the human-readable prefix into the beginning of the buffer + + (0, _encoding.expandPrefix)(prefix, buffer.subarray(0, 2 * prefix.length + 1)); // 3. Copy `data` into the output + + var dataBuffer = buffer.subarray(2 * prefix.length + 1, buffer.length - _encoding.CHECKSUM_LENGTH); + dataBuffer.set(data); // 4. Create the checksum + + (0, _encoding.createChecksum)(buffer, encoding); // 5. Convert into string + + var encoded = (0, _encoding.encode)(buffer.subarray(2 * prefix.length + 1)); + return "".concat(prefix, "1").concat(encoded); +} +/** + * Encodes binary data into Bech32 encoding. + * + * @param {string} prefix + * Human-readable prefix to place at the beginning of the encoding + * @param {Uint8Array} data + * Binary data to encode + * @param {Encoding} encoding + * Encoding to use; influences the checksum computation. If not specified, + * Bech32 encoding will be used. + * @returns {string} + * Bech32 encoding of data in the form `1` + * + * @api public + */ + + +function encode$5(prefix, data) { + var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; + return encode5BitArray(prefix, to5BitArray(data), encoding); +} +/** + * Decodes data from Bech32 encoding into an array of 5-bit integers. + * + * Ordinarily, you may want to use [`decode`](#decode) because it automatically + * converts the array of 5-bit integers into an ordinary `Uint8Array`. + * + * @param {string} message + * Bech32-encoded message + * @returns {DecodeResult} + * Decoded object with `prefix` and `data` fields, which contain the human-readable + * prefix and the array of 5-bit integers respectively. + * + * @api public + */ + + +function decodeTo5BitArray(message) { + // Check preconditions + // 1. Message length + if (message.length > MAX_ENC_LENGTH) { + throw new TypeError("Message too long; max ".concat(MAX_ENC_LENGTH, " expected")); + } // 2. Mixed case + + + var hasLowerCase = false; + var hasUpperCase = false; + + for (var i = 0; i < message.length; i += 1) { + var ord = message.charCodeAt(i); // 3. Allowed chars in the encoding + + if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { + throw new TypeError("Invalid char in message: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); + } + + hasLowerCase = hasLowerCase || ord >= 65 && ord <= 90; + hasUpperCase = hasUpperCase || ord >= 97 && ord <= 122; + } + + if (hasLowerCase && hasUpperCase) { + throw new TypeError('Mixed-case message'); + } + + var lowerCaseMsg = message.toLowerCase(); // 4. Existence of the separator char + + var sepIdx = lowerCaseMsg.lastIndexOf('1'); + + if (sepIdx < 0) { + throw new Error('No separator char ("1") found'); + } // 5. Placing of the separator char in the message + + + if (sepIdx > message.length - _encoding.CHECKSUM_LENGTH - 1) { + throw new Error("Data part of the message too short (at least ".concat(_encoding.CHECKSUM_LENGTH, " chars expected)")); + } + + var prefix = lowerCaseMsg.substring(0, sepIdx); // Checked within `decodeWithPrefix`: + // 6. Invalid chars in the data part of the message + + var bitArray = (0, _encoding.decodeWithPrefix)(prefix, lowerCaseMsg.substring(sepIdx + 1)); // 7. Checksum + + var encoding = (0, _encoding.verifyChecksum)(bitArray); + + if (encoding === undefined) { + throw new Error('Invalid checksum'); + } + + return { + prefix: prefix, + encoding: encoding, + // Strip off the prefix from the front and the checksum from the end + data: bitArray.subarray(2 * prefix.length + 1, bitArray.length - _encoding.CHECKSUM_LENGTH) + }; +} +/** + * Decodes data from Bech32 encoding into an array of 5-bit integers. + * + * @param {string} message + * Bech32-encoded message + * @returns {DecodeResult} + * Decoded object with `prefix` and `data` fields, which contain the human-readable + * prefix and the decoded binary data respectively. + * + * @api public + */ + + +function decode$5(message) { + var _decodeTo5BitArray = decodeTo5BitArray(message), + prefix = _decodeTo5BitArray.prefix, + encoding = _decodeTo5BitArray.encoding, + bitArray = _decodeTo5BitArray.data; + + return { + prefix: prefix, + encoding: encoding, + data: from5BitArray(bitArray) + }; +} +/** + * Bitcoin address. + */ + + +var BitcoinAddress = /*#__PURE__*/function () { + function BitcoinAddress(prefix, scriptVersion, data) { + _classCallCheck(this, BitcoinAddress); + + if (prefix !== 'bc' && prefix !== 'tb') { + throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); + } + + if (scriptVersion < 0 || scriptVersion > 16) { + throw new RangeError('Invalid scriptVersion, value in range [0, 16] expected'); + } + + if (data.length < 2 || data.length > 40) { + throw new RangeError('Invalid script length: expected 2 to 40 bytes'); + } + + if (scriptVersion === 0 && data.length !== 20 && data.length !== 32) { + throw new Error('Invalid v0 script length: expected 20 or 32 bytes'); + } + + this.prefix = prefix; + this.scriptVersion = scriptVersion; + this.data = data; + } + /** + * Guesses the address type based on its internal structure. + * + * @returns {void | 'p2wpkh' | 'p2wsh'} + */ + + + _createClass(BitcoinAddress, [{ + key: "type", + value: function type() { + if (this.scriptVersion !== 0) { + return undefined; + } + + switch (this.data.length) { + case 20: + return 'p2wpkh'; + + case 32: + return 'p2wsh'; + // should be unreachable, but it's JS, so you never know + + default: + return undefined; + } + } + /** + * Encodes this address in Bech32 or Bech32m format, depending on the script version. + * Version 0 scripts are encoded using original Bech32 encoding as per BIP 173, + * while versions 1-16 are encoded using the modified encoding as per BIP 350. + * + * @returns {string} + * Bech32(m)-encoded address + */ + + }, { + key: "encode", + value: function encode() { + // Bitcoin addresses use Bech32 in a peculiar way - script version is + // not a part of the serialized binary data, but is rather prepended as 5-bit value + // before the rest of the script. This necessitates some plumbing here. + var len = Math.ceil(this.data.length * 8 / 5); + var converted = (0, _bitConverter.createBitArray)(len + 1); + converted[0] = this.scriptVersion; + to5BitArray(this.data, converted.subarray(1)); + var encoding = this.scriptVersion === 0 ? 'bech32' : 'bech32m'; + return encode5BitArray(this.prefix, converted, encoding); + } + }], [{ + key: "decode", + value: + /** + * Human-readable prefix. Equal to `'bc'` (for mainnet addresses) + * or `'tb'` (for testnet addresses). + */ + + /** + * Script version. An integer between 0 and 16 (inclusive). + */ + + /** + * Script data. A byte string with length 2 to 40 (inclusive). + */ + + /** + * Decodes a Bitcoin address from a Bech32(m) string. + * As per BIP 350, the original encoding is expected for version 0 scripts, while + * other script versions expect the modified encoding. + * + * This method does not check whether the address is well-formed; + * use `type()` method on returned address to find that out. + * + * @param {string} message + * @returns {BitcoinAddress} + */ + function decode(message) { + var _decodeTo5BitArray2 = decodeTo5BitArray(message), + prefix = _decodeTo5BitArray2.prefix, + data = _decodeTo5BitArray2.data, + encoding = _decodeTo5BitArray2.encoding; // Extra check to satisfy Flow. + + + if (prefix !== 'bc' && prefix !== 'tb') { + throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); + } + + var scriptVersion = data[0]; + + if (scriptVersion === 0 && encoding !== 'bech32') { + throw Error("Unexpected encoding ".concat(encoding, " used for version 0 script")); + } + + if (scriptVersion > 0 && encoding !== 'bech32m') { + throw Error("Unexpected encoding ".concat(encoding, " used for version ").concat(scriptVersion, " script")); + } + + return new this(prefix, scriptVersion, from5BitArray(data.subarray(1))); + } + }]); + + return BitcoinAddress; +}(); + +lib$1.BitcoinAddress = BitcoinAddress; + +var dist$1 = {}; + +Object.defineProperty(dist$1, "__esModule", { value: true }); +dist$1.bech32m = dist$1.bech32 = void 0; +const ALPHABET$1 = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; +const ALPHABET_MAP = {}; +for (let z = 0; z < ALPHABET$1.length; z++) { + const x = ALPHABET$1.charAt(z); + ALPHABET_MAP[x] = z; +} +function polymodStep(pre) { + const b = pre >> 25; + return (((pre & 0x1ffffff) << 5) ^ + (-((b >> 0) & 1) & 0x3b6a57b2) ^ + (-((b >> 1) & 1) & 0x26508e6d) ^ + (-((b >> 2) & 1) & 0x1ea119fa) ^ + (-((b >> 3) & 1) & 0x3d4233dd) ^ + (-((b >> 4) & 1) & 0x2a1462b3)); +} +function prefixChk(prefix) { + let chk = 1; + for (let i = 0; i < prefix.length; ++i) { + const c = prefix.charCodeAt(i); + if (c < 33 || c > 126) + return 'Invalid prefix (' + prefix + ')'; + chk = polymodStep(chk) ^ (c >> 5); + } + chk = polymodStep(chk); + for (let i = 0; i < prefix.length; ++i) { + const v = prefix.charCodeAt(i); + chk = polymodStep(chk) ^ (v & 0x1f); + } + return chk; +} +function convert(data, inBits, outBits, pad) { + let value = 0; + let bits = 0; + const maxV = (1 << outBits) - 1; + const result = []; + for (let i = 0; i < data.length; ++i) { + value = (value << inBits) | data[i]; + bits += inBits; + while (bits >= outBits) { + bits -= outBits; + result.push((value >> bits) & maxV); + } + } + if (pad) { + if (bits > 0) { + result.push((value << (outBits - bits)) & maxV); + } + } + else { + if (bits >= inBits) + return 'Excess padding'; + if ((value << (outBits - bits)) & maxV) + return 'Non-zero padding'; + } + return result; +} +function toWords(bytes) { + return convert(bytes, 8, 5, true); +} +function fromWordsUnsafe(words) { + const res = convert(words, 5, 8, false); + if (Array.isArray(res)) + return res; +} +function fromWords(words) { + const res = convert(words, 5, 8, false); + if (Array.isArray(res)) + return res; + throw new Error(res); +} +function getLibraryFromEncoding(encoding) { + let ENCODING_CONST; + if (encoding === 'bech32') { + ENCODING_CONST = 1; + } + else { + ENCODING_CONST = 0x2bc830a3; + } + function encode(prefix, words, LIMIT) { + LIMIT = LIMIT || 90; + if (prefix.length + 7 + words.length > LIMIT) + throw new TypeError('Exceeds length limit'); + prefix = prefix.toLowerCase(); + // determine chk mod + let chk = prefixChk(prefix); + if (typeof chk === 'string') + throw new Error(chk); + let result = prefix + '1'; + for (let i = 0; i < words.length; ++i) { + const x = words[i]; + if (x >> 5 !== 0) + throw new Error('Non 5-bit word'); + chk = polymodStep(chk) ^ x; + result += ALPHABET$1.charAt(x); + } + for (let i = 0; i < 6; ++i) { + chk = polymodStep(chk); + } + chk ^= ENCODING_CONST; + for (let i = 0; i < 6; ++i) { + const v = (chk >> ((5 - i) * 5)) & 0x1f; + result += ALPHABET$1.charAt(v); + } + return result; + } + function __decode(str, LIMIT) { + LIMIT = LIMIT || 90; + if (str.length < 8) + return str + ' too short'; + if (str.length > LIMIT) + return 'Exceeds length limit'; + // don't allow mixed case + const lowered = str.toLowerCase(); + const uppered = str.toUpperCase(); + if (str !== lowered && str !== uppered) + return 'Mixed-case string ' + str; + str = lowered; + const split = str.lastIndexOf('1'); + if (split === -1) + return 'No separator character for ' + str; + if (split === 0) + return 'Missing prefix for ' + str; + const prefix = str.slice(0, split); + const wordChars = str.slice(split + 1); + if (wordChars.length < 6) + return 'Data too short'; + let chk = prefixChk(prefix); + if (typeof chk === 'string') + return chk; + const words = []; + for (let i = 0; i < wordChars.length; ++i) { + const c = wordChars.charAt(i); + const v = ALPHABET_MAP[c]; + if (v === undefined) + return 'Unknown character ' + c; + chk = polymodStep(chk) ^ v; + // not in the checksum? + if (i + 6 >= wordChars.length) + continue; + words.push(v); + } + if (chk !== ENCODING_CONST) + return 'Invalid checksum for ' + str; + return { prefix, words }; + } + function decodeUnsafe(str, LIMIT) { + const res = __decode(str, LIMIT); + if (typeof res === 'object') + return res; + } + function decode(str, LIMIT) { + const res = __decode(str, LIMIT); + if (typeof res === 'object') + return res; + throw new Error(res); + } + return { + decodeUnsafe, + decode, + encode, + toWords, + fromWordsUnsafe, + fromWords, + }; +} +dist$1.bech32 = getLibraryFromEncoding('bech32'); +dist$1.bech32m = getLibraryFromEncoding('bech32m'); + +const bech32 = lib$1; +const { + bech32m +} = dist$1; + +class Bech32$1 { + constructor (input = {}) { + this.settings = Object.assign({ + hrp: 'bc', + separator: '1', + content: '' + }, input); + + return this; + } + + get content () { + return this.settings.content; + } + + get hrp () { + return this.settings.hrp; + } + + get words () { + const buffer = (this.content instanceof Buffer) ? this.content : Buffer.from(this.content, 'hex'); + return bech32m.toWords(buffer); + } + + static decode (input = '') { + const decoded = bech32.decode(input); + return { + prefix: decoded.prefix, + content: decoded.data + }; + } + + toString () { + return bech32m.encode(this.hrp, this.words); + } +} + +var bech32_1$2 = Bech32$1; + +function commonjsRequire(path) { + throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); +} + +var dist = {exports: {}}; + +(function (module, exports) { + (function(f){{module.exports=f();}})(function(){return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof commonjsRequire=="function"&&commonjsRequire;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r);}return n[o].exports}var i=typeof commonjsRequire=="function"&&commonjsRequire;for(var o=0;o 32) { + throw new Error('Generator.bits()\'s bitCount parameter must be in the range [1 - 32]. Provided bitCount=' + bitCount); + } + // Use the higher bits as the lower bits have a low period. I haven't looked into the exact + // math of why, but in my tests in masking off the lower bits and graphing them it tended + // to loop very quickly. + // TODO: Test the above concern and in general do some analysis of the quality of generated + // numbers using different places of the number. + return this._state >>> 32 - bitCount; + } + + // Move the generators internal state + // forward one step + + }, { + key: 'next', + get: function get() { + this._state = lcg(this._state); + return this; + } + + // Move the generators internal state + // forward one step + + }, { + key: 'prev', + get: function get() { + this._state = rlcg(this._state); + return this; + } + + // Set the state of the generator. Must be a valid u32 integer + + }, { + key: 'state', + set: function set(state) { + if (state < 0 || state >= _MaxU2.default) { + throw new Error('Generator.state must be a number between 0 and (2^32 - 1). Provided state was ' + state + '.'); + } + this._state = state; + } + + // Get the current internal state + , + get: function get() { + return this._state; + } + }]); + + return Generator; + }(); + + exports.default = Generator; + + + function lcg(state) { + state = (a * state + c) % m; + return state; + } + + function rlcg(state) { + var result = _Long2.default.fromInt(aInverse).multiply(_Long2.default.fromNumber(state - 1013904223)); // + var pow2to32 = new _Long2.default(0, 1); + + // Modulo doesn't work as we want (negatives stay negatives, we want wrapping around ) + if (result.isNegative()) { + result = pow2to32.add(result.modulo(pow2to32)); + } else { + result = result.modulo(pow2to32); + } + + result = result.toNumber(); + state = result; + return state; + } + + },{"./Long":2,"./MaxU32":3}],2:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + // Copyright 2009 The Closure Library Authors. All Rights Reserved. + // + // Licensed under the Apache License, Version 2.0 (the "License"); + // you may not use this file except in compliance with the License. + // You may obtain a copy of the License at + // + // http://www.apache.org/licenses/LICENSE-2.0 + // + // Unless required by applicable law or agreed to in writing, software + // distributed under the License is distributed on an "AS-IS" BASIS, + // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + // See the License for the specific language governing permissions and + // limitations under the License. + + /** + * @fileoverview Defines a Long class for representing a 64-bit two's-complement + * integer value, which faithfully simulates the behavior of a Java "long". This + * implementation is derived from LongLib in GWT. + * + */ + + /** + * Constructs a 64-bit two's-complement integer, given its low and high 32-bit + * values as *signed* integers. See the from* functions below for more + * convenient ways of constructing Longs. + * + * The internal representation of a long is the two given signed, 32-bit values. + * We use 32-bit pieces because these are the size of integers on which + * Javascript performs bit-operations. For operations like addition and + * multiplication, we split each number into 16-bit pieces, which can easily be + * multiplied within Javascript's floating-point representation without overflow + * or change in sign. + * + * In the algorithms below, we frequently reduce the negative case to the + * positive case by negating the input(s) and then post-processing the result. + * Note that we must ALWAYS check specially whether those values are MIN_VALUE + * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as + * a positive number, it overflows back into a negative). Not handling this + * case would often result in infinite recursion. + * + * @param {number} low The low (signed) 32 bits of the long. + * @param {number} high The high (signed) 32 bits of the long. + * @struct + * @constructor + * @final + */ + var Long = function Long(low, high) { + /** + * @type {number} + * @private + */ + this.low_ = low | 0; // force into 32 signed bits. + + /** + * @type {number} + * @private + */ + this.high_ = high | 0; // force into 32 signed bits. + }; + + /** + * Returns a Long representing the given (32-bit) integer value. + * @param {number} value The 32-bit integer in question. + * @return {!Long} The corresponding Long value. + */ + Long.fromInt = function (value) { + return new Long(value | 0, value < 0 ? -1 : 0); + }; + + /** + * Returns a Long representing the given value. + * NaN will be returned as zero. Infinity is converted to max value and + * -Infinity to min value. + * @param {number} value The number in question. + * @return {!Long} The corresponding Long value. + */ + Long.fromNumber = function (value) { + if (isNaN(value)) { + return Long.getZero(); + } else if (value <= -Long.TWO_PWR_63_DBL_) { + return Long.getMinValue(); + } else if (value + 1 >= Long.TWO_PWR_63_DBL_) { + return Long.getMaxValue(); + } else if (value < 0) { + return Long.fromNumber(-value).negate(); + } else { + return new Long(value % Long.TWO_PWR_32_DBL_ | 0, value / Long.TWO_PWR_32_DBL_ | 0); + } + }; + + /** + * Returns a Long representing the 64-bit integer that comes by concatenating + * the given high and low bits. Each is assumed to use 32 bits. + * @param {number} lowBits The low 32-bits. + * @param {number} highBits The high 32-bits. + * @return {!Long} The corresponding Long value. + */ + Long.fromBits = function (lowBits, highBits) { + return new Long(lowBits, highBits); + }; + + /** + * Returns a Long representation of the given string, written using the given + * radix. + * @param {string} str The textual representation of the Long. + * @param {number=} opt_radix The radix in which the text is written. + * @return {!Long} The corresponding Long value. + */ + Long.fromString = function (str, opt_radix) { + if (str.length == 0) { + throw Error('number format error: empty string'); + } + + var radix = opt_radix || 10; + if (radix < 2 || 36 < radix) { + throw Error('radix out of range: ' + radix); + } + + if (str.charAt(0) == '-') { + return Long.fromString(str.substring(1), radix).negate(); + } else if (str.indexOf('-') >= 0) { + throw Error('number format error: interior "-" character: ' + str); + } + + // Do several (8) digits each time through the loop, so as to + // minimize the calls to the very expensive emulated div. + var radixToPower = Long.fromNumber(Math.pow(radix, 8)); + + var result = Long.getZero(); + for (var i = 0; i < str.length; i += 8) { + var size = Math.min(8, str.length - i); + var value = parseInt(str.substring(i, i + size), radix); + if (size < 8) { + var power = Long.fromNumber(Math.pow(radix, size)); + result = result.multiply(power).add(Long.fromNumber(value)); + } else { + result = result.multiply(radixToPower); + result = result.add(Long.fromNumber(value)); + } + } + return result; + }; + + // NOTE: the compiler should inline these constant values below and then remove + // these variables, so there should be no runtime penalty for these. + + + /** + * Number used repeated below in calculations. This must appear before the + * first call to any from* function below. + * @type {number} + * @private + */ + Long.TWO_PWR_16_DBL_ = 1 << 16; + + /** + * @type {number} + * @private + */ + Long.TWO_PWR_32_DBL_ = Long.TWO_PWR_16_DBL_ * Long.TWO_PWR_16_DBL_; + + /** + * @type {number} + * @private + */ + Long.TWO_PWR_64_DBL_ = Long.TWO_PWR_32_DBL_ * Long.TWO_PWR_32_DBL_; + + /** + * @type {number} + * @private + */ + Long.TWO_PWR_63_DBL_ = Long.TWO_PWR_64_DBL_ / 2; + + /** + * @return {!Long} + * @public + */ + Long.getZero = function () { + return Long.fromInt(0); + }; + + /** + * @return {!Long} + * @public + */ + Long.getOne = function () { + return Long.fromInt(1); + }; + + /** + * @return {!Long} + * @public + */ + Long.getNegOne = function () { + return Long.fromInt(-1); + }; + + /** + * @return {!Long} + * @public + */ + Long.getMaxValue = function () { + return Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0); + }; + + /** + * @return {!Long} + * @public + */ + Long.getMinValue = function () { + return Long.fromBits(0, 0x80000000 | 0); + }; + + /** + * @return {!Long} + * @public + */ + Long.getTwoPwr24 = function () { + return Long.fromInt(1 << 24); + }; + + /** @return {number} The value, assuming it is a 32-bit integer. */ + Long.prototype.toInt = function () { + return this.low_; + }; + + /** @return {number} The closest floating-point representation to this value. */ + Long.prototype.toNumber = function () { + return this.high_ * Long.TWO_PWR_32_DBL_ + this.getLowBitsUnsigned(); + }; + + /** + * @param {number=} opt_radix The radix in which the text should be written. + * @return {string} The textual representation of this value. + * @override + */ + Long.prototype.toString = function (opt_radix) { + var radix = opt_radix || 10; + if (radix < 2 || 36 < radix) { + throw Error('radix out of range: ' + radix); + } + + if (this.isZero()) { + return '0'; + } + + if (this.isNegative()) { + if (this.equals(Long.getMinValue())) { + // We need to change the Long value before it can be negated, so we remove + // the bottom-most digit in this base and then recurse to do the rest. + var radixLong = Long.fromNumber(radix); + var div = this.div(radixLong); + var rem = div.multiply(radixLong).subtract(this); + return div.toString(radix) + rem.toInt().toString(radix); + } else { + return '-' + this.negate().toString(radix); + } + } + + // Do several (6) digits each time through the loop, so as to + // minimize the calls to the very expensive emulated div. + var radixToPower = Long.fromNumber(Math.pow(radix, 6)); + + var rem = this; + var result = ''; + while (true) { + var remDiv = rem.div(radixToPower); + // The right shifting fixes negative values in the case when + // intval >= 2^31; for more details see + // https://github.com/google/closure-library/pull/498 + var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt() >>> 0; + var digits = intval.toString(radix); + + rem = remDiv; + if (rem.isZero()) { + return digits + result; + } else { + while (digits.length < 6) { + digits = '0' + digits; + } + result = '' + digits + result; + } + } + }; + + /** @return {number} The high 32-bits as a signed value. */ + Long.prototype.getHighBits = function () { + return this.high_; + }; + + /** @return {number} The low 32-bits as a signed value. */ + Long.prototype.getLowBits = function () { + return this.low_; + }; + + /** @return {number} The low 32-bits as an unsigned value. */ + Long.prototype.getLowBitsUnsigned = function () { + return this.low_ >= 0 ? this.low_ : Long.TWO_PWR_32_DBL_ + this.low_; + }; + + /** + * @return {number} Returns the number of bits needed to represent the absolute + * value of this Long. + */ + Long.prototype.getNumBitsAbs = function () { + if (this.isNegative()) { + if (this.equals(Long.getMinValue())) { + return 64; + } else { + return this.negate().getNumBitsAbs(); + } + } else { + var val = this.high_ != 0 ? this.high_ : this.low_; + for (var bit = 31; bit > 0; bit--) { + if ((val & 1 << bit) != 0) { + break; + } + } + return this.high_ != 0 ? bit + 33 : bit + 1; + } + }; + + /** @return {boolean} Whether this value is zero. */ + Long.prototype.isZero = function () { + return this.high_ == 0 && this.low_ == 0; + }; + + /** @return {boolean} Whether this value is negative. */ + Long.prototype.isNegative = function () { + return this.high_ < 0; + }; + + /** @return {boolean} Whether this value is odd. */ + Long.prototype.isOdd = function () { + return (this.low_ & 1) == 1; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long equals the other. + */ + Long.prototype.equals = function (other) { + return this.high_ == other.high_ && this.low_ == other.low_; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long does not equal the other. + */ + Long.prototype.notEquals = function (other) { + return this.high_ != other.high_ || this.low_ != other.low_; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is less than the other. + */ + Long.prototype.lessThan = function (other) { + return this.compare(other) < 0; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is less than or equal to the other. + */ + Long.prototype.lessThanOrEqual = function (other) { + return this.compare(other) <= 0; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is greater than the other. + */ + Long.prototype.greaterThan = function (other) { + return this.compare(other) > 0; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is greater than or equal to the other. + */ + Long.prototype.greaterThanOrEqual = function (other) { + return this.compare(other) >= 0; + }; + + /** + * Compares this Long with the given one. + * @param {Long} other Long to compare against. + * @return {number} 0 if they are the same, 1 if the this is greater, and -1 + * if the given one is greater. + */ + Long.prototype.compare = function (other) { + if (this.equals(other)) { + return 0; + } + + var thisNeg = this.isNegative(); + var otherNeg = other.isNegative(); + if (thisNeg && !otherNeg) { + return -1; + } + if (!thisNeg && otherNeg) { + return 1; + } + + // at this point, the signs are the same, so subtraction will not overflow + if (this.subtract(other).isNegative()) { + return -1; + } else { + return 1; + } + }; + + /** @return {!Long} The negation of this value. */ + Long.prototype.negate = function () { + if (this.equals(Long.getMinValue())) { + return Long.getMinValue(); + } else { + return this.not().add(Long.getOne()); + } + }; + + /** + * Returns the sum of this and the given Long. + * @param {Long} other Long to add to this one. + * @return {!Long} The sum of this and the given Long. + */ + Long.prototype.add = function (other) { + // Divide each number into 4 chunks of 16 bits, and then sum the chunks. + + var a48 = this.high_ >>> 16; + var a32 = this.high_ & 0xFFFF; + var a16 = this.low_ >>> 16; + var a00 = this.low_ & 0xFFFF; + + var b48 = other.high_ >>> 16; + var b32 = other.high_ & 0xFFFF; + var b16 = other.low_ >>> 16; + var b00 = other.low_ & 0xFFFF; + + var c48 = 0, + c32 = 0, + c16 = 0, + c00 = 0; + c00 += a00 + b00; + c16 += c00 >>> 16; + c00 &= 0xFFFF; + c16 += a16 + b16; + c32 += c16 >>> 16; + c16 &= 0xFFFF; + c32 += a32 + b32; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c48 += a48 + b48; + c48 &= 0xFFFF; + return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); + }; + + /** + * Returns the difference of this and the given Long. + * @param {Long} other Long to subtract from this. + * @return {!Long} The difference of this and the given Long. + */ + Long.prototype.subtract = function (other) { + return this.add(other.negate()); + }; + + /** + * Returns the product of this and the given long. + * @param {Long} other Long to multiply with this. + * @return {!Long} The product of this and the other. + */ + Long.prototype.multiply = function (other) { + if (this.isZero()) { + return Long.getZero(); + } else if (other.isZero()) { + return Long.getZero(); + } + + if (this.equals(Long.getMinValue())) { + return other.isOdd() ? Long.getMinValue() : Long.getZero(); + } else if (other.equals(Long.getMinValue())) { + return this.isOdd() ? Long.getMinValue() : Long.getZero(); + } + + if (this.isNegative()) { + if (other.isNegative()) { + return this.negate().multiply(other.negate()); + } else { + return this.negate().multiply(other).negate(); + } + } else if (other.isNegative()) { + return this.multiply(other.negate()).negate(); + } + + // If both longs are small, use float multiplication + if (this.lessThan(Long.getTwoPwr24()) && other.lessThan(Long.getTwoPwr24())) { + return Long.fromNumber(this.toNumber() * other.toNumber()); + } + + // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. + // We can skip products that would overflow. + + var a48 = this.high_ >>> 16; + var a32 = this.high_ & 0xFFFF; + var a16 = this.low_ >>> 16; + var a00 = this.low_ & 0xFFFF; + + var b48 = other.high_ >>> 16; + var b32 = other.high_ & 0xFFFF; + var b16 = other.low_ >>> 16; + var b00 = other.low_ & 0xFFFF; + + var c48 = 0, + c32 = 0, + c16 = 0, + c00 = 0; + c00 += a00 * b00; + c16 += c00 >>> 16; + c00 &= 0xFFFF; + c16 += a16 * b00; + c32 += c16 >>> 16; + c16 &= 0xFFFF; + c16 += a00 * b16; + c32 += c16 >>> 16; + c16 &= 0xFFFF; + c32 += a32 * b00; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c32 += a16 * b16; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c32 += a00 * b32; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; + c48 &= 0xFFFF; + return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); + }; + + /** + * Returns this Long divided by the given one. + * @param {Long} other Long by which to divide. + * @return {!Long} This Long divided by the given one. + */ + Long.prototype.div = function (other) { + if (other.isZero()) { + throw Error('division by zero'); + } else if (this.isZero()) { + return Long.getZero(); + } + + if (this.equals(Long.getMinValue())) { + if (other.equals(Long.getOne()) || other.equals(Long.getNegOne())) { + return Long.getMinValue(); // recall -MIN_VALUE == MIN_VALUE + } else if (other.equals(Long.getMinValue())) { + return Long.getOne(); + } else { + // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. + var halfThis = this.shiftRight(1); + var approx = halfThis.div(other).shiftLeft(1); + if (approx.equals(Long.getZero())) { + return other.isNegative() ? Long.getOne() : Long.getNegOne(); + } else { + var rem = this.subtract(other.multiply(approx)); + var result = approx.add(rem.div(other)); + return result; + } + } + } else if (other.equals(Long.getMinValue())) { + return Long.getZero(); + } + + if (this.isNegative()) { + if (other.isNegative()) { + return this.negate().div(other.negate()); + } else { + return this.negate().div(other).negate(); + } + } else if (other.isNegative()) { + return this.div(other.negate()).negate(); + } + + // Repeat the following until the remainder is less than other: find a + // floating-point that approximates remainder / other *from below*, add this + // into the result, and subtract it from the remainder. It is critical that + // the approximate value is less than or equal to the real value so that the + // remainder never becomes negative. + var res = Long.getZero(); + var rem = this; + while (rem.greaterThanOrEqual(other)) { + // Approximate the result of division. This may be a little greater or + // smaller than the actual value. + var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber())); + + // We will tweak the approximate result by changing it in the 48-th digit or + // the smallest non-fractional digit, whichever is larger. + var log2 = Math.ceil(Math.log(approx) / Math.LN2); + var delta = log2 <= 48 ? 1 : Math.pow(2, log2 - 48); + + // Decrease the approximation until it is smaller than the remainder. Note + // that if it is too large, the product overflows and is negative. + var approxRes = Long.fromNumber(approx); + var approxRem = approxRes.multiply(other); + while (approxRem.isNegative() || approxRem.greaterThan(rem)) { + approx -= delta; + approxRes = Long.fromNumber(approx); + approxRem = approxRes.multiply(other); + } + + // We know the answer can't be zero... and actually, zero would cause + // infinite recursion since we would make no progress. + if (approxRes.isZero()) { + approxRes = Long.getOne(); + } + + res = res.add(approxRes); + rem = rem.subtract(approxRem); + } + return res; + }; + + /** + * Returns this Long modulo the given one. + * @param {Long} other Long by which to mod. + * @return {!Long} This Long modulo the given one. + */ + Long.prototype.modulo = function (other) { + return this.subtract(this.div(other).multiply(other)); + }; + + /** @return {!Long} The bitwise-NOT of this value. */ + Long.prototype.not = function () { + return Long.fromBits(~this.low_, ~this.high_); + }; + + /** + * Returns the bitwise-AND of this Long and the given one. + * @param {Long} other The Long with which to AND. + * @return {!Long} The bitwise-AND of this and the other. + */ + Long.prototype.and = function (other) { + return Long.fromBits(this.low_ & other.low_, this.high_ & other.high_); + }; + + /** + * Returns the bitwise-OR of this Long and the given one. + * @param {Long} other The Long with which to OR. + * @return {!Long} The bitwise-OR of this and the other. + */ + Long.prototype.or = function (other) { + return Long.fromBits(this.low_ | other.low_, this.high_ | other.high_); + }; + + /** + * Returns the bitwise-XOR of this Long and the given one. + * @param {Long} other The Long with which to XOR. + * @return {!Long} The bitwise-XOR of this and the other. + */ + Long.prototype.xor = function (other) { + return Long.fromBits(this.low_ ^ other.low_, this.high_ ^ other.high_); + }; + + /** + * Returns this Long with bits shifted to the left by the given amount. + * @param {number} numBits The number of bits by which to shift. + * @return {!Long} This shifted to the left by the given amount. + */ + Long.prototype.shiftLeft = function (numBits) { + numBits &= 63; + if (numBits == 0) { + return this; + } else { + var low = this.low_; + if (numBits < 32) { + var high = this.high_; + return Long.fromBits(low << numBits, high << numBits | low >>> 32 - numBits); + } else { + return Long.fromBits(0, low << numBits - 32); + } + } + }; + + /** + * Returns this Long with bits shifted to the right by the given amount. + * The new leading bits match the current sign bit. + * @param {number} numBits The number of bits by which to shift. + * @return {!Long} This shifted to the right by the given amount. + */ + Long.prototype.shiftRight = function (numBits) { + numBits &= 63; + if (numBits == 0) { + return this; + } else { + var high = this.high_; + if (numBits < 32) { + var low = this.low_; + return Long.fromBits(low >>> numBits | high << 32 - numBits, high >> numBits); + } else { + return Long.fromBits(high >> numBits - 32, high >= 0 ? 0 : -1); + } + } + }; + + /** + * Returns this Long with bits shifted to the right by the given amount, with + * zeros placed into the new leading bits. + * @param {number} numBits The number of bits by which to shift. + * @return {!Long} This shifted to the right by the given amount, with + * zeros placed into the new leading bits. + */ + Long.prototype.shiftRightUnsigned = function (numBits) { + numBits &= 63; + if (numBits == 0) { + return this; + } else { + var high = this.high_; + if (numBits < 32) { + var low = this.low_; + return Long.fromBits(low >>> numBits | high << 32 - numBits, high >>> numBits); + } else if (numBits == 32) { + return Long.fromBits(high, 0); + } else { + return Long.fromBits(high >>> numBits - 32, 0); + } + } + }; + + /** + * @enum {number} Ids of commonly requested Long instances. + * @private + */ + Long.ValueCacheId_ = { + MAX_VALUE: 1, + MIN_VALUE: 2, + ZERO: 3, + ONE: 4, + NEG_ONE: 5, + TWO_PWR_24: 6 + }; + + exports.default = Long; + + },{}],3:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + var MAX_U32 = Math.pow(2, 32); + + exports.default = MAX_U32; + + },{}],4:[function(require,module,exports){ + + /* + **Francois**: + Based on an implementation that's based on further implementations, most significant + change is removing the use of Buffers and ArrayBuffers. Original implementation was forked + here (hopefully the original repo still exists, to play it safe I've forked it) + https://github.com/francoislaberge/node-skip32 + + ** Original Comments in skip32.js's implementation ** + Skip32PureJS.js - public domain javascript implementation of: + + SKIP32 -- 32 bit block cipher based on SKIPJACK. + Written by Greg Rose, QUALCOMM Australia, 1999/04/27. + + In common: F-table, G-permutation, key schedule. + Different: 24 round feistel structure. + Based on: Unoptimized test implementation of SKIPJACK algorithm + Panu Rissanen + + SKIPJACK and KEA Algorithm Specifications + Version 2.0 + 29 May 1998 + + Not copyright, no rights reserved. + */ + function Skip32() { + // Francois: I have modified the code to have a hardcoded key. values + // were taken from the example code in the node-skip32 project: + // https://github.com/0x4139/node-skip32#example + this.key = [0x9b, 0x21, 0x96, 0xe, 0x1a, 0xcf, 0x24, 0x5f, 0x14, 0x93]; + } + Skip32.prototype.init = function () {}; + + // Francois: I have modified the code to remove the use of Buffers and ArrayBuffers + // so that the code is more portable to other browsers and environments + var ftable = [0xa3, 0xd7, 0x09, 0x83, 0xf8, 0x48, 0xf6, 0xf4, 0xb3, 0x21, 0x15, 0x78, 0x99, 0xb1, 0xaf, 0xf9, 0xe7, 0x2d, 0x4d, 0x8a, 0xce, 0x4c, 0xca, 0x2e, 0x52, 0x95, 0xd9, 0x1e, 0x4e, 0x38, 0x44, 0x28, 0x0a, 0xdf, 0x02, 0xa0, 0x17, 0xf1, 0x60, 0x68, 0x12, 0xb7, 0x7a, 0xc3, 0xe9, 0xfa, 0x3d, 0x53, 0x96, 0x84, 0x6b, 0xba, 0xf2, 0x63, 0x9a, 0x19, 0x7c, 0xae, 0xe5, 0xf5, 0xf7, 0x16, 0x6a, 0xa2, 0x39, 0xb6, 0x7b, 0x0f, 0xc1, 0x93, 0x81, 0x1b, 0xee, 0xb4, 0x1a, 0xea, 0xd0, 0x91, 0x2f, 0xb8, 0x55, 0xb9, 0xda, 0x85, 0x3f, 0x41, 0xbf, 0xe0, 0x5a, 0x58, 0x80, 0x5f, 0x66, 0x0b, 0xd8, 0x90, 0x35, 0xd5, 0xc0, 0xa7, 0x33, 0x06, 0x65, 0x69, 0x45, 0x00, 0x94, 0x56, 0x6d, 0x98, 0x9b, 0x76, 0x97, 0xfc, 0xb2, 0xc2, 0xb0, 0xfe, 0xdb, 0x20, 0xe1, 0xeb, 0xd6, 0xe4, 0xdd, 0x47, 0x4a, 0x1d, 0x42, 0xed, 0x9e, 0x6e, 0x49, 0x3c, 0xcd, 0x43, 0x27, 0xd2, 0x07, 0xd4, 0xde, 0xc7, 0x67, 0x18, 0x89, 0xcb, 0x30, 0x1f, 0x8d, 0xc6, 0x8f, 0xaa, 0xc8, 0x74, 0xdc, 0xc9, 0x5d, 0x5c, 0x31, 0xa4, 0x70, 0x88, 0x61, 0x2c, 0x9f, 0x0d, 0x2b, 0x87, 0x50, 0x82, 0x54, 0x64, 0x26, 0x7d, 0x03, 0x40, 0x34, 0x4b, 0x1c, 0x73, 0xd1, 0xc4, 0xfd, 0x3b, 0xcc, 0xfb, 0x7f, 0xab, 0xe6, 0x3e, 0x5b, 0xa5, 0xad, 0x04, 0x23, 0x9c, 0x14, 0x51, 0x22, 0xf0, 0x29, 0x79, 0x71, 0x7e, 0xff, 0x8c, 0x0e, 0xe2, 0x0c, 0xef, 0xbc, 0x72, 0x75, 0x6f, 0x37, 0xa1, 0xec, 0xd3, 0x8e, 0x62, 0x8b, 0x86, 0x10, 0xe8, 0x08, 0x77, 0x11, 0xbe, 0x92, 0x4f, 0x24, 0xc5, 0x32, 0x36, 0x9d, 0xcf, 0xf3, 0xa6, 0xbb, 0xac, 0x5e, 0x6c, 0xa9, 0x13, 0x57, 0x25, 0xb5, 0xe3, 0xbd, 0xa8, 0x3a, 0x01, 0x05, 0x59, 0x2a, 0x46]; + + Skip32.prototype.round16 = function (k, n) { + var g1, g2, g3, g4, g5, g6; + g1 = n >> 8 & 0xff; + g2 = n >> 0 & 0xff; + g3 = ftable[g2 ^ this.key[(4 * k + 0) % 10]] ^ g1; + g4 = ftable[g3 ^ this.key[(4 * k + 1) % 10]] ^ g2; + g5 = ftable[g4 ^ this.key[(4 * k + 2) % 10]] ^ g3; + g6 = ftable[g5 ^ this.key[(4 * k + 3) % 10]] ^ g4; + return (g5 << 8) + g6; + }; + + Skip32.prototype.core = function (n, k, d) { + var i, k, wl, wr; + wl = ((n >> 24 & 0xff) << 8) + ((n >> 16 & 0xff) << 0); + wr = ((n >> 8 & 0xff) << 8) + ((n >> 0 & 0xff) << 0); + for (i = 0; i < 24 / 2; i++) { + wr ^= this.round16(k, wl) ^ k; + k += d; + wl ^= this.round16(k, wr) ^ k; + k += d; + } + return (wr << 16 | wl) >>> 0; + }; + + Skip32.prototype.encrypt = function (n) { + return this.core(n, 0, 1); + }; + + Skip32.prototype.decrypt = function (n) { + return this.core(n, 23, -1); + }; + + module.exports.Skip32 = Skip32; + + },{}],5:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _Generator = require('./Generator'); + + var _Generator2 = _interopRequireDefault(_Generator); + + var _scrambler = require('./scrambler'); + + var _MaxU = require('./MaxU32'); + + var _MaxU2 = _interopRequireDefault(_MaxU); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var arbitrary = { + MAX_U32: _MaxU2.default, + Generator: _Generator2.default, + scramble: _scrambler.scramble, + descramble: _scrambler.descramble + }; + + exports.default = arbitrary; + + },{"./Generator":1,"./MaxU32":3,"./scrambler":6}],6:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.scramble = scramble; + exports.descramble = descramble; + var Skip32 = require('./Skip32PureJS').Skip32; + var cypher = new Skip32(); + + /* + * Takes a unsigned 32 bit integer and returns an unsigned 32 bit integer + * with it's bits scrambled. + * + * Ideal for taking a series of incrementing numbers and creating a pseudo random version. + * Is reversible via calling descramble() on a scrambled number. + */ + function scramble(number) { + return cypher.encrypt(number); + } + + /* + * Takes a scrambled unsigned 32 bit integer and returns the unscrambled unsigned 32 bit + * integer version. + * + * Ideal for taking a series of incrementing numbers and creating a pseudo random version. + * Use this to figure out the original number crated from calls to scramble() + */ + function descramble(scrambledNumber) { + return cypher.decrypt(scrambledNumber); + } + + },{"./Skip32PureJS":4}]},{},[5])(5) + }); + + +} (dist)); + +var bn = {exports: {}}; + +(function (module) { + (function (module, exports) { + + // Utils + function assert (val, msg) { + if (!val) throw new Error(msg || 'Assertion failed'); + } + + // Could use `inherits` module, but don't want to move from single file + // architecture yet. + function inherits (ctor, superCtor) { + ctor.super_ = superCtor; + var TempCtor = function () {}; + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + } + + // BN + + function BN (number, base, endian) { + if (BN.isBN(number)) { + return number; + } + + this.negative = 0; + this.words = null; + this.length = 0; + + // Reduction context + this.red = null; + + if (number !== null) { + if (base === 'le' || base === 'be') { + endian = base; + base = 10; + } + + this._init(number || 0, base || 10, endian || 'be'); + } + } + if (typeof module === 'object') { + module.exports = BN; + } else { + exports.BN = BN; + } + + BN.BN = BN; + BN.wordSize = 26; + + var Buffer; + try { + if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') { + Buffer = window.Buffer; + } else { + Buffer = require('buffer').Buffer; + } + } catch (e) { + } + + BN.isBN = function isBN (num) { + if (num instanceof BN) { + return true; + } + + return num !== null && typeof num === 'object' && + num.constructor.wordSize === BN.wordSize && Array.isArray(num.words); + }; + + BN.max = function max (left, right) { + if (left.cmp(right) > 0) return left; + return right; + }; + + BN.min = function min (left, right) { + if (left.cmp(right) < 0) return left; + return right; + }; + + BN.prototype._init = function init (number, base, endian) { + if (typeof number === 'number') { + return this._initNumber(number, base, endian); + } + + if (typeof number === 'object') { + return this._initArray(number, base, endian); + } + + if (base === 'hex') { + base = 16; + } + assert(base === (base | 0) && base >= 2 && base <= 36); + + number = number.toString().replace(/\s+/g, ''); + var start = 0; + if (number[0] === '-') { + start++; + this.negative = 1; + } + + if (start < number.length) { + if (base === 16) { + this._parseHex(number, start, endian); + } else { + this._parseBase(number, base, start); + if (endian === 'le') { + this._initArray(this.toArray(), base, endian); + } + } + } + }; + + BN.prototype._initNumber = function _initNumber (number, base, endian) { + if (number < 0) { + this.negative = 1; + number = -number; + } + if (number < 0x4000000) { + this.words = [ number & 0x3ffffff ]; + this.length = 1; + } else if (number < 0x10000000000000) { + this.words = [ + number & 0x3ffffff, + (number / 0x4000000) & 0x3ffffff + ]; + this.length = 2; + } else { + assert(number < 0x20000000000000); // 2 ^ 53 (unsafe) + this.words = [ + number & 0x3ffffff, + (number / 0x4000000) & 0x3ffffff, + 1 + ]; + this.length = 3; + } + + if (endian !== 'le') return; + + // Reverse the bytes + this._initArray(this.toArray(), base, endian); + }; + + BN.prototype._initArray = function _initArray (number, base, endian) { + // Perhaps a Uint8Array + assert(typeof number.length === 'number'); + if (number.length <= 0) { + this.words = [ 0 ]; + this.length = 1; + return this; + } + + this.length = Math.ceil(number.length / 3); + this.words = new Array(this.length); + for (var i = 0; i < this.length; i++) { + this.words[i] = 0; + } + + var j, w; + var off = 0; + if (endian === 'be') { + for (i = number.length - 1, j = 0; i >= 0; i -= 3) { + w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16); + this.words[j] |= (w << off) & 0x3ffffff; + this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; + off += 24; + if (off >= 26) { + off -= 26; + j++; + } + } + } else if (endian === 'le') { + for (i = 0, j = 0; i < number.length; i += 3) { + w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16); + this.words[j] |= (w << off) & 0x3ffffff; + this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; + off += 24; + if (off >= 26) { + off -= 26; + j++; + } + } + } + return this.strip(); + }; + + function parseHex4Bits (string, index) { + var c = string.charCodeAt(index); + // 'A' - 'F' + if (c >= 65 && c <= 70) { + return c - 55; + // 'a' - 'f' + } else if (c >= 97 && c <= 102) { + return c - 87; + // '0' - '9' + } else { + return (c - 48) & 0xf; + } + } + + function parseHexByte (string, lowerBound, index) { + var r = parseHex4Bits(string, index); + if (index - 1 >= lowerBound) { + r |= parseHex4Bits(string, index - 1) << 4; + } + return r; + } + + BN.prototype._parseHex = function _parseHex (number, start, endian) { + // Create possibly bigger array to ensure that it fits the number + this.length = Math.ceil((number.length - start) / 6); + this.words = new Array(this.length); + for (var i = 0; i < this.length; i++) { + this.words[i] = 0; + } + + // 24-bits chunks + var off = 0; + var j = 0; + + var w; + if (endian === 'be') { + for (i = number.length - 1; i >= start; i -= 2) { + w = parseHexByte(number, start, i) << off; + this.words[j] |= w & 0x3ffffff; + if (off >= 18) { + off -= 18; + j += 1; + this.words[j] |= w >>> 26; + } else { + off += 8; + } + } + } else { + var parseLength = number.length - start; + for (i = parseLength % 2 === 0 ? start + 1 : start; i < number.length; i += 2) { + w = parseHexByte(number, start, i) << off; + this.words[j] |= w & 0x3ffffff; + if (off >= 18) { + off -= 18; + j += 1; + this.words[j] |= w >>> 26; + } else { + off += 8; + } + } + } + + this.strip(); + }; + + function parseBase (str, start, end, mul) { + var r = 0; + var len = Math.min(str.length, end); + for (var i = start; i < len; i++) { + var c = str.charCodeAt(i) - 48; + + r *= mul; + + // 'a' + if (c >= 49) { + r += c - 49 + 0xa; + + // 'A' + } else if (c >= 17) { + r += c - 17 + 0xa; + + // '0' - '9' + } else { + r += c; + } + } + return r; + } + + BN.prototype._parseBase = function _parseBase (number, base, start) { + // Initialize as zero + this.words = [ 0 ]; + this.length = 1; + + // Find length of limb in base + for (var limbLen = 0, limbPow = 1; limbPow <= 0x3ffffff; limbPow *= base) { + limbLen++; + } + limbLen--; + limbPow = (limbPow / base) | 0; + + var total = number.length - start; + var mod = total % limbLen; + var end = Math.min(total, total - mod) + start; + + var word = 0; + for (var i = start; i < end; i += limbLen) { + word = parseBase(number, i, i + limbLen, base); + + this.imuln(limbPow); + if (this.words[0] + word < 0x4000000) { + this.words[0] += word; + } else { + this._iaddn(word); + } + } + + if (mod !== 0) { + var pow = 1; + word = parseBase(number, i, number.length, base); + + for (i = 0; i < mod; i++) { + pow *= base; + } + + this.imuln(pow); + if (this.words[0] + word < 0x4000000) { + this.words[0] += word; + } else { + this._iaddn(word); + } + } + + this.strip(); + }; + + BN.prototype.copy = function copy (dest) { + dest.words = new Array(this.length); + for (var i = 0; i < this.length; i++) { + dest.words[i] = this.words[i]; + } + dest.length = this.length; + dest.negative = this.negative; + dest.red = this.red; + }; + + BN.prototype.clone = function clone () { + var r = new BN(null); + this.copy(r); + return r; + }; + + BN.prototype._expand = function _expand (size) { + while (this.length < size) { + this.words[this.length++] = 0; + } + return this; + }; + + // Remove leading `0` from `this` + BN.prototype.strip = function strip () { + while (this.length > 1 && this.words[this.length - 1] === 0) { + this.length--; + } + return this._normSign(); + }; + + BN.prototype._normSign = function _normSign () { + // -0 = 0 + if (this.length === 1 && this.words[0] === 0) { + this.negative = 0; + } + return this; + }; + + BN.prototype.inspect = function inspect () { + return (this.red ? ''; + }; + + /* + + var zeros = []; + var groupSizes = []; + var groupBases = []; + + var s = ''; + var i = -1; + while (++i < BN.wordSize) { + zeros[i] = s; + s += '0'; + } + groupSizes[0] = 0; + groupSizes[1] = 0; + groupBases[0] = 0; + groupBases[1] = 0; + var base = 2 - 1; + while (++base < 36 + 1) { + var groupSize = 0; + var groupBase = 1; + while (groupBase < (1 << BN.wordSize) / base) { + groupBase *= base; + groupSize += 1; + } + groupSizes[base] = groupSize; + groupBases[base] = groupBase; + } + + */ + + var zeros = [ + '', + '0', + '00', + '000', + '0000', + '00000', + '000000', + '0000000', + '00000000', + '000000000', + '0000000000', + '00000000000', + '000000000000', + '0000000000000', + '00000000000000', + '000000000000000', + '0000000000000000', + '00000000000000000', + '000000000000000000', + '0000000000000000000', + '00000000000000000000', + '000000000000000000000', + '0000000000000000000000', + '00000000000000000000000', + '000000000000000000000000', + '0000000000000000000000000' + ]; + + var groupSizes = [ + 0, 0, + 25, 16, 12, 11, 10, 9, 8, + 8, 7, 7, 7, 7, 6, 6, + 6, 6, 6, 6, 6, 5, 5, + 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5 + ]; + + var groupBases = [ + 0, 0, + 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, + 43046721, 10000000, 19487171, 35831808, 62748517, 7529536, 11390625, + 16777216, 24137569, 34012224, 47045881, 64000000, 4084101, 5153632, + 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, + 24300000, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176 + ]; + + BN.prototype.toString = function toString (base, padding) { + base = base || 10; + padding = padding | 0 || 1; + + var out; + if (base === 16 || base === 'hex') { + out = ''; + var off = 0; + var carry = 0; + for (var i = 0; i < this.length; i++) { + var w = this.words[i]; + var word = (((w << off) | carry) & 0xffffff).toString(16); + carry = (w >>> (24 - off)) & 0xffffff; + if (carry !== 0 || i !== this.length - 1) { + out = zeros[6 - word.length] + word + out; + } else { + out = word + out; + } + off += 2; + if (off >= 26) { + off -= 26; + i--; + } + } + if (carry !== 0) { + out = carry.toString(16) + out; + } + while (out.length % padding !== 0) { + out = '0' + out; + } + if (this.negative !== 0) { + out = '-' + out; + } + return out; + } + + if (base === (base | 0) && base >= 2 && base <= 36) { + // var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base)); + var groupSize = groupSizes[base]; + // var groupBase = Math.pow(base, groupSize); + var groupBase = groupBases[base]; + out = ''; + var c = this.clone(); + c.negative = 0; + while (!c.isZero()) { + var r = c.modn(groupBase).toString(base); + c = c.idivn(groupBase); + + if (!c.isZero()) { + out = zeros[groupSize - r.length] + r + out; + } else { + out = r + out; + } + } + if (this.isZero()) { + out = '0' + out; + } + while (out.length % padding !== 0) { + out = '0' + out; + } + if (this.negative !== 0) { + out = '-' + out; + } + return out; + } + + assert(false, 'Base should be between 2 and 36'); + }; + + BN.prototype.toNumber = function toNumber () { + var ret = this.words[0]; + if (this.length === 2) { + ret += this.words[1] * 0x4000000; + } else if (this.length === 3 && this.words[2] === 0x01) { + // NOTE: at this stage it is known that the top bit is set + ret += 0x10000000000000 + (this.words[1] * 0x4000000); + } else if (this.length > 2) { + assert(false, 'Number can only safely store up to 53 bits'); + } + return (this.negative !== 0) ? -ret : ret; + }; + + BN.prototype.toJSON = function toJSON () { + return this.toString(16); + }; + + BN.prototype.toBuffer = function toBuffer (endian, length) { + assert(typeof Buffer !== 'undefined'); + return this.toArrayLike(Buffer, endian, length); + }; + + BN.prototype.toArray = function toArray (endian, length) { + return this.toArrayLike(Array, endian, length); + }; + + BN.prototype.toArrayLike = function toArrayLike (ArrayType, endian, length) { + var byteLength = this.byteLength(); + var reqLength = length || Math.max(1, byteLength); + assert(byteLength <= reqLength, 'byte array longer than desired length'); + assert(reqLength > 0, 'Requested array length <= 0'); + + this.strip(); + var littleEndian = endian === 'le'; + var res = new ArrayType(reqLength); + + var b, i; + var q = this.clone(); + if (!littleEndian) { + // Assume big-endian + for (i = 0; i < reqLength - byteLength; i++) { + res[i] = 0; + } + + for (i = 0; !q.isZero(); i++) { + b = q.andln(0xff); + q.iushrn(8); + + res[reqLength - i - 1] = b; + } + } else { + for (i = 0; !q.isZero(); i++) { + b = q.andln(0xff); + q.iushrn(8); + + res[i] = b; + } + + for (; i < reqLength; i++) { + res[i] = 0; + } + } + + return res; + }; + + if (Math.clz32) { + BN.prototype._countBits = function _countBits (w) { + return 32 - Math.clz32(w); + }; + } else { + BN.prototype._countBits = function _countBits (w) { + var t = w; + var r = 0; + if (t >= 0x1000) { + r += 13; + t >>>= 13; + } + if (t >= 0x40) { + r += 7; + t >>>= 7; + } + if (t >= 0x8) { + r += 4; + t >>>= 4; + } + if (t >= 0x02) { + r += 2; + t >>>= 2; + } + return r + t; + }; + } + + BN.prototype._zeroBits = function _zeroBits (w) { + // Short-cut + if (w === 0) return 26; + + var t = w; + var r = 0; + if ((t & 0x1fff) === 0) { + r += 13; + t >>>= 13; + } + if ((t & 0x7f) === 0) { + r += 7; + t >>>= 7; + } + if ((t & 0xf) === 0) { + r += 4; + t >>>= 4; + } + if ((t & 0x3) === 0) { + r += 2; + t >>>= 2; + } + if ((t & 0x1) === 0) { + r++; + } + return r; + }; + + // Return number of used bits in a BN + BN.prototype.bitLength = function bitLength () { + var w = this.words[this.length - 1]; + var hi = this._countBits(w); + return (this.length - 1) * 26 + hi; + }; + + function toBitArray (num) { + var w = new Array(num.bitLength()); + + for (var bit = 0; bit < w.length; bit++) { + var off = (bit / 26) | 0; + var wbit = bit % 26; + + w[bit] = (num.words[off] & (1 << wbit)) >>> wbit; + } + + return w; + } + + // Number of trailing zero bits + BN.prototype.zeroBits = function zeroBits () { + if (this.isZero()) return 0; + + var r = 0; + for (var i = 0; i < this.length; i++) { + var b = this._zeroBits(this.words[i]); + r += b; + if (b !== 26) break; + } + return r; + }; + + BN.prototype.byteLength = function byteLength () { + return Math.ceil(this.bitLength() / 8); + }; + + BN.prototype.toTwos = function toTwos (width) { + if (this.negative !== 0) { + return this.abs().inotn(width).iaddn(1); + } + return this.clone(); + }; + + BN.prototype.fromTwos = function fromTwos (width) { + if (this.testn(width - 1)) { + return this.notn(width).iaddn(1).ineg(); + } + return this.clone(); + }; + + BN.prototype.isNeg = function isNeg () { + return this.negative !== 0; + }; + + // Return negative clone of `this` + BN.prototype.neg = function neg () { + return this.clone().ineg(); + }; + + BN.prototype.ineg = function ineg () { + if (!this.isZero()) { + this.negative ^= 1; + } + + return this; + }; + + // Or `num` with `this` in-place + BN.prototype.iuor = function iuor (num) { + while (this.length < num.length) { + this.words[this.length++] = 0; + } + + for (var i = 0; i < num.length; i++) { + this.words[i] = this.words[i] | num.words[i]; + } + + return this.strip(); + }; + + BN.prototype.ior = function ior (num) { + assert((this.negative | num.negative) === 0); + return this.iuor(num); + }; + + // Or `num` with `this` + BN.prototype.or = function or (num) { + if (this.length > num.length) return this.clone().ior(num); + return num.clone().ior(this); + }; + + BN.prototype.uor = function uor (num) { + if (this.length > num.length) return this.clone().iuor(num); + return num.clone().iuor(this); + }; + + // And `num` with `this` in-place + BN.prototype.iuand = function iuand (num) { + // b = min-length(num, this) + var b; + if (this.length > num.length) { + b = num; + } else { + b = this; + } + + for (var i = 0; i < b.length; i++) { + this.words[i] = this.words[i] & num.words[i]; + } + + this.length = b.length; + + return this.strip(); + }; + + BN.prototype.iand = function iand (num) { + assert((this.negative | num.negative) === 0); + return this.iuand(num); + }; + + // And `num` with `this` + BN.prototype.and = function and (num) { + if (this.length > num.length) return this.clone().iand(num); + return num.clone().iand(this); + }; + + BN.prototype.uand = function uand (num) { + if (this.length > num.length) return this.clone().iuand(num); + return num.clone().iuand(this); + }; + + // Xor `num` with `this` in-place + BN.prototype.iuxor = function iuxor (num) { + // a.length > b.length + var a; + var b; + if (this.length > num.length) { + a = this; + b = num; + } else { + a = num; + b = this; + } + + for (var i = 0; i < b.length; i++) { + this.words[i] = a.words[i] ^ b.words[i]; + } + + if (this !== a) { + for (; i < a.length; i++) { + this.words[i] = a.words[i]; + } + } + + this.length = a.length; + + return this.strip(); + }; + + BN.prototype.ixor = function ixor (num) { + assert((this.negative | num.negative) === 0); + return this.iuxor(num); + }; + + // Xor `num` with `this` + BN.prototype.xor = function xor (num) { + if (this.length > num.length) return this.clone().ixor(num); + return num.clone().ixor(this); + }; + + BN.prototype.uxor = function uxor (num) { + if (this.length > num.length) return this.clone().iuxor(num); + return num.clone().iuxor(this); + }; + + // Not ``this`` with ``width`` bitwidth + BN.prototype.inotn = function inotn (width) { + assert(typeof width === 'number' && width >= 0); + + var bytesNeeded = Math.ceil(width / 26) | 0; + var bitsLeft = width % 26; + + // Extend the buffer with leading zeroes + this._expand(bytesNeeded); + + if (bitsLeft > 0) { + bytesNeeded--; + } + + // Handle complete words + for (var i = 0; i < bytesNeeded; i++) { + this.words[i] = ~this.words[i] & 0x3ffffff; + } + + // Handle the residue + if (bitsLeft > 0) { + this.words[i] = ~this.words[i] & (0x3ffffff >> (26 - bitsLeft)); + } + + // And remove leading zeroes + return this.strip(); + }; + + BN.prototype.notn = function notn (width) { + return this.clone().inotn(width); + }; + + // Set `bit` of `this` + BN.prototype.setn = function setn (bit, val) { + assert(typeof bit === 'number' && bit >= 0); + + var off = (bit / 26) | 0; + var wbit = bit % 26; + + this._expand(off + 1); + + if (val) { + this.words[off] = this.words[off] | (1 << wbit); + } else { + this.words[off] = this.words[off] & ~(1 << wbit); + } + + return this.strip(); + }; + + // Add `num` to `this` in-place + BN.prototype.iadd = function iadd (num) { + var r; + + // negative + positive + if (this.negative !== 0 && num.negative === 0) { + this.negative = 0; + r = this.isub(num); + this.negative ^= 1; + return this._normSign(); + + // positive + negative + } else if (this.negative === 0 && num.negative !== 0) { + num.negative = 0; + r = this.isub(num); + num.negative = 1; + return r._normSign(); + } + + // a.length > b.length + var a, b; + if (this.length > num.length) { + a = this; + b = num; + } else { + a = num; + b = this; + } + + var carry = 0; + for (var i = 0; i < b.length; i++) { + r = (a.words[i] | 0) + (b.words[i] | 0) + carry; + this.words[i] = r & 0x3ffffff; + carry = r >>> 26; + } + for (; carry !== 0 && i < a.length; i++) { + r = (a.words[i] | 0) + carry; + this.words[i] = r & 0x3ffffff; + carry = r >>> 26; + } + + this.length = a.length; + if (carry !== 0) { + this.words[this.length] = carry; + this.length++; + // Copy the rest of the words + } else if (a !== this) { + for (; i < a.length; i++) { + this.words[i] = a.words[i]; + } + } + + return this; + }; + + // Add `num` to `this` + BN.prototype.add = function add (num) { + var res; + if (num.negative !== 0 && this.negative === 0) { + num.negative = 0; + res = this.sub(num); + num.negative ^= 1; + return res; + } else if (num.negative === 0 && this.negative !== 0) { + this.negative = 0; + res = num.sub(this); + this.negative = 1; + return res; + } + + if (this.length > num.length) return this.clone().iadd(num); + + return num.clone().iadd(this); + }; + + // Subtract `num` from `this` in-place + BN.prototype.isub = function isub (num) { + // this - (-num) = this + num + if (num.negative !== 0) { + num.negative = 0; + var r = this.iadd(num); + num.negative = 1; + return r._normSign(); + + // -this - num = -(this + num) + } else if (this.negative !== 0) { + this.negative = 0; + this.iadd(num); + this.negative = 1; + return this._normSign(); + } + + // At this point both numbers are positive + var cmp = this.cmp(num); + + // Optimization - zeroify + if (cmp === 0) { + this.negative = 0; + this.length = 1; + this.words[0] = 0; + return this; + } + + // a > b + var a, b; + if (cmp > 0) { + a = this; + b = num; + } else { + a = num; + b = this; + } + + var carry = 0; + for (var i = 0; i < b.length; i++) { + r = (a.words[i] | 0) - (b.words[i] | 0) + carry; + carry = r >> 26; + this.words[i] = r & 0x3ffffff; + } + for (; carry !== 0 && i < a.length; i++) { + r = (a.words[i] | 0) + carry; + carry = r >> 26; + this.words[i] = r & 0x3ffffff; + } + + // Copy rest of the words + if (carry === 0 && i < a.length && a !== this) { + for (; i < a.length; i++) { + this.words[i] = a.words[i]; + } + } + + this.length = Math.max(this.length, i); + + if (a !== this) { + this.negative = 1; + } + + return this.strip(); + }; + + // Subtract `num` from `this` + BN.prototype.sub = function sub (num) { + return this.clone().isub(num); + }; + + function smallMulTo (self, num, out) { + out.negative = num.negative ^ self.negative; + var len = (self.length + num.length) | 0; + out.length = len; + len = (len - 1) | 0; + + // Peel one iteration (compiler can't do it, because of code complexity) + var a = self.words[0] | 0; + var b = num.words[0] | 0; + var r = a * b; + + var lo = r & 0x3ffffff; + var carry = (r / 0x4000000) | 0; + out.words[0] = lo; + + for (var k = 1; k < len; k++) { + // Sum all words with the same `i + j = k` and accumulate `ncarry`, + // note that ncarry could be >= 0x3ffffff + var ncarry = carry >>> 26; + var rword = carry & 0x3ffffff; + var maxJ = Math.min(k, num.length - 1); + for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { + var i = (k - j) | 0; + a = self.words[i] | 0; + b = num.words[j] | 0; + r = a * b + rword; + ncarry += (r / 0x4000000) | 0; + rword = r & 0x3ffffff; + } + out.words[k] = rword | 0; + carry = ncarry | 0; + } + if (carry !== 0) { + out.words[k] = carry | 0; + } else { + out.length--; + } + + return out.strip(); + } + + // TODO(indutny): it may be reasonable to omit it for users who don't need + // to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit + // multiplication (like elliptic secp256k1). + var comb10MulTo = function comb10MulTo (self, num, out) { + var a = self.words; + var b = num.words; + var o = out.words; + var c = 0; + var lo; + var mid; + var hi; + var a0 = a[0] | 0; + var al0 = a0 & 0x1fff; + var ah0 = a0 >>> 13; + var a1 = a[1] | 0; + var al1 = a1 & 0x1fff; + var ah1 = a1 >>> 13; + var a2 = a[2] | 0; + var al2 = a2 & 0x1fff; + var ah2 = a2 >>> 13; + var a3 = a[3] | 0; + var al3 = a3 & 0x1fff; + var ah3 = a3 >>> 13; + var a4 = a[4] | 0; + var al4 = a4 & 0x1fff; + var ah4 = a4 >>> 13; + var a5 = a[5] | 0; + var al5 = a5 & 0x1fff; + var ah5 = a5 >>> 13; + var a6 = a[6] | 0; + var al6 = a6 & 0x1fff; + var ah6 = a6 >>> 13; + var a7 = a[7] | 0; + var al7 = a7 & 0x1fff; + var ah7 = a7 >>> 13; + var a8 = a[8] | 0; + var al8 = a8 & 0x1fff; + var ah8 = a8 >>> 13; + var a9 = a[9] | 0; + var al9 = a9 & 0x1fff; + var ah9 = a9 >>> 13; + var b0 = b[0] | 0; + var bl0 = b0 & 0x1fff; + var bh0 = b0 >>> 13; + var b1 = b[1] | 0; + var bl1 = b1 & 0x1fff; + var bh1 = b1 >>> 13; + var b2 = b[2] | 0; + var bl2 = b2 & 0x1fff; + var bh2 = b2 >>> 13; + var b3 = b[3] | 0; + var bl3 = b3 & 0x1fff; + var bh3 = b3 >>> 13; + var b4 = b[4] | 0; + var bl4 = b4 & 0x1fff; + var bh4 = b4 >>> 13; + var b5 = b[5] | 0; + var bl5 = b5 & 0x1fff; + var bh5 = b5 >>> 13; + var b6 = b[6] | 0; + var bl6 = b6 & 0x1fff; + var bh6 = b6 >>> 13; + var b7 = b[7] | 0; + var bl7 = b7 & 0x1fff; + var bh7 = b7 >>> 13; + var b8 = b[8] | 0; + var bl8 = b8 & 0x1fff; + var bh8 = b8 >>> 13; + var b9 = b[9] | 0; + var bl9 = b9 & 0x1fff; + var bh9 = b9 >>> 13; + + out.negative = self.negative ^ num.negative; + out.length = 19; + /* k = 0 */ + lo = Math.imul(al0, bl0); + mid = Math.imul(al0, bh0); + mid = (mid + Math.imul(ah0, bl0)) | 0; + hi = Math.imul(ah0, bh0); + var w0 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0; + w0 &= 0x3ffffff; + /* k = 1 */ + lo = Math.imul(al1, bl0); + mid = Math.imul(al1, bh0); + mid = (mid + Math.imul(ah1, bl0)) | 0; + hi = Math.imul(ah1, bh0); + lo = (lo + Math.imul(al0, bl1)) | 0; + mid = (mid + Math.imul(al0, bh1)) | 0; + mid = (mid + Math.imul(ah0, bl1)) | 0; + hi = (hi + Math.imul(ah0, bh1)) | 0; + var w1 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0; + w1 &= 0x3ffffff; + /* k = 2 */ + lo = Math.imul(al2, bl0); + mid = Math.imul(al2, bh0); + mid = (mid + Math.imul(ah2, bl0)) | 0; + hi = Math.imul(ah2, bh0); + lo = (lo + Math.imul(al1, bl1)) | 0; + mid = (mid + Math.imul(al1, bh1)) | 0; + mid = (mid + Math.imul(ah1, bl1)) | 0; + hi = (hi + Math.imul(ah1, bh1)) | 0; + lo = (lo + Math.imul(al0, bl2)) | 0; + mid = (mid + Math.imul(al0, bh2)) | 0; + mid = (mid + Math.imul(ah0, bl2)) | 0; + hi = (hi + Math.imul(ah0, bh2)) | 0; + var w2 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0; + w2 &= 0x3ffffff; + /* k = 3 */ + lo = Math.imul(al3, bl0); + mid = Math.imul(al3, bh0); + mid = (mid + Math.imul(ah3, bl0)) | 0; + hi = Math.imul(ah3, bh0); + lo = (lo + Math.imul(al2, bl1)) | 0; + mid = (mid + Math.imul(al2, bh1)) | 0; + mid = (mid + Math.imul(ah2, bl1)) | 0; + hi = (hi + Math.imul(ah2, bh1)) | 0; + lo = (lo + Math.imul(al1, bl2)) | 0; + mid = (mid + Math.imul(al1, bh2)) | 0; + mid = (mid + Math.imul(ah1, bl2)) | 0; + hi = (hi + Math.imul(ah1, bh2)) | 0; + lo = (lo + Math.imul(al0, bl3)) | 0; + mid = (mid + Math.imul(al0, bh3)) | 0; + mid = (mid + Math.imul(ah0, bl3)) | 0; + hi = (hi + Math.imul(ah0, bh3)) | 0; + var w3 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0; + w3 &= 0x3ffffff; + /* k = 4 */ + lo = Math.imul(al4, bl0); + mid = Math.imul(al4, bh0); + mid = (mid + Math.imul(ah4, bl0)) | 0; + hi = Math.imul(ah4, bh0); + lo = (lo + Math.imul(al3, bl1)) | 0; + mid = (mid + Math.imul(al3, bh1)) | 0; + mid = (mid + Math.imul(ah3, bl1)) | 0; + hi = (hi + Math.imul(ah3, bh1)) | 0; + lo = (lo + Math.imul(al2, bl2)) | 0; + mid = (mid + Math.imul(al2, bh2)) | 0; + mid = (mid + Math.imul(ah2, bl2)) | 0; + hi = (hi + Math.imul(ah2, bh2)) | 0; + lo = (lo + Math.imul(al1, bl3)) | 0; + mid = (mid + Math.imul(al1, bh3)) | 0; + mid = (mid + Math.imul(ah1, bl3)) | 0; + hi = (hi + Math.imul(ah1, bh3)) | 0; + lo = (lo + Math.imul(al0, bl4)) | 0; + mid = (mid + Math.imul(al0, bh4)) | 0; + mid = (mid + Math.imul(ah0, bl4)) | 0; + hi = (hi + Math.imul(ah0, bh4)) | 0; + var w4 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0; + w4 &= 0x3ffffff; + /* k = 5 */ + lo = Math.imul(al5, bl0); + mid = Math.imul(al5, bh0); + mid = (mid + Math.imul(ah5, bl0)) | 0; + hi = Math.imul(ah5, bh0); + lo = (lo + Math.imul(al4, bl1)) | 0; + mid = (mid + Math.imul(al4, bh1)) | 0; + mid = (mid + Math.imul(ah4, bl1)) | 0; + hi = (hi + Math.imul(ah4, bh1)) | 0; + lo = (lo + Math.imul(al3, bl2)) | 0; + mid = (mid + Math.imul(al3, bh2)) | 0; + mid = (mid + Math.imul(ah3, bl2)) | 0; + hi = (hi + Math.imul(ah3, bh2)) | 0; + lo = (lo + Math.imul(al2, bl3)) | 0; + mid = (mid + Math.imul(al2, bh3)) | 0; + mid = (mid + Math.imul(ah2, bl3)) | 0; + hi = (hi + Math.imul(ah2, bh3)) | 0; + lo = (lo + Math.imul(al1, bl4)) | 0; + mid = (mid + Math.imul(al1, bh4)) | 0; + mid = (mid + Math.imul(ah1, bl4)) | 0; + hi = (hi + Math.imul(ah1, bh4)) | 0; + lo = (lo + Math.imul(al0, bl5)) | 0; + mid = (mid + Math.imul(al0, bh5)) | 0; + mid = (mid + Math.imul(ah0, bl5)) | 0; + hi = (hi + Math.imul(ah0, bh5)) | 0; + var w5 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0; + w5 &= 0x3ffffff; + /* k = 6 */ + lo = Math.imul(al6, bl0); + mid = Math.imul(al6, bh0); + mid = (mid + Math.imul(ah6, bl0)) | 0; + hi = Math.imul(ah6, bh0); + lo = (lo + Math.imul(al5, bl1)) | 0; + mid = (mid + Math.imul(al5, bh1)) | 0; + mid = (mid + Math.imul(ah5, bl1)) | 0; + hi = (hi + Math.imul(ah5, bh1)) | 0; + lo = (lo + Math.imul(al4, bl2)) | 0; + mid = (mid + Math.imul(al4, bh2)) | 0; + mid = (mid + Math.imul(ah4, bl2)) | 0; + hi = (hi + Math.imul(ah4, bh2)) | 0; + lo = (lo + Math.imul(al3, bl3)) | 0; + mid = (mid + Math.imul(al3, bh3)) | 0; + mid = (mid + Math.imul(ah3, bl3)) | 0; + hi = (hi + Math.imul(ah3, bh3)) | 0; + lo = (lo + Math.imul(al2, bl4)) | 0; + mid = (mid + Math.imul(al2, bh4)) | 0; + mid = (mid + Math.imul(ah2, bl4)) | 0; + hi = (hi + Math.imul(ah2, bh4)) | 0; + lo = (lo + Math.imul(al1, bl5)) | 0; + mid = (mid + Math.imul(al1, bh5)) | 0; + mid = (mid + Math.imul(ah1, bl5)) | 0; + hi = (hi + Math.imul(ah1, bh5)) | 0; + lo = (lo + Math.imul(al0, bl6)) | 0; + mid = (mid + Math.imul(al0, bh6)) | 0; + mid = (mid + Math.imul(ah0, bl6)) | 0; + hi = (hi + Math.imul(ah0, bh6)) | 0; + var w6 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0; + w6 &= 0x3ffffff; + /* k = 7 */ + lo = Math.imul(al7, bl0); + mid = Math.imul(al7, bh0); + mid = (mid + Math.imul(ah7, bl0)) | 0; + hi = Math.imul(ah7, bh0); + lo = (lo + Math.imul(al6, bl1)) | 0; + mid = (mid + Math.imul(al6, bh1)) | 0; + mid = (mid + Math.imul(ah6, bl1)) | 0; + hi = (hi + Math.imul(ah6, bh1)) | 0; + lo = (lo + Math.imul(al5, bl2)) | 0; + mid = (mid + Math.imul(al5, bh2)) | 0; + mid = (mid + Math.imul(ah5, bl2)) | 0; + hi = (hi + Math.imul(ah5, bh2)) | 0; + lo = (lo + Math.imul(al4, bl3)) | 0; + mid = (mid + Math.imul(al4, bh3)) | 0; + mid = (mid + Math.imul(ah4, bl3)) | 0; + hi = (hi + Math.imul(ah4, bh3)) | 0; + lo = (lo + Math.imul(al3, bl4)) | 0; + mid = (mid + Math.imul(al3, bh4)) | 0; + mid = (mid + Math.imul(ah3, bl4)) | 0; + hi = (hi + Math.imul(ah3, bh4)) | 0; + lo = (lo + Math.imul(al2, bl5)) | 0; + mid = (mid + Math.imul(al2, bh5)) | 0; + mid = (mid + Math.imul(ah2, bl5)) | 0; + hi = (hi + Math.imul(ah2, bh5)) | 0; + lo = (lo + Math.imul(al1, bl6)) | 0; + mid = (mid + Math.imul(al1, bh6)) | 0; + mid = (mid + Math.imul(ah1, bl6)) | 0; + hi = (hi + Math.imul(ah1, bh6)) | 0; + lo = (lo + Math.imul(al0, bl7)) | 0; + mid = (mid + Math.imul(al0, bh7)) | 0; + mid = (mid + Math.imul(ah0, bl7)) | 0; + hi = (hi + Math.imul(ah0, bh7)) | 0; + var w7 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0; + w7 &= 0x3ffffff; + /* k = 8 */ + lo = Math.imul(al8, bl0); + mid = Math.imul(al8, bh0); + mid = (mid + Math.imul(ah8, bl0)) | 0; + hi = Math.imul(ah8, bh0); + lo = (lo + Math.imul(al7, bl1)) | 0; + mid = (mid + Math.imul(al7, bh1)) | 0; + mid = (mid + Math.imul(ah7, bl1)) | 0; + hi = (hi + Math.imul(ah7, bh1)) | 0; + lo = (lo + Math.imul(al6, bl2)) | 0; + mid = (mid + Math.imul(al6, bh2)) | 0; + mid = (mid + Math.imul(ah6, bl2)) | 0; + hi = (hi + Math.imul(ah6, bh2)) | 0; + lo = (lo + Math.imul(al5, bl3)) | 0; + mid = (mid + Math.imul(al5, bh3)) | 0; + mid = (mid + Math.imul(ah5, bl3)) | 0; + hi = (hi + Math.imul(ah5, bh3)) | 0; + lo = (lo + Math.imul(al4, bl4)) | 0; + mid = (mid + Math.imul(al4, bh4)) | 0; + mid = (mid + Math.imul(ah4, bl4)) | 0; + hi = (hi + Math.imul(ah4, bh4)) | 0; + lo = (lo + Math.imul(al3, bl5)) | 0; + mid = (mid + Math.imul(al3, bh5)) | 0; + mid = (mid + Math.imul(ah3, bl5)) | 0; + hi = (hi + Math.imul(ah3, bh5)) | 0; + lo = (lo + Math.imul(al2, bl6)) | 0; + mid = (mid + Math.imul(al2, bh6)) | 0; + mid = (mid + Math.imul(ah2, bl6)) | 0; + hi = (hi + Math.imul(ah2, bh6)) | 0; + lo = (lo + Math.imul(al1, bl7)) | 0; + mid = (mid + Math.imul(al1, bh7)) | 0; + mid = (mid + Math.imul(ah1, bl7)) | 0; + hi = (hi + Math.imul(ah1, bh7)) | 0; + lo = (lo + Math.imul(al0, bl8)) | 0; + mid = (mid + Math.imul(al0, bh8)) | 0; + mid = (mid + Math.imul(ah0, bl8)) | 0; + hi = (hi + Math.imul(ah0, bh8)) | 0; + var w8 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0; + w8 &= 0x3ffffff; + /* k = 9 */ + lo = Math.imul(al9, bl0); + mid = Math.imul(al9, bh0); + mid = (mid + Math.imul(ah9, bl0)) | 0; + hi = Math.imul(ah9, bh0); + lo = (lo + Math.imul(al8, bl1)) | 0; + mid = (mid + Math.imul(al8, bh1)) | 0; + mid = (mid + Math.imul(ah8, bl1)) | 0; + hi = (hi + Math.imul(ah8, bh1)) | 0; + lo = (lo + Math.imul(al7, bl2)) | 0; + mid = (mid + Math.imul(al7, bh2)) | 0; + mid = (mid + Math.imul(ah7, bl2)) | 0; + hi = (hi + Math.imul(ah7, bh2)) | 0; + lo = (lo + Math.imul(al6, bl3)) | 0; + mid = (mid + Math.imul(al6, bh3)) | 0; + mid = (mid + Math.imul(ah6, bl3)) | 0; + hi = (hi + Math.imul(ah6, bh3)) | 0; + lo = (lo + Math.imul(al5, bl4)) | 0; + mid = (mid + Math.imul(al5, bh4)) | 0; + mid = (mid + Math.imul(ah5, bl4)) | 0; + hi = (hi + Math.imul(ah5, bh4)) | 0; + lo = (lo + Math.imul(al4, bl5)) | 0; + mid = (mid + Math.imul(al4, bh5)) | 0; + mid = (mid + Math.imul(ah4, bl5)) | 0; + hi = (hi + Math.imul(ah4, bh5)) | 0; + lo = (lo + Math.imul(al3, bl6)) | 0; + mid = (mid + Math.imul(al3, bh6)) | 0; + mid = (mid + Math.imul(ah3, bl6)) | 0; + hi = (hi + Math.imul(ah3, bh6)) | 0; + lo = (lo + Math.imul(al2, bl7)) | 0; + mid = (mid + Math.imul(al2, bh7)) | 0; + mid = (mid + Math.imul(ah2, bl7)) | 0; + hi = (hi + Math.imul(ah2, bh7)) | 0; + lo = (lo + Math.imul(al1, bl8)) | 0; + mid = (mid + Math.imul(al1, bh8)) | 0; + mid = (mid + Math.imul(ah1, bl8)) | 0; + hi = (hi + Math.imul(ah1, bh8)) | 0; + lo = (lo + Math.imul(al0, bl9)) | 0; + mid = (mid + Math.imul(al0, bh9)) | 0; + mid = (mid + Math.imul(ah0, bl9)) | 0; + hi = (hi + Math.imul(ah0, bh9)) | 0; + var w9 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0; + w9 &= 0x3ffffff; + /* k = 10 */ + lo = Math.imul(al9, bl1); + mid = Math.imul(al9, bh1); + mid = (mid + Math.imul(ah9, bl1)) | 0; + hi = Math.imul(ah9, bh1); + lo = (lo + Math.imul(al8, bl2)) | 0; + mid = (mid + Math.imul(al8, bh2)) | 0; + mid = (mid + Math.imul(ah8, bl2)) | 0; + hi = (hi + Math.imul(ah8, bh2)) | 0; + lo = (lo + Math.imul(al7, bl3)) | 0; + mid = (mid + Math.imul(al7, bh3)) | 0; + mid = (mid + Math.imul(ah7, bl3)) | 0; + hi = (hi + Math.imul(ah7, bh3)) | 0; + lo = (lo + Math.imul(al6, bl4)) | 0; + mid = (mid + Math.imul(al6, bh4)) | 0; + mid = (mid + Math.imul(ah6, bl4)) | 0; + hi = (hi + Math.imul(ah6, bh4)) | 0; + lo = (lo + Math.imul(al5, bl5)) | 0; + mid = (mid + Math.imul(al5, bh5)) | 0; + mid = (mid + Math.imul(ah5, bl5)) | 0; + hi = (hi + Math.imul(ah5, bh5)) | 0; + lo = (lo + Math.imul(al4, bl6)) | 0; + mid = (mid + Math.imul(al4, bh6)) | 0; + mid = (mid + Math.imul(ah4, bl6)) | 0; + hi = (hi + Math.imul(ah4, bh6)) | 0; + lo = (lo + Math.imul(al3, bl7)) | 0; + mid = (mid + Math.imul(al3, bh7)) | 0; + mid = (mid + Math.imul(ah3, bl7)) | 0; + hi = (hi + Math.imul(ah3, bh7)) | 0; + lo = (lo + Math.imul(al2, bl8)) | 0; + mid = (mid + Math.imul(al2, bh8)) | 0; + mid = (mid + Math.imul(ah2, bl8)) | 0; + hi = (hi + Math.imul(ah2, bh8)) | 0; + lo = (lo + Math.imul(al1, bl9)) | 0; + mid = (mid + Math.imul(al1, bh9)) | 0; + mid = (mid + Math.imul(ah1, bl9)) | 0; + hi = (hi + Math.imul(ah1, bh9)) | 0; + var w10 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0; + w10 &= 0x3ffffff; + /* k = 11 */ + lo = Math.imul(al9, bl2); + mid = Math.imul(al9, bh2); + mid = (mid + Math.imul(ah9, bl2)) | 0; + hi = Math.imul(ah9, bh2); + lo = (lo + Math.imul(al8, bl3)) | 0; + mid = (mid + Math.imul(al8, bh3)) | 0; + mid = (mid + Math.imul(ah8, bl3)) | 0; + hi = (hi + Math.imul(ah8, bh3)) | 0; + lo = (lo + Math.imul(al7, bl4)) | 0; + mid = (mid + Math.imul(al7, bh4)) | 0; + mid = (mid + Math.imul(ah7, bl4)) | 0; + hi = (hi + Math.imul(ah7, bh4)) | 0; + lo = (lo + Math.imul(al6, bl5)) | 0; + mid = (mid + Math.imul(al6, bh5)) | 0; + mid = (mid + Math.imul(ah6, bl5)) | 0; + hi = (hi + Math.imul(ah6, bh5)) | 0; + lo = (lo + Math.imul(al5, bl6)) | 0; + mid = (mid + Math.imul(al5, bh6)) | 0; + mid = (mid + Math.imul(ah5, bl6)) | 0; + hi = (hi + Math.imul(ah5, bh6)) | 0; + lo = (lo + Math.imul(al4, bl7)) | 0; + mid = (mid + Math.imul(al4, bh7)) | 0; + mid = (mid + Math.imul(ah4, bl7)) | 0; + hi = (hi + Math.imul(ah4, bh7)) | 0; + lo = (lo + Math.imul(al3, bl8)) | 0; + mid = (mid + Math.imul(al3, bh8)) | 0; + mid = (mid + Math.imul(ah3, bl8)) | 0; + hi = (hi + Math.imul(ah3, bh8)) | 0; + lo = (lo + Math.imul(al2, bl9)) | 0; + mid = (mid + Math.imul(al2, bh9)) | 0; + mid = (mid + Math.imul(ah2, bl9)) | 0; + hi = (hi + Math.imul(ah2, bh9)) | 0; + var w11 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0; + w11 &= 0x3ffffff; + /* k = 12 */ + lo = Math.imul(al9, bl3); + mid = Math.imul(al9, bh3); + mid = (mid + Math.imul(ah9, bl3)) | 0; + hi = Math.imul(ah9, bh3); + lo = (lo + Math.imul(al8, bl4)) | 0; + mid = (mid + Math.imul(al8, bh4)) | 0; + mid = (mid + Math.imul(ah8, bl4)) | 0; + hi = (hi + Math.imul(ah8, bh4)) | 0; + lo = (lo + Math.imul(al7, bl5)) | 0; + mid = (mid + Math.imul(al7, bh5)) | 0; + mid = (mid + Math.imul(ah7, bl5)) | 0; + hi = (hi + Math.imul(ah7, bh5)) | 0; + lo = (lo + Math.imul(al6, bl6)) | 0; + mid = (mid + Math.imul(al6, bh6)) | 0; + mid = (mid + Math.imul(ah6, bl6)) | 0; + hi = (hi + Math.imul(ah6, bh6)) | 0; + lo = (lo + Math.imul(al5, bl7)) | 0; + mid = (mid + Math.imul(al5, bh7)) | 0; + mid = (mid + Math.imul(ah5, bl7)) | 0; + hi = (hi + Math.imul(ah5, bh7)) | 0; + lo = (lo + Math.imul(al4, bl8)) | 0; + mid = (mid + Math.imul(al4, bh8)) | 0; + mid = (mid + Math.imul(ah4, bl8)) | 0; + hi = (hi + Math.imul(ah4, bh8)) | 0; + lo = (lo + Math.imul(al3, bl9)) | 0; + mid = (mid + Math.imul(al3, bh9)) | 0; + mid = (mid + Math.imul(ah3, bl9)) | 0; + hi = (hi + Math.imul(ah3, bh9)) | 0; + var w12 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0; + w12 &= 0x3ffffff; + /* k = 13 */ + lo = Math.imul(al9, bl4); + mid = Math.imul(al9, bh4); + mid = (mid + Math.imul(ah9, bl4)) | 0; + hi = Math.imul(ah9, bh4); + lo = (lo + Math.imul(al8, bl5)) | 0; + mid = (mid + Math.imul(al8, bh5)) | 0; + mid = (mid + Math.imul(ah8, bl5)) | 0; + hi = (hi + Math.imul(ah8, bh5)) | 0; + lo = (lo + Math.imul(al7, bl6)) | 0; + mid = (mid + Math.imul(al7, bh6)) | 0; + mid = (mid + Math.imul(ah7, bl6)) | 0; + hi = (hi + Math.imul(ah7, bh6)) | 0; + lo = (lo + Math.imul(al6, bl7)) | 0; + mid = (mid + Math.imul(al6, bh7)) | 0; + mid = (mid + Math.imul(ah6, bl7)) | 0; + hi = (hi + Math.imul(ah6, bh7)) | 0; + lo = (lo + Math.imul(al5, bl8)) | 0; + mid = (mid + Math.imul(al5, bh8)) | 0; + mid = (mid + Math.imul(ah5, bl8)) | 0; + hi = (hi + Math.imul(ah5, bh8)) | 0; + lo = (lo + Math.imul(al4, bl9)) | 0; + mid = (mid + Math.imul(al4, bh9)) | 0; + mid = (mid + Math.imul(ah4, bl9)) | 0; + hi = (hi + Math.imul(ah4, bh9)) | 0; + var w13 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0; + w13 &= 0x3ffffff; + /* k = 14 */ + lo = Math.imul(al9, bl5); + mid = Math.imul(al9, bh5); + mid = (mid + Math.imul(ah9, bl5)) | 0; + hi = Math.imul(ah9, bh5); + lo = (lo + Math.imul(al8, bl6)) | 0; + mid = (mid + Math.imul(al8, bh6)) | 0; + mid = (mid + Math.imul(ah8, bl6)) | 0; + hi = (hi + Math.imul(ah8, bh6)) | 0; + lo = (lo + Math.imul(al7, bl7)) | 0; + mid = (mid + Math.imul(al7, bh7)) | 0; + mid = (mid + Math.imul(ah7, bl7)) | 0; + hi = (hi + Math.imul(ah7, bh7)) | 0; + lo = (lo + Math.imul(al6, bl8)) | 0; + mid = (mid + Math.imul(al6, bh8)) | 0; + mid = (mid + Math.imul(ah6, bl8)) | 0; + hi = (hi + Math.imul(ah6, bh8)) | 0; + lo = (lo + Math.imul(al5, bl9)) | 0; + mid = (mid + Math.imul(al5, bh9)) | 0; + mid = (mid + Math.imul(ah5, bl9)) | 0; + hi = (hi + Math.imul(ah5, bh9)) | 0; + var w14 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0; + w14 &= 0x3ffffff; + /* k = 15 */ + lo = Math.imul(al9, bl6); + mid = Math.imul(al9, bh6); + mid = (mid + Math.imul(ah9, bl6)) | 0; + hi = Math.imul(ah9, bh6); + lo = (lo + Math.imul(al8, bl7)) | 0; + mid = (mid + Math.imul(al8, bh7)) | 0; + mid = (mid + Math.imul(ah8, bl7)) | 0; + hi = (hi + Math.imul(ah8, bh7)) | 0; + lo = (lo + Math.imul(al7, bl8)) | 0; + mid = (mid + Math.imul(al7, bh8)) | 0; + mid = (mid + Math.imul(ah7, bl8)) | 0; + hi = (hi + Math.imul(ah7, bh8)) | 0; + lo = (lo + Math.imul(al6, bl9)) | 0; + mid = (mid + Math.imul(al6, bh9)) | 0; + mid = (mid + Math.imul(ah6, bl9)) | 0; + hi = (hi + Math.imul(ah6, bh9)) | 0; + var w15 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0; + w15 &= 0x3ffffff; + /* k = 16 */ + lo = Math.imul(al9, bl7); + mid = Math.imul(al9, bh7); + mid = (mid + Math.imul(ah9, bl7)) | 0; + hi = Math.imul(ah9, bh7); + lo = (lo + Math.imul(al8, bl8)) | 0; + mid = (mid + Math.imul(al8, bh8)) | 0; + mid = (mid + Math.imul(ah8, bl8)) | 0; + hi = (hi + Math.imul(ah8, bh8)) | 0; + lo = (lo + Math.imul(al7, bl9)) | 0; + mid = (mid + Math.imul(al7, bh9)) | 0; + mid = (mid + Math.imul(ah7, bl9)) | 0; + hi = (hi + Math.imul(ah7, bh9)) | 0; + var w16 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0; + w16 &= 0x3ffffff; + /* k = 17 */ + lo = Math.imul(al9, bl8); + mid = Math.imul(al9, bh8); + mid = (mid + Math.imul(ah9, bl8)) | 0; + hi = Math.imul(ah9, bh8); + lo = (lo + Math.imul(al8, bl9)) | 0; + mid = (mid + Math.imul(al8, bh9)) | 0; + mid = (mid + Math.imul(ah8, bl9)) | 0; + hi = (hi + Math.imul(ah8, bh9)) | 0; + var w17 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0; + w17 &= 0x3ffffff; + /* k = 18 */ + lo = Math.imul(al9, bl9); + mid = Math.imul(al9, bh9); + mid = (mid + Math.imul(ah9, bl9)) | 0; + hi = Math.imul(ah9, bh9); + var w18 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0; + w18 &= 0x3ffffff; + o[0] = w0; + o[1] = w1; + o[2] = w2; + o[3] = w3; + o[4] = w4; + o[5] = w5; + o[6] = w6; + o[7] = w7; + o[8] = w8; + o[9] = w9; + o[10] = w10; + o[11] = w11; + o[12] = w12; + o[13] = w13; + o[14] = w14; + o[15] = w15; + o[16] = w16; + o[17] = w17; + o[18] = w18; + if (c !== 0) { + o[19] = c; + out.length++; + } + return out; + }; + + // Polyfill comb + if (!Math.imul) { + comb10MulTo = smallMulTo; + } + + function bigMulTo (self, num, out) { + out.negative = num.negative ^ self.negative; + out.length = self.length + num.length; + + var carry = 0; + var hncarry = 0; + for (var k = 0; k < out.length - 1; k++) { + // Sum all words with the same `i + j = k` and accumulate `ncarry`, + // note that ncarry could be >= 0x3ffffff + var ncarry = hncarry; + hncarry = 0; + var rword = carry & 0x3ffffff; + var maxJ = Math.min(k, num.length - 1); + for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { + var i = k - j; + var a = self.words[i] | 0; + var b = num.words[j] | 0; + var r = a * b; + + var lo = r & 0x3ffffff; + ncarry = (ncarry + ((r / 0x4000000) | 0)) | 0; + lo = (lo + rword) | 0; + rword = lo & 0x3ffffff; + ncarry = (ncarry + (lo >>> 26)) | 0; + + hncarry += ncarry >>> 26; + ncarry &= 0x3ffffff; + } + out.words[k] = rword; + carry = ncarry; + ncarry = hncarry; + } + if (carry !== 0) { + out.words[k] = carry; + } else { + out.length--; + } + + return out.strip(); + } + + function jumboMulTo (self, num, out) { + var fftm = new FFTM(); + return fftm.mulp(self, num, out); + } + + BN.prototype.mulTo = function mulTo (num, out) { + var res; + var len = this.length + num.length; + if (this.length === 10 && num.length === 10) { + res = comb10MulTo(this, num, out); + } else if (len < 63) { + res = smallMulTo(this, num, out); + } else if (len < 1024) { + res = bigMulTo(this, num, out); + } else { + res = jumboMulTo(this, num, out); + } + + return res; + }; + + // Cooley-Tukey algorithm for FFT + // slightly revisited to rely on looping instead of recursion + + function FFTM (x, y) { + this.x = x; + this.y = y; + } + + FFTM.prototype.makeRBT = function makeRBT (N) { + var t = new Array(N); + var l = BN.prototype._countBits(N) - 1; + for (var i = 0; i < N; i++) { + t[i] = this.revBin(i, l, N); + } + + return t; + }; + + // Returns binary-reversed representation of `x` + FFTM.prototype.revBin = function revBin (x, l, N) { + if (x === 0 || x === N - 1) return x; + + var rb = 0; + for (var i = 0; i < l; i++) { + rb |= (x & 1) << (l - i - 1); + x >>= 1; + } + + return rb; + }; + + // Performs "tweedling" phase, therefore 'emulating' + // behaviour of the recursive algorithm + FFTM.prototype.permute = function permute (rbt, rws, iws, rtws, itws, N) { + for (var i = 0; i < N; i++) { + rtws[i] = rws[rbt[i]]; + itws[i] = iws[rbt[i]]; + } + }; + + FFTM.prototype.transform = function transform (rws, iws, rtws, itws, N, rbt) { + this.permute(rbt, rws, iws, rtws, itws, N); + + for (var s = 1; s < N; s <<= 1) { + var l = s << 1; + + var rtwdf = Math.cos(2 * Math.PI / l); + var itwdf = Math.sin(2 * Math.PI / l); + + for (var p = 0; p < N; p += l) { + var rtwdf_ = rtwdf; + var itwdf_ = itwdf; + + for (var j = 0; j < s; j++) { + var re = rtws[p + j]; + var ie = itws[p + j]; + + var ro = rtws[p + j + s]; + var io = itws[p + j + s]; + + var rx = rtwdf_ * ro - itwdf_ * io; + + io = rtwdf_ * io + itwdf_ * ro; + ro = rx; + + rtws[p + j] = re + ro; + itws[p + j] = ie + io; + + rtws[p + j + s] = re - ro; + itws[p + j + s] = ie - io; + + /* jshint maxdepth : false */ + if (j !== l) { + rx = rtwdf * rtwdf_ - itwdf * itwdf_; + + itwdf_ = rtwdf * itwdf_ + itwdf * rtwdf_; + rtwdf_ = rx; + } + } + } + } + }; + + FFTM.prototype.guessLen13b = function guessLen13b (n, m) { + var N = Math.max(m, n) | 1; + var odd = N & 1; + var i = 0; + for (N = N / 2 | 0; N; N = N >>> 1) { + i++; + } + + return 1 << i + 1 + odd; + }; + + FFTM.prototype.conjugate = function conjugate (rws, iws, N) { + if (N <= 1) return; + + for (var i = 0; i < N / 2; i++) { + var t = rws[i]; + + rws[i] = rws[N - i - 1]; + rws[N - i - 1] = t; + + t = iws[i]; + + iws[i] = -iws[N - i - 1]; + iws[N - i - 1] = -t; + } + }; + + FFTM.prototype.normalize13b = function normalize13b (ws, N) { + var carry = 0; + for (var i = 0; i < N / 2; i++) { + var w = Math.round(ws[2 * i + 1] / N) * 0x2000 + + Math.round(ws[2 * i] / N) + + carry; + + ws[i] = w & 0x3ffffff; + + if (w < 0x4000000) { + carry = 0; + } else { + carry = w / 0x4000000 | 0; + } + } + + return ws; + }; + + FFTM.prototype.convert13b = function convert13b (ws, len, rws, N) { + var carry = 0; + for (var i = 0; i < len; i++) { + carry = carry + (ws[i] | 0); + + rws[2 * i] = carry & 0x1fff; carry = carry >>> 13; + rws[2 * i + 1] = carry & 0x1fff; carry = carry >>> 13; + } + + // Pad with zeroes + for (i = 2 * len; i < N; ++i) { + rws[i] = 0; + } + + assert(carry === 0); + assert((carry & ~0x1fff) === 0); + }; + + FFTM.prototype.stub = function stub (N) { + var ph = new Array(N); + for (var i = 0; i < N; i++) { + ph[i] = 0; + } + + return ph; + }; + + FFTM.prototype.mulp = function mulp (x, y, out) { + var N = 2 * this.guessLen13b(x.length, y.length); + + var rbt = this.makeRBT(N); + + var _ = this.stub(N); + + var rws = new Array(N); + var rwst = new Array(N); + var iwst = new Array(N); + + var nrws = new Array(N); + var nrwst = new Array(N); + var niwst = new Array(N); + + var rmws = out.words; + rmws.length = N; + + this.convert13b(x.words, x.length, rws, N); + this.convert13b(y.words, y.length, nrws, N); + + this.transform(rws, _, rwst, iwst, N, rbt); + this.transform(nrws, _, nrwst, niwst, N, rbt); + + for (var i = 0; i < N; i++) { + var rx = rwst[i] * nrwst[i] - iwst[i] * niwst[i]; + iwst[i] = rwst[i] * niwst[i] + iwst[i] * nrwst[i]; + rwst[i] = rx; + } + + this.conjugate(rwst, iwst, N); + this.transform(rwst, iwst, rmws, _, N, rbt); + this.conjugate(rmws, _, N); + this.normalize13b(rmws, N); + + out.negative = x.negative ^ y.negative; + out.length = x.length + y.length; + return out.strip(); + }; + + // Multiply `this` by `num` + BN.prototype.mul = function mul (num) { + var out = new BN(null); + out.words = new Array(this.length + num.length); + return this.mulTo(num, out); + }; + + // Multiply employing FFT + BN.prototype.mulf = function mulf (num) { + var out = new BN(null); + out.words = new Array(this.length + num.length); + return jumboMulTo(this, num, out); + }; + + // In-place Multiplication + BN.prototype.imul = function imul (num) { + return this.clone().mulTo(num, this); + }; + + BN.prototype.imuln = function imuln (num) { + assert(typeof num === 'number'); + assert(num < 0x4000000); + + // Carry + var carry = 0; + for (var i = 0; i < this.length; i++) { + var w = (this.words[i] | 0) * num; + var lo = (w & 0x3ffffff) + (carry & 0x3ffffff); + carry >>= 26; + carry += (w / 0x4000000) | 0; + // NOTE: lo is 27bit maximum + carry += lo >>> 26; + this.words[i] = lo & 0x3ffffff; + } + + if (carry !== 0) { + this.words[i] = carry; + this.length++; + } + + return this; + }; + + BN.prototype.muln = function muln (num) { + return this.clone().imuln(num); + }; + + // `this` * `this` + BN.prototype.sqr = function sqr () { + return this.mul(this); + }; + + // `this` * `this` in-place + BN.prototype.isqr = function isqr () { + return this.imul(this.clone()); + }; + + // Math.pow(`this`, `num`) + BN.prototype.pow = function pow (num) { + var w = toBitArray(num); + if (w.length === 0) return new BN(1); + + // Skip leading zeroes + var res = this; + for (var i = 0; i < w.length; i++, res = res.sqr()) { + if (w[i] !== 0) break; + } + + if (++i < w.length) { + for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) { + if (w[i] === 0) continue; + + res = res.mul(q); + } + } + + return res; + }; + + // Shift-left in-place + BN.prototype.iushln = function iushln (bits) { + assert(typeof bits === 'number' && bits >= 0); + var r = bits % 26; + var s = (bits - r) / 26; + var carryMask = (0x3ffffff >>> (26 - r)) << (26 - r); + var i; + + if (r !== 0) { + var carry = 0; + + for (i = 0; i < this.length; i++) { + var newCarry = this.words[i] & carryMask; + var c = ((this.words[i] | 0) - newCarry) << r; + this.words[i] = c | carry; + carry = newCarry >>> (26 - r); + } + + if (carry) { + this.words[i] = carry; + this.length++; + } + } + + if (s !== 0) { + for (i = this.length - 1; i >= 0; i--) { + this.words[i + s] = this.words[i]; + } + + for (i = 0; i < s; i++) { + this.words[i] = 0; + } + + this.length += s; + } + + return this.strip(); + }; + + BN.prototype.ishln = function ishln (bits) { + // TODO(indutny): implement me + assert(this.negative === 0); + return this.iushln(bits); + }; + + // Shift-right in-place + // NOTE: `hint` is a lowest bit before trailing zeroes + // NOTE: if `extended` is present - it will be filled with destroyed bits + BN.prototype.iushrn = function iushrn (bits, hint, extended) { + assert(typeof bits === 'number' && bits >= 0); + var h; + if (hint) { + h = (hint - (hint % 26)) / 26; + } else { + h = 0; + } + + var r = bits % 26; + var s = Math.min((bits - r) / 26, this.length); + var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); + var maskedWords = extended; + + h -= s; + h = Math.max(0, h); + + // Extended mode, copy masked part + if (maskedWords) { + for (var i = 0; i < s; i++) { + maskedWords.words[i] = this.words[i]; + } + maskedWords.length = s; + } + + if (s === 0) ; else if (this.length > s) { + this.length -= s; + for (i = 0; i < this.length; i++) { + this.words[i] = this.words[i + s]; + } + } else { + this.words[0] = 0; + this.length = 1; + } + + var carry = 0; + for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) { + var word = this.words[i] | 0; + this.words[i] = (carry << (26 - r)) | (word >>> r); + carry = word & mask; + } + + // Push carried bits as a mask + if (maskedWords && carry !== 0) { + maskedWords.words[maskedWords.length++] = carry; + } + + if (this.length === 0) { + this.words[0] = 0; + this.length = 1; + } + + return this.strip(); + }; + + BN.prototype.ishrn = function ishrn (bits, hint, extended) { + // TODO(indutny): implement me + assert(this.negative === 0); + return this.iushrn(bits, hint, extended); + }; + + // Shift-left + BN.prototype.shln = function shln (bits) { + return this.clone().ishln(bits); + }; + + BN.prototype.ushln = function ushln (bits) { + return this.clone().iushln(bits); + }; + + // Shift-right + BN.prototype.shrn = function shrn (bits) { + return this.clone().ishrn(bits); + }; + + BN.prototype.ushrn = function ushrn (bits) { + return this.clone().iushrn(bits); + }; + + // Test if n bit is set + BN.prototype.testn = function testn (bit) { + assert(typeof bit === 'number' && bit >= 0); + var r = bit % 26; + var s = (bit - r) / 26; + var q = 1 << r; + + // Fast case: bit is much higher than all existing words + if (this.length <= s) return false; + + // Check bit and return + var w = this.words[s]; + + return !!(w & q); + }; + + // Return only lowers bits of number (in-place) + BN.prototype.imaskn = function imaskn (bits) { + assert(typeof bits === 'number' && bits >= 0); + var r = bits % 26; + var s = (bits - r) / 26; + + assert(this.negative === 0, 'imaskn works only with positive numbers'); + + if (this.length <= s) { + return this; + } + + if (r !== 0) { + s++; + } + this.length = Math.min(s, this.length); + + if (r !== 0) { + var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); + this.words[this.length - 1] &= mask; + } + + return this.strip(); + }; + + // Return only lowers bits of number + BN.prototype.maskn = function maskn (bits) { + return this.clone().imaskn(bits); + }; + + // Add plain number `num` to `this` + BN.prototype.iaddn = function iaddn (num) { + assert(typeof num === 'number'); + assert(num < 0x4000000); + if (num < 0) return this.isubn(-num); + + // Possible sign change + if (this.negative !== 0) { + if (this.length === 1 && (this.words[0] | 0) < num) { + this.words[0] = num - (this.words[0] | 0); + this.negative = 0; + return this; + } + + this.negative = 0; + this.isubn(num); + this.negative = 1; + return this; + } + + // Add without checks + return this._iaddn(num); + }; + + BN.prototype._iaddn = function _iaddn (num) { + this.words[0] += num; + + // Carry + for (var i = 0; i < this.length && this.words[i] >= 0x4000000; i++) { + this.words[i] -= 0x4000000; + if (i === this.length - 1) { + this.words[i + 1] = 1; + } else { + this.words[i + 1]++; + } + } + this.length = Math.max(this.length, i + 1); + + return this; + }; + + // Subtract plain number `num` from `this` + BN.prototype.isubn = function isubn (num) { + assert(typeof num === 'number'); + assert(num < 0x4000000); + if (num < 0) return this.iaddn(-num); + + if (this.negative !== 0) { + this.negative = 0; + this.iaddn(num); + this.negative = 1; + return this; + } + + this.words[0] -= num; + + if (this.length === 1 && this.words[0] < 0) { + this.words[0] = -this.words[0]; + this.negative = 1; + } else { + // Carry + for (var i = 0; i < this.length && this.words[i] < 0; i++) { + this.words[i] += 0x4000000; + this.words[i + 1] -= 1; + } + } + + return this.strip(); + }; + + BN.prototype.addn = function addn (num) { + return this.clone().iaddn(num); + }; + + BN.prototype.subn = function subn (num) { + return this.clone().isubn(num); + }; + + BN.prototype.iabs = function iabs () { + this.negative = 0; + + return this; + }; + + BN.prototype.abs = function abs () { + return this.clone().iabs(); + }; + + BN.prototype._ishlnsubmul = function _ishlnsubmul (num, mul, shift) { + var len = num.length + shift; + var i; + + this._expand(len); + + var w; + var carry = 0; + for (i = 0; i < num.length; i++) { + w = (this.words[i + shift] | 0) + carry; + var right = (num.words[i] | 0) * mul; + w -= right & 0x3ffffff; + carry = (w >> 26) - ((right / 0x4000000) | 0); + this.words[i + shift] = w & 0x3ffffff; + } + for (; i < this.length - shift; i++) { + w = (this.words[i + shift] | 0) + carry; + carry = w >> 26; + this.words[i + shift] = w & 0x3ffffff; + } + + if (carry === 0) return this.strip(); + + // Subtraction overflow + assert(carry === -1); + carry = 0; + for (i = 0; i < this.length; i++) { + w = -(this.words[i] | 0) + carry; + carry = w >> 26; + this.words[i] = w & 0x3ffffff; + } + this.negative = 1; + + return this.strip(); + }; + + BN.prototype._wordDiv = function _wordDiv (num, mode) { + var shift = this.length - num.length; + + var a = this.clone(); + var b = num; + + // Normalize + var bhi = b.words[b.length - 1] | 0; + var bhiBits = this._countBits(bhi); + shift = 26 - bhiBits; + if (shift !== 0) { + b = b.ushln(shift); + a.iushln(shift); + bhi = b.words[b.length - 1] | 0; + } + + // Initialize quotient + var m = a.length - b.length; + var q; + + if (mode !== 'mod') { + q = new BN(null); + q.length = m + 1; + q.words = new Array(q.length); + for (var i = 0; i < q.length; i++) { + q.words[i] = 0; + } + } + + var diff = a.clone()._ishlnsubmul(b, 1, m); + if (diff.negative === 0) { + a = diff; + if (q) { + q.words[m] = 1; + } + } + + for (var j = m - 1; j >= 0; j--) { + var qj = (a.words[b.length + j] | 0) * 0x4000000 + + (a.words[b.length + j - 1] | 0); + + // NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max + // (0x7ffffff) + qj = Math.min((qj / bhi) | 0, 0x3ffffff); + + a._ishlnsubmul(b, qj, j); + while (a.negative !== 0) { + qj--; + a.negative = 0; + a._ishlnsubmul(b, 1, j); + if (!a.isZero()) { + a.negative ^= 1; + } + } + if (q) { + q.words[j] = qj; + } + } + if (q) { + q.strip(); + } + a.strip(); + + // Denormalize + if (mode !== 'div' && shift !== 0) { + a.iushrn(shift); + } + + return { + div: q || null, + mod: a + }; + }; + + // NOTE: 1) `mode` can be set to `mod` to request mod only, + // to `div` to request div only, or be absent to + // request both div & mod + // 2) `positive` is true if unsigned mod is requested + BN.prototype.divmod = function divmod (num, mode, positive) { + assert(!num.isZero()); + + if (this.isZero()) { + return { + div: new BN(0), + mod: new BN(0) + }; + } + + var div, mod, res; + if (this.negative !== 0 && num.negative === 0) { + res = this.neg().divmod(num, mode); + + if (mode !== 'mod') { + div = res.div.neg(); + } + + if (mode !== 'div') { + mod = res.mod.neg(); + if (positive && mod.negative !== 0) { + mod.iadd(num); + } + } + + return { + div: div, + mod: mod + }; + } + + if (this.negative === 0 && num.negative !== 0) { + res = this.divmod(num.neg(), mode); + + if (mode !== 'mod') { + div = res.div.neg(); + } + + return { + div: div, + mod: res.mod + }; + } + + if ((this.negative & num.negative) !== 0) { + res = this.neg().divmod(num.neg(), mode); + + if (mode !== 'div') { + mod = res.mod.neg(); + if (positive && mod.negative !== 0) { + mod.isub(num); + } + } + + return { + div: res.div, + mod: mod + }; + } + + // Both numbers are positive at this point + + // Strip both numbers to approximate shift value + if (num.length > this.length || this.cmp(num) < 0) { + return { + div: new BN(0), + mod: this + }; + } + + // Very short reduction + if (num.length === 1) { + if (mode === 'div') { + return { + div: this.divn(num.words[0]), + mod: null + }; + } + + if (mode === 'mod') { + return { + div: null, + mod: new BN(this.modn(num.words[0])) + }; + } + + return { + div: this.divn(num.words[0]), + mod: new BN(this.modn(num.words[0])) + }; + } + + return this._wordDiv(num, mode); + }; + + // Find `this` / `num` + BN.prototype.div = function div (num) { + return this.divmod(num, 'div', false).div; + }; + + // Find `this` % `num` + BN.prototype.mod = function mod (num) { + return this.divmod(num, 'mod', false).mod; + }; + + BN.prototype.umod = function umod (num) { + return this.divmod(num, 'mod', true).mod; + }; + + // Find Round(`this` / `num`) + BN.prototype.divRound = function divRound (num) { + var dm = this.divmod(num); + + // Fast case - exact division + if (dm.mod.isZero()) return dm.div; + + var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod; + + var half = num.ushrn(1); + var r2 = num.andln(1); + var cmp = mod.cmp(half); + + // Round down + if (cmp < 0 || r2 === 1 && cmp === 0) return dm.div; + + // Round up + return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1); + }; + + BN.prototype.modn = function modn (num) { + assert(num <= 0x3ffffff); + var p = (1 << 26) % num; + + var acc = 0; + for (var i = this.length - 1; i >= 0; i--) { + acc = (p * acc + (this.words[i] | 0)) % num; + } + + return acc; + }; + + // In-place division by number + BN.prototype.idivn = function idivn (num) { + assert(num <= 0x3ffffff); + + var carry = 0; + for (var i = this.length - 1; i >= 0; i--) { + var w = (this.words[i] | 0) + carry * 0x4000000; + this.words[i] = (w / num) | 0; + carry = w % num; + } + + return this.strip(); + }; + + BN.prototype.divn = function divn (num) { + return this.clone().idivn(num); + }; + + BN.prototype.egcd = function egcd (p) { + assert(p.negative === 0); + assert(!p.isZero()); + + var x = this; + var y = p.clone(); + + if (x.negative !== 0) { + x = x.umod(p); + } else { + x = x.clone(); + } + + // A * x + B * y = x + var A = new BN(1); + var B = new BN(0); + + // C * x + D * y = y + var C = new BN(0); + var D = new BN(1); + + var g = 0; + + while (x.isEven() && y.isEven()) { + x.iushrn(1); + y.iushrn(1); + ++g; + } + + var yp = y.clone(); + var xp = x.clone(); + + while (!x.isZero()) { + for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1); + if (i > 0) { + x.iushrn(i); + while (i-- > 0) { + if (A.isOdd() || B.isOdd()) { + A.iadd(yp); + B.isub(xp); + } + + A.iushrn(1); + B.iushrn(1); + } + } + + for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); + if (j > 0) { + y.iushrn(j); + while (j-- > 0) { + if (C.isOdd() || D.isOdd()) { + C.iadd(yp); + D.isub(xp); + } + + C.iushrn(1); + D.iushrn(1); + } + } + + if (x.cmp(y) >= 0) { + x.isub(y); + A.isub(C); + B.isub(D); + } else { + y.isub(x); + C.isub(A); + D.isub(B); + } + } + + return { + a: C, + b: D, + gcd: y.iushln(g) + }; + }; + + // This is reduced incarnation of the binary EEA + // above, designated to invert members of the + // _prime_ fields F(p) at a maximal speed + BN.prototype._invmp = function _invmp (p) { + assert(p.negative === 0); + assert(!p.isZero()); + + var a = this; + var b = p.clone(); + + if (a.negative !== 0) { + a = a.umod(p); + } else { + a = a.clone(); + } + + var x1 = new BN(1); + var x2 = new BN(0); + + var delta = b.clone(); + + while (a.cmpn(1) > 0 && b.cmpn(1) > 0) { + for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1); + if (i > 0) { + a.iushrn(i); + while (i-- > 0) { + if (x1.isOdd()) { + x1.iadd(delta); + } + + x1.iushrn(1); + } + } + + for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); + if (j > 0) { + b.iushrn(j); + while (j-- > 0) { + if (x2.isOdd()) { + x2.iadd(delta); + } + + x2.iushrn(1); + } + } + + if (a.cmp(b) >= 0) { + a.isub(b); + x1.isub(x2); + } else { + b.isub(a); + x2.isub(x1); + } + } + + var res; + if (a.cmpn(1) === 0) { + res = x1; + } else { + res = x2; + } + + if (res.cmpn(0) < 0) { + res.iadd(p); + } + + return res; + }; + + BN.prototype.gcd = function gcd (num) { + if (this.isZero()) return num.abs(); + if (num.isZero()) return this.abs(); + + var a = this.clone(); + var b = num.clone(); + a.negative = 0; + b.negative = 0; + + // Remove common factor of two + for (var shift = 0; a.isEven() && b.isEven(); shift++) { + a.iushrn(1); + b.iushrn(1); + } + + do { + while (a.isEven()) { + a.iushrn(1); + } + while (b.isEven()) { + b.iushrn(1); + } + + var r = a.cmp(b); + if (r < 0) { + // Swap `a` and `b` to make `a` always bigger than `b` + var t = a; + a = b; + b = t; + } else if (r === 0 || b.cmpn(1) === 0) { + break; + } + + a.isub(b); + } while (true); + + return b.iushln(shift); + }; + + // Invert number in the field F(num) + BN.prototype.invm = function invm (num) { + return this.egcd(num).a.umod(num); + }; + + BN.prototype.isEven = function isEven () { + return (this.words[0] & 1) === 0; + }; + + BN.prototype.isOdd = function isOdd () { + return (this.words[0] & 1) === 1; + }; + + // And first word and num + BN.prototype.andln = function andln (num) { + return this.words[0] & num; + }; + + // Increment at the bit position in-line + BN.prototype.bincn = function bincn (bit) { + assert(typeof bit === 'number'); + var r = bit % 26; + var s = (bit - r) / 26; + var q = 1 << r; + + // Fast case: bit is much higher than all existing words + if (this.length <= s) { + this._expand(s + 1); + this.words[s] |= q; + return this; + } + + // Add bit and propagate, if needed + var carry = q; + for (var i = s; carry !== 0 && i < this.length; i++) { + var w = this.words[i] | 0; + w += carry; + carry = w >>> 26; + w &= 0x3ffffff; + this.words[i] = w; + } + if (carry !== 0) { + this.words[i] = carry; + this.length++; + } + return this; + }; + + BN.prototype.isZero = function isZero () { + return this.length === 1 && this.words[0] === 0; + }; + + BN.prototype.cmpn = function cmpn (num) { + var negative = num < 0; + + if (this.negative !== 0 && !negative) return -1; + if (this.negative === 0 && negative) return 1; + + this.strip(); + + var res; + if (this.length > 1) { + res = 1; + } else { + if (negative) { + num = -num; + } + + assert(num <= 0x3ffffff, 'Number is too big'); + + var w = this.words[0] | 0; + res = w === num ? 0 : w < num ? -1 : 1; + } + if (this.negative !== 0) return -res | 0; + return res; + }; + + // Compare two numbers and return: + // 1 - if `this` > `num` + // 0 - if `this` == `num` + // -1 - if `this` < `num` + BN.prototype.cmp = function cmp (num) { + if (this.negative !== 0 && num.negative === 0) return -1; + if (this.negative === 0 && num.negative !== 0) return 1; + + var res = this.ucmp(num); + if (this.negative !== 0) return -res | 0; + return res; + }; + + // Unsigned comparison + BN.prototype.ucmp = function ucmp (num) { + // At this point both numbers have the same sign + if (this.length > num.length) return 1; + if (this.length < num.length) return -1; + + var res = 0; + for (var i = this.length - 1; i >= 0; i--) { + var a = this.words[i] | 0; + var b = num.words[i] | 0; + + if (a === b) continue; + if (a < b) { + res = -1; + } else if (a > b) { + res = 1; + } + break; + } + return res; + }; + + BN.prototype.gtn = function gtn (num) { + return this.cmpn(num) === 1; + }; + + BN.prototype.gt = function gt (num) { + return this.cmp(num) === 1; + }; + + BN.prototype.gten = function gten (num) { + return this.cmpn(num) >= 0; + }; + + BN.prototype.gte = function gte (num) { + return this.cmp(num) >= 0; + }; + + BN.prototype.ltn = function ltn (num) { + return this.cmpn(num) === -1; + }; + + BN.prototype.lt = function lt (num) { + return this.cmp(num) === -1; + }; + + BN.prototype.lten = function lten (num) { + return this.cmpn(num) <= 0; + }; + + BN.prototype.lte = function lte (num) { + return this.cmp(num) <= 0; + }; + + BN.prototype.eqn = function eqn (num) { + return this.cmpn(num) === 0; + }; + + BN.prototype.eq = function eq (num) { + return this.cmp(num) === 0; + }; + + // + // A reduce context, could be using montgomery or something better, depending + // on the `m` itself. + // + BN.red = function red (num) { + return new Red(num); + }; + + BN.prototype.toRed = function toRed (ctx) { + assert(!this.red, 'Already a number in reduction context'); + assert(this.negative === 0, 'red works only with positives'); + return ctx.convertTo(this)._forceRed(ctx); + }; + + BN.prototype.fromRed = function fromRed () { + assert(this.red, 'fromRed works only with numbers in reduction context'); + return this.red.convertFrom(this); + }; + + BN.prototype._forceRed = function _forceRed (ctx) { + this.red = ctx; + return this; + }; + + BN.prototype.forceRed = function forceRed (ctx) { + assert(!this.red, 'Already a number in reduction context'); + return this._forceRed(ctx); + }; + + BN.prototype.redAdd = function redAdd (num) { + assert(this.red, 'redAdd works only with red numbers'); + return this.red.add(this, num); + }; + + BN.prototype.redIAdd = function redIAdd (num) { + assert(this.red, 'redIAdd works only with red numbers'); + return this.red.iadd(this, num); + }; + + BN.prototype.redSub = function redSub (num) { + assert(this.red, 'redSub works only with red numbers'); + return this.red.sub(this, num); + }; + + BN.prototype.redISub = function redISub (num) { + assert(this.red, 'redISub works only with red numbers'); + return this.red.isub(this, num); + }; + + BN.prototype.redShl = function redShl (num) { + assert(this.red, 'redShl works only with red numbers'); + return this.red.shl(this, num); + }; + + BN.prototype.redMul = function redMul (num) { + assert(this.red, 'redMul works only with red numbers'); + this.red._verify2(this, num); + return this.red.mul(this, num); + }; + + BN.prototype.redIMul = function redIMul (num) { + assert(this.red, 'redMul works only with red numbers'); + this.red._verify2(this, num); + return this.red.imul(this, num); + }; + + BN.prototype.redSqr = function redSqr () { + assert(this.red, 'redSqr works only with red numbers'); + this.red._verify1(this); + return this.red.sqr(this); + }; + + BN.prototype.redISqr = function redISqr () { + assert(this.red, 'redISqr works only with red numbers'); + this.red._verify1(this); + return this.red.isqr(this); + }; + + // Square root over p + BN.prototype.redSqrt = function redSqrt () { + assert(this.red, 'redSqrt works only with red numbers'); + this.red._verify1(this); + return this.red.sqrt(this); + }; + + BN.prototype.redInvm = function redInvm () { + assert(this.red, 'redInvm works only with red numbers'); + this.red._verify1(this); + return this.red.invm(this); + }; + + // Return negative clone of `this` % `red modulo` + BN.prototype.redNeg = function redNeg () { + assert(this.red, 'redNeg works only with red numbers'); + this.red._verify1(this); + return this.red.neg(this); + }; + + BN.prototype.redPow = function redPow (num) { + assert(this.red && !num.red, 'redPow(normalNum)'); + this.red._verify1(this); + return this.red.pow(this, num); + }; + + // Prime numbers with efficient reduction + var primes = { + k256: null, + p224: null, + p192: null, + p25519: null + }; + + // Pseudo-Mersenne prime + function MPrime (name, p) { + // P = 2 ^ N - K + this.name = name; + this.p = new BN(p, 16); + this.n = this.p.bitLength(); + this.k = new BN(1).iushln(this.n).isub(this.p); + + this.tmp = this._tmp(); + } + + MPrime.prototype._tmp = function _tmp () { + var tmp = new BN(null); + tmp.words = new Array(Math.ceil(this.n / 13)); + return tmp; + }; + + MPrime.prototype.ireduce = function ireduce (num) { + // Assumes that `num` is less than `P^2` + // num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P) + var r = num; + var rlen; + + do { + this.split(r, this.tmp); + r = this.imulK(r); + r = r.iadd(this.tmp); + rlen = r.bitLength(); + } while (rlen > this.n); + + var cmp = rlen < this.n ? -1 : r.ucmp(this.p); + if (cmp === 0) { + r.words[0] = 0; + r.length = 1; + } else if (cmp > 0) { + r.isub(this.p); + } else { + if (r.strip !== undefined) { + // r is BN v4 instance + r.strip(); + } else { + // r is BN v5 instance + r._strip(); + } + } + + return r; + }; + + MPrime.prototype.split = function split (input, out) { + input.iushrn(this.n, 0, out); + }; + + MPrime.prototype.imulK = function imulK (num) { + return num.imul(this.k); + }; + + function K256 () { + MPrime.call( + this, + 'k256', + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f'); + } + inherits(K256, MPrime); + + K256.prototype.split = function split (input, output) { + // 256 = 9 * 26 + 22 + var mask = 0x3fffff; + + var outLen = Math.min(input.length, 9); + for (var i = 0; i < outLen; i++) { + output.words[i] = input.words[i]; + } + output.length = outLen; + + if (input.length <= 9) { + input.words[0] = 0; + input.length = 1; + return; + } + + // Shift by 9 limbs + var prev = input.words[9]; + output.words[output.length++] = prev & mask; + + for (i = 10; i < input.length; i++) { + var next = input.words[i] | 0; + input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22); + prev = next; + } + prev >>>= 22; + input.words[i - 10] = prev; + if (prev === 0 && input.length > 10) { + input.length -= 10; + } else { + input.length -= 9; + } + }; + + K256.prototype.imulK = function imulK (num) { + // K = 0x1000003d1 = [ 0x40, 0x3d1 ] + num.words[num.length] = 0; + num.words[num.length + 1] = 0; + num.length += 2; + + // bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390 + var lo = 0; + for (var i = 0; i < num.length; i++) { + var w = num.words[i] | 0; + lo += w * 0x3d1; + num.words[i] = lo & 0x3ffffff; + lo = w * 0x40 + ((lo / 0x4000000) | 0); + } + + // Fast length reduction + if (num.words[num.length - 1] === 0) { + num.length--; + if (num.words[num.length - 1] === 0) { + num.length--; + } + } + return num; + }; + + function P224 () { + MPrime.call( + this, + 'p224', + 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001'); + } + inherits(P224, MPrime); + + function P192 () { + MPrime.call( + this, + 'p192', + 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff'); + } + inherits(P192, MPrime); + + function P25519 () { + // 2 ^ 255 - 19 + MPrime.call( + this, + '25519', + '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed'); + } + inherits(P25519, MPrime); + + P25519.prototype.imulK = function imulK (num) { + // K = 0x13 + var carry = 0; + for (var i = 0; i < num.length; i++) { + var hi = (num.words[i] | 0) * 0x13 + carry; + var lo = hi & 0x3ffffff; + hi >>>= 26; + + num.words[i] = lo; + carry = hi; + } + if (carry !== 0) { + num.words[num.length++] = carry; + } + return num; + }; + + // Exported mostly for testing purposes, use plain name instead + BN._prime = function prime (name) { + // Cached version of prime + if (primes[name]) return primes[name]; + + var prime; + if (name === 'k256') { + prime = new K256(); + } else if (name === 'p224') { + prime = new P224(); + } else if (name === 'p192') { + prime = new P192(); + } else if (name === 'p25519') { + prime = new P25519(); + } else { + throw new Error('Unknown prime ' + name); + } + primes[name] = prime; + + return prime; + }; + + // + // Base reduction engine + // + function Red (m) { + if (typeof m === 'string') { + var prime = BN._prime(m); + this.m = prime.p; + this.prime = prime; + } else { + assert(m.gtn(1), 'modulus must be greater than 1'); + this.m = m; + this.prime = null; + } + } + + Red.prototype._verify1 = function _verify1 (a) { + assert(a.negative === 0, 'red works only with positives'); + assert(a.red, 'red works only with red numbers'); + }; + + Red.prototype._verify2 = function _verify2 (a, b) { + assert((a.negative | b.negative) === 0, 'red works only with positives'); + assert(a.red && a.red === b.red, + 'red works only with red numbers'); + }; + + Red.prototype.imod = function imod (a) { + if (this.prime) return this.prime.ireduce(a)._forceRed(this); + return a.umod(this.m)._forceRed(this); + }; + + Red.prototype.neg = function neg (a) { + if (a.isZero()) { + return a.clone(); + } + + return this.m.sub(a)._forceRed(this); + }; + + Red.prototype.add = function add (a, b) { + this._verify2(a, b); + + var res = a.add(b); + if (res.cmp(this.m) >= 0) { + res.isub(this.m); + } + return res._forceRed(this); + }; + + Red.prototype.iadd = function iadd (a, b) { + this._verify2(a, b); + + var res = a.iadd(b); + if (res.cmp(this.m) >= 0) { + res.isub(this.m); + } + return res; + }; + + Red.prototype.sub = function sub (a, b) { + this._verify2(a, b); + + var res = a.sub(b); + if (res.cmpn(0) < 0) { + res.iadd(this.m); + } + return res._forceRed(this); + }; + + Red.prototype.isub = function isub (a, b) { + this._verify2(a, b); + + var res = a.isub(b); + if (res.cmpn(0) < 0) { + res.iadd(this.m); + } + return res; + }; + + Red.prototype.shl = function shl (a, num) { + this._verify1(a); + return this.imod(a.ushln(num)); + }; + + Red.prototype.imul = function imul (a, b) { + this._verify2(a, b); + return this.imod(a.imul(b)); + }; + + Red.prototype.mul = function mul (a, b) { + this._verify2(a, b); + return this.imod(a.mul(b)); + }; + + Red.prototype.isqr = function isqr (a) { + return this.imul(a, a.clone()); + }; + + Red.prototype.sqr = function sqr (a) { + return this.mul(a, a); + }; + + Red.prototype.sqrt = function sqrt (a) { + if (a.isZero()) return a.clone(); + + var mod3 = this.m.andln(3); + assert(mod3 % 2 === 1); + + // Fast case + if (mod3 === 3) { + var pow = this.m.add(new BN(1)).iushrn(2); + return this.pow(a, pow); + } + + // Tonelli-Shanks algorithm (Totally unoptimized and slow) + // + // Find Q and S, that Q * 2 ^ S = (P - 1) + var q = this.m.subn(1); + var s = 0; + while (!q.isZero() && q.andln(1) === 0) { + s++; + q.iushrn(1); + } + assert(!q.isZero()); + + var one = new BN(1).toRed(this); + var nOne = one.redNeg(); + + // Find quadratic non-residue + // NOTE: Max is such because of generalized Riemann hypothesis. + var lpow = this.m.subn(1).iushrn(1); + var z = this.m.bitLength(); + z = new BN(2 * z * z).toRed(this); + + while (this.pow(z, lpow).cmp(nOne) !== 0) { + z.redIAdd(nOne); + } + + var c = this.pow(z, q); + var r = this.pow(a, q.addn(1).iushrn(1)); + var t = this.pow(a, q); + var m = s; + while (t.cmp(one) !== 0) { + var tmp = t; + for (var i = 0; tmp.cmp(one) !== 0; i++) { + tmp = tmp.redSqr(); + } + assert(i < m); + var b = this.pow(c, new BN(1).iushln(m - i - 1)); + + r = r.redMul(b); + c = b.redSqr(); + t = t.redMul(c); + m = i; + } + + return r; + }; + + Red.prototype.invm = function invm (a) { + var inv = a._invmp(this.m); + if (inv.negative !== 0) { + inv.negative = 0; + return this.imod(inv).redNeg(); + } else { + return this.imod(inv); + } + }; + + Red.prototype.pow = function pow (a, num) { + if (num.isZero()) return new BN(1).toRed(this); + if (num.cmpn(1) === 0) return a.clone(); + + var windowSize = 4; + var wnd = new Array(1 << windowSize); + wnd[0] = new BN(1).toRed(this); + wnd[1] = a; + for (var i = 2; i < wnd.length; i++) { + wnd[i] = this.mul(wnd[i - 1], a); + } + + var res = wnd[0]; + var current = 0; + var currentLen = 0; + var start = num.bitLength() % 26; + if (start === 0) { + start = 26; + } + + for (i = num.length - 1; i >= 0; i--) { + var word = num.words[i]; + for (var j = start - 1; j >= 0; j--) { + var bit = (word >> j) & 1; + if (res !== wnd[0]) { + res = this.sqr(res); + } + + if (bit === 0 && current === 0) { + currentLen = 0; + continue; + } + + current <<= 1; + current |= bit; + currentLen++; + if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue; + + res = this.mul(res, wnd[current]); + currentLen = 0; + current = 0; + } + start = 26; + } + + return res; + }; + + Red.prototype.convertTo = function convertTo (num) { + var r = num.umod(this.m); + + return r === num ? r.clone() : r; + }; + + Red.prototype.convertFrom = function convertFrom (num) { + var res = num.clone(); + res.red = null; + return res; + }; + + // + // Montgomery method engine + // + + BN.mont = function mont (num) { + return new Mont(num); + }; + + function Mont (m) { + Red.call(this, m); + + this.shift = this.m.bitLength(); + if (this.shift % 26 !== 0) { + this.shift += 26 - (this.shift % 26); + } + + this.r = new BN(1).iushln(this.shift); + this.r2 = this.imod(this.r.sqr()); + this.rinv = this.r._invmp(this.m); + + this.minv = this.rinv.mul(this.r).isubn(1).div(this.m); + this.minv = this.minv.umod(this.r); + this.minv = this.r.sub(this.minv); + } + inherits(Mont, Red); + + Mont.prototype.convertTo = function convertTo (num) { + return this.imod(num.ushln(this.shift)); + }; + + Mont.prototype.convertFrom = function convertFrom (num) { + var r = this.imod(num.mul(this.rinv)); + r.red = null; + return r; + }; + + Mont.prototype.imul = function imul (a, b) { + if (a.isZero() || b.isZero()) { + a.words[0] = 0; + a.length = 1; + return a; + } + + var t = a.imul(b); + var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); + var u = t.isub(c).iushrn(this.shift); + var res = u; + + if (u.cmp(this.m) >= 0) { + res = u.isub(this.m); + } else if (u.cmpn(0) < 0) { + res = u.iadd(this.m); + } + + return res._forceRed(this); + }; + + Mont.prototype.mul = function mul (a, b) { + if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this); + + var t = a.mul(b); + var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); + var u = t.isub(c).iushrn(this.shift); + var res = u; + if (u.cmp(this.m) >= 0) { + res = u.isub(this.m); + } else if (u.cmpn(0) < 0) { + res = u.iadd(this.m); + } + + return res._forceRed(this); + }; + + Mont.prototype.invm = function invm (a) { + // (AR)^-1 * R^2 = (A^-1 * R^-1) * R^2 = A^-1 * R + var res = this.imod(a._invmp(this.m).mul(this.r2)); + return res._forceRed(this); + }; + })(module, commonjsGlobal); +} (bn)); + +var elliptic = {}; + +var name = "elliptic"; +var version = "6.5.4"; +var description = "EC cryptography"; +var main = "lib/elliptic.js"; +var files = [ + "lib" +]; +var scripts = { + lint: "eslint lib test", + "lint:fix": "npm run lint -- --fix", + unit: "istanbul test _mocha --reporter=spec test/index.js", + test: "npm run lint && npm run unit", + version: "grunt dist && git add dist/" +}; +var repository = { + type: "git", + url: "git@github.com:indutny/elliptic" +}; +var keywords = [ + "EC", + "Elliptic", + "curve", + "Cryptography" +]; +var author = "Fedor Indutny "; +var license = "MIT"; +var bugs = { + url: "https://github.com/indutny/elliptic/issues" +}; +var homepage = "https://github.com/indutny/elliptic"; +var devDependencies = { + brfs: "^2.0.2", + coveralls: "^3.1.0", + eslint: "^7.6.0", + grunt: "^1.2.1", + "grunt-browserify": "^5.3.0", + "grunt-cli": "^1.3.2", + "grunt-contrib-connect": "^3.0.0", + "grunt-contrib-copy": "^1.0.0", + "grunt-contrib-uglify": "^5.0.0", + "grunt-mocha-istanbul": "^5.0.2", + "grunt-saucelabs": "^9.0.1", + istanbul: "^0.4.5", + mocha: "^8.0.1" +}; +var dependencies = { + "bn.js": "^4.11.9", + brorand: "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + inherits: "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" +}; +var require$$0 = { + name: name, + version: version, + description: description, + main: main, + files: files, + scripts: scripts, + repository: repository, + keywords: keywords, + author: author, + license: license, + bugs: bugs, + homepage: homepage, + devDependencies: devDependencies, + dependencies: dependencies +}; + +var utils$m = {}; + +var minimalisticAssert = assert$g; + +function assert$g(val, msg) { + if (!val) + throw new Error(msg || 'Assertion failed'); +} + +assert$g.equal = function assertEqual(l, r, msg) { + if (l != r) + throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); +}; + +var utils$l = {}; + +(function (exports) { + + var utils = exports; + + function toArray(msg, enc) { + if (Array.isArray(msg)) + return msg.slice(); + if (!msg) + return []; + var res = []; + if (typeof msg !== 'string') { + for (var i = 0; i < msg.length; i++) + res[i] = msg[i] | 0; + return res; + } + if (enc === 'hex') { + msg = msg.replace(/[^a-z0-9]+/ig, ''); + if (msg.length % 2 !== 0) + msg = '0' + msg; + for (var i = 0; i < msg.length; i += 2) + res.push(parseInt(msg[i] + msg[i + 1], 16)); + } else { + for (var i = 0; i < msg.length; i++) { + var c = msg.charCodeAt(i); + var hi = c >> 8; + var lo = c & 0xff; + if (hi) + res.push(hi, lo); + else + res.push(lo); + } + } + return res; + } + utils.toArray = toArray; + + function zero2(word) { + if (word.length === 1) + return '0' + word; + else + return word; + } + utils.zero2 = zero2; + + function toHex(msg) { + var res = ''; + for (var i = 0; i < msg.length; i++) + res += zero2(msg[i].toString(16)); + return res; + } + utils.toHex = toHex; + + utils.encode = function encode(arr, enc) { + if (enc === 'hex') + return toHex(arr); + else + return arr; + }; +} (utils$l)); + +(function (exports) { + + var utils = exports; + var BN = bn.exports; + var minAssert = minimalisticAssert; + var minUtils = utils$l; + + utils.assert = minAssert; + utils.toArray = minUtils.toArray; + utils.zero2 = minUtils.zero2; + utils.toHex = minUtils.toHex; + utils.encode = minUtils.encode; + + // Represent num in a w-NAF form + function getNAF(num, w, bits) { + var naf = new Array(Math.max(num.bitLength(), bits) + 1); + naf.fill(0); + + var ws = 1 << (w + 1); + var k = num.clone(); + + for (var i = 0; i < naf.length; i++) { + var z; + var mod = k.andln(ws - 1); + if (k.isOdd()) { + if (mod > (ws >> 1) - 1) + z = (ws >> 1) - mod; + else + z = mod; + k.isubn(z); + } else { + z = 0; + } + + naf[i] = z; + k.iushrn(1); + } + + return naf; + } + utils.getNAF = getNAF; + + // Represent k1, k2 in a Joint Sparse Form + function getJSF(k1, k2) { + var jsf = [ + [], + [], + ]; + + k1 = k1.clone(); + k2 = k2.clone(); + var d1 = 0; + var d2 = 0; + var m8; + while (k1.cmpn(-d1) > 0 || k2.cmpn(-d2) > 0) { + // First phase + var m14 = (k1.andln(3) + d1) & 3; + var m24 = (k2.andln(3) + d2) & 3; + if (m14 === 3) + m14 = -1; + if (m24 === 3) + m24 = -1; + var u1; + if ((m14 & 1) === 0) { + u1 = 0; + } else { + m8 = (k1.andln(7) + d1) & 7; + if ((m8 === 3 || m8 === 5) && m24 === 2) + u1 = -m14; + else + u1 = m14; + } + jsf[0].push(u1); + + var u2; + if ((m24 & 1) === 0) { + u2 = 0; + } else { + m8 = (k2.andln(7) + d2) & 7; + if ((m8 === 3 || m8 === 5) && m14 === 2) + u2 = -m24; + else + u2 = m24; + } + jsf[1].push(u2); + + // Second phase + if (2 * d1 === u1 + 1) + d1 = 1 - d1; + if (2 * d2 === u2 + 1) + d2 = 1 - d2; + k1.iushrn(1); + k2.iushrn(1); + } + + return jsf; + } + utils.getJSF = getJSF; + + function cachedProperty(obj, name, computer) { + var key = '_' + name; + obj.prototype[name] = function cachedProperty() { + return this[key] !== undefined ? this[key] : + this[key] = computer.call(this); + }; + } + utils.cachedProperty = cachedProperty; + + function parseBytes(bytes) { + return typeof bytes === 'string' ? utils.toArray(bytes, 'hex') : + bytes; + } + utils.parseBytes = parseBytes; + + function intFromLE(bytes) { + return new BN(bytes, 'hex', 'le'); + } + utils.intFromLE = intFromLE; +} (utils$m)); + +var brorand = {exports: {}}; + +var r$1; + +brorand.exports = function rand(len) { + if (!r$1) + r$1 = new Rand(null); + + return r$1.generate(len); +}; + +function Rand(rand) { + this.rand = rand; +} +brorand.exports.Rand = Rand; + +Rand.prototype.generate = function generate(len) { + return this._rand(len); +}; + +// Emulate crypto API using randy +Rand.prototype._rand = function _rand(n) { + if (this.rand.getBytes) + return this.rand.getBytes(n); + + var res = new Uint8Array(n); + for (var i = 0; i < res.length; i++) + res[i] = this.rand.getByte(); + return res; +}; + +if (typeof self === 'object') { + if (self.crypto && self.crypto.getRandomValues) { + // Modern browsers + Rand.prototype._rand = function _rand(n) { + var arr = new Uint8Array(n); + self.crypto.getRandomValues(arr); + return arr; + }; + } else if (self.msCrypto && self.msCrypto.getRandomValues) { + // IE + Rand.prototype._rand = function _rand(n) { + var arr = new Uint8Array(n); + self.msCrypto.getRandomValues(arr); + return arr; + }; + + // Safari's WebWorkers do not have `crypto` + } else if (typeof window === 'object') { + // Old junk + Rand.prototype._rand = function() { + throw new Error('Not implemented yet'); + }; + } +} else { + // Node.js or Web worker with no crypto support + try { + var crypto$4 = require('crypto'); + if (typeof crypto$4.randomBytes !== 'function') + throw new Error('Not supported'); + + Rand.prototype._rand = function _rand(n) { + return crypto$4.randomBytes(n); + }; + } catch (e) { + } +} + +var curve = {}; + +var BN$8 = bn.exports; +var utils$k = utils$m; +var getNAF = utils$k.getNAF; +var getJSF = utils$k.getJSF; +var assert$f = utils$k.assert; + +function BaseCurve(type, conf) { + this.type = type; + this.p = new BN$8(conf.p, 16); + + // Use Montgomery, when there is no fast reduction for the prime + this.red = conf.prime ? BN$8.red(conf.prime) : BN$8.mont(this.p); + + // Useful for many curves + this.zero = new BN$8(0).toRed(this.red); + this.one = new BN$8(1).toRed(this.red); + this.two = new BN$8(2).toRed(this.red); + + // Curve configuration, optional + this.n = conf.n && new BN$8(conf.n, 16); + this.g = conf.g && this.pointFromJSON(conf.g, conf.gRed); + + // Temporary arrays + this._wnafT1 = new Array(4); + this._wnafT2 = new Array(4); + this._wnafT3 = new Array(4); + this._wnafT4 = new Array(4); + + this._bitLength = this.n ? this.n.bitLength() : 0; + + // Generalized Greg Maxwell's trick + var adjustCount = this.n && this.p.div(this.n); + if (!adjustCount || adjustCount.cmpn(100) > 0) { + this.redN = null; + } else { + this._maxwellTrick = true; + this.redN = this.n.toRed(this.red); + } +} +var base$2 = BaseCurve; + +BaseCurve.prototype.point = function point() { + throw new Error('Not implemented'); +}; + +BaseCurve.prototype.validate = function validate() { + throw new Error('Not implemented'); +}; + +BaseCurve.prototype._fixedNafMul = function _fixedNafMul(p, k) { + assert$f(p.precomputed); + var doubles = p._getDoubles(); + + var naf = getNAF(k, 1, this._bitLength); + var I = (1 << (doubles.step + 1)) - (doubles.step % 2 === 0 ? 2 : 1); + I /= 3; + + // Translate into more windowed form + var repr = []; + var j; + var nafW; + for (j = 0; j < naf.length; j += doubles.step) { + nafW = 0; + for (var l = j + doubles.step - 1; l >= j; l--) + nafW = (nafW << 1) + naf[l]; + repr.push(nafW); + } + + var a = this.jpoint(null, null, null); + var b = this.jpoint(null, null, null); + for (var i = I; i > 0; i--) { + for (j = 0; j < repr.length; j++) { + nafW = repr[j]; + if (nafW === i) + b = b.mixedAdd(doubles.points[j]); + else if (nafW === -i) + b = b.mixedAdd(doubles.points[j].neg()); + } + a = a.add(b); + } + return a.toP(); +}; + +BaseCurve.prototype._wnafMul = function _wnafMul(p, k) { + var w = 4; + + // Precompute window + var nafPoints = p._getNAFPoints(w); + w = nafPoints.wnd; + var wnd = nafPoints.points; + + // Get NAF form + var naf = getNAF(k, w, this._bitLength); + + // Add `this`*(N+1) for every w-NAF index + var acc = this.jpoint(null, null, null); + for (var i = naf.length - 1; i >= 0; i--) { + // Count zeroes + for (var l = 0; i >= 0 && naf[i] === 0; i--) + l++; + if (i >= 0) + l++; + acc = acc.dblp(l); + + if (i < 0) + break; + var z = naf[i]; + assert$f(z !== 0); + if (p.type === 'affine') { + // J +- P + if (z > 0) + acc = acc.mixedAdd(wnd[(z - 1) >> 1]); + else + acc = acc.mixedAdd(wnd[(-z - 1) >> 1].neg()); + } else { + // J +- J + if (z > 0) + acc = acc.add(wnd[(z - 1) >> 1]); + else + acc = acc.add(wnd[(-z - 1) >> 1].neg()); + } + } + return p.type === 'affine' ? acc.toP() : acc; +}; + +BaseCurve.prototype._wnafMulAdd = function _wnafMulAdd(defW, + points, + coeffs, + len, + jacobianResult) { + var wndWidth = this._wnafT1; + var wnd = this._wnafT2; + var naf = this._wnafT3; + + // Fill all arrays + var max = 0; + var i; + var j; + var p; + for (i = 0; i < len; i++) { + p = points[i]; + var nafPoints = p._getNAFPoints(defW); + wndWidth[i] = nafPoints.wnd; + wnd[i] = nafPoints.points; + } + + // Comb small window NAFs + for (i = len - 1; i >= 1; i -= 2) { + var a = i - 1; + var b = i; + if (wndWidth[a] !== 1 || wndWidth[b] !== 1) { + naf[a] = getNAF(coeffs[a], wndWidth[a], this._bitLength); + naf[b] = getNAF(coeffs[b], wndWidth[b], this._bitLength); + max = Math.max(naf[a].length, max); + max = Math.max(naf[b].length, max); + continue; + } + + var comb = [ + points[a], /* 1 */ + null, /* 3 */ + null, /* 5 */ + points[b], /* 7 */ + ]; + + // Try to avoid Projective points, if possible + if (points[a].y.cmp(points[b].y) === 0) { + comb[1] = points[a].add(points[b]); + comb[2] = points[a].toJ().mixedAdd(points[b].neg()); + } else if (points[a].y.cmp(points[b].y.redNeg()) === 0) { + comb[1] = points[a].toJ().mixedAdd(points[b]); + comb[2] = points[a].add(points[b].neg()); + } else { + comb[1] = points[a].toJ().mixedAdd(points[b]); + comb[2] = points[a].toJ().mixedAdd(points[b].neg()); + } + + var index = [ + -3, /* -1 -1 */ + -1, /* -1 0 */ + -5, /* -1 1 */ + -7, /* 0 -1 */ + 0, /* 0 0 */ + 7, /* 0 1 */ + 5, /* 1 -1 */ + 1, /* 1 0 */ + 3, /* 1 1 */ + ]; + + var jsf = getJSF(coeffs[a], coeffs[b]); + max = Math.max(jsf[0].length, max); + naf[a] = new Array(max); + naf[b] = new Array(max); + for (j = 0; j < max; j++) { + var ja = jsf[0][j] | 0; + var jb = jsf[1][j] | 0; + + naf[a][j] = index[(ja + 1) * 3 + (jb + 1)]; + naf[b][j] = 0; + wnd[a] = comb; + } + } + + var acc = this.jpoint(null, null, null); + var tmp = this._wnafT4; + for (i = max; i >= 0; i--) { + var k = 0; + + while (i >= 0) { + var zero = true; + for (j = 0; j < len; j++) { + tmp[j] = naf[j][i] | 0; + if (tmp[j] !== 0) + zero = false; + } + if (!zero) + break; + k++; + i--; + } + if (i >= 0) + k++; + acc = acc.dblp(k); + if (i < 0) + break; + + for (j = 0; j < len; j++) { + var z = tmp[j]; + if (z === 0) + continue; + else if (z > 0) + p = wnd[j][(z - 1) >> 1]; + else if (z < 0) + p = wnd[j][(-z - 1) >> 1].neg(); + + if (p.type === 'affine') + acc = acc.mixedAdd(p); + else + acc = acc.add(p); + } + } + // Zeroify references + for (i = 0; i < len; i++) + wnd[i] = null; + + if (jacobianResult) + return acc; + else + return acc.toP(); +}; + +function BasePoint(curve, type) { + this.curve = curve; + this.type = type; + this.precomputed = null; +} +BaseCurve.BasePoint = BasePoint; + +BasePoint.prototype.eq = function eq(/*other*/) { + throw new Error('Not implemented'); +}; + +BasePoint.prototype.validate = function validate() { + return this.curve.validate(this); +}; + +BaseCurve.prototype.decodePoint = function decodePoint(bytes, enc) { + bytes = utils$k.toArray(bytes, enc); + + var len = this.p.byteLength(); + + // uncompressed, hybrid-odd, hybrid-even + if ((bytes[0] === 0x04 || bytes[0] === 0x06 || bytes[0] === 0x07) && + bytes.length - 1 === 2 * len) { + if (bytes[0] === 0x06) + assert$f(bytes[bytes.length - 1] % 2 === 0); + else if (bytes[0] === 0x07) + assert$f(bytes[bytes.length - 1] % 2 === 1); + + var res = this.point(bytes.slice(1, 1 + len), + bytes.slice(1 + len, 1 + 2 * len)); + + return res; + } else if ((bytes[0] === 0x02 || bytes[0] === 0x03) && + bytes.length - 1 === len) { + return this.pointFromX(bytes.slice(1, 1 + len), bytes[0] === 0x03); + } + throw new Error('Unknown point format'); +}; + +BasePoint.prototype.encodeCompressed = function encodeCompressed(enc) { + return this.encode(enc, true); +}; + +BasePoint.prototype._encode = function _encode(compact) { + var len = this.curve.p.byteLength(); + var x = this.getX().toArray('be', len); + + if (compact) + return [ this.getY().isEven() ? 0x02 : 0x03 ].concat(x); + + return [ 0x04 ].concat(x, this.getY().toArray('be', len)); +}; + +BasePoint.prototype.encode = function encode(enc, compact) { + return utils$k.encode(this._encode(compact), enc); +}; + +BasePoint.prototype.precompute = function precompute(power) { + if (this.precomputed) + return this; + + var precomputed = { + doubles: null, + naf: null, + beta: null, + }; + precomputed.naf = this._getNAFPoints(8); + precomputed.doubles = this._getDoubles(4, power); + precomputed.beta = this._getBeta(); + this.precomputed = precomputed; + + return this; +}; + +BasePoint.prototype._hasDoubles = function _hasDoubles(k) { + if (!this.precomputed) + return false; + + var doubles = this.precomputed.doubles; + if (!doubles) + return false; + + return doubles.points.length >= Math.ceil((k.bitLength() + 1) / doubles.step); +}; + +BasePoint.prototype._getDoubles = function _getDoubles(step, power) { + if (this.precomputed && this.precomputed.doubles) + return this.precomputed.doubles; + + var doubles = [ this ]; + var acc = this; + for (var i = 0; i < power; i += step) { + for (var j = 0; j < step; j++) + acc = acc.dbl(); + doubles.push(acc); + } + return { + step: step, + points: doubles, + }; +}; + +BasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) { + if (this.precomputed && this.precomputed.naf) + return this.precomputed.naf; + + var res = [ this ]; + var max = (1 << wnd) - 1; + var dbl = max === 1 ? null : this.dbl(); + for (var i = 1; i < max; i++) + res[i] = res[i - 1].add(dbl); + return { + wnd: wnd, + points: res, + }; +}; + +BasePoint.prototype._getBeta = function _getBeta() { + return null; +}; + +BasePoint.prototype.dblp = function dblp(k) { + var r = this; + for (var i = 0; i < k; i++) + r = r.dbl(); + return r; +}; + +var inherits$4 = {exports: {}}; + +var inherits_browser = {exports: {}}; + +var hasRequiredInherits_browser; + +function requireInherits_browser () { + if (hasRequiredInherits_browser) return inherits_browser.exports; + hasRequiredInherits_browser = 1; + if (typeof Object.create === 'function') { + // implementation from standard node.js 'util' module + inherits_browser.exports = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor; + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }); + } + }; + } else { + // old school shim for old browsers + inherits_browser.exports = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor; + var TempCtor = function () {}; + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + } + }; + } + return inherits_browser.exports; +} + +(function (module) { + try { + var util = require('util'); + /* istanbul ignore next */ + if (typeof util.inherits !== 'function') throw ''; + module.exports = util.inherits; + } catch (e) { + /* istanbul ignore next */ + module.exports = requireInherits_browser(); + } +} (inherits$4)); + +var utils$j = utils$m; +var BN$7 = bn.exports; +var inherits$3 = inherits$4.exports; +var Base$2 = base$2; + +var assert$e = utils$j.assert; + +function ShortCurve(conf) { + Base$2.call(this, 'short', conf); + + this.a = new BN$7(conf.a, 16).toRed(this.red); + this.b = new BN$7(conf.b, 16).toRed(this.red); + this.tinv = this.two.redInvm(); + + this.zeroA = this.a.fromRed().cmpn(0) === 0; + this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0; + + // If the curve is endomorphic, precalculate beta and lambda + this.endo = this._getEndomorphism(conf); + this._endoWnafT1 = new Array(4); + this._endoWnafT2 = new Array(4); +} +inherits$3(ShortCurve, Base$2); +var short = ShortCurve; + +ShortCurve.prototype._getEndomorphism = function _getEndomorphism(conf) { + // No efficient endomorphism + if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1) + return; + + // Compute beta and lambda, that lambda * P = (beta * Px; Py) + var beta; + var lambda; + if (conf.beta) { + beta = new BN$7(conf.beta, 16).toRed(this.red); + } else { + var betas = this._getEndoRoots(this.p); + // Choose the smallest beta + beta = betas[0].cmp(betas[1]) < 0 ? betas[0] : betas[1]; + beta = beta.toRed(this.red); + } + if (conf.lambda) { + lambda = new BN$7(conf.lambda, 16); + } else { + // Choose the lambda that is matching selected beta + var lambdas = this._getEndoRoots(this.n); + if (this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta)) === 0) { + lambda = lambdas[0]; + } else { + lambda = lambdas[1]; + assert$e(this.g.mul(lambda).x.cmp(this.g.x.redMul(beta)) === 0); + } + } + + // Get basis vectors, used for balanced length-two representation + var basis; + if (conf.basis) { + basis = conf.basis.map(function(vec) { + return { + a: new BN$7(vec.a, 16), + b: new BN$7(vec.b, 16), + }; + }); + } else { + basis = this._getEndoBasis(lambda); + } + + return { + beta: beta, + lambda: lambda, + basis: basis, + }; +}; + +ShortCurve.prototype._getEndoRoots = function _getEndoRoots(num) { + // Find roots of for x^2 + x + 1 in F + // Root = (-1 +- Sqrt(-3)) / 2 + // + var red = num === this.p ? this.red : BN$7.mont(num); + var tinv = new BN$7(2).toRed(red).redInvm(); + var ntinv = tinv.redNeg(); + + var s = new BN$7(3).toRed(red).redNeg().redSqrt().redMul(tinv); + + var l1 = ntinv.redAdd(s).fromRed(); + var l2 = ntinv.redSub(s).fromRed(); + return [ l1, l2 ]; +}; + +ShortCurve.prototype._getEndoBasis = function _getEndoBasis(lambda) { + // aprxSqrt >= sqrt(this.n) + var aprxSqrt = this.n.ushrn(Math.floor(this.n.bitLength() / 2)); + + // 3.74 + // Run EGCD, until r(L + 1) < aprxSqrt + var u = lambda; + var v = this.n.clone(); + var x1 = new BN$7(1); + var y1 = new BN$7(0); + var x2 = new BN$7(0); + var y2 = new BN$7(1); + + // NOTE: all vectors are roots of: a + b * lambda = 0 (mod n) + var a0; + var b0; + // First vector + var a1; + var b1; + // Second vector + var a2; + var b2; + + var prevR; + var i = 0; + var r; + var x; + while (u.cmpn(0) !== 0) { + var q = v.div(u); + r = v.sub(q.mul(u)); + x = x2.sub(q.mul(x1)); + var y = y2.sub(q.mul(y1)); + + if (!a1 && r.cmp(aprxSqrt) < 0) { + a0 = prevR.neg(); + b0 = x1; + a1 = r.neg(); + b1 = x; + } else if (a1 && ++i === 2) { + break; + } + prevR = r; + + v = u; + u = r; + x2 = x1; + x1 = x; + y2 = y1; + y1 = y; + } + a2 = r.neg(); + b2 = x; + + var len1 = a1.sqr().add(b1.sqr()); + var len2 = a2.sqr().add(b2.sqr()); + if (len2.cmp(len1) >= 0) { + a2 = a0; + b2 = b0; + } + + // Normalize signs + if (a1.negative) { + a1 = a1.neg(); + b1 = b1.neg(); + } + if (a2.negative) { + a2 = a2.neg(); + b2 = b2.neg(); + } + + return [ + { a: a1, b: b1 }, + { a: a2, b: b2 }, + ]; +}; + +ShortCurve.prototype._endoSplit = function _endoSplit(k) { + var basis = this.endo.basis; + var v1 = basis[0]; + var v2 = basis[1]; + + var c1 = v2.b.mul(k).divRound(this.n); + var c2 = v1.b.neg().mul(k).divRound(this.n); + + var p1 = c1.mul(v1.a); + var p2 = c2.mul(v2.a); + var q1 = c1.mul(v1.b); + var q2 = c2.mul(v2.b); + + // Calculate answer + var k1 = k.sub(p1).sub(p2); + var k2 = q1.add(q2).neg(); + return { k1: k1, k2: k2 }; +}; + +ShortCurve.prototype.pointFromX = function pointFromX(x, odd) { + x = new BN$7(x, 16); + if (!x.red) + x = x.toRed(this.red); + + var y2 = x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b); + var y = y2.redSqrt(); + if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) + throw new Error('invalid point'); + + // XXX Is there any way to tell if the number is odd without converting it + // to non-red form? + var isOdd = y.fromRed().isOdd(); + if (odd && !isOdd || !odd && isOdd) + y = y.redNeg(); + + return this.point(x, y); +}; + +ShortCurve.prototype.validate = function validate(point) { + if (point.inf) + return true; + + var x = point.x; + var y = point.y; + + var ax = this.a.redMul(x); + var rhs = x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b); + return y.redSqr().redISub(rhs).cmpn(0) === 0; +}; + +ShortCurve.prototype._endoWnafMulAdd = + function _endoWnafMulAdd(points, coeffs, jacobianResult) { + var npoints = this._endoWnafT1; + var ncoeffs = this._endoWnafT2; + for (var i = 0; i < points.length; i++) { + var split = this._endoSplit(coeffs[i]); + var p = points[i]; + var beta = p._getBeta(); + + if (split.k1.negative) { + split.k1.ineg(); + p = p.neg(true); + } + if (split.k2.negative) { + split.k2.ineg(); + beta = beta.neg(true); + } + + npoints[i * 2] = p; + npoints[i * 2 + 1] = beta; + ncoeffs[i * 2] = split.k1; + ncoeffs[i * 2 + 1] = split.k2; + } + var res = this._wnafMulAdd(1, npoints, ncoeffs, i * 2, jacobianResult); + + // Clean-up references to points and coefficients + for (var j = 0; j < i * 2; j++) { + npoints[j] = null; + ncoeffs[j] = null; + } + return res; + }; + +function Point$2(curve, x, y, isRed) { + Base$2.BasePoint.call(this, curve, 'affine'); + if (x === null && y === null) { + this.x = null; + this.y = null; + this.inf = true; + } else { + this.x = new BN$7(x, 16); + this.y = new BN$7(y, 16); + // Force redgomery representation when loading from JSON + if (isRed) { + this.x.forceRed(this.curve.red); + this.y.forceRed(this.curve.red); + } + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.y.red) + this.y = this.y.toRed(this.curve.red); + this.inf = false; + } +} +inherits$3(Point$2, Base$2.BasePoint); + +ShortCurve.prototype.point = function point(x, y, isRed) { + return new Point$2(this, x, y, isRed); +}; + +ShortCurve.prototype.pointFromJSON = function pointFromJSON(obj, red) { + return Point$2.fromJSON(this, obj, red); +}; + +Point$2.prototype._getBeta = function _getBeta() { + if (!this.curve.endo) + return; + + var pre = this.precomputed; + if (pre && pre.beta) + return pre.beta; + + var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); + if (pre) { + var curve = this.curve; + var endoMul = function(p) { + return curve.point(p.x.redMul(curve.endo.beta), p.y); + }; + pre.beta = beta; + beta.precomputed = { + beta: null, + naf: pre.naf && { + wnd: pre.naf.wnd, + points: pre.naf.points.map(endoMul), + }, + doubles: pre.doubles && { + step: pre.doubles.step, + points: pre.doubles.points.map(endoMul), + }, + }; + } + return beta; +}; + +Point$2.prototype.toJSON = function toJSON() { + if (!this.precomputed) + return [ this.x, this.y ]; + + return [ this.x, this.y, this.precomputed && { + doubles: this.precomputed.doubles && { + step: this.precomputed.doubles.step, + points: this.precomputed.doubles.points.slice(1), + }, + naf: this.precomputed.naf && { + wnd: this.precomputed.naf.wnd, + points: this.precomputed.naf.points.slice(1), + }, + } ]; +}; + +Point$2.fromJSON = function fromJSON(curve, obj, red) { + if (typeof obj === 'string') + obj = JSON.parse(obj); + var res = curve.point(obj[0], obj[1], red); + if (!obj[2]) + return res; + + function obj2point(obj) { + return curve.point(obj[0], obj[1], red); + } + + var pre = obj[2]; + res.precomputed = { + beta: null, + doubles: pre.doubles && { + step: pre.doubles.step, + points: [ res ].concat(pre.doubles.points.map(obj2point)), + }, + naf: pre.naf && { + wnd: pre.naf.wnd, + points: [ res ].concat(pre.naf.points.map(obj2point)), + }, + }; + return res; +}; + +Point$2.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +Point$2.prototype.isInfinity = function isInfinity() { + return this.inf; +}; + +Point$2.prototype.add = function add(p) { + // O + P = P + if (this.inf) + return p; + + // P + O = P + if (p.inf) + return this; + + // P + P = 2P + if (this.eq(p)) + return this.dbl(); + + // P + (-P) = O + if (this.neg().eq(p)) + return this.curve.point(null, null); + + // P + Q = O + if (this.x.cmp(p.x) === 0) + return this.curve.point(null, null); + + var c = this.y.redSub(p.y); + if (c.cmpn(0) !== 0) + c = c.redMul(this.x.redSub(p.x).redInvm()); + var nx = c.redSqr().redISub(this.x).redISub(p.x); + var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); + return this.curve.point(nx, ny); +}; + +Point$2.prototype.dbl = function dbl() { + if (this.inf) + return this; + + // 2P = O + var ys1 = this.y.redAdd(this.y); + if (ys1.cmpn(0) === 0) + return this.curve.point(null, null); + + var a = this.curve.a; + + var x2 = this.x.redSqr(); + var dyinv = ys1.redInvm(); + var c = x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv); + + var nx = c.redSqr().redISub(this.x.redAdd(this.x)); + var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); + return this.curve.point(nx, ny); +}; + +Point$2.prototype.getX = function getX() { + return this.x.fromRed(); +}; + +Point$2.prototype.getY = function getY() { + return this.y.fromRed(); +}; + +Point$2.prototype.mul = function mul(k) { + k = new BN$7(k, 16); + if (this.isInfinity()) + return this; + else if (this._hasDoubles(k)) + return this.curve._fixedNafMul(this, k); + else if (this.curve.endo) + return this.curve._endoWnafMulAdd([ this ], [ k ]); + else + return this.curve._wnafMul(this, k); +}; + +Point$2.prototype.mulAdd = function mulAdd(k1, p2, k2) { + var points = [ this, p2 ]; + var coeffs = [ k1, k2 ]; + if (this.curve.endo) + return this.curve._endoWnafMulAdd(points, coeffs); + else + return this.curve._wnafMulAdd(1, points, coeffs, 2); +}; + +Point$2.prototype.jmulAdd = function jmulAdd(k1, p2, k2) { + var points = [ this, p2 ]; + var coeffs = [ k1, k2 ]; + if (this.curve.endo) + return this.curve._endoWnafMulAdd(points, coeffs, true); + else + return this.curve._wnafMulAdd(1, points, coeffs, 2, true); +}; + +Point$2.prototype.eq = function eq(p) { + return this === p || + this.inf === p.inf && + (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0); +}; + +Point$2.prototype.neg = function neg(_precompute) { + if (this.inf) + return this; + + var res = this.curve.point(this.x, this.y.redNeg()); + if (_precompute && this.precomputed) { + var pre = this.precomputed; + var negate = function(p) { + return p.neg(); + }; + res.precomputed = { + naf: pre.naf && { + wnd: pre.naf.wnd, + points: pre.naf.points.map(negate), + }, + doubles: pre.doubles && { + step: pre.doubles.step, + points: pre.doubles.points.map(negate), + }, + }; + } + return res; +}; + +Point$2.prototype.toJ = function toJ() { + if (this.inf) + return this.curve.jpoint(null, null, null); + + var res = this.curve.jpoint(this.x, this.y, this.curve.one); + return res; +}; + +function JPoint(curve, x, y, z) { + Base$2.BasePoint.call(this, curve, 'jacobian'); + if (x === null && y === null && z === null) { + this.x = this.curve.one; + this.y = this.curve.one; + this.z = new BN$7(0); + } else { + this.x = new BN$7(x, 16); + this.y = new BN$7(y, 16); + this.z = new BN$7(z, 16); + } + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.y.red) + this.y = this.y.toRed(this.curve.red); + if (!this.z.red) + this.z = this.z.toRed(this.curve.red); + + this.zOne = this.z === this.curve.one; +} +inherits$3(JPoint, Base$2.BasePoint); + +ShortCurve.prototype.jpoint = function jpoint(x, y, z) { + return new JPoint(this, x, y, z); +}; + +JPoint.prototype.toP = function toP() { + if (this.isInfinity()) + return this.curve.point(null, null); + + var zinv = this.z.redInvm(); + var zinv2 = zinv.redSqr(); + var ax = this.x.redMul(zinv2); + var ay = this.y.redMul(zinv2).redMul(zinv); + + return this.curve.point(ax, ay); +}; + +JPoint.prototype.neg = function neg() { + return this.curve.jpoint(this.x, this.y.redNeg(), this.z); +}; + +JPoint.prototype.add = function add(p) { + // O + P = P + if (this.isInfinity()) + return p; + + // P + O = P + if (p.isInfinity()) + return this; + + // 12M + 4S + 7A + var pz2 = p.z.redSqr(); + var z2 = this.z.redSqr(); + var u1 = this.x.redMul(pz2); + var u2 = p.x.redMul(z2); + var s1 = this.y.redMul(pz2.redMul(p.z)); + var s2 = p.y.redMul(z2.redMul(this.z)); + + var h = u1.redSub(u2); + var r = s1.redSub(s2); + if (h.cmpn(0) === 0) { + if (r.cmpn(0) !== 0) + return this.curve.jpoint(null, null, null); + else + return this.dbl(); + } + + var h2 = h.redSqr(); + var h3 = h2.redMul(h); + var v = u1.redMul(h2); + + var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); + var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); + var nz = this.z.redMul(p.z).redMul(h); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.mixedAdd = function mixedAdd(p) { + // O + P = P + if (this.isInfinity()) + return p.toJ(); + + // P + O = P + if (p.isInfinity()) + return this; + + // 8M + 3S + 7A + var z2 = this.z.redSqr(); + var u1 = this.x; + var u2 = p.x.redMul(z2); + var s1 = this.y; + var s2 = p.y.redMul(z2).redMul(this.z); + + var h = u1.redSub(u2); + var r = s1.redSub(s2); + if (h.cmpn(0) === 0) { + if (r.cmpn(0) !== 0) + return this.curve.jpoint(null, null, null); + else + return this.dbl(); + } + + var h2 = h.redSqr(); + var h3 = h2.redMul(h); + var v = u1.redMul(h2); + + var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); + var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); + var nz = this.z.redMul(h); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.dblp = function dblp(pow) { + if (pow === 0) + return this; + if (this.isInfinity()) + return this; + if (!pow) + return this.dbl(); + + var i; + if (this.curve.zeroA || this.curve.threeA) { + var r = this; + for (i = 0; i < pow; i++) + r = r.dbl(); + return r; + } + + // 1M + 2S + 1A + N * (4S + 5M + 8A) + // N = 1 => 6M + 6S + 9A + var a = this.curve.a; + var tinv = this.curve.tinv; + + var jx = this.x; + var jy = this.y; + var jz = this.z; + var jz4 = jz.redSqr().redSqr(); + + // Reuse results + var jyd = jy.redAdd(jy); + for (i = 0; i < pow; i++) { + var jx2 = jx.redSqr(); + var jyd2 = jyd.redSqr(); + var jyd4 = jyd2.redSqr(); + var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); + + var t1 = jx.redMul(jyd2); + var nx = c.redSqr().redISub(t1.redAdd(t1)); + var t2 = t1.redISub(nx); + var dny = c.redMul(t2); + dny = dny.redIAdd(dny).redISub(jyd4); + var nz = jyd.redMul(jz); + if (i + 1 < pow) + jz4 = jz4.redMul(jyd4); + + jx = nx; + jz = nz; + jyd = dny; + } + + return this.curve.jpoint(jx, jyd.redMul(tinv), jz); +}; + +JPoint.prototype.dbl = function dbl() { + if (this.isInfinity()) + return this; + + if (this.curve.zeroA) + return this._zeroDbl(); + else if (this.curve.threeA) + return this._threeDbl(); + else + return this._dbl(); +}; + +JPoint.prototype._zeroDbl = function _zeroDbl() { + var nx; + var ny; + var nz; + // Z = 1 + if (this.zOne) { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html + // #doubling-mdbl-2007-bl + // 1M + 5S + 14A + + // XX = X1^2 + var xx = this.x.redSqr(); + // YY = Y1^2 + var yy = this.y.redSqr(); + // YYYY = YY^2 + var yyyy = yy.redSqr(); + // S = 2 * ((X1 + YY)^2 - XX - YYYY) + var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); + s = s.redIAdd(s); + // M = 3 * XX + a; a = 0 + var m = xx.redAdd(xx).redIAdd(xx); + // T = M ^ 2 - 2*S + var t = m.redSqr().redISub(s).redISub(s); + + // 8 * YYYY + var yyyy8 = yyyy.redIAdd(yyyy); + yyyy8 = yyyy8.redIAdd(yyyy8); + yyyy8 = yyyy8.redIAdd(yyyy8); + + // X3 = T + nx = t; + // Y3 = M * (S - T) - 8 * YYYY + ny = m.redMul(s.redISub(t)).redISub(yyyy8); + // Z3 = 2*Y1 + nz = this.y.redAdd(this.y); + } else { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html + // #doubling-dbl-2009-l + // 2M + 5S + 13A + + // A = X1^2 + var a = this.x.redSqr(); + // B = Y1^2 + var b = this.y.redSqr(); + // C = B^2 + var c = b.redSqr(); + // D = 2 * ((X1 + B)^2 - A - C) + var d = this.x.redAdd(b).redSqr().redISub(a).redISub(c); + d = d.redIAdd(d); + // E = 3 * A + var e = a.redAdd(a).redIAdd(a); + // F = E^2 + var f = e.redSqr(); + + // 8 * C + var c8 = c.redIAdd(c); + c8 = c8.redIAdd(c8); + c8 = c8.redIAdd(c8); + + // X3 = F - 2 * D + nx = f.redISub(d).redISub(d); + // Y3 = E * (D - X3) - 8 * C + ny = e.redMul(d.redISub(nx)).redISub(c8); + // Z3 = 2 * Y1 * Z1 + nz = this.y.redMul(this.z); + nz = nz.redIAdd(nz); + } + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype._threeDbl = function _threeDbl() { + var nx; + var ny; + var nz; + // Z = 1 + if (this.zOne) { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html + // #doubling-mdbl-2007-bl + // 1M + 5S + 15A + + // XX = X1^2 + var xx = this.x.redSqr(); + // YY = Y1^2 + var yy = this.y.redSqr(); + // YYYY = YY^2 + var yyyy = yy.redSqr(); + // S = 2 * ((X1 + YY)^2 - XX - YYYY) + var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); + s = s.redIAdd(s); + // M = 3 * XX + a + var m = xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a); + // T = M^2 - 2 * S + var t = m.redSqr().redISub(s).redISub(s); + // X3 = T + nx = t; + // Y3 = M * (S - T) - 8 * YYYY + var yyyy8 = yyyy.redIAdd(yyyy); + yyyy8 = yyyy8.redIAdd(yyyy8); + yyyy8 = yyyy8.redIAdd(yyyy8); + ny = m.redMul(s.redISub(t)).redISub(yyyy8); + // Z3 = 2 * Y1 + nz = this.y.redAdd(this.y); + } else { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b + // 3M + 5S + + // delta = Z1^2 + var delta = this.z.redSqr(); + // gamma = Y1^2 + var gamma = this.y.redSqr(); + // beta = X1 * gamma + var beta = this.x.redMul(gamma); + // alpha = 3 * (X1 - delta) * (X1 + delta) + var alpha = this.x.redSub(delta).redMul(this.x.redAdd(delta)); + alpha = alpha.redAdd(alpha).redIAdd(alpha); + // X3 = alpha^2 - 8 * beta + var beta4 = beta.redIAdd(beta); + beta4 = beta4.redIAdd(beta4); + var beta8 = beta4.redAdd(beta4); + nx = alpha.redSqr().redISub(beta8); + // Z3 = (Y1 + Z1)^2 - gamma - delta + nz = this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta); + // Y3 = alpha * (4 * beta - X3) - 8 * gamma^2 + var ggamma8 = gamma.redSqr(); + ggamma8 = ggamma8.redIAdd(ggamma8); + ggamma8 = ggamma8.redIAdd(ggamma8); + ggamma8 = ggamma8.redIAdd(ggamma8); + ny = alpha.redMul(beta4.redISub(nx)).redISub(ggamma8); + } + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype._dbl = function _dbl() { + var a = this.curve.a; + + // 4M + 6S + 10A + var jx = this.x; + var jy = this.y; + var jz = this.z; + var jz4 = jz.redSqr().redSqr(); + + var jx2 = jx.redSqr(); + var jy2 = jy.redSqr(); + + var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); + + var jxd4 = jx.redAdd(jx); + jxd4 = jxd4.redIAdd(jxd4); + var t1 = jxd4.redMul(jy2); + var nx = c.redSqr().redISub(t1.redAdd(t1)); + var t2 = t1.redISub(nx); + + var jyd8 = jy2.redSqr(); + jyd8 = jyd8.redIAdd(jyd8); + jyd8 = jyd8.redIAdd(jyd8); + jyd8 = jyd8.redIAdd(jyd8); + var ny = c.redMul(t2).redISub(jyd8); + var nz = jy.redAdd(jy).redMul(jz); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.trpl = function trpl() { + if (!this.curve.zeroA) + return this.dbl().add(this); + + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#tripling-tpl-2007-bl + // 5M + 10S + ... + + // XX = X1^2 + var xx = this.x.redSqr(); + // YY = Y1^2 + var yy = this.y.redSqr(); + // ZZ = Z1^2 + var zz = this.z.redSqr(); + // YYYY = YY^2 + var yyyy = yy.redSqr(); + // M = 3 * XX + a * ZZ2; a = 0 + var m = xx.redAdd(xx).redIAdd(xx); + // MM = M^2 + var mm = m.redSqr(); + // E = 6 * ((X1 + YY)^2 - XX - YYYY) - MM + var e = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); + e = e.redIAdd(e); + e = e.redAdd(e).redIAdd(e); + e = e.redISub(mm); + // EE = E^2 + var ee = e.redSqr(); + // T = 16*YYYY + var t = yyyy.redIAdd(yyyy); + t = t.redIAdd(t); + t = t.redIAdd(t); + t = t.redIAdd(t); + // U = (M + E)^2 - MM - EE - T + var u = m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t); + // X3 = 4 * (X1 * EE - 4 * YY * U) + var yyu4 = yy.redMul(u); + yyu4 = yyu4.redIAdd(yyu4); + yyu4 = yyu4.redIAdd(yyu4); + var nx = this.x.redMul(ee).redISub(yyu4); + nx = nx.redIAdd(nx); + nx = nx.redIAdd(nx); + // Y3 = 8 * Y1 * (U * (T - U) - E * EE) + var ny = this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee))); + ny = ny.redIAdd(ny); + ny = ny.redIAdd(ny); + ny = ny.redIAdd(ny); + // Z3 = (Z1 + E)^2 - ZZ - EE + var nz = this.z.redAdd(e).redSqr().redISub(zz).redISub(ee); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.mul = function mul(k, kbase) { + k = new BN$7(k, kbase); + + return this.curve._wnafMul(this, k); +}; + +JPoint.prototype.eq = function eq(p) { + if (p.type === 'affine') + return this.eq(p.toJ()); + + if (this === p) + return true; + + // x1 * z2^2 == x2 * z1^2 + var z2 = this.z.redSqr(); + var pz2 = p.z.redSqr(); + if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0) + return false; + + // y1 * z2^3 == y2 * z1^3 + var z3 = z2.redMul(this.z); + var pz3 = pz2.redMul(p.z); + return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0; +}; + +JPoint.prototype.eqXToP = function eqXToP(x) { + var zs = this.z.redSqr(); + var rx = x.toRed(this.curve.red).redMul(zs); + if (this.x.cmp(rx) === 0) + return true; + + var xc = x.clone(); + var t = this.curve.redN.redMul(zs); + for (;;) { + xc.iadd(this.curve.n); + if (xc.cmp(this.curve.p) >= 0) + return false; + + rx.redIAdd(t); + if (this.x.cmp(rx) === 0) + return true; + } +}; + +JPoint.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +JPoint.prototype.isInfinity = function isInfinity() { + // XXX This code assumes that zero is always zero in red + return this.z.cmpn(0) === 0; +}; + +var BN$6 = bn.exports; +var inherits$2 = inherits$4.exports; +var Base$1 = base$2; + +var utils$i = utils$m; + +function MontCurve(conf) { + Base$1.call(this, 'mont', conf); + + this.a = new BN$6(conf.a, 16).toRed(this.red); + this.b = new BN$6(conf.b, 16).toRed(this.red); + this.i4 = new BN$6(4).toRed(this.red).redInvm(); + this.two = new BN$6(2).toRed(this.red); + this.a24 = this.i4.redMul(this.a.redAdd(this.two)); +} +inherits$2(MontCurve, Base$1); +var mont = MontCurve; + +MontCurve.prototype.validate = function validate(point) { + var x = point.normalize().x; + var x2 = x.redSqr(); + var rhs = x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x); + var y = rhs.redSqrt(); + + return y.redSqr().cmp(rhs) === 0; +}; + +function Point$1(curve, x, z) { + Base$1.BasePoint.call(this, curve, 'projective'); + if (x === null && z === null) { + this.x = this.curve.one; + this.z = this.curve.zero; + } else { + this.x = new BN$6(x, 16); + this.z = new BN$6(z, 16); + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.z.red) + this.z = this.z.toRed(this.curve.red); + } +} +inherits$2(Point$1, Base$1.BasePoint); + +MontCurve.prototype.decodePoint = function decodePoint(bytes, enc) { + return this.point(utils$i.toArray(bytes, enc), 1); +}; + +MontCurve.prototype.point = function point(x, z) { + return new Point$1(this, x, z); +}; + +MontCurve.prototype.pointFromJSON = function pointFromJSON(obj) { + return Point$1.fromJSON(this, obj); +}; + +Point$1.prototype.precompute = function precompute() { + // No-op +}; + +Point$1.prototype._encode = function _encode() { + return this.getX().toArray('be', this.curve.p.byteLength()); +}; + +Point$1.fromJSON = function fromJSON(curve, obj) { + return new Point$1(curve, obj[0], obj[1] || curve.one); +}; + +Point$1.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +Point$1.prototype.isInfinity = function isInfinity() { + // XXX This code assumes that zero is always zero in red + return this.z.cmpn(0) === 0; +}; + +Point$1.prototype.dbl = function dbl() { + // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#doubling-dbl-1987-m-3 + // 2M + 2S + 4A + + // A = X1 + Z1 + var a = this.x.redAdd(this.z); + // AA = A^2 + var aa = a.redSqr(); + // B = X1 - Z1 + var b = this.x.redSub(this.z); + // BB = B^2 + var bb = b.redSqr(); + // C = AA - BB + var c = aa.redSub(bb); + // X3 = AA * BB + var nx = aa.redMul(bb); + // Z3 = C * (BB + A24 * C) + var nz = c.redMul(bb.redAdd(this.curve.a24.redMul(c))); + return this.curve.point(nx, nz); +}; + +Point$1.prototype.add = function add() { + throw new Error('Not supported on Montgomery curve'); +}; + +Point$1.prototype.diffAdd = function diffAdd(p, diff) { + // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#diffadd-dadd-1987-m-3 + // 4M + 2S + 6A + + // A = X2 + Z2 + var a = this.x.redAdd(this.z); + // B = X2 - Z2 + var b = this.x.redSub(this.z); + // C = X3 + Z3 + var c = p.x.redAdd(p.z); + // D = X3 - Z3 + var d = p.x.redSub(p.z); + // DA = D * A + var da = d.redMul(a); + // CB = C * B + var cb = c.redMul(b); + // X5 = Z1 * (DA + CB)^2 + var nx = diff.z.redMul(da.redAdd(cb).redSqr()); + // Z5 = X1 * (DA - CB)^2 + var nz = diff.x.redMul(da.redISub(cb).redSqr()); + return this.curve.point(nx, nz); +}; + +Point$1.prototype.mul = function mul(k) { + var t = k.clone(); + var a = this; // (N / 2) * Q + Q + var b = this.curve.point(null, null); // (N / 2) * Q + var c = this; // Q + + for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1)) + bits.push(t.andln(1)); + + for (var i = bits.length - 1; i >= 0; i--) { + if (bits[i] === 0) { + // N * Q + Q = ((N / 2) * Q + Q)) + (N / 2) * Q + a = a.diffAdd(b, c); + // N * Q = 2 * ((N / 2) * Q + Q)) + b = b.dbl(); + } else { + // N * Q = ((N / 2) * Q + Q) + ((N / 2) * Q) + b = a.diffAdd(b, c); + // N * Q + Q = 2 * ((N / 2) * Q + Q) + a = a.dbl(); + } + } + return b; +}; + +Point$1.prototype.mulAdd = function mulAdd() { + throw new Error('Not supported on Montgomery curve'); +}; + +Point$1.prototype.jumlAdd = function jumlAdd() { + throw new Error('Not supported on Montgomery curve'); +}; + +Point$1.prototype.eq = function eq(other) { + return this.getX().cmp(other.getX()) === 0; +}; + +Point$1.prototype.normalize = function normalize() { + this.x = this.x.redMul(this.z.redInvm()); + this.z = this.curve.one; + return this; +}; + +Point$1.prototype.getX = function getX() { + // Normalize coordinates + this.normalize(); + + return this.x.fromRed(); +}; + +var utils$h = utils$m; +var BN$5 = bn.exports; +var inherits$1 = inherits$4.exports; +var Base = base$2; + +var assert$d = utils$h.assert; + +function EdwardsCurve(conf) { + // NOTE: Important as we are creating point in Base.call() + this.twisted = (conf.a | 0) !== 1; + this.mOneA = this.twisted && (conf.a | 0) === -1; + this.extended = this.mOneA; + + Base.call(this, 'edwards', conf); + + this.a = new BN$5(conf.a, 16).umod(this.red.m); + this.a = this.a.toRed(this.red); + this.c = new BN$5(conf.c, 16).toRed(this.red); + this.c2 = this.c.redSqr(); + this.d = new BN$5(conf.d, 16).toRed(this.red); + this.dd = this.d.redAdd(this.d); + + assert$d(!this.twisted || this.c.fromRed().cmpn(1) === 0); + this.oneC = (conf.c | 0) === 1; +} +inherits$1(EdwardsCurve, Base); +var edwards = EdwardsCurve; + +EdwardsCurve.prototype._mulA = function _mulA(num) { + if (this.mOneA) + return num.redNeg(); + else + return this.a.redMul(num); +}; + +EdwardsCurve.prototype._mulC = function _mulC(num) { + if (this.oneC) + return num; + else + return this.c.redMul(num); +}; + +// Just for compatibility with Short curve +EdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) { + return this.point(x, y, z, t); +}; + +EdwardsCurve.prototype.pointFromX = function pointFromX(x, odd) { + x = new BN$5(x, 16); + if (!x.red) + x = x.toRed(this.red); + + var x2 = x.redSqr(); + var rhs = this.c2.redSub(this.a.redMul(x2)); + var lhs = this.one.redSub(this.c2.redMul(this.d).redMul(x2)); + + var y2 = rhs.redMul(lhs.redInvm()); + var y = y2.redSqrt(); + if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) + throw new Error('invalid point'); + + var isOdd = y.fromRed().isOdd(); + if (odd && !isOdd || !odd && isOdd) + y = y.redNeg(); + + return this.point(x, y); +}; + +EdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) { + y = new BN$5(y, 16); + if (!y.red) + y = y.toRed(this.red); + + // x^2 = (y^2 - c^2) / (c^2 d y^2 - a) + var y2 = y.redSqr(); + var lhs = y2.redSub(this.c2); + var rhs = y2.redMul(this.d).redMul(this.c2).redSub(this.a); + var x2 = lhs.redMul(rhs.redInvm()); + + if (x2.cmp(this.zero) === 0) { + if (odd) + throw new Error('invalid point'); + else + return this.point(this.zero, y); + } + + var x = x2.redSqrt(); + if (x.redSqr().redSub(x2).cmp(this.zero) !== 0) + throw new Error('invalid point'); + + if (x.fromRed().isOdd() !== odd) + x = x.redNeg(); + + return this.point(x, y); +}; + +EdwardsCurve.prototype.validate = function validate(point) { + if (point.isInfinity()) + return true; + + // Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2) + point.normalize(); + + var x2 = point.x.redSqr(); + var y2 = point.y.redSqr(); + var lhs = x2.redMul(this.a).redAdd(y2); + var rhs = this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2))); + + return lhs.cmp(rhs) === 0; +}; + +function Point(curve, x, y, z, t) { + Base.BasePoint.call(this, curve, 'projective'); + if (x === null && y === null && z === null) { + this.x = this.curve.zero; + this.y = this.curve.one; + this.z = this.curve.one; + this.t = this.curve.zero; + this.zOne = true; + } else { + this.x = new BN$5(x, 16); + this.y = new BN$5(y, 16); + this.z = z ? new BN$5(z, 16) : this.curve.one; + this.t = t && new BN$5(t, 16); + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.y.red) + this.y = this.y.toRed(this.curve.red); + if (!this.z.red) + this.z = this.z.toRed(this.curve.red); + if (this.t && !this.t.red) + this.t = this.t.toRed(this.curve.red); + this.zOne = this.z === this.curve.one; + + // Use extended coordinates + if (this.curve.extended && !this.t) { + this.t = this.x.redMul(this.y); + if (!this.zOne) + this.t = this.t.redMul(this.z.redInvm()); + } + } +} +inherits$1(Point, Base.BasePoint); + +EdwardsCurve.prototype.pointFromJSON = function pointFromJSON(obj) { + return Point.fromJSON(this, obj); +}; + +EdwardsCurve.prototype.point = function point(x, y, z, t) { + return new Point(this, x, y, z, t); +}; + +Point.fromJSON = function fromJSON(curve, obj) { + return new Point(curve, obj[0], obj[1], obj[2]); +}; + +Point.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +Point.prototype.isInfinity = function isInfinity() { + // XXX This code assumes that zero is always zero in red + return this.x.cmpn(0) === 0 && + (this.y.cmp(this.z) === 0 || + (this.zOne && this.y.cmp(this.curve.c) === 0)); +}; + +Point.prototype._extDbl = function _extDbl() { + // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html + // #doubling-dbl-2008-hwcd + // 4M + 4S + + // A = X1^2 + var a = this.x.redSqr(); + // B = Y1^2 + var b = this.y.redSqr(); + // C = 2 * Z1^2 + var c = this.z.redSqr(); + c = c.redIAdd(c); + // D = a * A + var d = this.curve._mulA(a); + // E = (X1 + Y1)^2 - A - B + var e = this.x.redAdd(this.y).redSqr().redISub(a).redISub(b); + // G = D + B + var g = d.redAdd(b); + // F = G - C + var f = g.redSub(c); + // H = D - B + var h = d.redSub(b); + // X3 = E * F + var nx = e.redMul(f); + // Y3 = G * H + var ny = g.redMul(h); + // T3 = E * H + var nt = e.redMul(h); + // Z3 = F * G + var nz = f.redMul(g); + return this.curve.point(nx, ny, nz, nt); +}; + +Point.prototype._projDbl = function _projDbl() { + // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html + // #doubling-dbl-2008-bbjlp + // #doubling-dbl-2007-bl + // and others + // Generally 3M + 4S or 2M + 4S + + // B = (X1 + Y1)^2 + var b = this.x.redAdd(this.y).redSqr(); + // C = X1^2 + var c = this.x.redSqr(); + // D = Y1^2 + var d = this.y.redSqr(); + + var nx; + var ny; + var nz; + var e; + var h; + var j; + if (this.curve.twisted) { + // E = a * C + e = this.curve._mulA(c); + // F = E + D + var f = e.redAdd(d); + if (this.zOne) { + // X3 = (B - C - D) * (F - 2) + nx = b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two)); + // Y3 = F * (E - D) + ny = f.redMul(e.redSub(d)); + // Z3 = F^2 - 2 * F + nz = f.redSqr().redSub(f).redSub(f); + } else { + // H = Z1^2 + h = this.z.redSqr(); + // J = F - 2 * H + j = f.redSub(h).redISub(h); + // X3 = (B-C-D)*J + nx = b.redSub(c).redISub(d).redMul(j); + // Y3 = F * (E - D) + ny = f.redMul(e.redSub(d)); + // Z3 = F * J + nz = f.redMul(j); + } + } else { + // E = C + D + e = c.redAdd(d); + // H = (c * Z1)^2 + h = this.curve._mulC(this.z).redSqr(); + // J = E - 2 * H + j = e.redSub(h).redSub(h); + // X3 = c * (B - E) * J + nx = this.curve._mulC(b.redISub(e)).redMul(j); + // Y3 = c * E * (C - D) + ny = this.curve._mulC(e).redMul(c.redISub(d)); + // Z3 = E * J + nz = e.redMul(j); + } + return this.curve.point(nx, ny, nz); +}; + +Point.prototype.dbl = function dbl() { + if (this.isInfinity()) + return this; + + // Double in extended coordinates + if (this.curve.extended) + return this._extDbl(); + else + return this._projDbl(); +}; + +Point.prototype._extAdd = function _extAdd(p) { + // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html + // #addition-add-2008-hwcd-3 + // 8M + + // A = (Y1 - X1) * (Y2 - X2) + var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x)); + // B = (Y1 + X1) * (Y2 + X2) + var b = this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)); + // C = T1 * k * T2 + var c = this.t.redMul(this.curve.dd).redMul(p.t); + // D = Z1 * 2 * Z2 + var d = this.z.redMul(p.z.redAdd(p.z)); + // E = B - A + var e = b.redSub(a); + // F = D - C + var f = d.redSub(c); + // G = D + C + var g = d.redAdd(c); + // H = B + A + var h = b.redAdd(a); + // X3 = E * F + var nx = e.redMul(f); + // Y3 = G * H + var ny = g.redMul(h); + // T3 = E * H + var nt = e.redMul(h); + // Z3 = F * G + var nz = f.redMul(g); + return this.curve.point(nx, ny, nz, nt); +}; + +Point.prototype._projAdd = function _projAdd(p) { + // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html + // #addition-add-2008-bbjlp + // #addition-add-2007-bl + // 10M + 1S + + // A = Z1 * Z2 + var a = this.z.redMul(p.z); + // B = A^2 + var b = a.redSqr(); + // C = X1 * X2 + var c = this.x.redMul(p.x); + // D = Y1 * Y2 + var d = this.y.redMul(p.y); + // E = d * C * D + var e = this.curve.d.redMul(c).redMul(d); + // F = B - E + var f = b.redSub(e); + // G = B + E + var g = b.redAdd(e); + // X3 = A * F * ((X1 + Y1) * (X2 + Y2) - C - D) + var tmp = this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d); + var nx = a.redMul(f).redMul(tmp); + var ny; + var nz; + if (this.curve.twisted) { + // Y3 = A * G * (D - a * C) + ny = a.redMul(g).redMul(d.redSub(this.curve._mulA(c))); + // Z3 = F * G + nz = f.redMul(g); + } else { + // Y3 = A * G * (D - C) + ny = a.redMul(g).redMul(d.redSub(c)); + // Z3 = c * F * G + nz = this.curve._mulC(f).redMul(g); + } + return this.curve.point(nx, ny, nz); +}; + +Point.prototype.add = function add(p) { + if (this.isInfinity()) + return p; + if (p.isInfinity()) + return this; + + if (this.curve.extended) + return this._extAdd(p); + else + return this._projAdd(p); +}; + +Point.prototype.mul = function mul(k) { + if (this._hasDoubles(k)) + return this.curve._fixedNafMul(this, k); + else + return this.curve._wnafMul(this, k); +}; + +Point.prototype.mulAdd = function mulAdd(k1, p, k2) { + return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, false); +}; + +Point.prototype.jmulAdd = function jmulAdd(k1, p, k2) { + return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, true); +}; + +Point.prototype.normalize = function normalize() { + if (this.zOne) + return this; + + // Normalize coordinates + var zi = this.z.redInvm(); + this.x = this.x.redMul(zi); + this.y = this.y.redMul(zi); + if (this.t) + this.t = this.t.redMul(zi); + this.z = this.curve.one; + this.zOne = true; + return this; +}; + +Point.prototype.neg = function neg() { + return this.curve.point(this.x.redNeg(), + this.y, + this.z, + this.t && this.t.redNeg()); +}; + +Point.prototype.getX = function getX() { + this.normalize(); + return this.x.fromRed(); +}; + +Point.prototype.getY = function getY() { + this.normalize(); + return this.y.fromRed(); +}; + +Point.prototype.eq = function eq(other) { + return this === other || + this.getX().cmp(other.getX()) === 0 && + this.getY().cmp(other.getY()) === 0; +}; + +Point.prototype.eqXToP = function eqXToP(x) { + var rx = x.toRed(this.curve.red).redMul(this.z); + if (this.x.cmp(rx) === 0) + return true; + + var xc = x.clone(); + var t = this.curve.redN.redMul(this.z); + for (;;) { + xc.iadd(this.curve.n); + if (xc.cmp(this.curve.p) >= 0) + return false; + + rx.redIAdd(t); + if (this.x.cmp(rx) === 0) + return true; + } +}; + +// Compatibility with BaseCurve +Point.prototype.toP = Point.prototype.normalize; +Point.prototype.mixedAdd = Point.prototype.add; + +(function (exports) { + + var curve = exports; + + curve.base = base$2; + curve.short = short; + curve.mont = mont; + curve.edwards = edwards; +} (curve)); + +var curves$2 = {}; + +var hash$2 = {}; + +var utils$g = {}; + +var assert$c = minimalisticAssert; +var inherits = inherits$4.exports; + +utils$g.inherits = inherits; + +function isSurrogatePair(msg, i) { + if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) { + return false; + } + if (i < 0 || i + 1 >= msg.length) { + return false; + } + return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00; +} + +function toArray(msg, enc) { + if (Array.isArray(msg)) + return msg.slice(); + if (!msg) + return []; + var res = []; + if (typeof msg === 'string') { + if (!enc) { + // Inspired by stringToUtf8ByteArray() in closure-library by Google + // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143 + // Apache License 2.0 + // https://github.com/google/closure-library/blob/master/LICENSE + var p = 0; + for (var i = 0; i < msg.length; i++) { + var c = msg.charCodeAt(i); + if (c < 128) { + res[p++] = c; + } else if (c < 2048) { + res[p++] = (c >> 6) | 192; + res[p++] = (c & 63) | 128; + } else if (isSurrogatePair(msg, i)) { + c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF); + res[p++] = (c >> 18) | 240; + res[p++] = ((c >> 12) & 63) | 128; + res[p++] = ((c >> 6) & 63) | 128; + res[p++] = (c & 63) | 128; + } else { + res[p++] = (c >> 12) | 224; + res[p++] = ((c >> 6) & 63) | 128; + res[p++] = (c & 63) | 128; + } + } + } else if (enc === 'hex') { + msg = msg.replace(/[^a-z0-9]+/ig, ''); + if (msg.length % 2 !== 0) + msg = '0' + msg; + for (i = 0; i < msg.length; i += 2) + res.push(parseInt(msg[i] + msg[i + 1], 16)); + } + } else { + for (i = 0; i < msg.length; i++) + res[i] = msg[i] | 0; + } + return res; +} +utils$g.toArray = toArray; + +function toHex(msg) { + var res = ''; + for (var i = 0; i < msg.length; i++) + res += zero2(msg[i].toString(16)); + return res; +} +utils$g.toHex = toHex; + +function htonl(w) { + var res = (w >>> 24) | + ((w >>> 8) & 0xff00) | + ((w << 8) & 0xff0000) | + ((w & 0xff) << 24); + return res >>> 0; +} +utils$g.htonl = htonl; + +function toHex32(msg, endian) { + var res = ''; + for (var i = 0; i < msg.length; i++) { + var w = msg[i]; + if (endian === 'little') + w = htonl(w); + res += zero8(w.toString(16)); + } + return res; +} +utils$g.toHex32 = toHex32; + +function zero2(word) { + if (word.length === 1) + return '0' + word; + else + return word; +} +utils$g.zero2 = zero2; + +function zero8(word) { + if (word.length === 7) + return '0' + word; + else if (word.length === 6) + return '00' + word; + else if (word.length === 5) + return '000' + word; + else if (word.length === 4) + return '0000' + word; + else if (word.length === 3) + return '00000' + word; + else if (word.length === 2) + return '000000' + word; + else if (word.length === 1) + return '0000000' + word; + else + return word; +} +utils$g.zero8 = zero8; + +function join32(msg, start, end, endian) { + var len = end - start; + assert$c(len % 4 === 0); + var res = new Array(len / 4); + for (var i = 0, k = start; i < res.length; i++, k += 4) { + var w; + if (endian === 'big') + w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3]; + else + w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k]; + res[i] = w >>> 0; + } + return res; +} +utils$g.join32 = join32; + +function split32(msg, endian) { + var res = new Array(msg.length * 4); + for (var i = 0, k = 0; i < msg.length; i++, k += 4) { + var m = msg[i]; + if (endian === 'big') { + res[k] = m >>> 24; + res[k + 1] = (m >>> 16) & 0xff; + res[k + 2] = (m >>> 8) & 0xff; + res[k + 3] = m & 0xff; + } else { + res[k + 3] = m >>> 24; + res[k + 2] = (m >>> 16) & 0xff; + res[k + 1] = (m >>> 8) & 0xff; + res[k] = m & 0xff; + } + } + return res; +} +utils$g.split32 = split32; + +function rotr32$1(w, b) { + return (w >>> b) | (w << (32 - b)); +} +utils$g.rotr32 = rotr32$1; + +function rotl32$2(w, b) { + return (w << b) | (w >>> (32 - b)); +} +utils$g.rotl32 = rotl32$2; + +function sum32$3(a, b) { + return (a + b) >>> 0; +} +utils$g.sum32 = sum32$3; + +function sum32_3$1(a, b, c) { + return (a + b + c) >>> 0; +} +utils$g.sum32_3 = sum32_3$1; + +function sum32_4$2(a, b, c, d) { + return (a + b + c + d) >>> 0; +} +utils$g.sum32_4 = sum32_4$2; + +function sum32_5$2(a, b, c, d, e) { + return (a + b + c + d + e) >>> 0; +} +utils$g.sum32_5 = sum32_5$2; + +function sum64$1(buf, pos, ah, al) { + var bh = buf[pos]; + var bl = buf[pos + 1]; + + var lo = (al + bl) >>> 0; + var hi = (lo < al ? 1 : 0) + ah + bh; + buf[pos] = hi >>> 0; + buf[pos + 1] = lo; +} +utils$g.sum64 = sum64$1; + +function sum64_hi$1(ah, al, bh, bl) { + var lo = (al + bl) >>> 0; + var hi = (lo < al ? 1 : 0) + ah + bh; + return hi >>> 0; +} +utils$g.sum64_hi = sum64_hi$1; + +function sum64_lo$1(ah, al, bh, bl) { + var lo = al + bl; + return lo >>> 0; +} +utils$g.sum64_lo = sum64_lo$1; + +function sum64_4_hi$1(ah, al, bh, bl, ch, cl, dh, dl) { + var carry = 0; + var lo = al; + lo = (lo + bl) >>> 0; + carry += lo < al ? 1 : 0; + lo = (lo + cl) >>> 0; + carry += lo < cl ? 1 : 0; + lo = (lo + dl) >>> 0; + carry += lo < dl ? 1 : 0; + + var hi = ah + bh + ch + dh + carry; + return hi >>> 0; +} +utils$g.sum64_4_hi = sum64_4_hi$1; + +function sum64_4_lo$1(ah, al, bh, bl, ch, cl, dh, dl) { + var lo = al + bl + cl + dl; + return lo >>> 0; +} +utils$g.sum64_4_lo = sum64_4_lo$1; + +function sum64_5_hi$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { + var carry = 0; + var lo = al; + lo = (lo + bl) >>> 0; + carry += lo < al ? 1 : 0; + lo = (lo + cl) >>> 0; + carry += lo < cl ? 1 : 0; + lo = (lo + dl) >>> 0; + carry += lo < dl ? 1 : 0; + lo = (lo + el) >>> 0; + carry += lo < el ? 1 : 0; + + var hi = ah + bh + ch + dh + eh + carry; + return hi >>> 0; +} +utils$g.sum64_5_hi = sum64_5_hi$1; + +function sum64_5_lo$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { + var lo = al + bl + cl + dl + el; + + return lo >>> 0; +} +utils$g.sum64_5_lo = sum64_5_lo$1; + +function rotr64_hi$1(ah, al, num) { + var r = (al << (32 - num)) | (ah >>> num); + return r >>> 0; +} +utils$g.rotr64_hi = rotr64_hi$1; + +function rotr64_lo$1(ah, al, num) { + var r = (ah << (32 - num)) | (al >>> num); + return r >>> 0; +} +utils$g.rotr64_lo = rotr64_lo$1; + +function shr64_hi$1(ah, al, num) { + return ah >>> num; +} +utils$g.shr64_hi = shr64_hi$1; + +function shr64_lo$1(ah, al, num) { + var r = (ah << (32 - num)) | (al >>> num); + return r >>> 0; +} +utils$g.shr64_lo = shr64_lo$1; + +var common$5 = {}; + +var utils$f = utils$g; +var assert$b = minimalisticAssert; + +function BlockHash$4() { + this.pending = null; + this.pendingTotal = 0; + this.blockSize = this.constructor.blockSize; + this.outSize = this.constructor.outSize; + this.hmacStrength = this.constructor.hmacStrength; + this.padLength = this.constructor.padLength / 8; + this.endian = 'big'; + + this._delta8 = this.blockSize / 8; + this._delta32 = this.blockSize / 32; +} +common$5.BlockHash = BlockHash$4; + +BlockHash$4.prototype.update = function update(msg, enc) { + // Convert message to array, pad it, and join into 32bit blocks + msg = utils$f.toArray(msg, enc); + if (!this.pending) + this.pending = msg; + else + this.pending = this.pending.concat(msg); + this.pendingTotal += msg.length; + + // Enough data, try updating + if (this.pending.length >= this._delta8) { + msg = this.pending; + + // Process pending data in blocks + var r = msg.length % this._delta8; + this.pending = msg.slice(msg.length - r, msg.length); + if (this.pending.length === 0) + this.pending = null; + + msg = utils$f.join32(msg, 0, msg.length - r, this.endian); + for (var i = 0; i < msg.length; i += this._delta32) + this._update(msg, i, i + this._delta32); + } + + return this; +}; + +BlockHash$4.prototype.digest = function digest(enc) { + this.update(this._pad()); + assert$b(this.pending === null); + + return this._digest(enc); +}; + +BlockHash$4.prototype._pad = function pad() { + var len = this.pendingTotal; + var bytes = this._delta8; + var k = bytes - ((len + this.padLength) % bytes); + var res = new Array(k + this.padLength); + res[0] = 0x80; + for (var i = 1; i < k; i++) + res[i] = 0; + + // Append length + len <<= 3; + if (this.endian === 'big') { + for (var t = 8; t < this.padLength; t++) + res[i++] = 0; + + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + res[i++] = (len >>> 24) & 0xff; + res[i++] = (len >>> 16) & 0xff; + res[i++] = (len >>> 8) & 0xff; + res[i++] = len & 0xff; + } else { + res[i++] = len & 0xff; + res[i++] = (len >>> 8) & 0xff; + res[i++] = (len >>> 16) & 0xff; + res[i++] = (len >>> 24) & 0xff; + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + + for (t = 8; t < this.padLength; t++) + res[i++] = 0; + } + + return res; +}; + +var sha = {}; + +var common$4 = {}; + +var utils$e = utils$g; +var rotr32 = utils$e.rotr32; + +function ft_1$1(s, x, y, z) { + if (s === 0) + return ch32$1(x, y, z); + if (s === 1 || s === 3) + return p32(x, y, z); + if (s === 2) + return maj32$1(x, y, z); +} +common$4.ft_1 = ft_1$1; + +function ch32$1(x, y, z) { + return (x & y) ^ ((~x) & z); +} +common$4.ch32 = ch32$1; + +function maj32$1(x, y, z) { + return (x & y) ^ (x & z) ^ (y & z); +} +common$4.maj32 = maj32$1; + +function p32(x, y, z) { + return x ^ y ^ z; +} +common$4.p32 = p32; + +function s0_256$1(x) { + return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22); +} +common$4.s0_256 = s0_256$1; + +function s1_256$1(x) { + return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25); +} +common$4.s1_256 = s1_256$1; + +function g0_256$1(x) { + return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3); +} +common$4.g0_256 = g0_256$1; + +function g1_256$1(x) { + return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10); +} +common$4.g1_256 = g1_256$1; + +var utils$d = utils$g; +var common$3 = common$5; +var shaCommon$1 = common$4; + +var rotl32$1 = utils$d.rotl32; +var sum32$2 = utils$d.sum32; +var sum32_5$1 = utils$d.sum32_5; +var ft_1 = shaCommon$1.ft_1; +var BlockHash$3 = common$3.BlockHash; + +var sha1_K = [ + 0x5A827999, 0x6ED9EBA1, + 0x8F1BBCDC, 0xCA62C1D6 +]; + +function SHA1() { + if (!(this instanceof SHA1)) + return new SHA1(); + + BlockHash$3.call(this); + this.h = [ + 0x67452301, 0xefcdab89, 0x98badcfe, + 0x10325476, 0xc3d2e1f0 ]; + this.W = new Array(80); +} + +utils$d.inherits(SHA1, BlockHash$3); +var _1 = SHA1; + +SHA1.blockSize = 512; +SHA1.outSize = 160; +SHA1.hmacStrength = 80; +SHA1.padLength = 64; + +SHA1.prototype._update = function _update(msg, start) { + var W = this.W; + + for (var i = 0; i < 16; i++) + W[i] = msg[start + i]; + + for(; i < W.length; i++) + W[i] = rotl32$1(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1); + + var a = this.h[0]; + var b = this.h[1]; + var c = this.h[2]; + var d = this.h[3]; + var e = this.h[4]; + + for (i = 0; i < W.length; i++) { + var s = ~~(i / 20); + var t = sum32_5$1(rotl32$1(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]); + e = d; + d = c; + c = rotl32$1(b, 30); + b = a; + a = t; + } + + this.h[0] = sum32$2(this.h[0], a); + this.h[1] = sum32$2(this.h[1], b); + this.h[2] = sum32$2(this.h[2], c); + this.h[3] = sum32$2(this.h[3], d); + this.h[4] = sum32$2(this.h[4], e); +}; + +SHA1.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$d.toHex32(this.h, 'big'); + else + return utils$d.split32(this.h, 'big'); +}; + +var utils$c = utils$g; +var common$2 = common$5; +var shaCommon = common$4; +var assert$a = minimalisticAssert; + +var sum32$1 = utils$c.sum32; +var sum32_4$1 = utils$c.sum32_4; +var sum32_5 = utils$c.sum32_5; +var ch32 = shaCommon.ch32; +var maj32 = shaCommon.maj32; +var s0_256 = shaCommon.s0_256; +var s1_256 = shaCommon.s1_256; +var g0_256 = shaCommon.g0_256; +var g1_256 = shaCommon.g1_256; + +var BlockHash$2 = common$2.BlockHash; + +var sha256_K = [ + 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, + 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, + 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, + 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, + 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, + 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, + 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, + 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, + 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, + 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, + 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, + 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, + 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, + 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, + 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, + 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 +]; + +function SHA256$1() { + if (!(this instanceof SHA256$1)) + return new SHA256$1(); + + BlockHash$2.call(this); + this.h = [ + 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, + 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 + ]; + this.k = sha256_K; + this.W = new Array(64); +} +utils$c.inherits(SHA256$1, BlockHash$2); +var _256 = SHA256$1; + +SHA256$1.blockSize = 512; +SHA256$1.outSize = 256; +SHA256$1.hmacStrength = 192; +SHA256$1.padLength = 64; + +SHA256$1.prototype._update = function _update(msg, start) { + var W = this.W; + + for (var i = 0; i < 16; i++) + W[i] = msg[start + i]; + for (; i < W.length; i++) + W[i] = sum32_4$1(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]); + + var a = this.h[0]; + var b = this.h[1]; + var c = this.h[2]; + var d = this.h[3]; + var e = this.h[4]; + var f = this.h[5]; + var g = this.h[6]; + var h = this.h[7]; + + assert$a(this.k.length === W.length); + for (i = 0; i < W.length; i++) { + var T1 = sum32_5(h, s1_256(e), ch32(e, f, g), this.k[i], W[i]); + var T2 = sum32$1(s0_256(a), maj32(a, b, c)); + h = g; + g = f; + f = e; + e = sum32$1(d, T1); + d = c; + c = b; + b = a; + a = sum32$1(T1, T2); + } + + this.h[0] = sum32$1(this.h[0], a); + this.h[1] = sum32$1(this.h[1], b); + this.h[2] = sum32$1(this.h[2], c); + this.h[3] = sum32$1(this.h[3], d); + this.h[4] = sum32$1(this.h[4], e); + this.h[5] = sum32$1(this.h[5], f); + this.h[6] = sum32$1(this.h[6], g); + this.h[7] = sum32$1(this.h[7], h); +}; + +SHA256$1.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$c.toHex32(this.h, 'big'); + else + return utils$c.split32(this.h, 'big'); +}; + +var utils$b = utils$g; +var SHA256 = _256; + +function SHA224() { + if (!(this instanceof SHA224)) + return new SHA224(); + + SHA256.call(this); + this.h = [ + 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939, + 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ]; +} +utils$b.inherits(SHA224, SHA256); +var _224 = SHA224; + +SHA224.blockSize = 512; +SHA224.outSize = 224; +SHA224.hmacStrength = 192; +SHA224.padLength = 64; + +SHA224.prototype._digest = function digest(enc) { + // Just truncate output + if (enc === 'hex') + return utils$b.toHex32(this.h.slice(0, 7), 'big'); + else + return utils$b.split32(this.h.slice(0, 7), 'big'); +}; + +var utils$a = utils$g; +var common$1 = common$5; +var assert$9 = minimalisticAssert; + +var rotr64_hi = utils$a.rotr64_hi; +var rotr64_lo = utils$a.rotr64_lo; +var shr64_hi = utils$a.shr64_hi; +var shr64_lo = utils$a.shr64_lo; +var sum64 = utils$a.sum64; +var sum64_hi = utils$a.sum64_hi; +var sum64_lo = utils$a.sum64_lo; +var sum64_4_hi = utils$a.sum64_4_hi; +var sum64_4_lo = utils$a.sum64_4_lo; +var sum64_5_hi = utils$a.sum64_5_hi; +var sum64_5_lo = utils$a.sum64_5_lo; + +var BlockHash$1 = common$1.BlockHash; + +var sha512_K = [ + 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd, + 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc, + 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019, + 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118, + 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe, + 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2, + 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1, + 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694, + 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3, + 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65, + 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483, + 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5, + 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210, + 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4, + 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725, + 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70, + 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926, + 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df, + 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8, + 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b, + 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001, + 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30, + 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910, + 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8, + 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53, + 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8, + 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb, + 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3, + 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60, + 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec, + 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9, + 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b, + 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207, + 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178, + 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6, + 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b, + 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493, + 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c, + 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a, + 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817 +]; + +function SHA512$1() { + if (!(this instanceof SHA512$1)) + return new SHA512$1(); + + BlockHash$1.call(this); + this.h = [ + 0x6a09e667, 0xf3bcc908, + 0xbb67ae85, 0x84caa73b, + 0x3c6ef372, 0xfe94f82b, + 0xa54ff53a, 0x5f1d36f1, + 0x510e527f, 0xade682d1, + 0x9b05688c, 0x2b3e6c1f, + 0x1f83d9ab, 0xfb41bd6b, + 0x5be0cd19, 0x137e2179 ]; + this.k = sha512_K; + this.W = new Array(160); +} +utils$a.inherits(SHA512$1, BlockHash$1); +var _512 = SHA512$1; + +SHA512$1.blockSize = 1024; +SHA512$1.outSize = 512; +SHA512$1.hmacStrength = 192; +SHA512$1.padLength = 128; + +SHA512$1.prototype._prepareBlock = function _prepareBlock(msg, start) { + var W = this.W; + + // 32 x 32bit words + for (var i = 0; i < 32; i++) + W[i] = msg[start + i]; + for (; i < W.length; i += 2) { + var c0_hi = g1_512_hi(W[i - 4], W[i - 3]); // i - 2 + var c0_lo = g1_512_lo(W[i - 4], W[i - 3]); + var c1_hi = W[i - 14]; // i - 7 + var c1_lo = W[i - 13]; + var c2_hi = g0_512_hi(W[i - 30], W[i - 29]); // i - 15 + var c2_lo = g0_512_lo(W[i - 30], W[i - 29]); + var c3_hi = W[i - 32]; // i - 16 + var c3_lo = W[i - 31]; + + W[i] = sum64_4_hi( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo); + W[i + 1] = sum64_4_lo( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo); + } +}; + +SHA512$1.prototype._update = function _update(msg, start) { + this._prepareBlock(msg, start); + + var W = this.W; + + var ah = this.h[0]; + var al = this.h[1]; + var bh = this.h[2]; + var bl = this.h[3]; + var ch = this.h[4]; + var cl = this.h[5]; + var dh = this.h[6]; + var dl = this.h[7]; + var eh = this.h[8]; + var el = this.h[9]; + var fh = this.h[10]; + var fl = this.h[11]; + var gh = this.h[12]; + var gl = this.h[13]; + var hh = this.h[14]; + var hl = this.h[15]; + + assert$9(this.k.length === W.length); + for (var i = 0; i < W.length; i += 2) { + var c0_hi = hh; + var c0_lo = hl; + var c1_hi = s1_512_hi(eh, el); + var c1_lo = s1_512_lo(eh, el); + var c2_hi = ch64_hi(eh, el, fh, fl, gh); + var c2_lo = ch64_lo(eh, el, fh, fl, gh, gl); + var c3_hi = this.k[i]; + var c3_lo = this.k[i + 1]; + var c4_hi = W[i]; + var c4_lo = W[i + 1]; + + var T1_hi = sum64_5_hi( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo, + c4_hi, c4_lo); + var T1_lo = sum64_5_lo( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo, + c4_hi, c4_lo); + + c0_hi = s0_512_hi(ah, al); + c0_lo = s0_512_lo(ah, al); + c1_hi = maj64_hi(ah, al, bh, bl, ch); + c1_lo = maj64_lo(ah, al, bh, bl, ch, cl); + + var T2_hi = sum64_hi(c0_hi, c0_lo, c1_hi, c1_lo); + var T2_lo = sum64_lo(c0_hi, c0_lo, c1_hi, c1_lo); + + hh = gh; + hl = gl; + + gh = fh; + gl = fl; + + fh = eh; + fl = el; + + eh = sum64_hi(dh, dl, T1_hi, T1_lo); + el = sum64_lo(dl, dl, T1_hi, T1_lo); + + dh = ch; + dl = cl; + + ch = bh; + cl = bl; + + bh = ah; + bl = al; + + ah = sum64_hi(T1_hi, T1_lo, T2_hi, T2_lo); + al = sum64_lo(T1_hi, T1_lo, T2_hi, T2_lo); + } + + sum64(this.h, 0, ah, al); + sum64(this.h, 2, bh, bl); + sum64(this.h, 4, ch, cl); + sum64(this.h, 6, dh, dl); + sum64(this.h, 8, eh, el); + sum64(this.h, 10, fh, fl); + sum64(this.h, 12, gh, gl); + sum64(this.h, 14, hh, hl); +}; + +SHA512$1.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$a.toHex32(this.h, 'big'); + else + return utils$a.split32(this.h, 'big'); +}; + +function ch64_hi(xh, xl, yh, yl, zh) { + var r = (xh & yh) ^ ((~xh) & zh); + if (r < 0) + r += 0x100000000; + return r; +} + +function ch64_lo(xh, xl, yh, yl, zh, zl) { + var r = (xl & yl) ^ ((~xl) & zl); + if (r < 0) + r += 0x100000000; + return r; +} + +function maj64_hi(xh, xl, yh, yl, zh) { + var r = (xh & yh) ^ (xh & zh) ^ (yh & zh); + if (r < 0) + r += 0x100000000; + return r; +} + +function maj64_lo(xh, xl, yh, yl, zh, zl) { + var r = (xl & yl) ^ (xl & zl) ^ (yl & zl); + if (r < 0) + r += 0x100000000; + return r; +} + +function s0_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 28); + var c1_hi = rotr64_hi(xl, xh, 2); // 34 + var c2_hi = rotr64_hi(xl, xh, 7); // 39 + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function s0_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 28); + var c1_lo = rotr64_lo(xl, xh, 2); // 34 + var c2_lo = rotr64_lo(xl, xh, 7); // 39 + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +function s1_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 14); + var c1_hi = rotr64_hi(xh, xl, 18); + var c2_hi = rotr64_hi(xl, xh, 9); // 41 + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function s1_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 14); + var c1_lo = rotr64_lo(xh, xl, 18); + var c2_lo = rotr64_lo(xl, xh, 9); // 41 + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +function g0_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 1); + var c1_hi = rotr64_hi(xh, xl, 8); + var c2_hi = shr64_hi(xh, xl, 7); + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function g0_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 1); + var c1_lo = rotr64_lo(xh, xl, 8); + var c2_lo = shr64_lo(xh, xl, 7); + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +function g1_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 19); + var c1_hi = rotr64_hi(xl, xh, 29); // 61 + var c2_hi = shr64_hi(xh, xl, 6); + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function g1_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 19); + var c1_lo = rotr64_lo(xl, xh, 29); // 61 + var c2_lo = shr64_lo(xh, xl, 6); + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +var utils$9 = utils$g; + +var SHA512 = _512; + +function SHA384() { + if (!(this instanceof SHA384)) + return new SHA384(); + + SHA512.call(this); + this.h = [ + 0xcbbb9d5d, 0xc1059ed8, + 0x629a292a, 0x367cd507, + 0x9159015a, 0x3070dd17, + 0x152fecd8, 0xf70e5939, + 0x67332667, 0xffc00b31, + 0x8eb44a87, 0x68581511, + 0xdb0c2e0d, 0x64f98fa7, + 0x47b5481d, 0xbefa4fa4 ]; +} +utils$9.inherits(SHA384, SHA512); +var _384 = SHA384; + +SHA384.blockSize = 1024; +SHA384.outSize = 384; +SHA384.hmacStrength = 192; +SHA384.padLength = 128; + +SHA384.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$9.toHex32(this.h.slice(0, 12), 'big'); + else + return utils$9.split32(this.h.slice(0, 12), 'big'); +}; + +sha.sha1 = _1; +sha.sha224 = _224; +sha.sha256 = _256; +sha.sha384 = _384; +sha.sha512 = _512; + +var ripemd = {}; + +var utils$8 = utils$g; +var common = common$5; + +var rotl32 = utils$8.rotl32; +var sum32 = utils$8.sum32; +var sum32_3 = utils$8.sum32_3; +var sum32_4 = utils$8.sum32_4; +var BlockHash = common.BlockHash; + +function RIPEMD160() { + if (!(this instanceof RIPEMD160)) + return new RIPEMD160(); + + BlockHash.call(this); + + this.h = [ 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0 ]; + this.endian = 'little'; +} +utils$8.inherits(RIPEMD160, BlockHash); +ripemd.ripemd160 = RIPEMD160; + +RIPEMD160.blockSize = 512; +RIPEMD160.outSize = 160; +RIPEMD160.hmacStrength = 192; +RIPEMD160.padLength = 64; + +RIPEMD160.prototype._update = function update(msg, start) { + var A = this.h[0]; + var B = this.h[1]; + var C = this.h[2]; + var D = this.h[3]; + var E = this.h[4]; + var Ah = A; + var Bh = B; + var Ch = C; + var Dh = D; + var Eh = E; + for (var j = 0; j < 80; j++) { + var T = sum32( + rotl32( + sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)), + s[j]), + E); + A = E; + E = D; + D = rotl32(C, 10); + C = B; + B = T; + T = sum32( + rotl32( + sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)), + sh[j]), + Eh); + Ah = Eh; + Eh = Dh; + Dh = rotl32(Ch, 10); + Ch = Bh; + Bh = T; + } + T = sum32_3(this.h[1], C, Dh); + this.h[1] = sum32_3(this.h[2], D, Eh); + this.h[2] = sum32_3(this.h[3], E, Ah); + this.h[3] = sum32_3(this.h[4], A, Bh); + this.h[4] = sum32_3(this.h[0], B, Ch); + this.h[0] = T; +}; + +RIPEMD160.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$8.toHex32(this.h, 'little'); + else + return utils$8.split32(this.h, 'little'); +}; + +function f(j, x, y, z) { + if (j <= 15) + return x ^ y ^ z; + else if (j <= 31) + return (x & y) | ((~x) & z); + else if (j <= 47) + return (x | (~y)) ^ z; + else if (j <= 63) + return (x & z) | (y & (~z)); + else + return x ^ (y | (~z)); +} + +function K(j) { + if (j <= 15) + return 0x00000000; + else if (j <= 31) + return 0x5a827999; + else if (j <= 47) + return 0x6ed9eba1; + else if (j <= 63) + return 0x8f1bbcdc; + else + return 0xa953fd4e; +} + +function Kh(j) { + if (j <= 15) + return 0x50a28be6; + else if (j <= 31) + return 0x5c4dd124; + else if (j <= 47) + return 0x6d703ef3; + else if (j <= 63) + return 0x7a6d76e9; + else + return 0x00000000; +} + +var r = [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, + 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, + 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, + 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13 +]; + +var rh = [ + 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, + 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, + 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, + 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, + 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11 +]; + +var s = [ + 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, + 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, + 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, + 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, + 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 +]; + +var sh = [ + 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, + 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, + 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, + 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, + 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 +]; + +var utils$7 = utils$g; +var assert$8 = minimalisticAssert; + +function Hmac(hash, key, enc) { + if (!(this instanceof Hmac)) + return new Hmac(hash, key, enc); + this.Hash = hash; + this.blockSize = hash.blockSize / 8; + this.outSize = hash.outSize / 8; + this.inner = null; + this.outer = null; + + this._init(utils$7.toArray(key, enc)); +} +var hmac = Hmac; + +Hmac.prototype._init = function init(key) { + // Shorten key, if needed + if (key.length > this.blockSize) + key = new this.Hash().update(key).digest(); + assert$8(key.length <= this.blockSize); + + // Add padding to key + for (var i = key.length; i < this.blockSize; i++) + key.push(0); + + for (i = 0; i < key.length; i++) + key[i] ^= 0x36; + this.inner = new this.Hash().update(key); + + // 0x36 ^ 0x5c = 0x6a + for (i = 0; i < key.length; i++) + key[i] ^= 0x6a; + this.outer = new this.Hash().update(key); +}; + +Hmac.prototype.update = function update(msg, enc) { + this.inner.update(msg, enc); + return this; +}; + +Hmac.prototype.digest = function digest(enc) { + this.outer.update(this.inner.digest()); + return this.outer.digest(enc); +}; + +(function (exports) { + var hash = exports; + + hash.utils = utils$g; + hash.common = common$5; + hash.sha = sha; + hash.ripemd = ripemd; + hash.hmac = hmac; + + // Proxy hash functions to the main object + hash.sha1 = hash.sha.sha1; + hash.sha256 = hash.sha.sha256; + hash.sha224 = hash.sha.sha224; + hash.sha384 = hash.sha.sha384; + hash.sha512 = hash.sha.sha512; + hash.ripemd160 = hash.ripemd.ripemd160; +} (hash$2)); + +var secp256k1; +var hasRequiredSecp256k1; + +function requireSecp256k1 () { + if (hasRequiredSecp256k1) return secp256k1; + hasRequiredSecp256k1 = 1; + secp256k1 = { + doubles: { + step: 4, + points: [ + [ + 'e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a', + 'f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821', + ], + [ + '8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508', + '11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf', + ], + [ + '175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739', + 'd3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695', + ], + [ + '363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640', + '4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9', + ], + [ + '8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c', + '4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36', + ], + [ + '723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda', + '96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f', + ], + [ + 'eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa', + '5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999', + ], + [ + '100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0', + 'cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09', + ], + [ + 'e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d', + '9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d', + ], + [ + 'feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d', + 'e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088', + ], + [ + 'da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1', + '9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d', + ], + [ + '53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0', + '5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8', + ], + [ + '8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047', + '10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a', + ], + [ + '385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862', + '283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453', + ], + [ + '6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7', + '7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160', + ], + [ + '3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd', + '56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0', + ], + [ + '85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83', + '7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6', + ], + [ + '948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a', + '53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589', + ], + [ + '6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8', + 'bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17', + ], + [ + 'e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d', + '4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda', + ], + [ + 'e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725', + '7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd', + ], + [ + '213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754', + '4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2', + ], + [ + '4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c', + '17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6', + ], + [ + 'fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6', + '6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f', + ], + [ + '76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39', + 'c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01', + ], + [ + 'c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891', + '893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3', + ], + [ + 'd895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b', + 'febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f', + ], + [ + 'b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03', + '2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7', + ], + [ + 'e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d', + 'eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78', + ], + [ + 'a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070', + '7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1', + ], + [ + '90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4', + 'e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150', + ], + [ + '8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da', + '662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82', + ], + [ + 'e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11', + '1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc', + ], + [ + '8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e', + 'efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b', + ], + [ + 'e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41', + '2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51', + ], + [ + 'b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef', + '67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45', + ], + [ + 'd68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8', + 'db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120', + ], + [ + '324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d', + '648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84', + ], + [ + '4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96', + '35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d', + ], + [ + '9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd', + 'ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d', + ], + [ + '6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5', + '9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8', + ], + [ + 'a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266', + '40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8', + ], + [ + '7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71', + '34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac', + ], + [ + '928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac', + 'c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f', + ], + [ + '85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751', + '1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962', + ], + [ + 'ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e', + '493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907', + ], + [ + '827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241', + 'c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec', + ], + [ + 'eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3', + 'be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d', + ], + [ + 'e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f', + '4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414', + ], + [ + '1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19', + 'aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd', + ], + [ + '146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be', + 'b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0', + ], + [ + 'fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9', + '6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811', + ], + [ + 'da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2', + '8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1', + ], + [ + 'a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13', + '7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c', + ], + [ + '174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c', + 'ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73', + ], + [ + '959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba', + '2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd', + ], + [ + 'd2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151', + 'e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405', + ], + [ + '64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073', + 'd99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589', + ], + [ + '8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458', + '38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e', + ], + [ + '13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b', + '69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27', + ], + [ + 'bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366', + 'd3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1', + ], + [ + '8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa', + '40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482', + ], + [ + '8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0', + '620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945', + ], + [ + 'dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787', + '7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573', + ], + [ + 'f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e', + 'ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82', + ], + ], + }, + naf: { + wnd: 7, + points: [ + [ + 'f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9', + '388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672', + ], + [ + '2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4', + 'd8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6', + ], + [ + '5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc', + '6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da', + ], + [ + 'acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe', + 'cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37', + ], + [ + '774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb', + 'd984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b', + ], + [ + 'f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8', + 'ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81', + ], + [ + 'd7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e', + '581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58', + ], + [ + 'defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34', + '4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77', + ], + [ + '2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c', + '85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a', + ], + [ + '352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5', + '321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c', + ], + [ + '2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f', + '2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67', + ], + [ + '9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714', + '73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402', + ], + [ + 'daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729', + 'a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55', + ], + [ + 'c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db', + '2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482', + ], + [ + '6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4', + 'e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82', + ], + [ + '1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5', + 'b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396', + ], + [ + '605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479', + '2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49', + ], + [ + '62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d', + '80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf', + ], + [ + '80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f', + '1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a', + ], + [ + '7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb', + 'd0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7', + ], + [ + 'd528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9', + 'eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933', + ], + [ + '49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963', + '758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a', + ], + [ + '77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74', + '958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6', + ], + [ + 'f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530', + 'e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37', + ], + [ + '463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b', + '5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e', + ], + [ + 'f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247', + 'cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6', + ], + [ + 'caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1', + 'cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476', + ], + [ + '2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120', + '4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40', + ], + [ + '7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435', + '91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61', + ], + [ + '754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18', + '673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683', + ], + [ + 'e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8', + '59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5', + ], + [ + '186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb', + '3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b', + ], + [ + 'df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f', + '55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417', + ], + [ + '5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143', + 'efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868', + ], + [ + '290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba', + 'e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a', + ], + [ + 'af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45', + 'f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6', + ], + [ + '766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a', + '744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996', + ], + [ + '59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e', + 'c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e', + ], + [ + 'f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8', + 'e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d', + ], + [ + '7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c', + '30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2', + ], + [ + '948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519', + 'e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e', + ], + [ + '7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab', + '100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437', + ], + [ + '3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca', + 'ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311', + ], + [ + 'd3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf', + '8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4', + ], + [ + '1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610', + '68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575', + ], + [ + '733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4', + 'f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d', + ], + [ + '15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c', + 'd56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d', + ], + [ + 'a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940', + 'edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629', + ], + [ + 'e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980', + 'a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06', + ], + [ + '311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3', + '66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374', + ], + [ + '34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf', + '9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee', + ], + [ + 'f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63', + '4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1', + ], + [ + 'd7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448', + 'fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b', + ], + [ + '32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf', + '5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661', + ], + [ + '7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5', + '8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6', + ], + [ + 'ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6', + '8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e', + ], + [ + '16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5', + '5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d', + ], + [ + 'eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99', + 'f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc', + ], + [ + '78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51', + 'f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4', + ], + [ + '494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5', + '42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c', + ], + [ + 'a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5', + '204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b', + ], + [ + 'c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997', + '4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913', + ], + [ + '841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881', + '73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154', + ], + [ + '5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5', + '39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865', + ], + [ + '36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66', + 'd2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc', + ], + [ + '336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726', + 'ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224', + ], + [ + '8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede', + '6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e', + ], + [ + '1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94', + '60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6', + ], + [ + '85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31', + '3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511', + ], + [ + '29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51', + 'b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b', + ], + [ + 'a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252', + 'ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2', + ], + [ + '4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5', + 'cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c', + ], + [ + 'd24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b', + '6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3', + ], + [ + 'ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4', + '322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d', + ], + [ + 'af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f', + '6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700', + ], + [ + 'e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889', + '2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4', + ], + [ + '591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246', + 'b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196', + ], + [ + '11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984', + '998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4', + ], + [ + '3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a', + 'b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257', + ], + [ + 'cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030', + 'bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13', + ], + [ + 'c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197', + '6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096', + ], + [ + 'c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593', + 'c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38', + ], + [ + 'a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef', + '21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f', + ], + [ + '347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38', + '60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448', + ], + [ + 'da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a', + '49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a', + ], + [ + 'c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111', + '5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4', + ], + [ + '4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502', + '7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437', + ], + [ + '3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea', + 'be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7', + ], + [ + 'cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26', + '8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d', + ], + [ + 'b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986', + '39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a', + ], + [ + 'd4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e', + '62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54', + ], + [ + '48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4', + '25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77', + ], + [ + 'dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda', + 'ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517', + ], + [ + '6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859', + 'cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10', + ], + [ + 'e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f', + 'f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125', + ], + [ + 'eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c', + '6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e', + ], + [ + '13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942', + 'fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1', + ], + [ + 'ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a', + '1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2', + ], + [ + 'b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80', + '5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423', + ], + [ + 'ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d', + '438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8', + ], + [ + '8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1', + 'cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758', + ], + [ + '52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63', + 'c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375', + ], + [ + 'e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352', + '6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d', + ], + [ + '7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193', + 'ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec', + ], + [ + '5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00', + '9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0', + ], + [ + '32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58', + 'ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c', + ], + [ + 'e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7', + 'd3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4', + ], + [ + '8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8', + 'c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f', + ], + [ + '4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e', + '67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649', + ], + [ + '3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d', + 'cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826', + ], + [ + '674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b', + '299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5', + ], + [ + 'd32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f', + 'f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87', + ], + [ + '30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6', + '462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b', + ], + [ + 'be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297', + '62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc', + ], + [ + '93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a', + '7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c', + ], + [ + 'b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c', + 'ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f', + ], + [ + 'd5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52', + '4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a', + ], + [ + 'd3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb', + 'bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46', + ], + [ + '463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065', + 'bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f', + ], + [ + '7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917', + '603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03', + ], + [ + '74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9', + 'cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08', + ], + [ + '30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3', + '553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8', + ], + [ + '9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57', + '712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373', + ], + [ + '176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66', + 'ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3', + ], + [ + '75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8', + '9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8', + ], + [ + '809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721', + '9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1', + ], + [ + '1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180', + '4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9', + ], + ], + }, + }; + return secp256k1; +} + +(function (exports) { + + var curves = exports; + + var hash = hash$2; + var curve$1 = curve; + var utils = utils$m; + + var assert = utils.assert; + + function PresetCurve(options) { + if (options.type === 'short') + this.curve = new curve$1.short(options); + else if (options.type === 'edwards') + this.curve = new curve$1.edwards(options); + else + this.curve = new curve$1.mont(options); + this.g = this.curve.g; + this.n = this.curve.n; + this.hash = options.hash; + + assert(this.g.validate(), 'Invalid curve'); + assert(this.g.mul(this.n).isInfinity(), 'Invalid curve, G*N != O'); + } + curves.PresetCurve = PresetCurve; + + function defineCurve(name, options) { + Object.defineProperty(curves, name, { + configurable: true, + enumerable: true, + get: function() { + var curve = new PresetCurve(options); + Object.defineProperty(curves, name, { + configurable: true, + enumerable: true, + value: curve, + }); + return curve; + }, + }); + } + + defineCurve('p192', { + type: 'short', + prime: 'p192', + p: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff', + a: 'ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc', + b: '64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1', + n: 'ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831', + hash: hash.sha256, + gRed: false, + g: [ + '188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012', + '07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811', + ], + }); + + defineCurve('p224', { + type: 'short', + prime: 'p224', + p: 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001', + a: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe', + b: 'b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4', + n: 'ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d', + hash: hash.sha256, + gRed: false, + g: [ + 'b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21', + 'bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34', + ], + }); + + defineCurve('p256', { + type: 'short', + prime: null, + p: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff', + a: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc', + b: '5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b', + n: 'ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551', + hash: hash.sha256, + gRed: false, + g: [ + '6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296', + '4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5', + ], + }); + + defineCurve('p384', { + type: 'short', + prime: null, + p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'fffffffe ffffffff 00000000 00000000 ffffffff', + a: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'fffffffe ffffffff 00000000 00000000 fffffffc', + b: 'b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f ' + + '5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef', + n: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 ' + + 'f4372ddf 581a0db2 48b0a77a ecec196a ccc52973', + hash: hash.sha384, + gRed: false, + g: [ + 'aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 ' + + '5502f25d bf55296c 3a545e38 72760ab7', + '3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 ' + + '0a60b1ce 1d7e819d 7a431d7c 90ea0e5f', + ], + }); + + defineCurve('p521', { + type: 'short', + prime: null, + p: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff ffffffff', + a: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff fffffffc', + b: '00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b ' + + '99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd ' + + '3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00', + n: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 ' + + 'f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409', + hash: hash.sha512, + gRed: false, + g: [ + '000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 ' + + '053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 ' + + 'a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66', + '00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 ' + + '579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 ' + + '3fad0761 353c7086 a272c240 88be9476 9fd16650', + ], + }); + + defineCurve('curve25519', { + type: 'mont', + prime: 'p25519', + p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', + a: '76d06', + b: '1', + n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', + hash: hash.sha256, + gRed: false, + g: [ + '9', + ], + }); + + defineCurve('ed25519', { + type: 'edwards', + prime: 'p25519', + p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', + a: '-1', + c: '1', + // -121665 * (121666^(-1)) (mod P) + d: '52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3', + n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', + hash: hash.sha256, + gRed: false, + g: [ + '216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a', + + // 4/5 + '6666666666666666666666666666666666666666666666666666666666666658', + ], + }); + + var pre; + try { + pre = requireSecp256k1(); + } catch (e) { + pre = undefined; + } + + defineCurve('secp256k1', { + type: 'short', + prime: 'k256', + p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f', + a: '0', + b: '7', + n: 'ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141', + h: '1', + hash: hash.sha256, + + // Precomputed endomorphism + beta: '7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee', + lambda: '5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72', + basis: [ + { + a: '3086d221a7d46bcde86c90e49284eb15', + b: '-e4437ed6010e88286f547fa90abfe4c3', + }, + { + a: '114ca50f7a8e2f3f657c1108d9d44cfd8', + b: '3086d221a7d46bcde86c90e49284eb15', + }, + ], + + gRed: false, + g: [ + '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', + '483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8', + pre, + ], + }); +} (curves$2)); + +var hash$1 = hash$2; +var utils$6 = utils$l; +var assert$7 = minimalisticAssert; + +function HmacDRBG$1(options) { + if (!(this instanceof HmacDRBG$1)) + return new HmacDRBG$1(options); + this.hash = options.hash; + this.predResist = !!options.predResist; + + this.outLen = this.hash.outSize; + this.minEntropy = options.minEntropy || this.hash.hmacStrength; + + this._reseed = null; + this.reseedInterval = null; + this.K = null; + this.V = null; + + var entropy = utils$6.toArray(options.entropy, options.entropyEnc || 'hex'); + var nonce = utils$6.toArray(options.nonce, options.nonceEnc || 'hex'); + var pers = utils$6.toArray(options.pers, options.persEnc || 'hex'); + assert$7(entropy.length >= (this.minEntropy / 8), + 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); + this._init(entropy, nonce, pers); +} +var hmacDrbg = HmacDRBG$1; + +HmacDRBG$1.prototype._init = function init(entropy, nonce, pers) { + var seed = entropy.concat(nonce).concat(pers); + + this.K = new Array(this.outLen / 8); + this.V = new Array(this.outLen / 8); + for (var i = 0; i < this.V.length; i++) { + this.K[i] = 0x00; + this.V[i] = 0x01; + } + + this._update(seed); + this._reseed = 1; + this.reseedInterval = 0x1000000000000; // 2^48 +}; + +HmacDRBG$1.prototype._hmac = function hmac() { + return new hash$1.hmac(this.hash, this.K); +}; + +HmacDRBG$1.prototype._update = function update(seed) { + var kmac = this._hmac() + .update(this.V) + .update([ 0x00 ]); + if (seed) + kmac = kmac.update(seed); + this.K = kmac.digest(); + this.V = this._hmac().update(this.V).digest(); + if (!seed) + return; + + this.K = this._hmac() + .update(this.V) + .update([ 0x01 ]) + .update(seed) + .digest(); + this.V = this._hmac().update(this.V).digest(); +}; + +HmacDRBG$1.prototype.reseed = function reseed(entropy, entropyEnc, add, addEnc) { + // Optional entropy enc + if (typeof entropyEnc !== 'string') { + addEnc = add; + add = entropyEnc; + entropyEnc = null; + } + + entropy = utils$6.toArray(entropy, entropyEnc); + add = utils$6.toArray(add, addEnc); + + assert$7(entropy.length >= (this.minEntropy / 8), + 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); + + this._update(entropy.concat(add || [])); + this._reseed = 1; +}; + +HmacDRBG$1.prototype.generate = function generate(len, enc, add, addEnc) { + if (this._reseed > this.reseedInterval) + throw new Error('Reseed is required'); + + // Optional encoding + if (typeof enc !== 'string') { + addEnc = add; + add = enc; + enc = null; + } + + // Optional additional data + if (add) { + add = utils$6.toArray(add, addEnc || 'hex'); + this._update(add); + } + + var temp = []; + while (temp.length < len) { + this.V = this._hmac().update(this.V).digest(); + temp = temp.concat(this.V); + } + + var res = temp.slice(0, len); + this._update(add); + this._reseed++; + return utils$6.encode(res, enc); +}; + +var BN$4 = bn.exports; +var utils$5 = utils$m; +var assert$6 = utils$5.assert; + +function KeyPair$3(ec, options) { + this.ec = ec; + this.priv = null; + this.pub = null; + + // KeyPair(ec, { priv: ..., pub: ... }) + if (options.priv) + this._importPrivate(options.priv, options.privEnc); + if (options.pub) + this._importPublic(options.pub, options.pubEnc); +} +var key$2 = KeyPair$3; + +KeyPair$3.fromPublic = function fromPublic(ec, pub, enc) { + if (pub instanceof KeyPair$3) + return pub; + + return new KeyPair$3(ec, { + pub: pub, + pubEnc: enc, + }); +}; + +KeyPair$3.fromPrivate = function fromPrivate(ec, priv, enc) { + if (priv instanceof KeyPair$3) + return priv; + + return new KeyPair$3(ec, { + priv: priv, + privEnc: enc, + }); +}; + +KeyPair$3.prototype.validate = function validate() { + var pub = this.getPublic(); + + if (pub.isInfinity()) + return { result: false, reason: 'Invalid public key' }; + if (!pub.validate()) + return { result: false, reason: 'Public key is not a point' }; + if (!pub.mul(this.ec.curve.n).isInfinity()) + return { result: false, reason: 'Public key * N != O' }; + + return { result: true, reason: null }; +}; + +KeyPair$3.prototype.getPublic = function getPublic(compact, enc) { + // compact is optional argument + if (typeof compact === 'string') { + enc = compact; + compact = null; + } + + if (!this.pub) + this.pub = this.ec.g.mul(this.priv); + + if (!enc) + return this.pub; + + return this.pub.encode(enc, compact); +}; + +KeyPair$3.prototype.getPrivate = function getPrivate(enc) { + if (enc === 'hex') + return this.priv.toString(16, 2); + else + return this.priv; +}; + +KeyPair$3.prototype._importPrivate = function _importPrivate(key, enc) { + this.priv = new BN$4(key, enc || 16); + + // Ensure that the priv won't be bigger than n, otherwise we may fail + // in fixed multiplication method + this.priv = this.priv.umod(this.ec.curve.n); +}; + +KeyPair$3.prototype._importPublic = function _importPublic(key, enc) { + if (key.x || key.y) { + // Montgomery points only have an `x` coordinate. + // Weierstrass/Edwards points on the other hand have both `x` and + // `y` coordinates. + if (this.ec.curve.type === 'mont') { + assert$6(key.x, 'Need x coordinate'); + } else if (this.ec.curve.type === 'short' || + this.ec.curve.type === 'edwards') { + assert$6(key.x && key.y, 'Need both x and y coordinate'); + } + this.pub = this.ec.curve.point(key.x, key.y); + return; + } + this.pub = this.ec.curve.decodePoint(key, enc); +}; + +// ECDH +KeyPair$3.prototype.derive = function derive(pub) { + if(!pub.validate()) { + assert$6(pub.validate(), 'public point not validated'); + } + return pub.mul(this.priv).getX(); +}; + +// ECDSA +KeyPair$3.prototype.sign = function sign(msg, enc, options) { + return this.ec.sign(msg, this, enc, options); +}; + +KeyPair$3.prototype.verify = function verify(msg, signature) { + return this.ec.verify(msg, signature, this); +}; + +KeyPair$3.prototype.inspect = function inspect() { + return ''; +}; + +var BN$3 = bn.exports; + +var utils$4 = utils$m; +var assert$5 = utils$4.assert; + +function Signature$3(options, enc) { + if (options instanceof Signature$3) + return options; + + if (this._importDER(options, enc)) + return; + + assert$5(options.r && options.s, 'Signature without r or s'); + this.r = new BN$3(options.r, 16); + this.s = new BN$3(options.s, 16); + if (options.recoveryParam === undefined) + this.recoveryParam = null; + else + this.recoveryParam = options.recoveryParam; +} +var signature$1 = Signature$3; + +function Position() { + this.place = 0; +} + +function getLength(buf, p) { + var initial = buf[p.place++]; + if (!(initial & 0x80)) { + return initial; + } + var octetLen = initial & 0xf; + + // Indefinite length or overflow + if (octetLen === 0 || octetLen > 4) { + return false; + } + + var val = 0; + for (var i = 0, off = p.place; i < octetLen; i++, off++) { + val <<= 8; + val |= buf[off]; + val >>>= 0; + } + + // Leading zeroes + if (val <= 0x7f) { + return false; + } + + p.place = off; + return val; +} + +function rmPadding(buf) { + var i = 0; + var len = buf.length - 1; + while (!buf[i] && !(buf[i + 1] & 0x80) && i < len) { + i++; + } + if (i === 0) { + return buf; + } + return buf.slice(i); +} + +Signature$3.prototype._importDER = function _importDER(data, enc) { + data = utils$4.toArray(data, enc); + var p = new Position(); + if (data[p.place++] !== 0x30) { + return false; + } + var len = getLength(data, p); + if (len === false) { + return false; + } + if ((len + p.place) !== data.length) { + return false; + } + if (data[p.place++] !== 0x02) { + return false; + } + var rlen = getLength(data, p); + if (rlen === false) { + return false; + } + var r = data.slice(p.place, rlen + p.place); + p.place += rlen; + if (data[p.place++] !== 0x02) { + return false; + } + var slen = getLength(data, p); + if (slen === false) { + return false; + } + if (data.length !== slen + p.place) { + return false; + } + var s = data.slice(p.place, slen + p.place); + if (r[0] === 0) { + if (r[1] & 0x80) { + r = r.slice(1); + } else { + // Leading zeroes + return false; + } + } + if (s[0] === 0) { + if (s[1] & 0x80) { + s = s.slice(1); + } else { + // Leading zeroes + return false; + } + } + + this.r = new BN$3(r); + this.s = new BN$3(s); + this.recoveryParam = null; + + return true; +}; + +function constructLength(arr, len) { + if (len < 0x80) { + arr.push(len); + return; + } + var octets = 1 + (Math.log(len) / Math.LN2 >>> 3); + arr.push(octets | 0x80); + while (--octets) { + arr.push((len >>> (octets << 3)) & 0xff); + } + arr.push(len); +} + +Signature$3.prototype.toDER = function toDER(enc) { + var r = this.r.toArray(); + var s = this.s.toArray(); + + // Pad values + if (r[0] & 0x80) + r = [ 0 ].concat(r); + // Pad values + if (s[0] & 0x80) + s = [ 0 ].concat(s); + + r = rmPadding(r); + s = rmPadding(s); + + while (!s[0] && !(s[1] & 0x80)) { + s = s.slice(1); + } + var arr = [ 0x02 ]; + constructLength(arr, r.length); + arr = arr.concat(r); + arr.push(0x02); + constructLength(arr, s.length); + var backHalf = arr.concat(s); + var res = [ 0x30 ]; + constructLength(res, backHalf.length); + res = res.concat(backHalf); + return utils$4.encode(res, enc); +}; + +var BN$2 = bn.exports; +var HmacDRBG = hmacDrbg; +var utils$3 = utils$m; +var curves$1 = curves$2; +var rand$1 = brorand.exports; +var assert$4 = utils$3.assert; + +var KeyPair$2 = key$2; +var Signature$2 = signature$1; + +function EC$1(options) { + if (!(this instanceof EC$1)) + return new EC$1(options); + + // Shortcut `elliptic.ec(curve-name)` + if (typeof options === 'string') { + assert$4(Object.prototype.hasOwnProperty.call(curves$1, options), + 'Unknown curve ' + options); + + options = curves$1[options]; + } + + // Shortcut for `elliptic.ec(elliptic.curves.curveName)` + if (options instanceof curves$1.PresetCurve) + options = { curve: options }; + + this.curve = options.curve.curve; + this.n = this.curve.n; + this.nh = this.n.ushrn(1); + this.g = this.curve.g; + + // Point on curve + this.g = options.curve.g; + this.g.precompute(options.curve.n.bitLength() + 1); + + // Hash for function for DRBG + this.hash = options.hash || options.curve.hash; +} +var ec$1 = EC$1; + +EC$1.prototype.keyPair = function keyPair(options) { + return new KeyPair$2(this, options); +}; + +EC$1.prototype.keyFromPrivate = function keyFromPrivate(priv, enc) { + return KeyPair$2.fromPrivate(this, priv, enc); +}; + +EC$1.prototype.keyFromPublic = function keyFromPublic(pub, enc) { + return KeyPair$2.fromPublic(this, pub, enc); +}; + +EC$1.prototype.genKeyPair = function genKeyPair(options) { + if (!options) + options = {}; + + // Instantiate Hmac_DRBG + var drbg = new HmacDRBG({ + hash: this.hash, + pers: options.pers, + persEnc: options.persEnc || 'utf8', + entropy: options.entropy || rand$1(this.hash.hmacStrength), + entropyEnc: options.entropy && options.entropyEnc || 'utf8', + nonce: this.n.toArray(), + }); + + var bytes = this.n.byteLength(); + var ns2 = this.n.sub(new BN$2(2)); + for (;;) { + var priv = new BN$2(drbg.generate(bytes)); + if (priv.cmp(ns2) > 0) + continue; + + priv.iaddn(1); + return this.keyFromPrivate(priv); + } +}; + +EC$1.prototype._truncateToN = function _truncateToN(msg, truncOnly) { + var delta = msg.byteLength() * 8 - this.n.bitLength(); + if (delta > 0) + msg = msg.ushrn(delta); + if (!truncOnly && msg.cmp(this.n) >= 0) + return msg.sub(this.n); + else + return msg; +}; + +EC$1.prototype.sign = function sign(msg, key, enc, options) { + if (typeof enc === 'object') { + options = enc; + enc = null; + } + if (!options) + options = {}; + + key = this.keyFromPrivate(key, enc); + msg = this._truncateToN(new BN$2(msg, 16)); + + // Zero-extend key to provide enough entropy + var bytes = this.n.byteLength(); + var bkey = key.getPrivate().toArray('be', bytes); + + // Zero-extend nonce to have the same byte size as N + var nonce = msg.toArray('be', bytes); + + // Instantiate Hmac_DRBG + var drbg = new HmacDRBG({ + hash: this.hash, + entropy: bkey, + nonce: nonce, + pers: options.pers, + persEnc: options.persEnc || 'utf8', + }); + + // Number of bytes to generate + var ns1 = this.n.sub(new BN$2(1)); + + for (var iter = 0; ; iter++) { + var k = options.k ? + options.k(iter) : + new BN$2(drbg.generate(this.n.byteLength())); + k = this._truncateToN(k, true); + if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0) + continue; + + var kp = this.g.mul(k); + if (kp.isInfinity()) + continue; + + var kpX = kp.getX(); + var r = kpX.umod(this.n); + if (r.cmpn(0) === 0) + continue; + + var s = k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg)); + s = s.umod(this.n); + if (s.cmpn(0) === 0) + continue; + + var recoveryParam = (kp.getY().isOdd() ? 1 : 0) | + (kpX.cmp(r) !== 0 ? 2 : 0); + + // Use complement of `s`, if it is > `n / 2` + if (options.canonical && s.cmp(this.nh) > 0) { + s = this.n.sub(s); + recoveryParam ^= 1; + } + + return new Signature$2({ r: r, s: s, recoveryParam: recoveryParam }); + } +}; + +EC$1.prototype.verify = function verify(msg, signature, key, enc) { + msg = this._truncateToN(new BN$2(msg, 16)); + key = this.keyFromPublic(key, enc); + signature = new Signature$2(signature, 'hex'); + + // Perform primitive values validation + var r = signature.r; + var s = signature.s; + if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0) + return false; + if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0) + return false; + + // Validate signature + var sinv = s.invm(this.n); + var u1 = sinv.mul(msg).umod(this.n); + var u2 = sinv.mul(r).umod(this.n); + var p; + + if (!this.curve._maxwellTrick) { + p = this.g.mulAdd(u1, key.getPublic(), u2); + if (p.isInfinity()) + return false; + + return p.getX().umod(this.n).cmp(r) === 0; + } + + // NOTE: Greg Maxwell's trick, inspired by: + // https://git.io/vad3K + + p = this.g.jmulAdd(u1, key.getPublic(), u2); + if (p.isInfinity()) + return false; + + // Compare `p.x` of Jacobian point with `r`, + // this will do `p.x == r * p.z^2` instead of multiplying `p.x` by the + // inverse of `p.z^2` + return p.eqXToP(r); +}; + +EC$1.prototype.recoverPubKey = function(msg, signature, j, enc) { + assert$4((3 & j) === j, 'The recovery param is more than two bits'); + signature = new Signature$2(signature, enc); + + var n = this.n; + var e = new BN$2(msg); + var r = signature.r; + var s = signature.s; + + // A set LSB signifies that the y-coordinate is odd + var isYOdd = j & 1; + var isSecondKey = j >> 1; + if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey) + throw new Error('Unable to find sencond key candinate'); + + // 1.1. Let x = r + jn. + if (isSecondKey) + r = this.curve.pointFromX(r.add(this.curve.n), isYOdd); + else + r = this.curve.pointFromX(r, isYOdd); + + var rInv = signature.r.invm(n); + var s1 = n.sub(e).mul(rInv).umod(n); + var s2 = s.mul(rInv).umod(n); + + // 1.6.1 Compute Q = r^-1 (sR - eG) + // Q = r^-1 (sR + -eG) + return this.g.mulAdd(s1, r, s2); +}; + +EC$1.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { + signature = new Signature$2(signature, enc); + if (signature.recoveryParam !== null) + return signature.recoveryParam; + + for (var i = 0; i < 4; i++) { + var Qprime; + try { + Qprime = this.recoverPubKey(e, signature, i); + } catch (e) { + continue; + } + + if (Qprime.eq(Q)) + return i; + } + throw new Error('Unable to find valid recovery factor'); +}; + +var utils$2 = utils$m; +var assert$3 = utils$2.assert; +var parseBytes$2 = utils$2.parseBytes; +var cachedProperty$1 = utils$2.cachedProperty; + +/** +* @param {EDDSA} eddsa - instance +* @param {Object} params - public/private key parameters +* +* @param {Array} [params.secret] - secret seed bytes +* @param {Point} [params.pub] - public key point (aka `A` in eddsa terms) +* @param {Array} [params.pub] - public key point encoded as bytes +* +*/ +function KeyPair$1(eddsa, params) { + this.eddsa = eddsa; + this._secret = parseBytes$2(params.secret); + if (eddsa.isPoint(params.pub)) + this._pub = params.pub; + else + this._pubBytes = parseBytes$2(params.pub); +} + +KeyPair$1.fromPublic = function fromPublic(eddsa, pub) { + if (pub instanceof KeyPair$1) + return pub; + return new KeyPair$1(eddsa, { pub: pub }); +}; + +KeyPair$1.fromSecret = function fromSecret(eddsa, secret) { + if (secret instanceof KeyPair$1) + return secret; + return new KeyPair$1(eddsa, { secret: secret }); +}; + +KeyPair$1.prototype.secret = function secret() { + return this._secret; +}; + +cachedProperty$1(KeyPair$1, 'pubBytes', function pubBytes() { + return this.eddsa.encodePoint(this.pub()); +}); + +cachedProperty$1(KeyPair$1, 'pub', function pub() { + if (this._pubBytes) + return this.eddsa.decodePoint(this._pubBytes); + return this.eddsa.g.mul(this.priv()); +}); + +cachedProperty$1(KeyPair$1, 'privBytes', function privBytes() { + var eddsa = this.eddsa; + var hash = this.hash(); + var lastIx = eddsa.encodingLength - 1; + + var a = hash.slice(0, eddsa.encodingLength); + a[0] &= 248; + a[lastIx] &= 127; + a[lastIx] |= 64; + + return a; +}); + +cachedProperty$1(KeyPair$1, 'priv', function priv() { + return this.eddsa.decodeInt(this.privBytes()); +}); + +cachedProperty$1(KeyPair$1, 'hash', function hash() { + return this.eddsa.hash().update(this.secret()).digest(); +}); + +cachedProperty$1(KeyPair$1, 'messagePrefix', function messagePrefix() { + return this.hash().slice(this.eddsa.encodingLength); +}); + +KeyPair$1.prototype.sign = function sign(message) { + assert$3(this._secret, 'KeyPair can only verify'); + return this.eddsa.sign(message, this); +}; + +KeyPair$1.prototype.verify = function verify(message, sig) { + return this.eddsa.verify(message, sig, this); +}; + +KeyPair$1.prototype.getSecret = function getSecret(enc) { + assert$3(this._secret, 'KeyPair is public only'); + return utils$2.encode(this.secret(), enc); +}; + +KeyPair$1.prototype.getPublic = function getPublic(enc) { + return utils$2.encode(this.pubBytes(), enc); +}; + +var key$1 = KeyPair$1; + +var BN$1 = bn.exports; +var utils$1 = utils$m; +var assert$2 = utils$1.assert; +var cachedProperty = utils$1.cachedProperty; +var parseBytes$1 = utils$1.parseBytes; + +/** +* @param {EDDSA} eddsa - eddsa instance +* @param {Array|Object} sig - +* @param {Array|Point} [sig.R] - R point as Point or bytes +* @param {Array|bn} [sig.S] - S scalar as bn or bytes +* @param {Array} [sig.Rencoded] - R point encoded +* @param {Array} [sig.Sencoded] - S scalar encoded +*/ +function Signature$1(eddsa, sig) { + this.eddsa = eddsa; + + if (typeof sig !== 'object') + sig = parseBytes$1(sig); + + if (Array.isArray(sig)) { + sig = { + R: sig.slice(0, eddsa.encodingLength), + S: sig.slice(eddsa.encodingLength), + }; + } + + assert$2(sig.R && sig.S, 'Signature without R or S'); + + if (eddsa.isPoint(sig.R)) + this._R = sig.R; + if (sig.S instanceof BN$1) + this._S = sig.S; + + this._Rencoded = Array.isArray(sig.R) ? sig.R : sig.Rencoded; + this._Sencoded = Array.isArray(sig.S) ? sig.S : sig.Sencoded; +} + +cachedProperty(Signature$1, 'S', function S() { + return this.eddsa.decodeInt(this.Sencoded()); +}); + +cachedProperty(Signature$1, 'R', function R() { + return this.eddsa.decodePoint(this.Rencoded()); +}); + +cachedProperty(Signature$1, 'Rencoded', function Rencoded() { + return this.eddsa.encodePoint(this.R()); +}); + +cachedProperty(Signature$1, 'Sencoded', function Sencoded() { + return this.eddsa.encodeInt(this.S()); +}); + +Signature$1.prototype.toBytes = function toBytes() { + return this.Rencoded().concat(this.Sencoded()); +}; + +Signature$1.prototype.toHex = function toHex() { + return utils$1.encode(this.toBytes(), 'hex').toUpperCase(); +}; + +var signature = Signature$1; + +var hash = hash$2; +var curves = curves$2; +var utils = utils$m; +var assert$1 = utils.assert; +var parseBytes = utils.parseBytes; +var KeyPair = key$1; +var Signature = signature; + +function EDDSA(curve) { + assert$1(curve === 'ed25519', 'only tested with ed25519 so far'); + + if (!(this instanceof EDDSA)) + return new EDDSA(curve); + + curve = curves[curve].curve; + this.curve = curve; + this.g = curve.g; + this.g.precompute(curve.n.bitLength() + 1); + + this.pointClass = curve.point().constructor; + this.encodingLength = Math.ceil(curve.n.bitLength() / 8); + this.hash = hash.sha512; +} + +var eddsa = EDDSA; + +/** +* @param {Array|String} message - message bytes +* @param {Array|String|KeyPair} secret - secret bytes or a keypair +* @returns {Signature} - signature +*/ +EDDSA.prototype.sign = function sign(message, secret) { + message = parseBytes(message); + var key = this.keyFromSecret(secret); + var r = this.hashInt(key.messagePrefix(), message); + var R = this.g.mul(r); + var Rencoded = this.encodePoint(R); + var s_ = this.hashInt(Rencoded, key.pubBytes(), message) + .mul(key.priv()); + var S = r.add(s_).umod(this.curve.n); + return this.makeSignature({ R: R, S: S, Rencoded: Rencoded }); +}; + +/** +* @param {Array} message - message bytes +* @param {Array|String|Signature} sig - sig bytes +* @param {Array|String|Point|KeyPair} pub - public key +* @returns {Boolean} - true if public key matches sig of message +*/ +EDDSA.prototype.verify = function verify(message, sig, pub) { + message = parseBytes(message); + sig = this.makeSignature(sig); + var key = this.keyFromPublic(pub); + var h = this.hashInt(sig.Rencoded(), key.pubBytes(), message); + var SG = this.g.mul(sig.S()); + var RplusAh = sig.R().add(key.pub().mul(h)); + return RplusAh.eq(SG); +}; + +EDDSA.prototype.hashInt = function hashInt() { + var hash = this.hash(); + for (var i = 0; i < arguments.length; i++) + hash.update(arguments[i]); + return utils.intFromLE(hash.digest()).umod(this.curve.n); +}; + +EDDSA.prototype.keyFromPublic = function keyFromPublic(pub) { + return KeyPair.fromPublic(this, pub); +}; + +EDDSA.prototype.keyFromSecret = function keyFromSecret(secret) { + return KeyPair.fromSecret(this, secret); +}; + +EDDSA.prototype.makeSignature = function makeSignature(sig) { + if (sig instanceof Signature) + return sig; + return new Signature(this, sig); +}; + +/** +* * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2 +* +* EDDSA defines methods for encoding and decoding points and integers. These are +* helper convenience methods, that pass along to utility functions implied +* parameters. +* +*/ +EDDSA.prototype.encodePoint = function encodePoint(point) { + var enc = point.getY().toArray('le', this.encodingLength); + enc[this.encodingLength - 1] |= point.getX().isOdd() ? 0x80 : 0; + return enc; +}; + +EDDSA.prototype.decodePoint = function decodePoint(bytes) { + bytes = utils.parseBytes(bytes); + + var lastIx = bytes.length - 1; + var normed = bytes.slice(0, lastIx).concat(bytes[lastIx] & ~0x80); + var xIsOdd = (bytes[lastIx] & 0x80) !== 0; + + var y = utils.intFromLE(normed); + return this.curve.pointFromY(y, xIsOdd); +}; + +EDDSA.prototype.encodeInt = function encodeInt(num) { + return num.toArray('le', this.encodingLength); +}; + +EDDSA.prototype.decodeInt = function decodeInt(bytes) { + return utils.intFromLE(bytes); +}; + +EDDSA.prototype.isPoint = function isPoint(val) { + return val instanceof this.pointClass; +}; + +(function (exports) { + + var elliptic = exports; + + elliptic.version = require$$0.version; + elliptic.utils = utils$m; + elliptic.rand = brorand.exports; + elliptic.curve = curve; + elliptic.curves = curves$2; + + // Protocols + elliptic.ec = ec$1; + elliptic.eddsa = eddsa; +} (elliptic)); + +const HEX_STRINGS = "0123456789abcdefABCDEF"; +HEX_STRINGS.split("").map((c) => c.codePointAt(0)); +Array(256) + .fill(true) + .map((_, i) => { + const s = String.fromCodePoint(i); + const index = HEX_STRINGS.indexOf(s); + // ABCDEF will use 10 - 15 + return index < 0 ? undefined : index < 16 ? index : index - 6; +}); +new TextEncoder(); +new TextDecoder("ascii"); +// Same behavior as Buffer.compare() +function compare(v1, v2) { + const minLength = Math.min(v1.length, v2.length); + for (let i = 0; i < minLength; ++i) { + if (v1[i] !== v2[i]) { + return v1[i] < v2[i] ? -1 : 1; + } + } + return v1.length === v2.length ? 0 : v1.length > v2.length ? 1 : -1; +} + +const ERROR_BAD_PRIVATE = 0; +const ERROR_BAD_POINT = 1; +const ERROR_BAD_TWEAK = 2; +const ERROR_BAD_HASH = 3; +const ERROR_BAD_SIGNATURE = 4; +const ERROR_BAD_EXTRA_DATA = 5; +const ERROR_BAD_PARITY = 6; +const ERROR_BAD_RECOVERY_ID = 7; +const ERRORS_MESSAGES = { + [ERROR_BAD_PRIVATE.toString()]: "Expected Private", + [ERROR_BAD_POINT.toString()]: "Expected Point", + [ERROR_BAD_TWEAK.toString()]: "Expected Tweak", + [ERROR_BAD_HASH.toString()]: "Expected Hash", + [ERROR_BAD_SIGNATURE.toString()]: "Expected Signature", + [ERROR_BAD_EXTRA_DATA.toString()]: "Expected Extra Data (32 bytes)", + [ERROR_BAD_PARITY.toString()]: "Expected Parity (1 | 0)", + [ERROR_BAD_RECOVERY_ID.toString()]: "Bad Recovery Id", +}; +function throwError(errcode) { + const message = ERRORS_MESSAGES[errcode.toString()] || `Unknow error code: ${errcode}`; + throw new TypeError(message); +} + +var validate_error = /*#__PURE__*/Object.freeze({ + __proto__: null, + ERROR_BAD_PRIVATE: ERROR_BAD_PRIVATE, + ERROR_BAD_POINT: ERROR_BAD_POINT, + ERROR_BAD_TWEAK: ERROR_BAD_TWEAK, + ERROR_BAD_HASH: ERROR_BAD_HASH, + ERROR_BAD_SIGNATURE: ERROR_BAD_SIGNATURE, + ERROR_BAD_EXTRA_DATA: ERROR_BAD_EXTRA_DATA, + ERROR_BAD_PARITY: ERROR_BAD_PARITY, + ERROR_BAD_RECOVERY_ID: ERROR_BAD_RECOVERY_ID, + throwError: throwError +}); + +const PRIVATE_KEY_SIZE = 32; +const PUBLIC_KEY_COMPRESSED_SIZE = 33; +const PUBLIC_KEY_UNCOMPRESSED_SIZE = 65; +const X_ONLY_PUBLIC_KEY_SIZE = 32; +const TWEAK_SIZE = 32; +const HASH_SIZE = 32; +const EXTRA_DATA_SIZE = 32; +const SIGNATURE_SIZE = 64; +const BN32_ZERO = new Uint8Array(32); +const BN32_N = new Uint8Array([ + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 254, 186, 174, 220, 230, 175, 72, 160, 59, 191, 210, 94, 140, 208, 54, 65, 65, +]); +// Difference between field and order +const BN32_P_MINUS_N = new Uint8Array([ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 69, 81, 35, 25, 80, 183, 95, + 196, 64, 45, 161, 114, 47, 201, 186, 238, +]); +function isUint8Array(value) { + return value instanceof Uint8Array; +} +function cmpBN32(data1, data2) { + for (let i = 0; i < 32; ++i) { + if (data1[i] !== data2[i]) { + return data1[i] < data2[i] ? -1 : 1; + } + } + return 0; +} +function isZero(x) { + return cmpBN32(x, BN32_ZERO) === 0; +} +function isPrivate$1(x) { + return (isUint8Array(x) && + x.length === PRIVATE_KEY_SIZE && + cmpBN32(x, BN32_ZERO) > 0 && + cmpBN32(x, BN32_N) < 0); +} +function isPoint$1(p) { + return (isUint8Array(p) && + (p.length === PUBLIC_KEY_COMPRESSED_SIZE || + p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE || + p.length === X_ONLY_PUBLIC_KEY_SIZE)); +} +function isXOnlyPoint$1(p) { + return isUint8Array(p) && p.length === X_ONLY_PUBLIC_KEY_SIZE; +} +function isDERPoint(p) { + return (isUint8Array(p) && + (p.length === PUBLIC_KEY_COMPRESSED_SIZE || + p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE)); +} +function isPointCompressed$1(p) { + return isUint8Array(p) && p.length === PUBLIC_KEY_COMPRESSED_SIZE; +} +function isTweak(tweak) { + return (isUint8Array(tweak) && + tweak.length === TWEAK_SIZE && + cmpBN32(tweak, BN32_N) < 0); +} +function isHash(h) { + return isUint8Array(h) && h.length === HASH_SIZE; +} +function isExtraData(e) { + return e === undefined || (isUint8Array(e) && e.length === EXTRA_DATA_SIZE); +} +function isSignature(signature) { + return (isUint8Array(signature) && + signature.length === 64 && + cmpBN32(signature.subarray(0, 32), BN32_N) < 0 && + cmpBN32(signature.subarray(32, 64), BN32_N) < 0); +} +function isSigrLessThanPMinusN(signature) { + return (isUint8Array(signature) && + signature.length === 64 && + cmpBN32(signature.subarray(0, 32), BN32_P_MINUS_N) < 0); +} +function validateParity(p) { + if (p !== 0 && p !== 1) + throwError(ERROR_BAD_PARITY); +} +function validatePrivate(d) { + if (!isPrivate$1(d)) + throwError(ERROR_BAD_PRIVATE); +} +function validatePoint(p) { + if (!isPoint$1(p)) + throwError(ERROR_BAD_POINT); +} +function validateXOnlyPoint(p) { + if (!isXOnlyPoint$1(p)) + throwError(ERROR_BAD_POINT); +} +function validateTweak(tweak) { + if (!isTweak(tweak)) + throwError(ERROR_BAD_TWEAK); +} +function validateHash(h) { + if (!isHash(h)) + throwError(ERROR_BAD_HASH); +} +function validateExtraData(e) { + if (!isExtraData(e)) + throwError(ERROR_BAD_EXTRA_DATA); +} +function validateSignature(signature) { + if (!isSignature(signature)) + throwError(ERROR_BAD_SIGNATURE); +} +function validateSignatureCustom(validatorFn) { + if (!validatorFn()) + throwError(ERROR_BAD_SIGNATURE); +} +function validateSignatureNonzeroRS(signature) { + if (isZero(signature.subarray(0, 32))) + throwError(ERROR_BAD_SIGNATURE); + if (isZero(signature.subarray(32, 64))) + throwError(ERROR_BAD_SIGNATURE); +} +function validateSigrPMinusN(signature) { + if (!isSigrLessThanPMinusN(signature)) + throwError(ERROR_BAD_RECOVERY_ID); +} + +function path(wasmFilename) { + const url = new Url.URL(wasmFilename, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href))); + return Url.fileURLToPath(url); +} + +function generateInt32() { + return require$$0$2.randomBytes(4).readInt32BE(0); +} + +var rand = /*#__PURE__*/Object.freeze({ + __proto__: null, + generateInt32: generateInt32 +}); + +const binary = fs.readFileSync(path("secp256k1.wasm")); +const imports = { + "./rand.js": rand, + "./validate_error.js": validate_error, +}; +const mod = new WebAssembly.Module(binary); +const instance = new WebAssembly.Instance(mod, imports); +var wasm = instance.exports; + +const WASM_BUFFER = new Uint8Array(wasm.memory.buffer); +const WASM_PRIVATE_KEY_PTR = wasm.PRIVATE_INPUT.value; +const WASM_PUBLIC_KEY_INPUT_PTR = wasm.PUBLIC_KEY_INPUT.value; +const WASM_PUBLIC_KEY_INPUT_PTR2 = wasm.PUBLIC_KEY_INPUT2.value; +const WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT.value; +const WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT2.value; +const WASM_TWEAK_INPUT_PTR = wasm.TWEAK_INPUT.value; +const WASM_HASH_INPUT_PTR = wasm.HASH_INPUT.value; +const WASM_EXTRA_DATA_INPUT_PTR = wasm.EXTRA_DATA_INPUT.value; +const WASM_SIGNATURE_INPUT_PTR = wasm.SIGNATURE_INPUT.value; +const PRIVATE_KEY_INPUT = WASM_BUFFER.subarray(WASM_PRIVATE_KEY_PTR, WASM_PRIVATE_KEY_PTR + PRIVATE_KEY_SIZE); +const PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR, WASM_PUBLIC_KEY_INPUT_PTR + PUBLIC_KEY_UNCOMPRESSED_SIZE); +const PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR2, WASM_PUBLIC_KEY_INPUT_PTR2 + PUBLIC_KEY_UNCOMPRESSED_SIZE); +const X_ONLY_PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR + X_ONLY_PUBLIC_KEY_SIZE); +const X_ONLY_PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR + X_ONLY_PUBLIC_KEY_SIZE); +const TWEAK_INPUT = WASM_BUFFER.subarray(WASM_TWEAK_INPUT_PTR, WASM_TWEAK_INPUT_PTR + TWEAK_SIZE); +const HASH_INPUT = WASM_BUFFER.subarray(WASM_HASH_INPUT_PTR, WASM_HASH_INPUT_PTR + HASH_SIZE); +const EXTRA_DATA_INPUT = WASM_BUFFER.subarray(WASM_EXTRA_DATA_INPUT_PTR, WASM_EXTRA_DATA_INPUT_PTR + EXTRA_DATA_SIZE); +const SIGNATURE_INPUT = WASM_BUFFER.subarray(WASM_SIGNATURE_INPUT_PTR, WASM_SIGNATURE_INPUT_PTR + SIGNATURE_SIZE); +function assumeCompression(compressed, p) { + if (compressed === undefined) { + return p !== undefined ? p.length : PUBLIC_KEY_COMPRESSED_SIZE; + } + return compressed + ? PUBLIC_KEY_COMPRESSED_SIZE + : PUBLIC_KEY_UNCOMPRESSED_SIZE; +} +function _isPoint(p) { + try { + PUBLIC_KEY_INPUT.set(p); + return wasm.isPoint(p.length) === 1; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + } +} +function __initializeContext() { + wasm.initializeContext(); +} +function isPoint(p) { + return isDERPoint(p) && _isPoint(p); +} +function isPointCompressed(p) { + return isPointCompressed$1(p) && _isPoint(p); +} +function isXOnlyPoint(p) { + return isXOnlyPoint$1(p) && _isPoint(p); +} +function isPrivate(d) { + return isPrivate$1(d); +} +function pointAdd(pA, pB, compressed) { + validatePoint(pA); + validatePoint(pB); + const outputlen = assumeCompression(compressed, pA); + try { + PUBLIC_KEY_INPUT.set(pA); + PUBLIC_KEY_INPUT2.set(pB); + return wasm.pointAdd(pA.length, pB.length, outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + PUBLIC_KEY_INPUT2.fill(0); + } +} +function pointAddScalar(p, tweak, compressed) { + validatePoint(p); + validateTweak(tweak); + const outputlen = assumeCompression(compressed, p); + try { + PUBLIC_KEY_INPUT.set(p); + TWEAK_INPUT.set(tweak); + return wasm.pointAddScalar(p.length, outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function pointCompress(p, compressed) { + validatePoint(p); + const outputlen = assumeCompression(compressed, p); + try { + PUBLIC_KEY_INPUT.set(p); + wasm.pointCompress(p.length, outputlen); + return PUBLIC_KEY_INPUT.slice(0, outputlen); + } + finally { + PUBLIC_KEY_INPUT.fill(0); + } +} +function pointFromScalar(d, compressed) { + validatePrivate(d); + const outputlen = assumeCompression(compressed); + try { + PRIVATE_KEY_INPUT.set(d); + return wasm.pointFromScalar(outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PRIVATE_KEY_INPUT.fill(0); + PUBLIC_KEY_INPUT.fill(0); + } +} +function xOnlyPointFromScalar(d) { + validatePrivate(d); + try { + PRIVATE_KEY_INPUT.set(d); + wasm.xOnlyPointFromScalar(); + return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); + } + finally { + PRIVATE_KEY_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + } +} +function xOnlyPointFromPoint(p) { + validatePoint(p); + try { + PUBLIC_KEY_INPUT.set(p); + wasm.xOnlyPointFromPoint(p.length); + return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); + } + finally { + PUBLIC_KEY_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + } +} +function pointMultiply(p, tweak, compressed) { + validatePoint(p); + validateTweak(tweak); + const outputlen = assumeCompression(compressed, p); + try { + PUBLIC_KEY_INPUT.set(p); + TWEAK_INPUT.set(tweak); + return wasm.pointMultiply(p.length, outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function privateAdd(d, tweak) { + validatePrivate(d); + validateTweak(tweak); + try { + PRIVATE_KEY_INPUT.set(d); + TWEAK_INPUT.set(tweak); + return wasm.privateAdd() === 1 + ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) + : null; + } + finally { + PRIVATE_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function privateSub(d, tweak) { + validatePrivate(d); + validateTweak(tweak); + // We can not pass zero tweak to WASM, because WASM use `secp256k1_ec_seckey_negate` for tweak negate. + // (zero is not valid seckey) + if (isZero(tweak)) { + return new Uint8Array(d); + } + try { + PRIVATE_KEY_INPUT.set(d); + TWEAK_INPUT.set(tweak); + return wasm.privateSub() === 1 + ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) + : null; + } + finally { + PRIVATE_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function privateNegate(d) { + validatePrivate(d); + try { + PRIVATE_KEY_INPUT.set(d); + wasm.privateNegate(); + return PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE); + } + finally { + PRIVATE_KEY_INPUT.fill(0); + } +} +function xOnlyPointAddTweak(p, tweak) { + validateXOnlyPoint(p); + validateTweak(tweak); + try { + X_ONLY_PUBLIC_KEY_INPUT.set(p); + TWEAK_INPUT.set(tweak); + const parity = wasm.xOnlyPointAddTweak(); + return parity !== -1 + ? { + parity, + xOnlyPubkey: X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE), + } + : null; + } + finally { + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function xOnlyPointAddTweakCheck(point, tweak, resultToCheck, tweakParity) { + validateXOnlyPoint(point); + validateXOnlyPoint(resultToCheck); + validateTweak(tweak); + const hasParity = tweakParity !== undefined; + if (hasParity) + validateParity(tweakParity); + try { + X_ONLY_PUBLIC_KEY_INPUT.set(point); + X_ONLY_PUBLIC_KEY_INPUT2.set(resultToCheck); + TWEAK_INPUT.set(tweak); + if (hasParity) { + return wasm.xOnlyPointAddTweakCheck(tweakParity) === 1; + } + else { + wasm.xOnlyPointAddTweak(); + const newKey = X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); + return compare(newKey, resultToCheck) === 0; + } + } + finally { + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT2.fill(0); + TWEAK_INPUT.fill(0); + } +} +function sign(h, d, e) { + validateHash(h); + validatePrivate(d); + validateExtraData(e); + try { + HASH_INPUT.set(h); + PRIVATE_KEY_INPUT.set(d); + if (e !== undefined) + EXTRA_DATA_INPUT.set(e); + wasm.sign(e === undefined ? 0 : 1); + return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); + } + finally { + HASH_INPUT.fill(0); + PRIVATE_KEY_INPUT.fill(0); + if (e !== undefined) + EXTRA_DATA_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function signRecoverable(h, d, e) { + validateHash(h); + validatePrivate(d); + validateExtraData(e); + try { + HASH_INPUT.set(h); + PRIVATE_KEY_INPUT.set(d); + if (e !== undefined) + EXTRA_DATA_INPUT.set(e); + const recoveryId = wasm.signRecoverable(e === undefined ? 0 : 1); + const signature = SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); + return { + signature, + recoveryId, + }; + } + finally { + HASH_INPUT.fill(0); + PRIVATE_KEY_INPUT.fill(0); + if (e !== undefined) + EXTRA_DATA_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function signSchnorr(h, d, e) { + validateHash(h); + validatePrivate(d); + validateExtraData(e); + try { + HASH_INPUT.set(h); + PRIVATE_KEY_INPUT.set(d); + if (e !== undefined) + EXTRA_DATA_INPUT.set(e); + wasm.signSchnorr(e === undefined ? 0 : 1); + return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); + } + finally { + HASH_INPUT.fill(0); + PRIVATE_KEY_INPUT.fill(0); + if (e !== undefined) + EXTRA_DATA_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function verify(h, Q, signature, strict = false) { + validateHash(h); + validatePoint(Q); + validateSignature(signature); + try { + HASH_INPUT.set(h); + PUBLIC_KEY_INPUT.set(Q); + SIGNATURE_INPUT.set(signature); + return wasm.verify(Q.length, strict === true ? 1 : 0) === 1 ? true : false; + } + finally { + HASH_INPUT.fill(0); + PUBLIC_KEY_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function recover(h, signature, recoveryId, compressed = false) { + validateHash(h); + validateSignature(signature); + validateSignatureNonzeroRS(signature); + if (recoveryId & 2) { + validateSigrPMinusN(signature); + } + validateSignatureCustom(() => isXOnlyPoint(signature.subarray(0, 32))); + const outputlen = assumeCompression(compressed); + try { + HASH_INPUT.set(h); + SIGNATURE_INPUT.set(signature); + return wasm.recover(outputlen, recoveryId) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + HASH_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + PUBLIC_KEY_INPUT.fill(0); + } +} +function verifySchnorr(h, Q, signature) { + validateHash(h); + validateXOnlyPoint(Q); + validateSignature(signature); + try { + HASH_INPUT.set(h); + X_ONLY_PUBLIC_KEY_INPUT.set(Q); + SIGNATURE_INPUT.set(signature); + return wasm.verifySchnorr() === 1 ? true : false; + } + finally { + HASH_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} + +var lib = /*#__PURE__*/Object.freeze({ + __proto__: null, + __initializeContext: __initializeContext, + isPoint: isPoint, + isPointCompressed: isPointCompressed, + isXOnlyPoint: isXOnlyPoint, + isPrivate: isPrivate, + pointAdd: pointAdd, + pointAddScalar: pointAddScalar, + pointCompress: pointCompress, + pointFromScalar: pointFromScalar, + xOnlyPointFromScalar: xOnlyPointFromScalar, + xOnlyPointFromPoint: xOnlyPointFromPoint, + pointMultiply: pointMultiply, + privateAdd: privateAdd, + privateSub: privateSub, + privateNegate: privateNegate, + xOnlyPointAddTweak: xOnlyPointAddTweak, + xOnlyPointAddTweakCheck: xOnlyPointAddTweakCheck, + sign: sign, + signRecoverable: signRecoverable, + signSchnorr: signSchnorr, + verify: verify, + recover: recover, + verifySchnorr: verifySchnorr +}); + +var require$$5 = /*@__PURE__*/getAugmentedNamespace(lib); + +var payments$1 = {}; + +var embed = {}; + +var networks = {}; + +Object.defineProperty(networks, '__esModule', { value: true }); +networks.testnet = networks.regtest = networks.bitcoin = void 0; +networks.bitcoin = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'bc', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x00, + scriptHash: 0x05, + wif: 0x80, +}; +networks.regtest = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'bcrt', + bip32: { + public: 0x043587cf, + private: 0x04358394, + }, + pubKeyHash: 0x6f, + scriptHash: 0xc4, + wif: 0xef, +}; +networks.testnet = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'tb', + bip32: { + public: 0x043587cf, + private: 0x04358394, + }, + pubKeyHash: 0x6f, + scriptHash: 0xc4, + wif: 0xef, +}; + +var script = {}; + +var bip66$1 = {}; + +// Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki +// Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] +// NOTE: SIGHASH byte ignored AND restricted, truncate before use +Object.defineProperty(bip66$1, '__esModule', { value: true }); +bip66$1.encode = bip66$1.decode = bip66$1.check = void 0; +function check(buffer) { + if (buffer.length < 8) return false; + if (buffer.length > 72) return false; + if (buffer[0] !== 0x30) return false; + if (buffer[1] !== buffer.length - 2) return false; + if (buffer[2] !== 0x02) return false; + const lenR = buffer[3]; + if (lenR === 0) return false; + if (5 + lenR >= buffer.length) return false; + if (buffer[4 + lenR] !== 0x02) return false; + const lenS = buffer[5 + lenR]; + if (lenS === 0) return false; + if (6 + lenR + lenS !== buffer.length) return false; + if (buffer[4] & 0x80) return false; + if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) return false; + if (buffer[lenR + 6] & 0x80) return false; + if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) + return false; + return true; +} +bip66$1.check = check; +function decode$4(buffer) { + if (buffer.length < 8) throw new Error('DER sequence length is too short'); + if (buffer.length > 72) throw new Error('DER sequence length is too long'); + if (buffer[0] !== 0x30) throw new Error('Expected DER sequence'); + if (buffer[1] !== buffer.length - 2) + throw new Error('DER sequence length is invalid'); + if (buffer[2] !== 0x02) throw new Error('Expected DER integer'); + const lenR = buffer[3]; + if (lenR === 0) throw new Error('R length is zero'); + if (5 + lenR >= buffer.length) throw new Error('R length is too long'); + if (buffer[4 + lenR] !== 0x02) throw new Error('Expected DER integer (2)'); + const lenS = buffer[5 + lenR]; + if (lenS === 0) throw new Error('S length is zero'); + if (6 + lenR + lenS !== buffer.length) throw new Error('S length is invalid'); + if (buffer[4] & 0x80) throw new Error('R value is negative'); + if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) + throw new Error('R value excessively padded'); + if (buffer[lenR + 6] & 0x80) throw new Error('S value is negative'); + if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) + throw new Error('S value excessively padded'); + // non-BIP66 - extract R, S values + return { + r: buffer.slice(4, 4 + lenR), + s: buffer.slice(6 + lenR), + }; +} +bip66$1.decode = decode$4; +/* + * Expects r and s to be positive DER integers. + * + * The DER format uses the most significant bit as a sign bit (& 0x80). + * If the significant bit is set AND the integer is positive, a 0x00 is prepended. + * + * Examples: + * + * 0 => 0x00 + * 1 => 0x01 + * -1 => 0xff + * 127 => 0x7f + * -127 => 0x81 + * 128 => 0x0080 + * -128 => 0x80 + * 255 => 0x00ff + * -255 => 0xff01 + * 16300 => 0x3fac + * -16300 => 0xc054 + * 62300 => 0x00f35c + * -62300 => 0xff0ca4 + */ +function encode$4(r, s) { + const lenR = r.length; + const lenS = s.length; + if (lenR === 0) throw new Error('R length is zero'); + if (lenS === 0) throw new Error('S length is zero'); + if (lenR > 33) throw new Error('R length is too long'); + if (lenS > 33) throw new Error('S length is too long'); + if (r[0] & 0x80) throw new Error('R value is negative'); + if (s[0] & 0x80) throw new Error('S value is negative'); + if (lenR > 1 && r[0] === 0x00 && !(r[1] & 0x80)) + throw new Error('R value excessively padded'); + if (lenS > 1 && s[0] === 0x00 && !(s[1] & 0x80)) + throw new Error('S value excessively padded'); + const signature = Buffer.allocUnsafe(6 + lenR + lenS); + // 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] + signature[0] = 0x30; + signature[1] = signature.length - 2; + signature[2] = 0x02; + signature[3] = r.length; + r.copy(signature, 4); + signature[4 + lenR] = 0x02; + signature[5 + lenR] = s.length; + s.copy(signature, 6 + lenR); + return signature; +} +bip66$1.encode = encode$4; + +var ops = {}; + +Object.defineProperty(ops, '__esModule', { value: true }); +ops.REVERSE_OPS = ops.OPS = void 0; +const OPS$7 = { + OP_FALSE: 0, + OP_0: 0, + OP_PUSHDATA1: 76, + OP_PUSHDATA2: 77, + OP_PUSHDATA4: 78, + OP_1NEGATE: 79, + OP_RESERVED: 80, + OP_TRUE: 81, + OP_1: 81, + OP_2: 82, + OP_3: 83, + OP_4: 84, + OP_5: 85, + OP_6: 86, + OP_7: 87, + OP_8: 88, + OP_9: 89, + OP_10: 90, + OP_11: 91, + OP_12: 92, + OP_13: 93, + OP_14: 94, + OP_15: 95, + OP_16: 96, + OP_NOP: 97, + OP_VER: 98, + OP_IF: 99, + OP_NOTIF: 100, + OP_VERIF: 101, + OP_VERNOTIF: 102, + OP_ELSE: 103, + OP_ENDIF: 104, + OP_VERIFY: 105, + OP_RETURN: 106, + OP_TOALTSTACK: 107, + OP_FROMALTSTACK: 108, + OP_2DROP: 109, + OP_2DUP: 110, + OP_3DUP: 111, + OP_2OVER: 112, + OP_2ROT: 113, + OP_2SWAP: 114, + OP_IFDUP: 115, + OP_DEPTH: 116, + OP_DROP: 117, + OP_DUP: 118, + OP_NIP: 119, + OP_OVER: 120, + OP_PICK: 121, + OP_ROLL: 122, + OP_ROT: 123, + OP_SWAP: 124, + OP_TUCK: 125, + OP_CAT: 126, + OP_SUBSTR: 127, + OP_LEFT: 128, + OP_RIGHT: 129, + OP_SIZE: 130, + OP_INVERT: 131, + OP_AND: 132, + OP_OR: 133, + OP_XOR: 134, + OP_EQUAL: 135, + OP_EQUALVERIFY: 136, + OP_RESERVED1: 137, + OP_RESERVED2: 138, + OP_1ADD: 139, + OP_1SUB: 140, + OP_2MUL: 141, + OP_2DIV: 142, + OP_NEGATE: 143, + OP_ABS: 144, + OP_NOT: 145, + OP_0NOTEQUAL: 146, + OP_ADD: 147, + OP_SUB: 148, + OP_MUL: 149, + OP_DIV: 150, + OP_MOD: 151, + OP_LSHIFT: 152, + OP_RSHIFT: 153, + OP_BOOLAND: 154, + OP_BOOLOR: 155, + OP_NUMEQUAL: 156, + OP_NUMEQUALVERIFY: 157, + OP_NUMNOTEQUAL: 158, + OP_LESSTHAN: 159, + OP_GREATERTHAN: 160, + OP_LESSTHANOREQUAL: 161, + OP_GREATERTHANOREQUAL: 162, + OP_MIN: 163, + OP_MAX: 164, + OP_WITHIN: 165, + OP_RIPEMD160: 166, + OP_SHA1: 167, + OP_SHA256: 168, + OP_HASH160: 169, + OP_HASH256: 170, + OP_CODESEPARATOR: 171, + OP_CHECKSIG: 172, + OP_CHECKSIGVERIFY: 173, + OP_CHECKMULTISIG: 174, + OP_CHECKMULTISIGVERIFY: 175, + OP_NOP1: 176, + OP_NOP2: 177, + OP_CHECKLOCKTIMEVERIFY: 177, + OP_NOP3: 178, + OP_CHECKSEQUENCEVERIFY: 178, + OP_NOP4: 179, + OP_NOP5: 180, + OP_NOP6: 181, + OP_NOP7: 182, + OP_NOP8: 183, + OP_NOP9: 184, + OP_NOP10: 185, + OP_PUBKEYHASH: 253, + OP_PUBKEY: 254, + OP_INVALIDOPCODE: 255, +}; +ops.OPS = OPS$7; +const REVERSE_OPS = {}; +ops.REVERSE_OPS = REVERSE_OPS; +for (const op of Object.keys(OPS$7)) { + const code = OPS$7[op]; + REVERSE_OPS[code] = op; +} + +var push_data = {}; + +Object.defineProperty(push_data, '__esModule', { value: true }); +push_data.decode = push_data.encode = push_data.encodingLength = void 0; +const ops_1 = ops; +function encodingLength(i) { + return i < ops_1.OPS.OP_PUSHDATA1 ? 1 : i <= 0xff ? 2 : i <= 0xffff ? 3 : 5; +} +push_data.encodingLength = encodingLength; +function encode$3(buffer, num, offset) { + const size = encodingLength(num); + // ~6 bit + if (size === 1) { + buffer.writeUInt8(num, offset); + // 8 bit + } else if (size === 2) { + buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA1, offset); + buffer.writeUInt8(num, offset + 1); + // 16 bit + } else if (size === 3) { + buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA2, offset); + buffer.writeUInt16LE(num, offset + 1); + // 32 bit + } else { + buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA4, offset); + buffer.writeUInt32LE(num, offset + 1); + } + return size; +} +push_data.encode = encode$3; +function decode$3(buffer, offset) { + const opcode = buffer.readUInt8(offset); + let num; + let size; + // ~6 bit + if (opcode < ops_1.OPS.OP_PUSHDATA1) { + num = opcode; + size = 1; + // 8 bit + } else if (opcode === ops_1.OPS.OP_PUSHDATA1) { + if (offset + 2 > buffer.length) return null; + num = buffer.readUInt8(offset + 1); + size = 2; + // 16 bit + } else if (opcode === ops_1.OPS.OP_PUSHDATA2) { + if (offset + 3 > buffer.length) return null; + num = buffer.readUInt16LE(offset + 1); + size = 3; + // 32 bit + } else { + if (offset + 5 > buffer.length) return null; + if (opcode !== ops_1.OPS.OP_PUSHDATA4) throw new Error('Unexpected opcode'); + num = buffer.readUInt32LE(offset + 1); + size = 5; + } + return { + opcode, + number: num, + size, + }; +} +push_data.decode = decode$3; + +var script_number = {}; + +Object.defineProperty(script_number, '__esModule', { value: true }); +script_number.encode = script_number.decode = void 0; +function decode$2(buffer, maxLength, minimal) { + maxLength = maxLength || 4; + minimal = minimal === undefined ? true : minimal; + const length = buffer.length; + if (length === 0) return 0; + if (length > maxLength) throw new TypeError('Script number overflow'); + if (minimal) { + if ((buffer[length - 1] & 0x7f) === 0) { + if (length <= 1 || (buffer[length - 2] & 0x80) === 0) + throw new Error('Non-minimally encoded script number'); + } + } + // 40-bit + if (length === 5) { + const a = buffer.readUInt32LE(0); + const b = buffer.readUInt8(4); + if (b & 0x80) return -((b & ~0x80) * 0x100000000 + a); + return b * 0x100000000 + a; + } + // 32-bit / 24-bit / 16-bit / 8-bit + let result = 0; + for (let i = 0; i < length; ++i) { + result |= buffer[i] << (8 * i); + } + if (buffer[length - 1] & 0x80) + return -(result & ~(0x80 << (8 * (length - 1)))); + return result; +} +script_number.decode = decode$2; +function scriptNumSize(i) { + return i > 0x7fffffff + ? 5 + : i > 0x7fffff + ? 4 + : i > 0x7fff + ? 3 + : i > 0x7f + ? 2 + : i > 0x00 + ? 1 + : 0; +} +function encode$2(_number) { + let value = Math.abs(_number); + const size = scriptNumSize(value); + const buffer = Buffer.allocUnsafe(size); + const negative = _number < 0; + for (let i = 0; i < size; ++i) { + buffer.writeUInt8(value & 0xff, i); + value >>= 8; + } + if (buffer[size - 1] & 0x80) { + buffer.writeUInt8(negative ? 0x80 : 0x00, size - 1); + } else if (negative) { + buffer[size - 1] |= 0x80; + } + return buffer; +} +script_number.encode = encode$2; + +var script_signature = {}; + +var types$2 = {}; + +var types$1 = { + Array: function (value) { return value !== null && value !== undefined && value.constructor === Array }, + Boolean: function (value) { return typeof value === 'boolean' }, + Function: function (value) { return typeof value === 'function' }, + Nil: function (value) { return value === undefined || value === null }, + Number: function (value) { return typeof value === 'number' }, + Object: function (value) { return typeof value === 'object' }, + String: function (value) { return typeof value === 'string' }, + '': function () { return true } +}; + +// TODO: deprecate +types$1.Null = types$1.Nil; + +for (var typeName$1 in types$1) { + types$1[typeName$1].toJSON = function (t) { + return t + }.bind(null, typeName$1); +} + +var native$1 = types$1; + +var native = native$1; + +function getTypeName (fn) { + return fn.name || fn.toString().match(/function (.*?)\s*\(/)[1] +} + +function getValueTypeName$1 (value) { + return native.Nil(value) ? '' : getTypeName(value.constructor) +} + +function getValue (value) { + if (native.Function(value)) return '' + if (native.String(value)) return JSON.stringify(value) + if (value && native.Object(value)) return '' + return value +} + +function captureStackTrace (e, t) { + if (Error.captureStackTrace) { + Error.captureStackTrace(e, t); + } +} + +function tfJSON$1 (type) { + if (native.Function(type)) return type.toJSON ? type.toJSON() : getTypeName(type) + if (native.Array(type)) return 'Array' + if (type && native.Object(type)) return 'Object' + + return type !== undefined ? type : '' +} + +function tfErrorString (type, value, valueTypeName) { + var valueJson = getValue(value); + + return 'Expected ' + tfJSON$1(type) + ', got' + + (valueTypeName !== '' ? ' ' + valueTypeName : '') + + (valueJson !== '' ? ' ' + valueJson : '') +} + +function TfTypeError$1 (type, value, valueTypeName) { + valueTypeName = valueTypeName || getValueTypeName$1(value); + this.message = tfErrorString(type, value, valueTypeName); + + captureStackTrace(this, TfTypeError$1); + this.__type = type; + this.__value = value; + this.__valueTypeName = valueTypeName; +} + +TfTypeError$1.prototype = Object.create(Error.prototype); +TfTypeError$1.prototype.constructor = TfTypeError$1; + +function tfPropertyErrorString (type, label, name, value, valueTypeName) { + var description = '" of type '; + if (label === 'key') description = '" with key type '; + + return tfErrorString('property "' + tfJSON$1(name) + description + tfJSON$1(type), value, valueTypeName) +} + +function TfPropertyTypeError$1 (type, property, label, value, valueTypeName) { + if (type) { + valueTypeName = valueTypeName || getValueTypeName$1(value); + this.message = tfPropertyErrorString(type, label, property, value, valueTypeName); + } else { + this.message = 'Unexpected property "' + property + '"'; + } + + captureStackTrace(this, TfTypeError$1); + this.__label = label; + this.__property = property; + this.__type = type; + this.__value = value; + this.__valueTypeName = valueTypeName; +} + +TfPropertyTypeError$1.prototype = Object.create(Error.prototype); +TfPropertyTypeError$1.prototype.constructor = TfTypeError$1; + +function tfCustomError (expected, actual) { + return new TfTypeError$1(expected, {}, actual) +} + +function tfSubError$1 (e, property, label) { + // sub child? + if (e instanceof TfPropertyTypeError$1) { + property = property + '.' + e.__property; + + e = new TfPropertyTypeError$1( + e.__type, property, e.__label, e.__value, e.__valueTypeName + ); + + // child? + } else if (e instanceof TfTypeError$1) { + e = new TfPropertyTypeError$1( + e.__type, property, label, e.__value, e.__valueTypeName + ); + } + + captureStackTrace(e); + return e +} + +var errors = { + TfTypeError: TfTypeError$1, + TfPropertyTypeError: TfPropertyTypeError$1, + tfCustomError: tfCustomError, + tfSubError: tfSubError$1, + tfJSON: tfJSON$1, + getValueTypeName: getValueTypeName$1 +}; + +var extra; +var hasRequiredExtra; + +function requireExtra () { + if (hasRequiredExtra) return extra; + hasRequiredExtra = 1; + var NATIVE = native$1; + var ERRORS = errors; + + function _Buffer (value) { + return Buffer.isBuffer(value) + } + + function Hex (value) { + return typeof value === 'string' && /^([0-9a-f]{2})+$/i.test(value) + } + + function _LengthN (type, length) { + var name = type.toJSON(); + + function Length (value) { + if (!type(value)) return false + if (value.length === length) return true + + throw ERRORS.tfCustomError(name + '(Length: ' + length + ')', name + '(Length: ' + value.length + ')') + } + Length.toJSON = function () { return name }; + + return Length + } + + var _ArrayN = _LengthN.bind(null, NATIVE.Array); + var _BufferN = _LengthN.bind(null, _Buffer); + var _HexN = _LengthN.bind(null, Hex); + var _StringN = _LengthN.bind(null, NATIVE.String); + + function Range (a, b, f) { + f = f || NATIVE.Number; + function _range (value, strict) { + return f(value, strict) && (value > a) && (value < b) + } + _range.toJSON = function () { + return `${f.toJSON()} between [${a}, ${b}]` + }; + return _range + } + + var INT53_MAX = Math.pow(2, 53) - 1; + + function Finite (value) { + return typeof value === 'number' && isFinite(value) + } + function Int8 (value) { return ((value << 24) >> 24) === value } + function Int16 (value) { return ((value << 16) >> 16) === value } + function Int32 (value) { return (value | 0) === value } + function Int53 (value) { + return typeof value === 'number' && + value >= -INT53_MAX && + value <= INT53_MAX && + Math.floor(value) === value + } + function UInt8 (value) { return (value & 0xff) === value } + function UInt16 (value) { return (value & 0xffff) === value } + function UInt32 (value) { return (value >>> 0) === value } + function UInt53 (value) { + return typeof value === 'number' && + value >= 0 && + value <= INT53_MAX && + Math.floor(value) === value + } + + var types = { + ArrayN: _ArrayN, + Buffer: _Buffer, + BufferN: _BufferN, + Finite: Finite, + Hex: Hex, + HexN: _HexN, + Int8: Int8, + Int16: Int16, + Int32: Int32, + Int53: Int53, + Range: Range, + StringN: _StringN, + UInt8: UInt8, + UInt16: UInt16, + UInt32: UInt32, + UInt53: UInt53 + }; + + for (var typeName in types) { + types[typeName].toJSON = function (t) { + return t + }.bind(null, typeName); + } + + extra = types; + return extra; +} + +var ERRORS = errors; +var NATIVE = native$1; + +// short-hand +var tfJSON = ERRORS.tfJSON; +var TfTypeError = ERRORS.TfTypeError; +var TfPropertyTypeError = ERRORS.TfPropertyTypeError; +var tfSubError = ERRORS.tfSubError; +var getValueTypeName = ERRORS.getValueTypeName; + +var TYPES = { + arrayOf: function arrayOf (type, options) { + type = compile(type); + options = options || {}; + + function _arrayOf (array, strict) { + if (!NATIVE.Array(array)) return false + if (NATIVE.Nil(array)) return false + if (options.minLength !== undefined && array.length < options.minLength) return false + if (options.maxLength !== undefined && array.length > options.maxLength) return false + if (options.length !== undefined && array.length !== options.length) return false + + return array.every(function (value, i) { + try { + return typeforce$2(type, value, strict) + } catch (e) { + throw tfSubError(e, i) + } + }) + } + _arrayOf.toJSON = function () { + var str = '[' + tfJSON(type) + ']'; + if (options.length !== undefined) { + str += '{' + options.length + '}'; + } else if (options.minLength !== undefined || options.maxLength !== undefined) { + str += '{' + + (options.minLength === undefined ? 0 : options.minLength) + ',' + + (options.maxLength === undefined ? Infinity : options.maxLength) + '}'; + } + return str + }; + + return _arrayOf + }, + + maybe: function maybe (type) { + type = compile(type); + + function _maybe (value, strict) { + return NATIVE.Nil(value) || type(value, strict, maybe) + } + _maybe.toJSON = function () { return '?' + tfJSON(type) }; + + return _maybe + }, + + map: function map (propertyType, propertyKeyType) { + propertyType = compile(propertyType); + if (propertyKeyType) propertyKeyType = compile(propertyKeyType); + + function _map (value, strict) { + if (!NATIVE.Object(value)) return false + if (NATIVE.Nil(value)) return false + + for (var propertyName in value) { + try { + if (propertyKeyType) { + typeforce$2(propertyKeyType, propertyName, strict); + } + } catch (e) { + throw tfSubError(e, propertyName, 'key') + } + + try { + var propertyValue = value[propertyName]; + typeforce$2(propertyType, propertyValue, strict); + } catch (e) { + throw tfSubError(e, propertyName) + } + } + + return true + } + + if (propertyKeyType) { + _map.toJSON = function () { + return '{' + tfJSON(propertyKeyType) + ': ' + tfJSON(propertyType) + '}' + }; + } else { + _map.toJSON = function () { return '{' + tfJSON(propertyType) + '}' }; + } + + return _map + }, + + object: function object (uncompiled) { + var type = {}; + + for (var typePropertyName in uncompiled) { + type[typePropertyName] = compile(uncompiled[typePropertyName]); + } + + function _object (value, strict) { + if (!NATIVE.Object(value)) return false + if (NATIVE.Nil(value)) return false + + var propertyName; + + try { + for (propertyName in type) { + var propertyType = type[propertyName]; + var propertyValue = value[propertyName]; + + typeforce$2(propertyType, propertyValue, strict); + } + } catch (e) { + throw tfSubError(e, propertyName) + } + + if (strict) { + for (propertyName in value) { + if (type[propertyName]) continue + + throw new TfPropertyTypeError(undefined, propertyName) + } + } + + return true + } + _object.toJSON = function () { return tfJSON(type) }; + + return _object + }, + + anyOf: function anyOf () { + var types = [].slice.call(arguments).map(compile); + + function _anyOf (value, strict) { + return types.some(function (type) { + try { + return typeforce$2(type, value, strict) + } catch (e) { + return false + } + }) + } + _anyOf.toJSON = function () { return types.map(tfJSON).join('|') }; + + return _anyOf + }, + + allOf: function allOf () { + var types = [].slice.call(arguments).map(compile); + + function _allOf (value, strict) { + return types.every(function (type) { + try { + return typeforce$2(type, value, strict) + } catch (e) { + return false + } + }) + } + _allOf.toJSON = function () { return types.map(tfJSON).join(' & ') }; + + return _allOf + }, + + quacksLike: function quacksLike (type) { + function _quacksLike (value) { + return type === getValueTypeName(value) + } + _quacksLike.toJSON = function () { return type }; + + return _quacksLike + }, + + tuple: function tuple () { + var types = [].slice.call(arguments).map(compile); + + function _tuple (values, strict) { + if (NATIVE.Nil(values)) return false + if (NATIVE.Nil(values.length)) return false + if (strict && (values.length !== types.length)) return false + + return types.every(function (type, i) { + try { + return typeforce$2(type, values[i], strict) + } catch (e) { + throw tfSubError(e, i) + } + }) + } + _tuple.toJSON = function () { return '(' + types.map(tfJSON).join(', ') + ')' }; + + return _tuple + }, + + value: function value (expected) { + function _value (actual) { + return actual === expected + } + _value.toJSON = function () { return expected }; + + return _value + } +}; + +// TODO: deprecate +TYPES.oneOf = TYPES.anyOf; + +function compile (type) { + if (NATIVE.String(type)) { + if (type[0] === '?') return TYPES.maybe(type.slice(1)) + + return NATIVE[type] || TYPES.quacksLike(type) + } else if (type && NATIVE.Object(type)) { + if (NATIVE.Array(type)) { + if (type.length !== 1) throw new TypeError('Expected compile() parameter of type Array of length 1') + return TYPES.arrayOf(type[0]) + } + + return TYPES.object(type) + } else if (NATIVE.Function(type)) { + return type + } + + return TYPES.value(type) +} + +function typeforce$2 (type, value, strict, surrogate) { + if (NATIVE.Function(type)) { + if (type(value, strict)) return true + + throw new TfTypeError(surrogate || type, value) + } + + // JIT + return typeforce$2(compile(type), value, strict) +} + +// assign types to typeforce function +for (var typeName in NATIVE) { + typeforce$2[typeName] = NATIVE[typeName]; +} + +for (typeName in TYPES) { + typeforce$2[typeName] = TYPES[typeName]; +} + +var EXTRA = requireExtra(); +for (typeName in EXTRA) { + typeforce$2[typeName] = EXTRA[typeName]; +} + +typeforce$2.compile = compile; +typeforce$2.TfTypeError = TfTypeError; +typeforce$2.TfPropertyTypeError = TfPropertyTypeError; + +var typeforce_1 = typeforce$2; + +(function (exports) { + Object.defineProperty(exports, '__esModule', { value: true }); + exports.oneOf = exports.Null = exports.BufferN = exports.Function = exports.UInt32 = exports.UInt8 = exports.tuple = exports.maybe = exports.Hex = exports.Buffer = exports.String = exports.Boolean = exports.Array = exports.Number = exports.Hash256bit = exports.Hash160bit = exports.Buffer256bit = exports.Network = exports.ECPoint = exports.Satoshi = exports.Signer = exports.BIP32Path = exports.UInt31 = exports.isPoint = exports.typeforce = void 0; + const buffer_1 = require$$0__default$3["default"]; + exports.typeforce = typeforce_1; + const ZERO32 = buffer_1.Buffer.alloc(32, 0); + const EC_P = buffer_1.Buffer.from( + 'fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f', + 'hex', + ); + function isPoint(p) { + if (!buffer_1.Buffer.isBuffer(p)) return false; + if (p.length < 33) return false; + const t = p[0]; + const x = p.slice(1, 33); + if (x.compare(ZERO32) === 0) return false; + if (x.compare(EC_P) >= 0) return false; + if ((t === 0x02 || t === 0x03) && p.length === 33) { + return true; + } + const y = p.slice(33); + if (y.compare(ZERO32) === 0) return false; + if (y.compare(EC_P) >= 0) return false; + if (t === 0x04 && p.length === 65) return true; + return false; + } + exports.isPoint = isPoint; + const UINT31_MAX = Math.pow(2, 31) - 1; + function UInt31(value) { + return exports.typeforce.UInt32(value) && value <= UINT31_MAX; + } + exports.UInt31 = UInt31; + function BIP32Path(value) { + return ( + exports.typeforce.String(value) && !!value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) + ); + } + exports.BIP32Path = BIP32Path; + BIP32Path.toJSON = () => { + return 'BIP32 derivation path'; + }; + function Signer(obj) { + return ( + (exports.typeforce.Buffer(obj.publicKey) || + typeof obj.getPublicKey === 'function') && + typeof obj.sign === 'function' + ); + } + exports.Signer = Signer; + const SATOSHI_MAX = 21 * 1e14; + function Satoshi(value) { + return exports.typeforce.UInt53(value) && value <= SATOSHI_MAX; + } + exports.Satoshi = Satoshi; + // external dependent types + exports.ECPoint = exports.typeforce.quacksLike('Point'); + // exposed, external API + exports.Network = exports.typeforce.compile({ + messagePrefix: exports.typeforce.oneOf( + exports.typeforce.Buffer, + exports.typeforce.String, + ), + bip32: { + public: exports.typeforce.UInt32, + private: exports.typeforce.UInt32, + }, + pubKeyHash: exports.typeforce.UInt8, + scriptHash: exports.typeforce.UInt8, + wif: exports.typeforce.UInt8, + }); + exports.Buffer256bit = exports.typeforce.BufferN(32); + exports.Hash160bit = exports.typeforce.BufferN(20); + exports.Hash256bit = exports.typeforce.BufferN(32); + exports.Number = exports.typeforce.Number; // tslint:disable-line variable-name + exports.Array = exports.typeforce.Array; + exports.Boolean = exports.typeforce.Boolean; // tslint:disable-line variable-name + exports.String = exports.typeforce.String; // tslint:disable-line variable-name + exports.Buffer = exports.typeforce.Buffer; + exports.Hex = exports.typeforce.Hex; + exports.maybe = exports.typeforce.maybe; + exports.tuple = exports.typeforce.tuple; + exports.UInt8 = exports.typeforce.UInt8; + exports.UInt32 = exports.typeforce.UInt32; + exports.Function = exports.typeforce.Function; + exports.BufferN = exports.typeforce.BufferN; + exports.Null = exports.typeforce.Null; + exports.oneOf = exports.typeforce.oneOf; +} (types$2)); + +Object.defineProperty(script_signature, '__esModule', { value: true }); +script_signature.encode = script_signature.decode = void 0; +const bip66 = bip66$1; +const types = types$2; +const { typeforce: typeforce$1 } = types; +const ZERO = Buffer.alloc(1, 0); +function toDER(x) { + let i = 0; + while (x[i] === 0) ++i; + if (i === x.length) return ZERO; + x = x.slice(i); + if (x[0] & 0x80) return Buffer.concat([ZERO, x], 1 + x.length); + return x; +} +function fromDER(x) { + if (x[0] === 0x00) x = x.slice(1); + const buffer = Buffer.alloc(32, 0); + const bstart = Math.max(0, 32 - x.length); + x.copy(buffer, bstart); + return buffer; +} +// BIP62: 1 byte hashType flag (only 0x01, 0x02, 0x03, 0x81, 0x82 and 0x83 are allowed) +function decode$1(buffer) { + const hashType = buffer.readUInt8(buffer.length - 1); + const hashTypeMod = hashType & ~0x80; + if (hashTypeMod <= 0 || hashTypeMod >= 4) + throw new Error('Invalid hashType ' + hashType); + const decoded = bip66.decode(buffer.slice(0, -1)); + const r = fromDER(decoded.r); + const s = fromDER(decoded.s); + const signature = Buffer.concat([r, s], 64); + return { signature, hashType }; +} +script_signature.decode = decode$1; +function encode$1(signature, hashType) { + typeforce$1( + { + signature: types.BufferN(64), + hashType: types.UInt8, + }, + { signature, hashType }, + ); + const hashTypeMod = hashType & ~0x80; + if (hashTypeMod <= 0 || hashTypeMod >= 4) + throw new Error('Invalid hashType ' + hashType); + const hashTypeBuffer = Buffer.allocUnsafe(1); + hashTypeBuffer.writeUInt8(hashType, 0); + const r = toDER(signature.slice(0, 32)); + const s = toDER(signature.slice(32, 64)); + return Buffer.concat([bip66.encode(r, s), hashTypeBuffer]); +} +script_signature.encode = encode$1; + +(function (exports) { + Object.defineProperty(exports, '__esModule', { value: true }); + exports.signature = exports.number = exports.isCanonicalScriptSignature = exports.isDefinedHashType = exports.isCanonicalPubKey = exports.toStack = exports.fromASM = exports.toASM = exports.decompile = exports.compile = exports.isPushOnly = exports.OPS = void 0; + const bip66 = bip66$1; + const ops_1 = ops; + Object.defineProperty(exports, 'OPS', { + enumerable: true, + get: function() { + return ops_1.OPS; + }, + }); + const pushdata = push_data; + const scriptNumber = script_number; + const scriptSignature = script_signature; + const types = types$2; + const { typeforce } = types; + const OP_INT_BASE = ops_1.OPS.OP_RESERVED; // OP_1 - 1 + function isOPInt(value) { + return ( + types.Number(value) && + (value === ops_1.OPS.OP_0 || + (value >= ops_1.OPS.OP_1 && value <= ops_1.OPS.OP_16) || + value === ops_1.OPS.OP_1NEGATE) + ); + } + function isPushOnlyChunk(value) { + return types.Buffer(value) || isOPInt(value); + } + function isPushOnly(value) { + return types.Array(value) && value.every(isPushOnlyChunk); + } + exports.isPushOnly = isPushOnly; + function asMinimalOP(buffer) { + if (buffer.length === 0) return ops_1.OPS.OP_0; + if (buffer.length !== 1) return; + if (buffer[0] >= 1 && buffer[0] <= 16) return OP_INT_BASE + buffer[0]; + if (buffer[0] === 0x81) return ops_1.OPS.OP_1NEGATE; + } + function chunksIsBuffer(buf) { + return Buffer.isBuffer(buf); + } + function chunksIsArray(buf) { + return types.Array(buf); + } + function singleChunkIsBuffer(buf) { + return Buffer.isBuffer(buf); + } + function compile(chunks) { + // TODO: remove me + if (chunksIsBuffer(chunks)) return chunks; + typeforce(types.Array, chunks); + const bufferSize = chunks.reduce((accum, chunk) => { + // data chunk + if (singleChunkIsBuffer(chunk)) { + // adhere to BIP62.3, minimal push policy + if (chunk.length === 1 && asMinimalOP(chunk) !== undefined) { + return accum + 1; + } + return accum + pushdata.encodingLength(chunk.length) + chunk.length; + } + // opcode + return accum + 1; + }, 0.0); + const buffer = Buffer.allocUnsafe(bufferSize); + let offset = 0; + chunks.forEach(chunk => { + // data chunk + if (singleChunkIsBuffer(chunk)) { + // adhere to BIP62.3, minimal push policy + const opcode = asMinimalOP(chunk); + if (opcode !== undefined) { + buffer.writeUInt8(opcode, offset); + offset += 1; + return; + } + offset += pushdata.encode(buffer, chunk.length, offset); + chunk.copy(buffer, offset); + offset += chunk.length; + // opcode + } else { + buffer.writeUInt8(chunk, offset); + offset += 1; + } + }); + if (offset !== buffer.length) throw new Error('Could not decode chunks'); + return buffer; + } + exports.compile = compile; + function decompile(buffer) { + // TODO: remove me + if (chunksIsArray(buffer)) return buffer; + typeforce(types.Buffer, buffer); + const chunks = []; + let i = 0; + while (i < buffer.length) { + const opcode = buffer[i]; + // data chunk + if (opcode > ops_1.OPS.OP_0 && opcode <= ops_1.OPS.OP_PUSHDATA4) { + const d = pushdata.decode(buffer, i); + // did reading a pushDataInt fail? + if (d === null) return null; + i += d.size; + // attempt to read too much data? + if (i + d.number > buffer.length) return null; + const data = buffer.slice(i, i + d.number); + i += d.number; + // decompile minimally + const op = asMinimalOP(data); + if (op !== undefined) { + chunks.push(op); + } else { + chunks.push(data); + } + // opcode + } else { + chunks.push(opcode); + i += 1; + } + } + return chunks; + } + exports.decompile = decompile; + function toASM(chunks) { + if (chunksIsBuffer(chunks)) { + chunks = decompile(chunks); + } + return chunks + .map(chunk => { + // data? + if (singleChunkIsBuffer(chunk)) { + const op = asMinimalOP(chunk); + if (op === undefined) return chunk.toString('hex'); + chunk = op; + } + // opcode! + return ops_1.REVERSE_OPS[chunk]; + }) + .join(' '); + } + exports.toASM = toASM; + function fromASM(asm) { + typeforce(types.String, asm); + return compile( + asm.split(' ').map(chunkStr => { + // opcode? + if (ops_1.OPS[chunkStr] !== undefined) return ops_1.OPS[chunkStr]; + typeforce(types.Hex, chunkStr); + // data! + return Buffer.from(chunkStr, 'hex'); + }), + ); + } + exports.fromASM = fromASM; + function toStack(chunks) { + chunks = decompile(chunks); + typeforce(isPushOnly, chunks); + return chunks.map(op => { + if (singleChunkIsBuffer(op)) return op; + if (op === ops_1.OPS.OP_0) return Buffer.allocUnsafe(0); + return scriptNumber.encode(op - OP_INT_BASE); + }); + } + exports.toStack = toStack; + function isCanonicalPubKey(buffer) { + return types.isPoint(buffer); + } + exports.isCanonicalPubKey = isCanonicalPubKey; + function isDefinedHashType(hashType) { + const hashTypeMod = hashType & ~0x80; + // return hashTypeMod > SIGHASH_ALL && hashTypeMod < SIGHASH_SINGLE + return hashTypeMod > 0x00 && hashTypeMod < 0x04; + } + exports.isDefinedHashType = isDefinedHashType; + function isCanonicalScriptSignature(buffer) { + if (!Buffer.isBuffer(buffer)) return false; + if (!isDefinedHashType(buffer[buffer.length - 1])) return false; + return bip66.check(buffer.slice(0, -1)); + } + exports.isCanonicalScriptSignature = isCanonicalScriptSignature; + // tslint:disable-next-line variable-name + exports.number = scriptNumber; + exports.signature = scriptSignature; +} (script)); + +var lazy$7 = {}; + +Object.defineProperty(lazy$7, '__esModule', { value: true }); +lazy$7.value = lazy$7.prop = void 0; +function prop(object, name, f) { + Object.defineProperty(object, name, { + configurable: true, + enumerable: true, + get() { + const _value = f.call(this); + this[name] = _value; + return _value; + }, + set(_value) { + Object.defineProperty(this, name, { + configurable: true, + enumerable: true, + value: _value, + writable: true, + }); + }, + }); +} +lazy$7.prop = prop; +function value(f) { + let _value; + return () => { + if (_value !== undefined) return _value; + _value = f(); + return _value; + }; +} +lazy$7.value = value; + +Object.defineProperty(embed, '__esModule', { value: true }); +embed.p2data = void 0; +const networks_1$6 = networks; +const bscript$6 = script; +const types_1$6 = types$2; +const lazy$6 = lazy$7; +const OPS$6 = bscript$6.OPS; +function stacksEqual$3(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +// output: OP_RETURN ... +function p2data(a, opts) { + if (!a.data && !a.output) throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$6.typeforce)( + { + network: types_1$6.typeforce.maybe(types_1$6.typeforce.Object), + output: types_1$6.typeforce.maybe(types_1$6.typeforce.Buffer), + data: types_1$6.typeforce.maybe( + types_1$6.typeforce.arrayOf(types_1$6.typeforce.Buffer), + ), + }, + a, + ); + const network = a.network || networks_1$6.bitcoin; + const o = { name: 'embed', network }; + lazy$6.prop(o, 'output', () => { + if (!a.data) return; + return bscript$6.compile([OPS$6.OP_RETURN].concat(a.data)); + }); + lazy$6.prop(o, 'data', () => { + if (!a.output) return; + return bscript$6.decompile(a.output).slice(1); + }); + // extended validation + if (opts.validate) { + if (a.output) { + const chunks = bscript$6.decompile(a.output); + if (chunks[0] !== OPS$6.OP_RETURN) throw new TypeError('Output is invalid'); + if (!chunks.slice(1).every(types_1$6.typeforce.Buffer)) + throw new TypeError('Output is invalid'); + if (a.data && !stacksEqual$3(a.data, o.data)) + throw new TypeError('Data mismatch'); + } + } + return Object.assign(o, a); +} +embed.p2data = p2data; + +var p2ms$1 = {}; + +Object.defineProperty(p2ms$1, '__esModule', { value: true }); +p2ms$1.p2ms = void 0; +const networks_1$5 = networks; +const bscript$5 = script; +const types_1$5 = types$2; +const lazy$5 = lazy$7; +const OPS$5 = bscript$5.OPS; +const OP_INT_BASE = OPS$5.OP_RESERVED; // OP_1 - 1 +function stacksEqual$2(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +// input: OP_0 [signatures ...] +// output: m [pubKeys ...] n OP_CHECKMULTISIG +function p2ms(a, opts) { + if ( + !a.input && + !a.output && + !(a.pubkeys && a.m !== undefined) && + !a.signatures + ) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + function isAcceptableSignature(x) { + return ( + bscript$5.isCanonicalScriptSignature(x) || + (opts.allowIncomplete && x === OPS$5.OP_0) !== undefined + ); + } + (0, types_1$5.typeforce)( + { + network: types_1$5.typeforce.maybe(types_1$5.typeforce.Object), + m: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), + n: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), + output: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), + pubkeys: types_1$5.typeforce.maybe( + types_1$5.typeforce.arrayOf(types_1$5.isPoint), + ), + signatures: types_1$5.typeforce.maybe( + types_1$5.typeforce.arrayOf(isAcceptableSignature), + ), + input: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), + }, + a, + ); + const network = a.network || networks_1$5.bitcoin; + const o = { network }; + let chunks = []; + let decoded = false; + function decode(output) { + if (decoded) return; + decoded = true; + chunks = bscript$5.decompile(output); + o.m = chunks[0] - OP_INT_BASE; + o.n = chunks[chunks.length - 2] - OP_INT_BASE; + o.pubkeys = chunks.slice(1, -2); + } + lazy$5.prop(o, 'output', () => { + if (!a.m) return; + if (!o.n) return; + if (!a.pubkeys) return; + return bscript$5.compile( + [].concat( + OP_INT_BASE + a.m, + a.pubkeys, + OP_INT_BASE + o.n, + OPS$5.OP_CHECKMULTISIG, + ), + ); + }); + lazy$5.prop(o, 'm', () => { + if (!o.output) return; + decode(o.output); + return o.m; + }); + lazy$5.prop(o, 'n', () => { + if (!o.pubkeys) return; + return o.pubkeys.length; + }); + lazy$5.prop(o, 'pubkeys', () => { + if (!a.output) return; + decode(a.output); + return o.pubkeys; + }); + lazy$5.prop(o, 'signatures', () => { + if (!a.input) return; + return bscript$5.decompile(a.input).slice(1); + }); + lazy$5.prop(o, 'input', () => { + if (!a.signatures) return; + return bscript$5.compile([OPS$5.OP_0].concat(a.signatures)); + }); + lazy$5.prop(o, 'witness', () => { + if (!o.input) return; + return []; + }); + lazy$5.prop(o, 'name', () => { + if (!o.m || !o.n) return; + return `p2ms(${o.m} of ${o.n})`; + }); + // extended validation + if (opts.validate) { + if (a.output) { + decode(a.output); + if (!types_1$5.typeforce.Number(chunks[0])) + throw new TypeError('Output is invalid'); + if (!types_1$5.typeforce.Number(chunks[chunks.length - 2])) + throw new TypeError('Output is invalid'); + if (chunks[chunks.length - 1] !== OPS$5.OP_CHECKMULTISIG) + throw new TypeError('Output is invalid'); + if (o.m <= 0 || o.n > 16 || o.m > o.n || o.n !== chunks.length - 3) + throw new TypeError('Output is invalid'); + if (!o.pubkeys.every(x => (0, types_1$5.isPoint)(x))) + throw new TypeError('Output is invalid'); + if (a.m !== undefined && a.m !== o.m) throw new TypeError('m mismatch'); + if (a.n !== undefined && a.n !== o.n) throw new TypeError('n mismatch'); + if (a.pubkeys && !stacksEqual$2(a.pubkeys, o.pubkeys)) + throw new TypeError('Pubkeys mismatch'); + } + if (a.pubkeys) { + if (a.n !== undefined && a.n !== a.pubkeys.length) + throw new TypeError('Pubkey count mismatch'); + o.n = a.pubkeys.length; + if (o.n < o.m) throw new TypeError('Pubkey count cannot be less than m'); + } + if (a.signatures) { + if (a.signatures.length < o.m) + throw new TypeError('Not enough signatures provided'); + if (a.signatures.length > o.m) + throw new TypeError('Too many signatures provided'); + } + if (a.input) { + if (a.input[0] !== OPS$5.OP_0) throw new TypeError('Input is invalid'); + if ( + o.signatures.length === 0 || + !o.signatures.every(isAcceptableSignature) + ) + throw new TypeError('Input has invalid signature(s)'); + if (a.signatures && !stacksEqual$2(a.signatures, o.signatures)) + throw new TypeError('Signature mismatch'); + if (a.m !== undefined && a.m !== a.signatures.length) + throw new TypeError('Signature count mismatch'); + } + } + return Object.assign(o, a); +} +p2ms$1.p2ms = p2ms; + +var p2pk$1 = {}; + +Object.defineProperty(p2pk$1, '__esModule', { value: true }); +p2pk$1.p2pk = void 0; +const networks_1$4 = networks; +const bscript$4 = script; +const types_1$4 = types$2; +const lazy$4 = lazy$7; +const OPS$4 = bscript$4.OPS; +// input: {signature} +// output: {pubKey} OP_CHECKSIG +function p2pk(a, opts) { + if (!a.input && !a.output && !a.pubkey && !a.input && !a.signature) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$4.typeforce)( + { + network: types_1$4.typeforce.maybe(types_1$4.typeforce.Object), + output: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), + pubkey: types_1$4.typeforce.maybe(types_1$4.isPoint), + signature: types_1$4.typeforce.maybe(bscript$4.isCanonicalScriptSignature), + input: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), + }, + a, + ); + const _chunks = lazy$4.value(() => { + return bscript$4.decompile(a.input); + }); + const network = a.network || networks_1$4.bitcoin; + const o = { name: 'p2pk', network }; + lazy$4.prop(o, 'output', () => { + if (!a.pubkey) return; + return bscript$4.compile([a.pubkey, OPS$4.OP_CHECKSIG]); + }); + lazy$4.prop(o, 'pubkey', () => { + if (!a.output) return; + return a.output.slice(1, -1); + }); + lazy$4.prop(o, 'signature', () => { + if (!a.input) return; + return _chunks()[0]; + }); + lazy$4.prop(o, 'input', () => { + if (!a.signature) return; + return bscript$4.compile([a.signature]); + }); + lazy$4.prop(o, 'witness', () => { + if (!o.input) return; + return []; + }); + // extended validation + if (opts.validate) { + if (a.output) { + if (a.output[a.output.length - 1] !== OPS$4.OP_CHECKSIG) + throw new TypeError('Output is invalid'); + if (!(0, types_1$4.isPoint)(o.pubkey)) + throw new TypeError('Output pubkey is invalid'); + if (a.pubkey && !a.pubkey.equals(o.pubkey)) + throw new TypeError('Pubkey mismatch'); + } + if (a.signature) { + if (a.input && !a.input.equals(o.input)) + throw new TypeError('Signature mismatch'); + } + if (a.input) { + if (_chunks().length !== 1) throw new TypeError('Input is invalid'); + if (!bscript$4.isCanonicalScriptSignature(o.signature)) + throw new TypeError('Input has invalid signature'); + } + } + return Object.assign(o, a); +} +p2pk$1.p2pk = p2pk; + +var p2pkh$1 = {}; + +var crypto$3 = {}; + +var createHash$3 = require$$0__default["default"].createHash; + +Object.defineProperty(crypto$3, '__esModule', { value: true }); +crypto$3.taggedHash = crypto$3.hash256 = crypto$3.hash160 = crypto$3.sha256 = crypto$3.sha1 = crypto$3.ripemd160 = void 0; +const createHash$2 = createHash$3; +function ripemd160(buffer) { + try { + return createHash$2('rmd160') + .update(buffer) + .digest(); + } catch (err) { + return createHash$2('ripemd160') + .update(buffer) + .digest(); + } +} +crypto$3.ripemd160 = ripemd160; +function sha1(buffer) { + return createHash$2('sha1') + .update(buffer) + .digest(); +} +crypto$3.sha1 = sha1; +function sha256(buffer) { + return createHash$2('sha256') + .update(buffer) + .digest(); +} +crypto$3.sha256 = sha256; +function hash160$1(buffer) { + return ripemd160(sha256(buffer)); +} +crypto$3.hash160 = hash160$1; +function hash256(buffer) { + return sha256(sha256(buffer)); +} +crypto$3.hash256 = hash256; +const TAGS = [ + 'BIP0340/challenge', + 'BIP0340/aux', + 'BIP0340/nonce', + 'TapLeaf', + 'TapBranch', + 'TapSighash', + 'TapTweak', + 'KeyAgg list', + 'KeyAgg coefficient', +]; +/** An object mapping tags to their tagged hash prefix of [SHA256(tag) | SHA256(tag)] */ +const TAGGED_HASH_PREFIXES = Object.fromEntries( + TAGS.map(tag => { + const tagHash = sha256(Buffer.from(tag)); + return [tag, Buffer.concat([tagHash, tagHash])]; + }), +); +function taggedHash(prefix, data) { + return sha256(Buffer.concat([TAGGED_HASH_PREFIXES[prefix], data])); +} +crypto$3.taggedHash = taggedHash; + +var safeBuffer = {exports: {}}; + +/*! safe-buffer. MIT License. Feross Aboukhadijeh */ + +(function (module, exports) { + /* eslint-disable node/no-deprecated-api */ + var buffer = require$$0__default$3["default"]; + var Buffer = buffer.Buffer; + + // alternative to using Object.keys for old browsers + function copyProps (src, dst) { + for (var key in src) { + dst[key] = src[key]; + } + } + if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { + module.exports = buffer; + } else { + // Copy properties from require('buffer') + copyProps(buffer, exports); + exports.Buffer = SafeBuffer; + } + + function SafeBuffer (arg, encodingOrOffset, length) { + return Buffer(arg, encodingOrOffset, length) + } + + SafeBuffer.prototype = Object.create(Buffer.prototype); + + // Copy static methods from Buffer + copyProps(Buffer, SafeBuffer); + + SafeBuffer.from = function (arg, encodingOrOffset, length) { + if (typeof arg === 'number') { + throw new TypeError('Argument must not be a number') + } + return Buffer(arg, encodingOrOffset, length) + }; + + SafeBuffer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + var buf = Buffer(size); + if (fill !== undefined) { + if (typeof encoding === 'string') { + buf.fill(fill, encoding); + } else { + buf.fill(fill); + } + } else { + buf.fill(0); + } + return buf + }; + + SafeBuffer.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return Buffer(size) + }; + + SafeBuffer.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return buffer.SlowBuffer(size) + }; +} (safeBuffer, safeBuffer.exports)); + +// base-x encoding / decoding +// Copyright (c) 2018 base-x contributors +// Copyright (c) 2014-2018 The Bitcoin Core developers (base58.cpp) +// Distributed under the MIT software license, see the accompanying +// file LICENSE or http://www.opensource.org/licenses/mit-license.php. +// @ts-ignore +var _Buffer = safeBuffer.exports.Buffer; +function base$1 (ALPHABET) { + if (ALPHABET.length >= 255) { throw new TypeError('Alphabet too long') } + var BASE_MAP = new Uint8Array(256); + for (var j = 0; j < BASE_MAP.length; j++) { + BASE_MAP[j] = 255; + } + for (var i = 0; i < ALPHABET.length; i++) { + var x = ALPHABET.charAt(i); + var xc = x.charCodeAt(0); + if (BASE_MAP[xc] !== 255) { throw new TypeError(x + ' is ambiguous') } + BASE_MAP[xc] = i; + } + var BASE = ALPHABET.length; + var LEADER = ALPHABET.charAt(0); + var FACTOR = Math.log(BASE) / Math.log(256); // log(BASE) / log(256), rounded up + var iFACTOR = Math.log(256) / Math.log(BASE); // log(256) / log(BASE), rounded up + function encode (source) { + if (Array.isArray(source) || source instanceof Uint8Array) { source = _Buffer.from(source); } + if (!_Buffer.isBuffer(source)) { throw new TypeError('Expected Buffer') } + if (source.length === 0) { return '' } + // Skip & count leading zeroes. + var zeroes = 0; + var length = 0; + var pbegin = 0; + var pend = source.length; + while (pbegin !== pend && source[pbegin] === 0) { + pbegin++; + zeroes++; + } + // Allocate enough space in big-endian base58 representation. + var size = ((pend - pbegin) * iFACTOR + 1) >>> 0; + var b58 = new Uint8Array(size); + // Process the bytes. + while (pbegin !== pend) { + var carry = source[pbegin]; + // Apply "b58 = b58 * 256 + ch". + var i = 0; + for (var it1 = size - 1; (carry !== 0 || i < length) && (it1 !== -1); it1--, i++) { + carry += (256 * b58[it1]) >>> 0; + b58[it1] = (carry % BASE) >>> 0; + carry = (carry / BASE) >>> 0; + } + if (carry !== 0) { throw new Error('Non-zero carry') } + length = i; + pbegin++; + } + // Skip leading zeroes in base58 result. + var it2 = size - length; + while (it2 !== size && b58[it2] === 0) { + it2++; + } + // Translate the result into a string. + var str = LEADER.repeat(zeroes); + for (; it2 < size; ++it2) { str += ALPHABET.charAt(b58[it2]); } + return str + } + function decodeUnsafe (source) { + if (typeof source !== 'string') { throw new TypeError('Expected String') } + if (source.length === 0) { return _Buffer.alloc(0) } + var psz = 0; + // Skip and count leading '1's. + var zeroes = 0; + var length = 0; + while (source[psz] === LEADER) { + zeroes++; + psz++; + } + // Allocate enough space in big-endian base256 representation. + var size = (((source.length - psz) * FACTOR) + 1) >>> 0; // log(58) / log(256), rounded up. + var b256 = new Uint8Array(size); + // Process the characters. + while (source[psz]) { + // Decode character + var carry = BASE_MAP[source.charCodeAt(psz)]; + // Invalid character + if (carry === 255) { return } + var i = 0; + for (var it3 = size - 1; (carry !== 0 || i < length) && (it3 !== -1); it3--, i++) { + carry += (BASE * b256[it3]) >>> 0; + b256[it3] = (carry % 256) >>> 0; + carry = (carry / 256) >>> 0; + } + if (carry !== 0) { throw new Error('Non-zero carry') } + length = i; + psz++; + } + // Skip leading zeroes in b256. + var it4 = size - length; + while (it4 !== size && b256[it4] === 0) { + it4++; + } + var vch = _Buffer.allocUnsafe(zeroes + (size - it4)); + vch.fill(0x00, 0, zeroes); + var j = zeroes; + while (it4 !== size) { + vch[j++] = b256[it4++]; + } + return vch + } + function decode (string) { + var buffer = decodeUnsafe(string); + if (buffer) { return buffer } + throw new Error('Non-base' + BASE + ' character') + } + return { + encode: encode, + decodeUnsafe: decodeUnsafe, + decode: decode + } +} +var src$1 = base$1; + +var basex = src$1; +var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; + +var bs58 = basex(ALPHABET); + +var base58 = bs58; +var Buffer$1 = safeBuffer.exports.Buffer; + +var base = function (checksumFn) { + // Encode a buffer as a base58-check encoded string + function encode (payload) { + var checksum = checksumFn(payload); + + return base58.encode(Buffer$1.concat([ + payload, + checksum + ], payload.length + 4)) + } + + function decodeRaw (buffer) { + var payload = buffer.slice(0, -4); + var checksum = buffer.slice(-4); + var newChecksum = checksumFn(payload); + + if (checksum[0] ^ newChecksum[0] | + checksum[1] ^ newChecksum[1] | + checksum[2] ^ newChecksum[2] | + checksum[3] ^ newChecksum[3]) return + + return payload + } + + // Decode a base58-check encoded string to a buffer, no result if checksum is wrong + function decodeUnsafe (string) { + var buffer = base58.decodeUnsafe(string); + if (!buffer) return + + return decodeRaw(buffer) + } + + function decode (string) { + var buffer = base58.decode(string); + var payload = decodeRaw(buffer); + if (!payload) throw new Error('Invalid checksum') + return payload + } + + return { + encode: encode, + decode: decode, + decodeUnsafe: decodeUnsafe + } +}; + +var createHash$1 = createHash$3; +var bs58checkBase = base; + +// SHA256(SHA256(buffer)) +function sha256x2 (buffer) { + var tmp = createHash$1('sha256').update(buffer).digest(); + return createHash$1('sha256').update(tmp).digest() +} + +var bs58check$4 = bs58checkBase(sha256x2); + +Object.defineProperty(p2pkh$1, '__esModule', { value: true }); +p2pkh$1.p2pkh = void 0; +const bcrypto$3 = crypto$3; +const networks_1$3 = networks; +const bscript$3 = script; +const types_1$3 = types$2; +const lazy$3 = lazy$7; +const bs58check$3 = bs58check$4; +const OPS$3 = bscript$3.OPS; +// input: {signature} {pubkey} +// output: OP_DUP OP_HASH160 {hash160(pubkey)} OP_EQUALVERIFY OP_CHECKSIG +function p2pkh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.pubkey && !a.input) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$3.typeforce)( + { + network: types_1$3.typeforce.maybe(types_1$3.typeforce.Object), + address: types_1$3.typeforce.maybe(types_1$3.typeforce.String), + hash: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(20)), + output: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(25)), + pubkey: types_1$3.typeforce.maybe(types_1$3.isPoint), + signature: types_1$3.typeforce.maybe(bscript$3.isCanonicalScriptSignature), + input: types_1$3.typeforce.maybe(types_1$3.typeforce.Buffer), + }, + a, + ); + const _address = lazy$3.value(() => { + const payload = bs58check$3.decode(a.address); + const version = payload.readUInt8(0); + const hash = payload.slice(1); + return { version, hash }; + }); + const _chunks = lazy$3.value(() => { + return bscript$3.decompile(a.input); + }); + const network = a.network || networks_1$3.bitcoin; + const o = { name: 'p2pkh', network }; + lazy$3.prop(o, 'address', () => { + if (!o.hash) return; + const payload = Buffer.allocUnsafe(21); + payload.writeUInt8(network.pubKeyHash, 0); + o.hash.copy(payload, 1); + return bs58check$3.encode(payload); + }); + lazy$3.prop(o, 'hash', () => { + if (a.output) return a.output.slice(3, 23); + if (a.address) return _address().hash; + if (a.pubkey || o.pubkey) return bcrypto$3.hash160(a.pubkey || o.pubkey); + }); + lazy$3.prop(o, 'output', () => { + if (!o.hash) return; + return bscript$3.compile([ + OPS$3.OP_DUP, + OPS$3.OP_HASH160, + o.hash, + OPS$3.OP_EQUALVERIFY, + OPS$3.OP_CHECKSIG, + ]); + }); + lazy$3.prop(o, 'pubkey', () => { + if (!a.input) return; + return _chunks()[1]; + }); + lazy$3.prop(o, 'signature', () => { + if (!a.input) return; + return _chunks()[0]; + }); + lazy$3.prop(o, 'input', () => { + if (!a.pubkey) return; + if (!a.signature) return; + return bscript$3.compile([a.signature, a.pubkey]); + }); + lazy$3.prop(o, 'witness', () => { + if (!o.input) return; + return []; + }); + // extended validation + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (_address().version !== network.pubKeyHash) + throw new TypeError('Invalid version or Network mismatch'); + if (_address().hash.length !== 20) throw new TypeError('Invalid address'); + hash = _address().hash; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 25 || + a.output[0] !== OPS$3.OP_DUP || + a.output[1] !== OPS$3.OP_HASH160 || + a.output[2] !== 0x14 || + a.output[23] !== OPS$3.OP_EQUALVERIFY || + a.output[24] !== OPS$3.OP_CHECKSIG + ) + throw new TypeError('Output is invalid'); + const hash2 = a.output.slice(3, 23); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (a.pubkey) { + const pkh = bcrypto$3.hash160(a.pubkey); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + else hash = pkh; + } + if (a.input) { + const chunks = _chunks(); + if (chunks.length !== 2) throw new TypeError('Input is invalid'); + if (!bscript$3.isCanonicalScriptSignature(chunks[0])) + throw new TypeError('Input has invalid signature'); + if (!(0, types_1$3.isPoint)(chunks[1])) + throw new TypeError('Input has invalid pubkey'); + if (a.signature && !a.signature.equals(chunks[0])) + throw new TypeError('Signature mismatch'); + if (a.pubkey && !a.pubkey.equals(chunks[1])) + throw new TypeError('Pubkey mismatch'); + const pkh = bcrypto$3.hash160(chunks[1]); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + } + } + return Object.assign(o, a); +} +p2pkh$1.p2pkh = p2pkh; + +var p2sh$1 = {}; + +Object.defineProperty(p2sh$1, '__esModule', { value: true }); +p2sh$1.p2sh = void 0; +const bcrypto$2 = crypto$3; +const networks_1$2 = networks; +const bscript$2 = script; +const types_1$2 = types$2; +const lazy$2 = lazy$7; +const bs58check$2 = bs58check$4; +const OPS$2 = bscript$2.OPS; +function stacksEqual$1(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +// input: [redeemScriptSig ...] {redeemScript} +// witness: +// output: OP_HASH160 {hash160(redeemScript)} OP_EQUAL +function p2sh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.redeem && !a.input) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$2.typeforce)( + { + network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), + address: types_1$2.typeforce.maybe(types_1$2.typeforce.String), + hash: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(20)), + output: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(23)), + redeem: types_1$2.typeforce.maybe({ + network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), + output: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), + input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), + witness: types_1$2.typeforce.maybe( + types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), + ), + }), + input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), + witness: types_1$2.typeforce.maybe( + types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), + ), + }, + a, + ); + let network = a.network; + if (!network) { + network = (a.redeem && a.redeem.network) || networks_1$2.bitcoin; + } + const o = { network }; + const _address = lazy$2.value(() => { + const payload = bs58check$2.decode(a.address); + const version = payload.readUInt8(0); + const hash = payload.slice(1); + return { version, hash }; + }); + const _chunks = lazy$2.value(() => { + return bscript$2.decompile(a.input); + }); + const _redeem = lazy$2.value(() => { + const chunks = _chunks(); + return { + network, + output: chunks[chunks.length - 1], + input: bscript$2.compile(chunks.slice(0, -1)), + witness: a.witness || [], + }; + }); + // output dependents + lazy$2.prop(o, 'address', () => { + if (!o.hash) return; + const payload = Buffer.allocUnsafe(21); + payload.writeUInt8(o.network.scriptHash, 0); + o.hash.copy(payload, 1); + return bs58check$2.encode(payload); + }); + lazy$2.prop(o, 'hash', () => { + // in order of least effort + if (a.output) return a.output.slice(2, 22); + if (a.address) return _address().hash; + if (o.redeem && o.redeem.output) return bcrypto$2.hash160(o.redeem.output); + }); + lazy$2.prop(o, 'output', () => { + if (!o.hash) return; + return bscript$2.compile([OPS$2.OP_HASH160, o.hash, OPS$2.OP_EQUAL]); + }); + // input dependents + lazy$2.prop(o, 'redeem', () => { + if (!a.input) return; + return _redeem(); + }); + lazy$2.prop(o, 'input', () => { + if (!a.redeem || !a.redeem.input || !a.redeem.output) return; + return bscript$2.compile( + [].concat(bscript$2.decompile(a.redeem.input), a.redeem.output), + ); + }); + lazy$2.prop(o, 'witness', () => { + if (o.redeem && o.redeem.witness) return o.redeem.witness; + if (o.input) return []; + }); + lazy$2.prop(o, 'name', () => { + const nameParts = ['p2sh']; + if (o.redeem !== undefined && o.redeem.name !== undefined) + nameParts.push(o.redeem.name); + return nameParts.join('-'); + }); + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (_address().version !== network.scriptHash) + throw new TypeError('Invalid version or Network mismatch'); + if (_address().hash.length !== 20) throw new TypeError('Invalid address'); + hash = _address().hash; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 23 || + a.output[0] !== OPS$2.OP_HASH160 || + a.output[1] !== 0x14 || + a.output[22] !== OPS$2.OP_EQUAL + ) + throw new TypeError('Output is invalid'); + const hash2 = a.output.slice(2, 22); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + // inlined to prevent 'no-inner-declarations' failing + const checkRedeem = redeem => { + // is the redeem output empty/invalid? + if (redeem.output) { + const decompile = bscript$2.decompile(redeem.output); + if (!decompile || decompile.length < 1) + throw new TypeError('Redeem.output too short'); + // match hash against other sources + const hash2 = bcrypto$2.hash160(redeem.output); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (redeem.input) { + const hasInput = redeem.input.length > 0; + const hasWitness = redeem.witness && redeem.witness.length > 0; + if (!hasInput && !hasWitness) throw new TypeError('Empty input'); + if (hasInput && hasWitness) + throw new TypeError('Input and witness provided'); + if (hasInput) { + const richunks = bscript$2.decompile(redeem.input); + if (!bscript$2.isPushOnly(richunks)) + throw new TypeError('Non push-only scriptSig'); + } + } + }; + if (a.input) { + const chunks = _chunks(); + if (!chunks || chunks.length < 1) throw new TypeError('Input too short'); + if (!Buffer.isBuffer(_redeem().output)) + throw new TypeError('Input is invalid'); + checkRedeem(_redeem()); + } + if (a.redeem) { + if (a.redeem.network && a.redeem.network !== network) + throw new TypeError('Network mismatch'); + if (a.input) { + const redeem = _redeem(); + if (a.redeem.output && !a.redeem.output.equals(redeem.output)) + throw new TypeError('Redeem.output mismatch'); + if (a.redeem.input && !a.redeem.input.equals(redeem.input)) + throw new TypeError('Redeem.input mismatch'); + } + checkRedeem(a.redeem); + } + if (a.witness) { + if ( + a.redeem && + a.redeem.witness && + !stacksEqual$1(a.redeem.witness, a.witness) + ) + throw new TypeError('Witness and redeem.witness mismatch'); + } + } + return Object.assign(o, a); +} +p2sh$1.p2sh = p2sh; + +var p2wpkh$1 = {}; + +Object.defineProperty(p2wpkh$1, '__esModule', { value: true }); +p2wpkh$1.p2wpkh = void 0; +const bcrypto$1 = crypto$3; +const networks_1$1 = networks; +const bscript$1 = script; +const types_1$1 = types$2; +const lazy$1 = lazy$7; +const bech32_1$1 = dist$1; +const OPS$1 = bscript$1.OPS; +const EMPTY_BUFFER$1 = Buffer.alloc(0); +// witness: {signature} {pubKey} +// input: <> +// output: OP_0 {pubKeyHash} +function p2wpkh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.pubkey && !a.witness) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$1.typeforce)( + { + address: types_1$1.typeforce.maybe(types_1$1.typeforce.String), + hash: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(20)), + input: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(0)), + network: types_1$1.typeforce.maybe(types_1$1.typeforce.Object), + output: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(22)), + pubkey: types_1$1.typeforce.maybe(types_1$1.isPoint), + signature: types_1$1.typeforce.maybe(bscript$1.isCanonicalScriptSignature), + witness: types_1$1.typeforce.maybe( + types_1$1.typeforce.arrayOf(types_1$1.typeforce.Buffer), + ), + }, + a, + ); + const _address = lazy$1.value(() => { + const result = bech32_1$1.bech32.decode(a.address); + const version = result.words.shift(); + const data = bech32_1$1.bech32.fromWords(result.words); + return { + version, + prefix: result.prefix, + data: Buffer.from(data), + }; + }); + const network = a.network || networks_1$1.bitcoin; + const o = { name: 'p2wpkh', network }; + lazy$1.prop(o, 'address', () => { + if (!o.hash) return; + const words = bech32_1$1.bech32.toWords(o.hash); + words.unshift(0x00); + return bech32_1$1.bech32.encode(network.bech32, words); + }); + lazy$1.prop(o, 'hash', () => { + if (a.output) return a.output.slice(2, 22); + if (a.address) return _address().data; + if (a.pubkey || o.pubkey) return bcrypto$1.hash160(a.pubkey || o.pubkey); + }); + lazy$1.prop(o, 'output', () => { + if (!o.hash) return; + return bscript$1.compile([OPS$1.OP_0, o.hash]); + }); + lazy$1.prop(o, 'pubkey', () => { + if (a.pubkey) return a.pubkey; + if (!a.witness) return; + return a.witness[1]; + }); + lazy$1.prop(o, 'signature', () => { + if (!a.witness) return; + return a.witness[0]; + }); + lazy$1.prop(o, 'input', () => { + if (!o.witness) return; + return EMPTY_BUFFER$1; + }); + lazy$1.prop(o, 'witness', () => { + if (!a.pubkey) return; + if (!a.signature) return; + return [a.signature, a.pubkey]; + }); + // extended validation + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (network && network.bech32 !== _address().prefix) + throw new TypeError('Invalid prefix or Network mismatch'); + if (_address().version !== 0x00) + throw new TypeError('Invalid address version'); + if (_address().data.length !== 20) + throw new TypeError('Invalid address data'); + hash = _address().data; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 22 || + a.output[0] !== OPS$1.OP_0 || + a.output[1] !== 0x14 + ) + throw new TypeError('Output is invalid'); + if (hash.length > 0 && !hash.equals(a.output.slice(2))) + throw new TypeError('Hash mismatch'); + else hash = a.output.slice(2); + } + if (a.pubkey) { + const pkh = bcrypto$1.hash160(a.pubkey); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + else hash = pkh; + if (!(0, types_1$1.isPoint)(a.pubkey) || a.pubkey.length !== 33) + throw new TypeError('Invalid pubkey for p2wpkh'); + } + if (a.witness) { + if (a.witness.length !== 2) throw new TypeError('Witness is invalid'); + if (!bscript$1.isCanonicalScriptSignature(a.witness[0])) + throw new TypeError('Witness has invalid signature'); + if (!(0, types_1$1.isPoint)(a.witness[1]) || a.witness[1].length !== 33) + throw new TypeError('Witness has invalid pubkey'); + if (a.signature && !a.signature.equals(a.witness[0])) + throw new TypeError('Signature mismatch'); + if (a.pubkey && !a.pubkey.equals(a.witness[1])) + throw new TypeError('Pubkey mismatch'); + const pkh = bcrypto$1.hash160(a.witness[1]); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + } + } + return Object.assign(o, a); +} +p2wpkh$1.p2wpkh = p2wpkh; + +var p2wsh$1 = {}; + +Object.defineProperty(p2wsh$1, '__esModule', { value: true }); +p2wsh$1.p2wsh = void 0; +const bcrypto = crypto$3; +const networks_1 = networks; +const bscript = script; +const types_1 = types$2; +const lazy = lazy$7; +const bech32_1 = dist$1; +const OPS = bscript.OPS; +const EMPTY_BUFFER = Buffer.alloc(0); +function stacksEqual(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +function chunkHasUncompressedPubkey(chunk) { + if ( + Buffer.isBuffer(chunk) && + chunk.length === 65 && + chunk[0] === 0x04 && + (0, types_1.isPoint)(chunk) + ) { + return true; + } else { + return false; + } +} +// input: <> +// witness: [redeemScriptSig ...] {redeemScript} +// output: OP_0 {sha256(redeemScript)} +function p2wsh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.redeem && !a.witness) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1.typeforce)( + { + network: types_1.typeforce.maybe(types_1.typeforce.Object), + address: types_1.typeforce.maybe(types_1.typeforce.String), + hash: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)), + output: types_1.typeforce.maybe(types_1.typeforce.BufferN(34)), + redeem: types_1.typeforce.maybe({ + input: types_1.typeforce.maybe(types_1.typeforce.Buffer), + network: types_1.typeforce.maybe(types_1.typeforce.Object), + output: types_1.typeforce.maybe(types_1.typeforce.Buffer), + witness: types_1.typeforce.maybe( + types_1.typeforce.arrayOf(types_1.typeforce.Buffer), + ), + }), + input: types_1.typeforce.maybe(types_1.typeforce.BufferN(0)), + witness: types_1.typeforce.maybe( + types_1.typeforce.arrayOf(types_1.typeforce.Buffer), + ), + }, + a, + ); + const _address = lazy.value(() => { + const result = bech32_1.bech32.decode(a.address); + const version = result.words.shift(); + const data = bech32_1.bech32.fromWords(result.words); + return { + version, + prefix: result.prefix, + data: Buffer.from(data), + }; + }); + const _rchunks = lazy.value(() => { + return bscript.decompile(a.redeem.input); + }); + let network = a.network; + if (!network) { + network = (a.redeem && a.redeem.network) || networks_1.bitcoin; + } + const o = { network }; + lazy.prop(o, 'address', () => { + if (!o.hash) return; + const words = bech32_1.bech32.toWords(o.hash); + words.unshift(0x00); + return bech32_1.bech32.encode(network.bech32, words); + }); + lazy.prop(o, 'hash', () => { + if (a.output) return a.output.slice(2); + if (a.address) return _address().data; + if (o.redeem && o.redeem.output) return bcrypto.sha256(o.redeem.output); + }); + lazy.prop(o, 'output', () => { + if (!o.hash) return; + return bscript.compile([OPS.OP_0, o.hash]); + }); + lazy.prop(o, 'redeem', () => { + if (!a.witness) return; + return { + output: a.witness[a.witness.length - 1], + input: EMPTY_BUFFER, + witness: a.witness.slice(0, -1), + }; + }); + lazy.prop(o, 'input', () => { + if (!o.witness) return; + return EMPTY_BUFFER; + }); + lazy.prop(o, 'witness', () => { + // transform redeem input to witness stack? + if ( + a.redeem && + a.redeem.input && + a.redeem.input.length > 0 && + a.redeem.output && + a.redeem.output.length > 0 + ) { + const stack = bscript.toStack(_rchunks()); + // assign, and blank the existing input + o.redeem = Object.assign({ witness: stack }, a.redeem); + o.redeem.input = EMPTY_BUFFER; + return [].concat(stack, a.redeem.output); + } + if (!a.redeem) return; + if (!a.redeem.output) return; + if (!a.redeem.witness) return; + return [].concat(a.redeem.witness, a.redeem.output); + }); + lazy.prop(o, 'name', () => { + const nameParts = ['p2wsh']; + if (o.redeem !== undefined && o.redeem.name !== undefined) + nameParts.push(o.redeem.name); + return nameParts.join('-'); + }); + // extended validation + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (_address().prefix !== network.bech32) + throw new TypeError('Invalid prefix or Network mismatch'); + if (_address().version !== 0x00) + throw new TypeError('Invalid address version'); + if (_address().data.length !== 32) + throw new TypeError('Invalid address data'); + hash = _address().data; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 34 || + a.output[0] !== OPS.OP_0 || + a.output[1] !== 0x20 + ) + throw new TypeError('Output is invalid'); + const hash2 = a.output.slice(2); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (a.redeem) { + if (a.redeem.network && a.redeem.network !== network) + throw new TypeError('Network mismatch'); + // is there two redeem sources? + if ( + a.redeem.input && + a.redeem.input.length > 0 && + a.redeem.witness && + a.redeem.witness.length > 0 + ) + throw new TypeError('Ambiguous witness source'); + // is the redeem output non-empty? + if (a.redeem.output) { + if (bscript.decompile(a.redeem.output).length === 0) + throw new TypeError('Redeem.output is invalid'); + // match hash against other sources + const hash2 = bcrypto.sha256(a.redeem.output); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (a.redeem.input && !bscript.isPushOnly(_rchunks())) + throw new TypeError('Non push-only scriptSig'); + if ( + a.witness && + a.redeem.witness && + !stacksEqual(a.witness, a.redeem.witness) + ) + throw new TypeError('Witness and redeem.witness mismatch'); + if ( + (a.redeem.input && _rchunks().some(chunkHasUncompressedPubkey)) || + (a.redeem.output && + (bscript.decompile(a.redeem.output) || []).some( + chunkHasUncompressedPubkey, + )) + ) { + throw new TypeError( + 'redeem.input or redeem.output contains uncompressed pubkey', + ); + } + } + if (a.witness && a.witness.length > 0) { + const wScript = a.witness[a.witness.length - 1]; + if (a.redeem && a.redeem.output && !a.redeem.output.equals(wScript)) + throw new TypeError('Witness and redeem.output mismatch'); + if ( + a.witness.some(chunkHasUncompressedPubkey) || + (bscript.decompile(wScript) || []).some(chunkHasUncompressedPubkey) + ) + throw new TypeError('Witness contains uncompressed pubkey'); + } + } + return Object.assign(o, a); +} +p2wsh$1.p2wsh = p2wsh; + +(function (exports) { + Object.defineProperty(exports, '__esModule', { value: true }); + exports.p2wsh = exports.p2wpkh = exports.p2sh = exports.p2pkh = exports.p2pk = exports.p2ms = exports.embed = void 0; + const embed_1 = embed; + Object.defineProperty(exports, 'embed', { + enumerable: true, + get: function() { + return embed_1.p2data; + }, + }); + const p2ms_1 = p2ms$1; + Object.defineProperty(exports, 'p2ms', { + enumerable: true, + get: function() { + return p2ms_1.p2ms; + }, + }); + const p2pk_1 = p2pk$1; + Object.defineProperty(exports, 'p2pk', { + enumerable: true, + get: function() { + return p2pk_1.p2pk; + }, + }); + const p2pkh_1 = p2pkh$1; + Object.defineProperty(exports, 'p2pkh', { + enumerable: true, + get: function() { + return p2pkh_1.p2pkh; + }, + }); + const p2sh_1 = p2sh$1; + Object.defineProperty(exports, 'p2sh', { + enumerable: true, + get: function() { + return p2sh_1.p2sh; + }, + }); + const p2wpkh_1 = p2wpkh$1; + Object.defineProperty(exports, 'p2wpkh', { + enumerable: true, + get: function() { + return p2wpkh_1.p2wpkh; + }, + }); + const p2wsh_1 = p2wsh$1; + Object.defineProperty(exports, 'p2wsh', { + enumerable: true, + get: function() { + return p2wsh_1.p2wsh; + }, + }); + // TODO + // witness commitment +} (payments$1)); + +var src = {}; + +var bip32$1 = {}; + +var crypto$2 = {}; + +var createHmac$1 = require$$0__default["default"].createHmac; + +Object.defineProperty(crypto$2, "__esModule", { value: true }); +const createHash = createHash$3; +const createHmac = createHmac$1; +function hash160(buffer) { + const sha256Hash = createHash('sha256') + .update(buffer) + .digest(); + try { + return createHash('rmd160') + .update(sha256Hash) + .digest(); + } + catch (err) { + return createHash('ripemd160') + .update(sha256Hash) + .digest(); + } +} +crypto$2.hash160 = hash160; +function hmacSHA512(key, data) { + return createHmac('sha512', key) + .update(data) + .digest(); +} +crypto$2.hmacSHA512 = hmacSHA512; + +var testecc = {}; + +Object.defineProperty(testecc, "__esModule", { value: true }); +const h = (hex) => Buffer.from(hex, 'hex'); +function testEcc(ecc) { + assert(ecc.isPoint(h('0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); + assert(!ecc.isPoint(h('030000000000000000000000000000000000000000000000000000000000000005'))); + assert(ecc.isPrivate(h('79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); + // order - 1 + assert(ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); + // 0 + assert(!ecc.isPrivate(h('0000000000000000000000000000000000000000000000000000000000000000'))); + // order + assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141'))); + // order + 1 + assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142'))); + assert(Buffer.from(ecc.pointFromScalar(h('b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af'))).equals(h('02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99'))); + assert(Buffer.from(ecc.pointAddScalar(h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('0000000000000000000000000000000000000000000000000000000000000003'))).equals(h('02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5'))); + assert(Buffer.from(ecc.privateAdd(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e'), h('0000000000000000000000000000000000000000000000000000000000000002'))).equals(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); + assert(Buffer.from(ecc.sign(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))).equals(h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); + assert(ecc.verify(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); + if (ecc.signSchnorr) { + assert(Buffer.from(ecc.signSchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9'), h('c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906'))).equals(h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); + } + if (ecc.verifySchnorr) { + assert(ecc.verifySchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8'), h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); + } +} +testecc.testEcc = testEcc; +function assert(bool) { + if (!bool) + throw new Error('ecc library invalid'); +} + +var bs58check$1 = bs58check$4; + +function decodeRaw (buffer, version) { + // check version only if defined + if (version !== undefined && buffer[0] !== version) throw new Error('Invalid network version') + + // uncompressed + if (buffer.length === 33) { + return { + version: buffer[0], + privateKey: buffer.slice(1, 33), + compressed: false + } + } + + // invalid length + if (buffer.length !== 34) throw new Error('Invalid WIF length') + + // invalid compression flag + if (buffer[33] !== 0x01) throw new Error('Invalid compression flag') + + return { + version: buffer[0], + privateKey: buffer.slice(1, 33), + compressed: true + } +} + +function encodeRaw (version, privateKey, compressed) { + var result = new Buffer(compressed ? 34 : 33); + + result.writeUInt8(version, 0); + privateKey.copy(result, 1); + + if (compressed) { + result[33] = 0x01; + } + + return result +} + +function decode (string, version) { + return decodeRaw(bs58check$1.decode(string), version) +} + +function encode (version, privateKey, compressed) { + if (typeof version === 'number') return bs58check$1.encode(encodeRaw(version, privateKey, compressed)) + + return bs58check$1.encode( + encodeRaw( + version.version, + version.privateKey, + version.compressed + ) + ) +} + +var wif$1 = { + decode: decode, + decodeRaw: decodeRaw, + encode: encode, + encodeRaw: encodeRaw +}; + +Object.defineProperty(bip32$1, "__esModule", { value: true }); +const crypto$1 = crypto$2; +const testecc_1 = testecc; +const bs58check = bs58check$4; +const typeforce = typeforce_1; +const wif = wif$1; +function BIP32Factory(ecc) { + testecc_1.testEcc(ecc); + const UINT256_TYPE = typeforce.BufferN(32); + const NETWORK_TYPE = typeforce.compile({ + wif: typeforce.UInt8, + bip32: { + public: typeforce.UInt32, + private: typeforce.UInt32, + }, + }); + const BITCOIN = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'bc', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x00, + scriptHash: 0x05, + wif: 0x80, + }; + const HIGHEST_BIT = 0x80000000; + const UINT31_MAX = Math.pow(2, 31) - 1; + function BIP32Path(value) { + return (typeforce.String(value) && value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) !== null); + } + function UInt31(value) { + return typeforce.UInt32(value) && value <= UINT31_MAX; + } + class BIP32 { + constructor(__D, __Q, chainCode, network, __DEPTH = 0, __INDEX = 0, __PARENT_FINGERPRINT = 0x00000000) { + this.__D = __D; + this.__Q = __Q; + this.chainCode = chainCode; + this.network = network; + this.__DEPTH = __DEPTH; + this.__INDEX = __INDEX; + this.__PARENT_FINGERPRINT = __PARENT_FINGERPRINT; + typeforce(NETWORK_TYPE, network); + this.lowR = false; + } + get depth() { + return this.__DEPTH; + } + get index() { + return this.__INDEX; + } + get parentFingerprint() { + return this.__PARENT_FINGERPRINT; + } + get publicKey() { + if (this.__Q === undefined) + this.__Q = Buffer.from(ecc.pointFromScalar(this.__D, true)); + return this.__Q; + } + get privateKey() { + return this.__D; + } + get identifier() { + return crypto$1.hash160(this.publicKey); + } + get fingerprint() { + return this.identifier.slice(0, 4); + } + get compressed() { + return true; + } + // Private === not neutered + // Public === neutered + isNeutered() { + return this.__D === undefined; + } + neutered() { + return fromPublicKeyLocal(this.publicKey, this.chainCode, this.network, this.depth, this.index, this.parentFingerprint); + } + toBase58() { + const network = this.network; + const version = !this.isNeutered() + ? network.bip32.private + : network.bip32.public; + const buffer = Buffer.allocUnsafe(78); + // 4 bytes: version bytes + buffer.writeUInt32BE(version, 0); + // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, .... + buffer.writeUInt8(this.depth, 4); + // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) + buffer.writeUInt32BE(this.parentFingerprint, 5); + // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. + // This is encoded in big endian. (0x00000000 if master key) + buffer.writeUInt32BE(this.index, 9); + // 32 bytes: the chain code + this.chainCode.copy(buffer, 13); + // 33 bytes: the public key or private key data + if (!this.isNeutered()) { + // 0x00 + k for private keys + buffer.writeUInt8(0, 45); + this.privateKey.copy(buffer, 46); + // 33 bytes: the public key + } + else { + // X9.62 encoding for public keys + this.publicKey.copy(buffer, 45); + } + return bs58check.encode(buffer); + } + toWIF() { + if (!this.privateKey) + throw new TypeError('Missing private key'); + return wif.encode(this.network.wif, this.privateKey, true); + } + // https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#child-key-derivation-ckd-functions + derive(index) { + typeforce(typeforce.UInt32, index); + const isHardened = index >= HIGHEST_BIT; + const data = Buffer.allocUnsafe(37); + // Hardened child + if (isHardened) { + if (this.isNeutered()) + throw new TypeError('Missing private key for hardened child key'); + // data = 0x00 || ser256(kpar) || ser32(index) + data[0] = 0x00; + this.privateKey.copy(data, 1); + data.writeUInt32BE(index, 33); + // Normal child + } + else { + // data = serP(point(kpar)) || ser32(index) + // = serP(Kpar) || ser32(index) + this.publicKey.copy(data, 0); + data.writeUInt32BE(index, 33); + } + const I = crypto$1.hmacSHA512(this.chainCode, data); + const IL = I.slice(0, 32); + const IR = I.slice(32); + // if parse256(IL) >= n, proceed with the next value for i + if (!ecc.isPrivate(IL)) + return this.derive(index + 1); + // Private parent key -> private child key + let hd; + if (!this.isNeutered()) { + // ki = parse256(IL) + kpar (mod n) + const ki = Buffer.from(ecc.privateAdd(this.privateKey, IL)); + // In case ki == 0, proceed with the next value for i + if (ki == null) + return this.derive(index + 1); + hd = fromPrivateKeyLocal(ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); + // Public parent key -> public child key + } + else { + // Ki = point(parse256(IL)) + Kpar + // = G*IL + Kpar + const Ki = Buffer.from(ecc.pointAddScalar(this.publicKey, IL, true)); + // In case Ki is the point at infinity, proceed with the next value for i + if (Ki === null) + return this.derive(index + 1); + hd = fromPublicKeyLocal(Ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); + } + return hd; + } + deriveHardened(index) { + typeforce(UInt31, index); + // Only derives hardened private keys by default + return this.derive(index + HIGHEST_BIT); + } + derivePath(path) { + typeforce(BIP32Path, path); + let splitPath = path.split('/'); + if (splitPath[0] === 'm') { + if (this.parentFingerprint) + throw new TypeError('Expected master, got child'); + splitPath = splitPath.slice(1); + } + return splitPath.reduce((prevHd, indexStr) => { + let index; + if (indexStr.slice(-1) === `'`) { + index = parseInt(indexStr.slice(0, -1), 10); + return prevHd.deriveHardened(index); + } + else { + index = parseInt(indexStr, 10); + return prevHd.derive(index); + } + }, this); + } + sign(hash, lowR) { + if (!this.privateKey) + throw new Error('Missing private key'); + if (lowR === undefined) + lowR = this.lowR; + if (lowR === false) { + return Buffer.from(ecc.sign(hash, this.privateKey)); + } + else { + let sig = Buffer.from(ecc.sign(hash, this.privateKey)); + const extraData = Buffer.alloc(32, 0); + let counter = 0; + // if first try is lowR, skip the loop + // for second try and on, add extra entropy counting up + while (sig[0] > 0x7f) { + counter++; + extraData.writeUIntLE(counter, 0, 6); + sig = Buffer.from(ecc.sign(hash, this.privateKey, extraData)); + } + return sig; + } + } + signSchnorr(hash) { + if (!this.privateKey) + throw new Error('Missing private key'); + if (!ecc.signSchnorr) + throw new Error('signSchnorr not supported by ecc library'); + return Buffer.from(ecc.signSchnorr(hash, this.privateKey)); + } + verify(hash, signature) { + return ecc.verify(hash, this.publicKey, signature); + } + verifySchnorr(hash, signature) { + if (!ecc.verifySchnorr) + throw new Error('verifySchnorr not supported by ecc library'); + return ecc.verifySchnorr(hash, this.publicKey.subarray(1, 33), signature); + } + } + function fromBase58(inString, network) { + const buffer = bs58check.decode(inString); + if (buffer.length !== 78) + throw new TypeError('Invalid buffer length'); + network = network || BITCOIN; + // 4 bytes: version bytes + const version = buffer.readUInt32BE(0); + if (version !== network.bip32.private && version !== network.bip32.public) + throw new TypeError('Invalid network version'); + // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, ... + const depth = buffer[4]; + // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) + const parentFingerprint = buffer.readUInt32BE(5); + if (depth === 0) { + if (parentFingerprint !== 0x00000000) + throw new TypeError('Invalid parent fingerprint'); + } + // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. + // This is encoded in MSB order. (0x00000000 if master key) + const index = buffer.readUInt32BE(9); + if (depth === 0 && index !== 0) + throw new TypeError('Invalid index'); + // 32 bytes: the chain code + const chainCode = buffer.slice(13, 45); + let hd; + // 33 bytes: private key data (0x00 + k) + if (version === network.bip32.private) { + if (buffer.readUInt8(45) !== 0x00) + throw new TypeError('Invalid private key'); + const k = buffer.slice(46, 78); + hd = fromPrivateKeyLocal(k, chainCode, network, depth, index, parentFingerprint); + // 33 bytes: public key data (0x02 + X or 0x03 + X) + } + else { + const X = buffer.slice(45, 78); + hd = fromPublicKeyLocal(X, chainCode, network, depth, index, parentFingerprint); + } + return hd; + } + function fromPrivateKey(privateKey, chainCode, network) { + return fromPrivateKeyLocal(privateKey, chainCode, network); + } + function fromPrivateKeyLocal(privateKey, chainCode, network, depth, index, parentFingerprint) { + typeforce({ + privateKey: UINT256_TYPE, + chainCode: UINT256_TYPE, + }, { privateKey, chainCode }); + network = network || BITCOIN; + if (!ecc.isPrivate(privateKey)) + throw new TypeError('Private key not in range [1, n)'); + return new BIP32(privateKey, undefined, chainCode, network, depth, index, parentFingerprint); + } + function fromPublicKey(publicKey, chainCode, network) { + return fromPublicKeyLocal(publicKey, chainCode, network); + } + function fromPublicKeyLocal(publicKey, chainCode, network, depth, index, parentFingerprint) { + typeforce({ + publicKey: typeforce.BufferN(33), + chainCode: UINT256_TYPE, + }, { publicKey, chainCode }); + network = network || BITCOIN; + // verify the X coordinate is a point on the curve + if (!ecc.isPoint(publicKey)) + throw new TypeError('Point is not on the curve'); + return new BIP32(undefined, publicKey, chainCode, network, depth, index, parentFingerprint); + } + function fromSeed(seed, network) { + typeforce(typeforce.Buffer, seed); + if (seed.length < 16) + throw new TypeError('Seed should be at least 128 bits'); + if (seed.length > 64) + throw new TypeError('Seed should be at most 512 bits'); + network = network || BITCOIN; + const I = crypto$1.hmacSHA512(Buffer.from('Bitcoin seed', 'utf8'), seed); + const IL = I.slice(0, 32); + const IR = I.slice(32); + return fromPrivateKey(IL, IR, network); + } + return { + fromSeed, + fromBase58, + fromPublicKey, + fromPrivateKey, + }; +} +bip32$1.BIP32Factory = BIP32Factory; + +Object.defineProperty(src, "__esModule", { value: true }); +var bip32_1 = bip32$1; +src.default = bip32_1.BIP32Factory; +src.BIP32Factory = bip32_1.BIP32Factory; + +// Constants +const { + FABRIC_KEY_DERIVATION_PATH +} = constants$1; + +// Node Modules +const crypto = require$$0__default["default"]; + +// Deterministic Random +// TODO: remove +const Generator = dist.exports.default.Generator; + +// Dependencies +// TODO: remove all external dependencies +const BN = bn.exports; +const EC = elliptic.ec; +const ec = new EC('secp256k1'); +const ecc = require$$5; +const payments = payments$1; + +// Simple Key Management +const BIP32 = src.default; +const bip32 = new BIP32(ecc); +const bip39 = require$$8__default["default"]; + +// NOTE: see also @fabric/passport +// expect a bech32m identifier using prefix "id" + +/** + * Represents a cryptographic key. + */ +class Key$1 { + /** + * Create an instance of a Fabric Key, either restoring from some known + * values or from prior knowledge. For instance, you can call `new Key()` + * to create a fresh keypair, or `new Key({ public: 'deadbeef...' })` to + * create it from a known public key. + * @param {Object} [settings] Initialization for the key. + * @param {String} [settings.network] Network string. + * @param {String} [settings.seed] Mnemonic seed for initializing the key. + * @param {String} [settings.public] Public key in hex. + * @param {String} [settings.private] Private key in hex. + * @param {String} [settings.purpose=44] Constrains derivations to this space. + */ + constructor (input = {}) { + this.settings = Object.assign({ + debug: false, + network: 'main', + curve: 'secp256k1', + derivation: FABRIC_KEY_DERIVATION_PATH, + mode: 'aes-256-cbc', + prefix: '00', + public: null, + private: null, + purpose: 44, + account: 0, + bits: 256, + hd: true, + seed: null, + password: null, + index: 0, + cipher: { + iv: { + size: 16 + } + }, + witness: true + }, input); + + this.clock = 0; + this.master = null; + this.private = null; + this.public = null; + + // Configure Deterministic Random + // WARNING: this will currently loop after 2^32 bits + // TODO: evaluate compression when treating seed phrase as ascii + // TODO: consider using sha256(masterprivkey) or sha256(sha256(...))? + this._starseed = this.settings.seed || crypto.randomBytes(4).readUInt32BE(); + + // TODO: design state machine for input (configuration) + if (this.settings.seed) { + this._mode = 'FROM_SEED'; + } else if (this.settings.private) { + this._mode = 'FROM_PRIVATE_KEY'; + } else if (this.settings.xprv) { + this._mode = 'FROM_XPRV'; + } else if (this.settings.xpub) { + this._mode = 'FROM_XPUB'; + } else if (this.settings.pubkey || this.settings.public) { + this._mode = 'FROM_PUBLIC_KEY'; + } else { + this._mode = 'FROM_RANDOM'; + } + + if (this.settings.debug) console.debug('mode:', this._mode); + + switch (this._mode) { + case 'FROM_SEED': + const seed = bip39.mnemonicToSeedSync(this.settings.seed); + const root = bip32.fromSeed(seed); + this.xprv = root.toBase58(); + this.xpub = root.neutered().toBase58(); + this.master = root; + this.keypair = ec.keyFromPrivate(root.privateKey); + // this.address = this.keyring.getAddress().toString(); + this.status = 'seeded'; + break; + case 'FROM_XPRV': + this.master = bip32.fromBase58(this.settings.xprv); + this.xprv = this.master.toBase58(); + this.xpub = this.master.neutered().toBase58(); + this.keypair = ec.keyFromPrivate(this.master.privateKey); + break; + case 'FROM_XPUB': + const xpub = bip32.fromBase58(this.settings.xpub); + this.keypair = ec.keyFromPublic(xpub.publicKey); + break; + case 'FROM_PRIVATE_KEY': + // Key is private + (this.settings.private instanceof Buffer) ? this.settings.private : Buffer.from(this.settings.private, 'hex'); + this.keypair = ec.keyFromPrivate(this.settings.private); + break; + case 'FROM_PUBLIC_KEY': + const pubkey = this.settings.pubkey || this.settings.public; + // Key is only public + this.keypair = ec.keyFromPublic((pubkey instanceof Buffer) ? pubkey : Buffer.from(pubkey, 'hex')); + break; + case 'FROM_RANDOM': + const mnemonic = bip39.generateMnemonic(); + const interim = bip39.mnemonicToSeedSync(mnemonic); + this.master = bip32.fromSeed(interim); + this.keypair = ec.keyFromPrivate(this.master.privateKey); + break; + } + + // Read the pair + this.private = ( + !this.settings.seed && + !this.settings.private && + !this.settings.xprv + ) ? false : this.keypair.getPrivate(); + + this.public = this.keypair.getPublic(true); + + // TODO: determine if this makes sense / needs to be private + this.privkey = (this.private) ? this.private.toString() : null; + + // STANDARD BEGINS HERE + this.pubkey = this.public.encodeCompressed('hex'); + + // BELOW THIS NON-STANDARD + // DO NOT USE IN PRODUCTION + // this.pubkeyhash = this.keyring.getKeyHash('hex'); + this.pubkeyhash = ''; + this.generator = new Generator(parseInt(this._starseed, 10)); + + this['@data'] = { + type: 'Key', + public: this.pubkey, + address: this.address + }; + + this._state = { + pubkey: this.pubkey + }; + + // Object.defineProperty(this, 'keyring', { enumerable: false }); + Object.defineProperty(this, 'keypair', { enumerable: false }); + Object.defineProperty(this, 'private', { enumerable: false }); + + return this; + } + + static Mnemonic (seed) { + return new Key$1({ seed }); + } + + get account () { + return this.settings.account; + } + + get id () { + return this.pubkeyhash; + } + + get iv () { + const self = this; + const bits = new BN([...Array(128)].map(() => { + return self.bit().toString(); + }).join(''), 2).toString(16); + return Buffer.from(bits.toString(16), 'hex'); + } + + get purpose () { + return this.settings.purpose; + } + + bit () { + return this.generator.next.bits(1); + } + + deriveAccountReceive (index) { + return this.deriveAddress(index); + } + + deriveAddress (index = 0, change = 0) { + const pair = this.deriveKeyPair(this.account, index, change); + return payments.p2pkh({ + pubkey: Buffer.from(pair.public, 'hex') + }); + } + + deriveKeyPair (addressID = 0, change = 0) { + const path = `m/${this.purpose}'/0'/${this.account}'/${change}/${addressID}`; + const derived = this.master.derivePath(path); + const pair = ec.keyFromPrivate(derived.privateKey); + return { + private: pair.getPrivate('hex'), + public: pair.getPublic(true, 'hex') + }; + } + + encrypt (value) { + try { + const ivbuff = Buffer.from(this.iv, 'hex'); + const cipher = crypto.createCipheriv(this.settings.mode, this.private.toBuffer(), ivbuff); + let encrypted = cipher.update(value); + encrypted = Buffer.concat([ + encrypted, + cipher.final() + ]); + return ivbuff.toString('hex') + ':' + encrypted.toString('hex'); + } catch (exception) { + console.error('err:', exception); + } + } + + decrypt (text) { + if (text instanceof Buffer) text = text.toString('utf8'); + + try { + const parts = text.split(':'); + const iv = Buffer.from(parts.shift(), 'hex'); + const blob = Buffer.from(parts.join(':'), 'hex'); + const decipher = crypto.createDecipheriv(this.settings.mode, this.private.toBuffer(), iv); + let decrypted = decipher.update(blob); + decrypted = Buffer.concat([ + decrypted, + decipher.final() + ]); + return decrypted.toString(); + } catch (exception) { + console.error('err:', exception); + } + } + + _sign (msg) { + if (typeof msg !== 'string') msg = JSON.stringify(msg); + const hmac = crypto.createHash('sha256').update(msg).digest('hex'); + return this.keypair.sign(hmac).toDER(); + } + + _verify (msg, sig) { + const hmac = crypto.createHash('sha256').update(msg).digest('hex'); + const valid = this.keypair.verify(hmac, sig); + return valid; + } + + derive (path = this.settings.derivation) { + if (!this.master) throw new Error('You cannot derive without a master key. Provide a seed phrase or an xprv.'); + const derived = this.master.derivePath(path); + const options = { + private: derived.privateKey.encodeCompressed('hex'), + public: derived.publicKey.encodeCompressed('hex') + }; + + return new Key$1(options); + } +} + +var key = Key$1; + +const Actor = actor; +const Bech32 = bech32_1$2; +const Hash256 = hash256$1; +const Key = key; + +class Identity extends Actor { + constructor (settings = {}) { + super(settings); + + this.settings = Object.assign({ + seed: null, + accountID: 0, + index: 0 + }, this.settings, settings); + + this.key = new Key(this.settings); + + this._state = { + content: { + accountID: this.settings.accountID, + index: this.settings.index + } + }; + + return this; + } + + get accountID () { + return this._state.content.accountID; + } + + get derivation () { + // m / purpose' / coin_type' / account' / change / address_index + // NOTE: + // Always using Coin Type 0 (Bitcoin) and Change 0 (Public Flag)! + // We will use Change 1 ("Internal Chain" as designated by BIP0044) + // for any kind of revoke mechanic; i.e., the key derived by the change + // address may be used to auto-encode a "revocation" contract. + return `m/44'/0'/${this.accountID}'/0/${this.index}`; + } + + get id () { + return this.toString(); + } + + get index () { + return this._state.content.index; + } + + get master () { + return this.key; + } + + get pubkey () { + return this.key.public.x.toString('hex'); + } + + get pubkeyhash () { + const input = Buffer.from(this.pubkey, 'hex'); + return Hash256.digest(input); + } + + static fromString (input = '') { + const parsed = Bech32.decode(input); + return { + content: parsed.content.toString('hex') + }; + } + + loadAccountByID (id = 0) { + this._state.content.accountID = id; + return this; + } + + toString () { + if (this.settings.debug) console.log('master key:', this.key.master.publicKey); + if (this.settings.debug) console.log('pubkey for id:', this.pubkey); + + const bech32 = new Bech32({ + hrp: 'id', + content: this.pubkeyhash + }); + + if (this.settings.debug) console.log('bech32:', bech32); + + return bech32.toString(); + } +} + +var identity = Identity; + +var SeedEntryForm = /*#__PURE__*/function (_Component) { + _inherits(SeedEntryForm, _Component); + + var _super = _createSuper(SeedEntryForm); + + function SeedEntryForm(props) { + var _this; + + _classCallCheck$1(this, SeedEntryForm); + + _this = _super.call(this, props); + _this.settings = merge__default["default"]({ + network: 'regtest' + }, props); + /* this.wallet = new Wallet({ + network: this.settings.network + }); */ + // TODO: prepare Fabric + // i.e., use _state here, then import from getter and apply properties + // _from_ @react + + _this.state = { + integrity: 'sha256-deadbeefbabe', + fields: { + seed: '', + password: '' + } + }; + return _this; + } + + _createClass$1(SeedEntryForm, [{ + key: "_seedWords", + get: function get() { + return require$$8__namespace.wordlists.english.map(function (x, i) { + return { + key: i, + text: x, + value: x + }; + }); + } + }, { + key: "handleChange", + value: function handleChange(e) { + var newFields = _objectSpread2(_objectSpread2({}, this.state.fields), {}, _defineProperty({}, e.target.name, e.target.value)); // TODO: merge old state + + + this.setState({ + fields: newFields + }); + } + }, { + key: "handleLoginSubmit", + value: function handleLoginSubmit(e) { + e.preventDefault(); // whatever you want to do when user submits a form + + console.log('e:', e); + console.log('e.target:', e.target); + console.log('e.target data:', e.target.data); + return false; + } + }, { + key: "handleSubmit", + value: function handleSubmit(e) { + this.handleLoginSubmit(e); + this.props.handleClose(); + } + }, { + key: "render", + value: function render() { + // const { fields } = this.state; + return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, { + onSubmit: this.handleSubmit.bind(this) + }, /*#__PURE__*/React__default["default"].createElement("label", { + htmlFor: "seed" + }, "Seed Phrase (12 or 24 words)"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Dropdown, { + placeholder: "Your 12 or 24 word seed phrase", + fluid: true, + multiple: true, + search: true, + selection: true // options={this._seedWords} + , + minCharacters: 3, + onChange: this.props.handleChange('seed') + }), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, "Load"))); + } + }, { + key: "saveAndContinue", + value: function saveAndContinue(e) { + e.preventDefault(); + this.props.nextStep(); + } + }, { + key: "_handleRestoreButtonClick", + value: function _handleRestoreButtonClick() { + this.setState({ + modalOpen: true + }); + } + }, { + key: "_handleGeneratorButtonClick", + value: function _handleGeneratorButtonClick() { + this.setState({ + modalOpen: true + }); + } + }, { + key: "_handleGenerateClick", + value: function _handleGenerateClick() { + console.log('generate request click'); + } + }, { + key: "_handleGenerateKeyPress", + value: function _handleGenerateKeyPress(e) { + if (e.charCode === 32 || e.charCode === 13) { + // Prevent the default action to stop scrolling when space is pressed + e.preventDefault(); + console.log('Button received click with keyboard'); + } + } + }, { + key: "_handleRestoreKeyPress", + value: function _handleRestoreKeyPress(e) { + if (e.charCode === 32 || e.charCode === 13) { + // Prevent the default action to stop scrolling when space is pressed + e.preventDefault(); + console.log('Button received click with keyboard'); + } + } + }]); + + return SeedEntryForm; +}(React.Component); + +var FabricIdentity$1 = /*#__PURE__*/function (_Component) { + _inherits(FabricIdentity, _Component); + + var _super = _createSuper(FabricIdentity); + + function FabricIdentity(props) { + var _this; + + _classCallCheck$1(this, FabricIdentity); + + _this = _super.call(this, props); + _this.settings = Object.assign({ + explain: false, + modalOpen: false, + keys: [] + }, props); + _this.identity = new identity(_this.settings); // TODO: prepare Fabric + + _this._state = { + explain: true, + handle: _this.identity.id, + identity: _this.identity.toObject(), + status: 'PAUSED' + }; + return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); + } + + _createClass$1(FabricIdentity, [{ + key: "handleChange", + value: function handleChange(e, v) { + console.log('change:', e, v); // this.setState({ seed: e }); + } + }, { + key: "handleClose", + value: function handleClose() { + this.setState({ + modalOpen: false + }); + } + }, { + key: "render", + value: function render() { + return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Menu.Item, { + className: "borderless" + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + icon: true, + onClick: this._handleCardClick.bind(this), + labelPosition: "left" + }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("code", null, this._state.handle || 'anonymous')), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "user" + }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal, { + open: this.state.modalOpen, + onClose: this.handleClose.bind(this), + closeIcon: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal.Header, null, "Login"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal.Content, null, /*#__PURE__*/React__default["default"].createElement(SeedEntryForm, { + handleClose: this.handleClose.bind(this), + handleChange: this.handleChange.bind(this) + })))); + } + }, { + key: "isVisible", + value: function isVisible() { + if (this.state.explain) return true; + return false; + } + }, { + key: "_handleCardClick", + value: function _handleCardClick() { + this.setState({ + modalOpen: true + }); + } + }, { + key: "_handleRestoreButtonClick", + value: function _handleRestoreButtonClick() { + this.setState({ + modalOpen: true + }); + } + }, { + key: "_handleGeneratorButtonClick", + value: function _handleGeneratorButtonClick() { + this.setState({ + modalOpen: true + }); + } + }, { + key: "_handleGenerateKeyPress", + value: function _handleGenerateKeyPress(e) { + if (e.charCode === 32 || e.charCode === 13) { + // Prevent the default action to stop scrolling when space is pressed + e.preventDefault(); + console.log('Button received click with keyboard'); + } + } + }, { + key: "_handleRestoreKeyPress", + value: function _handleRestoreKeyPress(e) { + if (e.charCode === 32 || e.charCode === 13) { + // Prevent the default action to stop scrolling when space is pressed + e.preventDefault(); + console.log('Button received click with keyboard'); + } + } + }]); + + return FabricIdentity; +}(React.Component); + +var FabricIdentity$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': FabricIdentity$1 +}); + +var require$$1 = /*@__PURE__*/getAugmentedNamespace(FabricIdentity$2); + +var IdentityPicker = /*#__PURE__*/function (_Component) { + _inherits(IdentityPicker, _Component); + + var _super = _createSuper(IdentityPicker); + + function IdentityPicker() { + _classCallCheck$1(this, IdentityPicker); + + return _super.apply(this, arguments); + } + + _createClass$1(IdentityPicker, [{ + key: "render", + value: function render() { + this.props.values; + return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { + fluid: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + icon: true, + color: "green", + onClick: this._handleGeneratorButtonClick.bind(this), + onKeyPress: this._handleGenerateKeyPress.bind(this), + labelPosition: "left" + }, "Generate ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "leaf" + })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Or, null), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + icon: true, + color: "blue", + onClick: this._handleRestoreButtonClick.bind(this), + onKeyPress: this._handleRestoreKeyPress.bind(this), + labelPosition: "right" + }, "Restore from Seed Phrase ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "right chevron" + }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + type: "submit", + onClick: this.saveAndContinue.bind(this) + }, "Save And Continue")); + } + }, { + key: "saveAndContinue", + value: function saveAndContinue(e) { + e.preventDefault(); + this.props.nextStep(); + } + }, { + key: "_handleRestoreButtonClick", + value: function _handleRestoreButtonClick() { + this.setState({ + step: 'SEED_RESTORE_START' + }); + } + }, { + key: "_handleGeneratorButtonClick", + value: function _handleGeneratorButtonClick() { + this.setState({ + step: 'SEED_GENERATE_START' + }); + } + }, { + key: "_handleGenerateClick", + value: function _handleGenerateClick() { + console.log('generate request click'); + } + }, { + key: "_handleGenerateKeyPress", + value: function _handleGenerateKeyPress(e) { + if (e.charCode === 32 || e.charCode === 13) { + // Prevent the default action to stop scrolling when space is pressed + e.preventDefault(); + console.log('Button received click with keyboard'); + } + } + }, { + key: "_handleRestoreKeyPress", + value: function _handleRestoreKeyPress(e) { + if (e.charCode === 32 || e.charCode === 13) { + // Prevent the default action to stop scrolling when space is pressed + e.preventDefault(); + console.log('Button received click with keyboard'); + } + } + }]); + + return IdentityPicker; +}(React.Component); + +var FabricIdentityManager$1 = /*#__PURE__*/function (_Component) { + _inherits(FabricIdentityManager, _Component); + + var _super = _createSuper(FabricIdentityManager); + + function FabricIdentityManager(props) { + var _this; + + _classCallCheck$1(this, FabricIdentityManager); + + _this = _super.call(this, props); + + _defineProperty(_assertThisInitialized(_this), "handleChange", function (input) { + return function (event) { + _this.setState(_defineProperty({}, input, event.target.value)); + }; + }); + + _this.settings = merge__default["default"]({ + explain: false, + keys: [] + }, props); // TODO: prepare Fabric + // i.e., use _state here, then import from getter and apply properties + // _from_ @react + + _this.state = { + explain: true, + hash: null, + identities: [], + integrity: 'sha256-deadbeefbabe', + status: 'PAUSED', + step: 1 + }; + return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); + } + + _createClass$1(FabricIdentityManager, [{ + key: "setStep", + value: function setStep() { + var step = this.state.step; + this.setState({ + step: step + }); + } + }, { + key: "nextStep", + value: function nextStep() { + var step = this.state.step; + this.setState({ + step: step + 1 + }); + } + }, { + key: "previoustStep", + value: function previoustStep() { + var step = this.state.step; + this.setState({ + step: step - 1 + }); + } + }, { + key: "start", + value: function start() { + TrezorConnect__default["default"].manifest({ + email: 'labs@fabric.pub', + appUrl: 'https://hub.fabric.pub' + }); + this.setState({ + status: 'STARTED' + }); + return this; + } + }, { + key: "render", + value: function render() { + var step = this.state.step; + var _this$state = this.state, + firstName = _this$state.firstName, + lastName = _this$state.lastName, + email = _this$state.email, + age = _this$state.age, + city = _this$state.city, + country = _this$state.country; + var values = { + firstName: firstName, + lastName: lastName, + email: email, + age: age, + city: city, + country: country + }; + var element = null; + + switch (step) { + case 1: + element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { + nextStep: this.nextStep.bind(this), + setStep: this.setStep.bind(this), + handleChange: this.handleChange.bind(this), + values: values + }); + break; + + case 2: + element = /*#__PURE__*/React__default["default"].createElement(SeedEntryForm, { + nextStep: this.nextStep.bind(this), + setStep: this.setStep.bind(this), + handleChange: this.handleChange.bind(this), + values: values + }); + break; + + case 3: + element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { + nextStep: this.nextStep.bind(this), + setStep: this.setStep.bind(this), + handleChange: this.handleChange.bind(this), + values: values + }); + break; + + case 4: + element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { + nextStep: this.nextStep.bind(this), + setStep: this.setStep.bind(this), + handleChange: this.handleChange.bind(this), + values: values + }); + break; + } + + return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { + fluid: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { + attached: "top" + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Group, { + inline: true, + widths: "equal" + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Field, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Input, { + disabled: true, + value: this.state.hash + })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Field, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { + floated: "right" + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "history" + })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "refresh" + }))))))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { + hidden: !this.isVisible() + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, null, "Identity Manager"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Meta, null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("strong", null, "Status:"), " ", /*#__PURE__*/React__default["default"].createElement("pre", null, this.state.status)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("strong", null, "State:"), " ", /*#__PURE__*/React__default["default"].createElement("pre", null, JSON.stringify(this.state, null, ' ')))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Description, null, "Get started by restoring from an existing seed phrase or generating a new one.")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { + extra: true, + attached: "bottom" + }, element))); + } + }, { + key: "isVisible", + value: function isVisible() { + if (this.state.explain) return true; + return false; + } + }]); + + return FabricIdentityManager; +}(React.Component); + +var FabricIdentityManager$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': FabricIdentityManager$1 +}); + +var require$$2 = /*@__PURE__*/getAugmentedNamespace(FabricIdentityManager$2); + +var FabricBridge = require$$0$1; + +var FabricIdentity = require$$1; + +var FabricIdentityManager = require$$2; + +var FabricBridge_1 = components.FabricBridge = FabricBridge; +var FabricIdentity_1 = components.FabricIdentity = FabricIdentity; +var FabricIdentityManager_1 = components.FabricIdentityManager = FabricIdentityManager; + +exports.FabricBridge = FabricBridge_1; +exports.FabricIdentity = FabricIdentity_1; +exports.FabricIdentityManager = FabricIdentityManager_1; +exports["default"] = components; diff --git a/rollup.config.js b/rollup.config.js index e597f69..7b66de6 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -9,7 +9,7 @@ import babel from '@rollup/plugin-babel'; import pkg from './package.json'; export default [{ - input: 'module.js', + input: 'components/index.js', output: [ { name: 'FabricReact', From 63295fb3142dbedc451d7866cf467d9e20025cc0 Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 16:23:26 -0400 Subject: [PATCH 05/16] build: reorder plugins, use builtins --- rollup.config.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 7b66de6..6410635 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -33,8 +33,12 @@ export default [{ 'lodash.merge' ], plugins: [ + babel({ + exclude: 'node_modules/**', + presets: ['@babel/preset-env', '@babel/preset-react'], + babelHelpers: 'bundled' + }), resolve({ - // If you have external dependencies installed from // npm, you'll most likely need these plugins. In // some cases you'll need additional configuration � @@ -42,13 +46,8 @@ export default [{ // https://github.com/rollup/rollup-plugin-commonjs // preferBuiltins: true }), - babel({ - exclude: 'node_modules/**', - presets: ['@babel/env', '@babel/preset-react'], - babelHelpers: 'bundled' - }), commonjs({ - // preferBuiltins: false + preferBuiltins: false }), json() ], From 650a358d0518facdaba5e25e3374852622d097d1 Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 16:23:36 -0400 Subject: [PATCH 06/16] build: global variables --- rollup.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rollup.config.js b/rollup.config.js index 6410635..12365bd 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -16,6 +16,8 @@ export default [{ file: pkg.main, format: 'cjs', globals: { + 'buffer': 'buffer', + 'crypto': 'crypto', 'react': 'React', 'react-dom': 'ReactDOM', 'semantic-ui-react': 'semanticUIReact', From 16fe74b62c1eadaf2bb7f8447463bdf3bcc959b9 Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 20:28:14 -0400 Subject: [PATCH 07/16] build: update react to 18 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 620085b..7c676cc 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ "peerDependencies": { "@fabric/core": "FabricLabs/fabric#feature/node-16", "@fabric/http": "FabricLabs/fabric-http#feature/node-16", - "react": "^17.0.1", - "react-dom": "^17.0.1" + "react": "^18.2.0", + "react-dom": "^18.2.0" } } From ec13e53a26d511ac98b03faa4e71535a86d2496f Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 20:46:36 -0400 Subject: [PATCH 08/16] build: update outputs --- assets/fabric.react.js | 125994 +++++++++++++++++++++++++++++++------- package.json | 2 +- rollup.config.js | 3 +- 3 files changed, 102708 insertions(+), 23291 deletions(-) diff --git a/assets/fabric.react.js b/assets/fabric.react.js index da89229..1c4c356 100644 --- a/assets/fabric.react.js +++ b/assets/fabric.react.js @@ -1,53 +1,104 @@ 'use strict'; +Object.defineProperty(exports, '__esModule', { value: true }); + var React = require('react'); +var merge = require('lodash.merge'); var semanticUiReact = require('semantic-ui-react'); -var Remote = require('@fabric/http/types/remote'); var require$$0$2 = require('crypto'); -var require$$0$3 = require('buffer'); +var http$2 = require('http'); +var require$$2$1 = require('https'); +var require$$3 = require('querystring'); +var Stream = require('stream'); +var Url = require('url'); +var require$$0$3 = require('punycode'); +var zlib$1 = require('zlib'); +var require$$0$4 = require('events'); +var require$$4$1 = require('net'); +var require$$5$1 = require('tls'); +var fs = require('fs'); +var require$$0$5 = require('buffer'); +var require$$8 = require('bip39'); var TrezorConnect = require('trezor-connect'); function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } function _interopNamespace(e) { - if (e && e.__esModule) return e; - var n = Object.create(null); - if (e) { - Object.keys(e).forEach(function (k) { - if (k !== 'default') { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - } - n["default"] = e; - return Object.freeze(n); + if (e && e.__esModule) return e; + var n = Object.create(null); + if (e) { + Object.keys(e).forEach(function (k) { + if (k !== 'default') { + var d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: function () { return e[k]; } + }); + } + }); + } + n["default"] = e; + return Object.freeze(n); } function _mergeNamespaces(n, m) { - m.forEach(function (e) { - e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) { - if (k !== 'default' && !(k in n)) { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - }); - return Object.freeze(n); + m.forEach(function (e) { + e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) { + if (k !== 'default' && !(k in n)) { + var d = Object.getOwnPropertyDescriptor(e, k); + Object.defineProperty(n, k, d.get ? d : { + enumerable: true, + get: function () { return e[k]; } + }); + } + }); + }); + return Object.freeze(n); } var React__default = /*#__PURE__*/_interopDefaultLegacy(React); -var Remote__namespace = /*#__PURE__*/_interopNamespace(Remote); +var merge__default = /*#__PURE__*/_interopDefaultLegacy(merge); var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0$2); +var http__default = /*#__PURE__*/_interopDefaultLegacy(http$2); +var require$$2__default = /*#__PURE__*/_interopDefaultLegacy(require$$2$1); +var require$$3__default = /*#__PURE__*/_interopDefaultLegacy(require$$3); +var Stream__default = /*#__PURE__*/_interopDefaultLegacy(Stream); +var Url__default = /*#__PURE__*/_interopDefaultLegacy(Url); var require$$0__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$0$3); +var zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib$1); +var require$$0__default$2 = /*#__PURE__*/_interopDefaultLegacy(require$$0$4); +var require$$4__default = /*#__PURE__*/_interopDefaultLegacy(require$$4$1); +var require$$5__default = /*#__PURE__*/_interopDefaultLegacy(require$$5$1); +var require$$0__default$3 = /*#__PURE__*/_interopDefaultLegacy(require$$0$5); +var require$$8__default = /*#__PURE__*/_interopDefaultLegacy(require$$8); +var require$$8__namespace = /*#__PURE__*/_interopNamespace(require$$8); var TrezorConnect__default = /*#__PURE__*/_interopDefaultLegacy(TrezorConnect); +var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + +function getAugmentedNamespace(n) { + var f = n.default; + if (typeof f == "function") { + var a = function () { + return f.apply(this, arguments); + }; + a.prototype = f.prototype; + } else a = {}; + Object.defineProperty(a, '__esModule', {value: true}); + Object.keys(n).forEach(function (k) { + var d = Object.getOwnPropertyDescriptor(n, k); + Object.defineProperty(a, k, d.get ? d : { + enumerable: true, + get: function () { + return n[k]; + } + }); + }); + return a; +} + +var components = {}; + function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); @@ -455,13 +506,13 @@ function _asyncToGenerator(fn) { }; } -function _classCallCheck(instance, Constructor) { +function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } -function _defineProperties(target, props) { +function _defineProperties$1(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; @@ -471,9 +522,9 @@ function _defineProperties(target, props) { } } -function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); +function _createClass$1(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); + if (staticProps) _defineProperties$1(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); @@ -578,2191 +629,87747 @@ function _createSuper(Derived) { }; } -var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; +/* + Fabric Core Constants. + --- + Author: Fabric Labs + Copyright: All Rights Reserved. + */ -var name = "@network/playnet"; -var network = "testnet"; -var anchor = "BTC"; -var peers = [ - "02de546951cee477c90c36d38615a338123a7e1fe190f3c117b028f60359b5bc7e@hub.fabric.pub:7777", - "02512b88b368b43c93eeb725439df33fa6e30a2b40e22bba7844bc22f675afc76a@54.193.117.227:7777", - "02a1933ff21f2d588285f4dc759402e02ae2ad15840243ce79fbb213eaca2b3724@95.217.115.29:7777" -]; -var mode = "rpc"; -var servers = [ - "http://YOUR_USERNAME:YOUR_PASSWORD@localhost:18443" -]; -var currencies = [ - { - name: "BTCA", - symbol: "BTCA", - service: "btca" - }, - { - name: "BTCB", - symbol: "BTCB", - service: "btcb" - } -]; -var bitcoin = { - address: "bcrt1qr26ree4yhcnxsn7rdxj5hgwf6awz2jmwe8t9q6" -}; -var btca = { - name: "BTCA", - mode: "rpc", - servers: [ - "http://YOUR_USERNAME:YOUR_PASSWORD@localhost:18443" - ] -}; -var btcb = { - name: "BTCB", - mode: "rpc", - servers: [ - "http://YOUR_USERNAME:YOUR_PASSWORD@localhost:19443" - ] -}; -var key = { - seed: "letter drastic census knock shield matter crime demand gloom echo romance lizard zebra deliver baby key tackle fire update please sketch coconut balance able", - "public": "0223cffd5e94da3c8915c6b868f06d15183c1aeffad8ddf58fcb35a428e3158e71", - xprv: "xprv9s21ZrQH143K2jKS8iCu5QQg34zf7k5h1nfJZbuWQxDDSRmyLxt6BmJARp1SwfGtMAwPNEeQmUJpD5DosB4f3YxaJZiUS2wq6TzsNzFiEjJ", - xpub: "xpub661MyMwAqRbcFDPuEjjuSYMQb6q9XCoYP1auMzK7yHkCKE77tWCLjZceH4xFT1ZCc3FKpeMnii9JMLHp7n9dvDvz8MJ1CYge2digpGRjk7D" -}; -var require$$0$1 = { - name: name, - network: network, - anchor: anchor, - peers: peers, - mode: mode, - servers: servers, - currencies: currencies, - bitcoin: bitcoin, - btca: btca, - btcb: btcb, - key: key -}; +// Dependencies +const crypto$a = require$$0__default["default"]; -var playnet = require$$0$1; +// Networking and Environment +const PEER_PORT = 9999; +const MAX_PEERS = 32; +const PRECISION = 100; -var state = { - seed: null, - status: 'PAUSED', - balances: [{ - asset: 'Bitcoin', - symbol: 'BTC', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'Liquid BTC (LBTC)', - symbol: 'BTC', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'Shyft', - symbol: 'SHFT', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'Bitcoin (testnet)', - symbol: 'TBTC', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'Bitcoin (regtest)', - symbol: 'RBTC', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'BTC A', - symbol: 'BTCA', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'BTC B', - symbol: 'BTCB', - confirmed: 0, - type: 'confirmed' - }, { - asset: 'Lightning BTC', - symbol: 'BTC', - confirmed: 0.001, - type: 'outbound' - }, { - asset: 'Lightning BTC', - symbol: 'BTC', - confirmed: 0.001, - type: 'inbound' - }], - chains: [{ - name: 'Fabric (playnet)', - asset: 'PFAB', - tip: '???' - }, { - name: 'Bitcoin (mainnet)', - asset: 'BTC', - tip: '???', - genesis: '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f' - }, { - name: 'Bitcoin (regtest)', - asset: 'RBTC', - tip: '???' - }, { - name: 'Bitcoin (testnet)', - asset: 'TBTC', - tip: '???' - }, { - name: 'BTC A (regtest)', - asset: 'BTCA', - tip: '???' - }, { - name: 'BTC B (regtest)', - asset: 'BTCB', - tip: '???' - }, { - name: 'Ethereum (Ropsten)', - asset: 'ETHR', - tip: '???' - }], - channels: [], - keys: [], - http: { - host: 'localhost', - port: 8080, - secure: false - }, - identity: { - id: '', - seed: playnet.key.seed - }, - nodes: [ - /**/ - 'localhost:9977', // BTC ` /**/ - - /**/ - 'localhost:9978', // BTCA \___ /**/ - - /**/ - 'localhost:9979', // BTCB / }- Together these are the first 3 chains /**/\ - 'localhost:9980', // Liquid - 'localhost:9981' // Shyft - ], - orders: [], - peers: [{ - id: '???', - alias: 'NUEVO', - host: 'localhost', - port: '7777', - asset: 'BTC' - }], - transactions: [] -}; +// Fabric Core +const BITCOIN_GENESIS = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f'; +const BITCOIN_GENESIS_ROOT = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b'; +const FABRIC_KEY_DERIVATION_PATH$1 = "m/44'/0'/0'/0/0"; -var defaults = /*#__PURE__*/_mergeNamespaces({ - __proto__: null, - 'default': state -}, [state]); +// Message Constants +const MAGIC_BYTES$1 = 0xC0D3F33D; +const VERSION_NUMBER$1 = 0x00; // 0 for development, pre-alpha, 1 for production +const HEADER_SIZE$1 = 144; // [4], [4], [32], [4], [4], [32], [64] bytes +const LARGE_COLLECTION_SIZE = 10; // TODO: test with 1,000,000 +const MAX_MESSAGE_SIZE$1 = 4096 - HEADER_SIZE$1; -var lodash_merge = {exports: {}}; +// Stacks and Frames +const MAX_STACK_HEIGHT = 32; // max height of stack (number of elements) +const MAX_FRAME_SIZE = 32; // max size of a stack frame in bytes +const MAX_MEMORY_ALLOC = MAX_STACK_HEIGHT * MAX_FRAME_SIZE; +const MAX_TX_PER_BLOCK = 100; +const MAX_CHANNEL_VALUE = 100000000; -/** - * Lodash (Custom Build) - * Build: `lodash modularize exports="npm" -o ./` - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ +// Machine Constraints +const MACHINE_MAX_MEMORY = MAX_MEMORY_ALLOC * MAX_MESSAGE_SIZE$1; +const MAX_CHAT_MESSAGE_LENGTH = 2048; -(function (module, exports) { - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; - - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; - - /** Used to detect hot functions by number of calls within a span of milliseconds. */ - var HOT_COUNT = 800, - HOT_SPAN = 16; - - /** Used as references for various `Number` constants. */ - var MAX_SAFE_INTEGER = 9007199254740991; - - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - asyncTag = '[object AsyncFunction]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - mapTag = '[object Map]', - numberTag = '[object Number]', - nullTag = '[object Null]', - objectTag = '[object Object]', - proxyTag = '[object Proxy]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - undefinedTag = '[object Undefined]', - weakMapTag = '[object WeakMap]'; - - var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; +// FABRIC ONLY +const GENERIC_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericMessage').digest('hex').slice(0, 4), 16); +const LOG_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericLogMessage').digest('hex').slice(0, 4), 16); +const GENERIC_LIST_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericList').digest('hex').slice(0, 4), 16); +const DOCUMENT_PUBLISH_TYPE$1 = 998; +const DOCUMENT_REQUEST_TYPE$1 = 999; - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; +// Opcodes +const OP_CYCLE$1 = '00'; +const OP_DONE = 'ff'; - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; +// Bitcoin +const OP_0 = '00'; +const OP_36 = '24'; +const OP_CHECKSIG = 'ac'; +const OP_DUP = '76'; +const OP_EQUAL = '87'; +const OP_SHA256 = 'a8'; +const OP_HASH160 = 'a9'; +const OP_PUSHDATA1 = '4c'; +const OP_RETURN = '6a'; +const OP_EQUALVERIFY = '88'; +const OP_SEPARATOR = 'ab'; - /** Used to detect unsigned integer values. */ - var reIsUint = /^(?:0|[1-9]\d*)$/; +const P2P_GENERIC$1 = 0x80; // 128 in decimal +const P2P_IDENT_REQUEST$1 = 0x01; // 1, or the identity +const P2P_IDENT_RESPONSE$1 = 0x11; +const P2P_ROOT$1 = 0x00000000; +const P2P_PING$1 = 0x00000012; // same ID as Lightning (18) +const P2P_PONG$1 = 0x00000013; // same ID as Lightning (19) +const P2P_INSTRUCTION$1 = 0x00000020; // TODO: select w/ no overlap +const P2P_START_CHAIN$1 = 0x00000021; +const P2P_STATE_REQUEST$1 = 0x00000029; // TODO: select w/ no overlap +const P2P_STATE_ROOT$1 = 0x00000030; // TODO: select w/ no overlap +const P2P_BASE_MESSAGE$1 = 0x00000031; // TODO: select w/ no overlap +const P2P_STATE_COMMITTMENT$1 = 0x00000032; // TODO: select w/ no overlap +const P2P_STATE_CHANGE$1 = 0x00000033; // TODO: select w/ no overlap +const P2P_TRANSACTION$1 = 0x00000039; // TODO: select w/ no overlap +const P2P_CALL$2 = 0x00000042; +const P2P_CHAIN_SYNC_REQUEST$1 = 0x55; +const P2P_SESSION_ACK = 0x4200; +const P2P_MUSIG_START = 0x4220; +const P2P_MUSIG_ACCEPT = 0x4221; +const P2P_MUSIG_RECEIVE_COUNTER = 0x4222; +const P2P_MUSIG_SEND_PROPOSAL = 0x4223; +const P2P_MUSIG_REPLY_TO_PROPOSAL = 0x4224; +const P2P_MUSIG_ACCEPT_PROPOSAL = 0x4225; - /** Used to identify `toStringTag` values of typed arrays. */ - var typedArrayTags = {}; - typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = - typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = - typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = - typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = - typedArrayTags[uint32Tag] = true; - typedArrayTags[argsTag] = typedArrayTags[arrayTag] = - typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = - typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = - typedArrayTags[errorTag] = typedArrayTags[funcTag] = - typedArrayTags[mapTag] = typedArrayTags[numberTag] = - typedArrayTags[objectTag] = typedArrayTags[regexpTag] = - typedArrayTags[setTag] = typedArrayTags[stringTag] = - typedArrayTags[weakMapTag] = false; +const PEER_CANDIDATE$1 = 0x09; +// TODO: should be 0x02 for Bitcoin P2P +const BLOCK_CANDIDATE$1 = 0x03; - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal; +const SESSION_START$1 = 0x02; +const CHAT_MESSAGE$1 = 0x67; - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; +// Lightning +const LIGHTNING_TEST_HEADER = 'D0520C6E'; +const LIGHTNING_PROTOCOL_H_INIT = 'Noise_XK_secp256k1_ChaChaPoly_SHA256'; +const LIGHTNING_PROTOCOL_PROLOGUE = 'lightning'; - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); +// Lightning BMM +const LIGHTNING_BMM_HEADER = 'D0520C6E'; +const LIGHTNING_SIDECHAIN_NUM = 0xFF; // 1-byte - sidechain number - /** Detect free variable `exports`. */ - var freeExports = exports && !exports.nodeType && exports; +const LIGHTNING_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; // 32-bytes +const LIGHTNING_PARENT_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; // 32-bytes - /** Detect free variable `module`. */ - var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module; +const ZERO_LENGTH_PLAINTEXT = ''; - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; +var constants$1 = { + PEER_PORT, + MAX_PEERS, + PRECISION, + BITCOIN_GENESIS, + BITCOIN_GENESIS_ROOT, + FABRIC_KEY_DERIVATION_PATH: FABRIC_KEY_DERIVATION_PATH$1, + HEADER_SIZE: HEADER_SIZE$1, + GENERIC_MESSAGE_TYPE: GENERIC_MESSAGE_TYPE$1, + LOG_MESSAGE_TYPE: LOG_MESSAGE_TYPE$1, + GENERIC_LIST_TYPE: GENERIC_LIST_TYPE$1, + LARGE_COLLECTION_SIZE, + BLOCK_CANDIDATE: BLOCK_CANDIDATE$1, + CHAT_MESSAGE: CHAT_MESSAGE$1, + ZERO_LENGTH_PLAINTEXT, + LIGHTNING_TEST_HEADER, + LIGHTNING_PROTOCOL_H_INIT, + LIGHTNING_PROTOCOL_PROLOGUE, + LIGHTNING_BMM_HEADER, + LIGHTNING_SIDECHAIN_NUM, + LIGHTNING_SIDEBLOCK_HASH, + LIGHTNING_PARENT_SIDEBLOCK_HASH, + MAGIC_BYTES: MAGIC_BYTES$1, + MAX_FRAME_SIZE, + MAX_MEMORY_ALLOC, + MAX_MESSAGE_SIZE: MAX_MESSAGE_SIZE$1, + MAX_STACK_HEIGHT, + MAX_CHANNEL_VALUE, + MAX_CHAT_MESSAGE_LENGTH, + MAX_TX_PER_BLOCK, + MACHINE_MAX_MEMORY, + OP_CYCLE: OP_CYCLE$1, + OP_DONE, + OP_0, + OP_36, + OP_CHECKSIG, + OP_DUP, + OP_EQUAL, + OP_SHA256, + OP_HASH160, + OP_PUSHDATA1, + OP_RETURN, + OP_EQUALVERIFY, + OP_SEPARATOR, + P2P_GENERIC: P2P_GENERIC$1, + P2P_IDENT_REQUEST: P2P_IDENT_REQUEST$1, + P2P_IDENT_RESPONSE: P2P_IDENT_RESPONSE$1, + P2P_CHAIN_SYNC_REQUEST: P2P_CHAIN_SYNC_REQUEST$1, + P2P_ROOT: P2P_ROOT$1, + P2P_PING: P2P_PING$1, + P2P_PONG: P2P_PONG$1, + P2P_START_CHAIN: P2P_START_CHAIN$1, + P2P_INSTRUCTION: P2P_INSTRUCTION$1, + P2P_BASE_MESSAGE: P2P_BASE_MESSAGE$1, + P2P_STATE_ROOT: P2P_STATE_ROOT$1, + P2P_STATE_COMMITTMENT: P2P_STATE_COMMITTMENT$1, + P2P_STATE_CHANGE: P2P_STATE_CHANGE$1, + P2P_STATE_REQUEST: P2P_STATE_REQUEST$1, + P2P_TRANSACTION: P2P_TRANSACTION$1, + P2P_CALL: P2P_CALL$2, + P2P_SESSION_ACK, + P2P_MUSIG_START, + P2P_MUSIG_ACCEPT, + P2P_MUSIG_RECEIVE_COUNTER, + P2P_MUSIG_SEND_PROPOSAL, + P2P_MUSIG_REPLY_TO_PROPOSAL, + P2P_MUSIG_ACCEPT_PROPOSAL, + PEER_CANDIDATE: PEER_CANDIDATE$1, + DOCUMENT_PUBLISH_TYPE: DOCUMENT_PUBLISH_TYPE$1, + DOCUMENT_REQUEST_TYPE: DOCUMENT_REQUEST_TYPE$1, + SESSION_START: SESSION_START$1, + VERSION_NUMBER: VERSION_NUMBER$1 +}; - /** Detect free variable `process` from Node.js. */ - var freeProcess = moduleExports && freeGlobal.process; +var publicApi = {}; - /** Used to access faster Node.js helpers. */ - var nodeUtil = (function() { - try { - // Use `util.types` for Node.js 10+. - var types = freeModule && freeModule.require && freeModule.require('util').types; +var URL$2 = {exports: {}}; - if (types) { - return types; - } +var conversions = {}; +var lib$3 = conversions; - // Legacy `process.binding('util')` for Node.js < 10. - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} - }()); +function sign$1(x) { + return x < 0 ? -1 : 1; +} - /* Node.js helper references. */ - var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; +function evenRound(x) { + // Round x to the nearest integer, choosing the even integer if it lies halfway between two. + if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor) + return Math.floor(x); + } else { + return Math.round(x); + } +} - /** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ - function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); - } +function createNumberConversion(bitLength, typeOpts) { + if (!typeOpts.unsigned) { + --bitLength; + } + const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); + const upperBound = Math.pow(2, bitLength) - 1; - /** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ - function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); + const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); + const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); - while (++index < n) { - result[index] = iteratee(index); - } - return result; - } + return function(V, opts) { + if (!opts) opts = {}; - /** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ - function baseUnary(func) { - return function(value) { - return func(value); - }; - } + let x = +V; - /** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function getValue(object, key) { - return object == null ? undefined : object[key]; - } + if (opts.enforceRange) { + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite number"); + } - /** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; - } + x = sign$1(x) * Math.floor(Math.abs(x)); + if (x < lowerBound || x > upperBound) { + throw new TypeError("Argument is not in byte range"); + } - /** Used for built-in method references. */ - var arrayProto = Array.prototype, - funcProto = Function.prototype, - objectProto = Object.prototype; + return x; + } - /** Used to detect overreaching core-js shims. */ - var coreJsData = root['__core-js_shared__']; + if (!isNaN(x) && opts.clamp) { + x = evenRound(x); - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; + if (x < lowerBound) x = lowerBound; + if (x > upperBound) x = upperBound; + return x; + } - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; + if (!Number.isFinite(x) || x === 0) { + return 0; + } - /** Used to detect methods masquerading as native. */ - var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; - }()); + x = sign$1(x) * Math.floor(Math.abs(x)); + x = x % moduloVal; - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; + if (!typeOpts.unsigned && x >= moduloBound) { + return x - moduloVal; + } else if (typeOpts.unsigned) { + if (x < 0) { + x += moduloVal; + } else if (x === -0) { // don't return negative zero + return 0; + } + } - /** Used to infer the `Object` constructor. */ - var objectCtorString = funcToString.call(Object); + return x; + } +} - /** Used to detect if a method is native. */ - var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' - ); +conversions["void"] = function () { + return undefined; +}; - /** Built-in value references. */ - var Buffer = moduleExports ? root.Buffer : undefined, - Symbol = root.Symbol, - Uint8Array = root.Uint8Array, - allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined, - getPrototype = overArg(Object.getPrototypeOf, Object), - objectCreate = Object.create, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - splice = arrayProto.splice, - symToStringTag = Symbol ? Symbol.toStringTag : undefined; - - var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} - }()); +conversions["boolean"] = function (val) { + return !!val; +}; - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, - nativeMax = Math.max, - nativeNow = Date.now; +conversions["byte"] = createNumberConversion(8, { unsigned: false }); +conversions["octet"] = createNumberConversion(8, { unsigned: true }); - /* Built-in method references that are verified to be native. */ - var Map = getNative(root, 'Map'), - nativeCreate = getNative(Object, 'create'); +conversions["short"] = createNumberConversion(16, { unsigned: false }); +conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; - }()); +conversions["long"] = createNumberConversion(32, { unsigned: false }); +conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); - /** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } +conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); +conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); - /** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ - function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; - } +conversions["double"] = function (V) { + const x = +V; - /** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; - } + if (!Number.isFinite(x)) { + throw new TypeError("Argument is not a finite floating-point value"); + } - /** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; - } + return x; +}; - /** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); - } +conversions["unrestricted double"] = function (V) { + const x = +V; - /** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ - function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; - } + if (isNaN(x)) { + throw new TypeError("Argument is NaN"); + } - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype['delete'] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; + return x; +}; - /** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } +// not quite valid, but good enough for JS +conversions["float"] = conversions["double"]; +conversions["unrestricted float"] = conversions["unrestricted double"]; - /** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ - function listCacheClear() { - this.__data__ = []; - this.size = 0; - } +conversions["DOMString"] = function (V, opts) { + if (!opts) opts = {}; - /** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); + if (opts.treatNullAsEmptyString && V === null) { + return ""; + } - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; - } + return String(V); +}; - /** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); +conversions["ByteString"] = function (V, opts) { + const x = String(V); + let c = undefined; + for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) { + if (c > 255) { + throw new TypeError("Argument is not a valid bytestring"); + } + } - return index < 0 ? undefined : data[index][1]; - } + return x; +}; - /** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - } +conversions["USVString"] = function (V) { + const S = String(V); + const n = S.length; + const U = []; + for (let i = 0; i < n; ++i) { + const c = S.charCodeAt(i); + if (c < 0xD800 || c > 0xDFFF) { + U.push(String.fromCodePoint(c)); + } else if (0xDC00 <= c && c <= 0xDFFF) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + if (i === n - 1) { + U.push(String.fromCodePoint(0xFFFD)); + } else { + const d = S.charCodeAt(i + 1); + if (0xDC00 <= d && d <= 0xDFFF) { + const a = c & 0x3FF; + const b = d & 0x3FF; + U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b)); + ++i; + } else { + U.push(String.fromCodePoint(0xFFFD)); + } + } + } + } - /** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ - function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); + return U.join(''); +}; - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; - } +conversions["Date"] = function (V, opts) { + if (!(V instanceof Date)) { + throw new TypeError("Argument is not a Date object"); + } + if (isNaN(V)) { + return undefined; + } - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype['delete'] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; + return V; +}; - /** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } +conversions["RegExp"] = function (V, opts) { + if (!(V instanceof RegExp)) { + V = new RegExp(V); + } - /** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ - function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; - } + return V; +}; - /** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; - } +var utils$n = {exports: {}}; - /** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function mapCacheGet(key) { - return getMapData(this, key).get(key); - } +(function (module) { - /** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapCacheHas(key) { - return getMapData(this, key).has(key); - } + module.exports.mixin = function mixin(target, source) { + const keys = Object.getOwnPropertyNames(source); + for (let i = 0; i < keys.length; ++i) { + Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); + } + }; - /** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ - function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; + module.exports.wrapperSymbol = Symbol("wrapper"); + module.exports.implSymbol = Symbol("impl"); - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; - } + module.exports.wrapperForImpl = function (impl) { + return impl[module.exports.wrapperSymbol]; + }; - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype['delete'] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; + module.exports.implForWrapper = function (wrapper) { + return wrapper[module.exports.implSymbol]; + }; +} (utils$n)); - /** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; - } +var URLImpl = {}; - /** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ - function stackClear() { - this.__data__ = new ListCache; - this.size = 0; - } +var urlStateMachine = {exports: {}}; - /** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); +var tr46 = {}; - this.size = data.size; - return result; - } +var require$$1$1 = [ + [ + [ + 0, + 44 + ], + "disallowed_STD3_valid" + ], + [ + [ + 45, + 46 + ], + "valid" + ], + [ + [ + 47, + 47 + ], + "disallowed_STD3_valid" + ], + [ + [ + 48, + 57 + ], + "valid" + ], + [ + [ + 58, + 64 + ], + "disallowed_STD3_valid" + ], + [ + [ + 65, + 65 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 66, + 66 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 67, + 67 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 68, + 68 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 69, + 69 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 70, + 70 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 71, + 71 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 72, + 72 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 73, + 73 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 74, + 74 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 75, + 75 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 76, + 76 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 77, + 77 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 78, + 78 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 79, + 79 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 80, + 80 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 81, + 81 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 82, + 82 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 83, + 83 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 84, + 84 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 85, + 85 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 86, + 86 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 87, + 87 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 88, + 88 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 89, + 89 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 90, + 90 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 91, + 96 + ], + "disallowed_STD3_valid" + ], + [ + [ + 97, + 122 + ], + "valid" + ], + [ + [ + 123, + 127 + ], + "disallowed_STD3_valid" + ], + [ + [ + 128, + 159 + ], + "disallowed" + ], + [ + [ + 160, + 160 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 161, + 167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 168, + 168 + ], + "disallowed_STD3_mapped", + [ + 32, + 776 + ] + ], + [ + [ + 169, + 169 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 170, + 170 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 171, + 172 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 173, + 173 + ], + "ignored" + ], + [ + [ + 174, + 174 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 175, + 175 + ], + "disallowed_STD3_mapped", + [ + 32, + 772 + ] + ], + [ + [ + 176, + 177 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 178, + 178 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 179, + 179 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 180, + 180 + ], + "disallowed_STD3_mapped", + [ + 32, + 769 + ] + ], + [ + [ + 181, + 181 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 182, + 182 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 183, + 183 + ], + "valid" + ], + [ + [ + 184, + 184 + ], + "disallowed_STD3_mapped", + [ + 32, + 807 + ] + ], + [ + [ + 185, + 185 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 186, + 186 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 187, + 187 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 188, + 188 + ], + "mapped", + [ + 49, + 8260, + 52 + ] + ], + [ + [ + 189, + 189 + ], + "mapped", + [ + 49, + 8260, + 50 + ] + ], + [ + [ + 190, + 190 + ], + "mapped", + [ + 51, + 8260, + 52 + ] + ], + [ + [ + 191, + 191 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 192, + 192 + ], + "mapped", + [ + 224 + ] + ], + [ + [ + 193, + 193 + ], + "mapped", + [ + 225 + ] + ], + [ + [ + 194, + 194 + ], + "mapped", + [ + 226 + ] + ], + [ + [ + 195, + 195 + ], + "mapped", + [ + 227 + ] + ], + [ + [ + 196, + 196 + ], + "mapped", + [ + 228 + ] + ], + [ + [ + 197, + 197 + ], + "mapped", + [ + 229 + ] + ], + [ + [ + 198, + 198 + ], + "mapped", + [ + 230 + ] + ], + [ + [ + 199, + 199 + ], + "mapped", + [ + 231 + ] + ], + [ + [ + 200, + 200 + ], + "mapped", + [ + 232 + ] + ], + [ + [ + 201, + 201 + ], + "mapped", + [ + 233 + ] + ], + [ + [ + 202, + 202 + ], + "mapped", + [ + 234 + ] + ], + [ + [ + 203, + 203 + ], + "mapped", + [ + 235 + ] + ], + [ + [ + 204, + 204 + ], + "mapped", + [ + 236 + ] + ], + [ + [ + 205, + 205 + ], + "mapped", + [ + 237 + ] + ], + [ + [ + 206, + 206 + ], + "mapped", + [ + 238 + ] + ], + [ + [ + 207, + 207 + ], + "mapped", + [ + 239 + ] + ], + [ + [ + 208, + 208 + ], + "mapped", + [ + 240 + ] + ], + [ + [ + 209, + 209 + ], + "mapped", + [ + 241 + ] + ], + [ + [ + 210, + 210 + ], + "mapped", + [ + 242 + ] + ], + [ + [ + 211, + 211 + ], + "mapped", + [ + 243 + ] + ], + [ + [ + 212, + 212 + ], + "mapped", + [ + 244 + ] + ], + [ + [ + 213, + 213 + ], + "mapped", + [ + 245 + ] + ], + [ + [ + 214, + 214 + ], + "mapped", + [ + 246 + ] + ], + [ + [ + 215, + 215 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 216, + 216 + ], + "mapped", + [ + 248 + ] + ], + [ + [ + 217, + 217 + ], + "mapped", + [ + 249 + ] + ], + [ + [ + 218, + 218 + ], + "mapped", + [ + 250 + ] + ], + [ + [ + 219, + 219 + ], + "mapped", + [ + 251 + ] + ], + [ + [ + 220, + 220 + ], + "mapped", + [ + 252 + ] + ], + [ + [ + 221, + 221 + ], + "mapped", + [ + 253 + ] + ], + [ + [ + 222, + 222 + ], + "mapped", + [ + 254 + ] + ], + [ + [ + 223, + 223 + ], + "deviation", + [ + 115, + 115 + ] + ], + [ + [ + 224, + 246 + ], + "valid" + ], + [ + [ + 247, + 247 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 248, + 255 + ], + "valid" + ], + [ + [ + 256, + 256 + ], + "mapped", + [ + 257 + ] + ], + [ + [ + 257, + 257 + ], + "valid" + ], + [ + [ + 258, + 258 + ], + "mapped", + [ + 259 + ] + ], + [ + [ + 259, + 259 + ], + "valid" + ], + [ + [ + 260, + 260 + ], + "mapped", + [ + 261 + ] + ], + [ + [ + 261, + 261 + ], + "valid" + ], + [ + [ + 262, + 262 + ], + "mapped", + [ + 263 + ] + ], + [ + [ + 263, + 263 + ], + "valid" + ], + [ + [ + 264, + 264 + ], + "mapped", + [ + 265 + ] + ], + [ + [ + 265, + 265 + ], + "valid" + ], + [ + [ + 266, + 266 + ], + "mapped", + [ + 267 + ] + ], + [ + [ + 267, + 267 + ], + "valid" + ], + [ + [ + 268, + 268 + ], + "mapped", + [ + 269 + ] + ], + [ + [ + 269, + 269 + ], + "valid" + ], + [ + [ + 270, + 270 + ], + "mapped", + [ + 271 + ] + ], + [ + [ + 271, + 271 + ], + "valid" + ], + [ + [ + 272, + 272 + ], + "mapped", + [ + 273 + ] + ], + [ + [ + 273, + 273 + ], + "valid" + ], + [ + [ + 274, + 274 + ], + "mapped", + [ + 275 + ] + ], + [ + [ + 275, + 275 + ], + "valid" + ], + [ + [ + 276, + 276 + ], + "mapped", + [ + 277 + ] + ], + [ + [ + 277, + 277 + ], + "valid" + ], + [ + [ + 278, + 278 + ], + "mapped", + [ + 279 + ] + ], + [ + [ + 279, + 279 + ], + "valid" + ], + [ + [ + 280, + 280 + ], + "mapped", + [ + 281 + ] + ], + [ + [ + 281, + 281 + ], + "valid" + ], + [ + [ + 282, + 282 + ], + "mapped", + [ + 283 + ] + ], + [ + [ + 283, + 283 + ], + "valid" + ], + [ + [ + 284, + 284 + ], + "mapped", + [ + 285 + ] + ], + [ + [ + 285, + 285 + ], + "valid" + ], + [ + [ + 286, + 286 + ], + "mapped", + [ + 287 + ] + ], + [ + [ + 287, + 287 + ], + "valid" + ], + [ + [ + 288, + 288 + ], + "mapped", + [ + 289 + ] + ], + [ + [ + 289, + 289 + ], + "valid" + ], + [ + [ + 290, + 290 + ], + "mapped", + [ + 291 + ] + ], + [ + [ + 291, + 291 + ], + "valid" + ], + [ + [ + 292, + 292 + ], + "mapped", + [ + 293 + ] + ], + [ + [ + 293, + 293 + ], + "valid" + ], + [ + [ + 294, + 294 + ], + "mapped", + [ + 295 + ] + ], + [ + [ + 295, + 295 + ], + "valid" + ], + [ + [ + 296, + 296 + ], + "mapped", + [ + 297 + ] + ], + [ + [ + 297, + 297 + ], + "valid" + ], + [ + [ + 298, + 298 + ], + "mapped", + [ + 299 + ] + ], + [ + [ + 299, + 299 + ], + "valid" + ], + [ + [ + 300, + 300 + ], + "mapped", + [ + 301 + ] + ], + [ + [ + 301, + 301 + ], + "valid" + ], + [ + [ + 302, + 302 + ], + "mapped", + [ + 303 + ] + ], + [ + [ + 303, + 303 + ], + "valid" + ], + [ + [ + 304, + 304 + ], + "mapped", + [ + 105, + 775 + ] + ], + [ + [ + 305, + 305 + ], + "valid" + ], + [ + [ + 306, + 307 + ], + "mapped", + [ + 105, + 106 + ] + ], + [ + [ + 308, + 308 + ], + "mapped", + [ + 309 + ] + ], + [ + [ + 309, + 309 + ], + "valid" + ], + [ + [ + 310, + 310 + ], + "mapped", + [ + 311 + ] + ], + [ + [ + 311, + 312 + ], + "valid" + ], + [ + [ + 313, + 313 + ], + "mapped", + [ + 314 + ] + ], + [ + [ + 314, + 314 + ], + "valid" + ], + [ + [ + 315, + 315 + ], + "mapped", + [ + 316 + ] + ], + [ + [ + 316, + 316 + ], + "valid" + ], + [ + [ + 317, + 317 + ], + "mapped", + [ + 318 + ] + ], + [ + [ + 318, + 318 + ], + "valid" + ], + [ + [ + 319, + 320 + ], + "mapped", + [ + 108, + 183 + ] + ], + [ + [ + 321, + 321 + ], + "mapped", + [ + 322 + ] + ], + [ + [ + 322, + 322 + ], + "valid" + ], + [ + [ + 323, + 323 + ], + "mapped", + [ + 324 + ] + ], + [ + [ + 324, + 324 + ], + "valid" + ], + [ + [ + 325, + 325 + ], + "mapped", + [ + 326 + ] + ], + [ + [ + 326, + 326 + ], + "valid" + ], + [ + [ + 327, + 327 + ], + "mapped", + [ + 328 + ] + ], + [ + [ + 328, + 328 + ], + "valid" + ], + [ + [ + 329, + 329 + ], + "mapped", + [ + 700, + 110 + ] + ], + [ + [ + 330, + 330 + ], + "mapped", + [ + 331 + ] + ], + [ + [ + 331, + 331 + ], + "valid" + ], + [ + [ + 332, + 332 + ], + "mapped", + [ + 333 + ] + ], + [ + [ + 333, + 333 + ], + "valid" + ], + [ + [ + 334, + 334 + ], + "mapped", + [ + 335 + ] + ], + [ + [ + 335, + 335 + ], + "valid" + ], + [ + [ + 336, + 336 + ], + "mapped", + [ + 337 + ] + ], + [ + [ + 337, + 337 + ], + "valid" + ], + [ + [ + 338, + 338 + ], + "mapped", + [ + 339 + ] + ], + [ + [ + 339, + 339 + ], + "valid" + ], + [ + [ + 340, + 340 + ], + "mapped", + [ + 341 + ] + ], + [ + [ + 341, + 341 + ], + "valid" + ], + [ + [ + 342, + 342 + ], + "mapped", + [ + 343 + ] + ], + [ + [ + 343, + 343 + ], + "valid" + ], + [ + [ + 344, + 344 + ], + "mapped", + [ + 345 + ] + ], + [ + [ + 345, + 345 + ], + "valid" + ], + [ + [ + 346, + 346 + ], + "mapped", + [ + 347 + ] + ], + [ + [ + 347, + 347 + ], + "valid" + ], + [ + [ + 348, + 348 + ], + "mapped", + [ + 349 + ] + ], + [ + [ + 349, + 349 + ], + "valid" + ], + [ + [ + 350, + 350 + ], + "mapped", + [ + 351 + ] + ], + [ + [ + 351, + 351 + ], + "valid" + ], + [ + [ + 352, + 352 + ], + "mapped", + [ + 353 + ] + ], + [ + [ + 353, + 353 + ], + "valid" + ], + [ + [ + 354, + 354 + ], + "mapped", + [ + 355 + ] + ], + [ + [ + 355, + 355 + ], + "valid" + ], + [ + [ + 356, + 356 + ], + "mapped", + [ + 357 + ] + ], + [ + [ + 357, + 357 + ], + "valid" + ], + [ + [ + 358, + 358 + ], + "mapped", + [ + 359 + ] + ], + [ + [ + 359, + 359 + ], + "valid" + ], + [ + [ + 360, + 360 + ], + "mapped", + [ + 361 + ] + ], + [ + [ + 361, + 361 + ], + "valid" + ], + [ + [ + 362, + 362 + ], + "mapped", + [ + 363 + ] + ], + [ + [ + 363, + 363 + ], + "valid" + ], + [ + [ + 364, + 364 + ], + "mapped", + [ + 365 + ] + ], + [ + [ + 365, + 365 + ], + "valid" + ], + [ + [ + 366, + 366 + ], + "mapped", + [ + 367 + ] + ], + [ + [ + 367, + 367 + ], + "valid" + ], + [ + [ + 368, + 368 + ], + "mapped", + [ + 369 + ] + ], + [ + [ + 369, + 369 + ], + "valid" + ], + [ + [ + 370, + 370 + ], + "mapped", + [ + 371 + ] + ], + [ + [ + 371, + 371 + ], + "valid" + ], + [ + [ + 372, + 372 + ], + "mapped", + [ + 373 + ] + ], + [ + [ + 373, + 373 + ], + "valid" + ], + [ + [ + 374, + 374 + ], + "mapped", + [ + 375 + ] + ], + [ + [ + 375, + 375 + ], + "valid" + ], + [ + [ + 376, + 376 + ], + "mapped", + [ + 255 + ] + ], + [ + [ + 377, + 377 + ], + "mapped", + [ + 378 + ] + ], + [ + [ + 378, + 378 + ], + "valid" + ], + [ + [ + 379, + 379 + ], + "mapped", + [ + 380 + ] + ], + [ + [ + 380, + 380 + ], + "valid" + ], + [ + [ + 381, + 381 + ], + "mapped", + [ + 382 + ] + ], + [ + [ + 382, + 382 + ], + "valid" + ], + [ + [ + 383, + 383 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 384, + 384 + ], + "valid" + ], + [ + [ + 385, + 385 + ], + "mapped", + [ + 595 + ] + ], + [ + [ + 386, + 386 + ], + "mapped", + [ + 387 + ] + ], + [ + [ + 387, + 387 + ], + "valid" + ], + [ + [ + 388, + 388 + ], + "mapped", + [ + 389 + ] + ], + [ + [ + 389, + 389 + ], + "valid" + ], + [ + [ + 390, + 390 + ], + "mapped", + [ + 596 + ] + ], + [ + [ + 391, + 391 + ], + "mapped", + [ + 392 + ] + ], + [ + [ + 392, + 392 + ], + "valid" + ], + [ + [ + 393, + 393 + ], + "mapped", + [ + 598 + ] + ], + [ + [ + 394, + 394 + ], + "mapped", + [ + 599 + ] + ], + [ + [ + 395, + 395 + ], + "mapped", + [ + 396 + ] + ], + [ + [ + 396, + 397 + ], + "valid" + ], + [ + [ + 398, + 398 + ], + "mapped", + [ + 477 + ] + ], + [ + [ + 399, + 399 + ], + "mapped", + [ + 601 + ] + ], + [ + [ + 400, + 400 + ], + "mapped", + [ + 603 + ] + ], + [ + [ + 401, + 401 + ], + "mapped", + [ + 402 + ] + ], + [ + [ + 402, + 402 + ], + "valid" + ], + [ + [ + 403, + 403 + ], + "mapped", + [ + 608 + ] + ], + [ + [ + 404, + 404 + ], + "mapped", + [ + 611 + ] + ], + [ + [ + 405, + 405 + ], + "valid" + ], + [ + [ + 406, + 406 + ], + "mapped", + [ + 617 + ] + ], + [ + [ + 407, + 407 + ], + "mapped", + [ + 616 + ] + ], + [ + [ + 408, + 408 + ], + "mapped", + [ + 409 + ] + ], + [ + [ + 409, + 411 + ], + "valid" + ], + [ + [ + 412, + 412 + ], + "mapped", + [ + 623 + ] + ], + [ + [ + 413, + 413 + ], + "mapped", + [ + 626 + ] + ], + [ + [ + 414, + 414 + ], + "valid" + ], + [ + [ + 415, + 415 + ], + "mapped", + [ + 629 + ] + ], + [ + [ + 416, + 416 + ], + "mapped", + [ + 417 + ] + ], + [ + [ + 417, + 417 + ], + "valid" + ], + [ + [ + 418, + 418 + ], + "mapped", + [ + 419 + ] + ], + [ + [ + 419, + 419 + ], + "valid" + ], + [ + [ + 420, + 420 + ], + "mapped", + [ + 421 + ] + ], + [ + [ + 421, + 421 + ], + "valid" + ], + [ + [ + 422, + 422 + ], + "mapped", + [ + 640 + ] + ], + [ + [ + 423, + 423 + ], + "mapped", + [ + 424 + ] + ], + [ + [ + 424, + 424 + ], + "valid" + ], + [ + [ + 425, + 425 + ], + "mapped", + [ + 643 + ] + ], + [ + [ + 426, + 427 + ], + "valid" + ], + [ + [ + 428, + 428 + ], + "mapped", + [ + 429 + ] + ], + [ + [ + 429, + 429 + ], + "valid" + ], + [ + [ + 430, + 430 + ], + "mapped", + [ + 648 + ] + ], + [ + [ + 431, + 431 + ], + "mapped", + [ + 432 + ] + ], + [ + [ + 432, + 432 + ], + "valid" + ], + [ + [ + 433, + 433 + ], + "mapped", + [ + 650 + ] + ], + [ + [ + 434, + 434 + ], + "mapped", + [ + 651 + ] + ], + [ + [ + 435, + 435 + ], + "mapped", + [ + 436 + ] + ], + [ + [ + 436, + 436 + ], + "valid" + ], + [ + [ + 437, + 437 + ], + "mapped", + [ + 438 + ] + ], + [ + [ + 438, + 438 + ], + "valid" + ], + [ + [ + 439, + 439 + ], + "mapped", + [ + 658 + ] + ], + [ + [ + 440, + 440 + ], + "mapped", + [ + 441 + ] + ], + [ + [ + 441, + 443 + ], + "valid" + ], + [ + [ + 444, + 444 + ], + "mapped", + [ + 445 + ] + ], + [ + [ + 445, + 451 + ], + "valid" + ], + [ + [ + 452, + 454 + ], + "mapped", + [ + 100, + 382 + ] + ], + [ + [ + 455, + 457 + ], + "mapped", + [ + 108, + 106 + ] + ], + [ + [ + 458, + 460 + ], + "mapped", + [ + 110, + 106 + ] + ], + [ + [ + 461, + 461 + ], + "mapped", + [ + 462 + ] + ], + [ + [ + 462, + 462 + ], + "valid" + ], + [ + [ + 463, + 463 + ], + "mapped", + [ + 464 + ] + ], + [ + [ + 464, + 464 + ], + "valid" + ], + [ + [ + 465, + 465 + ], + "mapped", + [ + 466 + ] + ], + [ + [ + 466, + 466 + ], + "valid" + ], + [ + [ + 467, + 467 + ], + "mapped", + [ + 468 + ] + ], + [ + [ + 468, + 468 + ], + "valid" + ], + [ + [ + 469, + 469 + ], + "mapped", + [ + 470 + ] + ], + [ + [ + 470, + 470 + ], + "valid" + ], + [ + [ + 471, + 471 + ], + "mapped", + [ + 472 + ] + ], + [ + [ + 472, + 472 + ], + "valid" + ], + [ + [ + 473, + 473 + ], + "mapped", + [ + 474 + ] + ], + [ + [ + 474, + 474 + ], + "valid" + ], + [ + [ + 475, + 475 + ], + "mapped", + [ + 476 + ] + ], + [ + [ + 476, + 477 + ], + "valid" + ], + [ + [ + 478, + 478 + ], + "mapped", + [ + 479 + ] + ], + [ + [ + 479, + 479 + ], + "valid" + ], + [ + [ + 480, + 480 + ], + "mapped", + [ + 481 + ] + ], + [ + [ + 481, + 481 + ], + "valid" + ], + [ + [ + 482, + 482 + ], + "mapped", + [ + 483 + ] + ], + [ + [ + 483, + 483 + ], + "valid" + ], + [ + [ + 484, + 484 + ], + "mapped", + [ + 485 + ] + ], + [ + [ + 485, + 485 + ], + "valid" + ], + [ + [ + 486, + 486 + ], + "mapped", + [ + 487 + ] + ], + [ + [ + 487, + 487 + ], + "valid" + ], + [ + [ + 488, + 488 + ], + "mapped", + [ + 489 + ] + ], + [ + [ + 489, + 489 + ], + "valid" + ], + [ + [ + 490, + 490 + ], + "mapped", + [ + 491 + ] + ], + [ + [ + 491, + 491 + ], + "valid" + ], + [ + [ + 492, + 492 + ], + "mapped", + [ + 493 + ] + ], + [ + [ + 493, + 493 + ], + "valid" + ], + [ + [ + 494, + 494 + ], + "mapped", + [ + 495 + ] + ], + [ + [ + 495, + 496 + ], + "valid" + ], + [ + [ + 497, + 499 + ], + "mapped", + [ + 100, + 122 + ] + ], + [ + [ + 500, + 500 + ], + "mapped", + [ + 501 + ] + ], + [ + [ + 501, + 501 + ], + "valid" + ], + [ + [ + 502, + 502 + ], + "mapped", + [ + 405 + ] + ], + [ + [ + 503, + 503 + ], + "mapped", + [ + 447 + ] + ], + [ + [ + 504, + 504 + ], + "mapped", + [ + 505 + ] + ], + [ + [ + 505, + 505 + ], + "valid" + ], + [ + [ + 506, + 506 + ], + "mapped", + [ + 507 + ] + ], + [ + [ + 507, + 507 + ], + "valid" + ], + [ + [ + 508, + 508 + ], + "mapped", + [ + 509 + ] + ], + [ + [ + 509, + 509 + ], + "valid" + ], + [ + [ + 510, + 510 + ], + "mapped", + [ + 511 + ] + ], + [ + [ + 511, + 511 + ], + "valid" + ], + [ + [ + 512, + 512 + ], + "mapped", + [ + 513 + ] + ], + [ + [ + 513, + 513 + ], + "valid" + ], + [ + [ + 514, + 514 + ], + "mapped", + [ + 515 + ] + ], + [ + [ + 515, + 515 + ], + "valid" + ], + [ + [ + 516, + 516 + ], + "mapped", + [ + 517 + ] + ], + [ + [ + 517, + 517 + ], + "valid" + ], + [ + [ + 518, + 518 + ], + "mapped", + [ + 519 + ] + ], + [ + [ + 519, + 519 + ], + "valid" + ], + [ + [ + 520, + 520 + ], + "mapped", + [ + 521 + ] + ], + [ + [ + 521, + 521 + ], + "valid" + ], + [ + [ + 522, + 522 + ], + "mapped", + [ + 523 + ] + ], + [ + [ + 523, + 523 + ], + "valid" + ], + [ + [ + 524, + 524 + ], + "mapped", + [ + 525 + ] + ], + [ + [ + 525, + 525 + ], + "valid" + ], + [ + [ + 526, + 526 + ], + "mapped", + [ + 527 + ] + ], + [ + [ + 527, + 527 + ], + "valid" + ], + [ + [ + 528, + 528 + ], + "mapped", + [ + 529 + ] + ], + [ + [ + 529, + 529 + ], + "valid" + ], + [ + [ + 530, + 530 + ], + "mapped", + [ + 531 + ] + ], + [ + [ + 531, + 531 + ], + "valid" + ], + [ + [ + 532, + 532 + ], + "mapped", + [ + 533 + ] + ], + [ + [ + 533, + 533 + ], + "valid" + ], + [ + [ + 534, + 534 + ], + "mapped", + [ + 535 + ] + ], + [ + [ + 535, + 535 + ], + "valid" + ], + [ + [ + 536, + 536 + ], + "mapped", + [ + 537 + ] + ], + [ + [ + 537, + 537 + ], + "valid" + ], + [ + [ + 538, + 538 + ], + "mapped", + [ + 539 + ] + ], + [ + [ + 539, + 539 + ], + "valid" + ], + [ + [ + 540, + 540 + ], + "mapped", + [ + 541 + ] + ], + [ + [ + 541, + 541 + ], + "valid" + ], + [ + [ + 542, + 542 + ], + "mapped", + [ + 543 + ] + ], + [ + [ + 543, + 543 + ], + "valid" + ], + [ + [ + 544, + 544 + ], + "mapped", + [ + 414 + ] + ], + [ + [ + 545, + 545 + ], + "valid" + ], + [ + [ + 546, + 546 + ], + "mapped", + [ + 547 + ] + ], + [ + [ + 547, + 547 + ], + "valid" + ], + [ + [ + 548, + 548 + ], + "mapped", + [ + 549 + ] + ], + [ + [ + 549, + 549 + ], + "valid" + ], + [ + [ + 550, + 550 + ], + "mapped", + [ + 551 + ] + ], + [ + [ + 551, + 551 + ], + "valid" + ], + [ + [ + 552, + 552 + ], + "mapped", + [ + 553 + ] + ], + [ + [ + 553, + 553 + ], + "valid" + ], + [ + [ + 554, + 554 + ], + "mapped", + [ + 555 + ] + ], + [ + [ + 555, + 555 + ], + "valid" + ], + [ + [ + 556, + 556 + ], + "mapped", + [ + 557 + ] + ], + [ + [ + 557, + 557 + ], + "valid" + ], + [ + [ + 558, + 558 + ], + "mapped", + [ + 559 + ] + ], + [ + [ + 559, + 559 + ], + "valid" + ], + [ + [ + 560, + 560 + ], + "mapped", + [ + 561 + ] + ], + [ + [ + 561, + 561 + ], + "valid" + ], + [ + [ + 562, + 562 + ], + "mapped", + [ + 563 + ] + ], + [ + [ + 563, + 563 + ], + "valid" + ], + [ + [ + 564, + 566 + ], + "valid" + ], + [ + [ + 567, + 569 + ], + "valid" + ], + [ + [ + 570, + 570 + ], + "mapped", + [ + 11365 + ] + ], + [ + [ + 571, + 571 + ], + "mapped", + [ + 572 + ] + ], + [ + [ + 572, + 572 + ], + "valid" + ], + [ + [ + 573, + 573 + ], + "mapped", + [ + 410 + ] + ], + [ + [ + 574, + 574 + ], + "mapped", + [ + 11366 + ] + ], + [ + [ + 575, + 576 + ], + "valid" + ], + [ + [ + 577, + 577 + ], + "mapped", + [ + 578 + ] + ], + [ + [ + 578, + 578 + ], + "valid" + ], + [ + [ + 579, + 579 + ], + "mapped", + [ + 384 + ] + ], + [ + [ + 580, + 580 + ], + "mapped", + [ + 649 + ] + ], + [ + [ + 581, + 581 + ], + "mapped", + [ + 652 + ] + ], + [ + [ + 582, + 582 + ], + "mapped", + [ + 583 + ] + ], + [ + [ + 583, + 583 + ], + "valid" + ], + [ + [ + 584, + 584 + ], + "mapped", + [ + 585 + ] + ], + [ + [ + 585, + 585 + ], + "valid" + ], + [ + [ + 586, + 586 + ], + "mapped", + [ + 587 + ] + ], + [ + [ + 587, + 587 + ], + "valid" + ], + [ + [ + 588, + 588 + ], + "mapped", + [ + 589 + ] + ], + [ + [ + 589, + 589 + ], + "valid" + ], + [ + [ + 590, + 590 + ], + "mapped", + [ + 591 + ] + ], + [ + [ + 591, + 591 + ], + "valid" + ], + [ + [ + 592, + 680 + ], + "valid" + ], + [ + [ + 681, + 685 + ], + "valid" + ], + [ + [ + 686, + 687 + ], + "valid" + ], + [ + [ + 688, + 688 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 689, + 689 + ], + "mapped", + [ + 614 + ] + ], + [ + [ + 690, + 690 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 691, + 691 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 692, + 692 + ], + "mapped", + [ + 633 + ] + ], + [ + [ + 693, + 693 + ], + "mapped", + [ + 635 + ] + ], + [ + [ + 694, + 694 + ], + "mapped", + [ + 641 + ] + ], + [ + [ + 695, + 695 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 696, + 696 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 697, + 705 + ], + "valid" + ], + [ + [ + 706, + 709 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 710, + 721 + ], + "valid" + ], + [ + [ + 722, + 727 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 728, + 728 + ], + "disallowed_STD3_mapped", + [ + 32, + 774 + ] + ], + [ + [ + 729, + 729 + ], + "disallowed_STD3_mapped", + [ + 32, + 775 + ] + ], + [ + [ + 730, + 730 + ], + "disallowed_STD3_mapped", + [ + 32, + 778 + ] + ], + [ + [ + 731, + 731 + ], + "disallowed_STD3_mapped", + [ + 32, + 808 + ] + ], + [ + [ + 732, + 732 + ], + "disallowed_STD3_mapped", + [ + 32, + 771 + ] + ], + [ + [ + 733, + 733 + ], + "disallowed_STD3_mapped", + [ + 32, + 779 + ] + ], + [ + [ + 734, + 734 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 735, + 735 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 736, + 736 + ], + "mapped", + [ + 611 + ] + ], + [ + [ + 737, + 737 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 738, + 738 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 739, + 739 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 740, + 740 + ], + "mapped", + [ + 661 + ] + ], + [ + [ + 741, + 745 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 746, + 747 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 748, + 748 + ], + "valid" + ], + [ + [ + 749, + 749 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 750, + 750 + ], + "valid" + ], + [ + [ + 751, + 767 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 768, + 831 + ], + "valid" + ], + [ + [ + 832, + 832 + ], + "mapped", + [ + 768 + ] + ], + [ + [ + 833, + 833 + ], + "mapped", + [ + 769 + ] + ], + [ + [ + 834, + 834 + ], + "valid" + ], + [ + [ + 835, + 835 + ], + "mapped", + [ + 787 + ] + ], + [ + [ + 836, + 836 + ], + "mapped", + [ + 776, + 769 + ] + ], + [ + [ + 837, + 837 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 838, + 846 + ], + "valid" + ], + [ + [ + 847, + 847 + ], + "ignored" + ], + [ + [ + 848, + 855 + ], + "valid" + ], + [ + [ + 856, + 860 + ], + "valid" + ], + [ + [ + 861, + 863 + ], + "valid" + ], + [ + [ + 864, + 865 + ], + "valid" + ], + [ + [ + 866, + 866 + ], + "valid" + ], + [ + [ + 867, + 879 + ], + "valid" + ], + [ + [ + 880, + 880 + ], + "mapped", + [ + 881 + ] + ], + [ + [ + 881, + 881 + ], + "valid" + ], + [ + [ + 882, + 882 + ], + "mapped", + [ + 883 + ] + ], + [ + [ + 883, + 883 + ], + "valid" + ], + [ + [ + 884, + 884 + ], + "mapped", + [ + 697 + ] + ], + [ + [ + 885, + 885 + ], + "valid" + ], + [ + [ + 886, + 886 + ], + "mapped", + [ + 887 + ] + ], + [ + [ + 887, + 887 + ], + "valid" + ], + [ + [ + 888, + 889 + ], + "disallowed" + ], + [ + [ + 890, + 890 + ], + "disallowed_STD3_mapped", + [ + 32, + 953 + ] + ], + [ + [ + 891, + 893 + ], + "valid" + ], + [ + [ + 894, + 894 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 895, + 895 + ], + "mapped", + [ + 1011 + ] + ], + [ + [ + 896, + 899 + ], + "disallowed" + ], + [ + [ + 900, + 900 + ], + "disallowed_STD3_mapped", + [ + 32, + 769 + ] + ], + [ + [ + 901, + 901 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 769 + ] + ], + [ + [ + 902, + 902 + ], + "mapped", + [ + 940 + ] + ], + [ + [ + 903, + 903 + ], + "mapped", + [ + 183 + ] + ], + [ + [ + 904, + 904 + ], + "mapped", + [ + 941 + ] + ], + [ + [ + 905, + 905 + ], + "mapped", + [ + 942 + ] + ], + [ + [ + 906, + 906 + ], + "mapped", + [ + 943 + ] + ], + [ + [ + 907, + 907 + ], + "disallowed" + ], + [ + [ + 908, + 908 + ], + "mapped", + [ + 972 + ] + ], + [ + [ + 909, + 909 + ], + "disallowed" + ], + [ + [ + 910, + 910 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 911, + 911 + ], + "mapped", + [ + 974 + ] + ], + [ + [ + 912, + 912 + ], + "valid" + ], + [ + [ + 913, + 913 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 914, + 914 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 915, + 915 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 916, + 916 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 917, + 917 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 918, + 918 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 919, + 919 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 920, + 920 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 921, + 921 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 922, + 922 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 923, + 923 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 924, + 924 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 925, + 925 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 926, + 926 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 927, + 927 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 928, + 928 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 929, + 929 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 930, + 930 + ], + "disallowed" + ], + [ + [ + 931, + 931 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 932, + 932 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 933, + 933 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 934, + 934 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 935, + 935 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 936, + 936 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 937, + 937 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 938, + 938 + ], + "mapped", + [ + 970 + ] + ], + [ + [ + 939, + 939 + ], + "mapped", + [ + 971 + ] + ], + [ + [ + 940, + 961 + ], + "valid" + ], + [ + [ + 962, + 962 + ], + "deviation", + [ + 963 + ] + ], + [ + [ + 963, + 974 + ], + "valid" + ], + [ + [ + 975, + 975 + ], + "mapped", + [ + 983 + ] + ], + [ + [ + 976, + 976 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 977, + 977 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 978, + 978 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 979, + 979 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 980, + 980 + ], + "mapped", + [ + 971 + ] + ], + [ + [ + 981, + 981 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 982, + 982 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 983, + 983 + ], + "valid" + ], + [ + [ + 984, + 984 + ], + "mapped", + [ + 985 + ] + ], + [ + [ + 985, + 985 + ], + "valid" + ], + [ + [ + 986, + 986 + ], + "mapped", + [ + 987 + ] + ], + [ + [ + 987, + 987 + ], + "valid" + ], + [ + [ + 988, + 988 + ], + "mapped", + [ + 989 + ] + ], + [ + [ + 989, + 989 + ], + "valid" + ], + [ + [ + 990, + 990 + ], + "mapped", + [ + 991 + ] + ], + [ + [ + 991, + 991 + ], + "valid" + ], + [ + [ + 992, + 992 + ], + "mapped", + [ + 993 + ] + ], + [ + [ + 993, + 993 + ], + "valid" + ], + [ + [ + 994, + 994 + ], + "mapped", + [ + 995 + ] + ], + [ + [ + 995, + 995 + ], + "valid" + ], + [ + [ + 996, + 996 + ], + "mapped", + [ + 997 + ] + ], + [ + [ + 997, + 997 + ], + "valid" + ], + [ + [ + 998, + 998 + ], + "mapped", + [ + 999 + ] + ], + [ + [ + 999, + 999 + ], + "valid" + ], + [ + [ + 1000, + 1000 + ], + "mapped", + [ + 1001 + ] + ], + [ + [ + 1001, + 1001 + ], + "valid" + ], + [ + [ + 1002, + 1002 + ], + "mapped", + [ + 1003 + ] + ], + [ + [ + 1003, + 1003 + ], + "valid" + ], + [ + [ + 1004, + 1004 + ], + "mapped", + [ + 1005 + ] + ], + [ + [ + 1005, + 1005 + ], + "valid" + ], + [ + [ + 1006, + 1006 + ], + "mapped", + [ + 1007 + ] + ], + [ + [ + 1007, + 1007 + ], + "valid" + ], + [ + [ + 1008, + 1008 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 1009, + 1009 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 1010, + 1010 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 1011, + 1011 + ], + "valid" + ], + [ + [ + 1012, + 1012 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 1013, + 1013 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 1014, + 1014 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1015, + 1015 + ], + "mapped", + [ + 1016 + ] + ], + [ + [ + 1016, + 1016 + ], + "valid" + ], + [ + [ + 1017, + 1017 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 1018, + 1018 + ], + "mapped", + [ + 1019 + ] + ], + [ + [ + 1019, + 1019 + ], + "valid" + ], + [ + [ + 1020, + 1020 + ], + "valid" + ], + [ + [ + 1021, + 1021 + ], + "mapped", + [ + 891 + ] + ], + [ + [ + 1022, + 1022 + ], + "mapped", + [ + 892 + ] + ], + [ + [ + 1023, + 1023 + ], + "mapped", + [ + 893 + ] + ], + [ + [ + 1024, + 1024 + ], + "mapped", + [ + 1104 + ] + ], + [ + [ + 1025, + 1025 + ], + "mapped", + [ + 1105 + ] + ], + [ + [ + 1026, + 1026 + ], + "mapped", + [ + 1106 + ] + ], + [ + [ + 1027, + 1027 + ], + "mapped", + [ + 1107 + ] + ], + [ + [ + 1028, + 1028 + ], + "mapped", + [ + 1108 + ] + ], + [ + [ + 1029, + 1029 + ], + "mapped", + [ + 1109 + ] + ], + [ + [ + 1030, + 1030 + ], + "mapped", + [ + 1110 + ] + ], + [ + [ + 1031, + 1031 + ], + "mapped", + [ + 1111 + ] + ], + [ + [ + 1032, + 1032 + ], + "mapped", + [ + 1112 + ] + ], + [ + [ + 1033, + 1033 + ], + "mapped", + [ + 1113 + ] + ], + [ + [ + 1034, + 1034 + ], + "mapped", + [ + 1114 + ] + ], + [ + [ + 1035, + 1035 + ], + "mapped", + [ + 1115 + ] + ], + [ + [ + 1036, + 1036 + ], + "mapped", + [ + 1116 + ] + ], + [ + [ + 1037, + 1037 + ], + "mapped", + [ + 1117 + ] + ], + [ + [ + 1038, + 1038 + ], + "mapped", + [ + 1118 + ] + ], + [ + [ + 1039, + 1039 + ], + "mapped", + [ + 1119 + ] + ], + [ + [ + 1040, + 1040 + ], + "mapped", + [ + 1072 + ] + ], + [ + [ + 1041, + 1041 + ], + "mapped", + [ + 1073 + ] + ], + [ + [ + 1042, + 1042 + ], + "mapped", + [ + 1074 + ] + ], + [ + [ + 1043, + 1043 + ], + "mapped", + [ + 1075 + ] + ], + [ + [ + 1044, + 1044 + ], + "mapped", + [ + 1076 + ] + ], + [ + [ + 1045, + 1045 + ], + "mapped", + [ + 1077 + ] + ], + [ + [ + 1046, + 1046 + ], + "mapped", + [ + 1078 + ] + ], + [ + [ + 1047, + 1047 + ], + "mapped", + [ + 1079 + ] + ], + [ + [ + 1048, + 1048 + ], + "mapped", + [ + 1080 + ] + ], + [ + [ + 1049, + 1049 + ], + "mapped", + [ + 1081 + ] + ], + [ + [ + 1050, + 1050 + ], + "mapped", + [ + 1082 + ] + ], + [ + [ + 1051, + 1051 + ], + "mapped", + [ + 1083 + ] + ], + [ + [ + 1052, + 1052 + ], + "mapped", + [ + 1084 + ] + ], + [ + [ + 1053, + 1053 + ], + "mapped", + [ + 1085 + ] + ], + [ + [ + 1054, + 1054 + ], + "mapped", + [ + 1086 + ] + ], + [ + [ + 1055, + 1055 + ], + "mapped", + [ + 1087 + ] + ], + [ + [ + 1056, + 1056 + ], + "mapped", + [ + 1088 + ] + ], + [ + [ + 1057, + 1057 + ], + "mapped", + [ + 1089 + ] + ], + [ + [ + 1058, + 1058 + ], + "mapped", + [ + 1090 + ] + ], + [ + [ + 1059, + 1059 + ], + "mapped", + [ + 1091 + ] + ], + [ + [ + 1060, + 1060 + ], + "mapped", + [ + 1092 + ] + ], + [ + [ + 1061, + 1061 + ], + "mapped", + [ + 1093 + ] + ], + [ + [ + 1062, + 1062 + ], + "mapped", + [ + 1094 + ] + ], + [ + [ + 1063, + 1063 + ], + "mapped", + [ + 1095 + ] + ], + [ + [ + 1064, + 1064 + ], + "mapped", + [ + 1096 + ] + ], + [ + [ + 1065, + 1065 + ], + "mapped", + [ + 1097 + ] + ], + [ + [ + 1066, + 1066 + ], + "mapped", + [ + 1098 + ] + ], + [ + [ + 1067, + 1067 + ], + "mapped", + [ + 1099 + ] + ], + [ + [ + 1068, + 1068 + ], + "mapped", + [ + 1100 + ] + ], + [ + [ + 1069, + 1069 + ], + "mapped", + [ + 1101 + ] + ], + [ + [ + 1070, + 1070 + ], + "mapped", + [ + 1102 + ] + ], + [ + [ + 1071, + 1071 + ], + "mapped", + [ + 1103 + ] + ], + [ + [ + 1072, + 1103 + ], + "valid" + ], + [ + [ + 1104, + 1104 + ], + "valid" + ], + [ + [ + 1105, + 1116 + ], + "valid" + ], + [ + [ + 1117, + 1117 + ], + "valid" + ], + [ + [ + 1118, + 1119 + ], + "valid" + ], + [ + [ + 1120, + 1120 + ], + "mapped", + [ + 1121 + ] + ], + [ + [ + 1121, + 1121 + ], + "valid" + ], + [ + [ + 1122, + 1122 + ], + "mapped", + [ + 1123 + ] + ], + [ + [ + 1123, + 1123 + ], + "valid" + ], + [ + [ + 1124, + 1124 + ], + "mapped", + [ + 1125 + ] + ], + [ + [ + 1125, + 1125 + ], + "valid" + ], + [ + [ + 1126, + 1126 + ], + "mapped", + [ + 1127 + ] + ], + [ + [ + 1127, + 1127 + ], + "valid" + ], + [ + [ + 1128, + 1128 + ], + "mapped", + [ + 1129 + ] + ], + [ + [ + 1129, + 1129 + ], + "valid" + ], + [ + [ + 1130, + 1130 + ], + "mapped", + [ + 1131 + ] + ], + [ + [ + 1131, + 1131 + ], + "valid" + ], + [ + [ + 1132, + 1132 + ], + "mapped", + [ + 1133 + ] + ], + [ + [ + 1133, + 1133 + ], + "valid" + ], + [ + [ + 1134, + 1134 + ], + "mapped", + [ + 1135 + ] + ], + [ + [ + 1135, + 1135 + ], + "valid" + ], + [ + [ + 1136, + 1136 + ], + "mapped", + [ + 1137 + ] + ], + [ + [ + 1137, + 1137 + ], + "valid" + ], + [ + [ + 1138, + 1138 + ], + "mapped", + [ + 1139 + ] + ], + [ + [ + 1139, + 1139 + ], + "valid" + ], + [ + [ + 1140, + 1140 + ], + "mapped", + [ + 1141 + ] + ], + [ + [ + 1141, + 1141 + ], + "valid" + ], + [ + [ + 1142, + 1142 + ], + "mapped", + [ + 1143 + ] + ], + [ + [ + 1143, + 1143 + ], + "valid" + ], + [ + [ + 1144, + 1144 + ], + "mapped", + [ + 1145 + ] + ], + [ + [ + 1145, + 1145 + ], + "valid" + ], + [ + [ + 1146, + 1146 + ], + "mapped", + [ + 1147 + ] + ], + [ + [ + 1147, + 1147 + ], + "valid" + ], + [ + [ + 1148, + 1148 + ], + "mapped", + [ + 1149 + ] + ], + [ + [ + 1149, + 1149 + ], + "valid" + ], + [ + [ + 1150, + 1150 + ], + "mapped", + [ + 1151 + ] + ], + [ + [ + 1151, + 1151 + ], + "valid" + ], + [ + [ + 1152, + 1152 + ], + "mapped", + [ + 1153 + ] + ], + [ + [ + 1153, + 1153 + ], + "valid" + ], + [ + [ + 1154, + 1154 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1155, + 1158 + ], + "valid" + ], + [ + [ + 1159, + 1159 + ], + "valid" + ], + [ + [ + 1160, + 1161 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1162, + 1162 + ], + "mapped", + [ + 1163 + ] + ], + [ + [ + 1163, + 1163 + ], + "valid" + ], + [ + [ + 1164, + 1164 + ], + "mapped", + [ + 1165 + ] + ], + [ + [ + 1165, + 1165 + ], + "valid" + ], + [ + [ + 1166, + 1166 + ], + "mapped", + [ + 1167 + ] + ], + [ + [ + 1167, + 1167 + ], + "valid" + ], + [ + [ + 1168, + 1168 + ], + "mapped", + [ + 1169 + ] + ], + [ + [ + 1169, + 1169 + ], + "valid" + ], + [ + [ + 1170, + 1170 + ], + "mapped", + [ + 1171 + ] + ], + [ + [ + 1171, + 1171 + ], + "valid" + ], + [ + [ + 1172, + 1172 + ], + "mapped", + [ + 1173 + ] + ], + [ + [ + 1173, + 1173 + ], + "valid" + ], + [ + [ + 1174, + 1174 + ], + "mapped", + [ + 1175 + ] + ], + [ + [ + 1175, + 1175 + ], + "valid" + ], + [ + [ + 1176, + 1176 + ], + "mapped", + [ + 1177 + ] + ], + [ + [ + 1177, + 1177 + ], + "valid" + ], + [ + [ + 1178, + 1178 + ], + "mapped", + [ + 1179 + ] + ], + [ + [ + 1179, + 1179 + ], + "valid" + ], + [ + [ + 1180, + 1180 + ], + "mapped", + [ + 1181 + ] + ], + [ + [ + 1181, + 1181 + ], + "valid" + ], + [ + [ + 1182, + 1182 + ], + "mapped", + [ + 1183 + ] + ], + [ + [ + 1183, + 1183 + ], + "valid" + ], + [ + [ + 1184, + 1184 + ], + "mapped", + [ + 1185 + ] + ], + [ + [ + 1185, + 1185 + ], + "valid" + ], + [ + [ + 1186, + 1186 + ], + "mapped", + [ + 1187 + ] + ], + [ + [ + 1187, + 1187 + ], + "valid" + ], + [ + [ + 1188, + 1188 + ], + "mapped", + [ + 1189 + ] + ], + [ + [ + 1189, + 1189 + ], + "valid" + ], + [ + [ + 1190, + 1190 + ], + "mapped", + [ + 1191 + ] + ], + [ + [ + 1191, + 1191 + ], + "valid" + ], + [ + [ + 1192, + 1192 + ], + "mapped", + [ + 1193 + ] + ], + [ + [ + 1193, + 1193 + ], + "valid" + ], + [ + [ + 1194, + 1194 + ], + "mapped", + [ + 1195 + ] + ], + [ + [ + 1195, + 1195 + ], + "valid" + ], + [ + [ + 1196, + 1196 + ], + "mapped", + [ + 1197 + ] + ], + [ + [ + 1197, + 1197 + ], + "valid" + ], + [ + [ + 1198, + 1198 + ], + "mapped", + [ + 1199 + ] + ], + [ + [ + 1199, + 1199 + ], + "valid" + ], + [ + [ + 1200, + 1200 + ], + "mapped", + [ + 1201 + ] + ], + [ + [ + 1201, + 1201 + ], + "valid" + ], + [ + [ + 1202, + 1202 + ], + "mapped", + [ + 1203 + ] + ], + [ + [ + 1203, + 1203 + ], + "valid" + ], + [ + [ + 1204, + 1204 + ], + "mapped", + [ + 1205 + ] + ], + [ + [ + 1205, + 1205 + ], + "valid" + ], + [ + [ + 1206, + 1206 + ], + "mapped", + [ + 1207 + ] + ], + [ + [ + 1207, + 1207 + ], + "valid" + ], + [ + [ + 1208, + 1208 + ], + "mapped", + [ + 1209 + ] + ], + [ + [ + 1209, + 1209 + ], + "valid" + ], + [ + [ + 1210, + 1210 + ], + "mapped", + [ + 1211 + ] + ], + [ + [ + 1211, + 1211 + ], + "valid" + ], + [ + [ + 1212, + 1212 + ], + "mapped", + [ + 1213 + ] + ], + [ + [ + 1213, + 1213 + ], + "valid" + ], + [ + [ + 1214, + 1214 + ], + "mapped", + [ + 1215 + ] + ], + [ + [ + 1215, + 1215 + ], + "valid" + ], + [ + [ + 1216, + 1216 + ], + "disallowed" + ], + [ + [ + 1217, + 1217 + ], + "mapped", + [ + 1218 + ] + ], + [ + [ + 1218, + 1218 + ], + "valid" + ], + [ + [ + 1219, + 1219 + ], + "mapped", + [ + 1220 + ] + ], + [ + [ + 1220, + 1220 + ], + "valid" + ], + [ + [ + 1221, + 1221 + ], + "mapped", + [ + 1222 + ] + ], + [ + [ + 1222, + 1222 + ], + "valid" + ], + [ + [ + 1223, + 1223 + ], + "mapped", + [ + 1224 + ] + ], + [ + [ + 1224, + 1224 + ], + "valid" + ], + [ + [ + 1225, + 1225 + ], + "mapped", + [ + 1226 + ] + ], + [ + [ + 1226, + 1226 + ], + "valid" + ], + [ + [ + 1227, + 1227 + ], + "mapped", + [ + 1228 + ] + ], + [ + [ + 1228, + 1228 + ], + "valid" + ], + [ + [ + 1229, + 1229 + ], + "mapped", + [ + 1230 + ] + ], + [ + [ + 1230, + 1230 + ], + "valid" + ], + [ + [ + 1231, + 1231 + ], + "valid" + ], + [ + [ + 1232, + 1232 + ], + "mapped", + [ + 1233 + ] + ], + [ + [ + 1233, + 1233 + ], + "valid" + ], + [ + [ + 1234, + 1234 + ], + "mapped", + [ + 1235 + ] + ], + [ + [ + 1235, + 1235 + ], + "valid" + ], + [ + [ + 1236, + 1236 + ], + "mapped", + [ + 1237 + ] + ], + [ + [ + 1237, + 1237 + ], + "valid" + ], + [ + [ + 1238, + 1238 + ], + "mapped", + [ + 1239 + ] + ], + [ + [ + 1239, + 1239 + ], + "valid" + ], + [ + [ + 1240, + 1240 + ], + "mapped", + [ + 1241 + ] + ], + [ + [ + 1241, + 1241 + ], + "valid" + ], + [ + [ + 1242, + 1242 + ], + "mapped", + [ + 1243 + ] + ], + [ + [ + 1243, + 1243 + ], + "valid" + ], + [ + [ + 1244, + 1244 + ], + "mapped", + [ + 1245 + ] + ], + [ + [ + 1245, + 1245 + ], + "valid" + ], + [ + [ + 1246, + 1246 + ], + "mapped", + [ + 1247 + ] + ], + [ + [ + 1247, + 1247 + ], + "valid" + ], + [ + [ + 1248, + 1248 + ], + "mapped", + [ + 1249 + ] + ], + [ + [ + 1249, + 1249 + ], + "valid" + ], + [ + [ + 1250, + 1250 + ], + "mapped", + [ + 1251 + ] + ], + [ + [ + 1251, + 1251 + ], + "valid" + ], + [ + [ + 1252, + 1252 + ], + "mapped", + [ + 1253 + ] + ], + [ + [ + 1253, + 1253 + ], + "valid" + ], + [ + [ + 1254, + 1254 + ], + "mapped", + [ + 1255 + ] + ], + [ + [ + 1255, + 1255 + ], + "valid" + ], + [ + [ + 1256, + 1256 + ], + "mapped", + [ + 1257 + ] + ], + [ + [ + 1257, + 1257 + ], + "valid" + ], + [ + [ + 1258, + 1258 + ], + "mapped", + [ + 1259 + ] + ], + [ + [ + 1259, + 1259 + ], + "valid" + ], + [ + [ + 1260, + 1260 + ], + "mapped", + [ + 1261 + ] + ], + [ + [ + 1261, + 1261 + ], + "valid" + ], + [ + [ + 1262, + 1262 + ], + "mapped", + [ + 1263 + ] + ], + [ + [ + 1263, + 1263 + ], + "valid" + ], + [ + [ + 1264, + 1264 + ], + "mapped", + [ + 1265 + ] + ], + [ + [ + 1265, + 1265 + ], + "valid" + ], + [ + [ + 1266, + 1266 + ], + "mapped", + [ + 1267 + ] + ], + [ + [ + 1267, + 1267 + ], + "valid" + ], + [ + [ + 1268, + 1268 + ], + "mapped", + [ + 1269 + ] + ], + [ + [ + 1269, + 1269 + ], + "valid" + ], + [ + [ + 1270, + 1270 + ], + "mapped", + [ + 1271 + ] + ], + [ + [ + 1271, + 1271 + ], + "valid" + ], + [ + [ + 1272, + 1272 + ], + "mapped", + [ + 1273 + ] + ], + [ + [ + 1273, + 1273 + ], + "valid" + ], + [ + [ + 1274, + 1274 + ], + "mapped", + [ + 1275 + ] + ], + [ + [ + 1275, + 1275 + ], + "valid" + ], + [ + [ + 1276, + 1276 + ], + "mapped", + [ + 1277 + ] + ], + [ + [ + 1277, + 1277 + ], + "valid" + ], + [ + [ + 1278, + 1278 + ], + "mapped", + [ + 1279 + ] + ], + [ + [ + 1279, + 1279 + ], + "valid" + ], + [ + [ + 1280, + 1280 + ], + "mapped", + [ + 1281 + ] + ], + [ + [ + 1281, + 1281 + ], + "valid" + ], + [ + [ + 1282, + 1282 + ], + "mapped", + [ + 1283 + ] + ], + [ + [ + 1283, + 1283 + ], + "valid" + ], + [ + [ + 1284, + 1284 + ], + "mapped", + [ + 1285 + ] + ], + [ + [ + 1285, + 1285 + ], + "valid" + ], + [ + [ + 1286, + 1286 + ], + "mapped", + [ + 1287 + ] + ], + [ + [ + 1287, + 1287 + ], + "valid" + ], + [ + [ + 1288, + 1288 + ], + "mapped", + [ + 1289 + ] + ], + [ + [ + 1289, + 1289 + ], + "valid" + ], + [ + [ + 1290, + 1290 + ], + "mapped", + [ + 1291 + ] + ], + [ + [ + 1291, + 1291 + ], + "valid" + ], + [ + [ + 1292, + 1292 + ], + "mapped", + [ + 1293 + ] + ], + [ + [ + 1293, + 1293 + ], + "valid" + ], + [ + [ + 1294, + 1294 + ], + "mapped", + [ + 1295 + ] + ], + [ + [ + 1295, + 1295 + ], + "valid" + ], + [ + [ + 1296, + 1296 + ], + "mapped", + [ + 1297 + ] + ], + [ + [ + 1297, + 1297 + ], + "valid" + ], + [ + [ + 1298, + 1298 + ], + "mapped", + [ + 1299 + ] + ], + [ + [ + 1299, + 1299 + ], + "valid" + ], + [ + [ + 1300, + 1300 + ], + "mapped", + [ + 1301 + ] + ], + [ + [ + 1301, + 1301 + ], + "valid" + ], + [ + [ + 1302, + 1302 + ], + "mapped", + [ + 1303 + ] + ], + [ + [ + 1303, + 1303 + ], + "valid" + ], + [ + [ + 1304, + 1304 + ], + "mapped", + [ + 1305 + ] + ], + [ + [ + 1305, + 1305 + ], + "valid" + ], + [ + [ + 1306, + 1306 + ], + "mapped", + [ + 1307 + ] + ], + [ + [ + 1307, + 1307 + ], + "valid" + ], + [ + [ + 1308, + 1308 + ], + "mapped", + [ + 1309 + ] + ], + [ + [ + 1309, + 1309 + ], + "valid" + ], + [ + [ + 1310, + 1310 + ], + "mapped", + [ + 1311 + ] + ], + [ + [ + 1311, + 1311 + ], + "valid" + ], + [ + [ + 1312, + 1312 + ], + "mapped", + [ + 1313 + ] + ], + [ + [ + 1313, + 1313 + ], + "valid" + ], + [ + [ + 1314, + 1314 + ], + "mapped", + [ + 1315 + ] + ], + [ + [ + 1315, + 1315 + ], + "valid" + ], + [ + [ + 1316, + 1316 + ], + "mapped", + [ + 1317 + ] + ], + [ + [ + 1317, + 1317 + ], + "valid" + ], + [ + [ + 1318, + 1318 + ], + "mapped", + [ + 1319 + ] + ], + [ + [ + 1319, + 1319 + ], + "valid" + ], + [ + [ + 1320, + 1320 + ], + "mapped", + [ + 1321 + ] + ], + [ + [ + 1321, + 1321 + ], + "valid" + ], + [ + [ + 1322, + 1322 + ], + "mapped", + [ + 1323 + ] + ], + [ + [ + 1323, + 1323 + ], + "valid" + ], + [ + [ + 1324, + 1324 + ], + "mapped", + [ + 1325 + ] + ], + [ + [ + 1325, + 1325 + ], + "valid" + ], + [ + [ + 1326, + 1326 + ], + "mapped", + [ + 1327 + ] + ], + [ + [ + 1327, + 1327 + ], + "valid" + ], + [ + [ + 1328, + 1328 + ], + "disallowed" + ], + [ + [ + 1329, + 1329 + ], + "mapped", + [ + 1377 + ] + ], + [ + [ + 1330, + 1330 + ], + "mapped", + [ + 1378 + ] + ], + [ + [ + 1331, + 1331 + ], + "mapped", + [ + 1379 + ] + ], + [ + [ + 1332, + 1332 + ], + "mapped", + [ + 1380 + ] + ], + [ + [ + 1333, + 1333 + ], + "mapped", + [ + 1381 + ] + ], + [ + [ + 1334, + 1334 + ], + "mapped", + [ + 1382 + ] + ], + [ + [ + 1335, + 1335 + ], + "mapped", + [ + 1383 + ] + ], + [ + [ + 1336, + 1336 + ], + "mapped", + [ + 1384 + ] + ], + [ + [ + 1337, + 1337 + ], + "mapped", + [ + 1385 + ] + ], + [ + [ + 1338, + 1338 + ], + "mapped", + [ + 1386 + ] + ], + [ + [ + 1339, + 1339 + ], + "mapped", + [ + 1387 + ] + ], + [ + [ + 1340, + 1340 + ], + "mapped", + [ + 1388 + ] + ], + [ + [ + 1341, + 1341 + ], + "mapped", + [ + 1389 + ] + ], + [ + [ + 1342, + 1342 + ], + "mapped", + [ + 1390 + ] + ], + [ + [ + 1343, + 1343 + ], + "mapped", + [ + 1391 + ] + ], + [ + [ + 1344, + 1344 + ], + "mapped", + [ + 1392 + ] + ], + [ + [ + 1345, + 1345 + ], + "mapped", + [ + 1393 + ] + ], + [ + [ + 1346, + 1346 + ], + "mapped", + [ + 1394 + ] + ], + [ + [ + 1347, + 1347 + ], + "mapped", + [ + 1395 + ] + ], + [ + [ + 1348, + 1348 + ], + "mapped", + [ + 1396 + ] + ], + [ + [ + 1349, + 1349 + ], + "mapped", + [ + 1397 + ] + ], + [ + [ + 1350, + 1350 + ], + "mapped", + [ + 1398 + ] + ], + [ + [ + 1351, + 1351 + ], + "mapped", + [ + 1399 + ] + ], + [ + [ + 1352, + 1352 + ], + "mapped", + [ + 1400 + ] + ], + [ + [ + 1353, + 1353 + ], + "mapped", + [ + 1401 + ] + ], + [ + [ + 1354, + 1354 + ], + "mapped", + [ + 1402 + ] + ], + [ + [ + 1355, + 1355 + ], + "mapped", + [ + 1403 + ] + ], + [ + [ + 1356, + 1356 + ], + "mapped", + [ + 1404 + ] + ], + [ + [ + 1357, + 1357 + ], + "mapped", + [ + 1405 + ] + ], + [ + [ + 1358, + 1358 + ], + "mapped", + [ + 1406 + ] + ], + [ + [ + 1359, + 1359 + ], + "mapped", + [ + 1407 + ] + ], + [ + [ + 1360, + 1360 + ], + "mapped", + [ + 1408 + ] + ], + [ + [ + 1361, + 1361 + ], + "mapped", + [ + 1409 + ] + ], + [ + [ + 1362, + 1362 + ], + "mapped", + [ + 1410 + ] + ], + [ + [ + 1363, + 1363 + ], + "mapped", + [ + 1411 + ] + ], + [ + [ + 1364, + 1364 + ], + "mapped", + [ + 1412 + ] + ], + [ + [ + 1365, + 1365 + ], + "mapped", + [ + 1413 + ] + ], + [ + [ + 1366, + 1366 + ], + "mapped", + [ + 1414 + ] + ], + [ + [ + 1367, + 1368 + ], + "disallowed" + ], + [ + [ + 1369, + 1369 + ], + "valid" + ], + [ + [ + 1370, + 1375 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1376, + 1376 + ], + "disallowed" + ], + [ + [ + 1377, + 1414 + ], + "valid" + ], + [ + [ + 1415, + 1415 + ], + "mapped", + [ + 1381, + 1410 + ] + ], + [ + [ + 1416, + 1416 + ], + "disallowed" + ], + [ + [ + 1417, + 1417 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1418, + 1418 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1419, + 1420 + ], + "disallowed" + ], + [ + [ + 1421, + 1422 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1423, + 1423 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1424, + 1424 + ], + "disallowed" + ], + [ + [ + 1425, + 1441 + ], + "valid" + ], + [ + [ + 1442, + 1442 + ], + "valid" + ], + [ + [ + 1443, + 1455 + ], + "valid" + ], + [ + [ + 1456, + 1465 + ], + "valid" + ], + [ + [ + 1466, + 1466 + ], + "valid" + ], + [ + [ + 1467, + 1469 + ], + "valid" + ], + [ + [ + 1470, + 1470 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1471, + 1471 + ], + "valid" + ], + [ + [ + 1472, + 1472 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1473, + 1474 + ], + "valid" + ], + [ + [ + 1475, + 1475 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1476, + 1476 + ], + "valid" + ], + [ + [ + 1477, + 1477 + ], + "valid" + ], + [ + [ + 1478, + 1478 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1479, + 1479 + ], + "valid" + ], + [ + [ + 1480, + 1487 + ], + "disallowed" + ], + [ + [ + 1488, + 1514 + ], + "valid" + ], + [ + [ + 1515, + 1519 + ], + "disallowed" + ], + [ + [ + 1520, + 1524 + ], + "valid" + ], + [ + [ + 1525, + 1535 + ], + "disallowed" + ], + [ + [ + 1536, + 1539 + ], + "disallowed" + ], + [ + [ + 1540, + 1540 + ], + "disallowed" + ], + [ + [ + 1541, + 1541 + ], + "disallowed" + ], + [ + [ + 1542, + 1546 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1547, + 1547 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1548, + 1548 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1549, + 1551 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1552, + 1557 + ], + "valid" + ], + [ + [ + 1558, + 1562 + ], + "valid" + ], + [ + [ + 1563, + 1563 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1564, + 1564 + ], + "disallowed" + ], + [ + [ + 1565, + 1565 + ], + "disallowed" + ], + [ + [ + 1566, + 1566 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1567, + 1567 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1568, + 1568 + ], + "valid" + ], + [ + [ + 1569, + 1594 + ], + "valid" + ], + [ + [ + 1595, + 1599 + ], + "valid" + ], + [ + [ + 1600, + 1600 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1601, + 1618 + ], + "valid" + ], + [ + [ + 1619, + 1621 + ], + "valid" + ], + [ + [ + 1622, + 1624 + ], + "valid" + ], + [ + [ + 1625, + 1630 + ], + "valid" + ], + [ + [ + 1631, + 1631 + ], + "valid" + ], + [ + [ + 1632, + 1641 + ], + "valid" + ], + [ + [ + 1642, + 1645 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1646, + 1647 + ], + "valid" + ], + [ + [ + 1648, + 1652 + ], + "valid" + ], + [ + [ + 1653, + 1653 + ], + "mapped", + [ + 1575, + 1652 + ] + ], + [ + [ + 1654, + 1654 + ], + "mapped", + [ + 1608, + 1652 + ] + ], + [ + [ + 1655, + 1655 + ], + "mapped", + [ + 1735, + 1652 + ] + ], + [ + [ + 1656, + 1656 + ], + "mapped", + [ + 1610, + 1652 + ] + ], + [ + [ + 1657, + 1719 + ], + "valid" + ], + [ + [ + 1720, + 1721 + ], + "valid" + ], + [ + [ + 1722, + 1726 + ], + "valid" + ], + [ + [ + 1727, + 1727 + ], + "valid" + ], + [ + [ + 1728, + 1742 + ], + "valid" + ], + [ + [ + 1743, + 1743 + ], + "valid" + ], + [ + [ + 1744, + 1747 + ], + "valid" + ], + [ + [ + 1748, + 1748 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1749, + 1756 + ], + "valid" + ], + [ + [ + 1757, + 1757 + ], + "disallowed" + ], + [ + [ + 1758, + 1758 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1759, + 1768 + ], + "valid" + ], + [ + [ + 1769, + 1769 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1770, + 1773 + ], + "valid" + ], + [ + [ + 1774, + 1775 + ], + "valid" + ], + [ + [ + 1776, + 1785 + ], + "valid" + ], + [ + [ + 1786, + 1790 + ], + "valid" + ], + [ + [ + 1791, + 1791 + ], + "valid" + ], + [ + [ + 1792, + 1805 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 1806, + 1806 + ], + "disallowed" + ], + [ + [ + 1807, + 1807 + ], + "disallowed" + ], + [ + [ + 1808, + 1836 + ], + "valid" + ], + [ + [ + 1837, + 1839 + ], + "valid" + ], + [ + [ + 1840, + 1866 + ], + "valid" + ], + [ + [ + 1867, + 1868 + ], + "disallowed" + ], + [ + [ + 1869, + 1871 + ], + "valid" + ], + [ + [ + 1872, + 1901 + ], + "valid" + ], + [ + [ + 1902, + 1919 + ], + "valid" + ], + [ + [ + 1920, + 1968 + ], + "valid" + ], + [ + [ + 1969, + 1969 + ], + "valid" + ], + [ + [ + 1970, + 1983 + ], + "disallowed" + ], + [ + [ + 1984, + 2037 + ], + "valid" + ], + [ + [ + 2038, + 2042 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2043, + 2047 + ], + "disallowed" + ], + [ + [ + 2048, + 2093 + ], + "valid" + ], + [ + [ + 2094, + 2095 + ], + "disallowed" + ], + [ + [ + 2096, + 2110 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2111, + 2111 + ], + "disallowed" + ], + [ + [ + 2112, + 2139 + ], + "valid" + ], + [ + [ + 2140, + 2141 + ], + "disallowed" + ], + [ + [ + 2142, + 2142 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2143, + 2207 + ], + "disallowed" + ], + [ + [ + 2208, + 2208 + ], + "valid" + ], + [ + [ + 2209, + 2209 + ], + "valid" + ], + [ + [ + 2210, + 2220 + ], + "valid" + ], + [ + [ + 2221, + 2226 + ], + "valid" + ], + [ + [ + 2227, + 2228 + ], + "valid" + ], + [ + [ + 2229, + 2274 + ], + "disallowed" + ], + [ + [ + 2275, + 2275 + ], + "valid" + ], + [ + [ + 2276, + 2302 + ], + "valid" + ], + [ + [ + 2303, + 2303 + ], + "valid" + ], + [ + [ + 2304, + 2304 + ], + "valid" + ], + [ + [ + 2305, + 2307 + ], + "valid" + ], + [ + [ + 2308, + 2308 + ], + "valid" + ], + [ + [ + 2309, + 2361 + ], + "valid" + ], + [ + [ + 2362, + 2363 + ], + "valid" + ], + [ + [ + 2364, + 2381 + ], + "valid" + ], + [ + [ + 2382, + 2382 + ], + "valid" + ], + [ + [ + 2383, + 2383 + ], + "valid" + ], + [ + [ + 2384, + 2388 + ], + "valid" + ], + [ + [ + 2389, + 2389 + ], + "valid" + ], + [ + [ + 2390, + 2391 + ], + "valid" + ], + [ + [ + 2392, + 2392 + ], + "mapped", + [ + 2325, + 2364 + ] + ], + [ + [ + 2393, + 2393 + ], + "mapped", + [ + 2326, + 2364 + ] + ], + [ + [ + 2394, + 2394 + ], + "mapped", + [ + 2327, + 2364 + ] + ], + [ + [ + 2395, + 2395 + ], + "mapped", + [ + 2332, + 2364 + ] + ], + [ + [ + 2396, + 2396 + ], + "mapped", + [ + 2337, + 2364 + ] + ], + [ + [ + 2397, + 2397 + ], + "mapped", + [ + 2338, + 2364 + ] + ], + [ + [ + 2398, + 2398 + ], + "mapped", + [ + 2347, + 2364 + ] + ], + [ + [ + 2399, + 2399 + ], + "mapped", + [ + 2351, + 2364 + ] + ], + [ + [ + 2400, + 2403 + ], + "valid" + ], + [ + [ + 2404, + 2405 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2406, + 2415 + ], + "valid" + ], + [ + [ + 2416, + 2416 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2417, + 2418 + ], + "valid" + ], + [ + [ + 2419, + 2423 + ], + "valid" + ], + [ + [ + 2424, + 2424 + ], + "valid" + ], + [ + [ + 2425, + 2426 + ], + "valid" + ], + [ + [ + 2427, + 2428 + ], + "valid" + ], + [ + [ + 2429, + 2429 + ], + "valid" + ], + [ + [ + 2430, + 2431 + ], + "valid" + ], + [ + [ + 2432, + 2432 + ], + "valid" + ], + [ + [ + 2433, + 2435 + ], + "valid" + ], + [ + [ + 2436, + 2436 + ], + "disallowed" + ], + [ + [ + 2437, + 2444 + ], + "valid" + ], + [ + [ + 2445, + 2446 + ], + "disallowed" + ], + [ + [ + 2447, + 2448 + ], + "valid" + ], + [ + [ + 2449, + 2450 + ], + "disallowed" + ], + [ + [ + 2451, + 2472 + ], + "valid" + ], + [ + [ + 2473, + 2473 + ], + "disallowed" + ], + [ + [ + 2474, + 2480 + ], + "valid" + ], + [ + [ + 2481, + 2481 + ], + "disallowed" + ], + [ + [ + 2482, + 2482 + ], + "valid" + ], + [ + [ + 2483, + 2485 + ], + "disallowed" + ], + [ + [ + 2486, + 2489 + ], + "valid" + ], + [ + [ + 2490, + 2491 + ], + "disallowed" + ], + [ + [ + 2492, + 2492 + ], + "valid" + ], + [ + [ + 2493, + 2493 + ], + "valid" + ], + [ + [ + 2494, + 2500 + ], + "valid" + ], + [ + [ + 2501, + 2502 + ], + "disallowed" + ], + [ + [ + 2503, + 2504 + ], + "valid" + ], + [ + [ + 2505, + 2506 + ], + "disallowed" + ], + [ + [ + 2507, + 2509 + ], + "valid" + ], + [ + [ + 2510, + 2510 + ], + "valid" + ], + [ + [ + 2511, + 2518 + ], + "disallowed" + ], + [ + [ + 2519, + 2519 + ], + "valid" + ], + [ + [ + 2520, + 2523 + ], + "disallowed" + ], + [ + [ + 2524, + 2524 + ], + "mapped", + [ + 2465, + 2492 + ] + ], + [ + [ + 2525, + 2525 + ], + "mapped", + [ + 2466, + 2492 + ] + ], + [ + [ + 2526, + 2526 + ], + "disallowed" + ], + [ + [ + 2527, + 2527 + ], + "mapped", + [ + 2479, + 2492 + ] + ], + [ + [ + 2528, + 2531 + ], + "valid" + ], + [ + [ + 2532, + 2533 + ], + "disallowed" + ], + [ + [ + 2534, + 2545 + ], + "valid" + ], + [ + [ + 2546, + 2554 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2555, + 2555 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2556, + 2560 + ], + "disallowed" + ], + [ + [ + 2561, + 2561 + ], + "valid" + ], + [ + [ + 2562, + 2562 + ], + "valid" + ], + [ + [ + 2563, + 2563 + ], + "valid" + ], + [ + [ + 2564, + 2564 + ], + "disallowed" + ], + [ + [ + 2565, + 2570 + ], + "valid" + ], + [ + [ + 2571, + 2574 + ], + "disallowed" + ], + [ + [ + 2575, + 2576 + ], + "valid" + ], + [ + [ + 2577, + 2578 + ], + "disallowed" + ], + [ + [ + 2579, + 2600 + ], + "valid" + ], + [ + [ + 2601, + 2601 + ], + "disallowed" + ], + [ + [ + 2602, + 2608 + ], + "valid" + ], + [ + [ + 2609, + 2609 + ], + "disallowed" + ], + [ + [ + 2610, + 2610 + ], + "valid" + ], + [ + [ + 2611, + 2611 + ], + "mapped", + [ + 2610, + 2620 + ] + ], + [ + [ + 2612, + 2612 + ], + "disallowed" + ], + [ + [ + 2613, + 2613 + ], + "valid" + ], + [ + [ + 2614, + 2614 + ], + "mapped", + [ + 2616, + 2620 + ] + ], + [ + [ + 2615, + 2615 + ], + "disallowed" + ], + [ + [ + 2616, + 2617 + ], + "valid" + ], + [ + [ + 2618, + 2619 + ], + "disallowed" + ], + [ + [ + 2620, + 2620 + ], + "valid" + ], + [ + [ + 2621, + 2621 + ], + "disallowed" + ], + [ + [ + 2622, + 2626 + ], + "valid" + ], + [ + [ + 2627, + 2630 + ], + "disallowed" + ], + [ + [ + 2631, + 2632 + ], + "valid" + ], + [ + [ + 2633, + 2634 + ], + "disallowed" + ], + [ + [ + 2635, + 2637 + ], + "valid" + ], + [ + [ + 2638, + 2640 + ], + "disallowed" + ], + [ + [ + 2641, + 2641 + ], + "valid" + ], + [ + [ + 2642, + 2648 + ], + "disallowed" + ], + [ + [ + 2649, + 2649 + ], + "mapped", + [ + 2582, + 2620 + ] + ], + [ + [ + 2650, + 2650 + ], + "mapped", + [ + 2583, + 2620 + ] + ], + [ + [ + 2651, + 2651 + ], + "mapped", + [ + 2588, + 2620 + ] + ], + [ + [ + 2652, + 2652 + ], + "valid" + ], + [ + [ + 2653, + 2653 + ], + "disallowed" + ], + [ + [ + 2654, + 2654 + ], + "mapped", + [ + 2603, + 2620 + ] + ], + [ + [ + 2655, + 2661 + ], + "disallowed" + ], + [ + [ + 2662, + 2676 + ], + "valid" + ], + [ + [ + 2677, + 2677 + ], + "valid" + ], + [ + [ + 2678, + 2688 + ], + "disallowed" + ], + [ + [ + 2689, + 2691 + ], + "valid" + ], + [ + [ + 2692, + 2692 + ], + "disallowed" + ], + [ + [ + 2693, + 2699 + ], + "valid" + ], + [ + [ + 2700, + 2700 + ], + "valid" + ], + [ + [ + 2701, + 2701 + ], + "valid" + ], + [ + [ + 2702, + 2702 + ], + "disallowed" + ], + [ + [ + 2703, + 2705 + ], + "valid" + ], + [ + [ + 2706, + 2706 + ], + "disallowed" + ], + [ + [ + 2707, + 2728 + ], + "valid" + ], + [ + [ + 2729, + 2729 + ], + "disallowed" + ], + [ + [ + 2730, + 2736 + ], + "valid" + ], + [ + [ + 2737, + 2737 + ], + "disallowed" + ], + [ + [ + 2738, + 2739 + ], + "valid" + ], + [ + [ + 2740, + 2740 + ], + "disallowed" + ], + [ + [ + 2741, + 2745 + ], + "valid" + ], + [ + [ + 2746, + 2747 + ], + "disallowed" + ], + [ + [ + 2748, + 2757 + ], + "valid" + ], + [ + [ + 2758, + 2758 + ], + "disallowed" + ], + [ + [ + 2759, + 2761 + ], + "valid" + ], + [ + [ + 2762, + 2762 + ], + "disallowed" + ], + [ + [ + 2763, + 2765 + ], + "valid" + ], + [ + [ + 2766, + 2767 + ], + "disallowed" + ], + [ + [ + 2768, + 2768 + ], + "valid" + ], + [ + [ + 2769, + 2783 + ], + "disallowed" + ], + [ + [ + 2784, + 2784 + ], + "valid" + ], + [ + [ + 2785, + 2787 + ], + "valid" + ], + [ + [ + 2788, + 2789 + ], + "disallowed" + ], + [ + [ + 2790, + 2799 + ], + "valid" + ], + [ + [ + 2800, + 2800 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2801, + 2801 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2802, + 2808 + ], + "disallowed" + ], + [ + [ + 2809, + 2809 + ], + "valid" + ], + [ + [ + 2810, + 2816 + ], + "disallowed" + ], + [ + [ + 2817, + 2819 + ], + "valid" + ], + [ + [ + 2820, + 2820 + ], + "disallowed" + ], + [ + [ + 2821, + 2828 + ], + "valid" + ], + [ + [ + 2829, + 2830 + ], + "disallowed" + ], + [ + [ + 2831, + 2832 + ], + "valid" + ], + [ + [ + 2833, + 2834 + ], + "disallowed" + ], + [ + [ + 2835, + 2856 + ], + "valid" + ], + [ + [ + 2857, + 2857 + ], + "disallowed" + ], + [ + [ + 2858, + 2864 + ], + "valid" + ], + [ + [ + 2865, + 2865 + ], + "disallowed" + ], + [ + [ + 2866, + 2867 + ], + "valid" + ], + [ + [ + 2868, + 2868 + ], + "disallowed" + ], + [ + [ + 2869, + 2869 + ], + "valid" + ], + [ + [ + 2870, + 2873 + ], + "valid" + ], + [ + [ + 2874, + 2875 + ], + "disallowed" + ], + [ + [ + 2876, + 2883 + ], + "valid" + ], + [ + [ + 2884, + 2884 + ], + "valid" + ], + [ + [ + 2885, + 2886 + ], + "disallowed" + ], + [ + [ + 2887, + 2888 + ], + "valid" + ], + [ + [ + 2889, + 2890 + ], + "disallowed" + ], + [ + [ + 2891, + 2893 + ], + "valid" + ], + [ + [ + 2894, + 2901 + ], + "disallowed" + ], + [ + [ + 2902, + 2903 + ], + "valid" + ], + [ + [ + 2904, + 2907 + ], + "disallowed" + ], + [ + [ + 2908, + 2908 + ], + "mapped", + [ + 2849, + 2876 + ] + ], + [ + [ + 2909, + 2909 + ], + "mapped", + [ + 2850, + 2876 + ] + ], + [ + [ + 2910, + 2910 + ], + "disallowed" + ], + [ + [ + 2911, + 2913 + ], + "valid" + ], + [ + [ + 2914, + 2915 + ], + "valid" + ], + [ + [ + 2916, + 2917 + ], + "disallowed" + ], + [ + [ + 2918, + 2927 + ], + "valid" + ], + [ + [ + 2928, + 2928 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2929, + 2929 + ], + "valid" + ], + [ + [ + 2930, + 2935 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 2936, + 2945 + ], + "disallowed" + ], + [ + [ + 2946, + 2947 + ], + "valid" + ], + [ + [ + 2948, + 2948 + ], + "disallowed" + ], + [ + [ + 2949, + 2954 + ], + "valid" + ], + [ + [ + 2955, + 2957 + ], + "disallowed" + ], + [ + [ + 2958, + 2960 + ], + "valid" + ], + [ + [ + 2961, + 2961 + ], + "disallowed" + ], + [ + [ + 2962, + 2965 + ], + "valid" + ], + [ + [ + 2966, + 2968 + ], + "disallowed" + ], + [ + [ + 2969, + 2970 + ], + "valid" + ], + [ + [ + 2971, + 2971 + ], + "disallowed" + ], + [ + [ + 2972, + 2972 + ], + "valid" + ], + [ + [ + 2973, + 2973 + ], + "disallowed" + ], + [ + [ + 2974, + 2975 + ], + "valid" + ], + [ + [ + 2976, + 2978 + ], + "disallowed" + ], + [ + [ + 2979, + 2980 + ], + "valid" + ], + [ + [ + 2981, + 2983 + ], + "disallowed" + ], + [ + [ + 2984, + 2986 + ], + "valid" + ], + [ + [ + 2987, + 2989 + ], + "disallowed" + ], + [ + [ + 2990, + 2997 + ], + "valid" + ], + [ + [ + 2998, + 2998 + ], + "valid" + ], + [ + [ + 2999, + 3001 + ], + "valid" + ], + [ + [ + 3002, + 3005 + ], + "disallowed" + ], + [ + [ + 3006, + 3010 + ], + "valid" + ], + [ + [ + 3011, + 3013 + ], + "disallowed" + ], + [ + [ + 3014, + 3016 + ], + "valid" + ], + [ + [ + 3017, + 3017 + ], + "disallowed" + ], + [ + [ + 3018, + 3021 + ], + "valid" + ], + [ + [ + 3022, + 3023 + ], + "disallowed" + ], + [ + [ + 3024, + 3024 + ], + "valid" + ], + [ + [ + 3025, + 3030 + ], + "disallowed" + ], + [ + [ + 3031, + 3031 + ], + "valid" + ], + [ + [ + 3032, + 3045 + ], + "disallowed" + ], + [ + [ + 3046, + 3046 + ], + "valid" + ], + [ + [ + 3047, + 3055 + ], + "valid" + ], + [ + [ + 3056, + 3058 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3059, + 3066 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3067, + 3071 + ], + "disallowed" + ], + [ + [ + 3072, + 3072 + ], + "valid" + ], + [ + [ + 3073, + 3075 + ], + "valid" + ], + [ + [ + 3076, + 3076 + ], + "disallowed" + ], + [ + [ + 3077, + 3084 + ], + "valid" + ], + [ + [ + 3085, + 3085 + ], + "disallowed" + ], + [ + [ + 3086, + 3088 + ], + "valid" + ], + [ + [ + 3089, + 3089 + ], + "disallowed" + ], + [ + [ + 3090, + 3112 + ], + "valid" + ], + [ + [ + 3113, + 3113 + ], + "disallowed" + ], + [ + [ + 3114, + 3123 + ], + "valid" + ], + [ + [ + 3124, + 3124 + ], + "valid" + ], + [ + [ + 3125, + 3129 + ], + "valid" + ], + [ + [ + 3130, + 3132 + ], + "disallowed" + ], + [ + [ + 3133, + 3133 + ], + "valid" + ], + [ + [ + 3134, + 3140 + ], + "valid" + ], + [ + [ + 3141, + 3141 + ], + "disallowed" + ], + [ + [ + 3142, + 3144 + ], + "valid" + ], + [ + [ + 3145, + 3145 + ], + "disallowed" + ], + [ + [ + 3146, + 3149 + ], + "valid" + ], + [ + [ + 3150, + 3156 + ], + "disallowed" + ], + [ + [ + 3157, + 3158 + ], + "valid" + ], + [ + [ + 3159, + 3159 + ], + "disallowed" + ], + [ + [ + 3160, + 3161 + ], + "valid" + ], + [ + [ + 3162, + 3162 + ], + "valid" + ], + [ + [ + 3163, + 3167 + ], + "disallowed" + ], + [ + [ + 3168, + 3169 + ], + "valid" + ], + [ + [ + 3170, + 3171 + ], + "valid" + ], + [ + [ + 3172, + 3173 + ], + "disallowed" + ], + [ + [ + 3174, + 3183 + ], + "valid" + ], + [ + [ + 3184, + 3191 + ], + "disallowed" + ], + [ + [ + 3192, + 3199 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3200, + 3200 + ], + "disallowed" + ], + [ + [ + 3201, + 3201 + ], + "valid" + ], + [ + [ + 3202, + 3203 + ], + "valid" + ], + [ + [ + 3204, + 3204 + ], + "disallowed" + ], + [ + [ + 3205, + 3212 + ], + "valid" + ], + [ + [ + 3213, + 3213 + ], + "disallowed" + ], + [ + [ + 3214, + 3216 + ], + "valid" + ], + [ + [ + 3217, + 3217 + ], + "disallowed" + ], + [ + [ + 3218, + 3240 + ], + "valid" + ], + [ + [ + 3241, + 3241 + ], + "disallowed" + ], + [ + [ + 3242, + 3251 + ], + "valid" + ], + [ + [ + 3252, + 3252 + ], + "disallowed" + ], + [ + [ + 3253, + 3257 + ], + "valid" + ], + [ + [ + 3258, + 3259 + ], + "disallowed" + ], + [ + [ + 3260, + 3261 + ], + "valid" + ], + [ + [ + 3262, + 3268 + ], + "valid" + ], + [ + [ + 3269, + 3269 + ], + "disallowed" + ], + [ + [ + 3270, + 3272 + ], + "valid" + ], + [ + [ + 3273, + 3273 + ], + "disallowed" + ], + [ + [ + 3274, + 3277 + ], + "valid" + ], + [ + [ + 3278, + 3284 + ], + "disallowed" + ], + [ + [ + 3285, + 3286 + ], + "valid" + ], + [ + [ + 3287, + 3293 + ], + "disallowed" + ], + [ + [ + 3294, + 3294 + ], + "valid" + ], + [ + [ + 3295, + 3295 + ], + "disallowed" + ], + [ + [ + 3296, + 3297 + ], + "valid" + ], + [ + [ + 3298, + 3299 + ], + "valid" + ], + [ + [ + 3300, + 3301 + ], + "disallowed" + ], + [ + [ + 3302, + 3311 + ], + "valid" + ], + [ + [ + 3312, + 3312 + ], + "disallowed" + ], + [ + [ + 3313, + 3314 + ], + "valid" + ], + [ + [ + 3315, + 3328 + ], + "disallowed" + ], + [ + [ + 3329, + 3329 + ], + "valid" + ], + [ + [ + 3330, + 3331 + ], + "valid" + ], + [ + [ + 3332, + 3332 + ], + "disallowed" + ], + [ + [ + 3333, + 3340 + ], + "valid" + ], + [ + [ + 3341, + 3341 + ], + "disallowed" + ], + [ + [ + 3342, + 3344 + ], + "valid" + ], + [ + [ + 3345, + 3345 + ], + "disallowed" + ], + [ + [ + 3346, + 3368 + ], + "valid" + ], + [ + [ + 3369, + 3369 + ], + "valid" + ], + [ + [ + 3370, + 3385 + ], + "valid" + ], + [ + [ + 3386, + 3386 + ], + "valid" + ], + [ + [ + 3387, + 3388 + ], + "disallowed" + ], + [ + [ + 3389, + 3389 + ], + "valid" + ], + [ + [ + 3390, + 3395 + ], + "valid" + ], + [ + [ + 3396, + 3396 + ], + "valid" + ], + [ + [ + 3397, + 3397 + ], + "disallowed" + ], + [ + [ + 3398, + 3400 + ], + "valid" + ], + [ + [ + 3401, + 3401 + ], + "disallowed" + ], + [ + [ + 3402, + 3405 + ], + "valid" + ], + [ + [ + 3406, + 3406 + ], + "valid" + ], + [ + [ + 3407, + 3414 + ], + "disallowed" + ], + [ + [ + 3415, + 3415 + ], + "valid" + ], + [ + [ + 3416, + 3422 + ], + "disallowed" + ], + [ + [ + 3423, + 3423 + ], + "valid" + ], + [ + [ + 3424, + 3425 + ], + "valid" + ], + [ + [ + 3426, + 3427 + ], + "valid" + ], + [ + [ + 3428, + 3429 + ], + "disallowed" + ], + [ + [ + 3430, + 3439 + ], + "valid" + ], + [ + [ + 3440, + 3445 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3446, + 3448 + ], + "disallowed" + ], + [ + [ + 3449, + 3449 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3450, + 3455 + ], + "valid" + ], + [ + [ + 3456, + 3457 + ], + "disallowed" + ], + [ + [ + 3458, + 3459 + ], + "valid" + ], + [ + [ + 3460, + 3460 + ], + "disallowed" + ], + [ + [ + 3461, + 3478 + ], + "valid" + ], + [ + [ + 3479, + 3481 + ], + "disallowed" + ], + [ + [ + 3482, + 3505 + ], + "valid" + ], + [ + [ + 3506, + 3506 + ], + "disallowed" + ], + [ + [ + 3507, + 3515 + ], + "valid" + ], + [ + [ + 3516, + 3516 + ], + "disallowed" + ], + [ + [ + 3517, + 3517 + ], + "valid" + ], + [ + [ + 3518, + 3519 + ], + "disallowed" + ], + [ + [ + 3520, + 3526 + ], + "valid" + ], + [ + [ + 3527, + 3529 + ], + "disallowed" + ], + [ + [ + 3530, + 3530 + ], + "valid" + ], + [ + [ + 3531, + 3534 + ], + "disallowed" + ], + [ + [ + 3535, + 3540 + ], + "valid" + ], + [ + [ + 3541, + 3541 + ], + "disallowed" + ], + [ + [ + 3542, + 3542 + ], + "valid" + ], + [ + [ + 3543, + 3543 + ], + "disallowed" + ], + [ + [ + 3544, + 3551 + ], + "valid" + ], + [ + [ + 3552, + 3557 + ], + "disallowed" + ], + [ + [ + 3558, + 3567 + ], + "valid" + ], + [ + [ + 3568, + 3569 + ], + "disallowed" + ], + [ + [ + 3570, + 3571 + ], + "valid" + ], + [ + [ + 3572, + 3572 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3573, + 3584 + ], + "disallowed" + ], + [ + [ + 3585, + 3634 + ], + "valid" + ], + [ + [ + 3635, + 3635 + ], + "mapped", + [ + 3661, + 3634 + ] + ], + [ + [ + 3636, + 3642 + ], + "valid" + ], + [ + [ + 3643, + 3646 + ], + "disallowed" + ], + [ + [ + 3647, + 3647 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3648, + 3662 + ], + "valid" + ], + [ + [ + 3663, + 3663 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3664, + 3673 + ], + "valid" + ], + [ + [ + 3674, + 3675 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3676, + 3712 + ], + "disallowed" + ], + [ + [ + 3713, + 3714 + ], + "valid" + ], + [ + [ + 3715, + 3715 + ], + "disallowed" + ], + [ + [ + 3716, + 3716 + ], + "valid" + ], + [ + [ + 3717, + 3718 + ], + "disallowed" + ], + [ + [ + 3719, + 3720 + ], + "valid" + ], + [ + [ + 3721, + 3721 + ], + "disallowed" + ], + [ + [ + 3722, + 3722 + ], + "valid" + ], + [ + [ + 3723, + 3724 + ], + "disallowed" + ], + [ + [ + 3725, + 3725 + ], + "valid" + ], + [ + [ + 3726, + 3731 + ], + "disallowed" + ], + [ + [ + 3732, + 3735 + ], + "valid" + ], + [ + [ + 3736, + 3736 + ], + "disallowed" + ], + [ + [ + 3737, + 3743 + ], + "valid" + ], + [ + [ + 3744, + 3744 + ], + "disallowed" + ], + [ + [ + 3745, + 3747 + ], + "valid" + ], + [ + [ + 3748, + 3748 + ], + "disallowed" + ], + [ + [ + 3749, + 3749 + ], + "valid" + ], + [ + [ + 3750, + 3750 + ], + "disallowed" + ], + [ + [ + 3751, + 3751 + ], + "valid" + ], + [ + [ + 3752, + 3753 + ], + "disallowed" + ], + [ + [ + 3754, + 3755 + ], + "valid" + ], + [ + [ + 3756, + 3756 + ], + "disallowed" + ], + [ + [ + 3757, + 3762 + ], + "valid" + ], + [ + [ + 3763, + 3763 + ], + "mapped", + [ + 3789, + 3762 + ] + ], + [ + [ + 3764, + 3769 + ], + "valid" + ], + [ + [ + 3770, + 3770 + ], + "disallowed" + ], + [ + [ + 3771, + 3773 + ], + "valid" + ], + [ + [ + 3774, + 3775 + ], + "disallowed" + ], + [ + [ + 3776, + 3780 + ], + "valid" + ], + [ + [ + 3781, + 3781 + ], + "disallowed" + ], + [ + [ + 3782, + 3782 + ], + "valid" + ], + [ + [ + 3783, + 3783 + ], + "disallowed" + ], + [ + [ + 3784, + 3789 + ], + "valid" + ], + [ + [ + 3790, + 3791 + ], + "disallowed" + ], + [ + [ + 3792, + 3801 + ], + "valid" + ], + [ + [ + 3802, + 3803 + ], + "disallowed" + ], + [ + [ + 3804, + 3804 + ], + "mapped", + [ + 3755, + 3737 + ] + ], + [ + [ + 3805, + 3805 + ], + "mapped", + [ + 3755, + 3745 + ] + ], + [ + [ + 3806, + 3807 + ], + "valid" + ], + [ + [ + 3808, + 3839 + ], + "disallowed" + ], + [ + [ + 3840, + 3840 + ], + "valid" + ], + [ + [ + 3841, + 3850 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3851, + 3851 + ], + "valid" + ], + [ + [ + 3852, + 3852 + ], + "mapped", + [ + 3851 + ] + ], + [ + [ + 3853, + 3863 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3864, + 3865 + ], + "valid" + ], + [ + [ + 3866, + 3871 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3872, + 3881 + ], + "valid" + ], + [ + [ + 3882, + 3892 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3893, + 3893 + ], + "valid" + ], + [ + [ + 3894, + 3894 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3895, + 3895 + ], + "valid" + ], + [ + [ + 3896, + 3896 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3897, + 3897 + ], + "valid" + ], + [ + [ + 3898, + 3901 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3902, + 3906 + ], + "valid" + ], + [ + [ + 3907, + 3907 + ], + "mapped", + [ + 3906, + 4023 + ] + ], + [ + [ + 3908, + 3911 + ], + "valid" + ], + [ + [ + 3912, + 3912 + ], + "disallowed" + ], + [ + [ + 3913, + 3916 + ], + "valid" + ], + [ + [ + 3917, + 3917 + ], + "mapped", + [ + 3916, + 4023 + ] + ], + [ + [ + 3918, + 3921 + ], + "valid" + ], + [ + [ + 3922, + 3922 + ], + "mapped", + [ + 3921, + 4023 + ] + ], + [ + [ + 3923, + 3926 + ], + "valid" + ], + [ + [ + 3927, + 3927 + ], + "mapped", + [ + 3926, + 4023 + ] + ], + [ + [ + 3928, + 3931 + ], + "valid" + ], + [ + [ + 3932, + 3932 + ], + "mapped", + [ + 3931, + 4023 + ] + ], + [ + [ + 3933, + 3944 + ], + "valid" + ], + [ + [ + 3945, + 3945 + ], + "mapped", + [ + 3904, + 4021 + ] + ], + [ + [ + 3946, + 3946 + ], + "valid" + ], + [ + [ + 3947, + 3948 + ], + "valid" + ], + [ + [ + 3949, + 3952 + ], + "disallowed" + ], + [ + [ + 3953, + 3954 + ], + "valid" + ], + [ + [ + 3955, + 3955 + ], + "mapped", + [ + 3953, + 3954 + ] + ], + [ + [ + 3956, + 3956 + ], + "valid" + ], + [ + [ + 3957, + 3957 + ], + "mapped", + [ + 3953, + 3956 + ] + ], + [ + [ + 3958, + 3958 + ], + "mapped", + [ + 4018, + 3968 + ] + ], + [ + [ + 3959, + 3959 + ], + "mapped", + [ + 4018, + 3953, + 3968 + ] + ], + [ + [ + 3960, + 3960 + ], + "mapped", + [ + 4019, + 3968 + ] + ], + [ + [ + 3961, + 3961 + ], + "mapped", + [ + 4019, + 3953, + 3968 + ] + ], + [ + [ + 3962, + 3968 + ], + "valid" + ], + [ + [ + 3969, + 3969 + ], + "mapped", + [ + 3953, + 3968 + ] + ], + [ + [ + 3970, + 3972 + ], + "valid" + ], + [ + [ + 3973, + 3973 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 3974, + 3979 + ], + "valid" + ], + [ + [ + 3980, + 3983 + ], + "valid" + ], + [ + [ + 3984, + 3986 + ], + "valid" + ], + [ + [ + 3987, + 3987 + ], + "mapped", + [ + 3986, + 4023 + ] + ], + [ + [ + 3988, + 3989 + ], + "valid" + ], + [ + [ + 3990, + 3990 + ], + "valid" + ], + [ + [ + 3991, + 3991 + ], + "valid" + ], + [ + [ + 3992, + 3992 + ], + "disallowed" + ], + [ + [ + 3993, + 3996 + ], + "valid" + ], + [ + [ + 3997, + 3997 + ], + "mapped", + [ + 3996, + 4023 + ] + ], + [ + [ + 3998, + 4001 + ], + "valid" + ], + [ + [ + 4002, + 4002 + ], + "mapped", + [ + 4001, + 4023 + ] + ], + [ + [ + 4003, + 4006 + ], + "valid" + ], + [ + [ + 4007, + 4007 + ], + "mapped", + [ + 4006, + 4023 + ] + ], + [ + [ + 4008, + 4011 + ], + "valid" + ], + [ + [ + 4012, + 4012 + ], + "mapped", + [ + 4011, + 4023 + ] + ], + [ + [ + 4013, + 4013 + ], + "valid" + ], + [ + [ + 4014, + 4016 + ], + "valid" + ], + [ + [ + 4017, + 4023 + ], + "valid" + ], + [ + [ + 4024, + 4024 + ], + "valid" + ], + [ + [ + 4025, + 4025 + ], + "mapped", + [ + 3984, + 4021 + ] + ], + [ + [ + 4026, + 4028 + ], + "valid" + ], + [ + [ + 4029, + 4029 + ], + "disallowed" + ], + [ + [ + 4030, + 4037 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4038, + 4038 + ], + "valid" + ], + [ + [ + 4039, + 4044 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4045, + 4045 + ], + "disallowed" + ], + [ + [ + 4046, + 4046 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4047, + 4047 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4048, + 4049 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4050, + 4052 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4053, + 4056 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4057, + 4058 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4059, + 4095 + ], + "disallowed" + ], + [ + [ + 4096, + 4129 + ], + "valid" + ], + [ + [ + 4130, + 4130 + ], + "valid" + ], + [ + [ + 4131, + 4135 + ], + "valid" + ], + [ + [ + 4136, + 4136 + ], + "valid" + ], + [ + [ + 4137, + 4138 + ], + "valid" + ], + [ + [ + 4139, + 4139 + ], + "valid" + ], + [ + [ + 4140, + 4146 + ], + "valid" + ], + [ + [ + 4147, + 4149 + ], + "valid" + ], + [ + [ + 4150, + 4153 + ], + "valid" + ], + [ + [ + 4154, + 4159 + ], + "valid" + ], + [ + [ + 4160, + 4169 + ], + "valid" + ], + [ + [ + 4170, + 4175 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4176, + 4185 + ], + "valid" + ], + [ + [ + 4186, + 4249 + ], + "valid" + ], + [ + [ + 4250, + 4253 + ], + "valid" + ], + [ + [ + 4254, + 4255 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4256, + 4293 + ], + "disallowed" + ], + [ + [ + 4294, + 4294 + ], + "disallowed" + ], + [ + [ + 4295, + 4295 + ], + "mapped", + [ + 11559 + ] + ], + [ + [ + 4296, + 4300 + ], + "disallowed" + ], + [ + [ + 4301, + 4301 + ], + "mapped", + [ + 11565 + ] + ], + [ + [ + 4302, + 4303 + ], + "disallowed" + ], + [ + [ + 4304, + 4342 + ], + "valid" + ], + [ + [ + 4343, + 4344 + ], + "valid" + ], + [ + [ + 4345, + 4346 + ], + "valid" + ], + [ + [ + 4347, + 4347 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4348, + 4348 + ], + "mapped", + [ + 4316 + ] + ], + [ + [ + 4349, + 4351 + ], + "valid" + ], + [ + [ + 4352, + 4441 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4442, + 4446 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4447, + 4448 + ], + "disallowed" + ], + [ + [ + 4449, + 4514 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4515, + 4519 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4520, + 4601 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4602, + 4607 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4608, + 4614 + ], + "valid" + ], + [ + [ + 4615, + 4615 + ], + "valid" + ], + [ + [ + 4616, + 4678 + ], + "valid" + ], + [ + [ + 4679, + 4679 + ], + "valid" + ], + [ + [ + 4680, + 4680 + ], + "valid" + ], + [ + [ + 4681, + 4681 + ], + "disallowed" + ], + [ + [ + 4682, + 4685 + ], + "valid" + ], + [ + [ + 4686, + 4687 + ], + "disallowed" + ], + [ + [ + 4688, + 4694 + ], + "valid" + ], + [ + [ + 4695, + 4695 + ], + "disallowed" + ], + [ + [ + 4696, + 4696 + ], + "valid" + ], + [ + [ + 4697, + 4697 + ], + "disallowed" + ], + [ + [ + 4698, + 4701 + ], + "valid" + ], + [ + [ + 4702, + 4703 + ], + "disallowed" + ], + [ + [ + 4704, + 4742 + ], + "valid" + ], + [ + [ + 4743, + 4743 + ], + "valid" + ], + [ + [ + 4744, + 4744 + ], + "valid" + ], + [ + [ + 4745, + 4745 + ], + "disallowed" + ], + [ + [ + 4746, + 4749 + ], + "valid" + ], + [ + [ + 4750, + 4751 + ], + "disallowed" + ], + [ + [ + 4752, + 4782 + ], + "valid" + ], + [ + [ + 4783, + 4783 + ], + "valid" + ], + [ + [ + 4784, + 4784 + ], + "valid" + ], + [ + [ + 4785, + 4785 + ], + "disallowed" + ], + [ + [ + 4786, + 4789 + ], + "valid" + ], + [ + [ + 4790, + 4791 + ], + "disallowed" + ], + [ + [ + 4792, + 4798 + ], + "valid" + ], + [ + [ + 4799, + 4799 + ], + "disallowed" + ], + [ + [ + 4800, + 4800 + ], + "valid" + ], + [ + [ + 4801, + 4801 + ], + "disallowed" + ], + [ + [ + 4802, + 4805 + ], + "valid" + ], + [ + [ + 4806, + 4807 + ], + "disallowed" + ], + [ + [ + 4808, + 4814 + ], + "valid" + ], + [ + [ + 4815, + 4815 + ], + "valid" + ], + [ + [ + 4816, + 4822 + ], + "valid" + ], + [ + [ + 4823, + 4823 + ], + "disallowed" + ], + [ + [ + 4824, + 4846 + ], + "valid" + ], + [ + [ + 4847, + 4847 + ], + "valid" + ], + [ + [ + 4848, + 4878 + ], + "valid" + ], + [ + [ + 4879, + 4879 + ], + "valid" + ], + [ + [ + 4880, + 4880 + ], + "valid" + ], + [ + [ + 4881, + 4881 + ], + "disallowed" + ], + [ + [ + 4882, + 4885 + ], + "valid" + ], + [ + [ + 4886, + 4887 + ], + "disallowed" + ], + [ + [ + 4888, + 4894 + ], + "valid" + ], + [ + [ + 4895, + 4895 + ], + "valid" + ], + [ + [ + 4896, + 4934 + ], + "valid" + ], + [ + [ + 4935, + 4935 + ], + "valid" + ], + [ + [ + 4936, + 4954 + ], + "valid" + ], + [ + [ + 4955, + 4956 + ], + "disallowed" + ], + [ + [ + 4957, + 4958 + ], + "valid" + ], + [ + [ + 4959, + 4959 + ], + "valid" + ], + [ + [ + 4960, + 4960 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4961, + 4988 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 4989, + 4991 + ], + "disallowed" + ], + [ + [ + 4992, + 5007 + ], + "valid" + ], + [ + [ + 5008, + 5017 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5018, + 5023 + ], + "disallowed" + ], + [ + [ + 5024, + 5108 + ], + "valid" + ], + [ + [ + 5109, + 5109 + ], + "valid" + ], + [ + [ + 5110, + 5111 + ], + "disallowed" + ], + [ + [ + 5112, + 5112 + ], + "mapped", + [ + 5104 + ] + ], + [ + [ + 5113, + 5113 + ], + "mapped", + [ + 5105 + ] + ], + [ + [ + 5114, + 5114 + ], + "mapped", + [ + 5106 + ] + ], + [ + [ + 5115, + 5115 + ], + "mapped", + [ + 5107 + ] + ], + [ + [ + 5116, + 5116 + ], + "mapped", + [ + 5108 + ] + ], + [ + [ + 5117, + 5117 + ], + "mapped", + [ + 5109 + ] + ], + [ + [ + 5118, + 5119 + ], + "disallowed" + ], + [ + [ + 5120, + 5120 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5121, + 5740 + ], + "valid" + ], + [ + [ + 5741, + 5742 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5743, + 5750 + ], + "valid" + ], + [ + [ + 5751, + 5759 + ], + "valid" + ], + [ + [ + 5760, + 5760 + ], + "disallowed" + ], + [ + [ + 5761, + 5786 + ], + "valid" + ], + [ + [ + 5787, + 5788 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5789, + 5791 + ], + "disallowed" + ], + [ + [ + 5792, + 5866 + ], + "valid" + ], + [ + [ + 5867, + 5872 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5873, + 5880 + ], + "valid" + ], + [ + [ + 5881, + 5887 + ], + "disallowed" + ], + [ + [ + 5888, + 5900 + ], + "valid" + ], + [ + [ + 5901, + 5901 + ], + "disallowed" + ], + [ + [ + 5902, + 5908 + ], + "valid" + ], + [ + [ + 5909, + 5919 + ], + "disallowed" + ], + [ + [ + 5920, + 5940 + ], + "valid" + ], + [ + [ + 5941, + 5942 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 5943, + 5951 + ], + "disallowed" + ], + [ + [ + 5952, + 5971 + ], + "valid" + ], + [ + [ + 5972, + 5983 + ], + "disallowed" + ], + [ + [ + 5984, + 5996 + ], + "valid" + ], + [ + [ + 5997, + 5997 + ], + "disallowed" + ], + [ + [ + 5998, + 6000 + ], + "valid" + ], + [ + [ + 6001, + 6001 + ], + "disallowed" + ], + [ + [ + 6002, + 6003 + ], + "valid" + ], + [ + [ + 6004, + 6015 + ], + "disallowed" + ], + [ + [ + 6016, + 6067 + ], + "valid" + ], + [ + [ + 6068, + 6069 + ], + "disallowed" + ], + [ + [ + 6070, + 6099 + ], + "valid" + ], + [ + [ + 6100, + 6102 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6103, + 6103 + ], + "valid" + ], + [ + [ + 6104, + 6107 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6108, + 6108 + ], + "valid" + ], + [ + [ + 6109, + 6109 + ], + "valid" + ], + [ + [ + 6110, + 6111 + ], + "disallowed" + ], + [ + [ + 6112, + 6121 + ], + "valid" + ], + [ + [ + 6122, + 6127 + ], + "disallowed" + ], + [ + [ + 6128, + 6137 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6138, + 6143 + ], + "disallowed" + ], + [ + [ + 6144, + 6149 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6150, + 6150 + ], + "disallowed" + ], + [ + [ + 6151, + 6154 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6155, + 6157 + ], + "ignored" + ], + [ + [ + 6158, + 6158 + ], + "disallowed" + ], + [ + [ + 6159, + 6159 + ], + "disallowed" + ], + [ + [ + 6160, + 6169 + ], + "valid" + ], + [ + [ + 6170, + 6175 + ], + "disallowed" + ], + [ + [ + 6176, + 6263 + ], + "valid" + ], + [ + [ + 6264, + 6271 + ], + "disallowed" + ], + [ + [ + 6272, + 6313 + ], + "valid" + ], + [ + [ + 6314, + 6314 + ], + "valid" + ], + [ + [ + 6315, + 6319 + ], + "disallowed" + ], + [ + [ + 6320, + 6389 + ], + "valid" + ], + [ + [ + 6390, + 6399 + ], + "disallowed" + ], + [ + [ + 6400, + 6428 + ], + "valid" + ], + [ + [ + 6429, + 6430 + ], + "valid" + ], + [ + [ + 6431, + 6431 + ], + "disallowed" + ], + [ + [ + 6432, + 6443 + ], + "valid" + ], + [ + [ + 6444, + 6447 + ], + "disallowed" + ], + [ + [ + 6448, + 6459 + ], + "valid" + ], + [ + [ + 6460, + 6463 + ], + "disallowed" + ], + [ + [ + 6464, + 6464 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6465, + 6467 + ], + "disallowed" + ], + [ + [ + 6468, + 6469 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6470, + 6509 + ], + "valid" + ], + [ + [ + 6510, + 6511 + ], + "disallowed" + ], + [ + [ + 6512, + 6516 + ], + "valid" + ], + [ + [ + 6517, + 6527 + ], + "disallowed" + ], + [ + [ + 6528, + 6569 + ], + "valid" + ], + [ + [ + 6570, + 6571 + ], + "valid" + ], + [ + [ + 6572, + 6575 + ], + "disallowed" + ], + [ + [ + 6576, + 6601 + ], + "valid" + ], + [ + [ + 6602, + 6607 + ], + "disallowed" + ], + [ + [ + 6608, + 6617 + ], + "valid" + ], + [ + [ + 6618, + 6618 + ], + "valid", + [ + ], + "XV8" + ], + [ + [ + 6619, + 6621 + ], + "disallowed" + ], + [ + [ + 6622, + 6623 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6624, + 6655 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6656, + 6683 + ], + "valid" + ], + [ + [ + 6684, + 6685 + ], + "disallowed" + ], + [ + [ + 6686, + 6687 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6688, + 6750 + ], + "valid" + ], + [ + [ + 6751, + 6751 + ], + "disallowed" + ], + [ + [ + 6752, + 6780 + ], + "valid" + ], + [ + [ + 6781, + 6782 + ], + "disallowed" + ], + [ + [ + 6783, + 6793 + ], + "valid" + ], + [ + [ + 6794, + 6799 + ], + "disallowed" + ], + [ + [ + 6800, + 6809 + ], + "valid" + ], + [ + [ + 6810, + 6815 + ], + "disallowed" + ], + [ + [ + 6816, + 6822 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6823, + 6823 + ], + "valid" + ], + [ + [ + 6824, + 6829 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6830, + 6831 + ], + "disallowed" + ], + [ + [ + 6832, + 6845 + ], + "valid" + ], + [ + [ + 6846, + 6846 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 6847, + 6911 + ], + "disallowed" + ], + [ + [ + 6912, + 6987 + ], + "valid" + ], + [ + [ + 6988, + 6991 + ], + "disallowed" + ], + [ + [ + 6992, + 7001 + ], + "valid" + ], + [ + [ + 7002, + 7018 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7019, + 7027 + ], + "valid" + ], + [ + [ + 7028, + 7036 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7037, + 7039 + ], + "disallowed" + ], + [ + [ + 7040, + 7082 + ], + "valid" + ], + [ + [ + 7083, + 7085 + ], + "valid" + ], + [ + [ + 7086, + 7097 + ], + "valid" + ], + [ + [ + 7098, + 7103 + ], + "valid" + ], + [ + [ + 7104, + 7155 + ], + "valid" + ], + [ + [ + 7156, + 7163 + ], + "disallowed" + ], + [ + [ + 7164, + 7167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7168, + 7223 + ], + "valid" + ], + [ + [ + 7224, + 7226 + ], + "disallowed" + ], + [ + [ + 7227, + 7231 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7232, + 7241 + ], + "valid" + ], + [ + [ + 7242, + 7244 + ], + "disallowed" + ], + [ + [ + 7245, + 7293 + ], + "valid" + ], + [ + [ + 7294, + 7295 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7296, + 7359 + ], + "disallowed" + ], + [ + [ + 7360, + 7367 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7368, + 7375 + ], + "disallowed" + ], + [ + [ + 7376, + 7378 + ], + "valid" + ], + [ + [ + 7379, + 7379 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 7380, + 7410 + ], + "valid" + ], + [ + [ + 7411, + 7414 + ], + "valid" + ], + [ + [ + 7415, + 7415 + ], + "disallowed" + ], + [ + [ + 7416, + 7417 + ], + "valid" + ], + [ + [ + 7418, + 7423 + ], + "disallowed" + ], + [ + [ + 7424, + 7467 + ], + "valid" + ], + [ + [ + 7468, + 7468 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 7469, + 7469 + ], + "mapped", + [ + 230 + ] + ], + [ + [ + 7470, + 7470 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 7471, + 7471 + ], + "valid" + ], + [ + [ + 7472, + 7472 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 7473, + 7473 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 7474, + 7474 + ], + "mapped", + [ + 477 + ] + ], + [ + [ + 7475, + 7475 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 7476, + 7476 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 7477, + 7477 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 7478, + 7478 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 7479, + 7479 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 7480, + 7480 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 7481, + 7481 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 7482, + 7482 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 7483, + 7483 + ], + "valid" + ], + [ + [ + 7484, + 7484 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 7485, + 7485 + ], + "mapped", + [ + 547 + ] + ], + [ + [ + 7486, + 7486 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 7487, + 7487 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 7488, + 7488 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 7489, + 7489 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 7490, + 7490 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 7491, + 7491 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 7492, + 7492 + ], + "mapped", + [ + 592 + ] + ], + [ + [ + 7493, + 7493 + ], + "mapped", + [ + 593 + ] + ], + [ + [ + 7494, + 7494 + ], + "mapped", + [ + 7426 + ] + ], + [ + [ + 7495, + 7495 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 7496, + 7496 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 7497, + 7497 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 7498, + 7498 + ], + "mapped", + [ + 601 + ] + ], + [ + [ + 7499, + 7499 + ], + "mapped", + [ + 603 + ] + ], + [ + [ + 7500, + 7500 + ], + "mapped", + [ + 604 + ] + ], + [ + [ + 7501, + 7501 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 7502, + 7502 + ], + "valid" + ], + [ + [ + 7503, + 7503 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 7504, + 7504 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 7505, + 7505 + ], + "mapped", + [ + 331 + ] + ], + [ + [ + 7506, + 7506 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 7507, + 7507 + ], + "mapped", + [ + 596 + ] + ], + [ + [ + 7508, + 7508 + ], + "mapped", + [ + 7446 + ] + ], + [ + [ + 7509, + 7509 + ], + "mapped", + [ + 7447 + ] + ], + [ + [ + 7510, + 7510 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 7511, + 7511 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 7512, + 7512 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 7513, + 7513 + ], + "mapped", + [ + 7453 + ] + ], + [ + [ + 7514, + 7514 + ], + "mapped", + [ + 623 + ] + ], + [ + [ + 7515, + 7515 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 7516, + 7516 + ], + "mapped", + [ + 7461 + ] + ], + [ + [ + 7517, + 7517 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 7518, + 7518 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 7519, + 7519 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 7520, + 7520 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 7521, + 7521 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 7522, + 7522 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 7523, + 7523 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 7524, + 7524 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 7525, + 7525 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 7526, + 7526 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 7527, + 7527 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 7528, + 7528 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 7529, + 7529 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 7530, + 7530 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 7531, + 7531 + ], + "valid" + ], + [ + [ + 7532, + 7543 + ], + "valid" + ], + [ + [ + 7544, + 7544 + ], + "mapped", + [ + 1085 + ] + ], + [ + [ + 7545, + 7578 + ], + "valid" + ], + [ + [ + 7579, + 7579 + ], + "mapped", + [ + 594 + ] + ], + [ + [ + 7580, + 7580 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 7581, + 7581 + ], + "mapped", + [ + 597 + ] + ], + [ + [ + 7582, + 7582 + ], + "mapped", + [ + 240 + ] + ], + [ + [ + 7583, + 7583 + ], + "mapped", + [ + 604 + ] + ], + [ + [ + 7584, + 7584 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 7585, + 7585 + ], + "mapped", + [ + 607 + ] + ], + [ + [ + 7586, + 7586 + ], + "mapped", + [ + 609 + ] + ], + [ + [ + 7587, + 7587 + ], + "mapped", + [ + 613 + ] + ], + [ + [ + 7588, + 7588 + ], + "mapped", + [ + 616 + ] + ], + [ + [ + 7589, + 7589 + ], + "mapped", + [ + 617 + ] + ], + [ + [ + 7590, + 7590 + ], + "mapped", + [ + 618 + ] + ], + [ + [ + 7591, + 7591 + ], + "mapped", + [ + 7547 + ] + ], + [ + [ + 7592, + 7592 + ], + "mapped", + [ + 669 + ] + ], + [ + [ + 7593, + 7593 + ], + "mapped", + [ + 621 + ] + ], + [ + [ + 7594, + 7594 + ], + "mapped", + [ + 7557 + ] + ], + [ + [ + 7595, + 7595 + ], + "mapped", + [ + 671 + ] + ], + [ + [ + 7596, + 7596 + ], + "mapped", + [ + 625 + ] + ], + [ + [ + 7597, + 7597 + ], + "mapped", + [ + 624 + ] + ], + [ + [ + 7598, + 7598 + ], + "mapped", + [ + 626 + ] + ], + [ + [ + 7599, + 7599 + ], + "mapped", + [ + 627 + ] + ], + [ + [ + 7600, + 7600 + ], + "mapped", + [ + 628 + ] + ], + [ + [ + 7601, + 7601 + ], + "mapped", + [ + 629 + ] + ], + [ + [ + 7602, + 7602 + ], + "mapped", + [ + 632 + ] + ], + [ + [ + 7603, + 7603 + ], + "mapped", + [ + 642 + ] + ], + [ + [ + 7604, + 7604 + ], + "mapped", + [ + 643 + ] + ], + [ + [ + 7605, + 7605 + ], + "mapped", + [ + 427 + ] + ], + [ + [ + 7606, + 7606 + ], + "mapped", + [ + 649 + ] + ], + [ + [ + 7607, + 7607 + ], + "mapped", + [ + 650 + ] + ], + [ + [ + 7608, + 7608 + ], + "mapped", + [ + 7452 + ] + ], + [ + [ + 7609, + 7609 + ], + "mapped", + [ + 651 + ] + ], + [ + [ + 7610, + 7610 + ], + "mapped", + [ + 652 + ] + ], + [ + [ + 7611, + 7611 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 7612, + 7612 + ], + "mapped", + [ + 656 + ] + ], + [ + [ + 7613, + 7613 + ], + "mapped", + [ + 657 + ] + ], + [ + [ + 7614, + 7614 + ], + "mapped", + [ + 658 + ] + ], + [ + [ + 7615, + 7615 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 7616, + 7619 + ], + "valid" + ], + [ + [ + 7620, + 7626 + ], + "valid" + ], + [ + [ + 7627, + 7654 + ], + "valid" + ], + [ + [ + 7655, + 7669 + ], + "valid" + ], + [ + [ + 7670, + 7675 + ], + "disallowed" + ], + [ + [ + 7676, + 7676 + ], + "valid" + ], + [ + [ + 7677, + 7677 + ], + "valid" + ], + [ + [ + 7678, + 7679 + ], + "valid" + ], + [ + [ + 7680, + 7680 + ], + "mapped", + [ + 7681 + ] + ], + [ + [ + 7681, + 7681 + ], + "valid" + ], + [ + [ + 7682, + 7682 + ], + "mapped", + [ + 7683 + ] + ], + [ + [ + 7683, + 7683 + ], + "valid" + ], + [ + [ + 7684, + 7684 + ], + "mapped", + [ + 7685 + ] + ], + [ + [ + 7685, + 7685 + ], + "valid" + ], + [ + [ + 7686, + 7686 + ], + "mapped", + [ + 7687 + ] + ], + [ + [ + 7687, + 7687 + ], + "valid" + ], + [ + [ + 7688, + 7688 + ], + "mapped", + [ + 7689 + ] + ], + [ + [ + 7689, + 7689 + ], + "valid" + ], + [ + [ + 7690, + 7690 + ], + "mapped", + [ + 7691 + ] + ], + [ + [ + 7691, + 7691 + ], + "valid" + ], + [ + [ + 7692, + 7692 + ], + "mapped", + [ + 7693 + ] + ], + [ + [ + 7693, + 7693 + ], + "valid" + ], + [ + [ + 7694, + 7694 + ], + "mapped", + [ + 7695 + ] + ], + [ + [ + 7695, + 7695 + ], + "valid" + ], + [ + [ + 7696, + 7696 + ], + "mapped", + [ + 7697 + ] + ], + [ + [ + 7697, + 7697 + ], + "valid" + ], + [ + [ + 7698, + 7698 + ], + "mapped", + [ + 7699 + ] + ], + [ + [ + 7699, + 7699 + ], + "valid" + ], + [ + [ + 7700, + 7700 + ], + "mapped", + [ + 7701 + ] + ], + [ + [ + 7701, + 7701 + ], + "valid" + ], + [ + [ + 7702, + 7702 + ], + "mapped", + [ + 7703 + ] + ], + [ + [ + 7703, + 7703 + ], + "valid" + ], + [ + [ + 7704, + 7704 + ], + "mapped", + [ + 7705 + ] + ], + [ + [ + 7705, + 7705 + ], + "valid" + ], + [ + [ + 7706, + 7706 + ], + "mapped", + [ + 7707 + ] + ], + [ + [ + 7707, + 7707 + ], + "valid" + ], + [ + [ + 7708, + 7708 + ], + "mapped", + [ + 7709 + ] + ], + [ + [ + 7709, + 7709 + ], + "valid" + ], + [ + [ + 7710, + 7710 + ], + "mapped", + [ + 7711 + ] + ], + [ + [ + 7711, + 7711 + ], + "valid" + ], + [ + [ + 7712, + 7712 + ], + "mapped", + [ + 7713 + ] + ], + [ + [ + 7713, + 7713 + ], + "valid" + ], + [ + [ + 7714, + 7714 + ], + "mapped", + [ + 7715 + ] + ], + [ + [ + 7715, + 7715 + ], + "valid" + ], + [ + [ + 7716, + 7716 + ], + "mapped", + [ + 7717 + ] + ], + [ + [ + 7717, + 7717 + ], + "valid" + ], + [ + [ + 7718, + 7718 + ], + "mapped", + [ + 7719 + ] + ], + [ + [ + 7719, + 7719 + ], + "valid" + ], + [ + [ + 7720, + 7720 + ], + "mapped", + [ + 7721 + ] + ], + [ + [ + 7721, + 7721 + ], + "valid" + ], + [ + [ + 7722, + 7722 + ], + "mapped", + [ + 7723 + ] + ], + [ + [ + 7723, + 7723 + ], + "valid" + ], + [ + [ + 7724, + 7724 + ], + "mapped", + [ + 7725 + ] + ], + [ + [ + 7725, + 7725 + ], + "valid" + ], + [ + [ + 7726, + 7726 + ], + "mapped", + [ + 7727 + ] + ], + [ + [ + 7727, + 7727 + ], + "valid" + ], + [ + [ + 7728, + 7728 + ], + "mapped", + [ + 7729 + ] + ], + [ + [ + 7729, + 7729 + ], + "valid" + ], + [ + [ + 7730, + 7730 + ], + "mapped", + [ + 7731 + ] + ], + [ + [ + 7731, + 7731 + ], + "valid" + ], + [ + [ + 7732, + 7732 + ], + "mapped", + [ + 7733 + ] + ], + [ + [ + 7733, + 7733 + ], + "valid" + ], + [ + [ + 7734, + 7734 + ], + "mapped", + [ + 7735 + ] + ], + [ + [ + 7735, + 7735 + ], + "valid" + ], + [ + [ + 7736, + 7736 + ], + "mapped", + [ + 7737 + ] + ], + [ + [ + 7737, + 7737 + ], + "valid" + ], + [ + [ + 7738, + 7738 + ], + "mapped", + [ + 7739 + ] + ], + [ + [ + 7739, + 7739 + ], + "valid" + ], + [ + [ + 7740, + 7740 + ], + "mapped", + [ + 7741 + ] + ], + [ + [ + 7741, + 7741 + ], + "valid" + ], + [ + [ + 7742, + 7742 + ], + "mapped", + [ + 7743 + ] + ], + [ + [ + 7743, + 7743 + ], + "valid" + ], + [ + [ + 7744, + 7744 + ], + "mapped", + [ + 7745 + ] + ], + [ + [ + 7745, + 7745 + ], + "valid" + ], + [ + [ + 7746, + 7746 + ], + "mapped", + [ + 7747 + ] + ], + [ + [ + 7747, + 7747 + ], + "valid" + ], + [ + [ + 7748, + 7748 + ], + "mapped", + [ + 7749 + ] + ], + [ + [ + 7749, + 7749 + ], + "valid" + ], + [ + [ + 7750, + 7750 + ], + "mapped", + [ + 7751 + ] + ], + [ + [ + 7751, + 7751 + ], + "valid" + ], + [ + [ + 7752, + 7752 + ], + "mapped", + [ + 7753 + ] + ], + [ + [ + 7753, + 7753 + ], + "valid" + ], + [ + [ + 7754, + 7754 + ], + "mapped", + [ + 7755 + ] + ], + [ + [ + 7755, + 7755 + ], + "valid" + ], + [ + [ + 7756, + 7756 + ], + "mapped", + [ + 7757 + ] + ], + [ + [ + 7757, + 7757 + ], + "valid" + ], + [ + [ + 7758, + 7758 + ], + "mapped", + [ + 7759 + ] + ], + [ + [ + 7759, + 7759 + ], + "valid" + ], + [ + [ + 7760, + 7760 + ], + "mapped", + [ + 7761 + ] + ], + [ + [ + 7761, + 7761 + ], + "valid" + ], + [ + [ + 7762, + 7762 + ], + "mapped", + [ + 7763 + ] + ], + [ + [ + 7763, + 7763 + ], + "valid" + ], + [ + [ + 7764, + 7764 + ], + "mapped", + [ + 7765 + ] + ], + [ + [ + 7765, + 7765 + ], + "valid" + ], + [ + [ + 7766, + 7766 + ], + "mapped", + [ + 7767 + ] + ], + [ + [ + 7767, + 7767 + ], + "valid" + ], + [ + [ + 7768, + 7768 + ], + "mapped", + [ + 7769 + ] + ], + [ + [ + 7769, + 7769 + ], + "valid" + ], + [ + [ + 7770, + 7770 + ], + "mapped", + [ + 7771 + ] + ], + [ + [ + 7771, + 7771 + ], + "valid" + ], + [ + [ + 7772, + 7772 + ], + "mapped", + [ + 7773 + ] + ], + [ + [ + 7773, + 7773 + ], + "valid" + ], + [ + [ + 7774, + 7774 + ], + "mapped", + [ + 7775 + ] + ], + [ + [ + 7775, + 7775 + ], + "valid" + ], + [ + [ + 7776, + 7776 + ], + "mapped", + [ + 7777 + ] + ], + [ + [ + 7777, + 7777 + ], + "valid" + ], + [ + [ + 7778, + 7778 + ], + "mapped", + [ + 7779 + ] + ], + [ + [ + 7779, + 7779 + ], + "valid" + ], + [ + [ + 7780, + 7780 + ], + "mapped", + [ + 7781 + ] + ], + [ + [ + 7781, + 7781 + ], + "valid" + ], + [ + [ + 7782, + 7782 + ], + "mapped", + [ + 7783 + ] + ], + [ + [ + 7783, + 7783 + ], + "valid" + ], + [ + [ + 7784, + 7784 + ], + "mapped", + [ + 7785 + ] + ], + [ + [ + 7785, + 7785 + ], + "valid" + ], + [ + [ + 7786, + 7786 + ], + "mapped", + [ + 7787 + ] + ], + [ + [ + 7787, + 7787 + ], + "valid" + ], + [ + [ + 7788, + 7788 + ], + "mapped", + [ + 7789 + ] + ], + [ + [ + 7789, + 7789 + ], + "valid" + ], + [ + [ + 7790, + 7790 + ], + "mapped", + [ + 7791 + ] + ], + [ + [ + 7791, + 7791 + ], + "valid" + ], + [ + [ + 7792, + 7792 + ], + "mapped", + [ + 7793 + ] + ], + [ + [ + 7793, + 7793 + ], + "valid" + ], + [ + [ + 7794, + 7794 + ], + "mapped", + [ + 7795 + ] + ], + [ + [ + 7795, + 7795 + ], + "valid" + ], + [ + [ + 7796, + 7796 + ], + "mapped", + [ + 7797 + ] + ], + [ + [ + 7797, + 7797 + ], + "valid" + ], + [ + [ + 7798, + 7798 + ], + "mapped", + [ + 7799 + ] + ], + [ + [ + 7799, + 7799 + ], + "valid" + ], + [ + [ + 7800, + 7800 + ], + "mapped", + [ + 7801 + ] + ], + [ + [ + 7801, + 7801 + ], + "valid" + ], + [ + [ + 7802, + 7802 + ], + "mapped", + [ + 7803 + ] + ], + [ + [ + 7803, + 7803 + ], + "valid" + ], + [ + [ + 7804, + 7804 + ], + "mapped", + [ + 7805 + ] + ], + [ + [ + 7805, + 7805 + ], + "valid" + ], + [ + [ + 7806, + 7806 + ], + "mapped", + [ + 7807 + ] + ], + [ + [ + 7807, + 7807 + ], + "valid" + ], + [ + [ + 7808, + 7808 + ], + "mapped", + [ + 7809 + ] + ], + [ + [ + 7809, + 7809 + ], + "valid" + ], + [ + [ + 7810, + 7810 + ], + "mapped", + [ + 7811 + ] + ], + [ + [ + 7811, + 7811 + ], + "valid" + ], + [ + [ + 7812, + 7812 + ], + "mapped", + [ + 7813 + ] + ], + [ + [ + 7813, + 7813 + ], + "valid" + ], + [ + [ + 7814, + 7814 + ], + "mapped", + [ + 7815 + ] + ], + [ + [ + 7815, + 7815 + ], + "valid" + ], + [ + [ + 7816, + 7816 + ], + "mapped", + [ + 7817 + ] + ], + [ + [ + 7817, + 7817 + ], + "valid" + ], + [ + [ + 7818, + 7818 + ], + "mapped", + [ + 7819 + ] + ], + [ + [ + 7819, + 7819 + ], + "valid" + ], + [ + [ + 7820, + 7820 + ], + "mapped", + [ + 7821 + ] + ], + [ + [ + 7821, + 7821 + ], + "valid" + ], + [ + [ + 7822, + 7822 + ], + "mapped", + [ + 7823 + ] + ], + [ + [ + 7823, + 7823 + ], + "valid" + ], + [ + [ + 7824, + 7824 + ], + "mapped", + [ + 7825 + ] + ], + [ + [ + 7825, + 7825 + ], + "valid" + ], + [ + [ + 7826, + 7826 + ], + "mapped", + [ + 7827 + ] + ], + [ + [ + 7827, + 7827 + ], + "valid" + ], + [ + [ + 7828, + 7828 + ], + "mapped", + [ + 7829 + ] + ], + [ + [ + 7829, + 7833 + ], + "valid" + ], + [ + [ + 7834, + 7834 + ], + "mapped", + [ + 97, + 702 + ] + ], + [ + [ + 7835, + 7835 + ], + "mapped", + [ + 7777 + ] + ], + [ + [ + 7836, + 7837 + ], + "valid" + ], + [ + [ + 7838, + 7838 + ], + "mapped", + [ + 115, + 115 + ] + ], + [ + [ + 7839, + 7839 + ], + "valid" + ], + [ + [ + 7840, + 7840 + ], + "mapped", + [ + 7841 + ] + ], + [ + [ + 7841, + 7841 + ], + "valid" + ], + [ + [ + 7842, + 7842 + ], + "mapped", + [ + 7843 + ] + ], + [ + [ + 7843, + 7843 + ], + "valid" + ], + [ + [ + 7844, + 7844 + ], + "mapped", + [ + 7845 + ] + ], + [ + [ + 7845, + 7845 + ], + "valid" + ], + [ + [ + 7846, + 7846 + ], + "mapped", + [ + 7847 + ] + ], + [ + [ + 7847, + 7847 + ], + "valid" + ], + [ + [ + 7848, + 7848 + ], + "mapped", + [ + 7849 + ] + ], + [ + [ + 7849, + 7849 + ], + "valid" + ], + [ + [ + 7850, + 7850 + ], + "mapped", + [ + 7851 + ] + ], + [ + [ + 7851, + 7851 + ], + "valid" + ], + [ + [ + 7852, + 7852 + ], + "mapped", + [ + 7853 + ] + ], + [ + [ + 7853, + 7853 + ], + "valid" + ], + [ + [ + 7854, + 7854 + ], + "mapped", + [ + 7855 + ] + ], + [ + [ + 7855, + 7855 + ], + "valid" + ], + [ + [ + 7856, + 7856 + ], + "mapped", + [ + 7857 + ] + ], + [ + [ + 7857, + 7857 + ], + "valid" + ], + [ + [ + 7858, + 7858 + ], + "mapped", + [ + 7859 + ] + ], + [ + [ + 7859, + 7859 + ], + "valid" + ], + [ + [ + 7860, + 7860 + ], + "mapped", + [ + 7861 + ] + ], + [ + [ + 7861, + 7861 + ], + "valid" + ], + [ + [ + 7862, + 7862 + ], + "mapped", + [ + 7863 + ] + ], + [ + [ + 7863, + 7863 + ], + "valid" + ], + [ + [ + 7864, + 7864 + ], + "mapped", + [ + 7865 + ] + ], + [ + [ + 7865, + 7865 + ], + "valid" + ], + [ + [ + 7866, + 7866 + ], + "mapped", + [ + 7867 + ] + ], + [ + [ + 7867, + 7867 + ], + "valid" + ], + [ + [ + 7868, + 7868 + ], + "mapped", + [ + 7869 + ] + ], + [ + [ + 7869, + 7869 + ], + "valid" + ], + [ + [ + 7870, + 7870 + ], + "mapped", + [ + 7871 + ] + ], + [ + [ + 7871, + 7871 + ], + "valid" + ], + [ + [ + 7872, + 7872 + ], + "mapped", + [ + 7873 + ] + ], + [ + [ + 7873, + 7873 + ], + "valid" + ], + [ + [ + 7874, + 7874 + ], + "mapped", + [ + 7875 + ] + ], + [ + [ + 7875, + 7875 + ], + "valid" + ], + [ + [ + 7876, + 7876 + ], + "mapped", + [ + 7877 + ] + ], + [ + [ + 7877, + 7877 + ], + "valid" + ], + [ + [ + 7878, + 7878 + ], + "mapped", + [ + 7879 + ] + ], + [ + [ + 7879, + 7879 + ], + "valid" + ], + [ + [ + 7880, + 7880 + ], + "mapped", + [ + 7881 + ] + ], + [ + [ + 7881, + 7881 + ], + "valid" + ], + [ + [ + 7882, + 7882 + ], + "mapped", + [ + 7883 + ] + ], + [ + [ + 7883, + 7883 + ], + "valid" + ], + [ + [ + 7884, + 7884 + ], + "mapped", + [ + 7885 + ] + ], + [ + [ + 7885, + 7885 + ], + "valid" + ], + [ + [ + 7886, + 7886 + ], + "mapped", + [ + 7887 + ] + ], + [ + [ + 7887, + 7887 + ], + "valid" + ], + [ + [ + 7888, + 7888 + ], + "mapped", + [ + 7889 + ] + ], + [ + [ + 7889, + 7889 + ], + "valid" + ], + [ + [ + 7890, + 7890 + ], + "mapped", + [ + 7891 + ] + ], + [ + [ + 7891, + 7891 + ], + "valid" + ], + [ + [ + 7892, + 7892 + ], + "mapped", + [ + 7893 + ] + ], + [ + [ + 7893, + 7893 + ], + "valid" + ], + [ + [ + 7894, + 7894 + ], + "mapped", + [ + 7895 + ] + ], + [ + [ + 7895, + 7895 + ], + "valid" + ], + [ + [ + 7896, + 7896 + ], + "mapped", + [ + 7897 + ] + ], + [ + [ + 7897, + 7897 + ], + "valid" + ], + [ + [ + 7898, + 7898 + ], + "mapped", + [ + 7899 + ] + ], + [ + [ + 7899, + 7899 + ], + "valid" + ], + [ + [ + 7900, + 7900 + ], + "mapped", + [ + 7901 + ] + ], + [ + [ + 7901, + 7901 + ], + "valid" + ], + [ + [ + 7902, + 7902 + ], + "mapped", + [ + 7903 + ] + ], + [ + [ + 7903, + 7903 + ], + "valid" + ], + [ + [ + 7904, + 7904 + ], + "mapped", + [ + 7905 + ] + ], + [ + [ + 7905, + 7905 + ], + "valid" + ], + [ + [ + 7906, + 7906 + ], + "mapped", + [ + 7907 + ] + ], + [ + [ + 7907, + 7907 + ], + "valid" + ], + [ + [ + 7908, + 7908 + ], + "mapped", + [ + 7909 + ] + ], + [ + [ + 7909, + 7909 + ], + "valid" + ], + [ + [ + 7910, + 7910 + ], + "mapped", + [ + 7911 + ] + ], + [ + [ + 7911, + 7911 + ], + "valid" + ], + [ + [ + 7912, + 7912 + ], + "mapped", + [ + 7913 + ] + ], + [ + [ + 7913, + 7913 + ], + "valid" + ], + [ + [ + 7914, + 7914 + ], + "mapped", + [ + 7915 + ] + ], + [ + [ + 7915, + 7915 + ], + "valid" + ], + [ + [ + 7916, + 7916 + ], + "mapped", + [ + 7917 + ] + ], + [ + [ + 7917, + 7917 + ], + "valid" + ], + [ + [ + 7918, + 7918 + ], + "mapped", + [ + 7919 + ] + ], + [ + [ + 7919, + 7919 + ], + "valid" + ], + [ + [ + 7920, + 7920 + ], + "mapped", + [ + 7921 + ] + ], + [ + [ + 7921, + 7921 + ], + "valid" + ], + [ + [ + 7922, + 7922 + ], + "mapped", + [ + 7923 + ] + ], + [ + [ + 7923, + 7923 + ], + "valid" + ], + [ + [ + 7924, + 7924 + ], + "mapped", + [ + 7925 + ] + ], + [ + [ + 7925, + 7925 + ], + "valid" + ], + [ + [ + 7926, + 7926 + ], + "mapped", + [ + 7927 + ] + ], + [ + [ + 7927, + 7927 + ], + "valid" + ], + [ + [ + 7928, + 7928 + ], + "mapped", + [ + 7929 + ] + ], + [ + [ + 7929, + 7929 + ], + "valid" + ], + [ + [ + 7930, + 7930 + ], + "mapped", + [ + 7931 + ] + ], + [ + [ + 7931, + 7931 + ], + "valid" + ], + [ + [ + 7932, + 7932 + ], + "mapped", + [ + 7933 + ] + ], + [ + [ + 7933, + 7933 + ], + "valid" + ], + [ + [ + 7934, + 7934 + ], + "mapped", + [ + 7935 + ] + ], + [ + [ + 7935, + 7935 + ], + "valid" + ], + [ + [ + 7936, + 7943 + ], + "valid" + ], + [ + [ + 7944, + 7944 + ], + "mapped", + [ + 7936 + ] + ], + [ + [ + 7945, + 7945 + ], + "mapped", + [ + 7937 + ] + ], + [ + [ + 7946, + 7946 + ], + "mapped", + [ + 7938 + ] + ], + [ + [ + 7947, + 7947 + ], + "mapped", + [ + 7939 + ] + ], + [ + [ + 7948, + 7948 + ], + "mapped", + [ + 7940 + ] + ], + [ + [ + 7949, + 7949 + ], + "mapped", + [ + 7941 + ] + ], + [ + [ + 7950, + 7950 + ], + "mapped", + [ + 7942 + ] + ], + [ + [ + 7951, + 7951 + ], + "mapped", + [ + 7943 + ] + ], + [ + [ + 7952, + 7957 + ], + "valid" + ], + [ + [ + 7958, + 7959 + ], + "disallowed" + ], + [ + [ + 7960, + 7960 + ], + "mapped", + [ + 7952 + ] + ], + [ + [ + 7961, + 7961 + ], + "mapped", + [ + 7953 + ] + ], + [ + [ + 7962, + 7962 + ], + "mapped", + [ + 7954 + ] + ], + [ + [ + 7963, + 7963 + ], + "mapped", + [ + 7955 + ] + ], + [ + [ + 7964, + 7964 + ], + "mapped", + [ + 7956 + ] + ], + [ + [ + 7965, + 7965 + ], + "mapped", + [ + 7957 + ] + ], + [ + [ + 7966, + 7967 + ], + "disallowed" + ], + [ + [ + 7968, + 7975 + ], + "valid" + ], + [ + [ + 7976, + 7976 + ], + "mapped", + [ + 7968 + ] + ], + [ + [ + 7977, + 7977 + ], + "mapped", + [ + 7969 + ] + ], + [ + [ + 7978, + 7978 + ], + "mapped", + [ + 7970 + ] + ], + [ + [ + 7979, + 7979 + ], + "mapped", + [ + 7971 + ] + ], + [ + [ + 7980, + 7980 + ], + "mapped", + [ + 7972 + ] + ], + [ + [ + 7981, + 7981 + ], + "mapped", + [ + 7973 + ] + ], + [ + [ + 7982, + 7982 + ], + "mapped", + [ + 7974 + ] + ], + [ + [ + 7983, + 7983 + ], + "mapped", + [ + 7975 + ] + ], + [ + [ + 7984, + 7991 + ], + "valid" + ], + [ + [ + 7992, + 7992 + ], + "mapped", + [ + 7984 + ] + ], + [ + [ + 7993, + 7993 + ], + "mapped", + [ + 7985 + ] + ], + [ + [ + 7994, + 7994 + ], + "mapped", + [ + 7986 + ] + ], + [ + [ + 7995, + 7995 + ], + "mapped", + [ + 7987 + ] + ], + [ + [ + 7996, + 7996 + ], + "mapped", + [ + 7988 + ] + ], + [ + [ + 7997, + 7997 + ], + "mapped", + [ + 7989 + ] + ], + [ + [ + 7998, + 7998 + ], + "mapped", + [ + 7990 + ] + ], + [ + [ + 7999, + 7999 + ], + "mapped", + [ + 7991 + ] + ], + [ + [ + 8000, + 8005 + ], + "valid" + ], + [ + [ + 8006, + 8007 + ], + "disallowed" + ], + [ + [ + 8008, + 8008 + ], + "mapped", + [ + 8000 + ] + ], + [ + [ + 8009, + 8009 + ], + "mapped", + [ + 8001 + ] + ], + [ + [ + 8010, + 8010 + ], + "mapped", + [ + 8002 + ] + ], + [ + [ + 8011, + 8011 + ], + "mapped", + [ + 8003 + ] + ], + [ + [ + 8012, + 8012 + ], + "mapped", + [ + 8004 + ] + ], + [ + [ + 8013, + 8013 + ], + "mapped", + [ + 8005 + ] + ], + [ + [ + 8014, + 8015 + ], + "disallowed" + ], + [ + [ + 8016, + 8023 + ], + "valid" + ], + [ + [ + 8024, + 8024 + ], + "disallowed" + ], + [ + [ + 8025, + 8025 + ], + "mapped", + [ + 8017 + ] + ], + [ + [ + 8026, + 8026 + ], + "disallowed" + ], + [ + [ + 8027, + 8027 + ], + "mapped", + [ + 8019 + ] + ], + [ + [ + 8028, + 8028 + ], + "disallowed" + ], + [ + [ + 8029, + 8029 + ], + "mapped", + [ + 8021 + ] + ], + [ + [ + 8030, + 8030 + ], + "disallowed" + ], + [ + [ + 8031, + 8031 + ], + "mapped", + [ + 8023 + ] + ], + [ + [ + 8032, + 8039 + ], + "valid" + ], + [ + [ + 8040, + 8040 + ], + "mapped", + [ + 8032 + ] + ], + [ + [ + 8041, + 8041 + ], + "mapped", + [ + 8033 + ] + ], + [ + [ + 8042, + 8042 + ], + "mapped", + [ + 8034 + ] + ], + [ + [ + 8043, + 8043 + ], + "mapped", + [ + 8035 + ] + ], + [ + [ + 8044, + 8044 + ], + "mapped", + [ + 8036 + ] + ], + [ + [ + 8045, + 8045 + ], + "mapped", + [ + 8037 + ] + ], + [ + [ + 8046, + 8046 + ], + "mapped", + [ + 8038 + ] + ], + [ + [ + 8047, + 8047 + ], + "mapped", + [ + 8039 + ] + ], + [ + [ + 8048, + 8048 + ], + "valid" + ], + [ + [ + 8049, + 8049 + ], + "mapped", + [ + 940 + ] + ], + [ + [ + 8050, + 8050 + ], + "valid" + ], + [ + [ + 8051, + 8051 + ], + "mapped", + [ + 941 + ] + ], + [ + [ + 8052, + 8052 + ], + "valid" + ], + [ + [ + 8053, + 8053 + ], + "mapped", + [ + 942 + ] + ], + [ + [ + 8054, + 8054 + ], + "valid" + ], + [ + [ + 8055, + 8055 + ], + "mapped", + [ + 943 + ] + ], + [ + [ + 8056, + 8056 + ], + "valid" + ], + [ + [ + 8057, + 8057 + ], + "mapped", + [ + 972 + ] + ], + [ + [ + 8058, + 8058 + ], + "valid" + ], + [ + [ + 8059, + 8059 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 8060, + 8060 + ], + "valid" + ], + [ + [ + 8061, + 8061 + ], + "mapped", + [ + 974 + ] + ], + [ + [ + 8062, + 8063 + ], + "disallowed" + ], + [ + [ + 8064, + 8064 + ], + "mapped", + [ + 7936, + 953 + ] + ], + [ + [ + 8065, + 8065 + ], + "mapped", + [ + 7937, + 953 + ] + ], + [ + [ + 8066, + 8066 + ], + "mapped", + [ + 7938, + 953 + ] + ], + [ + [ + 8067, + 8067 + ], + "mapped", + [ + 7939, + 953 + ] + ], + [ + [ + 8068, + 8068 + ], + "mapped", + [ + 7940, + 953 + ] + ], + [ + [ + 8069, + 8069 + ], + "mapped", + [ + 7941, + 953 + ] + ], + [ + [ + 8070, + 8070 + ], + "mapped", + [ + 7942, + 953 + ] + ], + [ + [ + 8071, + 8071 + ], + "mapped", + [ + 7943, + 953 + ] + ], + [ + [ + 8072, + 8072 + ], + "mapped", + [ + 7936, + 953 + ] + ], + [ + [ + 8073, + 8073 + ], + "mapped", + [ + 7937, + 953 + ] + ], + [ + [ + 8074, + 8074 + ], + "mapped", + [ + 7938, + 953 + ] + ], + [ + [ + 8075, + 8075 + ], + "mapped", + [ + 7939, + 953 + ] + ], + [ + [ + 8076, + 8076 + ], + "mapped", + [ + 7940, + 953 + ] + ], + [ + [ + 8077, + 8077 + ], + "mapped", + [ + 7941, + 953 + ] + ], + [ + [ + 8078, + 8078 + ], + "mapped", + [ + 7942, + 953 + ] + ], + [ + [ + 8079, + 8079 + ], + "mapped", + [ + 7943, + 953 + ] + ], + [ + [ + 8080, + 8080 + ], + "mapped", + [ + 7968, + 953 + ] + ], + [ + [ + 8081, + 8081 + ], + "mapped", + [ + 7969, + 953 + ] + ], + [ + [ + 8082, + 8082 + ], + "mapped", + [ + 7970, + 953 + ] + ], + [ + [ + 8083, + 8083 + ], + "mapped", + [ + 7971, + 953 + ] + ], + [ + [ + 8084, + 8084 + ], + "mapped", + [ + 7972, + 953 + ] + ], + [ + [ + 8085, + 8085 + ], + "mapped", + [ + 7973, + 953 + ] + ], + [ + [ + 8086, + 8086 + ], + "mapped", + [ + 7974, + 953 + ] + ], + [ + [ + 8087, + 8087 + ], + "mapped", + [ + 7975, + 953 + ] + ], + [ + [ + 8088, + 8088 + ], + "mapped", + [ + 7968, + 953 + ] + ], + [ + [ + 8089, + 8089 + ], + "mapped", + [ + 7969, + 953 + ] + ], + [ + [ + 8090, + 8090 + ], + "mapped", + [ + 7970, + 953 + ] + ], + [ + [ + 8091, + 8091 + ], + "mapped", + [ + 7971, + 953 + ] + ], + [ + [ + 8092, + 8092 + ], + "mapped", + [ + 7972, + 953 + ] + ], + [ + [ + 8093, + 8093 + ], + "mapped", + [ + 7973, + 953 + ] + ], + [ + [ + 8094, + 8094 + ], + "mapped", + [ + 7974, + 953 + ] + ], + [ + [ + 8095, + 8095 + ], + "mapped", + [ + 7975, + 953 + ] + ], + [ + [ + 8096, + 8096 + ], + "mapped", + [ + 8032, + 953 + ] + ], + [ + [ + 8097, + 8097 + ], + "mapped", + [ + 8033, + 953 + ] + ], + [ + [ + 8098, + 8098 + ], + "mapped", + [ + 8034, + 953 + ] + ], + [ + [ + 8099, + 8099 + ], + "mapped", + [ + 8035, + 953 + ] + ], + [ + [ + 8100, + 8100 + ], + "mapped", + [ + 8036, + 953 + ] + ], + [ + [ + 8101, + 8101 + ], + "mapped", + [ + 8037, + 953 + ] + ], + [ + [ + 8102, + 8102 + ], + "mapped", + [ + 8038, + 953 + ] + ], + [ + [ + 8103, + 8103 + ], + "mapped", + [ + 8039, + 953 + ] + ], + [ + [ + 8104, + 8104 + ], + "mapped", + [ + 8032, + 953 + ] + ], + [ + [ + 8105, + 8105 + ], + "mapped", + [ + 8033, + 953 + ] + ], + [ + [ + 8106, + 8106 + ], + "mapped", + [ + 8034, + 953 + ] + ], + [ + [ + 8107, + 8107 + ], + "mapped", + [ + 8035, + 953 + ] + ], + [ + [ + 8108, + 8108 + ], + "mapped", + [ + 8036, + 953 + ] + ], + [ + [ + 8109, + 8109 + ], + "mapped", + [ + 8037, + 953 + ] + ], + [ + [ + 8110, + 8110 + ], + "mapped", + [ + 8038, + 953 + ] + ], + [ + [ + 8111, + 8111 + ], + "mapped", + [ + 8039, + 953 + ] + ], + [ + [ + 8112, + 8113 + ], + "valid" + ], + [ + [ + 8114, + 8114 + ], + "mapped", + [ + 8048, + 953 + ] + ], + [ + [ + 8115, + 8115 + ], + "mapped", + [ + 945, + 953 + ] + ], + [ + [ + 8116, + 8116 + ], + "mapped", + [ + 940, + 953 + ] + ], + [ + [ + 8117, + 8117 + ], + "disallowed" + ], + [ + [ + 8118, + 8118 + ], + "valid" + ], + [ + [ + 8119, + 8119 + ], + "mapped", + [ + 8118, + 953 + ] + ], + [ + [ + 8120, + 8120 + ], + "mapped", + [ + 8112 + ] + ], + [ + [ + 8121, + 8121 + ], + "mapped", + [ + 8113 + ] + ], + [ + [ + 8122, + 8122 + ], + "mapped", + [ + 8048 + ] + ], + [ + [ + 8123, + 8123 + ], + "mapped", + [ + 940 + ] + ], + [ + [ + 8124, + 8124 + ], + "mapped", + [ + 945, + 953 + ] + ], + [ + [ + 8125, + 8125 + ], + "disallowed_STD3_mapped", + [ + 32, + 787 + ] + ], + [ + [ + 8126, + 8126 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 8127, + 8127 + ], + "disallowed_STD3_mapped", + [ + 32, + 787 + ] + ], + [ + [ + 8128, + 8128 + ], + "disallowed_STD3_mapped", + [ + 32, + 834 + ] + ], + [ + [ + 8129, + 8129 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 834 + ] + ], + [ + [ + 8130, + 8130 + ], + "mapped", + [ + 8052, + 953 + ] + ], + [ + [ + 8131, + 8131 + ], + "mapped", + [ + 951, + 953 + ] + ], + [ + [ + 8132, + 8132 + ], + "mapped", + [ + 942, + 953 + ] + ], + [ + [ + 8133, + 8133 + ], + "disallowed" + ], + [ + [ + 8134, + 8134 + ], + "valid" + ], + [ + [ + 8135, + 8135 + ], + "mapped", + [ + 8134, + 953 + ] + ], + [ + [ + 8136, + 8136 + ], + "mapped", + [ + 8050 + ] + ], + [ + [ + 8137, + 8137 + ], + "mapped", + [ + 941 + ] + ], + [ + [ + 8138, + 8138 + ], + "mapped", + [ + 8052 + ] + ], + [ + [ + 8139, + 8139 + ], + "mapped", + [ + 942 + ] + ], + [ + [ + 8140, + 8140 + ], + "mapped", + [ + 951, + 953 + ] + ], + [ + [ + 8141, + 8141 + ], + "disallowed_STD3_mapped", + [ + 32, + 787, + 768 + ] + ], + [ + [ + 8142, + 8142 + ], + "disallowed_STD3_mapped", + [ + 32, + 787, + 769 + ] + ], + [ + [ + 8143, + 8143 + ], + "disallowed_STD3_mapped", + [ + 32, + 787, + 834 + ] + ], + [ + [ + 8144, + 8146 + ], + "valid" + ], + [ + [ + 8147, + 8147 + ], + "mapped", + [ + 912 + ] + ], + [ + [ + 8148, + 8149 + ], + "disallowed" + ], + [ + [ + 8150, + 8151 + ], + "valid" + ], + [ + [ + 8152, + 8152 + ], + "mapped", + [ + 8144 + ] + ], + [ + [ + 8153, + 8153 + ], + "mapped", + [ + 8145 + ] + ], + [ + [ + 8154, + 8154 + ], + "mapped", + [ + 8054 + ] + ], + [ + [ + 8155, + 8155 + ], + "mapped", + [ + 943 + ] + ], + [ + [ + 8156, + 8156 + ], + "disallowed" + ], + [ + [ + 8157, + 8157 + ], + "disallowed_STD3_mapped", + [ + 32, + 788, + 768 + ] + ], + [ + [ + 8158, + 8158 + ], + "disallowed_STD3_mapped", + [ + 32, + 788, + 769 + ] + ], + [ + [ + 8159, + 8159 + ], + "disallowed_STD3_mapped", + [ + 32, + 788, + 834 + ] + ], + [ + [ + 8160, + 8162 + ], + "valid" + ], + [ + [ + 8163, + 8163 + ], + "mapped", + [ + 944 + ] + ], + [ + [ + 8164, + 8167 + ], + "valid" + ], + [ + [ + 8168, + 8168 + ], + "mapped", + [ + 8160 + ] + ], + [ + [ + 8169, + 8169 + ], + "mapped", + [ + 8161 + ] + ], + [ + [ + 8170, + 8170 + ], + "mapped", + [ + 8058 + ] + ], + [ + [ + 8171, + 8171 + ], + "mapped", + [ + 973 + ] + ], + [ + [ + 8172, + 8172 + ], + "mapped", + [ + 8165 + ] + ], + [ + [ + 8173, + 8173 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 768 + ] + ], + [ + [ + 8174, + 8174 + ], + "disallowed_STD3_mapped", + [ + 32, + 776, + 769 + ] + ], + [ + [ + 8175, + 8175 + ], + "disallowed_STD3_mapped", + [ + 96 + ] + ], + [ + [ + 8176, + 8177 + ], + "disallowed" + ], + [ + [ + 8178, + 8178 + ], + "mapped", + [ + 8060, + 953 + ] + ], + [ + [ + 8179, + 8179 + ], + "mapped", + [ + 969, + 953 + ] + ], + [ + [ + 8180, + 8180 + ], + "mapped", + [ + 974, + 953 + ] + ], + [ + [ + 8181, + 8181 + ], + "disallowed" + ], + [ + [ + 8182, + 8182 + ], + "valid" + ], + [ + [ + 8183, + 8183 + ], + "mapped", + [ + 8182, + 953 + ] + ], + [ + [ + 8184, + 8184 + ], + "mapped", + [ + 8056 + ] + ], + [ + [ + 8185, + 8185 + ], + "mapped", + [ + 972 + ] + ], + [ + [ + 8186, + 8186 + ], + "mapped", + [ + 8060 + ] + ], + [ + [ + 8187, + 8187 + ], + "mapped", + [ + 974 + ] + ], + [ + [ + 8188, + 8188 + ], + "mapped", + [ + 969, + 953 + ] + ], + [ + [ + 8189, + 8189 + ], + "disallowed_STD3_mapped", + [ + 32, + 769 + ] + ], + [ + [ + 8190, + 8190 + ], + "disallowed_STD3_mapped", + [ + 32, + 788 + ] + ], + [ + [ + 8191, + 8191 + ], + "disallowed" + ], + [ + [ + 8192, + 8202 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 8203, + 8203 + ], + "ignored" + ], + [ + [ + 8204, + 8205 + ], + "deviation", + [ + ] + ], + [ + [ + 8206, + 8207 + ], + "disallowed" + ], + [ + [ + 8208, + 8208 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8209, + 8209 + ], + "mapped", + [ + 8208 + ] + ], + [ + [ + 8210, + 8214 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8215, + 8215 + ], + "disallowed_STD3_mapped", + [ + 32, + 819 + ] + ], + [ + [ + 8216, + 8227 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8228, + 8230 + ], + "disallowed" + ], + [ + [ + 8231, + 8231 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8232, + 8238 + ], + "disallowed" + ], + [ + [ + 8239, + 8239 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 8240, + 8242 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8243, + 8243 + ], + "mapped", + [ + 8242, + 8242 + ] + ], + [ + [ + 8244, + 8244 + ], + "mapped", + [ + 8242, + 8242, + 8242 + ] + ], + [ + [ + 8245, + 8245 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8246, + 8246 + ], + "mapped", + [ + 8245, + 8245 + ] + ], + [ + [ + 8247, + 8247 + ], + "mapped", + [ + 8245, + 8245, + 8245 + ] + ], + [ + [ + 8248, + 8251 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8252, + 8252 + ], + "disallowed_STD3_mapped", + [ + 33, + 33 + ] + ], + [ + [ + 8253, + 8253 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8254, + 8254 + ], + "disallowed_STD3_mapped", + [ + 32, + 773 + ] + ], + [ + [ + 8255, + 8262 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8263, + 8263 + ], + "disallowed_STD3_mapped", + [ + 63, + 63 + ] + ], + [ + [ + 8264, + 8264 + ], + "disallowed_STD3_mapped", + [ + 63, + 33 + ] + ], + [ + [ + 8265, + 8265 + ], + "disallowed_STD3_mapped", + [ + 33, + 63 + ] + ], + [ + [ + 8266, + 8269 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8270, + 8274 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8275, + 8276 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8277, + 8278 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8279, + 8279 + ], + "mapped", + [ + 8242, + 8242, + 8242, + 8242 + ] + ], + [ + [ + 8280, + 8286 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8287, + 8287 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 8288, + 8288 + ], + "ignored" + ], + [ + [ + 8289, + 8291 + ], + "disallowed" + ], + [ + [ + 8292, + 8292 + ], + "ignored" + ], + [ + [ + 8293, + 8293 + ], + "disallowed" + ], + [ + [ + 8294, + 8297 + ], + "disallowed" + ], + [ + [ + 8298, + 8303 + ], + "disallowed" + ], + [ + [ + 8304, + 8304 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 8305, + 8305 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8306, + 8307 + ], + "disallowed" + ], + [ + [ + 8308, + 8308 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 8309, + 8309 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 8310, + 8310 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 8311, + 8311 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 8312, + 8312 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 8313, + 8313 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 8314, + 8314 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 8315, + 8315 + ], + "mapped", + [ + 8722 + ] + ], + [ + [ + 8316, + 8316 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 8317, + 8317 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 8318, + 8318 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 8319, + 8319 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 8320, + 8320 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 8321, + 8321 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 8322, + 8322 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 8323, + 8323 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 8324, + 8324 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 8325, + 8325 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 8326, + 8326 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 8327, + 8327 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 8328, + 8328 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 8329, + 8329 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 8330, + 8330 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 8331, + 8331 + ], + "mapped", + [ + 8722 + ] + ], + [ + [ + 8332, + 8332 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 8333, + 8333 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 8334, + 8334 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 8335, + 8335 + ], + "disallowed" + ], + [ + [ + 8336, + 8336 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 8337, + 8337 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 8338, + 8338 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 8339, + 8339 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 8340, + 8340 + ], + "mapped", + [ + 601 + ] + ], + [ + [ + 8341, + 8341 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 8342, + 8342 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 8343, + 8343 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8344, + 8344 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8345, + 8345 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 8346, + 8346 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 8347, + 8347 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 8348, + 8348 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 8349, + 8351 + ], + "disallowed" + ], + [ + [ + 8352, + 8359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8360, + 8360 + ], + "mapped", + [ + 114, + 115 + ] + ], + [ + [ + 8361, + 8362 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8363, + 8363 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8364, + 8364 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8365, + 8367 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8368, + 8369 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8370, + 8373 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8374, + 8376 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8377, + 8377 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8378, + 8378 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8379, + 8381 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8382, + 8382 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8383, + 8399 + ], + "disallowed" + ], + [ + [ + 8400, + 8417 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8418, + 8419 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8420, + 8426 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8427, + 8427 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8428, + 8431 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8432, + 8432 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8433, + 8447 + ], + "disallowed" + ], + [ + [ + 8448, + 8448 + ], + "disallowed_STD3_mapped", + [ + 97, + 47, + 99 + ] + ], + [ + [ + 8449, + 8449 + ], + "disallowed_STD3_mapped", + [ + 97, + 47, + 115 + ] + ], + [ + [ + 8450, + 8450 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8451, + 8451 + ], + "mapped", + [ + 176, + 99 + ] + ], + [ + [ + 8452, + 8452 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8453, + 8453 + ], + "disallowed_STD3_mapped", + [ + 99, + 47, + 111 + ] + ], + [ + [ + 8454, + 8454 + ], + "disallowed_STD3_mapped", + [ + 99, + 47, + 117 + ] + ], + [ + [ + 8455, + 8455 + ], + "mapped", + [ + 603 + ] + ], + [ + [ + 8456, + 8456 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8457, + 8457 + ], + "mapped", + [ + 176, + 102 + ] + ], + [ + [ + 8458, + 8458 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 8459, + 8462 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 8463, + 8463 + ], + "mapped", + [ + 295 + ] + ], + [ + [ + 8464, + 8465 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8466, + 8467 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8468, + 8468 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8469, + 8469 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 8470, + 8470 + ], + "mapped", + [ + 110, + 111 + ] + ], + [ + [ + 8471, + 8472 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8473, + 8473 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 8474, + 8474 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 8475, + 8477 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 8478, + 8479 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8480, + 8480 + ], + "mapped", + [ + 115, + 109 + ] + ], + [ + [ + 8481, + 8481 + ], + "mapped", + [ + 116, + 101, + 108 + ] + ], + [ + [ + 8482, + 8482 + ], + "mapped", + [ + 116, + 109 + ] + ], + [ + [ + 8483, + 8483 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8484, + 8484 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 8485, + 8485 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8486, + 8486 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 8487, + 8487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8488, + 8488 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 8489, + 8489 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8490, + 8490 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 8491, + 8491 + ], + "mapped", + [ + 229 + ] + ], + [ + [ + 8492, + 8492 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 8493, + 8493 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8494, + 8494 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8495, + 8496 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 8497, + 8497 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 8498, + 8498 + ], + "disallowed" + ], + [ + [ + 8499, + 8499 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8500, + 8500 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 8501, + 8501 + ], + "mapped", + [ + 1488 + ] + ], + [ + [ + 8502, + 8502 + ], + "mapped", + [ + 1489 + ] + ], + [ + [ + 8503, + 8503 + ], + "mapped", + [ + 1490 + ] + ], + [ + [ + 8504, + 8504 + ], + "mapped", + [ + 1491 + ] + ], + [ + [ + 8505, + 8505 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8506, + 8506 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8507, + 8507 + ], + "mapped", + [ + 102, + 97, + 120 + ] + ], + [ + [ + 8508, + 8508 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 8509, + 8510 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 8511, + 8511 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 8512, + 8512 + ], + "mapped", + [ + 8721 + ] + ], + [ + [ + 8513, + 8516 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8517, + 8518 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 8519, + 8519 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 8520, + 8520 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8521, + 8521 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 8522, + 8523 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8524, + 8524 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8525, + 8525 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8526, + 8526 + ], + "valid" + ], + [ + [ + 8527, + 8527 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8528, + 8528 + ], + "mapped", + [ + 49, + 8260, + 55 + ] + ], + [ + [ + 8529, + 8529 + ], + "mapped", + [ + 49, + 8260, + 57 + ] + ], + [ + [ + 8530, + 8530 + ], + "mapped", + [ + 49, + 8260, + 49, + 48 + ] + ], + [ + [ + 8531, + 8531 + ], + "mapped", + [ + 49, + 8260, + 51 + ] + ], + [ + [ + 8532, + 8532 + ], + "mapped", + [ + 50, + 8260, + 51 + ] + ], + [ + [ + 8533, + 8533 + ], + "mapped", + [ + 49, + 8260, + 53 + ] + ], + [ + [ + 8534, + 8534 + ], + "mapped", + [ + 50, + 8260, + 53 + ] + ], + [ + [ + 8535, + 8535 + ], + "mapped", + [ + 51, + 8260, + 53 + ] + ], + [ + [ + 8536, + 8536 + ], + "mapped", + [ + 52, + 8260, + 53 + ] + ], + [ + [ + 8537, + 8537 + ], + "mapped", + [ + 49, + 8260, + 54 + ] + ], + [ + [ + 8538, + 8538 + ], + "mapped", + [ + 53, + 8260, + 54 + ] + ], + [ + [ + 8539, + 8539 + ], + "mapped", + [ + 49, + 8260, + 56 + ] + ], + [ + [ + 8540, + 8540 + ], + "mapped", + [ + 51, + 8260, + 56 + ] + ], + [ + [ + 8541, + 8541 + ], + "mapped", + [ + 53, + 8260, + 56 + ] + ], + [ + [ + 8542, + 8542 + ], + "mapped", + [ + 55, + 8260, + 56 + ] + ], + [ + [ + 8543, + 8543 + ], + "mapped", + [ + 49, + 8260 + ] + ], + [ + [ + 8544, + 8544 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8545, + 8545 + ], + "mapped", + [ + 105, + 105 + ] + ], + [ + [ + 8546, + 8546 + ], + "mapped", + [ + 105, + 105, + 105 + ] + ], + [ + [ + 8547, + 8547 + ], + "mapped", + [ + 105, + 118 + ] + ], + [ + [ + 8548, + 8548 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 8549, + 8549 + ], + "mapped", + [ + 118, + 105 + ] + ], + [ + [ + 8550, + 8550 + ], + "mapped", + [ + 118, + 105, + 105 + ] + ], + [ + [ + 8551, + 8551 + ], + "mapped", + [ + 118, + 105, + 105, + 105 + ] + ], + [ + [ + 8552, + 8552 + ], + "mapped", + [ + 105, + 120 + ] + ], + [ + [ + 8553, + 8553 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 8554, + 8554 + ], + "mapped", + [ + 120, + 105 + ] + ], + [ + [ + 8555, + 8555 + ], + "mapped", + [ + 120, + 105, + 105 + ] + ], + [ + [ + 8556, + 8556 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8557, + 8557 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8558, + 8558 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 8559, + 8559 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8560, + 8560 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 8561, + 8561 + ], + "mapped", + [ + 105, + 105 + ] + ], + [ + [ + 8562, + 8562 + ], + "mapped", + [ + 105, + 105, + 105 + ] + ], + [ + [ + 8563, + 8563 + ], + "mapped", + [ + 105, + 118 + ] + ], + [ + [ + 8564, + 8564 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 8565, + 8565 + ], + "mapped", + [ + 118, + 105 + ] + ], + [ + [ + 8566, + 8566 + ], + "mapped", + [ + 118, + 105, + 105 + ] + ], + [ + [ + 8567, + 8567 + ], + "mapped", + [ + 118, + 105, + 105, + 105 + ] + ], + [ + [ + 8568, + 8568 + ], + "mapped", + [ + 105, + 120 + ] + ], + [ + [ + 8569, + 8569 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 8570, + 8570 + ], + "mapped", + [ + 120, + 105 + ] + ], + [ + [ + 8571, + 8571 + ], + "mapped", + [ + 120, + 105, + 105 + ] + ], + [ + [ + 8572, + 8572 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 8573, + 8573 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 8574, + 8574 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 8575, + 8575 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 8576, + 8578 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8579, + 8579 + ], + "disallowed" + ], + [ + [ + 8580, + 8580 + ], + "valid" + ], + [ + [ + 8581, + 8584 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8585, + 8585 + ], + "mapped", + [ + 48, + 8260, + 51 + ] + ], + [ + [ + 8586, + 8587 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8588, + 8591 + ], + "disallowed" + ], + [ + [ + 8592, + 8682 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8683, + 8691 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8692, + 8703 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8704, + 8747 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8748, + 8748 + ], + "mapped", + [ + 8747, + 8747 + ] + ], + [ + [ + 8749, + 8749 + ], + "mapped", + [ + 8747, + 8747, + 8747 + ] + ], + [ + [ + 8750, + 8750 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8751, + 8751 + ], + "mapped", + [ + 8750, + 8750 + ] + ], + [ + [ + 8752, + 8752 + ], + "mapped", + [ + 8750, + 8750, + 8750 + ] + ], + [ + [ + 8753, + 8799 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8800, + 8800 + ], + "disallowed_STD3_valid" + ], + [ + [ + 8801, + 8813 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8814, + 8815 + ], + "disallowed_STD3_valid" + ], + [ + [ + 8816, + 8945 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8946, + 8959 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8960, + 8960 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8961, + 8961 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 8962, + 9000 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9001, + 9001 + ], + "mapped", + [ + 12296 + ] + ], + [ + [ + 9002, + 9002 + ], + "mapped", + [ + 12297 + ] + ], + [ + [ + 9003, + 9082 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9083, + 9083 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9084, + 9084 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9085, + 9114 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9115, + 9166 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9167, + 9168 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9169, + 9179 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9180, + 9191 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9192, + 9192 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9193, + 9203 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9204, + 9210 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9211, + 9215 + ], + "disallowed" + ], + [ + [ + 9216, + 9252 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9253, + 9254 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9255, + 9279 + ], + "disallowed" + ], + [ + [ + 9280, + 9290 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9291, + 9311 + ], + "disallowed" + ], + [ + [ + 9312, + 9312 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 9313, + 9313 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 9314, + 9314 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 9315, + 9315 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 9316, + 9316 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 9317, + 9317 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 9318, + 9318 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 9319, + 9319 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 9320, + 9320 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 9321, + 9321 + ], + "mapped", + [ + 49, + 48 + ] + ], + [ + [ + 9322, + 9322 + ], + "mapped", + [ + 49, + 49 + ] + ], + [ + [ + 9323, + 9323 + ], + "mapped", + [ + 49, + 50 + ] + ], + [ + [ + 9324, + 9324 + ], + "mapped", + [ + 49, + 51 + ] + ], + [ + [ + 9325, + 9325 + ], + "mapped", + [ + 49, + 52 + ] + ], + [ + [ + 9326, + 9326 + ], + "mapped", + [ + 49, + 53 + ] + ], + [ + [ + 9327, + 9327 + ], + "mapped", + [ + 49, + 54 + ] + ], + [ + [ + 9328, + 9328 + ], + "mapped", + [ + 49, + 55 + ] + ], + [ + [ + 9329, + 9329 + ], + "mapped", + [ + 49, + 56 + ] + ], + [ + [ + 9330, + 9330 + ], + "mapped", + [ + 49, + 57 + ] + ], + [ + [ + 9331, + 9331 + ], + "mapped", + [ + 50, + 48 + ] + ], + [ + [ + 9332, + 9332 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 41 + ] + ], + [ + [ + 9333, + 9333 + ], + "disallowed_STD3_mapped", + [ + 40, + 50, + 41 + ] + ], + [ + [ + 9334, + 9334 + ], + "disallowed_STD3_mapped", + [ + 40, + 51, + 41 + ] + ], + [ + [ + 9335, + 9335 + ], + "disallowed_STD3_mapped", + [ + 40, + 52, + 41 + ] + ], + [ + [ + 9336, + 9336 + ], + "disallowed_STD3_mapped", + [ + 40, + 53, + 41 + ] + ], + [ + [ + 9337, + 9337 + ], + "disallowed_STD3_mapped", + [ + 40, + 54, + 41 + ] + ], + [ + [ + 9338, + 9338 + ], + "disallowed_STD3_mapped", + [ + 40, + 55, + 41 + ] + ], + [ + [ + 9339, + 9339 + ], + "disallowed_STD3_mapped", + [ + 40, + 56, + 41 + ] + ], + [ + [ + 9340, + 9340 + ], + "disallowed_STD3_mapped", + [ + 40, + 57, + 41 + ] + ], + [ + [ + 9341, + 9341 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 48, + 41 + ] + ], + [ + [ + 9342, + 9342 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 49, + 41 + ] + ], + [ + [ + 9343, + 9343 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 50, + 41 + ] + ], + [ + [ + 9344, + 9344 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 51, + 41 + ] + ], + [ + [ + 9345, + 9345 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 52, + 41 + ] + ], + [ + [ + 9346, + 9346 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 53, + 41 + ] + ], + [ + [ + 9347, + 9347 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 54, + 41 + ] + ], + [ + [ + 9348, + 9348 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 55, + 41 + ] + ], + [ + [ + 9349, + 9349 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 56, + 41 + ] + ], + [ + [ + 9350, + 9350 + ], + "disallowed_STD3_mapped", + [ + 40, + 49, + 57, + 41 + ] + ], + [ + [ + 9351, + 9351 + ], + "disallowed_STD3_mapped", + [ + 40, + 50, + 48, + 41 + ] + ], + [ + [ + 9352, + 9371 + ], + "disallowed" + ], + [ + [ + 9372, + 9372 + ], + "disallowed_STD3_mapped", + [ + 40, + 97, + 41 + ] + ], + [ + [ + 9373, + 9373 + ], + "disallowed_STD3_mapped", + [ + 40, + 98, + 41 + ] + ], + [ + [ + 9374, + 9374 + ], + "disallowed_STD3_mapped", + [ + 40, + 99, + 41 + ] + ], + [ + [ + 9375, + 9375 + ], + "disallowed_STD3_mapped", + [ + 40, + 100, + 41 + ] + ], + [ + [ + 9376, + 9376 + ], + "disallowed_STD3_mapped", + [ + 40, + 101, + 41 + ] + ], + [ + [ + 9377, + 9377 + ], + "disallowed_STD3_mapped", + [ + 40, + 102, + 41 + ] + ], + [ + [ + 9378, + 9378 + ], + "disallowed_STD3_mapped", + [ + 40, + 103, + 41 + ] + ], + [ + [ + 9379, + 9379 + ], + "disallowed_STD3_mapped", + [ + 40, + 104, + 41 + ] + ], + [ + [ + 9380, + 9380 + ], + "disallowed_STD3_mapped", + [ + 40, + 105, + 41 + ] + ], + [ + [ + 9381, + 9381 + ], + "disallowed_STD3_mapped", + [ + 40, + 106, + 41 + ] + ], + [ + [ + 9382, + 9382 + ], + "disallowed_STD3_mapped", + [ + 40, + 107, + 41 + ] + ], + [ + [ + 9383, + 9383 + ], + "disallowed_STD3_mapped", + [ + 40, + 108, + 41 + ] + ], + [ + [ + 9384, + 9384 + ], + "disallowed_STD3_mapped", + [ + 40, + 109, + 41 + ] + ], + [ + [ + 9385, + 9385 + ], + "disallowed_STD3_mapped", + [ + 40, + 110, + 41 + ] + ], + [ + [ + 9386, + 9386 + ], + "disallowed_STD3_mapped", + [ + 40, + 111, + 41 + ] + ], + [ + [ + 9387, + 9387 + ], + "disallowed_STD3_mapped", + [ + 40, + 112, + 41 + ] + ], + [ + [ + 9388, + 9388 + ], + "disallowed_STD3_mapped", + [ + 40, + 113, + 41 + ] + ], + [ + [ + 9389, + 9389 + ], + "disallowed_STD3_mapped", + [ + 40, + 114, + 41 + ] + ], + [ + [ + 9390, + 9390 + ], + "disallowed_STD3_mapped", + [ + 40, + 115, + 41 + ] + ], + [ + [ + 9391, + 9391 + ], + "disallowed_STD3_mapped", + [ + 40, + 116, + 41 + ] + ], + [ + [ + 9392, + 9392 + ], + "disallowed_STD3_mapped", + [ + 40, + 117, + 41 + ] + ], + [ + [ + 9393, + 9393 + ], + "disallowed_STD3_mapped", + [ + 40, + 118, + 41 + ] + ], + [ + [ + 9394, + 9394 + ], + "disallowed_STD3_mapped", + [ + 40, + 119, + 41 + ] + ], + [ + [ + 9395, + 9395 + ], + "disallowed_STD3_mapped", + [ + 40, + 120, + 41 + ] + ], + [ + [ + 9396, + 9396 + ], + "disallowed_STD3_mapped", + [ + 40, + 121, + 41 + ] + ], + [ + [ + 9397, + 9397 + ], + "disallowed_STD3_mapped", + [ + 40, + 122, + 41 + ] + ], + [ + [ + 9398, + 9398 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 9399, + 9399 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 9400, + 9400 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 9401, + 9401 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 9402, + 9402 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 9403, + 9403 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 9404, + 9404 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 9405, + 9405 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 9406, + 9406 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 9407, + 9407 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 9408, + 9408 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 9409, + 9409 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 9410, + 9410 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 9411, + 9411 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 9412, + 9412 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 9413, + 9413 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 9414, + 9414 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 9415, + 9415 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 9416, + 9416 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 9417, + 9417 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 9418, + 9418 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 9419, + 9419 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 9420, + 9420 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 9421, + 9421 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 9422, + 9422 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 9423, + 9423 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 9424, + 9424 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 9425, + 9425 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 9426, + 9426 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 9427, + 9427 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 9428, + 9428 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 9429, + 9429 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 9430, + 9430 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 9431, + 9431 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 9432, + 9432 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 9433, + 9433 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 9434, + 9434 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 9435, + 9435 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 9436, + 9436 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 9437, + 9437 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 9438, + 9438 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 9439, + 9439 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 9440, + 9440 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 9441, + 9441 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 9442, + 9442 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 9443, + 9443 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 9444, + 9444 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 9445, + 9445 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 9446, + 9446 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 9447, + 9447 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 9448, + 9448 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 9449, + 9449 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 9450, + 9450 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 9451, + 9470 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9471, + 9471 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9472, + 9621 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9622, + 9631 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9632, + 9711 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9712, + 9719 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9720, + 9727 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9728, + 9747 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9748, + 9749 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9750, + 9751 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9752, + 9752 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9753, + 9753 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9754, + 9839 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9840, + 9841 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9842, + 9853 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9854, + 9855 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9856, + 9865 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9866, + 9873 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9874, + 9884 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9885, + 9885 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9886, + 9887 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9888, + 9889 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9890, + 9905 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9906, + 9906 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9907, + 9916 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9917, + 9919 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9920, + 9923 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9924, + 9933 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9934, + 9934 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9935, + 9953 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9954, + 9954 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9955, + 9955 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9956, + 9959 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9960, + 9983 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9984, + 9984 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9985, + 9988 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9989, + 9989 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9990, + 9993 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9994, + 9995 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 9996, + 10023 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10024, + 10024 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10025, + 10059 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10060, + 10060 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10061, + 10061 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10062, + 10062 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10063, + 10066 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10067, + 10069 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10070, + 10070 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10071, + 10071 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10072, + 10078 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10079, + 10080 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10081, + 10087 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10088, + 10101 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10102, + 10132 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10133, + 10135 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10136, + 10159 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10160, + 10160 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10161, + 10174 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10175, + 10175 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10176, + 10182 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10183, + 10186 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10187, + 10187 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10188, + 10188 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10189, + 10189 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10190, + 10191 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10192, + 10219 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10220, + 10223 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10224, + 10239 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10240, + 10495 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10496, + 10763 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10764, + 10764 + ], + "mapped", + [ + 8747, + 8747, + 8747, + 8747 + ] + ], + [ + [ + 10765, + 10867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10868, + 10868 + ], + "disallowed_STD3_mapped", + [ + 58, + 58, + 61 + ] + ], + [ + [ + 10869, + 10869 + ], + "disallowed_STD3_mapped", + [ + 61, + 61 + ] + ], + [ + [ + 10870, + 10870 + ], + "disallowed_STD3_mapped", + [ + 61, + 61, + 61 + ] + ], + [ + [ + 10871, + 10971 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 10972, + 10972 + ], + "mapped", + [ + 10973, + 824 + ] + ], + [ + [ + 10973, + 11007 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11008, + 11021 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11022, + 11027 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11028, + 11034 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11035, + 11039 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11040, + 11043 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11044, + 11084 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11085, + 11087 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11088, + 11092 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11093, + 11097 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11098, + 11123 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11124, + 11125 + ], + "disallowed" + ], + [ + [ + 11126, + 11157 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11158, + 11159 + ], + "disallowed" + ], + [ + [ + 11160, + 11193 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11194, + 11196 + ], + "disallowed" + ], + [ + [ + 11197, + 11208 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11209, + 11209 + ], + "disallowed" + ], + [ + [ + 11210, + 11217 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11218, + 11243 + ], + "disallowed" + ], + [ + [ + 11244, + 11247 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11248, + 11263 + ], + "disallowed" + ], + [ + [ + 11264, + 11264 + ], + "mapped", + [ + 11312 + ] + ], + [ + [ + 11265, + 11265 + ], + "mapped", + [ + 11313 + ] + ], + [ + [ + 11266, + 11266 + ], + "mapped", + [ + 11314 + ] + ], + [ + [ + 11267, + 11267 + ], + "mapped", + [ + 11315 + ] + ], + [ + [ + 11268, + 11268 + ], + "mapped", + [ + 11316 + ] + ], + [ + [ + 11269, + 11269 + ], + "mapped", + [ + 11317 + ] + ], + [ + [ + 11270, + 11270 + ], + "mapped", + [ + 11318 + ] + ], + [ + [ + 11271, + 11271 + ], + "mapped", + [ + 11319 + ] + ], + [ + [ + 11272, + 11272 + ], + "mapped", + [ + 11320 + ] + ], + [ + [ + 11273, + 11273 + ], + "mapped", + [ + 11321 + ] + ], + [ + [ + 11274, + 11274 + ], + "mapped", + [ + 11322 + ] + ], + [ + [ + 11275, + 11275 + ], + "mapped", + [ + 11323 + ] + ], + [ + [ + 11276, + 11276 + ], + "mapped", + [ + 11324 + ] + ], + [ + [ + 11277, + 11277 + ], + "mapped", + [ + 11325 + ] + ], + [ + [ + 11278, + 11278 + ], + "mapped", + [ + 11326 + ] + ], + [ + [ + 11279, + 11279 + ], + "mapped", + [ + 11327 + ] + ], + [ + [ + 11280, + 11280 + ], + "mapped", + [ + 11328 + ] + ], + [ + [ + 11281, + 11281 + ], + "mapped", + [ + 11329 + ] + ], + [ + [ + 11282, + 11282 + ], + "mapped", + [ + 11330 + ] + ], + [ + [ + 11283, + 11283 + ], + "mapped", + [ + 11331 + ] + ], + [ + [ + 11284, + 11284 + ], + "mapped", + [ + 11332 + ] + ], + [ + [ + 11285, + 11285 + ], + "mapped", + [ + 11333 + ] + ], + [ + [ + 11286, + 11286 + ], + "mapped", + [ + 11334 + ] + ], + [ + [ + 11287, + 11287 + ], + "mapped", + [ + 11335 + ] + ], + [ + [ + 11288, + 11288 + ], + "mapped", + [ + 11336 + ] + ], + [ + [ + 11289, + 11289 + ], + "mapped", + [ + 11337 + ] + ], + [ + [ + 11290, + 11290 + ], + "mapped", + [ + 11338 + ] + ], + [ + [ + 11291, + 11291 + ], + "mapped", + [ + 11339 + ] + ], + [ + [ + 11292, + 11292 + ], + "mapped", + [ + 11340 + ] + ], + [ + [ + 11293, + 11293 + ], + "mapped", + [ + 11341 + ] + ], + [ + [ + 11294, + 11294 + ], + "mapped", + [ + 11342 + ] + ], + [ + [ + 11295, + 11295 + ], + "mapped", + [ + 11343 + ] + ], + [ + [ + 11296, + 11296 + ], + "mapped", + [ + 11344 + ] + ], + [ + [ + 11297, + 11297 + ], + "mapped", + [ + 11345 + ] + ], + [ + [ + 11298, + 11298 + ], + "mapped", + [ + 11346 + ] + ], + [ + [ + 11299, + 11299 + ], + "mapped", + [ + 11347 + ] + ], + [ + [ + 11300, + 11300 + ], + "mapped", + [ + 11348 + ] + ], + [ + [ + 11301, + 11301 + ], + "mapped", + [ + 11349 + ] + ], + [ + [ + 11302, + 11302 + ], + "mapped", + [ + 11350 + ] + ], + [ + [ + 11303, + 11303 + ], + "mapped", + [ + 11351 + ] + ], + [ + [ + 11304, + 11304 + ], + "mapped", + [ + 11352 + ] + ], + [ + [ + 11305, + 11305 + ], + "mapped", + [ + 11353 + ] + ], + [ + [ + 11306, + 11306 + ], + "mapped", + [ + 11354 + ] + ], + [ + [ + 11307, + 11307 + ], + "mapped", + [ + 11355 + ] + ], + [ + [ + 11308, + 11308 + ], + "mapped", + [ + 11356 + ] + ], + [ + [ + 11309, + 11309 + ], + "mapped", + [ + 11357 + ] + ], + [ + [ + 11310, + 11310 + ], + "mapped", + [ + 11358 + ] + ], + [ + [ + 11311, + 11311 + ], + "disallowed" + ], + [ + [ + 11312, + 11358 + ], + "valid" + ], + [ + [ + 11359, + 11359 + ], + "disallowed" + ], + [ + [ + 11360, + 11360 + ], + "mapped", + [ + 11361 + ] + ], + [ + [ + 11361, + 11361 + ], + "valid" + ], + [ + [ + 11362, + 11362 + ], + "mapped", + [ + 619 + ] + ], + [ + [ + 11363, + 11363 + ], + "mapped", + [ + 7549 + ] + ], + [ + [ + 11364, + 11364 + ], + "mapped", + [ + 637 + ] + ], + [ + [ + 11365, + 11366 + ], + "valid" + ], + [ + [ + 11367, + 11367 + ], + "mapped", + [ + 11368 + ] + ], + [ + [ + 11368, + 11368 + ], + "valid" + ], + [ + [ + 11369, + 11369 + ], + "mapped", + [ + 11370 + ] + ], + [ + [ + 11370, + 11370 + ], + "valid" + ], + [ + [ + 11371, + 11371 + ], + "mapped", + [ + 11372 + ] + ], + [ + [ + 11372, + 11372 + ], + "valid" + ], + [ + [ + 11373, + 11373 + ], + "mapped", + [ + 593 + ] + ], + [ + [ + 11374, + 11374 + ], + "mapped", + [ + 625 + ] + ], + [ + [ + 11375, + 11375 + ], + "mapped", + [ + 592 + ] + ], + [ + [ + 11376, + 11376 + ], + "mapped", + [ + 594 + ] + ], + [ + [ + 11377, + 11377 + ], + "valid" + ], + [ + [ + 11378, + 11378 + ], + "mapped", + [ + 11379 + ] + ], + [ + [ + 11379, + 11379 + ], + "valid" + ], + [ + [ + 11380, + 11380 + ], + "valid" + ], + [ + [ + 11381, + 11381 + ], + "mapped", + [ + 11382 + ] + ], + [ + [ + 11382, + 11383 + ], + "valid" + ], + [ + [ + 11384, + 11387 + ], + "valid" + ], + [ + [ + 11388, + 11388 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 11389, + 11389 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 11390, + 11390 + ], + "mapped", + [ + 575 + ] + ], + [ + [ + 11391, + 11391 + ], + "mapped", + [ + 576 + ] + ], + [ + [ + 11392, + 11392 + ], + "mapped", + [ + 11393 + ] + ], + [ + [ + 11393, + 11393 + ], + "valid" + ], + [ + [ + 11394, + 11394 + ], + "mapped", + [ + 11395 + ] + ], + [ + [ + 11395, + 11395 + ], + "valid" + ], + [ + [ + 11396, + 11396 + ], + "mapped", + [ + 11397 + ] + ], + [ + [ + 11397, + 11397 + ], + "valid" + ], + [ + [ + 11398, + 11398 + ], + "mapped", + [ + 11399 + ] + ], + [ + [ + 11399, + 11399 + ], + "valid" + ], + [ + [ + 11400, + 11400 + ], + "mapped", + [ + 11401 + ] + ], + [ + [ + 11401, + 11401 + ], + "valid" + ], + [ + [ + 11402, + 11402 + ], + "mapped", + [ + 11403 + ] + ], + [ + [ + 11403, + 11403 + ], + "valid" + ], + [ + [ + 11404, + 11404 + ], + "mapped", + [ + 11405 + ] + ], + [ + [ + 11405, + 11405 + ], + "valid" + ], + [ + [ + 11406, + 11406 + ], + "mapped", + [ + 11407 + ] + ], + [ + [ + 11407, + 11407 + ], + "valid" + ], + [ + [ + 11408, + 11408 + ], + "mapped", + [ + 11409 + ] + ], + [ + [ + 11409, + 11409 + ], + "valid" + ], + [ + [ + 11410, + 11410 + ], + "mapped", + [ + 11411 + ] + ], + [ + [ + 11411, + 11411 + ], + "valid" + ], + [ + [ + 11412, + 11412 + ], + "mapped", + [ + 11413 + ] + ], + [ + [ + 11413, + 11413 + ], + "valid" + ], + [ + [ + 11414, + 11414 + ], + "mapped", + [ + 11415 + ] + ], + [ + [ + 11415, + 11415 + ], + "valid" + ], + [ + [ + 11416, + 11416 + ], + "mapped", + [ + 11417 + ] + ], + [ + [ + 11417, + 11417 + ], + "valid" + ], + [ + [ + 11418, + 11418 + ], + "mapped", + [ + 11419 + ] + ], + [ + [ + 11419, + 11419 + ], + "valid" + ], + [ + [ + 11420, + 11420 + ], + "mapped", + [ + 11421 + ] + ], + [ + [ + 11421, + 11421 + ], + "valid" + ], + [ + [ + 11422, + 11422 + ], + "mapped", + [ + 11423 + ] + ], + [ + [ + 11423, + 11423 + ], + "valid" + ], + [ + [ + 11424, + 11424 + ], + "mapped", + [ + 11425 + ] + ], + [ + [ + 11425, + 11425 + ], + "valid" + ], + [ + [ + 11426, + 11426 + ], + "mapped", + [ + 11427 + ] + ], + [ + [ + 11427, + 11427 + ], + "valid" + ], + [ + [ + 11428, + 11428 + ], + "mapped", + [ + 11429 + ] + ], + [ + [ + 11429, + 11429 + ], + "valid" + ], + [ + [ + 11430, + 11430 + ], + "mapped", + [ + 11431 + ] + ], + [ + [ + 11431, + 11431 + ], + "valid" + ], + [ + [ + 11432, + 11432 + ], + "mapped", + [ + 11433 + ] + ], + [ + [ + 11433, + 11433 + ], + "valid" + ], + [ + [ + 11434, + 11434 + ], + "mapped", + [ + 11435 + ] + ], + [ + [ + 11435, + 11435 + ], + "valid" + ], + [ + [ + 11436, + 11436 + ], + "mapped", + [ + 11437 + ] + ], + [ + [ + 11437, + 11437 + ], + "valid" + ], + [ + [ + 11438, + 11438 + ], + "mapped", + [ + 11439 + ] + ], + [ + [ + 11439, + 11439 + ], + "valid" + ], + [ + [ + 11440, + 11440 + ], + "mapped", + [ + 11441 + ] + ], + [ + [ + 11441, + 11441 + ], + "valid" + ], + [ + [ + 11442, + 11442 + ], + "mapped", + [ + 11443 + ] + ], + [ + [ + 11443, + 11443 + ], + "valid" + ], + [ + [ + 11444, + 11444 + ], + "mapped", + [ + 11445 + ] + ], + [ + [ + 11445, + 11445 + ], + "valid" + ], + [ + [ + 11446, + 11446 + ], + "mapped", + [ + 11447 + ] + ], + [ + [ + 11447, + 11447 + ], + "valid" + ], + [ + [ + 11448, + 11448 + ], + "mapped", + [ + 11449 + ] + ], + [ + [ + 11449, + 11449 + ], + "valid" + ], + [ + [ + 11450, + 11450 + ], + "mapped", + [ + 11451 + ] + ], + [ + [ + 11451, + 11451 + ], + "valid" + ], + [ + [ + 11452, + 11452 + ], + "mapped", + [ + 11453 + ] + ], + [ + [ + 11453, + 11453 + ], + "valid" + ], + [ + [ + 11454, + 11454 + ], + "mapped", + [ + 11455 + ] + ], + [ + [ + 11455, + 11455 + ], + "valid" + ], + [ + [ + 11456, + 11456 + ], + "mapped", + [ + 11457 + ] + ], + [ + [ + 11457, + 11457 + ], + "valid" + ], + [ + [ + 11458, + 11458 + ], + "mapped", + [ + 11459 + ] + ], + [ + [ + 11459, + 11459 + ], + "valid" + ], + [ + [ + 11460, + 11460 + ], + "mapped", + [ + 11461 + ] + ], + [ + [ + 11461, + 11461 + ], + "valid" + ], + [ + [ + 11462, + 11462 + ], + "mapped", + [ + 11463 + ] + ], + [ + [ + 11463, + 11463 + ], + "valid" + ], + [ + [ + 11464, + 11464 + ], + "mapped", + [ + 11465 + ] + ], + [ + [ + 11465, + 11465 + ], + "valid" + ], + [ + [ + 11466, + 11466 + ], + "mapped", + [ + 11467 + ] + ], + [ + [ + 11467, + 11467 + ], + "valid" + ], + [ + [ + 11468, + 11468 + ], + "mapped", + [ + 11469 + ] + ], + [ + [ + 11469, + 11469 + ], + "valid" + ], + [ + [ + 11470, + 11470 + ], + "mapped", + [ + 11471 + ] + ], + [ + [ + 11471, + 11471 + ], + "valid" + ], + [ + [ + 11472, + 11472 + ], + "mapped", + [ + 11473 + ] + ], + [ + [ + 11473, + 11473 + ], + "valid" + ], + [ + [ + 11474, + 11474 + ], + "mapped", + [ + 11475 + ] + ], + [ + [ + 11475, + 11475 + ], + "valid" + ], + [ + [ + 11476, + 11476 + ], + "mapped", + [ + 11477 + ] + ], + [ + [ + 11477, + 11477 + ], + "valid" + ], + [ + [ + 11478, + 11478 + ], + "mapped", + [ + 11479 + ] + ], + [ + [ + 11479, + 11479 + ], + "valid" + ], + [ + [ + 11480, + 11480 + ], + "mapped", + [ + 11481 + ] + ], + [ + [ + 11481, + 11481 + ], + "valid" + ], + [ + [ + 11482, + 11482 + ], + "mapped", + [ + 11483 + ] + ], + [ + [ + 11483, + 11483 + ], + "valid" + ], + [ + [ + 11484, + 11484 + ], + "mapped", + [ + 11485 + ] + ], + [ + [ + 11485, + 11485 + ], + "valid" + ], + [ + [ + 11486, + 11486 + ], + "mapped", + [ + 11487 + ] + ], + [ + [ + 11487, + 11487 + ], + "valid" + ], + [ + [ + 11488, + 11488 + ], + "mapped", + [ + 11489 + ] + ], + [ + [ + 11489, + 11489 + ], + "valid" + ], + [ + [ + 11490, + 11490 + ], + "mapped", + [ + 11491 + ] + ], + [ + [ + 11491, + 11492 + ], + "valid" + ], + [ + [ + 11493, + 11498 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11499, + 11499 + ], + "mapped", + [ + 11500 + ] + ], + [ + [ + 11500, + 11500 + ], + "valid" + ], + [ + [ + 11501, + 11501 + ], + "mapped", + [ + 11502 + ] + ], + [ + [ + 11502, + 11505 + ], + "valid" + ], + [ + [ + 11506, + 11506 + ], + "mapped", + [ + 11507 + ] + ], + [ + [ + 11507, + 11507 + ], + "valid" + ], + [ + [ + 11508, + 11512 + ], + "disallowed" + ], + [ + [ + 11513, + 11519 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11520, + 11557 + ], + "valid" + ], + [ + [ + 11558, + 11558 + ], + "disallowed" + ], + [ + [ + 11559, + 11559 + ], + "valid" + ], + [ + [ + 11560, + 11564 + ], + "disallowed" + ], + [ + [ + 11565, + 11565 + ], + "valid" + ], + [ + [ + 11566, + 11567 + ], + "disallowed" + ], + [ + [ + 11568, + 11621 + ], + "valid" + ], + [ + [ + 11622, + 11623 + ], + "valid" + ], + [ + [ + 11624, + 11630 + ], + "disallowed" + ], + [ + [ + 11631, + 11631 + ], + "mapped", + [ + 11617 + ] + ], + [ + [ + 11632, + 11632 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11633, + 11646 + ], + "disallowed" + ], + [ + [ + 11647, + 11647 + ], + "valid" + ], + [ + [ + 11648, + 11670 + ], + "valid" + ], + [ + [ + 11671, + 11679 + ], + "disallowed" + ], + [ + [ + 11680, + 11686 + ], + "valid" + ], + [ + [ + 11687, + 11687 + ], + "disallowed" + ], + [ + [ + 11688, + 11694 + ], + "valid" + ], + [ + [ + 11695, + 11695 + ], + "disallowed" + ], + [ + [ + 11696, + 11702 + ], + "valid" + ], + [ + [ + 11703, + 11703 + ], + "disallowed" + ], + [ + [ + 11704, + 11710 + ], + "valid" + ], + [ + [ + 11711, + 11711 + ], + "disallowed" + ], + [ + [ + 11712, + 11718 + ], + "valid" + ], + [ + [ + 11719, + 11719 + ], + "disallowed" + ], + [ + [ + 11720, + 11726 + ], + "valid" + ], + [ + [ + 11727, + 11727 + ], + "disallowed" + ], + [ + [ + 11728, + 11734 + ], + "valid" + ], + [ + [ + 11735, + 11735 + ], + "disallowed" + ], + [ + [ + 11736, + 11742 + ], + "valid" + ], + [ + [ + 11743, + 11743 + ], + "disallowed" + ], + [ + [ + 11744, + 11775 + ], + "valid" + ], + [ + [ + 11776, + 11799 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11800, + 11803 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11804, + 11805 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11806, + 11822 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11823, + 11823 + ], + "valid" + ], + [ + [ + 11824, + 11824 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11825, + 11825 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11826, + 11835 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11836, + 11842 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11843, + 11903 + ], + "disallowed" + ], + [ + [ + 11904, + 11929 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11930, + 11930 + ], + "disallowed" + ], + [ + [ + 11931, + 11934 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 11935, + 11935 + ], + "mapped", + [ + 27597 + ] + ], + [ + [ + 11936, + 12018 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12019, + 12019 + ], + "mapped", + [ + 40863 + ] + ], + [ + [ + 12020, + 12031 + ], + "disallowed" + ], + [ + [ + 12032, + 12032 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 12033, + 12033 + ], + "mapped", + [ + 20008 + ] + ], + [ + [ + 12034, + 12034 + ], + "mapped", + [ + 20022 + ] + ], + [ + [ + 12035, + 12035 + ], + "mapped", + [ + 20031 + ] + ], + [ + [ + 12036, + 12036 + ], + "mapped", + [ + 20057 + ] + ], + [ + [ + 12037, + 12037 + ], + "mapped", + [ + 20101 + ] + ], + [ + [ + 12038, + 12038 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 12039, + 12039 + ], + "mapped", + [ + 20128 + ] + ], + [ + [ + 12040, + 12040 + ], + "mapped", + [ + 20154 + ] + ], + [ + [ + 12041, + 12041 + ], + "mapped", + [ + 20799 + ] + ], + [ + [ + 12042, + 12042 + ], + "mapped", + [ + 20837 + ] + ], + [ + [ + 12043, + 12043 + ], + "mapped", + [ + 20843 + ] + ], + [ + [ + 12044, + 12044 + ], + "mapped", + [ + 20866 + ] + ], + [ + [ + 12045, + 12045 + ], + "mapped", + [ + 20886 + ] + ], + [ + [ + 12046, + 12046 + ], + "mapped", + [ + 20907 + ] + ], + [ + [ + 12047, + 12047 + ], + "mapped", + [ + 20960 + ] + ], + [ + [ + 12048, + 12048 + ], + "mapped", + [ + 20981 + ] + ], + [ + [ + 12049, + 12049 + ], + "mapped", + [ + 20992 + ] + ], + [ + [ + 12050, + 12050 + ], + "mapped", + [ + 21147 + ] + ], + [ + [ + 12051, + 12051 + ], + "mapped", + [ + 21241 + ] + ], + [ + [ + 12052, + 12052 + ], + "mapped", + [ + 21269 + ] + ], + [ + [ + 12053, + 12053 + ], + "mapped", + [ + 21274 + ] + ], + [ + [ + 12054, + 12054 + ], + "mapped", + [ + 21304 + ] + ], + [ + [ + 12055, + 12055 + ], + "mapped", + [ + 21313 + ] + ], + [ + [ + 12056, + 12056 + ], + "mapped", + [ + 21340 + ] + ], + [ + [ + 12057, + 12057 + ], + "mapped", + [ + 21353 + ] + ], + [ + [ + 12058, + 12058 + ], + "mapped", + [ + 21378 + ] + ], + [ + [ + 12059, + 12059 + ], + "mapped", + [ + 21430 + ] + ], + [ + [ + 12060, + 12060 + ], + "mapped", + [ + 21448 + ] + ], + [ + [ + 12061, + 12061 + ], + "mapped", + [ + 21475 + ] + ], + [ + [ + 12062, + 12062 + ], + "mapped", + [ + 22231 + ] + ], + [ + [ + 12063, + 12063 + ], + "mapped", + [ + 22303 + ] + ], + [ + [ + 12064, + 12064 + ], + "mapped", + [ + 22763 + ] + ], + [ + [ + 12065, + 12065 + ], + "mapped", + [ + 22786 + ] + ], + [ + [ + 12066, + 12066 + ], + "mapped", + [ + 22794 + ] + ], + [ + [ + 12067, + 12067 + ], + "mapped", + [ + 22805 + ] + ], + [ + [ + 12068, + 12068 + ], + "mapped", + [ + 22823 + ] + ], + [ + [ + 12069, + 12069 + ], + "mapped", + [ + 22899 + ] + ], + [ + [ + 12070, + 12070 + ], + "mapped", + [ + 23376 + ] + ], + [ + [ + 12071, + 12071 + ], + "mapped", + [ + 23424 + ] + ], + [ + [ + 12072, + 12072 + ], + "mapped", + [ + 23544 + ] + ], + [ + [ + 12073, + 12073 + ], + "mapped", + [ + 23567 + ] + ], + [ + [ + 12074, + 12074 + ], + "mapped", + [ + 23586 + ] + ], + [ + [ + 12075, + 12075 + ], + "mapped", + [ + 23608 + ] + ], + [ + [ + 12076, + 12076 + ], + "mapped", + [ + 23662 + ] + ], + [ + [ + 12077, + 12077 + ], + "mapped", + [ + 23665 + ] + ], + [ + [ + 12078, + 12078 + ], + "mapped", + [ + 24027 + ] + ], + [ + [ + 12079, + 12079 + ], + "mapped", + [ + 24037 + ] + ], + [ + [ + 12080, + 12080 + ], + "mapped", + [ + 24049 + ] + ], + [ + [ + 12081, + 12081 + ], + "mapped", + [ + 24062 + ] + ], + [ + [ + 12082, + 12082 + ], + "mapped", + [ + 24178 + ] + ], + [ + [ + 12083, + 12083 + ], + "mapped", + [ + 24186 + ] + ], + [ + [ + 12084, + 12084 + ], + "mapped", + [ + 24191 + ] + ], + [ + [ + 12085, + 12085 + ], + "mapped", + [ + 24308 + ] + ], + [ + [ + 12086, + 12086 + ], + "mapped", + [ + 24318 + ] + ], + [ + [ + 12087, + 12087 + ], + "mapped", + [ + 24331 + ] + ], + [ + [ + 12088, + 12088 + ], + "mapped", + [ + 24339 + ] + ], + [ + [ + 12089, + 12089 + ], + "mapped", + [ + 24400 + ] + ], + [ + [ + 12090, + 12090 + ], + "mapped", + [ + 24417 + ] + ], + [ + [ + 12091, + 12091 + ], + "mapped", + [ + 24435 + ] + ], + [ + [ + 12092, + 12092 + ], + "mapped", + [ + 24515 + ] + ], + [ + [ + 12093, + 12093 + ], + "mapped", + [ + 25096 + ] + ], + [ + [ + 12094, + 12094 + ], + "mapped", + [ + 25142 + ] + ], + [ + [ + 12095, + 12095 + ], + "mapped", + [ + 25163 + ] + ], + [ + [ + 12096, + 12096 + ], + "mapped", + [ + 25903 + ] + ], + [ + [ + 12097, + 12097 + ], + "mapped", + [ + 25908 + ] + ], + [ + [ + 12098, + 12098 + ], + "mapped", + [ + 25991 + ] + ], + [ + [ + 12099, + 12099 + ], + "mapped", + [ + 26007 + ] + ], + [ + [ + 12100, + 12100 + ], + "mapped", + [ + 26020 + ] + ], + [ + [ + 12101, + 12101 + ], + "mapped", + [ + 26041 + ] + ], + [ + [ + 12102, + 12102 + ], + "mapped", + [ + 26080 + ] + ], + [ + [ + 12103, + 12103 + ], + "mapped", + [ + 26085 + ] + ], + [ + [ + 12104, + 12104 + ], + "mapped", + [ + 26352 + ] + ], + [ + [ + 12105, + 12105 + ], + "mapped", + [ + 26376 + ] + ], + [ + [ + 12106, + 12106 + ], + "mapped", + [ + 26408 + ] + ], + [ + [ + 12107, + 12107 + ], + "mapped", + [ + 27424 + ] + ], + [ + [ + 12108, + 12108 + ], + "mapped", + [ + 27490 + ] + ], + [ + [ + 12109, + 12109 + ], + "mapped", + [ + 27513 + ] + ], + [ + [ + 12110, + 12110 + ], + "mapped", + [ + 27571 + ] + ], + [ + [ + 12111, + 12111 + ], + "mapped", + [ + 27595 + ] + ], + [ + [ + 12112, + 12112 + ], + "mapped", + [ + 27604 + ] + ], + [ + [ + 12113, + 12113 + ], + "mapped", + [ + 27611 + ] + ], + [ + [ + 12114, + 12114 + ], + "mapped", + [ + 27663 + ] + ], + [ + [ + 12115, + 12115 + ], + "mapped", + [ + 27668 + ] + ], + [ + [ + 12116, + 12116 + ], + "mapped", + [ + 27700 + ] + ], + [ + [ + 12117, + 12117 + ], + "mapped", + [ + 28779 + ] + ], + [ + [ + 12118, + 12118 + ], + "mapped", + [ + 29226 + ] + ], + [ + [ + 12119, + 12119 + ], + "mapped", + [ + 29238 + ] + ], + [ + [ + 12120, + 12120 + ], + "mapped", + [ + 29243 + ] + ], + [ + [ + 12121, + 12121 + ], + "mapped", + [ + 29247 + ] + ], + [ + [ + 12122, + 12122 + ], + "mapped", + [ + 29255 + ] + ], + [ + [ + 12123, + 12123 + ], + "mapped", + [ + 29273 + ] + ], + [ + [ + 12124, + 12124 + ], + "mapped", + [ + 29275 + ] + ], + [ + [ + 12125, + 12125 + ], + "mapped", + [ + 29356 + ] + ], + [ + [ + 12126, + 12126 + ], + "mapped", + [ + 29572 + ] + ], + [ + [ + 12127, + 12127 + ], + "mapped", + [ + 29577 + ] + ], + [ + [ + 12128, + 12128 + ], + "mapped", + [ + 29916 + ] + ], + [ + [ + 12129, + 12129 + ], + "mapped", + [ + 29926 + ] + ], + [ + [ + 12130, + 12130 + ], + "mapped", + [ + 29976 + ] + ], + [ + [ + 12131, + 12131 + ], + "mapped", + [ + 29983 + ] + ], + [ + [ + 12132, + 12132 + ], + "mapped", + [ + 29992 + ] + ], + [ + [ + 12133, + 12133 + ], + "mapped", + [ + 30000 + ] + ], + [ + [ + 12134, + 12134 + ], + "mapped", + [ + 30091 + ] + ], + [ + [ + 12135, + 12135 + ], + "mapped", + [ + 30098 + ] + ], + [ + [ + 12136, + 12136 + ], + "mapped", + [ + 30326 + ] + ], + [ + [ + 12137, + 12137 + ], + "mapped", + [ + 30333 + ] + ], + [ + [ + 12138, + 12138 + ], + "mapped", + [ + 30382 + ] + ], + [ + [ + 12139, + 12139 + ], + "mapped", + [ + 30399 + ] + ], + [ + [ + 12140, + 12140 + ], + "mapped", + [ + 30446 + ] + ], + [ + [ + 12141, + 12141 + ], + "mapped", + [ + 30683 + ] + ], + [ + [ + 12142, + 12142 + ], + "mapped", + [ + 30690 + ] + ], + [ + [ + 12143, + 12143 + ], + "mapped", + [ + 30707 + ] + ], + [ + [ + 12144, + 12144 + ], + "mapped", + [ + 31034 + ] + ], + [ + [ + 12145, + 12145 + ], + "mapped", + [ + 31160 + ] + ], + [ + [ + 12146, + 12146 + ], + "mapped", + [ + 31166 + ] + ], + [ + [ + 12147, + 12147 + ], + "mapped", + [ + 31348 + ] + ], + [ + [ + 12148, + 12148 + ], + "mapped", + [ + 31435 + ] + ], + [ + [ + 12149, + 12149 + ], + "mapped", + [ + 31481 + ] + ], + [ + [ + 12150, + 12150 + ], + "mapped", + [ + 31859 + ] + ], + [ + [ + 12151, + 12151 + ], + "mapped", + [ + 31992 + ] + ], + [ + [ + 12152, + 12152 + ], + "mapped", + [ + 32566 + ] + ], + [ + [ + 12153, + 12153 + ], + "mapped", + [ + 32593 + ] + ], + [ + [ + 12154, + 12154 + ], + "mapped", + [ + 32650 + ] + ], + [ + [ + 12155, + 12155 + ], + "mapped", + [ + 32701 + ] + ], + [ + [ + 12156, + 12156 + ], + "mapped", + [ + 32769 + ] + ], + [ + [ + 12157, + 12157 + ], + "mapped", + [ + 32780 + ] + ], + [ + [ + 12158, + 12158 + ], + "mapped", + [ + 32786 + ] + ], + [ + [ + 12159, + 12159 + ], + "mapped", + [ + 32819 + ] + ], + [ + [ + 12160, + 12160 + ], + "mapped", + [ + 32895 + ] + ], + [ + [ + 12161, + 12161 + ], + "mapped", + [ + 32905 + ] + ], + [ + [ + 12162, + 12162 + ], + "mapped", + [ + 33251 + ] + ], + [ + [ + 12163, + 12163 + ], + "mapped", + [ + 33258 + ] + ], + [ + [ + 12164, + 12164 + ], + "mapped", + [ + 33267 + ] + ], + [ + [ + 12165, + 12165 + ], + "mapped", + [ + 33276 + ] + ], + [ + [ + 12166, + 12166 + ], + "mapped", + [ + 33292 + ] + ], + [ + [ + 12167, + 12167 + ], + "mapped", + [ + 33307 + ] + ], + [ + [ + 12168, + 12168 + ], + "mapped", + [ + 33311 + ] + ], + [ + [ + 12169, + 12169 + ], + "mapped", + [ + 33390 + ] + ], + [ + [ + 12170, + 12170 + ], + "mapped", + [ + 33394 + ] + ], + [ + [ + 12171, + 12171 + ], + "mapped", + [ + 33400 + ] + ], + [ + [ + 12172, + 12172 + ], + "mapped", + [ + 34381 + ] + ], + [ + [ + 12173, + 12173 + ], + "mapped", + [ + 34411 + ] + ], + [ + [ + 12174, + 12174 + ], + "mapped", + [ + 34880 + ] + ], + [ + [ + 12175, + 12175 + ], + "mapped", + [ + 34892 + ] + ], + [ + [ + 12176, + 12176 + ], + "mapped", + [ + 34915 + ] + ], + [ + [ + 12177, + 12177 + ], + "mapped", + [ + 35198 + ] + ], + [ + [ + 12178, + 12178 + ], + "mapped", + [ + 35211 + ] + ], + [ + [ + 12179, + 12179 + ], + "mapped", + [ + 35282 + ] + ], + [ + [ + 12180, + 12180 + ], + "mapped", + [ + 35328 + ] + ], + [ + [ + 12181, + 12181 + ], + "mapped", + [ + 35895 + ] + ], + [ + [ + 12182, + 12182 + ], + "mapped", + [ + 35910 + ] + ], + [ + [ + 12183, + 12183 + ], + "mapped", + [ + 35925 + ] + ], + [ + [ + 12184, + 12184 + ], + "mapped", + [ + 35960 + ] + ], + [ + [ + 12185, + 12185 + ], + "mapped", + [ + 35997 + ] + ], + [ + [ + 12186, + 12186 + ], + "mapped", + [ + 36196 + ] + ], + [ + [ + 12187, + 12187 + ], + "mapped", + [ + 36208 + ] + ], + [ + [ + 12188, + 12188 + ], + "mapped", + [ + 36275 + ] + ], + [ + [ + 12189, + 12189 + ], + "mapped", + [ + 36523 + ] + ], + [ + [ + 12190, + 12190 + ], + "mapped", + [ + 36554 + ] + ], + [ + [ + 12191, + 12191 + ], + "mapped", + [ + 36763 + ] + ], + [ + [ + 12192, + 12192 + ], + "mapped", + [ + 36784 + ] + ], + [ + [ + 12193, + 12193 + ], + "mapped", + [ + 36789 + ] + ], + [ + [ + 12194, + 12194 + ], + "mapped", + [ + 37009 + ] + ], + [ + [ + 12195, + 12195 + ], + "mapped", + [ + 37193 + ] + ], + [ + [ + 12196, + 12196 + ], + "mapped", + [ + 37318 + ] + ], + [ + [ + 12197, + 12197 + ], + "mapped", + [ + 37324 + ] + ], + [ + [ + 12198, + 12198 + ], + "mapped", + [ + 37329 + ] + ], + [ + [ + 12199, + 12199 + ], + "mapped", + [ + 38263 + ] + ], + [ + [ + 12200, + 12200 + ], + "mapped", + [ + 38272 + ] + ], + [ + [ + 12201, + 12201 + ], + "mapped", + [ + 38428 + ] + ], + [ + [ + 12202, + 12202 + ], + "mapped", + [ + 38582 + ] + ], + [ + [ + 12203, + 12203 + ], + "mapped", + [ + 38585 + ] + ], + [ + [ + 12204, + 12204 + ], + "mapped", + [ + 38632 + ] + ], + [ + [ + 12205, + 12205 + ], + "mapped", + [ + 38737 + ] + ], + [ + [ + 12206, + 12206 + ], + "mapped", + [ + 38750 + ] + ], + [ + [ + 12207, + 12207 + ], + "mapped", + [ + 38754 + ] + ], + [ + [ + 12208, + 12208 + ], + "mapped", + [ + 38761 + ] + ], + [ + [ + 12209, + 12209 + ], + "mapped", + [ + 38859 + ] + ], + [ + [ + 12210, + 12210 + ], + "mapped", + [ + 38893 + ] + ], + [ + [ + 12211, + 12211 + ], + "mapped", + [ + 38899 + ] + ], + [ + [ + 12212, + 12212 + ], + "mapped", + [ + 38913 + ] + ], + [ + [ + 12213, + 12213 + ], + "mapped", + [ + 39080 + ] + ], + [ + [ + 12214, + 12214 + ], + "mapped", + [ + 39131 + ] + ], + [ + [ + 12215, + 12215 + ], + "mapped", + [ + 39135 + ] + ], + [ + [ + 12216, + 12216 + ], + "mapped", + [ + 39318 + ] + ], + [ + [ + 12217, + 12217 + ], + "mapped", + [ + 39321 + ] + ], + [ + [ + 12218, + 12218 + ], + "mapped", + [ + 39340 + ] + ], + [ + [ + 12219, + 12219 + ], + "mapped", + [ + 39592 + ] + ], + [ + [ + 12220, + 12220 + ], + "mapped", + [ + 39640 + ] + ], + [ + [ + 12221, + 12221 + ], + "mapped", + [ + 39647 + ] + ], + [ + [ + 12222, + 12222 + ], + "mapped", + [ + 39717 + ] + ], + [ + [ + 12223, + 12223 + ], + "mapped", + [ + 39727 + ] + ], + [ + [ + 12224, + 12224 + ], + "mapped", + [ + 39730 + ] + ], + [ + [ + 12225, + 12225 + ], + "mapped", + [ + 39740 + ] + ], + [ + [ + 12226, + 12226 + ], + "mapped", + [ + 39770 + ] + ], + [ + [ + 12227, + 12227 + ], + "mapped", + [ + 40165 + ] + ], + [ + [ + 12228, + 12228 + ], + "mapped", + [ + 40565 + ] + ], + [ + [ + 12229, + 12229 + ], + "mapped", + [ + 40575 + ] + ], + [ + [ + 12230, + 12230 + ], + "mapped", + [ + 40613 + ] + ], + [ + [ + 12231, + 12231 + ], + "mapped", + [ + 40635 + ] + ], + [ + [ + 12232, + 12232 + ], + "mapped", + [ + 40643 + ] + ], + [ + [ + 12233, + 12233 + ], + "mapped", + [ + 40653 + ] + ], + [ + [ + 12234, + 12234 + ], + "mapped", + [ + 40657 + ] + ], + [ + [ + 12235, + 12235 + ], + "mapped", + [ + 40697 + ] + ], + [ + [ + 12236, + 12236 + ], + "mapped", + [ + 40701 + ] + ], + [ + [ + 12237, + 12237 + ], + "mapped", + [ + 40718 + ] + ], + [ + [ + 12238, + 12238 + ], + "mapped", + [ + 40723 + ] + ], + [ + [ + 12239, + 12239 + ], + "mapped", + [ + 40736 + ] + ], + [ + [ + 12240, + 12240 + ], + "mapped", + [ + 40763 + ] + ], + [ + [ + 12241, + 12241 + ], + "mapped", + [ + 40778 + ] + ], + [ + [ + 12242, + 12242 + ], + "mapped", + [ + 40786 + ] + ], + [ + [ + 12243, + 12243 + ], + "mapped", + [ + 40845 + ] + ], + [ + [ + 12244, + 12244 + ], + "mapped", + [ + 40860 + ] + ], + [ + [ + 12245, + 12245 + ], + "mapped", + [ + 40864 + ] + ], + [ + [ + 12246, + 12271 + ], + "disallowed" + ], + [ + [ + 12272, + 12283 + ], + "disallowed" + ], + [ + [ + 12284, + 12287 + ], + "disallowed" + ], + [ + [ + 12288, + 12288 + ], + "disallowed_STD3_mapped", + [ + 32 + ] + ], + [ + [ + 12289, + 12289 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12290, + 12290 + ], + "mapped", + [ + 46 + ] + ], + [ + [ + 12291, + 12292 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12293, + 12295 + ], + "valid" + ], + [ + [ + 12296, + 12329 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12330, + 12333 + ], + "valid" + ], + [ + [ + 12334, + 12341 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12342, + 12342 + ], + "mapped", + [ + 12306 + ] + ], + [ + [ + 12343, + 12343 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12344, + 12344 + ], + "mapped", + [ + 21313 + ] + ], + [ + [ + 12345, + 12345 + ], + "mapped", + [ + 21316 + ] + ], + [ + [ + 12346, + 12346 + ], + "mapped", + [ + 21317 + ] + ], + [ + [ + 12347, + 12347 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12348, + 12348 + ], + "valid" + ], + [ + [ + 12349, + 12349 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12350, + 12350 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12351, + 12351 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12352, + 12352 + ], + "disallowed" + ], + [ + [ + 12353, + 12436 + ], + "valid" + ], + [ + [ + 12437, + 12438 + ], + "valid" + ], + [ + [ + 12439, + 12440 + ], + "disallowed" + ], + [ + [ + 12441, + 12442 + ], + "valid" + ], + [ + [ + 12443, + 12443 + ], + "disallowed_STD3_mapped", + [ + 32, + 12441 + ] + ], + [ + [ + 12444, + 12444 + ], + "disallowed_STD3_mapped", + [ + 32, + 12442 + ] + ], + [ + [ + 12445, + 12446 + ], + "valid" + ], + [ + [ + 12447, + 12447 + ], + "mapped", + [ + 12424, + 12426 + ] + ], + [ + [ + 12448, + 12448 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12449, + 12542 + ], + "valid" + ], + [ + [ + 12543, + 12543 + ], + "mapped", + [ + 12467, + 12488 + ] + ], + [ + [ + 12544, + 12548 + ], + "disallowed" + ], + [ + [ + 12549, + 12588 + ], + "valid" + ], + [ + [ + 12589, + 12589 + ], + "valid" + ], + [ + [ + 12590, + 12592 + ], + "disallowed" + ], + [ + [ + 12593, + 12593 + ], + "mapped", + [ + 4352 + ] + ], + [ + [ + 12594, + 12594 + ], + "mapped", + [ + 4353 + ] + ], + [ + [ + 12595, + 12595 + ], + "mapped", + [ + 4522 + ] + ], + [ + [ + 12596, + 12596 + ], + "mapped", + [ + 4354 + ] + ], + [ + [ + 12597, + 12597 + ], + "mapped", + [ + 4524 + ] + ], + [ + [ + 12598, + 12598 + ], + "mapped", + [ + 4525 + ] + ], + [ + [ + 12599, + 12599 + ], + "mapped", + [ + 4355 + ] + ], + [ + [ + 12600, + 12600 + ], + "mapped", + [ + 4356 + ] + ], + [ + [ + 12601, + 12601 + ], + "mapped", + [ + 4357 + ] + ], + [ + [ + 12602, + 12602 + ], + "mapped", + [ + 4528 + ] + ], + [ + [ + 12603, + 12603 + ], + "mapped", + [ + 4529 + ] + ], + [ + [ + 12604, + 12604 + ], + "mapped", + [ + 4530 + ] + ], + [ + [ + 12605, + 12605 + ], + "mapped", + [ + 4531 + ] + ], + [ + [ + 12606, + 12606 + ], + "mapped", + [ + 4532 + ] + ], + [ + [ + 12607, + 12607 + ], + "mapped", + [ + 4533 + ] + ], + [ + [ + 12608, + 12608 + ], + "mapped", + [ + 4378 + ] + ], + [ + [ + 12609, + 12609 + ], + "mapped", + [ + 4358 + ] + ], + [ + [ + 12610, + 12610 + ], + "mapped", + [ + 4359 + ] + ], + [ + [ + 12611, + 12611 + ], + "mapped", + [ + 4360 + ] + ], + [ + [ + 12612, + 12612 + ], + "mapped", + [ + 4385 + ] + ], + [ + [ + 12613, + 12613 + ], + "mapped", + [ + 4361 + ] + ], + [ + [ + 12614, + 12614 + ], + "mapped", + [ + 4362 + ] + ], + [ + [ + 12615, + 12615 + ], + "mapped", + [ + 4363 + ] + ], + [ + [ + 12616, + 12616 + ], + "mapped", + [ + 4364 + ] + ], + [ + [ + 12617, + 12617 + ], + "mapped", + [ + 4365 + ] + ], + [ + [ + 12618, + 12618 + ], + "mapped", + [ + 4366 + ] + ], + [ + [ + 12619, + 12619 + ], + "mapped", + [ + 4367 + ] + ], + [ + [ + 12620, + 12620 + ], + "mapped", + [ + 4368 + ] + ], + [ + [ + 12621, + 12621 + ], + "mapped", + [ + 4369 + ] + ], + [ + [ + 12622, + 12622 + ], + "mapped", + [ + 4370 + ] + ], + [ + [ + 12623, + 12623 + ], + "mapped", + [ + 4449 + ] + ], + [ + [ + 12624, + 12624 + ], + "mapped", + [ + 4450 + ] + ], + [ + [ + 12625, + 12625 + ], + "mapped", + [ + 4451 + ] + ], + [ + [ + 12626, + 12626 + ], + "mapped", + [ + 4452 + ] + ], + [ + [ + 12627, + 12627 + ], + "mapped", + [ + 4453 + ] + ], + [ + [ + 12628, + 12628 + ], + "mapped", + [ + 4454 + ] + ], + [ + [ + 12629, + 12629 + ], + "mapped", + [ + 4455 + ] + ], + [ + [ + 12630, + 12630 + ], + "mapped", + [ + 4456 + ] + ], + [ + [ + 12631, + 12631 + ], + "mapped", + [ + 4457 + ] + ], + [ + [ + 12632, + 12632 + ], + "mapped", + [ + 4458 + ] + ], + [ + [ + 12633, + 12633 + ], + "mapped", + [ + 4459 + ] + ], + [ + [ + 12634, + 12634 + ], + "mapped", + [ + 4460 + ] + ], + [ + [ + 12635, + 12635 + ], + "mapped", + [ + 4461 + ] + ], + [ + [ + 12636, + 12636 + ], + "mapped", + [ + 4462 + ] + ], + [ + [ + 12637, + 12637 + ], + "mapped", + [ + 4463 + ] + ], + [ + [ + 12638, + 12638 + ], + "mapped", + [ + 4464 + ] + ], + [ + [ + 12639, + 12639 + ], + "mapped", + [ + 4465 + ] + ], + [ + [ + 12640, + 12640 + ], + "mapped", + [ + 4466 + ] + ], + [ + [ + 12641, + 12641 + ], + "mapped", + [ + 4467 + ] + ], + [ + [ + 12642, + 12642 + ], + "mapped", + [ + 4468 + ] + ], + [ + [ + 12643, + 12643 + ], + "mapped", + [ + 4469 + ] + ], + [ + [ + 12644, + 12644 + ], + "disallowed" + ], + [ + [ + 12645, + 12645 + ], + "mapped", + [ + 4372 + ] + ], + [ + [ + 12646, + 12646 + ], + "mapped", + [ + 4373 + ] + ], + [ + [ + 12647, + 12647 + ], + "mapped", + [ + 4551 + ] + ], + [ + [ + 12648, + 12648 + ], + "mapped", + [ + 4552 + ] + ], + [ + [ + 12649, + 12649 + ], + "mapped", + [ + 4556 + ] + ], + [ + [ + 12650, + 12650 + ], + "mapped", + [ + 4558 + ] + ], + [ + [ + 12651, + 12651 + ], + "mapped", + [ + 4563 + ] + ], + [ + [ + 12652, + 12652 + ], + "mapped", + [ + 4567 + ] + ], + [ + [ + 12653, + 12653 + ], + "mapped", + [ + 4569 + ] + ], + [ + [ + 12654, + 12654 + ], + "mapped", + [ + 4380 + ] + ], + [ + [ + 12655, + 12655 + ], + "mapped", + [ + 4573 + ] + ], + [ + [ + 12656, + 12656 + ], + "mapped", + [ + 4575 + ] + ], + [ + [ + 12657, + 12657 + ], + "mapped", + [ + 4381 + ] + ], + [ + [ + 12658, + 12658 + ], + "mapped", + [ + 4382 + ] + ], + [ + [ + 12659, + 12659 + ], + "mapped", + [ + 4384 + ] + ], + [ + [ + 12660, + 12660 + ], + "mapped", + [ + 4386 + ] + ], + [ + [ + 12661, + 12661 + ], + "mapped", + [ + 4387 + ] + ], + [ + [ + 12662, + 12662 + ], + "mapped", + [ + 4391 + ] + ], + [ + [ + 12663, + 12663 + ], + "mapped", + [ + 4393 + ] + ], + [ + [ + 12664, + 12664 + ], + "mapped", + [ + 4395 + ] + ], + [ + [ + 12665, + 12665 + ], + "mapped", + [ + 4396 + ] + ], + [ + [ + 12666, + 12666 + ], + "mapped", + [ + 4397 + ] + ], + [ + [ + 12667, + 12667 + ], + "mapped", + [ + 4398 + ] + ], + [ + [ + 12668, + 12668 + ], + "mapped", + [ + 4399 + ] + ], + [ + [ + 12669, + 12669 + ], + "mapped", + [ + 4402 + ] + ], + [ + [ + 12670, + 12670 + ], + "mapped", + [ + 4406 + ] + ], + [ + [ + 12671, + 12671 + ], + "mapped", + [ + 4416 + ] + ], + [ + [ + 12672, + 12672 + ], + "mapped", + [ + 4423 + ] + ], + [ + [ + 12673, + 12673 + ], + "mapped", + [ + 4428 + ] + ], + [ + [ + 12674, + 12674 + ], + "mapped", + [ + 4593 + ] + ], + [ + [ + 12675, + 12675 + ], + "mapped", + [ + 4594 + ] + ], + [ + [ + 12676, + 12676 + ], + "mapped", + [ + 4439 + ] + ], + [ + [ + 12677, + 12677 + ], + "mapped", + [ + 4440 + ] + ], + [ + [ + 12678, + 12678 + ], + "mapped", + [ + 4441 + ] + ], + [ + [ + 12679, + 12679 + ], + "mapped", + [ + 4484 + ] + ], + [ + [ + 12680, + 12680 + ], + "mapped", + [ + 4485 + ] + ], + [ + [ + 12681, + 12681 + ], + "mapped", + [ + 4488 + ] + ], + [ + [ + 12682, + 12682 + ], + "mapped", + [ + 4497 + ] + ], + [ + [ + 12683, + 12683 + ], + "mapped", + [ + 4498 + ] + ], + [ + [ + 12684, + 12684 + ], + "mapped", + [ + 4500 + ] + ], + [ + [ + 12685, + 12685 + ], + "mapped", + [ + 4510 + ] + ], + [ + [ + 12686, + 12686 + ], + "mapped", + [ + 4513 + ] + ], + [ + [ + 12687, + 12687 + ], + "disallowed" + ], + [ + [ + 12688, + 12689 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12690, + 12690 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 12691, + 12691 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 12692, + 12692 + ], + "mapped", + [ + 19977 + ] + ], + [ + [ + 12693, + 12693 + ], + "mapped", + [ + 22235 + ] + ], + [ + [ + 12694, + 12694 + ], + "mapped", + [ + 19978 + ] + ], + [ + [ + 12695, + 12695 + ], + "mapped", + [ + 20013 + ] + ], + [ + [ + 12696, + 12696 + ], + "mapped", + [ + 19979 + ] + ], + [ + [ + 12697, + 12697 + ], + "mapped", + [ + 30002 + ] + ], + [ + [ + 12698, + 12698 + ], + "mapped", + [ + 20057 + ] + ], + [ + [ + 12699, + 12699 + ], + "mapped", + [ + 19993 + ] + ], + [ + [ + 12700, + 12700 + ], + "mapped", + [ + 19969 + ] + ], + [ + [ + 12701, + 12701 + ], + "mapped", + [ + 22825 + ] + ], + [ + [ + 12702, + 12702 + ], + "mapped", + [ + 22320 + ] + ], + [ + [ + 12703, + 12703 + ], + "mapped", + [ + 20154 + ] + ], + [ + [ + 12704, + 12727 + ], + "valid" + ], + [ + [ + 12728, + 12730 + ], + "valid" + ], + [ + [ + 12731, + 12735 + ], + "disallowed" + ], + [ + [ + 12736, + 12751 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12752, + 12771 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12772, + 12783 + ], + "disallowed" + ], + [ + [ + 12784, + 12799 + ], + "valid" + ], + [ + [ + 12800, + 12800 + ], + "disallowed_STD3_mapped", + [ + 40, + 4352, + 41 + ] + ], + [ + [ + 12801, + 12801 + ], + "disallowed_STD3_mapped", + [ + 40, + 4354, + 41 + ] + ], + [ + [ + 12802, + 12802 + ], + "disallowed_STD3_mapped", + [ + 40, + 4355, + 41 + ] + ], + [ + [ + 12803, + 12803 + ], + "disallowed_STD3_mapped", + [ + 40, + 4357, + 41 + ] + ], + [ + [ + 12804, + 12804 + ], + "disallowed_STD3_mapped", + [ + 40, + 4358, + 41 + ] + ], + [ + [ + 12805, + 12805 + ], + "disallowed_STD3_mapped", + [ + 40, + 4359, + 41 + ] + ], + [ + [ + 12806, + 12806 + ], + "disallowed_STD3_mapped", + [ + 40, + 4361, + 41 + ] + ], + [ + [ + 12807, + 12807 + ], + "disallowed_STD3_mapped", + [ + 40, + 4363, + 41 + ] + ], + [ + [ + 12808, + 12808 + ], + "disallowed_STD3_mapped", + [ + 40, + 4364, + 41 + ] + ], + [ + [ + 12809, + 12809 + ], + "disallowed_STD3_mapped", + [ + 40, + 4366, + 41 + ] + ], + [ + [ + 12810, + 12810 + ], + "disallowed_STD3_mapped", + [ + 40, + 4367, + 41 + ] + ], + [ + [ + 12811, + 12811 + ], + "disallowed_STD3_mapped", + [ + 40, + 4368, + 41 + ] + ], + [ + [ + 12812, + 12812 + ], + "disallowed_STD3_mapped", + [ + 40, + 4369, + 41 + ] + ], + [ + [ + 12813, + 12813 + ], + "disallowed_STD3_mapped", + [ + 40, + 4370, + 41 + ] + ], + [ + [ + 12814, + 12814 + ], + "disallowed_STD3_mapped", + [ + 40, + 44032, + 41 + ] + ], + [ + [ + 12815, + 12815 + ], + "disallowed_STD3_mapped", + [ + 40, + 45208, + 41 + ] + ], + [ + [ + 12816, + 12816 + ], + "disallowed_STD3_mapped", + [ + 40, + 45796, + 41 + ] + ], + [ + [ + 12817, + 12817 + ], + "disallowed_STD3_mapped", + [ + 40, + 46972, + 41 + ] + ], + [ + [ + 12818, + 12818 + ], + "disallowed_STD3_mapped", + [ + 40, + 47560, + 41 + ] + ], + [ + [ + 12819, + 12819 + ], + "disallowed_STD3_mapped", + [ + 40, + 48148, + 41 + ] + ], + [ + [ + 12820, + 12820 + ], + "disallowed_STD3_mapped", + [ + 40, + 49324, + 41 + ] + ], + [ + [ + 12821, + 12821 + ], + "disallowed_STD3_mapped", + [ + 40, + 50500, + 41 + ] + ], + [ + [ + 12822, + 12822 + ], + "disallowed_STD3_mapped", + [ + 40, + 51088, + 41 + ] + ], + [ + [ + 12823, + 12823 + ], + "disallowed_STD3_mapped", + [ + 40, + 52264, + 41 + ] + ], + [ + [ + 12824, + 12824 + ], + "disallowed_STD3_mapped", + [ + 40, + 52852, + 41 + ] + ], + [ + [ + 12825, + 12825 + ], + "disallowed_STD3_mapped", + [ + 40, + 53440, + 41 + ] + ], + [ + [ + 12826, + 12826 + ], + "disallowed_STD3_mapped", + [ + 40, + 54028, + 41 + ] + ], + [ + [ + 12827, + 12827 + ], + "disallowed_STD3_mapped", + [ + 40, + 54616, + 41 + ] + ], + [ + [ + 12828, + 12828 + ], + "disallowed_STD3_mapped", + [ + 40, + 51452, + 41 + ] + ], + [ + [ + 12829, + 12829 + ], + "disallowed_STD3_mapped", + [ + 40, + 50724, + 51204, + 41 + ] + ], + [ + [ + 12830, + 12830 + ], + "disallowed_STD3_mapped", + [ + 40, + 50724, + 54980, + 41 + ] + ], + [ + [ + 12831, + 12831 + ], + "disallowed" + ], + [ + [ + 12832, + 12832 + ], + "disallowed_STD3_mapped", + [ + 40, + 19968, + 41 + ] + ], + [ + [ + 12833, + 12833 + ], + "disallowed_STD3_mapped", + [ + 40, + 20108, + 41 + ] + ], + [ + [ + 12834, + 12834 + ], + "disallowed_STD3_mapped", + [ + 40, + 19977, + 41 + ] + ], + [ + [ + 12835, + 12835 + ], + "disallowed_STD3_mapped", + [ + 40, + 22235, + 41 + ] + ], + [ + [ + 12836, + 12836 + ], + "disallowed_STD3_mapped", + [ + 40, + 20116, + 41 + ] + ], + [ + [ + 12837, + 12837 + ], + "disallowed_STD3_mapped", + [ + 40, + 20845, + 41 + ] + ], + [ + [ + 12838, + 12838 + ], + "disallowed_STD3_mapped", + [ + 40, + 19971, + 41 + ] + ], + [ + [ + 12839, + 12839 + ], + "disallowed_STD3_mapped", + [ + 40, + 20843, + 41 + ] + ], + [ + [ + 12840, + 12840 + ], + "disallowed_STD3_mapped", + [ + 40, + 20061, + 41 + ] + ], + [ + [ + 12841, + 12841 + ], + "disallowed_STD3_mapped", + [ + 40, + 21313, + 41 + ] + ], + [ + [ + 12842, + 12842 + ], + "disallowed_STD3_mapped", + [ + 40, + 26376, + 41 + ] + ], + [ + [ + 12843, + 12843 + ], + "disallowed_STD3_mapped", + [ + 40, + 28779, + 41 + ] + ], + [ + [ + 12844, + 12844 + ], + "disallowed_STD3_mapped", + [ + 40, + 27700, + 41 + ] + ], + [ + [ + 12845, + 12845 + ], + "disallowed_STD3_mapped", + [ + 40, + 26408, + 41 + ] + ], + [ + [ + 12846, + 12846 + ], + "disallowed_STD3_mapped", + [ + 40, + 37329, + 41 + ] + ], + [ + [ + 12847, + 12847 + ], + "disallowed_STD3_mapped", + [ + 40, + 22303, + 41 + ] + ], + [ + [ + 12848, + 12848 + ], + "disallowed_STD3_mapped", + [ + 40, + 26085, + 41 + ] + ], + [ + [ + 12849, + 12849 + ], + "disallowed_STD3_mapped", + [ + 40, + 26666, + 41 + ] + ], + [ + [ + 12850, + 12850 + ], + "disallowed_STD3_mapped", + [ + 40, + 26377, + 41 + ] + ], + [ + [ + 12851, + 12851 + ], + "disallowed_STD3_mapped", + [ + 40, + 31038, + 41 + ] + ], + [ + [ + 12852, + 12852 + ], + "disallowed_STD3_mapped", + [ + 40, + 21517, + 41 + ] + ], + [ + [ + 12853, + 12853 + ], + "disallowed_STD3_mapped", + [ + 40, + 29305, + 41 + ] + ], + [ + [ + 12854, + 12854 + ], + "disallowed_STD3_mapped", + [ + 40, + 36001, + 41 + ] + ], + [ + [ + 12855, + 12855 + ], + "disallowed_STD3_mapped", + [ + 40, + 31069, + 41 + ] + ], + [ + [ + 12856, + 12856 + ], + "disallowed_STD3_mapped", + [ + 40, + 21172, + 41 + ] + ], + [ + [ + 12857, + 12857 + ], + "disallowed_STD3_mapped", + [ + 40, + 20195, + 41 + ] + ], + [ + [ + 12858, + 12858 + ], + "disallowed_STD3_mapped", + [ + 40, + 21628, + 41 + ] + ], + [ + [ + 12859, + 12859 + ], + "disallowed_STD3_mapped", + [ + 40, + 23398, + 41 + ] + ], + [ + [ + 12860, + 12860 + ], + "disallowed_STD3_mapped", + [ + 40, + 30435, + 41 + ] + ], + [ + [ + 12861, + 12861 + ], + "disallowed_STD3_mapped", + [ + 40, + 20225, + 41 + ] + ], + [ + [ + 12862, + 12862 + ], + "disallowed_STD3_mapped", + [ + 40, + 36039, + 41 + ] + ], + [ + [ + 12863, + 12863 + ], + "disallowed_STD3_mapped", + [ + 40, + 21332, + 41 + ] + ], + [ + [ + 12864, + 12864 + ], + "disallowed_STD3_mapped", + [ + 40, + 31085, + 41 + ] + ], + [ + [ + 12865, + 12865 + ], + "disallowed_STD3_mapped", + [ + 40, + 20241, + 41 + ] + ], + [ + [ + 12866, + 12866 + ], + "disallowed_STD3_mapped", + [ + 40, + 33258, + 41 + ] + ], + [ + [ + 12867, + 12867 + ], + "disallowed_STD3_mapped", + [ + 40, + 33267, + 41 + ] + ], + [ + [ + 12868, + 12868 + ], + "mapped", + [ + 21839 + ] + ], + [ + [ + 12869, + 12869 + ], + "mapped", + [ + 24188 + ] + ], + [ + [ + 12870, + 12870 + ], + "mapped", + [ + 25991 + ] + ], + [ + [ + 12871, + 12871 + ], + "mapped", + [ + 31631 + ] + ], + [ + [ + 12872, + 12879 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12880, + 12880 + ], + "mapped", + [ + 112, + 116, + 101 + ] + ], + [ + [ + 12881, + 12881 + ], + "mapped", + [ + 50, + 49 + ] + ], + [ + [ + 12882, + 12882 + ], + "mapped", + [ + 50, + 50 + ] + ], + [ + [ + 12883, + 12883 + ], + "mapped", + [ + 50, + 51 + ] + ], + [ + [ + 12884, + 12884 + ], + "mapped", + [ + 50, + 52 + ] + ], + [ + [ + 12885, + 12885 + ], + "mapped", + [ + 50, + 53 + ] + ], + [ + [ + 12886, + 12886 + ], + "mapped", + [ + 50, + 54 + ] + ], + [ + [ + 12887, + 12887 + ], + "mapped", + [ + 50, + 55 + ] + ], + [ + [ + 12888, + 12888 + ], + "mapped", + [ + 50, + 56 + ] + ], + [ + [ + 12889, + 12889 + ], + "mapped", + [ + 50, + 57 + ] + ], + [ + [ + 12890, + 12890 + ], + "mapped", + [ + 51, + 48 + ] + ], + [ + [ + 12891, + 12891 + ], + "mapped", + [ + 51, + 49 + ] + ], + [ + [ + 12892, + 12892 + ], + "mapped", + [ + 51, + 50 + ] + ], + [ + [ + 12893, + 12893 + ], + "mapped", + [ + 51, + 51 + ] + ], + [ + [ + 12894, + 12894 + ], + "mapped", + [ + 51, + 52 + ] + ], + [ + [ + 12895, + 12895 + ], + "mapped", + [ + 51, + 53 + ] + ], + [ + [ + 12896, + 12896 + ], + "mapped", + [ + 4352 + ] + ], + [ + [ + 12897, + 12897 + ], + "mapped", + [ + 4354 + ] + ], + [ + [ + 12898, + 12898 + ], + "mapped", + [ + 4355 + ] + ], + [ + [ + 12899, + 12899 + ], + "mapped", + [ + 4357 + ] + ], + [ + [ + 12900, + 12900 + ], + "mapped", + [ + 4358 + ] + ], + [ + [ + 12901, + 12901 + ], + "mapped", + [ + 4359 + ] + ], + [ + [ + 12902, + 12902 + ], + "mapped", + [ + 4361 + ] + ], + [ + [ + 12903, + 12903 + ], + "mapped", + [ + 4363 + ] + ], + [ + [ + 12904, + 12904 + ], + "mapped", + [ + 4364 + ] + ], + [ + [ + 12905, + 12905 + ], + "mapped", + [ + 4366 + ] + ], + [ + [ + 12906, + 12906 + ], + "mapped", + [ + 4367 + ] + ], + [ + [ + 12907, + 12907 + ], + "mapped", + [ + 4368 + ] + ], + [ + [ + 12908, + 12908 + ], + "mapped", + [ + 4369 + ] + ], + [ + [ + 12909, + 12909 + ], + "mapped", + [ + 4370 + ] + ], + [ + [ + 12910, + 12910 + ], + "mapped", + [ + 44032 + ] + ], + [ + [ + 12911, + 12911 + ], + "mapped", + [ + 45208 + ] + ], + [ + [ + 12912, + 12912 + ], + "mapped", + [ + 45796 + ] + ], + [ + [ + 12913, + 12913 + ], + "mapped", + [ + 46972 + ] + ], + [ + [ + 12914, + 12914 + ], + "mapped", + [ + 47560 + ] + ], + [ + [ + 12915, + 12915 + ], + "mapped", + [ + 48148 + ] + ], + [ + [ + 12916, + 12916 + ], + "mapped", + [ + 49324 + ] + ], + [ + [ + 12917, + 12917 + ], + "mapped", + [ + 50500 + ] + ], + [ + [ + 12918, + 12918 + ], + "mapped", + [ + 51088 + ] + ], + [ + [ + 12919, + 12919 + ], + "mapped", + [ + 52264 + ] + ], + [ + [ + 12920, + 12920 + ], + "mapped", + [ + 52852 + ] + ], + [ + [ + 12921, + 12921 + ], + "mapped", + [ + 53440 + ] + ], + [ + [ + 12922, + 12922 + ], + "mapped", + [ + 54028 + ] + ], + [ + [ + 12923, + 12923 + ], + "mapped", + [ + 54616 + ] + ], + [ + [ + 12924, + 12924 + ], + "mapped", + [ + 52280, + 44256 + ] + ], + [ + [ + 12925, + 12925 + ], + "mapped", + [ + 51452, + 51032 + ] + ], + [ + [ + 12926, + 12926 + ], + "mapped", + [ + 50864 + ] + ], + [ + [ + 12927, + 12927 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 12928, + 12928 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 12929, + 12929 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 12930, + 12930 + ], + "mapped", + [ + 19977 + ] + ], + [ + [ + 12931, + 12931 + ], + "mapped", + [ + 22235 + ] + ], + [ + [ + 12932, + 12932 + ], + "mapped", + [ + 20116 + ] + ], + [ + [ + 12933, + 12933 + ], + "mapped", + [ + 20845 + ] + ], + [ + [ + 12934, + 12934 + ], + "mapped", + [ + 19971 + ] + ], + [ + [ + 12935, + 12935 + ], + "mapped", + [ + 20843 + ] + ], + [ + [ + 12936, + 12936 + ], + "mapped", + [ + 20061 + ] + ], + [ + [ + 12937, + 12937 + ], + "mapped", + [ + 21313 + ] + ], + [ + [ + 12938, + 12938 + ], + "mapped", + [ + 26376 + ] + ], + [ + [ + 12939, + 12939 + ], + "mapped", + [ + 28779 + ] + ], + [ + [ + 12940, + 12940 + ], + "mapped", + [ + 27700 + ] + ], + [ + [ + 12941, + 12941 + ], + "mapped", + [ + 26408 + ] + ], + [ + [ + 12942, + 12942 + ], + "mapped", + [ + 37329 + ] + ], + [ + [ + 12943, + 12943 + ], + "mapped", + [ + 22303 + ] + ], + [ + [ + 12944, + 12944 + ], + "mapped", + [ + 26085 + ] + ], + [ + [ + 12945, + 12945 + ], + "mapped", + [ + 26666 + ] + ], + [ + [ + 12946, + 12946 + ], + "mapped", + [ + 26377 + ] + ], + [ + [ + 12947, + 12947 + ], + "mapped", + [ + 31038 + ] + ], + [ + [ + 12948, + 12948 + ], + "mapped", + [ + 21517 + ] + ], + [ + [ + 12949, + 12949 + ], + "mapped", + [ + 29305 + ] + ], + [ + [ + 12950, + 12950 + ], + "mapped", + [ + 36001 + ] + ], + [ + [ + 12951, + 12951 + ], + "mapped", + [ + 31069 + ] + ], + [ + [ + 12952, + 12952 + ], + "mapped", + [ + 21172 + ] + ], + [ + [ + 12953, + 12953 + ], + "mapped", + [ + 31192 + ] + ], + [ + [ + 12954, + 12954 + ], + "mapped", + [ + 30007 + ] + ], + [ + [ + 12955, + 12955 + ], + "mapped", + [ + 22899 + ] + ], + [ + [ + 12956, + 12956 + ], + "mapped", + [ + 36969 + ] + ], + [ + [ + 12957, + 12957 + ], + "mapped", + [ + 20778 + ] + ], + [ + [ + 12958, + 12958 + ], + "mapped", + [ + 21360 + ] + ], + [ + [ + 12959, + 12959 + ], + "mapped", + [ + 27880 + ] + ], + [ + [ + 12960, + 12960 + ], + "mapped", + [ + 38917 + ] + ], + [ + [ + 12961, + 12961 + ], + "mapped", + [ + 20241 + ] + ], + [ + [ + 12962, + 12962 + ], + "mapped", + [ + 20889 + ] + ], + [ + [ + 12963, + 12963 + ], + "mapped", + [ + 27491 + ] + ], + [ + [ + 12964, + 12964 + ], + "mapped", + [ + 19978 + ] + ], + [ + [ + 12965, + 12965 + ], + "mapped", + [ + 20013 + ] + ], + [ + [ + 12966, + 12966 + ], + "mapped", + [ + 19979 + ] + ], + [ + [ + 12967, + 12967 + ], + "mapped", + [ + 24038 + ] + ], + [ + [ + 12968, + 12968 + ], + "mapped", + [ + 21491 + ] + ], + [ + [ + 12969, + 12969 + ], + "mapped", + [ + 21307 + ] + ], + [ + [ + 12970, + 12970 + ], + "mapped", + [ + 23447 + ] + ], + [ + [ + 12971, + 12971 + ], + "mapped", + [ + 23398 + ] + ], + [ + [ + 12972, + 12972 + ], + "mapped", + [ + 30435 + ] + ], + [ + [ + 12973, + 12973 + ], + "mapped", + [ + 20225 + ] + ], + [ + [ + 12974, + 12974 + ], + "mapped", + [ + 36039 + ] + ], + [ + [ + 12975, + 12975 + ], + "mapped", + [ + 21332 + ] + ], + [ + [ + 12976, + 12976 + ], + "mapped", + [ + 22812 + ] + ], + [ + [ + 12977, + 12977 + ], + "mapped", + [ + 51, + 54 + ] + ], + [ + [ + 12978, + 12978 + ], + "mapped", + [ + 51, + 55 + ] + ], + [ + [ + 12979, + 12979 + ], + "mapped", + [ + 51, + 56 + ] + ], + [ + [ + 12980, + 12980 + ], + "mapped", + [ + 51, + 57 + ] + ], + [ + [ + 12981, + 12981 + ], + "mapped", + [ + 52, + 48 + ] + ], + [ + [ + 12982, + 12982 + ], + "mapped", + [ + 52, + 49 + ] + ], + [ + [ + 12983, + 12983 + ], + "mapped", + [ + 52, + 50 + ] + ], + [ + [ + 12984, + 12984 + ], + "mapped", + [ + 52, + 51 + ] + ], + [ + [ + 12985, + 12985 + ], + "mapped", + [ + 52, + 52 + ] + ], + [ + [ + 12986, + 12986 + ], + "mapped", + [ + 52, + 53 + ] + ], + [ + [ + 12987, + 12987 + ], + "mapped", + [ + 52, + 54 + ] + ], + [ + [ + 12988, + 12988 + ], + "mapped", + [ + 52, + 55 + ] + ], + [ + [ + 12989, + 12989 + ], + "mapped", + [ + 52, + 56 + ] + ], + [ + [ + 12990, + 12990 + ], + "mapped", + [ + 52, + 57 + ] + ], + [ + [ + 12991, + 12991 + ], + "mapped", + [ + 53, + 48 + ] + ], + [ + [ + 12992, + 12992 + ], + "mapped", + [ + 49, + 26376 + ] + ], + [ + [ + 12993, + 12993 + ], + "mapped", + [ + 50, + 26376 + ] + ], + [ + [ + 12994, + 12994 + ], + "mapped", + [ + 51, + 26376 + ] + ], + [ + [ + 12995, + 12995 + ], + "mapped", + [ + 52, + 26376 + ] + ], + [ + [ + 12996, + 12996 + ], + "mapped", + [ + 53, + 26376 + ] + ], + [ + [ + 12997, + 12997 + ], + "mapped", + [ + 54, + 26376 + ] + ], + [ + [ + 12998, + 12998 + ], + "mapped", + [ + 55, + 26376 + ] + ], + [ + [ + 12999, + 12999 + ], + "mapped", + [ + 56, + 26376 + ] + ], + [ + [ + 13000, + 13000 + ], + "mapped", + [ + 57, + 26376 + ] + ], + [ + [ + 13001, + 13001 + ], + "mapped", + [ + 49, + 48, + 26376 + ] + ], + [ + [ + 13002, + 13002 + ], + "mapped", + [ + 49, + 49, + 26376 + ] + ], + [ + [ + 13003, + 13003 + ], + "mapped", + [ + 49, + 50, + 26376 + ] + ], + [ + [ + 13004, + 13004 + ], + "mapped", + [ + 104, + 103 + ] + ], + [ + [ + 13005, + 13005 + ], + "mapped", + [ + 101, + 114, + 103 + ] + ], + [ + [ + 13006, + 13006 + ], + "mapped", + [ + 101, + 118 + ] + ], + [ + [ + 13007, + 13007 + ], + "mapped", + [ + 108, + 116, + 100 + ] + ], + [ + [ + 13008, + 13008 + ], + "mapped", + [ + 12450 + ] + ], + [ + [ + 13009, + 13009 + ], + "mapped", + [ + 12452 + ] + ], + [ + [ + 13010, + 13010 + ], + "mapped", + [ + 12454 + ] + ], + [ + [ + 13011, + 13011 + ], + "mapped", + [ + 12456 + ] + ], + [ + [ + 13012, + 13012 + ], + "mapped", + [ + 12458 + ] + ], + [ + [ + 13013, + 13013 + ], + "mapped", + [ + 12459 + ] + ], + [ + [ + 13014, + 13014 + ], + "mapped", + [ + 12461 + ] + ], + [ + [ + 13015, + 13015 + ], + "mapped", + [ + 12463 + ] + ], + [ + [ + 13016, + 13016 + ], + "mapped", + [ + 12465 + ] + ], + [ + [ + 13017, + 13017 + ], + "mapped", + [ + 12467 + ] + ], + [ + [ + 13018, + 13018 + ], + "mapped", + [ + 12469 + ] + ], + [ + [ + 13019, + 13019 + ], + "mapped", + [ + 12471 + ] + ], + [ + [ + 13020, + 13020 + ], + "mapped", + [ + 12473 + ] + ], + [ + [ + 13021, + 13021 + ], + "mapped", + [ + 12475 + ] + ], + [ + [ + 13022, + 13022 + ], + "mapped", + [ + 12477 + ] + ], + [ + [ + 13023, + 13023 + ], + "mapped", + [ + 12479 + ] + ], + [ + [ + 13024, + 13024 + ], + "mapped", + [ + 12481 + ] + ], + [ + [ + 13025, + 13025 + ], + "mapped", + [ + 12484 + ] + ], + [ + [ + 13026, + 13026 + ], + "mapped", + [ + 12486 + ] + ], + [ + [ + 13027, + 13027 + ], + "mapped", + [ + 12488 + ] + ], + [ + [ + 13028, + 13028 + ], + "mapped", + [ + 12490 + ] + ], + [ + [ + 13029, + 13029 + ], + "mapped", + [ + 12491 + ] + ], + [ + [ + 13030, + 13030 + ], + "mapped", + [ + 12492 + ] + ], + [ + [ + 13031, + 13031 + ], + "mapped", + [ + 12493 + ] + ], + [ + [ + 13032, + 13032 + ], + "mapped", + [ + 12494 + ] + ], + [ + [ + 13033, + 13033 + ], + "mapped", + [ + 12495 + ] + ], + [ + [ + 13034, + 13034 + ], + "mapped", + [ + 12498 + ] + ], + [ + [ + 13035, + 13035 + ], + "mapped", + [ + 12501 + ] + ], + [ + [ + 13036, + 13036 + ], + "mapped", + [ + 12504 + ] + ], + [ + [ + 13037, + 13037 + ], + "mapped", + [ + 12507 + ] + ], + [ + [ + 13038, + 13038 + ], + "mapped", + [ + 12510 + ] + ], + [ + [ + 13039, + 13039 + ], + "mapped", + [ + 12511 + ] + ], + [ + [ + 13040, + 13040 + ], + "mapped", + [ + 12512 + ] + ], + [ + [ + 13041, + 13041 + ], + "mapped", + [ + 12513 + ] + ], + [ + [ + 13042, + 13042 + ], + "mapped", + [ + 12514 + ] + ], + [ + [ + 13043, + 13043 + ], + "mapped", + [ + 12516 + ] + ], + [ + [ + 13044, + 13044 + ], + "mapped", + [ + 12518 + ] + ], + [ + [ + 13045, + 13045 + ], + "mapped", + [ + 12520 + ] + ], + [ + [ + 13046, + 13046 + ], + "mapped", + [ + 12521 + ] + ], + [ + [ + 13047, + 13047 + ], + "mapped", + [ + 12522 + ] + ], + [ + [ + 13048, + 13048 + ], + "mapped", + [ + 12523 + ] + ], + [ + [ + 13049, + 13049 + ], + "mapped", + [ + 12524 + ] + ], + [ + [ + 13050, + 13050 + ], + "mapped", + [ + 12525 + ] + ], + [ + [ + 13051, + 13051 + ], + "mapped", + [ + 12527 + ] + ], + [ + [ + 13052, + 13052 + ], + "mapped", + [ + 12528 + ] + ], + [ + [ + 13053, + 13053 + ], + "mapped", + [ + 12529 + ] + ], + [ + [ + 13054, + 13054 + ], + "mapped", + [ + 12530 + ] + ], + [ + [ + 13055, + 13055 + ], + "disallowed" + ], + [ + [ + 13056, + 13056 + ], + "mapped", + [ + 12450, + 12497, + 12540, + 12488 + ] + ], + [ + [ + 13057, + 13057 + ], + "mapped", + [ + 12450, + 12523, + 12501, + 12449 + ] + ], + [ + [ + 13058, + 13058 + ], + "mapped", + [ + 12450, + 12531, + 12506, + 12450 + ] + ], + [ + [ + 13059, + 13059 + ], + "mapped", + [ + 12450, + 12540, + 12523 + ] + ], + [ + [ + 13060, + 13060 + ], + "mapped", + [ + 12452, + 12491, + 12531, + 12464 + ] + ], + [ + [ + 13061, + 13061 + ], + "mapped", + [ + 12452, + 12531, + 12481 + ] + ], + [ + [ + 13062, + 13062 + ], + "mapped", + [ + 12454, + 12457, + 12531 + ] + ], + [ + [ + 13063, + 13063 + ], + "mapped", + [ + 12456, + 12473, + 12463, + 12540, + 12489 + ] + ], + [ + [ + 13064, + 13064 + ], + "mapped", + [ + 12456, + 12540, + 12459, + 12540 + ] + ], + [ + [ + 13065, + 13065 + ], + "mapped", + [ + 12458, + 12531, + 12473 + ] + ], + [ + [ + 13066, + 13066 + ], + "mapped", + [ + 12458, + 12540, + 12512 + ] + ], + [ + [ + 13067, + 13067 + ], + "mapped", + [ + 12459, + 12452, + 12522 + ] + ], + [ + [ + 13068, + 13068 + ], + "mapped", + [ + 12459, + 12521, + 12483, + 12488 + ] + ], + [ + [ + 13069, + 13069 + ], + "mapped", + [ + 12459, + 12525, + 12522, + 12540 + ] + ], + [ + [ + 13070, + 13070 + ], + "mapped", + [ + 12460, + 12525, + 12531 + ] + ], + [ + [ + 13071, + 13071 + ], + "mapped", + [ + 12460, + 12531, + 12510 + ] + ], + [ + [ + 13072, + 13072 + ], + "mapped", + [ + 12462, + 12460 + ] + ], + [ + [ + 13073, + 13073 + ], + "mapped", + [ + 12462, + 12491, + 12540 + ] + ], + [ + [ + 13074, + 13074 + ], + "mapped", + [ + 12461, + 12517, + 12522, + 12540 + ] + ], + [ + [ + 13075, + 13075 + ], + "mapped", + [ + 12462, + 12523, + 12480, + 12540 + ] + ], + [ + [ + 13076, + 13076 + ], + "mapped", + [ + 12461, + 12525 + ] + ], + [ + [ + 13077, + 13077 + ], + "mapped", + [ + 12461, + 12525, + 12464, + 12521, + 12512 + ] + ], + [ + [ + 13078, + 13078 + ], + "mapped", + [ + 12461, + 12525, + 12513, + 12540, + 12488, + 12523 + ] + ], + [ + [ + 13079, + 13079 + ], + "mapped", + [ + 12461, + 12525, + 12527, + 12483, + 12488 + ] + ], + [ + [ + 13080, + 13080 + ], + "mapped", + [ + 12464, + 12521, + 12512 + ] + ], + [ + [ + 13081, + 13081 + ], + "mapped", + [ + 12464, + 12521, + 12512, + 12488, + 12531 + ] + ], + [ + [ + 13082, + 13082 + ], + "mapped", + [ + 12463, + 12523, + 12476, + 12452, + 12525 + ] + ], + [ + [ + 13083, + 13083 + ], + "mapped", + [ + 12463, + 12525, + 12540, + 12493 + ] + ], + [ + [ + 13084, + 13084 + ], + "mapped", + [ + 12465, + 12540, + 12473 + ] + ], + [ + [ + 13085, + 13085 + ], + "mapped", + [ + 12467, + 12523, + 12490 + ] + ], + [ + [ + 13086, + 13086 + ], + "mapped", + [ + 12467, + 12540, + 12509 + ] + ], + [ + [ + 13087, + 13087 + ], + "mapped", + [ + 12469, + 12452, + 12463, + 12523 + ] + ], + [ + [ + 13088, + 13088 + ], + "mapped", + [ + 12469, + 12531, + 12481, + 12540, + 12512 + ] + ], + [ + [ + 13089, + 13089 + ], + "mapped", + [ + 12471, + 12522, + 12531, + 12464 + ] + ], + [ + [ + 13090, + 13090 + ], + "mapped", + [ + 12475, + 12531, + 12481 + ] + ], + [ + [ + 13091, + 13091 + ], + "mapped", + [ + 12475, + 12531, + 12488 + ] + ], + [ + [ + 13092, + 13092 + ], + "mapped", + [ + 12480, + 12540, + 12473 + ] + ], + [ + [ + 13093, + 13093 + ], + "mapped", + [ + 12487, + 12471 + ] + ], + [ + [ + 13094, + 13094 + ], + "mapped", + [ + 12489, + 12523 + ] + ], + [ + [ + 13095, + 13095 + ], + "mapped", + [ + 12488, + 12531 + ] + ], + [ + [ + 13096, + 13096 + ], + "mapped", + [ + 12490, + 12494 + ] + ], + [ + [ + 13097, + 13097 + ], + "mapped", + [ + 12494, + 12483, + 12488 + ] + ], + [ + [ + 13098, + 13098 + ], + "mapped", + [ + 12495, + 12452, + 12484 + ] + ], + [ + [ + 13099, + 13099 + ], + "mapped", + [ + 12497, + 12540, + 12475, + 12531, + 12488 + ] + ], + [ + [ + 13100, + 13100 + ], + "mapped", + [ + 12497, + 12540, + 12484 + ] + ], + [ + [ + 13101, + 13101 + ], + "mapped", + [ + 12496, + 12540, + 12524, + 12523 + ] + ], + [ + [ + 13102, + 13102 + ], + "mapped", + [ + 12500, + 12450, + 12473, + 12488, + 12523 + ] + ], + [ + [ + 13103, + 13103 + ], + "mapped", + [ + 12500, + 12463, + 12523 + ] + ], + [ + [ + 13104, + 13104 + ], + "mapped", + [ + 12500, + 12467 + ] + ], + [ + [ + 13105, + 13105 + ], + "mapped", + [ + 12499, + 12523 + ] + ], + [ + [ + 13106, + 13106 + ], + "mapped", + [ + 12501, + 12449, + 12521, + 12483, + 12489 + ] + ], + [ + [ + 13107, + 13107 + ], + "mapped", + [ + 12501, + 12451, + 12540, + 12488 + ] + ], + [ + [ + 13108, + 13108 + ], + "mapped", + [ + 12502, + 12483, + 12471, + 12455, + 12523 + ] + ], + [ + [ + 13109, + 13109 + ], + "mapped", + [ + 12501, + 12521, + 12531 + ] + ], + [ + [ + 13110, + 13110 + ], + "mapped", + [ + 12504, + 12463, + 12479, + 12540, + 12523 + ] + ], + [ + [ + 13111, + 13111 + ], + "mapped", + [ + 12506, + 12477 + ] + ], + [ + [ + 13112, + 13112 + ], + "mapped", + [ + 12506, + 12491, + 12498 + ] + ], + [ + [ + 13113, + 13113 + ], + "mapped", + [ + 12504, + 12523, + 12484 + ] + ], + [ + [ + 13114, + 13114 + ], + "mapped", + [ + 12506, + 12531, + 12473 + ] + ], + [ + [ + 13115, + 13115 + ], + "mapped", + [ + 12506, + 12540, + 12472 + ] + ], + [ + [ + 13116, + 13116 + ], + "mapped", + [ + 12505, + 12540, + 12479 + ] + ], + [ + [ + 13117, + 13117 + ], + "mapped", + [ + 12509, + 12452, + 12531, + 12488 + ] + ], + [ + [ + 13118, + 13118 + ], + "mapped", + [ + 12508, + 12523, + 12488 + ] + ], + [ + [ + 13119, + 13119 + ], + "mapped", + [ + 12507, + 12531 + ] + ], + [ + [ + 13120, + 13120 + ], + "mapped", + [ + 12509, + 12531, + 12489 + ] + ], + [ + [ + 13121, + 13121 + ], + "mapped", + [ + 12507, + 12540, + 12523 + ] + ], + [ + [ + 13122, + 13122 + ], + "mapped", + [ + 12507, + 12540, + 12531 + ] + ], + [ + [ + 13123, + 13123 + ], + "mapped", + [ + 12510, + 12452, + 12463, + 12525 + ] + ], + [ + [ + 13124, + 13124 + ], + "mapped", + [ + 12510, + 12452, + 12523 + ] + ], + [ + [ + 13125, + 13125 + ], + "mapped", + [ + 12510, + 12483, + 12495 + ] + ], + [ + [ + 13126, + 13126 + ], + "mapped", + [ + 12510, + 12523, + 12463 + ] + ], + [ + [ + 13127, + 13127 + ], + "mapped", + [ + 12510, + 12531, + 12471, + 12519, + 12531 + ] + ], + [ + [ + 13128, + 13128 + ], + "mapped", + [ + 12511, + 12463, + 12525, + 12531 + ] + ], + [ + [ + 13129, + 13129 + ], + "mapped", + [ + 12511, + 12522 + ] + ], + [ + [ + 13130, + 13130 + ], + "mapped", + [ + 12511, + 12522, + 12496, + 12540, + 12523 + ] + ], + [ + [ + 13131, + 13131 + ], + "mapped", + [ + 12513, + 12460 + ] + ], + [ + [ + 13132, + 13132 + ], + "mapped", + [ + 12513, + 12460, + 12488, + 12531 + ] + ], + [ + [ + 13133, + 13133 + ], + "mapped", + [ + 12513, + 12540, + 12488, + 12523 + ] + ], + [ + [ + 13134, + 13134 + ], + "mapped", + [ + 12516, + 12540, + 12489 + ] + ], + [ + [ + 13135, + 13135 + ], + "mapped", + [ + 12516, + 12540, + 12523 + ] + ], + [ + [ + 13136, + 13136 + ], + "mapped", + [ + 12518, + 12450, + 12531 + ] + ], + [ + [ + 13137, + 13137 + ], + "mapped", + [ + 12522, + 12483, + 12488, + 12523 + ] + ], + [ + [ + 13138, + 13138 + ], + "mapped", + [ + 12522, + 12521 + ] + ], + [ + [ + 13139, + 13139 + ], + "mapped", + [ + 12523, + 12500, + 12540 + ] + ], + [ + [ + 13140, + 13140 + ], + "mapped", + [ + 12523, + 12540, + 12502, + 12523 + ] + ], + [ + [ + 13141, + 13141 + ], + "mapped", + [ + 12524, + 12512 + ] + ], + [ + [ + 13142, + 13142 + ], + "mapped", + [ + 12524, + 12531, + 12488, + 12466, + 12531 + ] + ], + [ + [ + 13143, + 13143 + ], + "mapped", + [ + 12527, + 12483, + 12488 + ] + ], + [ + [ + 13144, + 13144 + ], + "mapped", + [ + 48, + 28857 + ] + ], + [ + [ + 13145, + 13145 + ], + "mapped", + [ + 49, + 28857 + ] + ], + [ + [ + 13146, + 13146 + ], + "mapped", + [ + 50, + 28857 + ] + ], + [ + [ + 13147, + 13147 + ], + "mapped", + [ + 51, + 28857 + ] + ], + [ + [ + 13148, + 13148 + ], + "mapped", + [ + 52, + 28857 + ] + ], + [ + [ + 13149, + 13149 + ], + "mapped", + [ + 53, + 28857 + ] + ], + [ + [ + 13150, + 13150 + ], + "mapped", + [ + 54, + 28857 + ] + ], + [ + [ + 13151, + 13151 + ], + "mapped", + [ + 55, + 28857 + ] + ], + [ + [ + 13152, + 13152 + ], + "mapped", + [ + 56, + 28857 + ] + ], + [ + [ + 13153, + 13153 + ], + "mapped", + [ + 57, + 28857 + ] + ], + [ + [ + 13154, + 13154 + ], + "mapped", + [ + 49, + 48, + 28857 + ] + ], + [ + [ + 13155, + 13155 + ], + "mapped", + [ + 49, + 49, + 28857 + ] + ], + [ + [ + 13156, + 13156 + ], + "mapped", + [ + 49, + 50, + 28857 + ] + ], + [ + [ + 13157, + 13157 + ], + "mapped", + [ + 49, + 51, + 28857 + ] + ], + [ + [ + 13158, + 13158 + ], + "mapped", + [ + 49, + 52, + 28857 + ] + ], + [ + [ + 13159, + 13159 + ], + "mapped", + [ + 49, + 53, + 28857 + ] + ], + [ + [ + 13160, + 13160 + ], + "mapped", + [ + 49, + 54, + 28857 + ] + ], + [ + [ + 13161, + 13161 + ], + "mapped", + [ + 49, + 55, + 28857 + ] + ], + [ + [ + 13162, + 13162 + ], + "mapped", + [ + 49, + 56, + 28857 + ] + ], + [ + [ + 13163, + 13163 + ], + "mapped", + [ + 49, + 57, + 28857 + ] + ], + [ + [ + 13164, + 13164 + ], + "mapped", + [ + 50, + 48, + 28857 + ] + ], + [ + [ + 13165, + 13165 + ], + "mapped", + [ + 50, + 49, + 28857 + ] + ], + [ + [ + 13166, + 13166 + ], + "mapped", + [ + 50, + 50, + 28857 + ] + ], + [ + [ + 13167, + 13167 + ], + "mapped", + [ + 50, + 51, + 28857 + ] + ], + [ + [ + 13168, + 13168 + ], + "mapped", + [ + 50, + 52, + 28857 + ] + ], + [ + [ + 13169, + 13169 + ], + "mapped", + [ + 104, + 112, + 97 + ] + ], + [ + [ + 13170, + 13170 + ], + "mapped", + [ + 100, + 97 + ] + ], + [ + [ + 13171, + 13171 + ], + "mapped", + [ + 97, + 117 + ] + ], + [ + [ + 13172, + 13172 + ], + "mapped", + [ + 98, + 97, + 114 + ] + ], + [ + [ + 13173, + 13173 + ], + "mapped", + [ + 111, + 118 + ] + ], + [ + [ + 13174, + 13174 + ], + "mapped", + [ + 112, + 99 + ] + ], + [ + [ + 13175, + 13175 + ], + "mapped", + [ + 100, + 109 + ] + ], + [ + [ + 13176, + 13176 + ], + "mapped", + [ + 100, + 109, + 50 + ] + ], + [ + [ + 13177, + 13177 + ], + "mapped", + [ + 100, + 109, + 51 + ] + ], + [ + [ + 13178, + 13178 + ], + "mapped", + [ + 105, + 117 + ] + ], + [ + [ + 13179, + 13179 + ], + "mapped", + [ + 24179, + 25104 + ] + ], + [ + [ + 13180, + 13180 + ], + "mapped", + [ + 26157, + 21644 + ] + ], + [ + [ + 13181, + 13181 + ], + "mapped", + [ + 22823, + 27491 + ] + ], + [ + [ + 13182, + 13182 + ], + "mapped", + [ + 26126, + 27835 + ] + ], + [ + [ + 13183, + 13183 + ], + "mapped", + [ + 26666, + 24335, + 20250, + 31038 + ] + ], + [ + [ + 13184, + 13184 + ], + "mapped", + [ + 112, + 97 + ] + ], + [ + [ + 13185, + 13185 + ], + "mapped", + [ + 110, + 97 + ] + ], + [ + [ + 13186, + 13186 + ], + "mapped", + [ + 956, + 97 + ] + ], + [ + [ + 13187, + 13187 + ], + "mapped", + [ + 109, + 97 + ] + ], + [ + [ + 13188, + 13188 + ], + "mapped", + [ + 107, + 97 + ] + ], + [ + [ + 13189, + 13189 + ], + "mapped", + [ + 107, + 98 + ] + ], + [ + [ + 13190, + 13190 + ], + "mapped", + [ + 109, + 98 + ] + ], + [ + [ + 13191, + 13191 + ], + "mapped", + [ + 103, + 98 + ] + ], + [ + [ + 13192, + 13192 + ], + "mapped", + [ + 99, + 97, + 108 + ] + ], + [ + [ + 13193, + 13193 + ], + "mapped", + [ + 107, + 99, + 97, + 108 + ] + ], + [ + [ + 13194, + 13194 + ], + "mapped", + [ + 112, + 102 + ] + ], + [ + [ + 13195, + 13195 + ], + "mapped", + [ + 110, + 102 + ] + ], + [ + [ + 13196, + 13196 + ], + "mapped", + [ + 956, + 102 + ] + ], + [ + [ + 13197, + 13197 + ], + "mapped", + [ + 956, + 103 + ] + ], + [ + [ + 13198, + 13198 + ], + "mapped", + [ + 109, + 103 + ] + ], + [ + [ + 13199, + 13199 + ], + "mapped", + [ + 107, + 103 + ] + ], + [ + [ + 13200, + 13200 + ], + "mapped", + [ + 104, + 122 + ] + ], + [ + [ + 13201, + 13201 + ], + "mapped", + [ + 107, + 104, + 122 + ] + ], + [ + [ + 13202, + 13202 + ], + "mapped", + [ + 109, + 104, + 122 + ] + ], + [ + [ + 13203, + 13203 + ], + "mapped", + [ + 103, + 104, + 122 + ] + ], + [ + [ + 13204, + 13204 + ], + "mapped", + [ + 116, + 104, + 122 + ] + ], + [ + [ + 13205, + 13205 + ], + "mapped", + [ + 956, + 108 + ] + ], + [ + [ + 13206, + 13206 + ], + "mapped", + [ + 109, + 108 + ] + ], + [ + [ + 13207, + 13207 + ], + "mapped", + [ + 100, + 108 + ] + ], + [ + [ + 13208, + 13208 + ], + "mapped", + [ + 107, + 108 + ] + ], + [ + [ + 13209, + 13209 + ], + "mapped", + [ + 102, + 109 + ] + ], + [ + [ + 13210, + 13210 + ], + "mapped", + [ + 110, + 109 + ] + ], + [ + [ + 13211, + 13211 + ], + "mapped", + [ + 956, + 109 + ] + ], + [ + [ + 13212, + 13212 + ], + "mapped", + [ + 109, + 109 + ] + ], + [ + [ + 13213, + 13213 + ], + "mapped", + [ + 99, + 109 + ] + ], + [ + [ + 13214, + 13214 + ], + "mapped", + [ + 107, + 109 + ] + ], + [ + [ + 13215, + 13215 + ], + "mapped", + [ + 109, + 109, + 50 + ] + ], + [ + [ + 13216, + 13216 + ], + "mapped", + [ + 99, + 109, + 50 + ] + ], + [ + [ + 13217, + 13217 + ], + "mapped", + [ + 109, + 50 + ] + ], + [ + [ + 13218, + 13218 + ], + "mapped", + [ + 107, + 109, + 50 + ] + ], + [ + [ + 13219, + 13219 + ], + "mapped", + [ + 109, + 109, + 51 + ] + ], + [ + [ + 13220, + 13220 + ], + "mapped", + [ + 99, + 109, + 51 + ] + ], + [ + [ + 13221, + 13221 + ], + "mapped", + [ + 109, + 51 + ] + ], + [ + [ + 13222, + 13222 + ], + "mapped", + [ + 107, + 109, + 51 + ] + ], + [ + [ + 13223, + 13223 + ], + "mapped", + [ + 109, + 8725, + 115 + ] + ], + [ + [ + 13224, + 13224 + ], + "mapped", + [ + 109, + 8725, + 115, + 50 + ] + ], + [ + [ + 13225, + 13225 + ], + "mapped", + [ + 112, + 97 + ] + ], + [ + [ + 13226, + 13226 + ], + "mapped", + [ + 107, + 112, + 97 + ] + ], + [ + [ + 13227, + 13227 + ], + "mapped", + [ + 109, + 112, + 97 + ] + ], + [ + [ + 13228, + 13228 + ], + "mapped", + [ + 103, + 112, + 97 + ] + ], + [ + [ + 13229, + 13229 + ], + "mapped", + [ + 114, + 97, + 100 + ] + ], + [ + [ + 13230, + 13230 + ], + "mapped", + [ + 114, + 97, + 100, + 8725, + 115 + ] + ], + [ + [ + 13231, + 13231 + ], + "mapped", + [ + 114, + 97, + 100, + 8725, + 115, + 50 + ] + ], + [ + [ + 13232, + 13232 + ], + "mapped", + [ + 112, + 115 + ] + ], + [ + [ + 13233, + 13233 + ], + "mapped", + [ + 110, + 115 + ] + ], + [ + [ + 13234, + 13234 + ], + "mapped", + [ + 956, + 115 + ] + ], + [ + [ + 13235, + 13235 + ], + "mapped", + [ + 109, + 115 + ] + ], + [ + [ + 13236, + 13236 + ], + "mapped", + [ + 112, + 118 + ] + ], + [ + [ + 13237, + 13237 + ], + "mapped", + [ + 110, + 118 + ] + ], + [ + [ + 13238, + 13238 + ], + "mapped", + [ + 956, + 118 + ] + ], + [ + [ + 13239, + 13239 + ], + "mapped", + [ + 109, + 118 + ] + ], + [ + [ + 13240, + 13240 + ], + "mapped", + [ + 107, + 118 + ] + ], + [ + [ + 13241, + 13241 + ], + "mapped", + [ + 109, + 118 + ] + ], + [ + [ + 13242, + 13242 + ], + "mapped", + [ + 112, + 119 + ] + ], + [ + [ + 13243, + 13243 + ], + "mapped", + [ + 110, + 119 + ] + ], + [ + [ + 13244, + 13244 + ], + "mapped", + [ + 956, + 119 + ] + ], + [ + [ + 13245, + 13245 + ], + "mapped", + [ + 109, + 119 + ] + ], + [ + [ + 13246, + 13246 + ], + "mapped", + [ + 107, + 119 + ] + ], + [ + [ + 13247, + 13247 + ], + "mapped", + [ + 109, + 119 + ] + ], + [ + [ + 13248, + 13248 + ], + "mapped", + [ + 107, + 969 + ] + ], + [ + [ + 13249, + 13249 + ], + "mapped", + [ + 109, + 969 + ] + ], + [ + [ + 13250, + 13250 + ], + "disallowed" + ], + [ + [ + 13251, + 13251 + ], + "mapped", + [ + 98, + 113 + ] + ], + [ + [ + 13252, + 13252 + ], + "mapped", + [ + 99, + 99 + ] + ], + [ + [ + 13253, + 13253 + ], + "mapped", + [ + 99, + 100 + ] + ], + [ + [ + 13254, + 13254 + ], + "mapped", + [ + 99, + 8725, + 107, + 103 + ] + ], + [ + [ + 13255, + 13255 + ], + "disallowed" + ], + [ + [ + 13256, + 13256 + ], + "mapped", + [ + 100, + 98 + ] + ], + [ + [ + 13257, + 13257 + ], + "mapped", + [ + 103, + 121 + ] + ], + [ + [ + 13258, + 13258 + ], + "mapped", + [ + 104, + 97 + ] + ], + [ + [ + 13259, + 13259 + ], + "mapped", + [ + 104, + 112 + ] + ], + [ + [ + 13260, + 13260 + ], + "mapped", + [ + 105, + 110 + ] + ], + [ + [ + 13261, + 13261 + ], + "mapped", + [ + 107, + 107 + ] + ], + [ + [ + 13262, + 13262 + ], + "mapped", + [ + 107, + 109 + ] + ], + [ + [ + 13263, + 13263 + ], + "mapped", + [ + 107, + 116 + ] + ], + [ + [ + 13264, + 13264 + ], + "mapped", + [ + 108, + 109 + ] + ], + [ + [ + 13265, + 13265 + ], + "mapped", + [ + 108, + 110 + ] + ], + [ + [ + 13266, + 13266 + ], + "mapped", + [ + 108, + 111, + 103 + ] + ], + [ + [ + 13267, + 13267 + ], + "mapped", + [ + 108, + 120 + ] + ], + [ + [ + 13268, + 13268 + ], + "mapped", + [ + 109, + 98 + ] + ], + [ + [ + 13269, + 13269 + ], + "mapped", + [ + 109, + 105, + 108 + ] + ], + [ + [ + 13270, + 13270 + ], + "mapped", + [ + 109, + 111, + 108 + ] + ], + [ + [ + 13271, + 13271 + ], + "mapped", + [ + 112, + 104 + ] + ], + [ + [ + 13272, + 13272 + ], + "disallowed" + ], + [ + [ + 13273, + 13273 + ], + "mapped", + [ + 112, + 112, + 109 + ] + ], + [ + [ + 13274, + 13274 + ], + "mapped", + [ + 112, + 114 + ] + ], + [ + [ + 13275, + 13275 + ], + "mapped", + [ + 115, + 114 + ] + ], + [ + [ + 13276, + 13276 + ], + "mapped", + [ + 115, + 118 + ] + ], + [ + [ + 13277, + 13277 + ], + "mapped", + [ + 119, + 98 + ] + ], + [ + [ + 13278, + 13278 + ], + "mapped", + [ + 118, + 8725, + 109 + ] + ], + [ + [ + 13279, + 13279 + ], + "mapped", + [ + 97, + 8725, + 109 + ] + ], + [ + [ + 13280, + 13280 + ], + "mapped", + [ + 49, + 26085 + ] + ], + [ + [ + 13281, + 13281 + ], + "mapped", + [ + 50, + 26085 + ] + ], + [ + [ + 13282, + 13282 + ], + "mapped", + [ + 51, + 26085 + ] + ], + [ + [ + 13283, + 13283 + ], + "mapped", + [ + 52, + 26085 + ] + ], + [ + [ + 13284, + 13284 + ], + "mapped", + [ + 53, + 26085 + ] + ], + [ + [ + 13285, + 13285 + ], + "mapped", + [ + 54, + 26085 + ] + ], + [ + [ + 13286, + 13286 + ], + "mapped", + [ + 55, + 26085 + ] + ], + [ + [ + 13287, + 13287 + ], + "mapped", + [ + 56, + 26085 + ] + ], + [ + [ + 13288, + 13288 + ], + "mapped", + [ + 57, + 26085 + ] + ], + [ + [ + 13289, + 13289 + ], + "mapped", + [ + 49, + 48, + 26085 + ] + ], + [ + [ + 13290, + 13290 + ], + "mapped", + [ + 49, + 49, + 26085 + ] + ], + [ + [ + 13291, + 13291 + ], + "mapped", + [ + 49, + 50, + 26085 + ] + ], + [ + [ + 13292, + 13292 + ], + "mapped", + [ + 49, + 51, + 26085 + ] + ], + [ + [ + 13293, + 13293 + ], + "mapped", + [ + 49, + 52, + 26085 + ] + ], + [ + [ + 13294, + 13294 + ], + "mapped", + [ + 49, + 53, + 26085 + ] + ], + [ + [ + 13295, + 13295 + ], + "mapped", + [ + 49, + 54, + 26085 + ] + ], + [ + [ + 13296, + 13296 + ], + "mapped", + [ + 49, + 55, + 26085 + ] + ], + [ + [ + 13297, + 13297 + ], + "mapped", + [ + 49, + 56, + 26085 + ] + ], + [ + [ + 13298, + 13298 + ], + "mapped", + [ + 49, + 57, + 26085 + ] + ], + [ + [ + 13299, + 13299 + ], + "mapped", + [ + 50, + 48, + 26085 + ] + ], + [ + [ + 13300, + 13300 + ], + "mapped", + [ + 50, + 49, + 26085 + ] + ], + [ + [ + 13301, + 13301 + ], + "mapped", + [ + 50, + 50, + 26085 + ] + ], + [ + [ + 13302, + 13302 + ], + "mapped", + [ + 50, + 51, + 26085 + ] + ], + [ + [ + 13303, + 13303 + ], + "mapped", + [ + 50, + 52, + 26085 + ] + ], + [ + [ + 13304, + 13304 + ], + "mapped", + [ + 50, + 53, + 26085 + ] + ], + [ + [ + 13305, + 13305 + ], + "mapped", + [ + 50, + 54, + 26085 + ] + ], + [ + [ + 13306, + 13306 + ], + "mapped", + [ + 50, + 55, + 26085 + ] + ], + [ + [ + 13307, + 13307 + ], + "mapped", + [ + 50, + 56, + 26085 + ] + ], + [ + [ + 13308, + 13308 + ], + "mapped", + [ + 50, + 57, + 26085 + ] + ], + [ + [ + 13309, + 13309 + ], + "mapped", + [ + 51, + 48, + 26085 + ] + ], + [ + [ + 13310, + 13310 + ], + "mapped", + [ + 51, + 49, + 26085 + ] + ], + [ + [ + 13311, + 13311 + ], + "mapped", + [ + 103, + 97, + 108 + ] + ], + [ + [ + 13312, + 19893 + ], + "valid" + ], + [ + [ + 19894, + 19903 + ], + "disallowed" + ], + [ + [ + 19904, + 19967 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 19968, + 40869 + ], + "valid" + ], + [ + [ + 40870, + 40891 + ], + "valid" + ], + [ + [ + 40892, + 40899 + ], + "valid" + ], + [ + [ + 40900, + 40907 + ], + "valid" + ], + [ + [ + 40908, + 40908 + ], + "valid" + ], + [ + [ + 40909, + 40917 + ], + "valid" + ], + [ + [ + 40918, + 40959 + ], + "disallowed" + ], + [ + [ + 40960, + 42124 + ], + "valid" + ], + [ + [ + 42125, + 42127 + ], + "disallowed" + ], + [ + [ + 42128, + 42145 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42146, + 42147 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42148, + 42163 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42164, + 42164 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42165, + 42176 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42177, + 42177 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42178, + 42180 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42181, + 42181 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42182, + 42182 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42183, + 42191 + ], + "disallowed" + ], + [ + [ + 42192, + 42237 + ], + "valid" + ], + [ + [ + 42238, + 42239 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42240, + 42508 + ], + "valid" + ], + [ + [ + 42509, + 42511 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42512, + 42539 + ], + "valid" + ], + [ + [ + 42540, + 42559 + ], + "disallowed" + ], + [ + [ + 42560, + 42560 + ], + "mapped", + [ + 42561 + ] + ], + [ + [ + 42561, + 42561 + ], + "valid" + ], + [ + [ + 42562, + 42562 + ], + "mapped", + [ + 42563 + ] + ], + [ + [ + 42563, + 42563 + ], + "valid" + ], + [ + [ + 42564, + 42564 + ], + "mapped", + [ + 42565 + ] + ], + [ + [ + 42565, + 42565 + ], + "valid" + ], + [ + [ + 42566, + 42566 + ], + "mapped", + [ + 42567 + ] + ], + [ + [ + 42567, + 42567 + ], + "valid" + ], + [ + [ + 42568, + 42568 + ], + "mapped", + [ + 42569 + ] + ], + [ + [ + 42569, + 42569 + ], + "valid" + ], + [ + [ + 42570, + 42570 + ], + "mapped", + [ + 42571 + ] + ], + [ + [ + 42571, + 42571 + ], + "valid" + ], + [ + [ + 42572, + 42572 + ], + "mapped", + [ + 42573 + ] + ], + [ + [ + 42573, + 42573 + ], + "valid" + ], + [ + [ + 42574, + 42574 + ], + "mapped", + [ + 42575 + ] + ], + [ + [ + 42575, + 42575 + ], + "valid" + ], + [ + [ + 42576, + 42576 + ], + "mapped", + [ + 42577 + ] + ], + [ + [ + 42577, + 42577 + ], + "valid" + ], + [ + [ + 42578, + 42578 + ], + "mapped", + [ + 42579 + ] + ], + [ + [ + 42579, + 42579 + ], + "valid" + ], + [ + [ + 42580, + 42580 + ], + "mapped", + [ + 42581 + ] + ], + [ + [ + 42581, + 42581 + ], + "valid" + ], + [ + [ + 42582, + 42582 + ], + "mapped", + [ + 42583 + ] + ], + [ + [ + 42583, + 42583 + ], + "valid" + ], + [ + [ + 42584, + 42584 + ], + "mapped", + [ + 42585 + ] + ], + [ + [ + 42585, + 42585 + ], + "valid" + ], + [ + [ + 42586, + 42586 + ], + "mapped", + [ + 42587 + ] + ], + [ + [ + 42587, + 42587 + ], + "valid" + ], + [ + [ + 42588, + 42588 + ], + "mapped", + [ + 42589 + ] + ], + [ + [ + 42589, + 42589 + ], + "valid" + ], + [ + [ + 42590, + 42590 + ], + "mapped", + [ + 42591 + ] + ], + [ + [ + 42591, + 42591 + ], + "valid" + ], + [ + [ + 42592, + 42592 + ], + "mapped", + [ + 42593 + ] + ], + [ + [ + 42593, + 42593 + ], + "valid" + ], + [ + [ + 42594, + 42594 + ], + "mapped", + [ + 42595 + ] + ], + [ + [ + 42595, + 42595 + ], + "valid" + ], + [ + [ + 42596, + 42596 + ], + "mapped", + [ + 42597 + ] + ], + [ + [ + 42597, + 42597 + ], + "valid" + ], + [ + [ + 42598, + 42598 + ], + "mapped", + [ + 42599 + ] + ], + [ + [ + 42599, + 42599 + ], + "valid" + ], + [ + [ + 42600, + 42600 + ], + "mapped", + [ + 42601 + ] + ], + [ + [ + 42601, + 42601 + ], + "valid" + ], + [ + [ + 42602, + 42602 + ], + "mapped", + [ + 42603 + ] + ], + [ + [ + 42603, + 42603 + ], + "valid" + ], + [ + [ + 42604, + 42604 + ], + "mapped", + [ + 42605 + ] + ], + [ + [ + 42605, + 42607 + ], + "valid" + ], + [ + [ + 42608, + 42611 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42612, + 42619 + ], + "valid" + ], + [ + [ + 42620, + 42621 + ], + "valid" + ], + [ + [ + 42622, + 42622 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42623, + 42623 + ], + "valid" + ], + [ + [ + 42624, + 42624 + ], + "mapped", + [ + 42625 + ] + ], + [ + [ + 42625, + 42625 + ], + "valid" + ], + [ + [ + 42626, + 42626 + ], + "mapped", + [ + 42627 + ] + ], + [ + [ + 42627, + 42627 + ], + "valid" + ], + [ + [ + 42628, + 42628 + ], + "mapped", + [ + 42629 + ] + ], + [ + [ + 42629, + 42629 + ], + "valid" + ], + [ + [ + 42630, + 42630 + ], + "mapped", + [ + 42631 + ] + ], + [ + [ + 42631, + 42631 + ], + "valid" + ], + [ + [ + 42632, + 42632 + ], + "mapped", + [ + 42633 + ] + ], + [ + [ + 42633, + 42633 + ], + "valid" + ], + [ + [ + 42634, + 42634 + ], + "mapped", + [ + 42635 + ] + ], + [ + [ + 42635, + 42635 + ], + "valid" + ], + [ + [ + 42636, + 42636 + ], + "mapped", + [ + 42637 + ] + ], + [ + [ + 42637, + 42637 + ], + "valid" + ], + [ + [ + 42638, + 42638 + ], + "mapped", + [ + 42639 + ] + ], + [ + [ + 42639, + 42639 + ], + "valid" + ], + [ + [ + 42640, + 42640 + ], + "mapped", + [ + 42641 + ] + ], + [ + [ + 42641, + 42641 + ], + "valid" + ], + [ + [ + 42642, + 42642 + ], + "mapped", + [ + 42643 + ] + ], + [ + [ + 42643, + 42643 + ], + "valid" + ], + [ + [ + 42644, + 42644 + ], + "mapped", + [ + 42645 + ] + ], + [ + [ + 42645, + 42645 + ], + "valid" + ], + [ + [ + 42646, + 42646 + ], + "mapped", + [ + 42647 + ] + ], + [ + [ + 42647, + 42647 + ], + "valid" + ], + [ + [ + 42648, + 42648 + ], + "mapped", + [ + 42649 + ] + ], + [ + [ + 42649, + 42649 + ], + "valid" + ], + [ + [ + 42650, + 42650 + ], + "mapped", + [ + 42651 + ] + ], + [ + [ + 42651, + 42651 + ], + "valid" + ], + [ + [ + 42652, + 42652 + ], + "mapped", + [ + 1098 + ] + ], + [ + [ + 42653, + 42653 + ], + "mapped", + [ + 1100 + ] + ], + [ + [ + 42654, + 42654 + ], + "valid" + ], + [ + [ + 42655, + 42655 + ], + "valid" + ], + [ + [ + 42656, + 42725 + ], + "valid" + ], + [ + [ + 42726, + 42735 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42736, + 42737 + ], + "valid" + ], + [ + [ + 42738, + 42743 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42744, + 42751 + ], + "disallowed" + ], + [ + [ + 42752, + 42774 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42775, + 42778 + ], + "valid" + ], + [ + [ + 42779, + 42783 + ], + "valid" + ], + [ + [ + 42784, + 42785 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42786, + 42786 + ], + "mapped", + [ + 42787 + ] + ], + [ + [ + 42787, + 42787 + ], + "valid" + ], + [ + [ + 42788, + 42788 + ], + "mapped", + [ + 42789 + ] + ], + [ + [ + 42789, + 42789 + ], + "valid" + ], + [ + [ + 42790, + 42790 + ], + "mapped", + [ + 42791 + ] + ], + [ + [ + 42791, + 42791 + ], + "valid" + ], + [ + [ + 42792, + 42792 + ], + "mapped", + [ + 42793 + ] + ], + [ + [ + 42793, + 42793 + ], + "valid" + ], + [ + [ + 42794, + 42794 + ], + "mapped", + [ + 42795 + ] + ], + [ + [ + 42795, + 42795 + ], + "valid" + ], + [ + [ + 42796, + 42796 + ], + "mapped", + [ + 42797 + ] + ], + [ + [ + 42797, + 42797 + ], + "valid" + ], + [ + [ + 42798, + 42798 + ], + "mapped", + [ + 42799 + ] + ], + [ + [ + 42799, + 42801 + ], + "valid" + ], + [ + [ + 42802, + 42802 + ], + "mapped", + [ + 42803 + ] + ], + [ + [ + 42803, + 42803 + ], + "valid" + ], + [ + [ + 42804, + 42804 + ], + "mapped", + [ + 42805 + ] + ], + [ + [ + 42805, + 42805 + ], + "valid" + ], + [ + [ + 42806, + 42806 + ], + "mapped", + [ + 42807 + ] + ], + [ + [ + 42807, + 42807 + ], + "valid" + ], + [ + [ + 42808, + 42808 + ], + "mapped", + [ + 42809 + ] + ], + [ + [ + 42809, + 42809 + ], + "valid" + ], + [ + [ + 42810, + 42810 + ], + "mapped", + [ + 42811 + ] + ], + [ + [ + 42811, + 42811 + ], + "valid" + ], + [ + [ + 42812, + 42812 + ], + "mapped", + [ + 42813 + ] + ], + [ + [ + 42813, + 42813 + ], + "valid" + ], + [ + [ + 42814, + 42814 + ], + "mapped", + [ + 42815 + ] + ], + [ + [ + 42815, + 42815 + ], + "valid" + ], + [ + [ + 42816, + 42816 + ], + "mapped", + [ + 42817 + ] + ], + [ + [ + 42817, + 42817 + ], + "valid" + ], + [ + [ + 42818, + 42818 + ], + "mapped", + [ + 42819 + ] + ], + [ + [ + 42819, + 42819 + ], + "valid" + ], + [ + [ + 42820, + 42820 + ], + "mapped", + [ + 42821 + ] + ], + [ + [ + 42821, + 42821 + ], + "valid" + ], + [ + [ + 42822, + 42822 + ], + "mapped", + [ + 42823 + ] + ], + [ + [ + 42823, + 42823 + ], + "valid" + ], + [ + [ + 42824, + 42824 + ], + "mapped", + [ + 42825 + ] + ], + [ + [ + 42825, + 42825 + ], + "valid" + ], + [ + [ + 42826, + 42826 + ], + "mapped", + [ + 42827 + ] + ], + [ + [ + 42827, + 42827 + ], + "valid" + ], + [ + [ + 42828, + 42828 + ], + "mapped", + [ + 42829 + ] + ], + [ + [ + 42829, + 42829 + ], + "valid" + ], + [ + [ + 42830, + 42830 + ], + "mapped", + [ + 42831 + ] + ], + [ + [ + 42831, + 42831 + ], + "valid" + ], + [ + [ + 42832, + 42832 + ], + "mapped", + [ + 42833 + ] + ], + [ + [ + 42833, + 42833 + ], + "valid" + ], + [ + [ + 42834, + 42834 + ], + "mapped", + [ + 42835 + ] + ], + [ + [ + 42835, + 42835 + ], + "valid" + ], + [ + [ + 42836, + 42836 + ], + "mapped", + [ + 42837 + ] + ], + [ + [ + 42837, + 42837 + ], + "valid" + ], + [ + [ + 42838, + 42838 + ], + "mapped", + [ + 42839 + ] + ], + [ + [ + 42839, + 42839 + ], + "valid" + ], + [ + [ + 42840, + 42840 + ], + "mapped", + [ + 42841 + ] + ], + [ + [ + 42841, + 42841 + ], + "valid" + ], + [ + [ + 42842, + 42842 + ], + "mapped", + [ + 42843 + ] + ], + [ + [ + 42843, + 42843 + ], + "valid" + ], + [ + [ + 42844, + 42844 + ], + "mapped", + [ + 42845 + ] + ], + [ + [ + 42845, + 42845 + ], + "valid" + ], + [ + [ + 42846, + 42846 + ], + "mapped", + [ + 42847 + ] + ], + [ + [ + 42847, + 42847 + ], + "valid" + ], + [ + [ + 42848, + 42848 + ], + "mapped", + [ + 42849 + ] + ], + [ + [ + 42849, + 42849 + ], + "valid" + ], + [ + [ + 42850, + 42850 + ], + "mapped", + [ + 42851 + ] + ], + [ + [ + 42851, + 42851 + ], + "valid" + ], + [ + [ + 42852, + 42852 + ], + "mapped", + [ + 42853 + ] + ], + [ + [ + 42853, + 42853 + ], + "valid" + ], + [ + [ + 42854, + 42854 + ], + "mapped", + [ + 42855 + ] + ], + [ + [ + 42855, + 42855 + ], + "valid" + ], + [ + [ + 42856, + 42856 + ], + "mapped", + [ + 42857 + ] + ], + [ + [ + 42857, + 42857 + ], + "valid" + ], + [ + [ + 42858, + 42858 + ], + "mapped", + [ + 42859 + ] + ], + [ + [ + 42859, + 42859 + ], + "valid" + ], + [ + [ + 42860, + 42860 + ], + "mapped", + [ + 42861 + ] + ], + [ + [ + 42861, + 42861 + ], + "valid" + ], + [ + [ + 42862, + 42862 + ], + "mapped", + [ + 42863 + ] + ], + [ + [ + 42863, + 42863 + ], + "valid" + ], + [ + [ + 42864, + 42864 + ], + "mapped", + [ + 42863 + ] + ], + [ + [ + 42865, + 42872 + ], + "valid" + ], + [ + [ + 42873, + 42873 + ], + "mapped", + [ + 42874 + ] + ], + [ + [ + 42874, + 42874 + ], + "valid" + ], + [ + [ + 42875, + 42875 + ], + "mapped", + [ + 42876 + ] + ], + [ + [ + 42876, + 42876 + ], + "valid" + ], + [ + [ + 42877, + 42877 + ], + "mapped", + [ + 7545 + ] + ], + [ + [ + 42878, + 42878 + ], + "mapped", + [ + 42879 + ] + ], + [ + [ + 42879, + 42879 + ], + "valid" + ], + [ + [ + 42880, + 42880 + ], + "mapped", + [ + 42881 + ] + ], + [ + [ + 42881, + 42881 + ], + "valid" + ], + [ + [ + 42882, + 42882 + ], + "mapped", + [ + 42883 + ] + ], + [ + [ + 42883, + 42883 + ], + "valid" + ], + [ + [ + 42884, + 42884 + ], + "mapped", + [ + 42885 + ] + ], + [ + [ + 42885, + 42885 + ], + "valid" + ], + [ + [ + 42886, + 42886 + ], + "mapped", + [ + 42887 + ] + ], + [ + [ + 42887, + 42888 + ], + "valid" + ], + [ + [ + 42889, + 42890 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 42891, + 42891 + ], + "mapped", + [ + 42892 + ] + ], + [ + [ + 42892, + 42892 + ], + "valid" + ], + [ + [ + 42893, + 42893 + ], + "mapped", + [ + 613 + ] + ], + [ + [ + 42894, + 42894 + ], + "valid" + ], + [ + [ + 42895, + 42895 + ], + "valid" + ], + [ + [ + 42896, + 42896 + ], + "mapped", + [ + 42897 + ] + ], + [ + [ + 42897, + 42897 + ], + "valid" + ], + [ + [ + 42898, + 42898 + ], + "mapped", + [ + 42899 + ] + ], + [ + [ + 42899, + 42899 + ], + "valid" + ], + [ + [ + 42900, + 42901 + ], + "valid" + ], + [ + [ + 42902, + 42902 + ], + "mapped", + [ + 42903 + ] + ], + [ + [ + 42903, + 42903 + ], + "valid" + ], + [ + [ + 42904, + 42904 + ], + "mapped", + [ + 42905 + ] + ], + [ + [ + 42905, + 42905 + ], + "valid" + ], + [ + [ + 42906, + 42906 + ], + "mapped", + [ + 42907 + ] + ], + [ + [ + 42907, + 42907 + ], + "valid" + ], + [ + [ + 42908, + 42908 + ], + "mapped", + [ + 42909 + ] + ], + [ + [ + 42909, + 42909 + ], + "valid" + ], + [ + [ + 42910, + 42910 + ], + "mapped", + [ + 42911 + ] + ], + [ + [ + 42911, + 42911 + ], + "valid" + ], + [ + [ + 42912, + 42912 + ], + "mapped", + [ + 42913 + ] + ], + [ + [ + 42913, + 42913 + ], + "valid" + ], + [ + [ + 42914, + 42914 + ], + "mapped", + [ + 42915 + ] + ], + [ + [ + 42915, + 42915 + ], + "valid" + ], + [ + [ + 42916, + 42916 + ], + "mapped", + [ + 42917 + ] + ], + [ + [ + 42917, + 42917 + ], + "valid" + ], + [ + [ + 42918, + 42918 + ], + "mapped", + [ + 42919 + ] + ], + [ + [ + 42919, + 42919 + ], + "valid" + ], + [ + [ + 42920, + 42920 + ], + "mapped", + [ + 42921 + ] + ], + [ + [ + 42921, + 42921 + ], + "valid" + ], + [ + [ + 42922, + 42922 + ], + "mapped", + [ + 614 + ] + ], + [ + [ + 42923, + 42923 + ], + "mapped", + [ + 604 + ] + ], + [ + [ + 42924, + 42924 + ], + "mapped", + [ + 609 + ] + ], + [ + [ + 42925, + 42925 + ], + "mapped", + [ + 620 + ] + ], + [ + [ + 42926, + 42927 + ], + "disallowed" + ], + [ + [ + 42928, + 42928 + ], + "mapped", + [ + 670 + ] + ], + [ + [ + 42929, + 42929 + ], + "mapped", + [ + 647 + ] + ], + [ + [ + 42930, + 42930 + ], + "mapped", + [ + 669 + ] + ], + [ + [ + 42931, + 42931 + ], + "mapped", + [ + 43859 + ] + ], + [ + [ + 42932, + 42932 + ], + "mapped", + [ + 42933 + ] + ], + [ + [ + 42933, + 42933 + ], + "valid" + ], + [ + [ + 42934, + 42934 + ], + "mapped", + [ + 42935 + ] + ], + [ + [ + 42935, + 42935 + ], + "valid" + ], + [ + [ + 42936, + 42998 + ], + "disallowed" + ], + [ + [ + 42999, + 42999 + ], + "valid" + ], + [ + [ + 43000, + 43000 + ], + "mapped", + [ + 295 + ] + ], + [ + [ + 43001, + 43001 + ], + "mapped", + [ + 339 + ] + ], + [ + [ + 43002, + 43002 + ], + "valid" + ], + [ + [ + 43003, + 43007 + ], + "valid" + ], + [ + [ + 43008, + 43047 + ], + "valid" + ], + [ + [ + 43048, + 43051 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43052, + 43055 + ], + "disallowed" + ], + [ + [ + 43056, + 43065 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43066, + 43071 + ], + "disallowed" + ], + [ + [ + 43072, + 43123 + ], + "valid" + ], + [ + [ + 43124, + 43127 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43128, + 43135 + ], + "disallowed" + ], + [ + [ + 43136, + 43204 + ], + "valid" + ], + [ + [ + 43205, + 43213 + ], + "disallowed" + ], + [ + [ + 43214, + 43215 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43216, + 43225 + ], + "valid" + ], + [ + [ + 43226, + 43231 + ], + "disallowed" + ], + [ + [ + 43232, + 43255 + ], + "valid" + ], + [ + [ + 43256, + 43258 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43259, + 43259 + ], + "valid" + ], + [ + [ + 43260, + 43260 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43261, + 43261 + ], + "valid" + ], + [ + [ + 43262, + 43263 + ], + "disallowed" + ], + [ + [ + 43264, + 43309 + ], + "valid" + ], + [ + [ + 43310, + 43311 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43312, + 43347 + ], + "valid" + ], + [ + [ + 43348, + 43358 + ], + "disallowed" + ], + [ + [ + 43359, + 43359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43360, + 43388 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43389, + 43391 + ], + "disallowed" + ], + [ + [ + 43392, + 43456 + ], + "valid" + ], + [ + [ + 43457, + 43469 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43470, + 43470 + ], + "disallowed" + ], + [ + [ + 43471, + 43481 + ], + "valid" + ], + [ + [ + 43482, + 43485 + ], + "disallowed" + ], + [ + [ + 43486, + 43487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43488, + 43518 + ], + "valid" + ], + [ + [ + 43519, + 43519 + ], + "disallowed" + ], + [ + [ + 43520, + 43574 + ], + "valid" + ], + [ + [ + 43575, + 43583 + ], + "disallowed" + ], + [ + [ + 43584, + 43597 + ], + "valid" + ], + [ + [ + 43598, + 43599 + ], + "disallowed" + ], + [ + [ + 43600, + 43609 + ], + "valid" + ], + [ + [ + 43610, + 43611 + ], + "disallowed" + ], + [ + [ + 43612, + 43615 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43616, + 43638 + ], + "valid" + ], + [ + [ + 43639, + 43641 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43642, + 43643 + ], + "valid" + ], + [ + [ + 43644, + 43647 + ], + "valid" + ], + [ + [ + 43648, + 43714 + ], + "valid" + ], + [ + [ + 43715, + 43738 + ], + "disallowed" + ], + [ + [ + 43739, + 43741 + ], + "valid" + ], + [ + [ + 43742, + 43743 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43744, + 43759 + ], + "valid" + ], + [ + [ + 43760, + 43761 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43762, + 43766 + ], + "valid" + ], + [ + [ + 43767, + 43776 + ], + "disallowed" + ], + [ + [ + 43777, + 43782 + ], + "valid" + ], + [ + [ + 43783, + 43784 + ], + "disallowed" + ], + [ + [ + 43785, + 43790 + ], + "valid" + ], + [ + [ + 43791, + 43792 + ], + "disallowed" + ], + [ + [ + 43793, + 43798 + ], + "valid" + ], + [ + [ + 43799, + 43807 + ], + "disallowed" + ], + [ + [ + 43808, + 43814 + ], + "valid" + ], + [ + [ + 43815, + 43815 + ], + "disallowed" + ], + [ + [ + 43816, + 43822 + ], + "valid" + ], + [ + [ + 43823, + 43823 + ], + "disallowed" + ], + [ + [ + 43824, + 43866 + ], + "valid" + ], + [ + [ + 43867, + 43867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 43868, + 43868 + ], + "mapped", + [ + 42791 + ] + ], + [ + [ + 43869, + 43869 + ], + "mapped", + [ + 43831 + ] + ], + [ + [ + 43870, + 43870 + ], + "mapped", + [ + 619 + ] + ], + [ + [ + 43871, + 43871 + ], + "mapped", + [ + 43858 + ] + ], + [ + [ + 43872, + 43875 + ], + "valid" + ], + [ + [ + 43876, + 43877 + ], + "valid" + ], + [ + [ + 43878, + 43887 + ], + "disallowed" + ], + [ + [ + 43888, + 43888 + ], + "mapped", + [ + 5024 + ] + ], + [ + [ + 43889, + 43889 + ], + "mapped", + [ + 5025 + ] + ], + [ + [ + 43890, + 43890 + ], + "mapped", + [ + 5026 + ] + ], + [ + [ + 43891, + 43891 + ], + "mapped", + [ + 5027 + ] + ], + [ + [ + 43892, + 43892 + ], + "mapped", + [ + 5028 + ] + ], + [ + [ + 43893, + 43893 + ], + "mapped", + [ + 5029 + ] + ], + [ + [ + 43894, + 43894 + ], + "mapped", + [ + 5030 + ] + ], + [ + [ + 43895, + 43895 + ], + "mapped", + [ + 5031 + ] + ], + [ + [ + 43896, + 43896 + ], + "mapped", + [ + 5032 + ] + ], + [ + [ + 43897, + 43897 + ], + "mapped", + [ + 5033 + ] + ], + [ + [ + 43898, + 43898 + ], + "mapped", + [ + 5034 + ] + ], + [ + [ + 43899, + 43899 + ], + "mapped", + [ + 5035 + ] + ], + [ + [ + 43900, + 43900 + ], + "mapped", + [ + 5036 + ] + ], + [ + [ + 43901, + 43901 + ], + "mapped", + [ + 5037 + ] + ], + [ + [ + 43902, + 43902 + ], + "mapped", + [ + 5038 + ] + ], + [ + [ + 43903, + 43903 + ], + "mapped", + [ + 5039 + ] + ], + [ + [ + 43904, + 43904 + ], + "mapped", + [ + 5040 + ] + ], + [ + [ + 43905, + 43905 + ], + "mapped", + [ + 5041 + ] + ], + [ + [ + 43906, + 43906 + ], + "mapped", + [ + 5042 + ] + ], + [ + [ + 43907, + 43907 + ], + "mapped", + [ + 5043 + ] + ], + [ + [ + 43908, + 43908 + ], + "mapped", + [ + 5044 + ] + ], + [ + [ + 43909, + 43909 + ], + "mapped", + [ + 5045 + ] + ], + [ + [ + 43910, + 43910 + ], + "mapped", + [ + 5046 + ] + ], + [ + [ + 43911, + 43911 + ], + "mapped", + [ + 5047 + ] + ], + [ + [ + 43912, + 43912 + ], + "mapped", + [ + 5048 + ] + ], + [ + [ + 43913, + 43913 + ], + "mapped", + [ + 5049 + ] + ], + [ + [ + 43914, + 43914 + ], + "mapped", + [ + 5050 + ] + ], + [ + [ + 43915, + 43915 + ], + "mapped", + [ + 5051 + ] + ], + [ + [ + 43916, + 43916 + ], + "mapped", + [ + 5052 + ] + ], + [ + [ + 43917, + 43917 + ], + "mapped", + [ + 5053 + ] + ], + [ + [ + 43918, + 43918 + ], + "mapped", + [ + 5054 + ] + ], + [ + [ + 43919, + 43919 + ], + "mapped", + [ + 5055 + ] + ], + [ + [ + 43920, + 43920 + ], + "mapped", + [ + 5056 + ] + ], + [ + [ + 43921, + 43921 + ], + "mapped", + [ + 5057 + ] + ], + [ + [ + 43922, + 43922 + ], + "mapped", + [ + 5058 + ] + ], + [ + [ + 43923, + 43923 + ], + "mapped", + [ + 5059 + ] + ], + [ + [ + 43924, + 43924 + ], + "mapped", + [ + 5060 + ] + ], + [ + [ + 43925, + 43925 + ], + "mapped", + [ + 5061 + ] + ], + [ + [ + 43926, + 43926 + ], + "mapped", + [ + 5062 + ] + ], + [ + [ + 43927, + 43927 + ], + "mapped", + [ + 5063 + ] + ], + [ + [ + 43928, + 43928 + ], + "mapped", + [ + 5064 + ] + ], + [ + [ + 43929, + 43929 + ], + "mapped", + [ + 5065 + ] + ], + [ + [ + 43930, + 43930 + ], + "mapped", + [ + 5066 + ] + ], + [ + [ + 43931, + 43931 + ], + "mapped", + [ + 5067 + ] + ], + [ + [ + 43932, + 43932 + ], + "mapped", + [ + 5068 + ] + ], + [ + [ + 43933, + 43933 + ], + "mapped", + [ + 5069 + ] + ], + [ + [ + 43934, + 43934 + ], + "mapped", + [ + 5070 + ] + ], + [ + [ + 43935, + 43935 + ], + "mapped", + [ + 5071 + ] + ], + [ + [ + 43936, + 43936 + ], + "mapped", + [ + 5072 + ] + ], + [ + [ + 43937, + 43937 + ], + "mapped", + [ + 5073 + ] + ], + [ + [ + 43938, + 43938 + ], + "mapped", + [ + 5074 + ] + ], + [ + [ + 43939, + 43939 + ], + "mapped", + [ + 5075 + ] + ], + [ + [ + 43940, + 43940 + ], + "mapped", + [ + 5076 + ] + ], + [ + [ + 43941, + 43941 + ], + "mapped", + [ + 5077 + ] + ], + [ + [ + 43942, + 43942 + ], + "mapped", + [ + 5078 + ] + ], + [ + [ + 43943, + 43943 + ], + "mapped", + [ + 5079 + ] + ], + [ + [ + 43944, + 43944 + ], + "mapped", + [ + 5080 + ] + ], + [ + [ + 43945, + 43945 + ], + "mapped", + [ + 5081 + ] + ], + [ + [ + 43946, + 43946 + ], + "mapped", + [ + 5082 + ] + ], + [ + [ + 43947, + 43947 + ], + "mapped", + [ + 5083 + ] + ], + [ + [ + 43948, + 43948 + ], + "mapped", + [ + 5084 + ] + ], + [ + [ + 43949, + 43949 + ], + "mapped", + [ + 5085 + ] + ], + [ + [ + 43950, + 43950 + ], + "mapped", + [ + 5086 + ] + ], + [ + [ + 43951, + 43951 + ], + "mapped", + [ + 5087 + ] + ], + [ + [ + 43952, + 43952 + ], + "mapped", + [ + 5088 + ] + ], + [ + [ + 43953, + 43953 + ], + "mapped", + [ + 5089 + ] + ], + [ + [ + 43954, + 43954 + ], + "mapped", + [ + 5090 + ] + ], + [ + [ + 43955, + 43955 + ], + "mapped", + [ + 5091 + ] + ], + [ + [ + 43956, + 43956 + ], + "mapped", + [ + 5092 + ] + ], + [ + [ + 43957, + 43957 + ], + "mapped", + [ + 5093 + ] + ], + [ + [ + 43958, + 43958 + ], + "mapped", + [ + 5094 + ] + ], + [ + [ + 43959, + 43959 + ], + "mapped", + [ + 5095 + ] + ], + [ + [ + 43960, + 43960 + ], + "mapped", + [ + 5096 + ] + ], + [ + [ + 43961, + 43961 + ], + "mapped", + [ + 5097 + ] + ], + [ + [ + 43962, + 43962 + ], + "mapped", + [ + 5098 + ] + ], + [ + [ + 43963, + 43963 + ], + "mapped", + [ + 5099 + ] + ], + [ + [ + 43964, + 43964 + ], + "mapped", + [ + 5100 + ] + ], + [ + [ + 43965, + 43965 + ], + "mapped", + [ + 5101 + ] + ], + [ + [ + 43966, + 43966 + ], + "mapped", + [ + 5102 + ] + ], + [ + [ + 43967, + 43967 + ], + "mapped", + [ + 5103 + ] + ], + [ + [ + 43968, + 44010 + ], + "valid" + ], + [ + [ + 44011, + 44011 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 44012, + 44013 + ], + "valid" + ], + [ + [ + 44014, + 44015 + ], + "disallowed" + ], + [ + [ + 44016, + 44025 + ], + "valid" + ], + [ + [ + 44026, + 44031 + ], + "disallowed" + ], + [ + [ + 44032, + 55203 + ], + "valid" + ], + [ + [ + 55204, + 55215 + ], + "disallowed" + ], + [ + [ + 55216, + 55238 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 55239, + 55242 + ], + "disallowed" + ], + [ + [ + 55243, + 55291 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 55292, + 55295 + ], + "disallowed" + ], + [ + [ + 55296, + 57343 + ], + "disallowed" + ], + [ + [ + 57344, + 63743 + ], + "disallowed" + ], + [ + [ + 63744, + 63744 + ], + "mapped", + [ + 35912 + ] + ], + [ + [ + 63745, + 63745 + ], + "mapped", + [ + 26356 + ] + ], + [ + [ + 63746, + 63746 + ], + "mapped", + [ + 36554 + ] + ], + [ + [ + 63747, + 63747 + ], + "mapped", + [ + 36040 + ] + ], + [ + [ + 63748, + 63748 + ], + "mapped", + [ + 28369 + ] + ], + [ + [ + 63749, + 63749 + ], + "mapped", + [ + 20018 + ] + ], + [ + [ + 63750, + 63750 + ], + "mapped", + [ + 21477 + ] + ], + [ + [ + 63751, + 63752 + ], + "mapped", + [ + 40860 + ] + ], + [ + [ + 63753, + 63753 + ], + "mapped", + [ + 22865 + ] + ], + [ + [ + 63754, + 63754 + ], + "mapped", + [ + 37329 + ] + ], + [ + [ + 63755, + 63755 + ], + "mapped", + [ + 21895 + ] + ], + [ + [ + 63756, + 63756 + ], + "mapped", + [ + 22856 + ] + ], + [ + [ + 63757, + 63757 + ], + "mapped", + [ + 25078 + ] + ], + [ + [ + 63758, + 63758 + ], + "mapped", + [ + 30313 + ] + ], + [ + [ + 63759, + 63759 + ], + "mapped", + [ + 32645 + ] + ], + [ + [ + 63760, + 63760 + ], + "mapped", + [ + 34367 + ] + ], + [ + [ + 63761, + 63761 + ], + "mapped", + [ + 34746 + ] + ], + [ + [ + 63762, + 63762 + ], + "mapped", + [ + 35064 + ] + ], + [ + [ + 63763, + 63763 + ], + "mapped", + [ + 37007 + ] + ], + [ + [ + 63764, + 63764 + ], + "mapped", + [ + 27138 + ] + ], + [ + [ + 63765, + 63765 + ], + "mapped", + [ + 27931 + ] + ], + [ + [ + 63766, + 63766 + ], + "mapped", + [ + 28889 + ] + ], + [ + [ + 63767, + 63767 + ], + "mapped", + [ + 29662 + ] + ], + [ + [ + 63768, + 63768 + ], + "mapped", + [ + 33853 + ] + ], + [ + [ + 63769, + 63769 + ], + "mapped", + [ + 37226 + ] + ], + [ + [ + 63770, + 63770 + ], + "mapped", + [ + 39409 + ] + ], + [ + [ + 63771, + 63771 + ], + "mapped", + [ + 20098 + ] + ], + [ + [ + 63772, + 63772 + ], + "mapped", + [ + 21365 + ] + ], + [ + [ + 63773, + 63773 + ], + "mapped", + [ + 27396 + ] + ], + [ + [ + 63774, + 63774 + ], + "mapped", + [ + 29211 + ] + ], + [ + [ + 63775, + 63775 + ], + "mapped", + [ + 34349 + ] + ], + [ + [ + 63776, + 63776 + ], + "mapped", + [ + 40478 + ] + ], + [ + [ + 63777, + 63777 + ], + "mapped", + [ + 23888 + ] + ], + [ + [ + 63778, + 63778 + ], + "mapped", + [ + 28651 + ] + ], + [ + [ + 63779, + 63779 + ], + "mapped", + [ + 34253 + ] + ], + [ + [ + 63780, + 63780 + ], + "mapped", + [ + 35172 + ] + ], + [ + [ + 63781, + 63781 + ], + "mapped", + [ + 25289 + ] + ], + [ + [ + 63782, + 63782 + ], + "mapped", + [ + 33240 + ] + ], + [ + [ + 63783, + 63783 + ], + "mapped", + [ + 34847 + ] + ], + [ + [ + 63784, + 63784 + ], + "mapped", + [ + 24266 + ] + ], + [ + [ + 63785, + 63785 + ], + "mapped", + [ + 26391 + ] + ], + [ + [ + 63786, + 63786 + ], + "mapped", + [ + 28010 + ] + ], + [ + [ + 63787, + 63787 + ], + "mapped", + [ + 29436 + ] + ], + [ + [ + 63788, + 63788 + ], + "mapped", + [ + 37070 + ] + ], + [ + [ + 63789, + 63789 + ], + "mapped", + [ + 20358 + ] + ], + [ + [ + 63790, + 63790 + ], + "mapped", + [ + 20919 + ] + ], + [ + [ + 63791, + 63791 + ], + "mapped", + [ + 21214 + ] + ], + [ + [ + 63792, + 63792 + ], + "mapped", + [ + 25796 + ] + ], + [ + [ + 63793, + 63793 + ], + "mapped", + [ + 27347 + ] + ], + [ + [ + 63794, + 63794 + ], + "mapped", + [ + 29200 + ] + ], + [ + [ + 63795, + 63795 + ], + "mapped", + [ + 30439 + ] + ], + [ + [ + 63796, + 63796 + ], + "mapped", + [ + 32769 + ] + ], + [ + [ + 63797, + 63797 + ], + "mapped", + [ + 34310 + ] + ], + [ + [ + 63798, + 63798 + ], + "mapped", + [ + 34396 + ] + ], + [ + [ + 63799, + 63799 + ], + "mapped", + [ + 36335 + ] + ], + [ + [ + 63800, + 63800 + ], + "mapped", + [ + 38706 + ] + ], + [ + [ + 63801, + 63801 + ], + "mapped", + [ + 39791 + ] + ], + [ + [ + 63802, + 63802 + ], + "mapped", + [ + 40442 + ] + ], + [ + [ + 63803, + 63803 + ], + "mapped", + [ + 30860 + ] + ], + [ + [ + 63804, + 63804 + ], + "mapped", + [ + 31103 + ] + ], + [ + [ + 63805, + 63805 + ], + "mapped", + [ + 32160 + ] + ], + [ + [ + 63806, + 63806 + ], + "mapped", + [ + 33737 + ] + ], + [ + [ + 63807, + 63807 + ], + "mapped", + [ + 37636 + ] + ], + [ + [ + 63808, + 63808 + ], + "mapped", + [ + 40575 + ] + ], + [ + [ + 63809, + 63809 + ], + "mapped", + [ + 35542 + ] + ], + [ + [ + 63810, + 63810 + ], + "mapped", + [ + 22751 + ] + ], + [ + [ + 63811, + 63811 + ], + "mapped", + [ + 24324 + ] + ], + [ + [ + 63812, + 63812 + ], + "mapped", + [ + 31840 + ] + ], + [ + [ + 63813, + 63813 + ], + "mapped", + [ + 32894 + ] + ], + [ + [ + 63814, + 63814 + ], + "mapped", + [ + 29282 + ] + ], + [ + [ + 63815, + 63815 + ], + "mapped", + [ + 30922 + ] + ], + [ + [ + 63816, + 63816 + ], + "mapped", + [ + 36034 + ] + ], + [ + [ + 63817, + 63817 + ], + "mapped", + [ + 38647 + ] + ], + [ + [ + 63818, + 63818 + ], + "mapped", + [ + 22744 + ] + ], + [ + [ + 63819, + 63819 + ], + "mapped", + [ + 23650 + ] + ], + [ + [ + 63820, + 63820 + ], + "mapped", + [ + 27155 + ] + ], + [ + [ + 63821, + 63821 + ], + "mapped", + [ + 28122 + ] + ], + [ + [ + 63822, + 63822 + ], + "mapped", + [ + 28431 + ] + ], + [ + [ + 63823, + 63823 + ], + "mapped", + [ + 32047 + ] + ], + [ + [ + 63824, + 63824 + ], + "mapped", + [ + 32311 + ] + ], + [ + [ + 63825, + 63825 + ], + "mapped", + [ + 38475 + ] + ], + [ + [ + 63826, + 63826 + ], + "mapped", + [ + 21202 + ] + ], + [ + [ + 63827, + 63827 + ], + "mapped", + [ + 32907 + ] + ], + [ + [ + 63828, + 63828 + ], + "mapped", + [ + 20956 + ] + ], + [ + [ + 63829, + 63829 + ], + "mapped", + [ + 20940 + ] + ], + [ + [ + 63830, + 63830 + ], + "mapped", + [ + 31260 + ] + ], + [ + [ + 63831, + 63831 + ], + "mapped", + [ + 32190 + ] + ], + [ + [ + 63832, + 63832 + ], + "mapped", + [ + 33777 + ] + ], + [ + [ + 63833, + 63833 + ], + "mapped", + [ + 38517 + ] + ], + [ + [ + 63834, + 63834 + ], + "mapped", + [ + 35712 + ] + ], + [ + [ + 63835, + 63835 + ], + "mapped", + [ + 25295 + ] + ], + [ + [ + 63836, + 63836 + ], + "mapped", + [ + 27138 + ] + ], + [ + [ + 63837, + 63837 + ], + "mapped", + [ + 35582 + ] + ], + [ + [ + 63838, + 63838 + ], + "mapped", + [ + 20025 + ] + ], + [ + [ + 63839, + 63839 + ], + "mapped", + [ + 23527 + ] + ], + [ + [ + 63840, + 63840 + ], + "mapped", + [ + 24594 + ] + ], + [ + [ + 63841, + 63841 + ], + "mapped", + [ + 29575 + ] + ], + [ + [ + 63842, + 63842 + ], + "mapped", + [ + 30064 + ] + ], + [ + [ + 63843, + 63843 + ], + "mapped", + [ + 21271 + ] + ], + [ + [ + 63844, + 63844 + ], + "mapped", + [ + 30971 + ] + ], + [ + [ + 63845, + 63845 + ], + "mapped", + [ + 20415 + ] + ], + [ + [ + 63846, + 63846 + ], + "mapped", + [ + 24489 + ] + ], + [ + [ + 63847, + 63847 + ], + "mapped", + [ + 19981 + ] + ], + [ + [ + 63848, + 63848 + ], + "mapped", + [ + 27852 + ] + ], + [ + [ + 63849, + 63849 + ], + "mapped", + [ + 25976 + ] + ], + [ + [ + 63850, + 63850 + ], + "mapped", + [ + 32034 + ] + ], + [ + [ + 63851, + 63851 + ], + "mapped", + [ + 21443 + ] + ], + [ + [ + 63852, + 63852 + ], + "mapped", + [ + 22622 + ] + ], + [ + [ + 63853, + 63853 + ], + "mapped", + [ + 30465 + ] + ], + [ + [ + 63854, + 63854 + ], + "mapped", + [ + 33865 + ] + ], + [ + [ + 63855, + 63855 + ], + "mapped", + [ + 35498 + ] + ], + [ + [ + 63856, + 63856 + ], + "mapped", + [ + 27578 + ] + ], + [ + [ + 63857, + 63857 + ], + "mapped", + [ + 36784 + ] + ], + [ + [ + 63858, + 63858 + ], + "mapped", + [ + 27784 + ] + ], + [ + [ + 63859, + 63859 + ], + "mapped", + [ + 25342 + ] + ], + [ + [ + 63860, + 63860 + ], + "mapped", + [ + 33509 + ] + ], + [ + [ + 63861, + 63861 + ], + "mapped", + [ + 25504 + ] + ], + [ + [ + 63862, + 63862 + ], + "mapped", + [ + 30053 + ] + ], + [ + [ + 63863, + 63863 + ], + "mapped", + [ + 20142 + ] + ], + [ + [ + 63864, + 63864 + ], + "mapped", + [ + 20841 + ] + ], + [ + [ + 63865, + 63865 + ], + "mapped", + [ + 20937 + ] + ], + [ + [ + 63866, + 63866 + ], + "mapped", + [ + 26753 + ] + ], + [ + [ + 63867, + 63867 + ], + "mapped", + [ + 31975 + ] + ], + [ + [ + 63868, + 63868 + ], + "mapped", + [ + 33391 + ] + ], + [ + [ + 63869, + 63869 + ], + "mapped", + [ + 35538 + ] + ], + [ + [ + 63870, + 63870 + ], + "mapped", + [ + 37327 + ] + ], + [ + [ + 63871, + 63871 + ], + "mapped", + [ + 21237 + ] + ], + [ + [ + 63872, + 63872 + ], + "mapped", + [ + 21570 + ] + ], + [ + [ + 63873, + 63873 + ], + "mapped", + [ + 22899 + ] + ], + [ + [ + 63874, + 63874 + ], + "mapped", + [ + 24300 + ] + ], + [ + [ + 63875, + 63875 + ], + "mapped", + [ + 26053 + ] + ], + [ + [ + 63876, + 63876 + ], + "mapped", + [ + 28670 + ] + ], + [ + [ + 63877, + 63877 + ], + "mapped", + [ + 31018 + ] + ], + [ + [ + 63878, + 63878 + ], + "mapped", + [ + 38317 + ] + ], + [ + [ + 63879, + 63879 + ], + "mapped", + [ + 39530 + ] + ], + [ + [ + 63880, + 63880 + ], + "mapped", + [ + 40599 + ] + ], + [ + [ + 63881, + 63881 + ], + "mapped", + [ + 40654 + ] + ], + [ + [ + 63882, + 63882 + ], + "mapped", + [ + 21147 + ] + ], + [ + [ + 63883, + 63883 + ], + "mapped", + [ + 26310 + ] + ], + [ + [ + 63884, + 63884 + ], + "mapped", + [ + 27511 + ] + ], + [ + [ + 63885, + 63885 + ], + "mapped", + [ + 36706 + ] + ], + [ + [ + 63886, + 63886 + ], + "mapped", + [ + 24180 + ] + ], + [ + [ + 63887, + 63887 + ], + "mapped", + [ + 24976 + ] + ], + [ + [ + 63888, + 63888 + ], + "mapped", + [ + 25088 + ] + ], + [ + [ + 63889, + 63889 + ], + "mapped", + [ + 25754 + ] + ], + [ + [ + 63890, + 63890 + ], + "mapped", + [ + 28451 + ] + ], + [ + [ + 63891, + 63891 + ], + "mapped", + [ + 29001 + ] + ], + [ + [ + 63892, + 63892 + ], + "mapped", + [ + 29833 + ] + ], + [ + [ + 63893, + 63893 + ], + "mapped", + [ + 31178 + ] + ], + [ + [ + 63894, + 63894 + ], + "mapped", + [ + 32244 + ] + ], + [ + [ + 63895, + 63895 + ], + "mapped", + [ + 32879 + ] + ], + [ + [ + 63896, + 63896 + ], + "mapped", + [ + 36646 + ] + ], + [ + [ + 63897, + 63897 + ], + "mapped", + [ + 34030 + ] + ], + [ + [ + 63898, + 63898 + ], + "mapped", + [ + 36899 + ] + ], + [ + [ + 63899, + 63899 + ], + "mapped", + [ + 37706 + ] + ], + [ + [ + 63900, + 63900 + ], + "mapped", + [ + 21015 + ] + ], + [ + [ + 63901, + 63901 + ], + "mapped", + [ + 21155 + ] + ], + [ + [ + 63902, + 63902 + ], + "mapped", + [ + 21693 + ] + ], + [ + [ + 63903, + 63903 + ], + "mapped", + [ + 28872 + ] + ], + [ + [ + 63904, + 63904 + ], + "mapped", + [ + 35010 + ] + ], + [ + [ + 63905, + 63905 + ], + "mapped", + [ + 35498 + ] + ], + [ + [ + 63906, + 63906 + ], + "mapped", + [ + 24265 + ] + ], + [ + [ + 63907, + 63907 + ], + "mapped", + [ + 24565 + ] + ], + [ + [ + 63908, + 63908 + ], + "mapped", + [ + 25467 + ] + ], + [ + [ + 63909, + 63909 + ], + "mapped", + [ + 27566 + ] + ], + [ + [ + 63910, + 63910 + ], + "mapped", + [ + 31806 + ] + ], + [ + [ + 63911, + 63911 + ], + "mapped", + [ + 29557 + ] + ], + [ + [ + 63912, + 63912 + ], + "mapped", + [ + 20196 + ] + ], + [ + [ + 63913, + 63913 + ], + "mapped", + [ + 22265 + ] + ], + [ + [ + 63914, + 63914 + ], + "mapped", + [ + 23527 + ] + ], + [ + [ + 63915, + 63915 + ], + "mapped", + [ + 23994 + ] + ], + [ + [ + 63916, + 63916 + ], + "mapped", + [ + 24604 + ] + ], + [ + [ + 63917, + 63917 + ], + "mapped", + [ + 29618 + ] + ], + [ + [ + 63918, + 63918 + ], + "mapped", + [ + 29801 + ] + ], + [ + [ + 63919, + 63919 + ], + "mapped", + [ + 32666 + ] + ], + [ + [ + 63920, + 63920 + ], + "mapped", + [ + 32838 + ] + ], + [ + [ + 63921, + 63921 + ], + "mapped", + [ + 37428 + ] + ], + [ + [ + 63922, + 63922 + ], + "mapped", + [ + 38646 + ] + ], + [ + [ + 63923, + 63923 + ], + "mapped", + [ + 38728 + ] + ], + [ + [ + 63924, + 63924 + ], + "mapped", + [ + 38936 + ] + ], + [ + [ + 63925, + 63925 + ], + "mapped", + [ + 20363 + ] + ], + [ + [ + 63926, + 63926 + ], + "mapped", + [ + 31150 + ] + ], + [ + [ + 63927, + 63927 + ], + "mapped", + [ + 37300 + ] + ], + [ + [ + 63928, + 63928 + ], + "mapped", + [ + 38584 + ] + ], + [ + [ + 63929, + 63929 + ], + "mapped", + [ + 24801 + ] + ], + [ + [ + 63930, + 63930 + ], + "mapped", + [ + 20102 + ] + ], + [ + [ + 63931, + 63931 + ], + "mapped", + [ + 20698 + ] + ], + [ + [ + 63932, + 63932 + ], + "mapped", + [ + 23534 + ] + ], + [ + [ + 63933, + 63933 + ], + "mapped", + [ + 23615 + ] + ], + [ + [ + 63934, + 63934 + ], + "mapped", + [ + 26009 + ] + ], + [ + [ + 63935, + 63935 + ], + "mapped", + [ + 27138 + ] + ], + [ + [ + 63936, + 63936 + ], + "mapped", + [ + 29134 + ] + ], + [ + [ + 63937, + 63937 + ], + "mapped", + [ + 30274 + ] + ], + [ + [ + 63938, + 63938 + ], + "mapped", + [ + 34044 + ] + ], + [ + [ + 63939, + 63939 + ], + "mapped", + [ + 36988 + ] + ], + [ + [ + 63940, + 63940 + ], + "mapped", + [ + 40845 + ] + ], + [ + [ + 63941, + 63941 + ], + "mapped", + [ + 26248 + ] + ], + [ + [ + 63942, + 63942 + ], + "mapped", + [ + 38446 + ] + ], + [ + [ + 63943, + 63943 + ], + "mapped", + [ + 21129 + ] + ], + [ + [ + 63944, + 63944 + ], + "mapped", + [ + 26491 + ] + ], + [ + [ + 63945, + 63945 + ], + "mapped", + [ + 26611 + ] + ], + [ + [ + 63946, + 63946 + ], + "mapped", + [ + 27969 + ] + ], + [ + [ + 63947, + 63947 + ], + "mapped", + [ + 28316 + ] + ], + [ + [ + 63948, + 63948 + ], + "mapped", + [ + 29705 + ] + ], + [ + [ + 63949, + 63949 + ], + "mapped", + [ + 30041 + ] + ], + [ + [ + 63950, + 63950 + ], + "mapped", + [ + 30827 + ] + ], + [ + [ + 63951, + 63951 + ], + "mapped", + [ + 32016 + ] + ], + [ + [ + 63952, + 63952 + ], + "mapped", + [ + 39006 + ] + ], + [ + [ + 63953, + 63953 + ], + "mapped", + [ + 20845 + ] + ], + [ + [ + 63954, + 63954 + ], + "mapped", + [ + 25134 + ] + ], + [ + [ + 63955, + 63955 + ], + "mapped", + [ + 38520 + ] + ], + [ + [ + 63956, + 63956 + ], + "mapped", + [ + 20523 + ] + ], + [ + [ + 63957, + 63957 + ], + "mapped", + [ + 23833 + ] + ], + [ + [ + 63958, + 63958 + ], + "mapped", + [ + 28138 + ] + ], + [ + [ + 63959, + 63959 + ], + "mapped", + [ + 36650 + ] + ], + [ + [ + 63960, + 63960 + ], + "mapped", + [ + 24459 + ] + ], + [ + [ + 63961, + 63961 + ], + "mapped", + [ + 24900 + ] + ], + [ + [ + 63962, + 63962 + ], + "mapped", + [ + 26647 + ] + ], + [ + [ + 63963, + 63963 + ], + "mapped", + [ + 29575 + ] + ], + [ + [ + 63964, + 63964 + ], + "mapped", + [ + 38534 + ] + ], + [ + [ + 63965, + 63965 + ], + "mapped", + [ + 21033 + ] + ], + [ + [ + 63966, + 63966 + ], + "mapped", + [ + 21519 + ] + ], + [ + [ + 63967, + 63967 + ], + "mapped", + [ + 23653 + ] + ], + [ + [ + 63968, + 63968 + ], + "mapped", + [ + 26131 + ] + ], + [ + [ + 63969, + 63969 + ], + "mapped", + [ + 26446 + ] + ], + [ + [ + 63970, + 63970 + ], + "mapped", + [ + 26792 + ] + ], + [ + [ + 63971, + 63971 + ], + "mapped", + [ + 27877 + ] + ], + [ + [ + 63972, + 63972 + ], + "mapped", + [ + 29702 + ] + ], + [ + [ + 63973, + 63973 + ], + "mapped", + [ + 30178 + ] + ], + [ + [ + 63974, + 63974 + ], + "mapped", + [ + 32633 + ] + ], + [ + [ + 63975, + 63975 + ], + "mapped", + [ + 35023 + ] + ], + [ + [ + 63976, + 63976 + ], + "mapped", + [ + 35041 + ] + ], + [ + [ + 63977, + 63977 + ], + "mapped", + [ + 37324 + ] + ], + [ + [ + 63978, + 63978 + ], + "mapped", + [ + 38626 + ] + ], + [ + [ + 63979, + 63979 + ], + "mapped", + [ + 21311 + ] + ], + [ + [ + 63980, + 63980 + ], + "mapped", + [ + 28346 + ] + ], + [ + [ + 63981, + 63981 + ], + "mapped", + [ + 21533 + ] + ], + [ + [ + 63982, + 63982 + ], + "mapped", + [ + 29136 + ] + ], + [ + [ + 63983, + 63983 + ], + "mapped", + [ + 29848 + ] + ], + [ + [ + 63984, + 63984 + ], + "mapped", + [ + 34298 + ] + ], + [ + [ + 63985, + 63985 + ], + "mapped", + [ + 38563 + ] + ], + [ + [ + 63986, + 63986 + ], + "mapped", + [ + 40023 + ] + ], + [ + [ + 63987, + 63987 + ], + "mapped", + [ + 40607 + ] + ], + [ + [ + 63988, + 63988 + ], + "mapped", + [ + 26519 + ] + ], + [ + [ + 63989, + 63989 + ], + "mapped", + [ + 28107 + ] + ], + [ + [ + 63990, + 63990 + ], + "mapped", + [ + 33256 + ] + ], + [ + [ + 63991, + 63991 + ], + "mapped", + [ + 31435 + ] + ], + [ + [ + 63992, + 63992 + ], + "mapped", + [ + 31520 + ] + ], + [ + [ + 63993, + 63993 + ], + "mapped", + [ + 31890 + ] + ], + [ + [ + 63994, + 63994 + ], + "mapped", + [ + 29376 + ] + ], + [ + [ + 63995, + 63995 + ], + "mapped", + [ + 28825 + ] + ], + [ + [ + 63996, + 63996 + ], + "mapped", + [ + 35672 + ] + ], + [ + [ + 63997, + 63997 + ], + "mapped", + [ + 20160 + ] + ], + [ + [ + 63998, + 63998 + ], + "mapped", + [ + 33590 + ] + ], + [ + [ + 63999, + 63999 + ], + "mapped", + [ + 21050 + ] + ], + [ + [ + 64000, + 64000 + ], + "mapped", + [ + 20999 + ] + ], + [ + [ + 64001, + 64001 + ], + "mapped", + [ + 24230 + ] + ], + [ + [ + 64002, + 64002 + ], + "mapped", + [ + 25299 + ] + ], + [ + [ + 64003, + 64003 + ], + "mapped", + [ + 31958 + ] + ], + [ + [ + 64004, + 64004 + ], + "mapped", + [ + 23429 + ] + ], + [ + [ + 64005, + 64005 + ], + "mapped", + [ + 27934 + ] + ], + [ + [ + 64006, + 64006 + ], + "mapped", + [ + 26292 + ] + ], + [ + [ + 64007, + 64007 + ], + "mapped", + [ + 36667 + ] + ], + [ + [ + 64008, + 64008 + ], + "mapped", + [ + 34892 + ] + ], + [ + [ + 64009, + 64009 + ], + "mapped", + [ + 38477 + ] + ], + [ + [ + 64010, + 64010 + ], + "mapped", + [ + 35211 + ] + ], + [ + [ + 64011, + 64011 + ], + "mapped", + [ + 24275 + ] + ], + [ + [ + 64012, + 64012 + ], + "mapped", + [ + 20800 + ] + ], + [ + [ + 64013, + 64013 + ], + "mapped", + [ + 21952 + ] + ], + [ + [ + 64014, + 64015 + ], + "valid" + ], + [ + [ + 64016, + 64016 + ], + "mapped", + [ + 22618 + ] + ], + [ + [ + 64017, + 64017 + ], + "valid" + ], + [ + [ + 64018, + 64018 + ], + "mapped", + [ + 26228 + ] + ], + [ + [ + 64019, + 64020 + ], + "valid" + ], + [ + [ + 64021, + 64021 + ], + "mapped", + [ + 20958 + ] + ], + [ + [ + 64022, + 64022 + ], + "mapped", + [ + 29482 + ] + ], + [ + [ + 64023, + 64023 + ], + "mapped", + [ + 30410 + ] + ], + [ + [ + 64024, + 64024 + ], + "mapped", + [ + 31036 + ] + ], + [ + [ + 64025, + 64025 + ], + "mapped", + [ + 31070 + ] + ], + [ + [ + 64026, + 64026 + ], + "mapped", + [ + 31077 + ] + ], + [ + [ + 64027, + 64027 + ], + "mapped", + [ + 31119 + ] + ], + [ + [ + 64028, + 64028 + ], + "mapped", + [ + 38742 + ] + ], + [ + [ + 64029, + 64029 + ], + "mapped", + [ + 31934 + ] + ], + [ + [ + 64030, + 64030 + ], + "mapped", + [ + 32701 + ] + ], + [ + [ + 64031, + 64031 + ], + "valid" + ], + [ + [ + 64032, + 64032 + ], + "mapped", + [ + 34322 + ] + ], + [ + [ + 64033, + 64033 + ], + "valid" + ], + [ + [ + 64034, + 64034 + ], + "mapped", + [ + 35576 + ] + ], + [ + [ + 64035, + 64036 + ], + "valid" + ], + [ + [ + 64037, + 64037 + ], + "mapped", + [ + 36920 + ] + ], + [ + [ + 64038, + 64038 + ], + "mapped", + [ + 37117 + ] + ], + [ + [ + 64039, + 64041 + ], + "valid" + ], + [ + [ + 64042, + 64042 + ], + "mapped", + [ + 39151 + ] + ], + [ + [ + 64043, + 64043 + ], + "mapped", + [ + 39164 + ] + ], + [ + [ + 64044, + 64044 + ], + "mapped", + [ + 39208 + ] + ], + [ + [ + 64045, + 64045 + ], + "mapped", + [ + 40372 + ] + ], + [ + [ + 64046, + 64046 + ], + "mapped", + [ + 37086 + ] + ], + [ + [ + 64047, + 64047 + ], + "mapped", + [ + 38583 + ] + ], + [ + [ + 64048, + 64048 + ], + "mapped", + [ + 20398 + ] + ], + [ + [ + 64049, + 64049 + ], + "mapped", + [ + 20711 + ] + ], + [ + [ + 64050, + 64050 + ], + "mapped", + [ + 20813 + ] + ], + [ + [ + 64051, + 64051 + ], + "mapped", + [ + 21193 + ] + ], + [ + [ + 64052, + 64052 + ], + "mapped", + [ + 21220 + ] + ], + [ + [ + 64053, + 64053 + ], + "mapped", + [ + 21329 + ] + ], + [ + [ + 64054, + 64054 + ], + "mapped", + [ + 21917 + ] + ], + [ + [ + 64055, + 64055 + ], + "mapped", + [ + 22022 + ] + ], + [ + [ + 64056, + 64056 + ], + "mapped", + [ + 22120 + ] + ], + [ + [ + 64057, + 64057 + ], + "mapped", + [ + 22592 + ] + ], + [ + [ + 64058, + 64058 + ], + "mapped", + [ + 22696 + ] + ], + [ + [ + 64059, + 64059 + ], + "mapped", + [ + 23652 + ] + ], + [ + [ + 64060, + 64060 + ], + "mapped", + [ + 23662 + ] + ], + [ + [ + 64061, + 64061 + ], + "mapped", + [ + 24724 + ] + ], + [ + [ + 64062, + 64062 + ], + "mapped", + [ + 24936 + ] + ], + [ + [ + 64063, + 64063 + ], + "mapped", + [ + 24974 + ] + ], + [ + [ + 64064, + 64064 + ], + "mapped", + [ + 25074 + ] + ], + [ + [ + 64065, + 64065 + ], + "mapped", + [ + 25935 + ] + ], + [ + [ + 64066, + 64066 + ], + "mapped", + [ + 26082 + ] + ], + [ + [ + 64067, + 64067 + ], + "mapped", + [ + 26257 + ] + ], + [ + [ + 64068, + 64068 + ], + "mapped", + [ + 26757 + ] + ], + [ + [ + 64069, + 64069 + ], + "mapped", + [ + 28023 + ] + ], + [ + [ + 64070, + 64070 + ], + "mapped", + [ + 28186 + ] + ], + [ + [ + 64071, + 64071 + ], + "mapped", + [ + 28450 + ] + ], + [ + [ + 64072, + 64072 + ], + "mapped", + [ + 29038 + ] + ], + [ + [ + 64073, + 64073 + ], + "mapped", + [ + 29227 + ] + ], + [ + [ + 64074, + 64074 + ], + "mapped", + [ + 29730 + ] + ], + [ + [ + 64075, + 64075 + ], + "mapped", + [ + 30865 + ] + ], + [ + [ + 64076, + 64076 + ], + "mapped", + [ + 31038 + ] + ], + [ + [ + 64077, + 64077 + ], + "mapped", + [ + 31049 + ] + ], + [ + [ + 64078, + 64078 + ], + "mapped", + [ + 31048 + ] + ], + [ + [ + 64079, + 64079 + ], + "mapped", + [ + 31056 + ] + ], + [ + [ + 64080, + 64080 + ], + "mapped", + [ + 31062 + ] + ], + [ + [ + 64081, + 64081 + ], + "mapped", + [ + 31069 + ] + ], + [ + [ + 64082, + 64082 + ], + "mapped", + [ + 31117 + ] + ], + [ + [ + 64083, + 64083 + ], + "mapped", + [ + 31118 + ] + ], + [ + [ + 64084, + 64084 + ], + "mapped", + [ + 31296 + ] + ], + [ + [ + 64085, + 64085 + ], + "mapped", + [ + 31361 + ] + ], + [ + [ + 64086, + 64086 + ], + "mapped", + [ + 31680 + ] + ], + [ + [ + 64087, + 64087 + ], + "mapped", + [ + 32244 + ] + ], + [ + [ + 64088, + 64088 + ], + "mapped", + [ + 32265 + ] + ], + [ + [ + 64089, + 64089 + ], + "mapped", + [ + 32321 + ] + ], + [ + [ + 64090, + 64090 + ], + "mapped", + [ + 32626 + ] + ], + [ + [ + 64091, + 64091 + ], + "mapped", + [ + 32773 + ] + ], + [ + [ + 64092, + 64092 + ], + "mapped", + [ + 33261 + ] + ], + [ + [ + 64093, + 64094 + ], + "mapped", + [ + 33401 + ] + ], + [ + [ + 64095, + 64095 + ], + "mapped", + [ + 33879 + ] + ], + [ + [ + 64096, + 64096 + ], + "mapped", + [ + 35088 + ] + ], + [ + [ + 64097, + 64097 + ], + "mapped", + [ + 35222 + ] + ], + [ + [ + 64098, + 64098 + ], + "mapped", + [ + 35585 + ] + ], + [ + [ + 64099, + 64099 + ], + "mapped", + [ + 35641 + ] + ], + [ + [ + 64100, + 64100 + ], + "mapped", + [ + 36051 + ] + ], + [ + [ + 64101, + 64101 + ], + "mapped", + [ + 36104 + ] + ], + [ + [ + 64102, + 64102 + ], + "mapped", + [ + 36790 + ] + ], + [ + [ + 64103, + 64103 + ], + "mapped", + [ + 36920 + ] + ], + [ + [ + 64104, + 64104 + ], + "mapped", + [ + 38627 + ] + ], + [ + [ + 64105, + 64105 + ], + "mapped", + [ + 38911 + ] + ], + [ + [ + 64106, + 64106 + ], + "mapped", + [ + 38971 + ] + ], + [ + [ + 64107, + 64107 + ], + "mapped", + [ + 24693 + ] + ], + [ + [ + 64108, + 64108 + ], + "mapped", + [ + 148206 + ] + ], + [ + [ + 64109, + 64109 + ], + "mapped", + [ + 33304 + ] + ], + [ + [ + 64110, + 64111 + ], + "disallowed" + ], + [ + [ + 64112, + 64112 + ], + "mapped", + [ + 20006 + ] + ], + [ + [ + 64113, + 64113 + ], + "mapped", + [ + 20917 + ] + ], + [ + [ + 64114, + 64114 + ], + "mapped", + [ + 20840 + ] + ], + [ + [ + 64115, + 64115 + ], + "mapped", + [ + 20352 + ] + ], + [ + [ + 64116, + 64116 + ], + "mapped", + [ + 20805 + ] + ], + [ + [ + 64117, + 64117 + ], + "mapped", + [ + 20864 + ] + ], + [ + [ + 64118, + 64118 + ], + "mapped", + [ + 21191 + ] + ], + [ + [ + 64119, + 64119 + ], + "mapped", + [ + 21242 + ] + ], + [ + [ + 64120, + 64120 + ], + "mapped", + [ + 21917 + ] + ], + [ + [ + 64121, + 64121 + ], + "mapped", + [ + 21845 + ] + ], + [ + [ + 64122, + 64122 + ], + "mapped", + [ + 21913 + ] + ], + [ + [ + 64123, + 64123 + ], + "mapped", + [ + 21986 + ] + ], + [ + [ + 64124, + 64124 + ], + "mapped", + [ + 22618 + ] + ], + [ + [ + 64125, + 64125 + ], + "mapped", + [ + 22707 + ] + ], + [ + [ + 64126, + 64126 + ], + "mapped", + [ + 22852 + ] + ], + [ + [ + 64127, + 64127 + ], + "mapped", + [ + 22868 + ] + ], + [ + [ + 64128, + 64128 + ], + "mapped", + [ + 23138 + ] + ], + [ + [ + 64129, + 64129 + ], + "mapped", + [ + 23336 + ] + ], + [ + [ + 64130, + 64130 + ], + "mapped", + [ + 24274 + ] + ], + [ + [ + 64131, + 64131 + ], + "mapped", + [ + 24281 + ] + ], + [ + [ + 64132, + 64132 + ], + "mapped", + [ + 24425 + ] + ], + [ + [ + 64133, + 64133 + ], + "mapped", + [ + 24493 + ] + ], + [ + [ + 64134, + 64134 + ], + "mapped", + [ + 24792 + ] + ], + [ + [ + 64135, + 64135 + ], + "mapped", + [ + 24910 + ] + ], + [ + [ + 64136, + 64136 + ], + "mapped", + [ + 24840 + ] + ], + [ + [ + 64137, + 64137 + ], + "mapped", + [ + 24974 + ] + ], + [ + [ + 64138, + 64138 + ], + "mapped", + [ + 24928 + ] + ], + [ + [ + 64139, + 64139 + ], + "mapped", + [ + 25074 + ] + ], + [ + [ + 64140, + 64140 + ], + "mapped", + [ + 25140 + ] + ], + [ + [ + 64141, + 64141 + ], + "mapped", + [ + 25540 + ] + ], + [ + [ + 64142, + 64142 + ], + "mapped", + [ + 25628 + ] + ], + [ + [ + 64143, + 64143 + ], + "mapped", + [ + 25682 + ] + ], + [ + [ + 64144, + 64144 + ], + "mapped", + [ + 25942 + ] + ], + [ + [ + 64145, + 64145 + ], + "mapped", + [ + 26228 + ] + ], + [ + [ + 64146, + 64146 + ], + "mapped", + [ + 26391 + ] + ], + [ + [ + 64147, + 64147 + ], + "mapped", + [ + 26395 + ] + ], + [ + [ + 64148, + 64148 + ], + "mapped", + [ + 26454 + ] + ], + [ + [ + 64149, + 64149 + ], + "mapped", + [ + 27513 + ] + ], + [ + [ + 64150, + 64150 + ], + "mapped", + [ + 27578 + ] + ], + [ + [ + 64151, + 64151 + ], + "mapped", + [ + 27969 + ] + ], + [ + [ + 64152, + 64152 + ], + "mapped", + [ + 28379 + ] + ], + [ + [ + 64153, + 64153 + ], + "mapped", + [ + 28363 + ] + ], + [ + [ + 64154, + 64154 + ], + "mapped", + [ + 28450 + ] + ], + [ + [ + 64155, + 64155 + ], + "mapped", + [ + 28702 + ] + ], + [ + [ + 64156, + 64156 + ], + "mapped", + [ + 29038 + ] + ], + [ + [ + 64157, + 64157 + ], + "mapped", + [ + 30631 + ] + ], + [ + [ + 64158, + 64158 + ], + "mapped", + [ + 29237 + ] + ], + [ + [ + 64159, + 64159 + ], + "mapped", + [ + 29359 + ] + ], + [ + [ + 64160, + 64160 + ], + "mapped", + [ + 29482 + ] + ], + [ + [ + 64161, + 64161 + ], + "mapped", + [ + 29809 + ] + ], + [ + [ + 64162, + 64162 + ], + "mapped", + [ + 29958 + ] + ], + [ + [ + 64163, + 64163 + ], + "mapped", + [ + 30011 + ] + ], + [ + [ + 64164, + 64164 + ], + "mapped", + [ + 30237 + ] + ], + [ + [ + 64165, + 64165 + ], + "mapped", + [ + 30239 + ] + ], + [ + [ + 64166, + 64166 + ], + "mapped", + [ + 30410 + ] + ], + [ + [ + 64167, + 64167 + ], + "mapped", + [ + 30427 + ] + ], + [ + [ + 64168, + 64168 + ], + "mapped", + [ + 30452 + ] + ], + [ + [ + 64169, + 64169 + ], + "mapped", + [ + 30538 + ] + ], + [ + [ + 64170, + 64170 + ], + "mapped", + [ + 30528 + ] + ], + [ + [ + 64171, + 64171 + ], + "mapped", + [ + 30924 + ] + ], + [ + [ + 64172, + 64172 + ], + "mapped", + [ + 31409 + ] + ], + [ + [ + 64173, + 64173 + ], + "mapped", + [ + 31680 + ] + ], + [ + [ + 64174, + 64174 + ], + "mapped", + [ + 31867 + ] + ], + [ + [ + 64175, + 64175 + ], + "mapped", + [ + 32091 + ] + ], + [ + [ + 64176, + 64176 + ], + "mapped", + [ + 32244 + ] + ], + [ + [ + 64177, + 64177 + ], + "mapped", + [ + 32574 + ] + ], + [ + [ + 64178, + 64178 + ], + "mapped", + [ + 32773 + ] + ], + [ + [ + 64179, + 64179 + ], + "mapped", + [ + 33618 + ] + ], + [ + [ + 64180, + 64180 + ], + "mapped", + [ + 33775 + ] + ], + [ + [ + 64181, + 64181 + ], + "mapped", + [ + 34681 + ] + ], + [ + [ + 64182, + 64182 + ], + "mapped", + [ + 35137 + ] + ], + [ + [ + 64183, + 64183 + ], + "mapped", + [ + 35206 + ] + ], + [ + [ + 64184, + 64184 + ], + "mapped", + [ + 35222 + ] + ], + [ + [ + 64185, + 64185 + ], + "mapped", + [ + 35519 + ] + ], + [ + [ + 64186, + 64186 + ], + "mapped", + [ + 35576 + ] + ], + [ + [ + 64187, + 64187 + ], + "mapped", + [ + 35531 + ] + ], + [ + [ + 64188, + 64188 + ], + "mapped", + [ + 35585 + ] + ], + [ + [ + 64189, + 64189 + ], + "mapped", + [ + 35582 + ] + ], + [ + [ + 64190, + 64190 + ], + "mapped", + [ + 35565 + ] + ], + [ + [ + 64191, + 64191 + ], + "mapped", + [ + 35641 + ] + ], + [ + [ + 64192, + 64192 + ], + "mapped", + [ + 35722 + ] + ], + [ + [ + 64193, + 64193 + ], + "mapped", + [ + 36104 + ] + ], + [ + [ + 64194, + 64194 + ], + "mapped", + [ + 36664 + ] + ], + [ + [ + 64195, + 64195 + ], + "mapped", + [ + 36978 + ] + ], + [ + [ + 64196, + 64196 + ], + "mapped", + [ + 37273 + ] + ], + [ + [ + 64197, + 64197 + ], + "mapped", + [ + 37494 + ] + ], + [ + [ + 64198, + 64198 + ], + "mapped", + [ + 38524 + ] + ], + [ + [ + 64199, + 64199 + ], + "mapped", + [ + 38627 + ] + ], + [ + [ + 64200, + 64200 + ], + "mapped", + [ + 38742 + ] + ], + [ + [ + 64201, + 64201 + ], + "mapped", + [ + 38875 + ] + ], + [ + [ + 64202, + 64202 + ], + "mapped", + [ + 38911 + ] + ], + [ + [ + 64203, + 64203 + ], + "mapped", + [ + 38923 + ] + ], + [ + [ + 64204, + 64204 + ], + "mapped", + [ + 38971 + ] + ], + [ + [ + 64205, + 64205 + ], + "mapped", + [ + 39698 + ] + ], + [ + [ + 64206, + 64206 + ], + "mapped", + [ + 40860 + ] + ], + [ + [ + 64207, + 64207 + ], + "mapped", + [ + 141386 + ] + ], + [ + [ + 64208, + 64208 + ], + "mapped", + [ + 141380 + ] + ], + [ + [ + 64209, + 64209 + ], + "mapped", + [ + 144341 + ] + ], + [ + [ + 64210, + 64210 + ], + "mapped", + [ + 15261 + ] + ], + [ + [ + 64211, + 64211 + ], + "mapped", + [ + 16408 + ] + ], + [ + [ + 64212, + 64212 + ], + "mapped", + [ + 16441 + ] + ], + [ + [ + 64213, + 64213 + ], + "mapped", + [ + 152137 + ] + ], + [ + [ + 64214, + 64214 + ], + "mapped", + [ + 154832 + ] + ], + [ + [ + 64215, + 64215 + ], + "mapped", + [ + 163539 + ] + ], + [ + [ + 64216, + 64216 + ], + "mapped", + [ + 40771 + ] + ], + [ + [ + 64217, + 64217 + ], + "mapped", + [ + 40846 + ] + ], + [ + [ + 64218, + 64255 + ], + "disallowed" + ], + [ + [ + 64256, + 64256 + ], + "mapped", + [ + 102, + 102 + ] + ], + [ + [ + 64257, + 64257 + ], + "mapped", + [ + 102, + 105 + ] + ], + [ + [ + 64258, + 64258 + ], + "mapped", + [ + 102, + 108 + ] + ], + [ + [ + 64259, + 64259 + ], + "mapped", + [ + 102, + 102, + 105 + ] + ], + [ + [ + 64260, + 64260 + ], + "mapped", + [ + 102, + 102, + 108 + ] + ], + [ + [ + 64261, + 64262 + ], + "mapped", + [ + 115, + 116 + ] + ], + [ + [ + 64263, + 64274 + ], + "disallowed" + ], + [ + [ + 64275, + 64275 + ], + "mapped", + [ + 1396, + 1398 + ] + ], + [ + [ + 64276, + 64276 + ], + "mapped", + [ + 1396, + 1381 + ] + ], + [ + [ + 64277, + 64277 + ], + "mapped", + [ + 1396, + 1387 + ] + ], + [ + [ + 64278, + 64278 + ], + "mapped", + [ + 1406, + 1398 + ] + ], + [ + [ + 64279, + 64279 + ], + "mapped", + [ + 1396, + 1389 + ] + ], + [ + [ + 64280, + 64284 + ], + "disallowed" + ], + [ + [ + 64285, + 64285 + ], + "mapped", + [ + 1497, + 1460 + ] + ], + [ + [ + 64286, + 64286 + ], + "valid" + ], + [ + [ + 64287, + 64287 + ], + "mapped", + [ + 1522, + 1463 + ] + ], + [ + [ + 64288, + 64288 + ], + "mapped", + [ + 1506 + ] + ], + [ + [ + 64289, + 64289 + ], + "mapped", + [ + 1488 + ] + ], + [ + [ + 64290, + 64290 + ], + "mapped", + [ + 1491 + ] + ], + [ + [ + 64291, + 64291 + ], + "mapped", + [ + 1492 + ] + ], + [ + [ + 64292, + 64292 + ], + "mapped", + [ + 1499 + ] + ], + [ + [ + 64293, + 64293 + ], + "mapped", + [ + 1500 + ] + ], + [ + [ + 64294, + 64294 + ], + "mapped", + [ + 1501 + ] + ], + [ + [ + 64295, + 64295 + ], + "mapped", + [ + 1512 + ] + ], + [ + [ + 64296, + 64296 + ], + "mapped", + [ + 1514 + ] + ], + [ + [ + 64297, + 64297 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 64298, + 64298 + ], + "mapped", + [ + 1513, + 1473 + ] + ], + [ + [ + 64299, + 64299 + ], + "mapped", + [ + 1513, + 1474 + ] + ], + [ + [ + 64300, + 64300 + ], + "mapped", + [ + 1513, + 1468, + 1473 + ] + ], + [ + [ + 64301, + 64301 + ], + "mapped", + [ + 1513, + 1468, + 1474 + ] + ], + [ + [ + 64302, + 64302 + ], + "mapped", + [ + 1488, + 1463 + ] + ], + [ + [ + 64303, + 64303 + ], + "mapped", + [ + 1488, + 1464 + ] + ], + [ + [ + 64304, + 64304 + ], + "mapped", + [ + 1488, + 1468 + ] + ], + [ + [ + 64305, + 64305 + ], + "mapped", + [ + 1489, + 1468 + ] + ], + [ + [ + 64306, + 64306 + ], + "mapped", + [ + 1490, + 1468 + ] + ], + [ + [ + 64307, + 64307 + ], + "mapped", + [ + 1491, + 1468 + ] + ], + [ + [ + 64308, + 64308 + ], + "mapped", + [ + 1492, + 1468 + ] + ], + [ + [ + 64309, + 64309 + ], + "mapped", + [ + 1493, + 1468 + ] + ], + [ + [ + 64310, + 64310 + ], + "mapped", + [ + 1494, + 1468 + ] + ], + [ + [ + 64311, + 64311 + ], + "disallowed" + ], + [ + [ + 64312, + 64312 + ], + "mapped", + [ + 1496, + 1468 + ] + ], + [ + [ + 64313, + 64313 + ], + "mapped", + [ + 1497, + 1468 + ] + ], + [ + [ + 64314, + 64314 + ], + "mapped", + [ + 1498, + 1468 + ] + ], + [ + [ + 64315, + 64315 + ], + "mapped", + [ + 1499, + 1468 + ] + ], + [ + [ + 64316, + 64316 + ], + "mapped", + [ + 1500, + 1468 + ] + ], + [ + [ + 64317, + 64317 + ], + "disallowed" + ], + [ + [ + 64318, + 64318 + ], + "mapped", + [ + 1502, + 1468 + ] + ], + [ + [ + 64319, + 64319 + ], + "disallowed" + ], + [ + [ + 64320, + 64320 + ], + "mapped", + [ + 1504, + 1468 + ] + ], + [ + [ + 64321, + 64321 + ], + "mapped", + [ + 1505, + 1468 + ] + ], + [ + [ + 64322, + 64322 + ], + "disallowed" + ], + [ + [ + 64323, + 64323 + ], + "mapped", + [ + 1507, + 1468 + ] + ], + [ + [ + 64324, + 64324 + ], + "mapped", + [ + 1508, + 1468 + ] + ], + [ + [ + 64325, + 64325 + ], + "disallowed" + ], + [ + [ + 64326, + 64326 + ], + "mapped", + [ + 1510, + 1468 + ] + ], + [ + [ + 64327, + 64327 + ], + "mapped", + [ + 1511, + 1468 + ] + ], + [ + [ + 64328, + 64328 + ], + "mapped", + [ + 1512, + 1468 + ] + ], + [ + [ + 64329, + 64329 + ], + "mapped", + [ + 1513, + 1468 + ] + ], + [ + [ + 64330, + 64330 + ], + "mapped", + [ + 1514, + 1468 + ] + ], + [ + [ + 64331, + 64331 + ], + "mapped", + [ + 1493, + 1465 + ] + ], + [ + [ + 64332, + 64332 + ], + "mapped", + [ + 1489, + 1471 + ] + ], + [ + [ + 64333, + 64333 + ], + "mapped", + [ + 1499, + 1471 + ] + ], + [ + [ + 64334, + 64334 + ], + "mapped", + [ + 1508, + 1471 + ] + ], + [ + [ + 64335, + 64335 + ], + "mapped", + [ + 1488, + 1500 + ] + ], + [ + [ + 64336, + 64337 + ], + "mapped", + [ + 1649 + ] + ], + [ + [ + 64338, + 64341 + ], + "mapped", + [ + 1659 + ] + ], + [ + [ + 64342, + 64345 + ], + "mapped", + [ + 1662 + ] + ], + [ + [ + 64346, + 64349 + ], + "mapped", + [ + 1664 + ] + ], + [ + [ + 64350, + 64353 + ], + "mapped", + [ + 1658 + ] + ], + [ + [ + 64354, + 64357 + ], + "mapped", + [ + 1663 + ] + ], + [ + [ + 64358, + 64361 + ], + "mapped", + [ + 1657 + ] + ], + [ + [ + 64362, + 64365 + ], + "mapped", + [ + 1700 + ] + ], + [ + [ + 64366, + 64369 + ], + "mapped", + [ + 1702 + ] + ], + [ + [ + 64370, + 64373 + ], + "mapped", + [ + 1668 + ] + ], + [ + [ + 64374, + 64377 + ], + "mapped", + [ + 1667 + ] + ], + [ + [ + 64378, + 64381 + ], + "mapped", + [ + 1670 + ] + ], + [ + [ + 64382, + 64385 + ], + "mapped", + [ + 1671 + ] + ], + [ + [ + 64386, + 64387 + ], + "mapped", + [ + 1677 + ] + ], + [ + [ + 64388, + 64389 + ], + "mapped", + [ + 1676 + ] + ], + [ + [ + 64390, + 64391 + ], + "mapped", + [ + 1678 + ] + ], + [ + [ + 64392, + 64393 + ], + "mapped", + [ + 1672 + ] + ], + [ + [ + 64394, + 64395 + ], + "mapped", + [ + 1688 + ] + ], + [ + [ + 64396, + 64397 + ], + "mapped", + [ + 1681 + ] + ], + [ + [ + 64398, + 64401 + ], + "mapped", + [ + 1705 + ] + ], + [ + [ + 64402, + 64405 + ], + "mapped", + [ + 1711 + ] + ], + [ + [ + 64406, + 64409 + ], + "mapped", + [ + 1715 + ] + ], + [ + [ + 64410, + 64413 + ], + "mapped", + [ + 1713 + ] + ], + [ + [ + 64414, + 64415 + ], + "mapped", + [ + 1722 + ] + ], + [ + [ + 64416, + 64419 + ], + "mapped", + [ + 1723 + ] + ], + [ + [ + 64420, + 64421 + ], + "mapped", + [ + 1728 + ] + ], + [ + [ + 64422, + 64425 + ], + "mapped", + [ + 1729 + ] + ], + [ + [ + 64426, + 64429 + ], + "mapped", + [ + 1726 + ] + ], + [ + [ + 64430, + 64431 + ], + "mapped", + [ + 1746 + ] + ], + [ + [ + 64432, + 64433 + ], + "mapped", + [ + 1747 + ] + ], + [ + [ + 64434, + 64449 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 64450, + 64466 + ], + "disallowed" + ], + [ + [ + 64467, + 64470 + ], + "mapped", + [ + 1709 + ] + ], + [ + [ + 64471, + 64472 + ], + "mapped", + [ + 1735 + ] + ], + [ + [ + 64473, + 64474 + ], + "mapped", + [ + 1734 + ] + ], + [ + [ + 64475, + 64476 + ], + "mapped", + [ + 1736 + ] + ], + [ + [ + 64477, + 64477 + ], + "mapped", + [ + 1735, + 1652 + ] + ], + [ + [ + 64478, + 64479 + ], + "mapped", + [ + 1739 + ] + ], + [ + [ + 64480, + 64481 + ], + "mapped", + [ + 1733 + ] + ], + [ + [ + 64482, + 64483 + ], + "mapped", + [ + 1737 + ] + ], + [ + [ + 64484, + 64487 + ], + "mapped", + [ + 1744 + ] + ], + [ + [ + 64488, + 64489 + ], + "mapped", + [ + 1609 + ] + ], + [ + [ + 64490, + 64491 + ], + "mapped", + [ + 1574, + 1575 + ] + ], + [ + [ + 64492, + 64493 + ], + "mapped", + [ + 1574, + 1749 + ] + ], + [ + [ + 64494, + 64495 + ], + "mapped", + [ + 1574, + 1608 + ] + ], + [ + [ + 64496, + 64497 + ], + "mapped", + [ + 1574, + 1735 + ] + ], + [ + [ + 64498, + 64499 + ], + "mapped", + [ + 1574, + 1734 + ] + ], + [ + [ + 64500, + 64501 + ], + "mapped", + [ + 1574, + 1736 + ] + ], + [ + [ + 64502, + 64504 + ], + "mapped", + [ + 1574, + 1744 + ] + ], + [ + [ + 64505, + 64507 + ], + "mapped", + [ + 1574, + 1609 + ] + ], + [ + [ + 64508, + 64511 + ], + "mapped", + [ + 1740 + ] + ], + [ + [ + 64512, + 64512 + ], + "mapped", + [ + 1574, + 1580 + ] + ], + [ + [ + 64513, + 64513 + ], + "mapped", + [ + 1574, + 1581 + ] + ], + [ + [ + 64514, + 64514 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64515, + 64515 + ], + "mapped", + [ + 1574, + 1609 + ] + ], + [ + [ + 64516, + 64516 + ], + "mapped", + [ + 1574, + 1610 + ] + ], + [ + [ + 64517, + 64517 + ], + "mapped", + [ + 1576, + 1580 + ] + ], + [ + [ + 64518, + 64518 + ], + "mapped", + [ + 1576, + 1581 + ] + ], + [ + [ + 64519, + 64519 + ], + "mapped", + [ + 1576, + 1582 + ] + ], + [ + [ + 64520, + 64520 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64521, + 64521 + ], + "mapped", + [ + 1576, + 1609 + ] + ], + [ + [ + 64522, + 64522 + ], + "mapped", + [ + 1576, + 1610 + ] + ], + [ + [ + 64523, + 64523 + ], + "mapped", + [ + 1578, + 1580 + ] + ], + [ + [ + 64524, + 64524 + ], + "mapped", + [ + 1578, + 1581 + ] + ], + [ + [ + 64525, + 64525 + ], + "mapped", + [ + 1578, + 1582 + ] + ], + [ + [ + 64526, + 64526 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64527, + 64527 + ], + "mapped", + [ + 1578, + 1609 + ] + ], + [ + [ + 64528, + 64528 + ], + "mapped", + [ + 1578, + 1610 + ] + ], + [ + [ + 64529, + 64529 + ], + "mapped", + [ + 1579, + 1580 + ] + ], + [ + [ + 64530, + 64530 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64531, + 64531 + ], + "mapped", + [ + 1579, + 1609 + ] + ], + [ + [ + 64532, + 64532 + ], + "mapped", + [ + 1579, + 1610 + ] + ], + [ + [ + 64533, + 64533 + ], + "mapped", + [ + 1580, + 1581 + ] + ], + [ + [ + 64534, + 64534 + ], + "mapped", + [ + 1580, + 1605 + ] + ], + [ + [ + 64535, + 64535 + ], + "mapped", + [ + 1581, + 1580 + ] + ], + [ + [ + 64536, + 64536 + ], + "mapped", + [ + 1581, + 1605 + ] + ], + [ + [ + 64537, + 64537 + ], + "mapped", + [ + 1582, + 1580 + ] + ], + [ + [ + 64538, + 64538 + ], + "mapped", + [ + 1582, + 1581 + ] + ], + [ + [ + 64539, + 64539 + ], + "mapped", + [ + 1582, + 1605 + ] + ], + [ + [ + 64540, + 64540 + ], + "mapped", + [ + 1587, + 1580 + ] + ], + [ + [ + 64541, + 64541 + ], + "mapped", + [ + 1587, + 1581 + ] + ], + [ + [ + 64542, + 64542 + ], + "mapped", + [ + 1587, + 1582 + ] + ], + [ + [ + 64543, + 64543 + ], + "mapped", + [ + 1587, + 1605 + ] + ], + [ + [ + 64544, + 64544 + ], + "mapped", + [ + 1589, + 1581 + ] + ], + [ + [ + 64545, + 64545 + ], + "mapped", + [ + 1589, + 1605 + ] + ], + [ + [ + 64546, + 64546 + ], + "mapped", + [ + 1590, + 1580 + ] + ], + [ + [ + 64547, + 64547 + ], + "mapped", + [ + 1590, + 1581 + ] + ], + [ + [ + 64548, + 64548 + ], + "mapped", + [ + 1590, + 1582 + ] + ], + [ + [ + 64549, + 64549 + ], + "mapped", + [ + 1590, + 1605 + ] + ], + [ + [ + 64550, + 64550 + ], + "mapped", + [ + 1591, + 1581 + ] + ], + [ + [ + 64551, + 64551 + ], + "mapped", + [ + 1591, + 1605 + ] + ], + [ + [ + 64552, + 64552 + ], + "mapped", + [ + 1592, + 1605 + ] + ], + [ + [ + 64553, + 64553 + ], + "mapped", + [ + 1593, + 1580 + ] + ], + [ + [ + 64554, + 64554 + ], + "mapped", + [ + 1593, + 1605 + ] + ], + [ + [ + 64555, + 64555 + ], + "mapped", + [ + 1594, + 1580 + ] + ], + [ + [ + 64556, + 64556 + ], + "mapped", + [ + 1594, + 1605 + ] + ], + [ + [ + 64557, + 64557 + ], + "mapped", + [ + 1601, + 1580 + ] + ], + [ + [ + 64558, + 64558 + ], + "mapped", + [ + 1601, + 1581 + ] + ], + [ + [ + 64559, + 64559 + ], + "mapped", + [ + 1601, + 1582 + ] + ], + [ + [ + 64560, + 64560 + ], + "mapped", + [ + 1601, + 1605 + ] + ], + [ + [ + 64561, + 64561 + ], + "mapped", + [ + 1601, + 1609 + ] + ], + [ + [ + 64562, + 64562 + ], + "mapped", + [ + 1601, + 1610 + ] + ], + [ + [ + 64563, + 64563 + ], + "mapped", + [ + 1602, + 1581 + ] + ], + [ + [ + 64564, + 64564 + ], + "mapped", + [ + 1602, + 1605 + ] + ], + [ + [ + 64565, + 64565 + ], + "mapped", + [ + 1602, + 1609 + ] + ], + [ + [ + 64566, + 64566 + ], + "mapped", + [ + 1602, + 1610 + ] + ], + [ + [ + 64567, + 64567 + ], + "mapped", + [ + 1603, + 1575 + ] + ], + [ + [ + 64568, + 64568 + ], + "mapped", + [ + 1603, + 1580 + ] + ], + [ + [ + 64569, + 64569 + ], + "mapped", + [ + 1603, + 1581 + ] + ], + [ + [ + 64570, + 64570 + ], + "mapped", + [ + 1603, + 1582 + ] + ], + [ + [ + 64571, + 64571 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64572, + 64572 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64573, + 64573 + ], + "mapped", + [ + 1603, + 1609 + ] + ], + [ + [ + 64574, + 64574 + ], + "mapped", + [ + 1603, + 1610 + ] + ], + [ + [ + 64575, + 64575 + ], + "mapped", + [ + 1604, + 1580 + ] + ], + [ + [ + 64576, + 64576 + ], + "mapped", + [ + 1604, + 1581 + ] + ], + [ + [ + 64577, + 64577 + ], + "mapped", + [ + 1604, + 1582 + ] + ], + [ + [ + 64578, + 64578 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64579, + 64579 + ], + "mapped", + [ + 1604, + 1609 + ] + ], + [ + [ + 64580, + 64580 + ], + "mapped", + [ + 1604, + 1610 + ] + ], + [ + [ + 64581, + 64581 + ], + "mapped", + [ + 1605, + 1580 + ] + ], + [ + [ + 64582, + 64582 + ], + "mapped", + [ + 1605, + 1581 + ] + ], + [ + [ + 64583, + 64583 + ], + "mapped", + [ + 1605, + 1582 + ] + ], + [ + [ + 64584, + 64584 + ], + "mapped", + [ + 1605, + 1605 + ] + ], + [ + [ + 64585, + 64585 + ], + "mapped", + [ + 1605, + 1609 + ] + ], + [ + [ + 64586, + 64586 + ], + "mapped", + [ + 1605, + 1610 + ] + ], + [ + [ + 64587, + 64587 + ], + "mapped", + [ + 1606, + 1580 + ] + ], + [ + [ + 64588, + 64588 + ], + "mapped", + [ + 1606, + 1581 + ] + ], + [ + [ + 64589, + 64589 + ], + "mapped", + [ + 1606, + 1582 + ] + ], + [ + [ + 64590, + 64590 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64591, + 64591 + ], + "mapped", + [ + 1606, + 1609 + ] + ], + [ + [ + 64592, + 64592 + ], + "mapped", + [ + 1606, + 1610 + ] + ], + [ + [ + 64593, + 64593 + ], + "mapped", + [ + 1607, + 1580 + ] + ], + [ + [ + 64594, + 64594 + ], + "mapped", + [ + 1607, + 1605 + ] + ], + [ + [ + 64595, + 64595 + ], + "mapped", + [ + 1607, + 1609 + ] + ], + [ + [ + 64596, + 64596 + ], + "mapped", + [ + 1607, + 1610 + ] + ], + [ + [ + 64597, + 64597 + ], + "mapped", + [ + 1610, + 1580 + ] + ], + [ + [ + 64598, + 64598 + ], + "mapped", + [ + 1610, + 1581 + ] + ], + [ + [ + 64599, + 64599 + ], + "mapped", + [ + 1610, + 1582 + ] + ], + [ + [ + 64600, + 64600 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64601, + 64601 + ], + "mapped", + [ + 1610, + 1609 + ] + ], + [ + [ + 64602, + 64602 + ], + "mapped", + [ + 1610, + 1610 + ] + ], + [ + [ + 64603, + 64603 + ], + "mapped", + [ + 1584, + 1648 + ] + ], + [ + [ + 64604, + 64604 + ], + "mapped", + [ + 1585, + 1648 + ] + ], + [ + [ + 64605, + 64605 + ], + "mapped", + [ + 1609, + 1648 + ] + ], + [ + [ + 64606, + 64606 + ], + "disallowed_STD3_mapped", + [ + 32, + 1612, + 1617 + ] + ], + [ + [ + 64607, + 64607 + ], + "disallowed_STD3_mapped", + [ + 32, + 1613, + 1617 + ] + ], + [ + [ + 64608, + 64608 + ], + "disallowed_STD3_mapped", + [ + 32, + 1614, + 1617 + ] + ], + [ + [ + 64609, + 64609 + ], + "disallowed_STD3_mapped", + [ + 32, + 1615, + 1617 + ] + ], + [ + [ + 64610, + 64610 + ], + "disallowed_STD3_mapped", + [ + 32, + 1616, + 1617 + ] + ], + [ + [ + 64611, + 64611 + ], + "disallowed_STD3_mapped", + [ + 32, + 1617, + 1648 + ] + ], + [ + [ + 64612, + 64612 + ], + "mapped", + [ + 1574, + 1585 + ] + ], + [ + [ + 64613, + 64613 + ], + "mapped", + [ + 1574, + 1586 + ] + ], + [ + [ + 64614, + 64614 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64615, + 64615 + ], + "mapped", + [ + 1574, + 1606 + ] + ], + [ + [ + 64616, + 64616 + ], + "mapped", + [ + 1574, + 1609 + ] + ], + [ + [ + 64617, + 64617 + ], + "mapped", + [ + 1574, + 1610 + ] + ], + [ + [ + 64618, + 64618 + ], + "mapped", + [ + 1576, + 1585 + ] + ], + [ + [ + 64619, + 64619 + ], + "mapped", + [ + 1576, + 1586 + ] + ], + [ + [ + 64620, + 64620 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64621, + 64621 + ], + "mapped", + [ + 1576, + 1606 + ] + ], + [ + [ + 64622, + 64622 + ], + "mapped", + [ + 1576, + 1609 + ] + ], + [ + [ + 64623, + 64623 + ], + "mapped", + [ + 1576, + 1610 + ] + ], + [ + [ + 64624, + 64624 + ], + "mapped", + [ + 1578, + 1585 + ] + ], + [ + [ + 64625, + 64625 + ], + "mapped", + [ + 1578, + 1586 + ] + ], + [ + [ + 64626, + 64626 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64627, + 64627 + ], + "mapped", + [ + 1578, + 1606 + ] + ], + [ + [ + 64628, + 64628 + ], + "mapped", + [ + 1578, + 1609 + ] + ], + [ + [ + 64629, + 64629 + ], + "mapped", + [ + 1578, + 1610 + ] + ], + [ + [ + 64630, + 64630 + ], + "mapped", + [ + 1579, + 1585 + ] + ], + [ + [ + 64631, + 64631 + ], + "mapped", + [ + 1579, + 1586 + ] + ], + [ + [ + 64632, + 64632 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64633, + 64633 + ], + "mapped", + [ + 1579, + 1606 + ] + ], + [ + [ + 64634, + 64634 + ], + "mapped", + [ + 1579, + 1609 + ] + ], + [ + [ + 64635, + 64635 + ], + "mapped", + [ + 1579, + 1610 + ] + ], + [ + [ + 64636, + 64636 + ], + "mapped", + [ + 1601, + 1609 + ] + ], + [ + [ + 64637, + 64637 + ], + "mapped", + [ + 1601, + 1610 + ] + ], + [ + [ + 64638, + 64638 + ], + "mapped", + [ + 1602, + 1609 + ] + ], + [ + [ + 64639, + 64639 + ], + "mapped", + [ + 1602, + 1610 + ] + ], + [ + [ + 64640, + 64640 + ], + "mapped", + [ + 1603, + 1575 + ] + ], + [ + [ + 64641, + 64641 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64642, + 64642 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64643, + 64643 + ], + "mapped", + [ + 1603, + 1609 + ] + ], + [ + [ + 64644, + 64644 + ], + "mapped", + [ + 1603, + 1610 + ] + ], + [ + [ + 64645, + 64645 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64646, + 64646 + ], + "mapped", + [ + 1604, + 1609 + ] + ], + [ + [ + 64647, + 64647 + ], + "mapped", + [ + 1604, + 1610 + ] + ], + [ + [ + 64648, + 64648 + ], + "mapped", + [ + 1605, + 1575 + ] + ], + [ + [ + 64649, + 64649 + ], + "mapped", + [ + 1605, + 1605 + ] + ], + [ + [ + 64650, + 64650 + ], + "mapped", + [ + 1606, + 1585 + ] + ], + [ + [ + 64651, + 64651 + ], + "mapped", + [ + 1606, + 1586 + ] + ], + [ + [ + 64652, + 64652 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64653, + 64653 + ], + "mapped", + [ + 1606, + 1606 + ] + ], + [ + [ + 64654, + 64654 + ], + "mapped", + [ + 1606, + 1609 + ] + ], + [ + [ + 64655, + 64655 + ], + "mapped", + [ + 1606, + 1610 + ] + ], + [ + [ + 64656, + 64656 + ], + "mapped", + [ + 1609, + 1648 + ] + ], + [ + [ + 64657, + 64657 + ], + "mapped", + [ + 1610, + 1585 + ] + ], + [ + [ + 64658, + 64658 + ], + "mapped", + [ + 1610, + 1586 + ] + ], + [ + [ + 64659, + 64659 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64660, + 64660 + ], + "mapped", + [ + 1610, + 1606 + ] + ], + [ + [ + 64661, + 64661 + ], + "mapped", + [ + 1610, + 1609 + ] + ], + [ + [ + 64662, + 64662 + ], + "mapped", + [ + 1610, + 1610 + ] + ], + [ + [ + 64663, + 64663 + ], + "mapped", + [ + 1574, + 1580 + ] + ], + [ + [ + 64664, + 64664 + ], + "mapped", + [ + 1574, + 1581 + ] + ], + [ + [ + 64665, + 64665 + ], + "mapped", + [ + 1574, + 1582 + ] + ], + [ + [ + 64666, + 64666 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64667, + 64667 + ], + "mapped", + [ + 1574, + 1607 + ] + ], + [ + [ + 64668, + 64668 + ], + "mapped", + [ + 1576, + 1580 + ] + ], + [ + [ + 64669, + 64669 + ], + "mapped", + [ + 1576, + 1581 + ] + ], + [ + [ + 64670, + 64670 + ], + "mapped", + [ + 1576, + 1582 + ] + ], + [ + [ + 64671, + 64671 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64672, + 64672 + ], + "mapped", + [ + 1576, + 1607 + ] + ], + [ + [ + 64673, + 64673 + ], + "mapped", + [ + 1578, + 1580 + ] + ], + [ + [ + 64674, + 64674 + ], + "mapped", + [ + 1578, + 1581 + ] + ], + [ + [ + 64675, + 64675 + ], + "mapped", + [ + 1578, + 1582 + ] + ], + [ + [ + 64676, + 64676 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64677, + 64677 + ], + "mapped", + [ + 1578, + 1607 + ] + ], + [ + [ + 64678, + 64678 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64679, + 64679 + ], + "mapped", + [ + 1580, + 1581 + ] + ], + [ + [ + 64680, + 64680 + ], + "mapped", + [ + 1580, + 1605 + ] + ], + [ + [ + 64681, + 64681 + ], + "mapped", + [ + 1581, + 1580 + ] + ], + [ + [ + 64682, + 64682 + ], + "mapped", + [ + 1581, + 1605 + ] + ], + [ + [ + 64683, + 64683 + ], + "mapped", + [ + 1582, + 1580 + ] + ], + [ + [ + 64684, + 64684 + ], + "mapped", + [ + 1582, + 1605 + ] + ], + [ + [ + 64685, + 64685 + ], + "mapped", + [ + 1587, + 1580 + ] + ], + [ + [ + 64686, + 64686 + ], + "mapped", + [ + 1587, + 1581 + ] + ], + [ + [ + 64687, + 64687 + ], + "mapped", + [ + 1587, + 1582 + ] + ], + [ + [ + 64688, + 64688 + ], + "mapped", + [ + 1587, + 1605 + ] + ], + [ + [ + 64689, + 64689 + ], + "mapped", + [ + 1589, + 1581 + ] + ], + [ + [ + 64690, + 64690 + ], + "mapped", + [ + 1589, + 1582 + ] + ], + [ + [ + 64691, + 64691 + ], + "mapped", + [ + 1589, + 1605 + ] + ], + [ + [ + 64692, + 64692 + ], + "mapped", + [ + 1590, + 1580 + ] + ], + [ + [ + 64693, + 64693 + ], + "mapped", + [ + 1590, + 1581 + ] + ], + [ + [ + 64694, + 64694 + ], + "mapped", + [ + 1590, + 1582 + ] + ], + [ + [ + 64695, + 64695 + ], + "mapped", + [ + 1590, + 1605 + ] + ], + [ + [ + 64696, + 64696 + ], + "mapped", + [ + 1591, + 1581 + ] + ], + [ + [ + 64697, + 64697 + ], + "mapped", + [ + 1592, + 1605 + ] + ], + [ + [ + 64698, + 64698 + ], + "mapped", + [ + 1593, + 1580 + ] + ], + [ + [ + 64699, + 64699 + ], + "mapped", + [ + 1593, + 1605 + ] + ], + [ + [ + 64700, + 64700 + ], + "mapped", + [ + 1594, + 1580 + ] + ], + [ + [ + 64701, + 64701 + ], + "mapped", + [ + 1594, + 1605 + ] + ], + [ + [ + 64702, + 64702 + ], + "mapped", + [ + 1601, + 1580 + ] + ], + [ + [ + 64703, + 64703 + ], + "mapped", + [ + 1601, + 1581 + ] + ], + [ + [ + 64704, + 64704 + ], + "mapped", + [ + 1601, + 1582 + ] + ], + [ + [ + 64705, + 64705 + ], + "mapped", + [ + 1601, + 1605 + ] + ], + [ + [ + 64706, + 64706 + ], + "mapped", + [ + 1602, + 1581 + ] + ], + [ + [ + 64707, + 64707 + ], + "mapped", + [ + 1602, + 1605 + ] + ], + [ + [ + 64708, + 64708 + ], + "mapped", + [ + 1603, + 1580 + ] + ], + [ + [ + 64709, + 64709 + ], + "mapped", + [ + 1603, + 1581 + ] + ], + [ + [ + 64710, + 64710 + ], + "mapped", + [ + 1603, + 1582 + ] + ], + [ + [ + 64711, + 64711 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64712, + 64712 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64713, + 64713 + ], + "mapped", + [ + 1604, + 1580 + ] + ], + [ + [ + 64714, + 64714 + ], + "mapped", + [ + 1604, + 1581 + ] + ], + [ + [ + 64715, + 64715 + ], + "mapped", + [ + 1604, + 1582 + ] + ], + [ + [ + 64716, + 64716 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64717, + 64717 + ], + "mapped", + [ + 1604, + 1607 + ] + ], + [ + [ + 64718, + 64718 + ], + "mapped", + [ + 1605, + 1580 + ] + ], + [ + [ + 64719, + 64719 + ], + "mapped", + [ + 1605, + 1581 + ] + ], + [ + [ + 64720, + 64720 + ], + "mapped", + [ + 1605, + 1582 + ] + ], + [ + [ + 64721, + 64721 + ], + "mapped", + [ + 1605, + 1605 + ] + ], + [ + [ + 64722, + 64722 + ], + "mapped", + [ + 1606, + 1580 + ] + ], + [ + [ + 64723, + 64723 + ], + "mapped", + [ + 1606, + 1581 + ] + ], + [ + [ + 64724, + 64724 + ], + "mapped", + [ + 1606, + 1582 + ] + ], + [ + [ + 64725, + 64725 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64726, + 64726 + ], + "mapped", + [ + 1606, + 1607 + ] + ], + [ + [ + 64727, + 64727 + ], + "mapped", + [ + 1607, + 1580 + ] + ], + [ + [ + 64728, + 64728 + ], + "mapped", + [ + 1607, + 1605 + ] + ], + [ + [ + 64729, + 64729 + ], + "mapped", + [ + 1607, + 1648 + ] + ], + [ + [ + 64730, + 64730 + ], + "mapped", + [ + 1610, + 1580 + ] + ], + [ + [ + 64731, + 64731 + ], + "mapped", + [ + 1610, + 1581 + ] + ], + [ + [ + 64732, + 64732 + ], + "mapped", + [ + 1610, + 1582 + ] + ], + [ + [ + 64733, + 64733 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64734, + 64734 + ], + "mapped", + [ + 1610, + 1607 + ] + ], + [ + [ + 64735, + 64735 + ], + "mapped", + [ + 1574, + 1605 + ] + ], + [ + [ + 64736, + 64736 + ], + "mapped", + [ + 1574, + 1607 + ] + ], + [ + [ + 64737, + 64737 + ], + "mapped", + [ + 1576, + 1605 + ] + ], + [ + [ + 64738, + 64738 + ], + "mapped", + [ + 1576, + 1607 + ] + ], + [ + [ + 64739, + 64739 + ], + "mapped", + [ + 1578, + 1605 + ] + ], + [ + [ + 64740, + 64740 + ], + "mapped", + [ + 1578, + 1607 + ] + ], + [ + [ + 64741, + 64741 + ], + "mapped", + [ + 1579, + 1605 + ] + ], + [ + [ + 64742, + 64742 + ], + "mapped", + [ + 1579, + 1607 + ] + ], + [ + [ + 64743, + 64743 + ], + "mapped", + [ + 1587, + 1605 + ] + ], + [ + [ + 64744, + 64744 + ], + "mapped", + [ + 1587, + 1607 + ] + ], + [ + [ + 64745, + 64745 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64746, + 64746 + ], + "mapped", + [ + 1588, + 1607 + ] + ], + [ + [ + 64747, + 64747 + ], + "mapped", + [ + 1603, + 1604 + ] + ], + [ + [ + 64748, + 64748 + ], + "mapped", + [ + 1603, + 1605 + ] + ], + [ + [ + 64749, + 64749 + ], + "mapped", + [ + 1604, + 1605 + ] + ], + [ + [ + 64750, + 64750 + ], + "mapped", + [ + 1606, + 1605 + ] + ], + [ + [ + 64751, + 64751 + ], + "mapped", + [ + 1606, + 1607 + ] + ], + [ + [ + 64752, + 64752 + ], + "mapped", + [ + 1610, + 1605 + ] + ], + [ + [ + 64753, + 64753 + ], + "mapped", + [ + 1610, + 1607 + ] + ], + [ + [ + 64754, + 64754 + ], + "mapped", + [ + 1600, + 1614, + 1617 + ] + ], + [ + [ + 64755, + 64755 + ], + "mapped", + [ + 1600, + 1615, + 1617 + ] + ], + [ + [ + 64756, + 64756 + ], + "mapped", + [ + 1600, + 1616, + 1617 + ] + ], + [ + [ + 64757, + 64757 + ], + "mapped", + [ + 1591, + 1609 + ] + ], + [ + [ + 64758, + 64758 + ], + "mapped", + [ + 1591, + 1610 + ] + ], + [ + [ + 64759, + 64759 + ], + "mapped", + [ + 1593, + 1609 + ] + ], + [ + [ + 64760, + 64760 + ], + "mapped", + [ + 1593, + 1610 + ] + ], + [ + [ + 64761, + 64761 + ], + "mapped", + [ + 1594, + 1609 + ] + ], + [ + [ + 64762, + 64762 + ], + "mapped", + [ + 1594, + 1610 + ] + ], + [ + [ + 64763, + 64763 + ], + "mapped", + [ + 1587, + 1609 + ] + ], + [ + [ + 64764, + 64764 + ], + "mapped", + [ + 1587, + 1610 + ] + ], + [ + [ + 64765, + 64765 + ], + "mapped", + [ + 1588, + 1609 + ] + ], + [ + [ + 64766, + 64766 + ], + "mapped", + [ + 1588, + 1610 + ] + ], + [ + [ + 64767, + 64767 + ], + "mapped", + [ + 1581, + 1609 + ] + ], + [ + [ + 64768, + 64768 + ], + "mapped", + [ + 1581, + 1610 + ] + ], + [ + [ + 64769, + 64769 + ], + "mapped", + [ + 1580, + 1609 + ] + ], + [ + [ + 64770, + 64770 + ], + "mapped", + [ + 1580, + 1610 + ] + ], + [ + [ + 64771, + 64771 + ], + "mapped", + [ + 1582, + 1609 + ] + ], + [ + [ + 64772, + 64772 + ], + "mapped", + [ + 1582, + 1610 + ] + ], + [ + [ + 64773, + 64773 + ], + "mapped", + [ + 1589, + 1609 + ] + ], + [ + [ + 64774, + 64774 + ], + "mapped", + [ + 1589, + 1610 + ] + ], + [ + [ + 64775, + 64775 + ], + "mapped", + [ + 1590, + 1609 + ] + ], + [ + [ + 64776, + 64776 + ], + "mapped", + [ + 1590, + 1610 + ] + ], + [ + [ + 64777, + 64777 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64778, + 64778 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64779, + 64779 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64780, + 64780 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64781, + 64781 + ], + "mapped", + [ + 1588, + 1585 + ] + ], + [ + [ + 64782, + 64782 + ], + "mapped", + [ + 1587, + 1585 + ] + ], + [ + [ + 64783, + 64783 + ], + "mapped", + [ + 1589, + 1585 + ] + ], + [ + [ + 64784, + 64784 + ], + "mapped", + [ + 1590, + 1585 + ] + ], + [ + [ + 64785, + 64785 + ], + "mapped", + [ + 1591, + 1609 + ] + ], + [ + [ + 64786, + 64786 + ], + "mapped", + [ + 1591, + 1610 + ] + ], + [ + [ + 64787, + 64787 + ], + "mapped", + [ + 1593, + 1609 + ] + ], + [ + [ + 64788, + 64788 + ], + "mapped", + [ + 1593, + 1610 + ] + ], + [ + [ + 64789, + 64789 + ], + "mapped", + [ + 1594, + 1609 + ] + ], + [ + [ + 64790, + 64790 + ], + "mapped", + [ + 1594, + 1610 + ] + ], + [ + [ + 64791, + 64791 + ], + "mapped", + [ + 1587, + 1609 + ] + ], + [ + [ + 64792, + 64792 + ], + "mapped", + [ + 1587, + 1610 + ] + ], + [ + [ + 64793, + 64793 + ], + "mapped", + [ + 1588, + 1609 + ] + ], + [ + [ + 64794, + 64794 + ], + "mapped", + [ + 1588, + 1610 + ] + ], + [ + [ + 64795, + 64795 + ], + "mapped", + [ + 1581, + 1609 + ] + ], + [ + [ + 64796, + 64796 + ], + "mapped", + [ + 1581, + 1610 + ] + ], + [ + [ + 64797, + 64797 + ], + "mapped", + [ + 1580, + 1609 + ] + ], + [ + [ + 64798, + 64798 + ], + "mapped", + [ + 1580, + 1610 + ] + ], + [ + [ + 64799, + 64799 + ], + "mapped", + [ + 1582, + 1609 + ] + ], + [ + [ + 64800, + 64800 + ], + "mapped", + [ + 1582, + 1610 + ] + ], + [ + [ + 64801, + 64801 + ], + "mapped", + [ + 1589, + 1609 + ] + ], + [ + [ + 64802, + 64802 + ], + "mapped", + [ + 1589, + 1610 + ] + ], + [ + [ + 64803, + 64803 + ], + "mapped", + [ + 1590, + 1609 + ] + ], + [ + [ + 64804, + 64804 + ], + "mapped", + [ + 1590, + 1610 + ] + ], + [ + [ + 64805, + 64805 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64806, + 64806 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64807, + 64807 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64808, + 64808 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64809, + 64809 + ], + "mapped", + [ + 1588, + 1585 + ] + ], + [ + [ + 64810, + 64810 + ], + "mapped", + [ + 1587, + 1585 + ] + ], + [ + [ + 64811, + 64811 + ], + "mapped", + [ + 1589, + 1585 + ] + ], + [ + [ + 64812, + 64812 + ], + "mapped", + [ + 1590, + 1585 + ] + ], + [ + [ + 64813, + 64813 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64814, + 64814 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64815, + 64815 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64816, + 64816 + ], + "mapped", + [ + 1588, + 1605 + ] + ], + [ + [ + 64817, + 64817 + ], + "mapped", + [ + 1587, + 1607 + ] + ], + [ + [ + 64818, + 64818 + ], + "mapped", + [ + 1588, + 1607 + ] + ], + [ + [ + 64819, + 64819 + ], + "mapped", + [ + 1591, + 1605 + ] + ], + [ + [ + 64820, + 64820 + ], + "mapped", + [ + 1587, + 1580 + ] + ], + [ + [ + 64821, + 64821 + ], + "mapped", + [ + 1587, + 1581 + ] + ], + [ + [ + 64822, + 64822 + ], + "mapped", + [ + 1587, + 1582 + ] + ], + [ + [ + 64823, + 64823 + ], + "mapped", + [ + 1588, + 1580 + ] + ], + [ + [ + 64824, + 64824 + ], + "mapped", + [ + 1588, + 1581 + ] + ], + [ + [ + 64825, + 64825 + ], + "mapped", + [ + 1588, + 1582 + ] + ], + [ + [ + 64826, + 64826 + ], + "mapped", + [ + 1591, + 1605 + ] + ], + [ + [ + 64827, + 64827 + ], + "mapped", + [ + 1592, + 1605 + ] + ], + [ + [ + 64828, + 64829 + ], + "mapped", + [ + 1575, + 1611 + ] + ], + [ + [ + 64830, + 64831 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 64832, + 64847 + ], + "disallowed" + ], + [ + [ + 64848, + 64848 + ], + "mapped", + [ + 1578, + 1580, + 1605 + ] + ], + [ + [ + 64849, + 64850 + ], + "mapped", + [ + 1578, + 1581, + 1580 + ] + ], + [ + [ + 64851, + 64851 + ], + "mapped", + [ + 1578, + 1581, + 1605 + ] + ], + [ + [ + 64852, + 64852 + ], + "mapped", + [ + 1578, + 1582, + 1605 + ] + ], + [ + [ + 64853, + 64853 + ], + "mapped", + [ + 1578, + 1605, + 1580 + ] + ], + [ + [ + 64854, + 64854 + ], + "mapped", + [ + 1578, + 1605, + 1581 + ] + ], + [ + [ + 64855, + 64855 + ], + "mapped", + [ + 1578, + 1605, + 1582 + ] + ], + [ + [ + 64856, + 64857 + ], + "mapped", + [ + 1580, + 1605, + 1581 + ] + ], + [ + [ + 64858, + 64858 + ], + "mapped", + [ + 1581, + 1605, + 1610 + ] + ], + [ + [ + 64859, + 64859 + ], + "mapped", + [ + 1581, + 1605, + 1609 + ] + ], + [ + [ + 64860, + 64860 + ], + "mapped", + [ + 1587, + 1581, + 1580 + ] + ], + [ + [ + 64861, + 64861 + ], + "mapped", + [ + 1587, + 1580, + 1581 + ] + ], + [ + [ + 64862, + 64862 + ], + "mapped", + [ + 1587, + 1580, + 1609 + ] + ], + [ + [ + 64863, + 64864 + ], + "mapped", + [ + 1587, + 1605, + 1581 + ] + ], + [ + [ + 64865, + 64865 + ], + "mapped", + [ + 1587, + 1605, + 1580 + ] + ], + [ + [ + 64866, + 64867 + ], + "mapped", + [ + 1587, + 1605, + 1605 + ] + ], + [ + [ + 64868, + 64869 + ], + "mapped", + [ + 1589, + 1581, + 1581 + ] + ], + [ + [ + 64870, + 64870 + ], + "mapped", + [ + 1589, + 1605, + 1605 + ] + ], + [ + [ + 64871, + 64872 + ], + "mapped", + [ + 1588, + 1581, + 1605 + ] + ], + [ + [ + 64873, + 64873 + ], + "mapped", + [ + 1588, + 1580, + 1610 + ] + ], + [ + [ + 64874, + 64875 + ], + "mapped", + [ + 1588, + 1605, + 1582 + ] + ], + [ + [ + 64876, + 64877 + ], + "mapped", + [ + 1588, + 1605, + 1605 + ] + ], + [ + [ + 64878, + 64878 + ], + "mapped", + [ + 1590, + 1581, + 1609 + ] + ], + [ + [ + 64879, + 64880 + ], + "mapped", + [ + 1590, + 1582, + 1605 + ] + ], + [ + [ + 64881, + 64882 + ], + "mapped", + [ + 1591, + 1605, + 1581 + ] + ], + [ + [ + 64883, + 64883 + ], + "mapped", + [ + 1591, + 1605, + 1605 + ] + ], + [ + [ + 64884, + 64884 + ], + "mapped", + [ + 1591, + 1605, + 1610 + ] + ], + [ + [ + 64885, + 64885 + ], + "mapped", + [ + 1593, + 1580, + 1605 + ] + ], + [ + [ + 64886, + 64887 + ], + "mapped", + [ + 1593, + 1605, + 1605 + ] + ], + [ + [ + 64888, + 64888 + ], + "mapped", + [ + 1593, + 1605, + 1609 + ] + ], + [ + [ + 64889, + 64889 + ], + "mapped", + [ + 1594, + 1605, + 1605 + ] + ], + [ + [ + 64890, + 64890 + ], + "mapped", + [ + 1594, + 1605, + 1610 + ] + ], + [ + [ + 64891, + 64891 + ], + "mapped", + [ + 1594, + 1605, + 1609 + ] + ], + [ + [ + 64892, + 64893 + ], + "mapped", + [ + 1601, + 1582, + 1605 + ] + ], + [ + [ + 64894, + 64894 + ], + "mapped", + [ + 1602, + 1605, + 1581 + ] + ], + [ + [ + 64895, + 64895 + ], + "mapped", + [ + 1602, + 1605, + 1605 + ] + ], + [ + [ + 64896, + 64896 + ], + "mapped", + [ + 1604, + 1581, + 1605 + ] + ], + [ + [ + 64897, + 64897 + ], + "mapped", + [ + 1604, + 1581, + 1610 + ] + ], + [ + [ + 64898, + 64898 + ], + "mapped", + [ + 1604, + 1581, + 1609 + ] + ], + [ + [ + 64899, + 64900 + ], + "mapped", + [ + 1604, + 1580, + 1580 + ] + ], + [ + [ + 64901, + 64902 + ], + "mapped", + [ + 1604, + 1582, + 1605 + ] + ], + [ + [ + 64903, + 64904 + ], + "mapped", + [ + 1604, + 1605, + 1581 + ] + ], + [ + [ + 64905, + 64905 + ], + "mapped", + [ + 1605, + 1581, + 1580 + ] + ], + [ + [ + 64906, + 64906 + ], + "mapped", + [ + 1605, + 1581, + 1605 + ] + ], + [ + [ + 64907, + 64907 + ], + "mapped", + [ + 1605, + 1581, + 1610 + ] + ], + [ + [ + 64908, + 64908 + ], + "mapped", + [ + 1605, + 1580, + 1581 + ] + ], + [ + [ + 64909, + 64909 + ], + "mapped", + [ + 1605, + 1580, + 1605 + ] + ], + [ + [ + 64910, + 64910 + ], + "mapped", + [ + 1605, + 1582, + 1580 + ] + ], + [ + [ + 64911, + 64911 + ], + "mapped", + [ + 1605, + 1582, + 1605 + ] + ], + [ + [ + 64912, + 64913 + ], + "disallowed" + ], + [ + [ + 64914, + 64914 + ], + "mapped", + [ + 1605, + 1580, + 1582 + ] + ], + [ + [ + 64915, + 64915 + ], + "mapped", + [ + 1607, + 1605, + 1580 + ] + ], + [ + [ + 64916, + 64916 + ], + "mapped", + [ + 1607, + 1605, + 1605 + ] + ], + [ + [ + 64917, + 64917 + ], + "mapped", + [ + 1606, + 1581, + 1605 + ] + ], + [ + [ + 64918, + 64918 + ], + "mapped", + [ + 1606, + 1581, + 1609 + ] + ], + [ + [ + 64919, + 64920 + ], + "mapped", + [ + 1606, + 1580, + 1605 + ] + ], + [ + [ + 64921, + 64921 + ], + "mapped", + [ + 1606, + 1580, + 1609 + ] + ], + [ + [ + 64922, + 64922 + ], + "mapped", + [ + 1606, + 1605, + 1610 + ] + ], + [ + [ + 64923, + 64923 + ], + "mapped", + [ + 1606, + 1605, + 1609 + ] + ], + [ + [ + 64924, + 64925 + ], + "mapped", + [ + 1610, + 1605, + 1605 + ] + ], + [ + [ + 64926, + 64926 + ], + "mapped", + [ + 1576, + 1582, + 1610 + ] + ], + [ + [ + 64927, + 64927 + ], + "mapped", + [ + 1578, + 1580, + 1610 + ] + ], + [ + [ + 64928, + 64928 + ], + "mapped", + [ + 1578, + 1580, + 1609 + ] + ], + [ + [ + 64929, + 64929 + ], + "mapped", + [ + 1578, + 1582, + 1610 + ] + ], + [ + [ + 64930, + 64930 + ], + "mapped", + [ + 1578, + 1582, + 1609 + ] + ], + [ + [ + 64931, + 64931 + ], + "mapped", + [ + 1578, + 1605, + 1610 + ] + ], + [ + [ + 64932, + 64932 + ], + "mapped", + [ + 1578, + 1605, + 1609 + ] + ], + [ + [ + 64933, + 64933 + ], + "mapped", + [ + 1580, + 1605, + 1610 + ] + ], + [ + [ + 64934, + 64934 + ], + "mapped", + [ + 1580, + 1581, + 1609 + ] + ], + [ + [ + 64935, + 64935 + ], + "mapped", + [ + 1580, + 1605, + 1609 + ] + ], + [ + [ + 64936, + 64936 + ], + "mapped", + [ + 1587, + 1582, + 1609 + ] + ], + [ + [ + 64937, + 64937 + ], + "mapped", + [ + 1589, + 1581, + 1610 + ] + ], + [ + [ + 64938, + 64938 + ], + "mapped", + [ + 1588, + 1581, + 1610 + ] + ], + [ + [ + 64939, + 64939 + ], + "mapped", + [ + 1590, + 1581, + 1610 + ] + ], + [ + [ + 64940, + 64940 + ], + "mapped", + [ + 1604, + 1580, + 1610 + ] + ], + [ + [ + 64941, + 64941 + ], + "mapped", + [ + 1604, + 1605, + 1610 + ] + ], + [ + [ + 64942, + 64942 + ], + "mapped", + [ + 1610, + 1581, + 1610 + ] + ], + [ + [ + 64943, + 64943 + ], + "mapped", + [ + 1610, + 1580, + 1610 + ] + ], + [ + [ + 64944, + 64944 + ], + "mapped", + [ + 1610, + 1605, + 1610 + ] + ], + [ + [ + 64945, + 64945 + ], + "mapped", + [ + 1605, + 1605, + 1610 + ] + ], + [ + [ + 64946, + 64946 + ], + "mapped", + [ + 1602, + 1605, + 1610 + ] + ], + [ + [ + 64947, + 64947 + ], + "mapped", + [ + 1606, + 1581, + 1610 + ] + ], + [ + [ + 64948, + 64948 + ], + "mapped", + [ + 1602, + 1605, + 1581 + ] + ], + [ + [ + 64949, + 64949 + ], + "mapped", + [ + 1604, + 1581, + 1605 + ] + ], + [ + [ + 64950, + 64950 + ], + "mapped", + [ + 1593, + 1605, + 1610 + ] + ], + [ + [ + 64951, + 64951 + ], + "mapped", + [ + 1603, + 1605, + 1610 + ] + ], + [ + [ + 64952, + 64952 + ], + "mapped", + [ + 1606, + 1580, + 1581 + ] + ], + [ + [ + 64953, + 64953 + ], + "mapped", + [ + 1605, + 1582, + 1610 + ] + ], + [ + [ + 64954, + 64954 + ], + "mapped", + [ + 1604, + 1580, + 1605 + ] + ], + [ + [ + 64955, + 64955 + ], + "mapped", + [ + 1603, + 1605, + 1605 + ] + ], + [ + [ + 64956, + 64956 + ], + "mapped", + [ + 1604, + 1580, + 1605 + ] + ], + [ + [ + 64957, + 64957 + ], + "mapped", + [ + 1606, + 1580, + 1581 + ] + ], + [ + [ + 64958, + 64958 + ], + "mapped", + [ + 1580, + 1581, + 1610 + ] + ], + [ + [ + 64959, + 64959 + ], + "mapped", + [ + 1581, + 1580, + 1610 + ] + ], + [ + [ + 64960, + 64960 + ], + "mapped", + [ + 1605, + 1580, + 1610 + ] + ], + [ + [ + 64961, + 64961 + ], + "mapped", + [ + 1601, + 1605, + 1610 + ] + ], + [ + [ + 64962, + 64962 + ], + "mapped", + [ + 1576, + 1581, + 1610 + ] + ], + [ + [ + 64963, + 64963 + ], + "mapped", + [ + 1603, + 1605, + 1605 + ] + ], + [ + [ + 64964, + 64964 + ], + "mapped", + [ + 1593, + 1580, + 1605 + ] + ], + [ + [ + 64965, + 64965 + ], + "mapped", + [ + 1589, + 1605, + 1605 + ] + ], + [ + [ + 64966, + 64966 + ], + "mapped", + [ + 1587, + 1582, + 1610 + ] + ], + [ + [ + 64967, + 64967 + ], + "mapped", + [ + 1606, + 1580, + 1610 + ] + ], + [ + [ + 64968, + 64975 + ], + "disallowed" + ], + [ + [ + 64976, + 65007 + ], + "disallowed" + ], + [ + [ + 65008, + 65008 + ], + "mapped", + [ + 1589, + 1604, + 1746 + ] + ], + [ + [ + 65009, + 65009 + ], + "mapped", + [ + 1602, + 1604, + 1746 + ] + ], + [ + [ + 65010, + 65010 + ], + "mapped", + [ + 1575, + 1604, + 1604, + 1607 + ] + ], + [ + [ + 65011, + 65011 + ], + "mapped", + [ + 1575, + 1603, + 1576, + 1585 + ] + ], + [ + [ + 65012, + 65012 + ], + "mapped", + [ + 1605, + 1581, + 1605, + 1583 + ] + ], + [ + [ + 65013, + 65013 + ], + "mapped", + [ + 1589, + 1604, + 1593, + 1605 + ] + ], + [ + [ + 65014, + 65014 + ], + "mapped", + [ + 1585, + 1587, + 1608, + 1604 + ] + ], + [ + [ + 65015, + 65015 + ], + "mapped", + [ + 1593, + 1604, + 1610, + 1607 + ] + ], + [ + [ + 65016, + 65016 + ], + "mapped", + [ + 1608, + 1587, + 1604, + 1605 + ] + ], + [ + [ + 65017, + 65017 + ], + "mapped", + [ + 1589, + 1604, + 1609 + ] + ], + [ + [ + 65018, + 65018 + ], + "disallowed_STD3_mapped", + [ + 1589, + 1604, + 1609, + 32, + 1575, + 1604, + 1604, + 1607, + 32, + 1593, + 1604, + 1610, + 1607, + 32, + 1608, + 1587, + 1604, + 1605 + ] + ], + [ + [ + 65019, + 65019 + ], + "disallowed_STD3_mapped", + [ + 1580, + 1604, + 32, + 1580, + 1604, + 1575, + 1604, + 1607 + ] + ], + [ + [ + 65020, + 65020 + ], + "mapped", + [ + 1585, + 1740, + 1575, + 1604 + ] + ], + [ + [ + 65021, + 65021 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65022, + 65023 + ], + "disallowed" + ], + [ + [ + 65024, + 65039 + ], + "ignored" + ], + [ + [ + 65040, + 65040 + ], + "disallowed_STD3_mapped", + [ + 44 + ] + ], + [ + [ + 65041, + 65041 + ], + "mapped", + [ + 12289 + ] + ], + [ + [ + 65042, + 65042 + ], + "disallowed" + ], + [ + [ + 65043, + 65043 + ], + "disallowed_STD3_mapped", + [ + 58 + ] + ], + [ + [ + 65044, + 65044 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 65045, + 65045 + ], + "disallowed_STD3_mapped", + [ + 33 + ] + ], + [ + [ + 65046, + 65046 + ], + "disallowed_STD3_mapped", + [ + 63 + ] + ], + [ + [ + 65047, + 65047 + ], + "mapped", + [ + 12310 + ] + ], + [ + [ + 65048, + 65048 + ], + "mapped", + [ + 12311 + ] + ], + [ + [ + 65049, + 65049 + ], + "disallowed" + ], + [ + [ + 65050, + 65055 + ], + "disallowed" + ], + [ + [ + 65056, + 65059 + ], + "valid" + ], + [ + [ + 65060, + 65062 + ], + "valid" + ], + [ + [ + 65063, + 65069 + ], + "valid" + ], + [ + [ + 65070, + 65071 + ], + "valid" + ], + [ + [ + 65072, + 65072 + ], + "disallowed" + ], + [ + [ + 65073, + 65073 + ], + "mapped", + [ + 8212 + ] + ], + [ + [ + 65074, + 65074 + ], + "mapped", + [ + 8211 + ] + ], + [ + [ + 65075, + 65076 + ], + "disallowed_STD3_mapped", + [ + 95 + ] + ], + [ + [ + 65077, + 65077 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 65078, + 65078 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 65079, + 65079 + ], + "disallowed_STD3_mapped", + [ + 123 + ] + ], + [ + [ + 65080, + 65080 + ], + "disallowed_STD3_mapped", + [ + 125 + ] + ], + [ + [ + 65081, + 65081 + ], + "mapped", + [ + 12308 + ] + ], + [ + [ + 65082, + 65082 + ], + "mapped", + [ + 12309 + ] + ], + [ + [ + 65083, + 65083 + ], + "mapped", + [ + 12304 + ] + ], + [ + [ + 65084, + 65084 + ], + "mapped", + [ + 12305 + ] + ], + [ + [ + 65085, + 65085 + ], + "mapped", + [ + 12298 + ] + ], + [ + [ + 65086, + 65086 + ], + "mapped", + [ + 12299 + ] + ], + [ + [ + 65087, + 65087 + ], + "mapped", + [ + 12296 + ] + ], + [ + [ + 65088, + 65088 + ], + "mapped", + [ + 12297 + ] + ], + [ + [ + 65089, + 65089 + ], + "mapped", + [ + 12300 + ] + ], + [ + [ + 65090, + 65090 + ], + "mapped", + [ + 12301 + ] + ], + [ + [ + 65091, + 65091 + ], + "mapped", + [ + 12302 + ] + ], + [ + [ + 65092, + 65092 + ], + "mapped", + [ + 12303 + ] + ], + [ + [ + 65093, + 65094 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65095, + 65095 + ], + "disallowed_STD3_mapped", + [ + 91 + ] + ], + [ + [ + 65096, + 65096 + ], + "disallowed_STD3_mapped", + [ + 93 + ] + ], + [ + [ + 65097, + 65100 + ], + "disallowed_STD3_mapped", + [ + 32, + 773 + ] + ], + [ + [ + 65101, + 65103 + ], + "disallowed_STD3_mapped", + [ + 95 + ] + ], + [ + [ + 65104, + 65104 + ], + "disallowed_STD3_mapped", + [ + 44 + ] + ], + [ + [ + 65105, + 65105 + ], + "mapped", + [ + 12289 + ] + ], + [ + [ + 65106, + 65106 + ], + "disallowed" + ], + [ + [ + 65107, + 65107 + ], + "disallowed" + ], + [ + [ + 65108, + 65108 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 65109, + 65109 + ], + "disallowed_STD3_mapped", + [ + 58 + ] + ], + [ + [ + 65110, + 65110 + ], + "disallowed_STD3_mapped", + [ + 63 + ] + ], + [ + [ + 65111, + 65111 + ], + "disallowed_STD3_mapped", + [ + 33 + ] + ], + [ + [ + 65112, + 65112 + ], + "mapped", + [ + 8212 + ] + ], + [ + [ + 65113, + 65113 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 65114, + 65114 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 65115, + 65115 + ], + "disallowed_STD3_mapped", + [ + 123 + ] + ], + [ + [ + 65116, + 65116 + ], + "disallowed_STD3_mapped", + [ + 125 + ] + ], + [ + [ + 65117, + 65117 + ], + "mapped", + [ + 12308 + ] + ], + [ + [ + 65118, + 65118 + ], + "mapped", + [ + 12309 + ] + ], + [ + [ + 65119, + 65119 + ], + "disallowed_STD3_mapped", + [ + 35 + ] + ], + [ + [ + 65120, + 65120 + ], + "disallowed_STD3_mapped", + [ + 38 + ] + ], + [ + [ + 65121, + 65121 + ], + "disallowed_STD3_mapped", + [ + 42 + ] + ], + [ + [ + 65122, + 65122 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 65123, + 65123 + ], + "mapped", + [ + 45 + ] + ], + [ + [ + 65124, + 65124 + ], + "disallowed_STD3_mapped", + [ + 60 + ] + ], + [ + [ + 65125, + 65125 + ], + "disallowed_STD3_mapped", + [ + 62 + ] + ], + [ + [ + 65126, + 65126 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 65127, + 65127 + ], + "disallowed" + ], + [ + [ + 65128, + 65128 + ], + "disallowed_STD3_mapped", + [ + 92 + ] + ], + [ + [ + 65129, + 65129 + ], + "disallowed_STD3_mapped", + [ + 36 + ] + ], + [ + [ + 65130, + 65130 + ], + "disallowed_STD3_mapped", + [ + 37 + ] + ], + [ + [ + 65131, + 65131 + ], + "disallowed_STD3_mapped", + [ + 64 + ] + ], + [ + [ + 65132, + 65135 + ], + "disallowed" + ], + [ + [ + 65136, + 65136 + ], + "disallowed_STD3_mapped", + [ + 32, + 1611 + ] + ], + [ + [ + 65137, + 65137 + ], + "mapped", + [ + 1600, + 1611 + ] + ], + [ + [ + 65138, + 65138 + ], + "disallowed_STD3_mapped", + [ + 32, + 1612 + ] + ], + [ + [ + 65139, + 65139 + ], + "valid" + ], + [ + [ + 65140, + 65140 + ], + "disallowed_STD3_mapped", + [ + 32, + 1613 + ] + ], + [ + [ + 65141, + 65141 + ], + "disallowed" + ], + [ + [ + 65142, + 65142 + ], + "disallowed_STD3_mapped", + [ + 32, + 1614 + ] + ], + [ + [ + 65143, + 65143 + ], + "mapped", + [ + 1600, + 1614 + ] + ], + [ + [ + 65144, + 65144 + ], + "disallowed_STD3_mapped", + [ + 32, + 1615 + ] + ], + [ + [ + 65145, + 65145 + ], + "mapped", + [ + 1600, + 1615 + ] + ], + [ + [ + 65146, + 65146 + ], + "disallowed_STD3_mapped", + [ + 32, + 1616 + ] + ], + [ + [ + 65147, + 65147 + ], + "mapped", + [ + 1600, + 1616 + ] + ], + [ + [ + 65148, + 65148 + ], + "disallowed_STD3_mapped", + [ + 32, + 1617 + ] + ], + [ + [ + 65149, + 65149 + ], + "mapped", + [ + 1600, + 1617 + ] + ], + [ + [ + 65150, + 65150 + ], + "disallowed_STD3_mapped", + [ + 32, + 1618 + ] + ], + [ + [ + 65151, + 65151 + ], + "mapped", + [ + 1600, + 1618 + ] + ], + [ + [ + 65152, + 65152 + ], + "mapped", + [ + 1569 + ] + ], + [ + [ + 65153, + 65154 + ], + "mapped", + [ + 1570 + ] + ], + [ + [ + 65155, + 65156 + ], + "mapped", + [ + 1571 + ] + ], + [ + [ + 65157, + 65158 + ], + "mapped", + [ + 1572 + ] + ], + [ + [ + 65159, + 65160 + ], + "mapped", + [ + 1573 + ] + ], + [ + [ + 65161, + 65164 + ], + "mapped", + [ + 1574 + ] + ], + [ + [ + 65165, + 65166 + ], + "mapped", + [ + 1575 + ] + ], + [ + [ + 65167, + 65170 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 65171, + 65172 + ], + "mapped", + [ + 1577 + ] + ], + [ + [ + 65173, + 65176 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 65177, + 65180 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 65181, + 65184 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 65185, + 65188 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 65189, + 65192 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 65193, + 65194 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 65195, + 65196 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 65197, + 65198 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 65199, + 65200 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 65201, + 65204 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 65205, + 65208 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 65209, + 65212 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 65213, + 65216 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 65217, + 65220 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 65221, + 65224 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 65225, + 65228 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 65229, + 65232 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 65233, + 65236 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 65237, + 65240 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 65241, + 65244 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 65245, + 65248 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 65249, + 65252 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 65253, + 65256 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 65257, + 65260 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 65261, + 65262 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 65263, + 65264 + ], + "mapped", + [ + 1609 + ] + ], + [ + [ + 65265, + 65268 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 65269, + 65270 + ], + "mapped", + [ + 1604, + 1570 + ] + ], + [ + [ + 65271, + 65272 + ], + "mapped", + [ + 1604, + 1571 + ] + ], + [ + [ + 65273, + 65274 + ], + "mapped", + [ + 1604, + 1573 + ] + ], + [ + [ + 65275, + 65276 + ], + "mapped", + [ + 1604, + 1575 + ] + ], + [ + [ + 65277, + 65278 + ], + "disallowed" + ], + [ + [ + 65279, + 65279 + ], + "ignored" + ], + [ + [ + 65280, + 65280 + ], + "disallowed" + ], + [ + [ + 65281, + 65281 + ], + "disallowed_STD3_mapped", + [ + 33 + ] + ], + [ + [ + 65282, + 65282 + ], + "disallowed_STD3_mapped", + [ + 34 + ] + ], + [ + [ + 65283, + 65283 + ], + "disallowed_STD3_mapped", + [ + 35 + ] + ], + [ + [ + 65284, + 65284 + ], + "disallowed_STD3_mapped", + [ + 36 + ] + ], + [ + [ + 65285, + 65285 + ], + "disallowed_STD3_mapped", + [ + 37 + ] + ], + [ + [ + 65286, + 65286 + ], + "disallowed_STD3_mapped", + [ + 38 + ] + ], + [ + [ + 65287, + 65287 + ], + "disallowed_STD3_mapped", + [ + 39 + ] + ], + [ + [ + 65288, + 65288 + ], + "disallowed_STD3_mapped", + [ + 40 + ] + ], + [ + [ + 65289, + 65289 + ], + "disallowed_STD3_mapped", + [ + 41 + ] + ], + [ + [ + 65290, + 65290 + ], + "disallowed_STD3_mapped", + [ + 42 + ] + ], + [ + [ + 65291, + 65291 + ], + "disallowed_STD3_mapped", + [ + 43 + ] + ], + [ + [ + 65292, + 65292 + ], + "disallowed_STD3_mapped", + [ + 44 + ] + ], + [ + [ + 65293, + 65293 + ], + "mapped", + [ + 45 + ] + ], + [ + [ + 65294, + 65294 + ], + "mapped", + [ + 46 + ] + ], + [ + [ + 65295, + 65295 + ], + "disallowed_STD3_mapped", + [ + 47 + ] + ], + [ + [ + 65296, + 65296 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 65297, + 65297 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 65298, + 65298 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 65299, + 65299 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 65300, + 65300 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 65301, + 65301 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 65302, + 65302 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 65303, + 65303 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 65304, + 65304 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 65305, + 65305 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 65306, + 65306 + ], + "disallowed_STD3_mapped", + [ + 58 + ] + ], + [ + [ + 65307, + 65307 + ], + "disallowed_STD3_mapped", + [ + 59 + ] + ], + [ + [ + 65308, + 65308 + ], + "disallowed_STD3_mapped", + [ + 60 + ] + ], + [ + [ + 65309, + 65309 + ], + "disallowed_STD3_mapped", + [ + 61 + ] + ], + [ + [ + 65310, + 65310 + ], + "disallowed_STD3_mapped", + [ + 62 + ] + ], + [ + [ + 65311, + 65311 + ], + "disallowed_STD3_mapped", + [ + 63 + ] + ], + [ + [ + 65312, + 65312 + ], + "disallowed_STD3_mapped", + [ + 64 + ] + ], + [ + [ + 65313, + 65313 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 65314, + 65314 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 65315, + 65315 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 65316, + 65316 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 65317, + 65317 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 65318, + 65318 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 65319, + 65319 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 65320, + 65320 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 65321, + 65321 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 65322, + 65322 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 65323, + 65323 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 65324, + 65324 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 65325, + 65325 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 65326, + 65326 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 65327, + 65327 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 65328, + 65328 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 65329, + 65329 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 65330, + 65330 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 65331, + 65331 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 65332, + 65332 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 65333, + 65333 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 65334, + 65334 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 65335, + 65335 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 65336, + 65336 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 65337, + 65337 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 65338, + 65338 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 65339, + 65339 + ], + "disallowed_STD3_mapped", + [ + 91 + ] + ], + [ + [ + 65340, + 65340 + ], + "disallowed_STD3_mapped", + [ + 92 + ] + ], + [ + [ + 65341, + 65341 + ], + "disallowed_STD3_mapped", + [ + 93 + ] + ], + [ + [ + 65342, + 65342 + ], + "disallowed_STD3_mapped", + [ + 94 + ] + ], + [ + [ + 65343, + 65343 + ], + "disallowed_STD3_mapped", + [ + 95 + ] + ], + [ + [ + 65344, + 65344 + ], + "disallowed_STD3_mapped", + [ + 96 + ] + ], + [ + [ + 65345, + 65345 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 65346, + 65346 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 65347, + 65347 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 65348, + 65348 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 65349, + 65349 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 65350, + 65350 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 65351, + 65351 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 65352, + 65352 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 65353, + 65353 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 65354, + 65354 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 65355, + 65355 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 65356, + 65356 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 65357, + 65357 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 65358, + 65358 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 65359, + 65359 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 65360, + 65360 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 65361, + 65361 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 65362, + 65362 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 65363, + 65363 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 65364, + 65364 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 65365, + 65365 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 65366, + 65366 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 65367, + 65367 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 65368, + 65368 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 65369, + 65369 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 65370, + 65370 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 65371, + 65371 + ], + "disallowed_STD3_mapped", + [ + 123 + ] + ], + [ + [ + 65372, + 65372 + ], + "disallowed_STD3_mapped", + [ + 124 + ] + ], + [ + [ + 65373, + 65373 + ], + "disallowed_STD3_mapped", + [ + 125 + ] + ], + [ + [ + 65374, + 65374 + ], + "disallowed_STD3_mapped", + [ + 126 + ] + ], + [ + [ + 65375, + 65375 + ], + "mapped", + [ + 10629 + ] + ], + [ + [ + 65376, + 65376 + ], + "mapped", + [ + 10630 + ] + ], + [ + [ + 65377, + 65377 + ], + "mapped", + [ + 46 + ] + ], + [ + [ + 65378, + 65378 + ], + "mapped", + [ + 12300 + ] + ], + [ + [ + 65379, + 65379 + ], + "mapped", + [ + 12301 + ] + ], + [ + [ + 65380, + 65380 + ], + "mapped", + [ + 12289 + ] + ], + [ + [ + 65381, + 65381 + ], + "mapped", + [ + 12539 + ] + ], + [ + [ + 65382, + 65382 + ], + "mapped", + [ + 12530 + ] + ], + [ + [ + 65383, + 65383 + ], + "mapped", + [ + 12449 + ] + ], + [ + [ + 65384, + 65384 + ], + "mapped", + [ + 12451 + ] + ], + [ + [ + 65385, + 65385 + ], + "mapped", + [ + 12453 + ] + ], + [ + [ + 65386, + 65386 + ], + "mapped", + [ + 12455 + ] + ], + [ + [ + 65387, + 65387 + ], + "mapped", + [ + 12457 + ] + ], + [ + [ + 65388, + 65388 + ], + "mapped", + [ + 12515 + ] + ], + [ + [ + 65389, + 65389 + ], + "mapped", + [ + 12517 + ] + ], + [ + [ + 65390, + 65390 + ], + "mapped", + [ + 12519 + ] + ], + [ + [ + 65391, + 65391 + ], + "mapped", + [ + 12483 + ] + ], + [ + [ + 65392, + 65392 + ], + "mapped", + [ + 12540 + ] + ], + [ + [ + 65393, + 65393 + ], + "mapped", + [ + 12450 + ] + ], + [ + [ + 65394, + 65394 + ], + "mapped", + [ + 12452 + ] + ], + [ + [ + 65395, + 65395 + ], + "mapped", + [ + 12454 + ] + ], + [ + [ + 65396, + 65396 + ], + "mapped", + [ + 12456 + ] + ], + [ + [ + 65397, + 65397 + ], + "mapped", + [ + 12458 + ] + ], + [ + [ + 65398, + 65398 + ], + "mapped", + [ + 12459 + ] + ], + [ + [ + 65399, + 65399 + ], + "mapped", + [ + 12461 + ] + ], + [ + [ + 65400, + 65400 + ], + "mapped", + [ + 12463 + ] + ], + [ + [ + 65401, + 65401 + ], + "mapped", + [ + 12465 + ] + ], + [ + [ + 65402, + 65402 + ], + "mapped", + [ + 12467 + ] + ], + [ + [ + 65403, + 65403 + ], + "mapped", + [ + 12469 + ] + ], + [ + [ + 65404, + 65404 + ], + "mapped", + [ + 12471 + ] + ], + [ + [ + 65405, + 65405 + ], + "mapped", + [ + 12473 + ] + ], + [ + [ + 65406, + 65406 + ], + "mapped", + [ + 12475 + ] + ], + [ + [ + 65407, + 65407 + ], + "mapped", + [ + 12477 + ] + ], + [ + [ + 65408, + 65408 + ], + "mapped", + [ + 12479 + ] + ], + [ + [ + 65409, + 65409 + ], + "mapped", + [ + 12481 + ] + ], + [ + [ + 65410, + 65410 + ], + "mapped", + [ + 12484 + ] + ], + [ + [ + 65411, + 65411 + ], + "mapped", + [ + 12486 + ] + ], + [ + [ + 65412, + 65412 + ], + "mapped", + [ + 12488 + ] + ], + [ + [ + 65413, + 65413 + ], + "mapped", + [ + 12490 + ] + ], + [ + [ + 65414, + 65414 + ], + "mapped", + [ + 12491 + ] + ], + [ + [ + 65415, + 65415 + ], + "mapped", + [ + 12492 + ] + ], + [ + [ + 65416, + 65416 + ], + "mapped", + [ + 12493 + ] + ], + [ + [ + 65417, + 65417 + ], + "mapped", + [ + 12494 + ] + ], + [ + [ + 65418, + 65418 + ], + "mapped", + [ + 12495 + ] + ], + [ + [ + 65419, + 65419 + ], + "mapped", + [ + 12498 + ] + ], + [ + [ + 65420, + 65420 + ], + "mapped", + [ + 12501 + ] + ], + [ + [ + 65421, + 65421 + ], + "mapped", + [ + 12504 + ] + ], + [ + [ + 65422, + 65422 + ], + "mapped", + [ + 12507 + ] + ], + [ + [ + 65423, + 65423 + ], + "mapped", + [ + 12510 + ] + ], + [ + [ + 65424, + 65424 + ], + "mapped", + [ + 12511 + ] + ], + [ + [ + 65425, + 65425 + ], + "mapped", + [ + 12512 + ] + ], + [ + [ + 65426, + 65426 + ], + "mapped", + [ + 12513 + ] + ], + [ + [ + 65427, + 65427 + ], + "mapped", + [ + 12514 + ] + ], + [ + [ + 65428, + 65428 + ], + "mapped", + [ + 12516 + ] + ], + [ + [ + 65429, + 65429 + ], + "mapped", + [ + 12518 + ] + ], + [ + [ + 65430, + 65430 + ], + "mapped", + [ + 12520 + ] + ], + [ + [ + 65431, + 65431 + ], + "mapped", + [ + 12521 + ] + ], + [ + [ + 65432, + 65432 + ], + "mapped", + [ + 12522 + ] + ], + [ + [ + 65433, + 65433 + ], + "mapped", + [ + 12523 + ] + ], + [ + [ + 65434, + 65434 + ], + "mapped", + [ + 12524 + ] + ], + [ + [ + 65435, + 65435 + ], + "mapped", + [ + 12525 + ] + ], + [ + [ + 65436, + 65436 + ], + "mapped", + [ + 12527 + ] + ], + [ + [ + 65437, + 65437 + ], + "mapped", + [ + 12531 + ] + ], + [ + [ + 65438, + 65438 + ], + "mapped", + [ + 12441 + ] + ], + [ + [ + 65439, + 65439 + ], + "mapped", + [ + 12442 + ] + ], + [ + [ + 65440, + 65440 + ], + "disallowed" + ], + [ + [ + 65441, + 65441 + ], + "mapped", + [ + 4352 + ] + ], + [ + [ + 65442, + 65442 + ], + "mapped", + [ + 4353 + ] + ], + [ + [ + 65443, + 65443 + ], + "mapped", + [ + 4522 + ] + ], + [ + [ + 65444, + 65444 + ], + "mapped", + [ + 4354 + ] + ], + [ + [ + 65445, + 65445 + ], + "mapped", + [ + 4524 + ] + ], + [ + [ + 65446, + 65446 + ], + "mapped", + [ + 4525 + ] + ], + [ + [ + 65447, + 65447 + ], + "mapped", + [ + 4355 + ] + ], + [ + [ + 65448, + 65448 + ], + "mapped", + [ + 4356 + ] + ], + [ + [ + 65449, + 65449 + ], + "mapped", + [ + 4357 + ] + ], + [ + [ + 65450, + 65450 + ], + "mapped", + [ + 4528 + ] + ], + [ + [ + 65451, + 65451 + ], + "mapped", + [ + 4529 + ] + ], + [ + [ + 65452, + 65452 + ], + "mapped", + [ + 4530 + ] + ], + [ + [ + 65453, + 65453 + ], + "mapped", + [ + 4531 + ] + ], + [ + [ + 65454, + 65454 + ], + "mapped", + [ + 4532 + ] + ], + [ + [ + 65455, + 65455 + ], + "mapped", + [ + 4533 + ] + ], + [ + [ + 65456, + 65456 + ], + "mapped", + [ + 4378 + ] + ], + [ + [ + 65457, + 65457 + ], + "mapped", + [ + 4358 + ] + ], + [ + [ + 65458, + 65458 + ], + "mapped", + [ + 4359 + ] + ], + [ + [ + 65459, + 65459 + ], + "mapped", + [ + 4360 + ] + ], + [ + [ + 65460, + 65460 + ], + "mapped", + [ + 4385 + ] + ], + [ + [ + 65461, + 65461 + ], + "mapped", + [ + 4361 + ] + ], + [ + [ + 65462, + 65462 + ], + "mapped", + [ + 4362 + ] + ], + [ + [ + 65463, + 65463 + ], + "mapped", + [ + 4363 + ] + ], + [ + [ + 65464, + 65464 + ], + "mapped", + [ + 4364 + ] + ], + [ + [ + 65465, + 65465 + ], + "mapped", + [ + 4365 + ] + ], + [ + [ + 65466, + 65466 + ], + "mapped", + [ + 4366 + ] + ], + [ + [ + 65467, + 65467 + ], + "mapped", + [ + 4367 + ] + ], + [ + [ + 65468, + 65468 + ], + "mapped", + [ + 4368 + ] + ], + [ + [ + 65469, + 65469 + ], + "mapped", + [ + 4369 + ] + ], + [ + [ + 65470, + 65470 + ], + "mapped", + [ + 4370 + ] + ], + [ + [ + 65471, + 65473 + ], + "disallowed" + ], + [ + [ + 65474, + 65474 + ], + "mapped", + [ + 4449 + ] + ], + [ + [ + 65475, + 65475 + ], + "mapped", + [ + 4450 + ] + ], + [ + [ + 65476, + 65476 + ], + "mapped", + [ + 4451 + ] + ], + [ + [ + 65477, + 65477 + ], + "mapped", + [ + 4452 + ] + ], + [ + [ + 65478, + 65478 + ], + "mapped", + [ + 4453 + ] + ], + [ + [ + 65479, + 65479 + ], + "mapped", + [ + 4454 + ] + ], + [ + [ + 65480, + 65481 + ], + "disallowed" + ], + [ + [ + 65482, + 65482 + ], + "mapped", + [ + 4455 + ] + ], + [ + [ + 65483, + 65483 + ], + "mapped", + [ + 4456 + ] + ], + [ + [ + 65484, + 65484 + ], + "mapped", + [ + 4457 + ] + ], + [ + [ + 65485, + 65485 + ], + "mapped", + [ + 4458 + ] + ], + [ + [ + 65486, + 65486 + ], + "mapped", + [ + 4459 + ] + ], + [ + [ + 65487, + 65487 + ], + "mapped", + [ + 4460 + ] + ], + [ + [ + 65488, + 65489 + ], + "disallowed" + ], + [ + [ + 65490, + 65490 + ], + "mapped", + [ + 4461 + ] + ], + [ + [ + 65491, + 65491 + ], + "mapped", + [ + 4462 + ] + ], + [ + [ + 65492, + 65492 + ], + "mapped", + [ + 4463 + ] + ], + [ + [ + 65493, + 65493 + ], + "mapped", + [ + 4464 + ] + ], + [ + [ + 65494, + 65494 + ], + "mapped", + [ + 4465 + ] + ], + [ + [ + 65495, + 65495 + ], + "mapped", + [ + 4466 + ] + ], + [ + [ + 65496, + 65497 + ], + "disallowed" + ], + [ + [ + 65498, + 65498 + ], + "mapped", + [ + 4467 + ] + ], + [ + [ + 65499, + 65499 + ], + "mapped", + [ + 4468 + ] + ], + [ + [ + 65500, + 65500 + ], + "mapped", + [ + 4469 + ] + ], + [ + [ + 65501, + 65503 + ], + "disallowed" + ], + [ + [ + 65504, + 65504 + ], + "mapped", + [ + 162 + ] + ], + [ + [ + 65505, + 65505 + ], + "mapped", + [ + 163 + ] + ], + [ + [ + 65506, + 65506 + ], + "mapped", + [ + 172 + ] + ], + [ + [ + 65507, + 65507 + ], + "disallowed_STD3_mapped", + [ + 32, + 772 + ] + ], + [ + [ + 65508, + 65508 + ], + "mapped", + [ + 166 + ] + ], + [ + [ + 65509, + 65509 + ], + "mapped", + [ + 165 + ] + ], + [ + [ + 65510, + 65510 + ], + "mapped", + [ + 8361 + ] + ], + [ + [ + 65511, + 65511 + ], + "disallowed" + ], + [ + [ + 65512, + 65512 + ], + "mapped", + [ + 9474 + ] + ], + [ + [ + 65513, + 65513 + ], + "mapped", + [ + 8592 + ] + ], + [ + [ + 65514, + 65514 + ], + "mapped", + [ + 8593 + ] + ], + [ + [ + 65515, + 65515 + ], + "mapped", + [ + 8594 + ] + ], + [ + [ + 65516, + 65516 + ], + "mapped", + [ + 8595 + ] + ], + [ + [ + 65517, + 65517 + ], + "mapped", + [ + 9632 + ] + ], + [ + [ + 65518, + 65518 + ], + "mapped", + [ + 9675 + ] + ], + [ + [ + 65519, + 65528 + ], + "disallowed" + ], + [ + [ + 65529, + 65531 + ], + "disallowed" + ], + [ + [ + 65532, + 65532 + ], + "disallowed" + ], + [ + [ + 65533, + 65533 + ], + "disallowed" + ], + [ + [ + 65534, + 65535 + ], + "disallowed" + ], + [ + [ + 65536, + 65547 + ], + "valid" + ], + [ + [ + 65548, + 65548 + ], + "disallowed" + ], + [ + [ + 65549, + 65574 + ], + "valid" + ], + [ + [ + 65575, + 65575 + ], + "disallowed" + ], + [ + [ + 65576, + 65594 + ], + "valid" + ], + [ + [ + 65595, + 65595 + ], + "disallowed" + ], + [ + [ + 65596, + 65597 + ], + "valid" + ], + [ + [ + 65598, + 65598 + ], + "disallowed" + ], + [ + [ + 65599, + 65613 + ], + "valid" + ], + [ + [ + 65614, + 65615 + ], + "disallowed" + ], + [ + [ + 65616, + 65629 + ], + "valid" + ], + [ + [ + 65630, + 65663 + ], + "disallowed" + ], + [ + [ + 65664, + 65786 + ], + "valid" + ], + [ + [ + 65787, + 65791 + ], + "disallowed" + ], + [ + [ + 65792, + 65794 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65795, + 65798 + ], + "disallowed" + ], + [ + [ + 65799, + 65843 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65844, + 65846 + ], + "disallowed" + ], + [ + [ + 65847, + 65855 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65856, + 65930 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65931, + 65932 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65933, + 65935 + ], + "disallowed" + ], + [ + [ + 65936, + 65947 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65948, + 65951 + ], + "disallowed" + ], + [ + [ + 65952, + 65952 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 65953, + 65999 + ], + "disallowed" + ], + [ + [ + 66000, + 66044 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66045, + 66045 + ], + "valid" + ], + [ + [ + 66046, + 66175 + ], + "disallowed" + ], + [ + [ + 66176, + 66204 + ], + "valid" + ], + [ + [ + 66205, + 66207 + ], + "disallowed" + ], + [ + [ + 66208, + 66256 + ], + "valid" + ], + [ + [ + 66257, + 66271 + ], + "disallowed" + ], + [ + [ + 66272, + 66272 + ], + "valid" + ], + [ + [ + 66273, + 66299 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66300, + 66303 + ], + "disallowed" + ], + [ + [ + 66304, + 66334 + ], + "valid" + ], + [ + [ + 66335, + 66335 + ], + "valid" + ], + [ + [ + 66336, + 66339 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66340, + 66351 + ], + "disallowed" + ], + [ + [ + 66352, + 66368 + ], + "valid" + ], + [ + [ + 66369, + 66369 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66370, + 66377 + ], + "valid" + ], + [ + [ + 66378, + 66378 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66379, + 66383 + ], + "disallowed" + ], + [ + [ + 66384, + 66426 + ], + "valid" + ], + [ + [ + 66427, + 66431 + ], + "disallowed" + ], + [ + [ + 66432, + 66461 + ], + "valid" + ], + [ + [ + 66462, + 66462 + ], + "disallowed" + ], + [ + [ + 66463, + 66463 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66464, + 66499 + ], + "valid" + ], + [ + [ + 66500, + 66503 + ], + "disallowed" + ], + [ + [ + 66504, + 66511 + ], + "valid" + ], + [ + [ + 66512, + 66517 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66518, + 66559 + ], + "disallowed" + ], + [ + [ + 66560, + 66560 + ], + "mapped", + [ + 66600 + ] + ], + [ + [ + 66561, + 66561 + ], + "mapped", + [ + 66601 + ] + ], + [ + [ + 66562, + 66562 + ], + "mapped", + [ + 66602 + ] + ], + [ + [ + 66563, + 66563 + ], + "mapped", + [ + 66603 + ] + ], + [ + [ + 66564, + 66564 + ], + "mapped", + [ + 66604 + ] + ], + [ + [ + 66565, + 66565 + ], + "mapped", + [ + 66605 + ] + ], + [ + [ + 66566, + 66566 + ], + "mapped", + [ + 66606 + ] + ], + [ + [ + 66567, + 66567 + ], + "mapped", + [ + 66607 + ] + ], + [ + [ + 66568, + 66568 + ], + "mapped", + [ + 66608 + ] + ], + [ + [ + 66569, + 66569 + ], + "mapped", + [ + 66609 + ] + ], + [ + [ + 66570, + 66570 + ], + "mapped", + [ + 66610 + ] + ], + [ + [ + 66571, + 66571 + ], + "mapped", + [ + 66611 + ] + ], + [ + [ + 66572, + 66572 + ], + "mapped", + [ + 66612 + ] + ], + [ + [ + 66573, + 66573 + ], + "mapped", + [ + 66613 + ] + ], + [ + [ + 66574, + 66574 + ], + "mapped", + [ + 66614 + ] + ], + [ + [ + 66575, + 66575 + ], + "mapped", + [ + 66615 + ] + ], + [ + [ + 66576, + 66576 + ], + "mapped", + [ + 66616 + ] + ], + [ + [ + 66577, + 66577 + ], + "mapped", + [ + 66617 + ] + ], + [ + [ + 66578, + 66578 + ], + "mapped", + [ + 66618 + ] + ], + [ + [ + 66579, + 66579 + ], + "mapped", + [ + 66619 + ] + ], + [ + [ + 66580, + 66580 + ], + "mapped", + [ + 66620 + ] + ], + [ + [ + 66581, + 66581 + ], + "mapped", + [ + 66621 + ] + ], + [ + [ + 66582, + 66582 + ], + "mapped", + [ + 66622 + ] + ], + [ + [ + 66583, + 66583 + ], + "mapped", + [ + 66623 + ] + ], + [ + [ + 66584, + 66584 + ], + "mapped", + [ + 66624 + ] + ], + [ + [ + 66585, + 66585 + ], + "mapped", + [ + 66625 + ] + ], + [ + [ + 66586, + 66586 + ], + "mapped", + [ + 66626 + ] + ], + [ + [ + 66587, + 66587 + ], + "mapped", + [ + 66627 + ] + ], + [ + [ + 66588, + 66588 + ], + "mapped", + [ + 66628 + ] + ], + [ + [ + 66589, + 66589 + ], + "mapped", + [ + 66629 + ] + ], + [ + [ + 66590, + 66590 + ], + "mapped", + [ + 66630 + ] + ], + [ + [ + 66591, + 66591 + ], + "mapped", + [ + 66631 + ] + ], + [ + [ + 66592, + 66592 + ], + "mapped", + [ + 66632 + ] + ], + [ + [ + 66593, + 66593 + ], + "mapped", + [ + 66633 + ] + ], + [ + [ + 66594, + 66594 + ], + "mapped", + [ + 66634 + ] + ], + [ + [ + 66595, + 66595 + ], + "mapped", + [ + 66635 + ] + ], + [ + [ + 66596, + 66596 + ], + "mapped", + [ + 66636 + ] + ], + [ + [ + 66597, + 66597 + ], + "mapped", + [ + 66637 + ] + ], + [ + [ + 66598, + 66598 + ], + "mapped", + [ + 66638 + ] + ], + [ + [ + 66599, + 66599 + ], + "mapped", + [ + 66639 + ] + ], + [ + [ + 66600, + 66637 + ], + "valid" + ], + [ + [ + 66638, + 66717 + ], + "valid" + ], + [ + [ + 66718, + 66719 + ], + "disallowed" + ], + [ + [ + 66720, + 66729 + ], + "valid" + ], + [ + [ + 66730, + 66815 + ], + "disallowed" + ], + [ + [ + 66816, + 66855 + ], + "valid" + ], + [ + [ + 66856, + 66863 + ], + "disallowed" + ], + [ + [ + 66864, + 66915 + ], + "valid" + ], + [ + [ + 66916, + 66926 + ], + "disallowed" + ], + [ + [ + 66927, + 66927 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 66928, + 67071 + ], + "disallowed" + ], + [ + [ + 67072, + 67382 + ], + "valid" + ], + [ + [ + 67383, + 67391 + ], + "disallowed" + ], + [ + [ + 67392, + 67413 + ], + "valid" + ], + [ + [ + 67414, + 67423 + ], + "disallowed" + ], + [ + [ + 67424, + 67431 + ], + "valid" + ], + [ + [ + 67432, + 67583 + ], + "disallowed" + ], + [ + [ + 67584, + 67589 + ], + "valid" + ], + [ + [ + 67590, + 67591 + ], + "disallowed" + ], + [ + [ + 67592, + 67592 + ], + "valid" + ], + [ + [ + 67593, + 67593 + ], + "disallowed" + ], + [ + [ + 67594, + 67637 + ], + "valid" + ], + [ + [ + 67638, + 67638 + ], + "disallowed" + ], + [ + [ + 67639, + 67640 + ], + "valid" + ], + [ + [ + 67641, + 67643 + ], + "disallowed" + ], + [ + [ + 67644, + 67644 + ], + "valid" + ], + [ + [ + 67645, + 67646 + ], + "disallowed" + ], + [ + [ + 67647, + 67647 + ], + "valid" + ], + [ + [ + 67648, + 67669 + ], + "valid" + ], + [ + [ + 67670, + 67670 + ], + "disallowed" + ], + [ + [ + 67671, + 67679 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67680, + 67702 + ], + "valid" + ], + [ + [ + 67703, + 67711 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67712, + 67742 + ], + "valid" + ], + [ + [ + 67743, + 67750 + ], + "disallowed" + ], + [ + [ + 67751, + 67759 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67760, + 67807 + ], + "disallowed" + ], + [ + [ + 67808, + 67826 + ], + "valid" + ], + [ + [ + 67827, + 67827 + ], + "disallowed" + ], + [ + [ + 67828, + 67829 + ], + "valid" + ], + [ + [ + 67830, + 67834 + ], + "disallowed" + ], + [ + [ + 67835, + 67839 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67840, + 67861 + ], + "valid" + ], + [ + [ + 67862, + 67865 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67866, + 67867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67868, + 67870 + ], + "disallowed" + ], + [ + [ + 67871, + 67871 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67872, + 67897 + ], + "valid" + ], + [ + [ + 67898, + 67902 + ], + "disallowed" + ], + [ + [ + 67903, + 67903 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 67904, + 67967 + ], + "disallowed" + ], + [ + [ + 67968, + 68023 + ], + "valid" + ], + [ + [ + 68024, + 68027 + ], + "disallowed" + ], + [ + [ + 68028, + 68029 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68030, + 68031 + ], + "valid" + ], + [ + [ + 68032, + 68047 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68048, + 68049 + ], + "disallowed" + ], + [ + [ + 68050, + 68095 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68096, + 68099 + ], + "valid" + ], + [ + [ + 68100, + 68100 + ], + "disallowed" + ], + [ + [ + 68101, + 68102 + ], + "valid" + ], + [ + [ + 68103, + 68107 + ], + "disallowed" + ], + [ + [ + 68108, + 68115 + ], + "valid" + ], + [ + [ + 68116, + 68116 + ], + "disallowed" + ], + [ + [ + 68117, + 68119 + ], + "valid" + ], + [ + [ + 68120, + 68120 + ], + "disallowed" + ], + [ + [ + 68121, + 68147 + ], + "valid" + ], + [ + [ + 68148, + 68151 + ], + "disallowed" + ], + [ + [ + 68152, + 68154 + ], + "valid" + ], + [ + [ + 68155, + 68158 + ], + "disallowed" + ], + [ + [ + 68159, + 68159 + ], + "valid" + ], + [ + [ + 68160, + 68167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68168, + 68175 + ], + "disallowed" + ], + [ + [ + 68176, + 68184 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68185, + 68191 + ], + "disallowed" + ], + [ + [ + 68192, + 68220 + ], + "valid" + ], + [ + [ + 68221, + 68223 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68224, + 68252 + ], + "valid" + ], + [ + [ + 68253, + 68255 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68256, + 68287 + ], + "disallowed" + ], + [ + [ + 68288, + 68295 + ], + "valid" + ], + [ + [ + 68296, + 68296 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68297, + 68326 + ], + "valid" + ], + [ + [ + 68327, + 68330 + ], + "disallowed" + ], + [ + [ + 68331, + 68342 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68343, + 68351 + ], + "disallowed" + ], + [ + [ + 68352, + 68405 + ], + "valid" + ], + [ + [ + 68406, + 68408 + ], + "disallowed" + ], + [ + [ + 68409, + 68415 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68416, + 68437 + ], + "valid" + ], + [ + [ + 68438, + 68439 + ], + "disallowed" + ], + [ + [ + 68440, + 68447 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68448, + 68466 + ], + "valid" + ], + [ + [ + 68467, + 68471 + ], + "disallowed" + ], + [ + [ + 68472, + 68479 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68480, + 68497 + ], + "valid" + ], + [ + [ + 68498, + 68504 + ], + "disallowed" + ], + [ + [ + 68505, + 68508 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68509, + 68520 + ], + "disallowed" + ], + [ + [ + 68521, + 68527 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68528, + 68607 + ], + "disallowed" + ], + [ + [ + 68608, + 68680 + ], + "valid" + ], + [ + [ + 68681, + 68735 + ], + "disallowed" + ], + [ + [ + 68736, + 68736 + ], + "mapped", + [ + 68800 + ] + ], + [ + [ + 68737, + 68737 + ], + "mapped", + [ + 68801 + ] + ], + [ + [ + 68738, + 68738 + ], + "mapped", + [ + 68802 + ] + ], + [ + [ + 68739, + 68739 + ], + "mapped", + [ + 68803 + ] + ], + [ + [ + 68740, + 68740 + ], + "mapped", + [ + 68804 + ] + ], + [ + [ + 68741, + 68741 + ], + "mapped", + [ + 68805 + ] + ], + [ + [ + 68742, + 68742 + ], + "mapped", + [ + 68806 + ] + ], + [ + [ + 68743, + 68743 + ], + "mapped", + [ + 68807 + ] + ], + [ + [ + 68744, + 68744 + ], + "mapped", + [ + 68808 + ] + ], + [ + [ + 68745, + 68745 + ], + "mapped", + [ + 68809 + ] + ], + [ + [ + 68746, + 68746 + ], + "mapped", + [ + 68810 + ] + ], + [ + [ + 68747, + 68747 + ], + "mapped", + [ + 68811 + ] + ], + [ + [ + 68748, + 68748 + ], + "mapped", + [ + 68812 + ] + ], + [ + [ + 68749, + 68749 + ], + "mapped", + [ + 68813 + ] + ], + [ + [ + 68750, + 68750 + ], + "mapped", + [ + 68814 + ] + ], + [ + [ + 68751, + 68751 + ], + "mapped", + [ + 68815 + ] + ], + [ + [ + 68752, + 68752 + ], + "mapped", + [ + 68816 + ] + ], + [ + [ + 68753, + 68753 + ], + "mapped", + [ + 68817 + ] + ], + [ + [ + 68754, + 68754 + ], + "mapped", + [ + 68818 + ] + ], + [ + [ + 68755, + 68755 + ], + "mapped", + [ + 68819 + ] + ], + [ + [ + 68756, + 68756 + ], + "mapped", + [ + 68820 + ] + ], + [ + [ + 68757, + 68757 + ], + "mapped", + [ + 68821 + ] + ], + [ + [ + 68758, + 68758 + ], + "mapped", + [ + 68822 + ] + ], + [ + [ + 68759, + 68759 + ], + "mapped", + [ + 68823 + ] + ], + [ + [ + 68760, + 68760 + ], + "mapped", + [ + 68824 + ] + ], + [ + [ + 68761, + 68761 + ], + "mapped", + [ + 68825 + ] + ], + [ + [ + 68762, + 68762 + ], + "mapped", + [ + 68826 + ] + ], + [ + [ + 68763, + 68763 + ], + "mapped", + [ + 68827 + ] + ], + [ + [ + 68764, + 68764 + ], + "mapped", + [ + 68828 + ] + ], + [ + [ + 68765, + 68765 + ], + "mapped", + [ + 68829 + ] + ], + [ + [ + 68766, + 68766 + ], + "mapped", + [ + 68830 + ] + ], + [ + [ + 68767, + 68767 + ], + "mapped", + [ + 68831 + ] + ], + [ + [ + 68768, + 68768 + ], + "mapped", + [ + 68832 + ] + ], + [ + [ + 68769, + 68769 + ], + "mapped", + [ + 68833 + ] + ], + [ + [ + 68770, + 68770 + ], + "mapped", + [ + 68834 + ] + ], + [ + [ + 68771, + 68771 + ], + "mapped", + [ + 68835 + ] + ], + [ + [ + 68772, + 68772 + ], + "mapped", + [ + 68836 + ] + ], + [ + [ + 68773, + 68773 + ], + "mapped", + [ + 68837 + ] + ], + [ + [ + 68774, + 68774 + ], + "mapped", + [ + 68838 + ] + ], + [ + [ + 68775, + 68775 + ], + "mapped", + [ + 68839 + ] + ], + [ + [ + 68776, + 68776 + ], + "mapped", + [ + 68840 + ] + ], + [ + [ + 68777, + 68777 + ], + "mapped", + [ + 68841 + ] + ], + [ + [ + 68778, + 68778 + ], + "mapped", + [ + 68842 + ] + ], + [ + [ + 68779, + 68779 + ], + "mapped", + [ + 68843 + ] + ], + [ + [ + 68780, + 68780 + ], + "mapped", + [ + 68844 + ] + ], + [ + [ + 68781, + 68781 + ], + "mapped", + [ + 68845 + ] + ], + [ + [ + 68782, + 68782 + ], + "mapped", + [ + 68846 + ] + ], + [ + [ + 68783, + 68783 + ], + "mapped", + [ + 68847 + ] + ], + [ + [ + 68784, + 68784 + ], + "mapped", + [ + 68848 + ] + ], + [ + [ + 68785, + 68785 + ], + "mapped", + [ + 68849 + ] + ], + [ + [ + 68786, + 68786 + ], + "mapped", + [ + 68850 + ] + ], + [ + [ + 68787, + 68799 + ], + "disallowed" + ], + [ + [ + 68800, + 68850 + ], + "valid" + ], + [ + [ + 68851, + 68857 + ], + "disallowed" + ], + [ + [ + 68858, + 68863 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 68864, + 69215 + ], + "disallowed" + ], + [ + [ + 69216, + 69246 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69247, + 69631 + ], + "disallowed" + ], + [ + [ + 69632, + 69702 + ], + "valid" + ], + [ + [ + 69703, + 69709 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69710, + 69713 + ], + "disallowed" + ], + [ + [ + 69714, + 69733 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69734, + 69743 + ], + "valid" + ], + [ + [ + 69744, + 69758 + ], + "disallowed" + ], + [ + [ + 69759, + 69759 + ], + "valid" + ], + [ + [ + 69760, + 69818 + ], + "valid" + ], + [ + [ + 69819, + 69820 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69821, + 69821 + ], + "disallowed" + ], + [ + [ + 69822, + 69825 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69826, + 69839 + ], + "disallowed" + ], + [ + [ + 69840, + 69864 + ], + "valid" + ], + [ + [ + 69865, + 69871 + ], + "disallowed" + ], + [ + [ + 69872, + 69881 + ], + "valid" + ], + [ + [ + 69882, + 69887 + ], + "disallowed" + ], + [ + [ + 69888, + 69940 + ], + "valid" + ], + [ + [ + 69941, + 69941 + ], + "disallowed" + ], + [ + [ + 69942, + 69951 + ], + "valid" + ], + [ + [ + 69952, + 69955 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 69956, + 69967 + ], + "disallowed" + ], + [ + [ + 69968, + 70003 + ], + "valid" + ], + [ + [ + 70004, + 70005 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70006, + 70006 + ], + "valid" + ], + [ + [ + 70007, + 70015 + ], + "disallowed" + ], + [ + [ + 70016, + 70084 + ], + "valid" + ], + [ + [ + 70085, + 70088 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70089, + 70089 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70090, + 70092 + ], + "valid" + ], + [ + [ + 70093, + 70093 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70094, + 70095 + ], + "disallowed" + ], + [ + [ + 70096, + 70105 + ], + "valid" + ], + [ + [ + 70106, + 70106 + ], + "valid" + ], + [ + [ + 70107, + 70107 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70108, + 70108 + ], + "valid" + ], + [ + [ + 70109, + 70111 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70112, + 70112 + ], + "disallowed" + ], + [ + [ + 70113, + 70132 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70133, + 70143 + ], + "disallowed" + ], + [ + [ + 70144, + 70161 + ], + "valid" + ], + [ + [ + 70162, + 70162 + ], + "disallowed" + ], + [ + [ + 70163, + 70199 + ], + "valid" + ], + [ + [ + 70200, + 70205 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70206, + 70271 + ], + "disallowed" + ], + [ + [ + 70272, + 70278 + ], + "valid" + ], + [ + [ + 70279, + 70279 + ], + "disallowed" + ], + [ + [ + 70280, + 70280 + ], + "valid" + ], + [ + [ + 70281, + 70281 + ], + "disallowed" + ], + [ + [ + 70282, + 70285 + ], + "valid" + ], + [ + [ + 70286, + 70286 + ], + "disallowed" + ], + [ + [ + 70287, + 70301 + ], + "valid" + ], + [ + [ + 70302, + 70302 + ], + "disallowed" + ], + [ + [ + 70303, + 70312 + ], + "valid" + ], + [ + [ + 70313, + 70313 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70314, + 70319 + ], + "disallowed" + ], + [ + [ + 70320, + 70378 + ], + "valid" + ], + [ + [ + 70379, + 70383 + ], + "disallowed" + ], + [ + [ + 70384, + 70393 + ], + "valid" + ], + [ + [ + 70394, + 70399 + ], + "disallowed" + ], + [ + [ + 70400, + 70400 + ], + "valid" + ], + [ + [ + 70401, + 70403 + ], + "valid" + ], + [ + [ + 70404, + 70404 + ], + "disallowed" + ], + [ + [ + 70405, + 70412 + ], + "valid" + ], + [ + [ + 70413, + 70414 + ], + "disallowed" + ], + [ + [ + 70415, + 70416 + ], + "valid" + ], + [ + [ + 70417, + 70418 + ], + "disallowed" + ], + [ + [ + 70419, + 70440 + ], + "valid" + ], + [ + [ + 70441, + 70441 + ], + "disallowed" + ], + [ + [ + 70442, + 70448 + ], + "valid" + ], + [ + [ + 70449, + 70449 + ], + "disallowed" + ], + [ + [ + 70450, + 70451 + ], + "valid" + ], + [ + [ + 70452, + 70452 + ], + "disallowed" + ], + [ + [ + 70453, + 70457 + ], + "valid" + ], + [ + [ + 70458, + 70459 + ], + "disallowed" + ], + [ + [ + 70460, + 70468 + ], + "valid" + ], + [ + [ + 70469, + 70470 + ], + "disallowed" + ], + [ + [ + 70471, + 70472 + ], + "valid" + ], + [ + [ + 70473, + 70474 + ], + "disallowed" + ], + [ + [ + 70475, + 70477 + ], + "valid" + ], + [ + [ + 70478, + 70479 + ], + "disallowed" + ], + [ + [ + 70480, + 70480 + ], + "valid" + ], + [ + [ + 70481, + 70486 + ], + "disallowed" + ], + [ + [ + 70487, + 70487 + ], + "valid" + ], + [ + [ + 70488, + 70492 + ], + "disallowed" + ], + [ + [ + 70493, + 70499 + ], + "valid" + ], + [ + [ + 70500, + 70501 + ], + "disallowed" + ], + [ + [ + 70502, + 70508 + ], + "valid" + ], + [ + [ + 70509, + 70511 + ], + "disallowed" + ], + [ + [ + 70512, + 70516 + ], + "valid" + ], + [ + [ + 70517, + 70783 + ], + "disallowed" + ], + [ + [ + 70784, + 70853 + ], + "valid" + ], + [ + [ + 70854, + 70854 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 70855, + 70855 + ], + "valid" + ], + [ + [ + 70856, + 70863 + ], + "disallowed" + ], + [ + [ + 70864, + 70873 + ], + "valid" + ], + [ + [ + 70874, + 71039 + ], + "disallowed" + ], + [ + [ + 71040, + 71093 + ], + "valid" + ], + [ + [ + 71094, + 71095 + ], + "disallowed" + ], + [ + [ + 71096, + 71104 + ], + "valid" + ], + [ + [ + 71105, + 71113 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71114, + 71127 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71128, + 71133 + ], + "valid" + ], + [ + [ + 71134, + 71167 + ], + "disallowed" + ], + [ + [ + 71168, + 71232 + ], + "valid" + ], + [ + [ + 71233, + 71235 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71236, + 71236 + ], + "valid" + ], + [ + [ + 71237, + 71247 + ], + "disallowed" + ], + [ + [ + 71248, + 71257 + ], + "valid" + ], + [ + [ + 71258, + 71295 + ], + "disallowed" + ], + [ + [ + 71296, + 71351 + ], + "valid" + ], + [ + [ + 71352, + 71359 + ], + "disallowed" + ], + [ + [ + 71360, + 71369 + ], + "valid" + ], + [ + [ + 71370, + 71423 + ], + "disallowed" + ], + [ + [ + 71424, + 71449 + ], + "valid" + ], + [ + [ + 71450, + 71452 + ], + "disallowed" + ], + [ + [ + 71453, + 71467 + ], + "valid" + ], + [ + [ + 71468, + 71471 + ], + "disallowed" + ], + [ + [ + 71472, + 71481 + ], + "valid" + ], + [ + [ + 71482, + 71487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71488, + 71839 + ], + "disallowed" + ], + [ + [ + 71840, + 71840 + ], + "mapped", + [ + 71872 + ] + ], + [ + [ + 71841, + 71841 + ], + "mapped", + [ + 71873 + ] + ], + [ + [ + 71842, + 71842 + ], + "mapped", + [ + 71874 + ] + ], + [ + [ + 71843, + 71843 + ], + "mapped", + [ + 71875 + ] + ], + [ + [ + 71844, + 71844 + ], + "mapped", + [ + 71876 + ] + ], + [ + [ + 71845, + 71845 + ], + "mapped", + [ + 71877 + ] + ], + [ + [ + 71846, + 71846 + ], + "mapped", + [ + 71878 + ] + ], + [ + [ + 71847, + 71847 + ], + "mapped", + [ + 71879 + ] + ], + [ + [ + 71848, + 71848 + ], + "mapped", + [ + 71880 + ] + ], + [ + [ + 71849, + 71849 + ], + "mapped", + [ + 71881 + ] + ], + [ + [ + 71850, + 71850 + ], + "mapped", + [ + 71882 + ] + ], + [ + [ + 71851, + 71851 + ], + "mapped", + [ + 71883 + ] + ], + [ + [ + 71852, + 71852 + ], + "mapped", + [ + 71884 + ] + ], + [ + [ + 71853, + 71853 + ], + "mapped", + [ + 71885 + ] + ], + [ + [ + 71854, + 71854 + ], + "mapped", + [ + 71886 + ] + ], + [ + [ + 71855, + 71855 + ], + "mapped", + [ + 71887 + ] + ], + [ + [ + 71856, + 71856 + ], + "mapped", + [ + 71888 + ] + ], + [ + [ + 71857, + 71857 + ], + "mapped", + [ + 71889 + ] + ], + [ + [ + 71858, + 71858 + ], + "mapped", + [ + 71890 + ] + ], + [ + [ + 71859, + 71859 + ], + "mapped", + [ + 71891 + ] + ], + [ + [ + 71860, + 71860 + ], + "mapped", + [ + 71892 + ] + ], + [ + [ + 71861, + 71861 + ], + "mapped", + [ + 71893 + ] + ], + [ + [ + 71862, + 71862 + ], + "mapped", + [ + 71894 + ] + ], + [ + [ + 71863, + 71863 + ], + "mapped", + [ + 71895 + ] + ], + [ + [ + 71864, + 71864 + ], + "mapped", + [ + 71896 + ] + ], + [ + [ + 71865, + 71865 + ], + "mapped", + [ + 71897 + ] + ], + [ + [ + 71866, + 71866 + ], + "mapped", + [ + 71898 + ] + ], + [ + [ + 71867, + 71867 + ], + "mapped", + [ + 71899 + ] + ], + [ + [ + 71868, + 71868 + ], + "mapped", + [ + 71900 + ] + ], + [ + [ + 71869, + 71869 + ], + "mapped", + [ + 71901 + ] + ], + [ + [ + 71870, + 71870 + ], + "mapped", + [ + 71902 + ] + ], + [ + [ + 71871, + 71871 + ], + "mapped", + [ + 71903 + ] + ], + [ + [ + 71872, + 71913 + ], + "valid" + ], + [ + [ + 71914, + 71922 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 71923, + 71934 + ], + "disallowed" + ], + [ + [ + 71935, + 71935 + ], + "valid" + ], + [ + [ + 71936, + 72383 + ], + "disallowed" + ], + [ + [ + 72384, + 72440 + ], + "valid" + ], + [ + [ + 72441, + 73727 + ], + "disallowed" + ], + [ + [ + 73728, + 74606 + ], + "valid" + ], + [ + [ + 74607, + 74648 + ], + "valid" + ], + [ + [ + 74649, + 74649 + ], + "valid" + ], + [ + [ + 74650, + 74751 + ], + "disallowed" + ], + [ + [ + 74752, + 74850 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74851, + 74862 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74863, + 74863 + ], + "disallowed" + ], + [ + [ + 74864, + 74867 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74868, + 74868 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 74869, + 74879 + ], + "disallowed" + ], + [ + [ + 74880, + 75075 + ], + "valid" + ], + [ + [ + 75076, + 77823 + ], + "disallowed" + ], + [ + [ + 77824, + 78894 + ], + "valid" + ], + [ + [ + 78895, + 82943 + ], + "disallowed" + ], + [ + [ + 82944, + 83526 + ], + "valid" + ], + [ + [ + 83527, + 92159 + ], + "disallowed" + ], + [ + [ + 92160, + 92728 + ], + "valid" + ], + [ + [ + 92729, + 92735 + ], + "disallowed" + ], + [ + [ + 92736, + 92766 + ], + "valid" + ], + [ + [ + 92767, + 92767 + ], + "disallowed" + ], + [ + [ + 92768, + 92777 + ], + "valid" + ], + [ + [ + 92778, + 92781 + ], + "disallowed" + ], + [ + [ + 92782, + 92783 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92784, + 92879 + ], + "disallowed" + ], + [ + [ + 92880, + 92909 + ], + "valid" + ], + [ + [ + 92910, + 92911 + ], + "disallowed" + ], + [ + [ + 92912, + 92916 + ], + "valid" + ], + [ + [ + 92917, + 92917 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92918, + 92927 + ], + "disallowed" + ], + [ + [ + 92928, + 92982 + ], + "valid" + ], + [ + [ + 92983, + 92991 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92992, + 92995 + ], + "valid" + ], + [ + [ + 92996, + 92997 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 92998, + 93007 + ], + "disallowed" + ], + [ + [ + 93008, + 93017 + ], + "valid" + ], + [ + [ + 93018, + 93018 + ], + "disallowed" + ], + [ + [ + 93019, + 93025 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 93026, + 93026 + ], + "disallowed" + ], + [ + [ + 93027, + 93047 + ], + "valid" + ], + [ + [ + 93048, + 93052 + ], + "disallowed" + ], + [ + [ + 93053, + 93071 + ], + "valid" + ], + [ + [ + 93072, + 93951 + ], + "disallowed" + ], + [ + [ + 93952, + 94020 + ], + "valid" + ], + [ + [ + 94021, + 94031 + ], + "disallowed" + ], + [ + [ + 94032, + 94078 + ], + "valid" + ], + [ + [ + 94079, + 94094 + ], + "disallowed" + ], + [ + [ + 94095, + 94111 + ], + "valid" + ], + [ + [ + 94112, + 110591 + ], + "disallowed" + ], + [ + [ + 110592, + 110593 + ], + "valid" + ], + [ + [ + 110594, + 113663 + ], + "disallowed" + ], + [ + [ + 113664, + 113770 + ], + "valid" + ], + [ + [ + 113771, + 113775 + ], + "disallowed" + ], + [ + [ + 113776, + 113788 + ], + "valid" + ], + [ + [ + 113789, + 113791 + ], + "disallowed" + ], + [ + [ + 113792, + 113800 + ], + "valid" + ], + [ + [ + 113801, + 113807 + ], + "disallowed" + ], + [ + [ + 113808, + 113817 + ], + "valid" + ], + [ + [ + 113818, + 113819 + ], + "disallowed" + ], + [ + [ + 113820, + 113820 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 113821, + 113822 + ], + "valid" + ], + [ + [ + 113823, + 113823 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 113824, + 113827 + ], + "ignored" + ], + [ + [ + 113828, + 118783 + ], + "disallowed" + ], + [ + [ + 118784, + 119029 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119030, + 119039 + ], + "disallowed" + ], + [ + [ + 119040, + 119078 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119079, + 119080 + ], + "disallowed" + ], + [ + [ + 119081, + 119081 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119082, + 119133 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119134, + 119134 + ], + "mapped", + [ + 119127, + 119141 + ] + ], + [ + [ + 119135, + 119135 + ], + "mapped", + [ + 119128, + 119141 + ] + ], + [ + [ + 119136, + 119136 + ], + "mapped", + [ + 119128, + 119141, + 119150 + ] + ], + [ + [ + 119137, + 119137 + ], + "mapped", + [ + 119128, + 119141, + 119151 + ] + ], + [ + [ + 119138, + 119138 + ], + "mapped", + [ + 119128, + 119141, + 119152 + ] + ], + [ + [ + 119139, + 119139 + ], + "mapped", + [ + 119128, + 119141, + 119153 + ] + ], + [ + [ + 119140, + 119140 + ], + "mapped", + [ + 119128, + 119141, + 119154 + ] + ], + [ + [ + 119141, + 119154 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119155, + 119162 + ], + "disallowed" + ], + [ + [ + 119163, + 119226 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119227, + 119227 + ], + "mapped", + [ + 119225, + 119141 + ] + ], + [ + [ + 119228, + 119228 + ], + "mapped", + [ + 119226, + 119141 + ] + ], + [ + [ + 119229, + 119229 + ], + "mapped", + [ + 119225, + 119141, + 119150 + ] + ], + [ + [ + 119230, + 119230 + ], + "mapped", + [ + 119226, + 119141, + 119150 + ] + ], + [ + [ + 119231, + 119231 + ], + "mapped", + [ + 119225, + 119141, + 119151 + ] + ], + [ + [ + 119232, + 119232 + ], + "mapped", + [ + 119226, + 119141, + 119151 + ] + ], + [ + [ + 119233, + 119261 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119262, + 119272 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119273, + 119295 + ], + "disallowed" + ], + [ + [ + 119296, + 119365 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119366, + 119551 + ], + "disallowed" + ], + [ + [ + 119552, + 119638 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119639, + 119647 + ], + "disallowed" + ], + [ + [ + 119648, + 119665 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 119666, + 119807 + ], + "disallowed" + ], + [ + [ + 119808, + 119808 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119809, + 119809 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119810, + 119810 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119811, + 119811 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119812, + 119812 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119813, + 119813 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119814, + 119814 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119815, + 119815 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119816, + 119816 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119817, + 119817 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119818, + 119818 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119819, + 119819 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119820, + 119820 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119821, + 119821 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119822, + 119822 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119823, + 119823 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119824, + 119824 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119825, + 119825 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119826, + 119826 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119827, + 119827 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119828, + 119828 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119829, + 119829 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119830, + 119830 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119831, + 119831 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119832, + 119832 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119833, + 119833 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119834, + 119834 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119835, + 119835 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119836, + 119836 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119837, + 119837 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119838, + 119838 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119839, + 119839 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119840, + 119840 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119841, + 119841 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119842, + 119842 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119843, + 119843 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119844, + 119844 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119845, + 119845 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119846, + 119846 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119847, + 119847 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119848, + 119848 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119849, + 119849 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119850, + 119850 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119851, + 119851 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119852, + 119852 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119853, + 119853 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119854, + 119854 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119855, + 119855 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119856, + 119856 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119857, + 119857 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119858, + 119858 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119859, + 119859 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119860, + 119860 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119861, + 119861 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119862, + 119862 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119863, + 119863 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119864, + 119864 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119865, + 119865 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119866, + 119866 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119867, + 119867 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119868, + 119868 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119869, + 119869 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119870, + 119870 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119871, + 119871 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119872, + 119872 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119873, + 119873 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119874, + 119874 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119875, + 119875 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119876, + 119876 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119877, + 119877 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119878, + 119878 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119879, + 119879 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119880, + 119880 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119881, + 119881 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119882, + 119882 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119883, + 119883 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119884, + 119884 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119885, + 119885 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119886, + 119886 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119887, + 119887 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119888, + 119888 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119889, + 119889 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119890, + 119890 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119891, + 119891 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119892, + 119892 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119893, + 119893 + ], + "disallowed" + ], + [ + [ + 119894, + 119894 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119895, + 119895 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119896, + 119896 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119897, + 119897 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119898, + 119898 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119899, + 119899 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119900, + 119900 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119901, + 119901 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119902, + 119902 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119903, + 119903 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119904, + 119904 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119905, + 119905 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119906, + 119906 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119907, + 119907 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119908, + 119908 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119909, + 119909 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119910, + 119910 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119911, + 119911 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119912, + 119912 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119913, + 119913 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119914, + 119914 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119915, + 119915 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119916, + 119916 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119917, + 119917 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119918, + 119918 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119919, + 119919 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119920, + 119920 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119921, + 119921 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119922, + 119922 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119923, + 119923 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119924, + 119924 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119925, + 119925 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119926, + 119926 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119927, + 119927 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119928, + 119928 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119929, + 119929 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119930, + 119930 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119931, + 119931 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119932, + 119932 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119933, + 119933 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119934, + 119934 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119935, + 119935 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119936, + 119936 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119937, + 119937 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119938, + 119938 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119939, + 119939 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119940, + 119940 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119941, + 119941 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119942, + 119942 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 119943, + 119943 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119944, + 119944 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119945, + 119945 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119946, + 119946 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119947, + 119947 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119948, + 119948 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119949, + 119949 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 119950, + 119950 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 119951, + 119951 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119952, + 119952 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119953, + 119953 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119954, + 119954 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119955, + 119955 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 119956, + 119956 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119957, + 119957 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119958, + 119958 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119959, + 119959 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119960, + 119960 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119961, + 119961 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119962, + 119962 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119963, + 119963 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119964, + 119964 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119965, + 119965 + ], + "disallowed" + ], + [ + [ + 119966, + 119966 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119967, + 119967 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119968, + 119969 + ], + "disallowed" + ], + [ + [ + 119970, + 119970 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 119971, + 119972 + ], + "disallowed" + ], + [ + [ + 119973, + 119973 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 119974, + 119974 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 119975, + 119976 + ], + "disallowed" + ], + [ + [ + 119977, + 119977 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 119978, + 119978 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 119979, + 119979 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 119980, + 119980 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 119981, + 119981 + ], + "disallowed" + ], + [ + [ + 119982, + 119982 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 119983, + 119983 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 119984, + 119984 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 119985, + 119985 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 119986, + 119986 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 119987, + 119987 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 119988, + 119988 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 119989, + 119989 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 119990, + 119990 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 119991, + 119991 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 119992, + 119992 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 119993, + 119993 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 119994, + 119994 + ], + "disallowed" + ], + [ + [ + 119995, + 119995 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 119996, + 119996 + ], + "disallowed" + ], + [ + [ + 119997, + 119997 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 119998, + 119998 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 119999, + 119999 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120000, + 120000 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120001, + 120001 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120002, + 120002 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120003, + 120003 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120004, + 120004 + ], + "disallowed" + ], + [ + [ + 120005, + 120005 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120006, + 120006 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120007, + 120007 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120008, + 120008 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120009, + 120009 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120010, + 120010 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120011, + 120011 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120012, + 120012 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120013, + 120013 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120014, + 120014 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120015, + 120015 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120016, + 120016 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120017, + 120017 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120018, + 120018 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120019, + 120019 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120020, + 120020 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120021, + 120021 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120022, + 120022 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120023, + 120023 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120024, + 120024 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120025, + 120025 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120026, + 120026 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120027, + 120027 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120028, + 120028 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120029, + 120029 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120030, + 120030 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120031, + 120031 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120032, + 120032 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120033, + 120033 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120034, + 120034 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120035, + 120035 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120036, + 120036 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120037, + 120037 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120038, + 120038 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120039, + 120039 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120040, + 120040 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120041, + 120041 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120042, + 120042 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120043, + 120043 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120044, + 120044 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120045, + 120045 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120046, + 120046 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120047, + 120047 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120048, + 120048 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120049, + 120049 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120050, + 120050 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120051, + 120051 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120052, + 120052 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120053, + 120053 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120054, + 120054 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120055, + 120055 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120056, + 120056 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120057, + 120057 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120058, + 120058 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120059, + 120059 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120060, + 120060 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120061, + 120061 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120062, + 120062 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120063, + 120063 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120064, + 120064 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120065, + 120065 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120066, + 120066 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120067, + 120067 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120068, + 120068 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120069, + 120069 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120070, + 120070 + ], + "disallowed" + ], + [ + [ + 120071, + 120071 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120072, + 120072 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120073, + 120073 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120074, + 120074 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120075, + 120076 + ], + "disallowed" + ], + [ + [ + 120077, + 120077 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120078, + 120078 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120079, + 120079 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120080, + 120080 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120081, + 120081 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120082, + 120082 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120083, + 120083 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120084, + 120084 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120085, + 120085 + ], + "disallowed" + ], + [ + [ + 120086, + 120086 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120087, + 120087 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120088, + 120088 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120089, + 120089 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120090, + 120090 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120091, + 120091 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120092, + 120092 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120093, + 120093 + ], + "disallowed" + ], + [ + [ + 120094, + 120094 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120095, + 120095 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120096, + 120096 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120097, + 120097 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120098, + 120098 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120099, + 120099 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120100, + 120100 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120101, + 120101 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120102, + 120102 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120103, + 120103 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120104, + 120104 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120105, + 120105 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120106, + 120106 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120107, + 120107 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120108, + 120108 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120109, + 120109 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120110, + 120110 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120111, + 120111 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120112, + 120112 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120113, + 120113 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120114, + 120114 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120115, + 120115 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120116, + 120116 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120117, + 120117 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120118, + 120118 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120119, + 120119 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120120, + 120120 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120121, + 120121 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120122, + 120122 + ], + "disallowed" + ], + [ + [ + 120123, + 120123 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120124, + 120124 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120125, + 120125 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120126, + 120126 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120127, + 120127 + ], + "disallowed" + ], + [ + [ + 120128, + 120128 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120129, + 120129 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120130, + 120130 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120131, + 120131 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120132, + 120132 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120133, + 120133 + ], + "disallowed" + ], + [ + [ + 120134, + 120134 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120135, + 120137 + ], + "disallowed" + ], + [ + [ + 120138, + 120138 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120139, + 120139 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120140, + 120140 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120141, + 120141 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120142, + 120142 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120143, + 120143 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120144, + 120144 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120145, + 120145 + ], + "disallowed" + ], + [ + [ + 120146, + 120146 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120147, + 120147 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120148, + 120148 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120149, + 120149 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120150, + 120150 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120151, + 120151 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120152, + 120152 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120153, + 120153 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120154, + 120154 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120155, + 120155 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120156, + 120156 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120157, + 120157 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120158, + 120158 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120159, + 120159 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120160, + 120160 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120161, + 120161 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120162, + 120162 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120163, + 120163 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120164, + 120164 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120165, + 120165 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120166, + 120166 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120167, + 120167 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120168, + 120168 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120169, + 120169 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120170, + 120170 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120171, + 120171 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120172, + 120172 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120173, + 120173 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120174, + 120174 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120175, + 120175 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120176, + 120176 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120177, + 120177 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120178, + 120178 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120179, + 120179 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120180, + 120180 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120181, + 120181 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120182, + 120182 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120183, + 120183 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120184, + 120184 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120185, + 120185 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120186, + 120186 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120187, + 120187 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120188, + 120188 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120189, + 120189 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120190, + 120190 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120191, + 120191 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120192, + 120192 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120193, + 120193 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120194, + 120194 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120195, + 120195 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120196, + 120196 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120197, + 120197 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120198, + 120198 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120199, + 120199 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120200, + 120200 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120201, + 120201 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120202, + 120202 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120203, + 120203 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120204, + 120204 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120205, + 120205 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120206, + 120206 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120207, + 120207 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120208, + 120208 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120209, + 120209 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120210, + 120210 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120211, + 120211 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120212, + 120212 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120213, + 120213 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120214, + 120214 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120215, + 120215 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120216, + 120216 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120217, + 120217 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120218, + 120218 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120219, + 120219 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120220, + 120220 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120221, + 120221 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120222, + 120222 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120223, + 120223 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120224, + 120224 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120225, + 120225 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120226, + 120226 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120227, + 120227 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120228, + 120228 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120229, + 120229 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120230, + 120230 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120231, + 120231 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120232, + 120232 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120233, + 120233 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120234, + 120234 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120235, + 120235 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120236, + 120236 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120237, + 120237 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120238, + 120238 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120239, + 120239 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120240, + 120240 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120241, + 120241 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120242, + 120242 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120243, + 120243 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120244, + 120244 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120245, + 120245 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120246, + 120246 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120247, + 120247 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120248, + 120248 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120249, + 120249 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120250, + 120250 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120251, + 120251 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120252, + 120252 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120253, + 120253 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120254, + 120254 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120255, + 120255 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120256, + 120256 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120257, + 120257 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120258, + 120258 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120259, + 120259 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120260, + 120260 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120261, + 120261 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120262, + 120262 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120263, + 120263 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120264, + 120264 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120265, + 120265 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120266, + 120266 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120267, + 120267 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120268, + 120268 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120269, + 120269 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120270, + 120270 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120271, + 120271 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120272, + 120272 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120273, + 120273 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120274, + 120274 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120275, + 120275 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120276, + 120276 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120277, + 120277 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120278, + 120278 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120279, + 120279 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120280, + 120280 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120281, + 120281 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120282, + 120282 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120283, + 120283 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120284, + 120284 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120285, + 120285 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120286, + 120286 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120287, + 120287 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120288, + 120288 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120289, + 120289 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120290, + 120290 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120291, + 120291 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120292, + 120292 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120293, + 120293 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120294, + 120294 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120295, + 120295 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120296, + 120296 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120297, + 120297 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120298, + 120298 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120299, + 120299 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120300, + 120300 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120301, + 120301 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120302, + 120302 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120303, + 120303 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120304, + 120304 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120305, + 120305 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120306, + 120306 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120307, + 120307 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120308, + 120308 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120309, + 120309 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120310, + 120310 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120311, + 120311 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120312, + 120312 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120313, + 120313 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120314, + 120314 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120315, + 120315 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120316, + 120316 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120317, + 120317 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120318, + 120318 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120319, + 120319 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120320, + 120320 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120321, + 120321 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120322, + 120322 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120323, + 120323 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120324, + 120324 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120325, + 120325 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120326, + 120326 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120327, + 120327 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120328, + 120328 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120329, + 120329 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120330, + 120330 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120331, + 120331 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120332, + 120332 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120333, + 120333 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120334, + 120334 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120335, + 120335 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120336, + 120336 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120337, + 120337 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120338, + 120338 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120339, + 120339 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120340, + 120340 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120341, + 120341 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120342, + 120342 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120343, + 120343 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120344, + 120344 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120345, + 120345 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120346, + 120346 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120347, + 120347 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120348, + 120348 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120349, + 120349 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120350, + 120350 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120351, + 120351 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120352, + 120352 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120353, + 120353 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120354, + 120354 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120355, + 120355 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120356, + 120356 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120357, + 120357 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120358, + 120358 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120359, + 120359 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120360, + 120360 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120361, + 120361 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120362, + 120362 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120363, + 120363 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120364, + 120364 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120365, + 120365 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120366, + 120366 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120367, + 120367 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120368, + 120368 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120369, + 120369 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120370, + 120370 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120371, + 120371 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120372, + 120372 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120373, + 120373 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120374, + 120374 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120375, + 120375 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120376, + 120376 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120377, + 120377 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120378, + 120378 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120379, + 120379 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120380, + 120380 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120381, + 120381 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120382, + 120382 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120383, + 120383 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120384, + 120384 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120385, + 120385 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120386, + 120386 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120387, + 120387 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120388, + 120388 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120389, + 120389 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120390, + 120390 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120391, + 120391 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120392, + 120392 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120393, + 120393 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120394, + 120394 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120395, + 120395 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120396, + 120396 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120397, + 120397 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120398, + 120398 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120399, + 120399 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120400, + 120400 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120401, + 120401 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120402, + 120402 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120403, + 120403 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120404, + 120404 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120405, + 120405 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120406, + 120406 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120407, + 120407 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120408, + 120408 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120409, + 120409 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120410, + 120410 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120411, + 120411 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120412, + 120412 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120413, + 120413 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120414, + 120414 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120415, + 120415 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120416, + 120416 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120417, + 120417 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120418, + 120418 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120419, + 120419 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120420, + 120420 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120421, + 120421 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120422, + 120422 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120423, + 120423 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120424, + 120424 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120425, + 120425 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120426, + 120426 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120427, + 120427 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120428, + 120428 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120429, + 120429 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120430, + 120430 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120431, + 120431 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120432, + 120432 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120433, + 120433 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120434, + 120434 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120435, + 120435 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120436, + 120436 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120437, + 120437 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120438, + 120438 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120439, + 120439 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120440, + 120440 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120441, + 120441 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120442, + 120442 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120443, + 120443 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120444, + 120444 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120445, + 120445 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120446, + 120446 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120447, + 120447 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120448, + 120448 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120449, + 120449 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120450, + 120450 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120451, + 120451 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120452, + 120452 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120453, + 120453 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120454, + 120454 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120455, + 120455 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120456, + 120456 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120457, + 120457 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120458, + 120458 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 120459, + 120459 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 120460, + 120460 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 120461, + 120461 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 120462, + 120462 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 120463, + 120463 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 120464, + 120464 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 120465, + 120465 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 120466, + 120466 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 120467, + 120467 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 120468, + 120468 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 120469, + 120469 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 120470, + 120470 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 120471, + 120471 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 120472, + 120472 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 120473, + 120473 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 120474, + 120474 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 120475, + 120475 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 120476, + 120476 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 120477, + 120477 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 120478, + 120478 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 120479, + 120479 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 120480, + 120480 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 120481, + 120481 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 120482, + 120482 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 120483, + 120483 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 120484, + 120484 + ], + "mapped", + [ + 305 + ] + ], + [ + [ + 120485, + 120485 + ], + "mapped", + [ + 567 + ] + ], + [ + [ + 120486, + 120487 + ], + "disallowed" + ], + [ + [ + 120488, + 120488 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120489, + 120489 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120490, + 120490 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120491, + 120491 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120492, + 120492 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120493, + 120493 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120494, + 120494 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120495, + 120495 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120496, + 120496 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120497, + 120497 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120498, + 120498 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120499, + 120499 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120500, + 120500 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120501, + 120501 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120502, + 120502 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120503, + 120503 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120504, + 120504 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120505, + 120505 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120506, + 120506 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120507, + 120507 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120508, + 120508 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120509, + 120509 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120510, + 120510 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120511, + 120511 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120512, + 120512 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120513, + 120513 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120514, + 120514 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120515, + 120515 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120516, + 120516 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120517, + 120517 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120518, + 120518 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120519, + 120519 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120520, + 120520 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120521, + 120521 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120522, + 120522 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120523, + 120523 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120524, + 120524 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120525, + 120525 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120526, + 120526 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120527, + 120527 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120528, + 120528 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120529, + 120529 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120530, + 120530 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120531, + 120532 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120533, + 120533 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120534, + 120534 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120535, + 120535 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120536, + 120536 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120537, + 120537 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120538, + 120538 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120539, + 120539 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120540, + 120540 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120541, + 120541 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120542, + 120542 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120543, + 120543 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120544, + 120544 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120545, + 120545 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120546, + 120546 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120547, + 120547 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120548, + 120548 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120549, + 120549 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120550, + 120550 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120551, + 120551 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120552, + 120552 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120553, + 120553 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120554, + 120554 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120555, + 120555 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120556, + 120556 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120557, + 120557 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120558, + 120558 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120559, + 120559 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120560, + 120560 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120561, + 120561 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120562, + 120562 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120563, + 120563 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120564, + 120564 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120565, + 120565 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120566, + 120566 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120567, + 120567 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120568, + 120568 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120569, + 120569 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120570, + 120570 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120571, + 120571 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120572, + 120572 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120573, + 120573 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120574, + 120574 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120575, + 120575 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120576, + 120576 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120577, + 120577 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120578, + 120578 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120579, + 120579 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120580, + 120580 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120581, + 120581 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120582, + 120582 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120583, + 120583 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120584, + 120584 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120585, + 120585 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120586, + 120586 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120587, + 120587 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120588, + 120588 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120589, + 120590 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120591, + 120591 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120592, + 120592 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120593, + 120593 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120594, + 120594 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120595, + 120595 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120596, + 120596 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120597, + 120597 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120598, + 120598 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120599, + 120599 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120600, + 120600 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120601, + 120601 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120602, + 120602 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120603, + 120603 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120604, + 120604 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120605, + 120605 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120606, + 120606 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120607, + 120607 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120608, + 120608 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120609, + 120609 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120610, + 120610 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120611, + 120611 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120612, + 120612 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120613, + 120613 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120614, + 120614 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120615, + 120615 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120616, + 120616 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120617, + 120617 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120618, + 120618 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120619, + 120619 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120620, + 120620 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120621, + 120621 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120622, + 120622 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120623, + 120623 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120624, + 120624 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120625, + 120625 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120626, + 120626 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120627, + 120627 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120628, + 120628 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120629, + 120629 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120630, + 120630 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120631, + 120631 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120632, + 120632 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120633, + 120633 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120634, + 120634 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120635, + 120635 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120636, + 120636 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120637, + 120637 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120638, + 120638 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120639, + 120639 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120640, + 120640 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120641, + 120641 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120642, + 120642 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120643, + 120643 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120644, + 120644 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120645, + 120645 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120646, + 120646 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120647, + 120648 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120649, + 120649 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120650, + 120650 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120651, + 120651 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120652, + 120652 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120653, + 120653 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120654, + 120654 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120655, + 120655 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120656, + 120656 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120657, + 120657 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120658, + 120658 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120659, + 120659 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120660, + 120660 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120661, + 120661 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120662, + 120662 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120663, + 120663 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120664, + 120664 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120665, + 120665 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120666, + 120666 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120667, + 120667 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120668, + 120668 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120669, + 120669 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120670, + 120670 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120671, + 120671 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120672, + 120672 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120673, + 120673 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120674, + 120674 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120675, + 120675 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120676, + 120676 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120677, + 120677 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120678, + 120678 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120679, + 120679 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120680, + 120680 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120681, + 120681 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120682, + 120682 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120683, + 120683 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120684, + 120684 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120685, + 120685 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120686, + 120686 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120687, + 120687 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120688, + 120688 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120689, + 120689 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120690, + 120690 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120691, + 120691 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120692, + 120692 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120693, + 120693 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120694, + 120694 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120695, + 120695 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120696, + 120696 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120697, + 120697 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120698, + 120698 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120699, + 120699 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120700, + 120700 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120701, + 120701 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120702, + 120702 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120703, + 120703 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120704, + 120704 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120705, + 120706 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120707, + 120707 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120708, + 120708 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120709, + 120709 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120710, + 120710 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120711, + 120711 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120712, + 120712 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120713, + 120713 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120714, + 120714 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120715, + 120715 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120716, + 120716 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120717, + 120717 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120718, + 120718 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120719, + 120719 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120720, + 120720 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120721, + 120721 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120722, + 120722 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120723, + 120723 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120724, + 120724 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120725, + 120725 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120726, + 120726 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120727, + 120727 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120728, + 120728 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120729, + 120729 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120730, + 120730 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120731, + 120731 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120732, + 120732 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120733, + 120733 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120734, + 120734 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120735, + 120735 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120736, + 120736 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120737, + 120737 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120738, + 120738 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120739, + 120739 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120740, + 120740 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120741, + 120741 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120742, + 120742 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120743, + 120743 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120744, + 120744 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120745, + 120745 + ], + "mapped", + [ + 8711 + ] + ], + [ + [ + 120746, + 120746 + ], + "mapped", + [ + 945 + ] + ], + [ + [ + 120747, + 120747 + ], + "mapped", + [ + 946 + ] + ], + [ + [ + 120748, + 120748 + ], + "mapped", + [ + 947 + ] + ], + [ + [ + 120749, + 120749 + ], + "mapped", + [ + 948 + ] + ], + [ + [ + 120750, + 120750 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120751, + 120751 + ], + "mapped", + [ + 950 + ] + ], + [ + [ + 120752, + 120752 + ], + "mapped", + [ + 951 + ] + ], + [ + [ + 120753, + 120753 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120754, + 120754 + ], + "mapped", + [ + 953 + ] + ], + [ + [ + 120755, + 120755 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120756, + 120756 + ], + "mapped", + [ + 955 + ] + ], + [ + [ + 120757, + 120757 + ], + "mapped", + [ + 956 + ] + ], + [ + [ + 120758, + 120758 + ], + "mapped", + [ + 957 + ] + ], + [ + [ + 120759, + 120759 + ], + "mapped", + [ + 958 + ] + ], + [ + [ + 120760, + 120760 + ], + "mapped", + [ + 959 + ] + ], + [ + [ + 120761, + 120761 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120762, + 120762 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120763, + 120764 + ], + "mapped", + [ + 963 + ] + ], + [ + [ + 120765, + 120765 + ], + "mapped", + [ + 964 + ] + ], + [ + [ + 120766, + 120766 + ], + "mapped", + [ + 965 + ] + ], + [ + [ + 120767, + 120767 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120768, + 120768 + ], + "mapped", + [ + 967 + ] + ], + [ + [ + 120769, + 120769 + ], + "mapped", + [ + 968 + ] + ], + [ + [ + 120770, + 120770 + ], + "mapped", + [ + 969 + ] + ], + [ + [ + 120771, + 120771 + ], + "mapped", + [ + 8706 + ] + ], + [ + [ + 120772, + 120772 + ], + "mapped", + [ + 949 + ] + ], + [ + [ + 120773, + 120773 + ], + "mapped", + [ + 952 + ] + ], + [ + [ + 120774, + 120774 + ], + "mapped", + [ + 954 + ] + ], + [ + [ + 120775, + 120775 + ], + "mapped", + [ + 966 + ] + ], + [ + [ + 120776, + 120776 + ], + "mapped", + [ + 961 + ] + ], + [ + [ + 120777, + 120777 + ], + "mapped", + [ + 960 + ] + ], + [ + [ + 120778, + 120779 + ], + "mapped", + [ + 989 + ] + ], + [ + [ + 120780, + 120781 + ], + "disallowed" + ], + [ + [ + 120782, + 120782 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120783, + 120783 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120784, + 120784 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120785, + 120785 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120786, + 120786 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120787, + 120787 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120788, + 120788 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120789, + 120789 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120790, + 120790 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120791, + 120791 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120792, + 120792 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120793, + 120793 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120794, + 120794 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120795, + 120795 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120796, + 120796 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120797, + 120797 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120798, + 120798 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120799, + 120799 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120800, + 120800 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120801, + 120801 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120802, + 120802 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120803, + 120803 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120804, + 120804 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120805, + 120805 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120806, + 120806 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120807, + 120807 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120808, + 120808 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120809, + 120809 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120810, + 120810 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120811, + 120811 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120812, + 120812 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120813, + 120813 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120814, + 120814 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120815, + 120815 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120816, + 120816 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120817, + 120817 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120818, + 120818 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120819, + 120819 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120820, + 120820 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120821, + 120821 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120822, + 120822 + ], + "mapped", + [ + 48 + ] + ], + [ + [ + 120823, + 120823 + ], + "mapped", + [ + 49 + ] + ], + [ + [ + 120824, + 120824 + ], + "mapped", + [ + 50 + ] + ], + [ + [ + 120825, + 120825 + ], + "mapped", + [ + 51 + ] + ], + [ + [ + 120826, + 120826 + ], + "mapped", + [ + 52 + ] + ], + [ + [ + 120827, + 120827 + ], + "mapped", + [ + 53 + ] + ], + [ + [ + 120828, + 120828 + ], + "mapped", + [ + 54 + ] + ], + [ + [ + 120829, + 120829 + ], + "mapped", + [ + 55 + ] + ], + [ + [ + 120830, + 120830 + ], + "mapped", + [ + 56 + ] + ], + [ + [ + 120831, + 120831 + ], + "mapped", + [ + 57 + ] + ], + [ + [ + 120832, + 121343 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121344, + 121398 + ], + "valid" + ], + [ + [ + 121399, + 121402 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121403, + 121452 + ], + "valid" + ], + [ + [ + 121453, + 121460 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121461, + 121461 + ], + "valid" + ], + [ + [ + 121462, + 121475 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121476, + 121476 + ], + "valid" + ], + [ + [ + 121477, + 121483 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 121484, + 121498 + ], + "disallowed" + ], + [ + [ + 121499, + 121503 + ], + "valid" + ], + [ + [ + 121504, + 121504 + ], + "disallowed" + ], + [ + [ + 121505, + 121519 + ], + "valid" + ], + [ + [ + 121520, + 124927 + ], + "disallowed" + ], + [ + [ + 124928, + 125124 + ], + "valid" + ], + [ + [ + 125125, + 125126 + ], + "disallowed" + ], + [ + [ + 125127, + 125135 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 125136, + 125142 + ], + "valid" + ], + [ + [ + 125143, + 126463 + ], + "disallowed" + ], + [ + [ + 126464, + 126464 + ], + "mapped", + [ + 1575 + ] + ], + [ + [ + 126465, + 126465 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126466, + 126466 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126467, + 126467 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 126468, + 126468 + ], + "disallowed" + ], + [ + [ + 126469, + 126469 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 126470, + 126470 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 126471, + 126471 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126472, + 126472 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126473, + 126473 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126474, + 126474 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 126475, + 126475 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126476, + 126476 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126477, + 126477 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126478, + 126478 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126479, + 126479 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126480, + 126480 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126481, + 126481 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126482, + 126482 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126483, + 126483 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 126484, + 126484 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126485, + 126485 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126486, + 126486 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126487, + 126487 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126488, + 126488 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 126489, + 126489 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126490, + 126490 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126491, + 126491 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126492, + 126492 + ], + "mapped", + [ + 1646 + ] + ], + [ + [ + 126493, + 126493 + ], + "mapped", + [ + 1722 + ] + ], + [ + [ + 126494, + 126494 + ], + "mapped", + [ + 1697 + ] + ], + [ + [ + 126495, + 126495 + ], + "mapped", + [ + 1647 + ] + ], + [ + [ + 126496, + 126496 + ], + "disallowed" + ], + [ + [ + 126497, + 126497 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126498, + 126498 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126499, + 126499 + ], + "disallowed" + ], + [ + [ + 126500, + 126500 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 126501, + 126502 + ], + "disallowed" + ], + [ + [ + 126503, + 126503 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126504, + 126504 + ], + "disallowed" + ], + [ + [ + 126505, + 126505 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126506, + 126506 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 126507, + 126507 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126508, + 126508 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126509, + 126509 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126510, + 126510 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126511, + 126511 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126512, + 126512 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126513, + 126513 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126514, + 126514 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126515, + 126515 + ], + "disallowed" + ], + [ + [ + 126516, + 126516 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126517, + 126517 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126518, + 126518 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126519, + 126519 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126520, + 126520 + ], + "disallowed" + ], + [ + [ + 126521, + 126521 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126522, + 126522 + ], + "disallowed" + ], + [ + [ + 126523, + 126523 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126524, + 126529 + ], + "disallowed" + ], + [ + [ + 126530, + 126530 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126531, + 126534 + ], + "disallowed" + ], + [ + [ + 126535, + 126535 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126536, + 126536 + ], + "disallowed" + ], + [ + [ + 126537, + 126537 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126538, + 126538 + ], + "disallowed" + ], + [ + [ + 126539, + 126539 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126540, + 126540 + ], + "disallowed" + ], + [ + [ + 126541, + 126541 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126542, + 126542 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126543, + 126543 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126544, + 126544 + ], + "disallowed" + ], + [ + [ + 126545, + 126545 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126546, + 126546 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126547, + 126547 + ], + "disallowed" + ], + [ + [ + 126548, + 126548 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126549, + 126550 + ], + "disallowed" + ], + [ + [ + 126551, + 126551 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126552, + 126552 + ], + "disallowed" + ], + [ + [ + 126553, + 126553 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126554, + 126554 + ], + "disallowed" + ], + [ + [ + 126555, + 126555 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126556, + 126556 + ], + "disallowed" + ], + [ + [ + 126557, + 126557 + ], + "mapped", + [ + 1722 + ] + ], + [ + [ + 126558, + 126558 + ], + "disallowed" + ], + [ + [ + 126559, + 126559 + ], + "mapped", + [ + 1647 + ] + ], + [ + [ + 126560, + 126560 + ], + "disallowed" + ], + [ + [ + 126561, + 126561 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126562, + 126562 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126563, + 126563 + ], + "disallowed" + ], + [ + [ + 126564, + 126564 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 126565, + 126566 + ], + "disallowed" + ], + [ + [ + 126567, + 126567 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126568, + 126568 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126569, + 126569 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126570, + 126570 + ], + "mapped", + [ + 1603 + ] + ], + [ + [ + 126571, + 126571 + ], + "disallowed" + ], + [ + [ + 126572, + 126572 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126573, + 126573 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126574, + 126574 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126575, + 126575 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126576, + 126576 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126577, + 126577 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126578, + 126578 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126579, + 126579 + ], + "disallowed" + ], + [ + [ + 126580, + 126580 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126581, + 126581 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126582, + 126582 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126583, + 126583 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126584, + 126584 + ], + "disallowed" + ], + [ + [ + 126585, + 126585 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126586, + 126586 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126587, + 126587 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126588, + 126588 + ], + "mapped", + [ + 1646 + ] + ], + [ + [ + 126589, + 126589 + ], + "disallowed" + ], + [ + [ + 126590, + 126590 + ], + "mapped", + [ + 1697 + ] + ], + [ + [ + 126591, + 126591 + ], + "disallowed" + ], + [ + [ + 126592, + 126592 + ], + "mapped", + [ + 1575 + ] + ], + [ + [ + 126593, + 126593 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126594, + 126594 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126595, + 126595 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 126596, + 126596 + ], + "mapped", + [ + 1607 + ] + ], + [ + [ + 126597, + 126597 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 126598, + 126598 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 126599, + 126599 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126600, + 126600 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126601, + 126601 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126602, + 126602 + ], + "disallowed" + ], + [ + [ + 126603, + 126603 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126604, + 126604 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126605, + 126605 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126606, + 126606 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126607, + 126607 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126608, + 126608 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126609, + 126609 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126610, + 126610 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126611, + 126611 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 126612, + 126612 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126613, + 126613 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126614, + 126614 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126615, + 126615 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126616, + 126616 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 126617, + 126617 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126618, + 126618 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126619, + 126619 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126620, + 126624 + ], + "disallowed" + ], + [ + [ + 126625, + 126625 + ], + "mapped", + [ + 1576 + ] + ], + [ + [ + 126626, + 126626 + ], + "mapped", + [ + 1580 + ] + ], + [ + [ + 126627, + 126627 + ], + "mapped", + [ + 1583 + ] + ], + [ + [ + 126628, + 126628 + ], + "disallowed" + ], + [ + [ + 126629, + 126629 + ], + "mapped", + [ + 1608 + ] + ], + [ + [ + 126630, + 126630 + ], + "mapped", + [ + 1586 + ] + ], + [ + [ + 126631, + 126631 + ], + "mapped", + [ + 1581 + ] + ], + [ + [ + 126632, + 126632 + ], + "mapped", + [ + 1591 + ] + ], + [ + [ + 126633, + 126633 + ], + "mapped", + [ + 1610 + ] + ], + [ + [ + 126634, + 126634 + ], + "disallowed" + ], + [ + [ + 126635, + 126635 + ], + "mapped", + [ + 1604 + ] + ], + [ + [ + 126636, + 126636 + ], + "mapped", + [ + 1605 + ] + ], + [ + [ + 126637, + 126637 + ], + "mapped", + [ + 1606 + ] + ], + [ + [ + 126638, + 126638 + ], + "mapped", + [ + 1587 + ] + ], + [ + [ + 126639, + 126639 + ], + "mapped", + [ + 1593 + ] + ], + [ + [ + 126640, + 126640 + ], + "mapped", + [ + 1601 + ] + ], + [ + [ + 126641, + 126641 + ], + "mapped", + [ + 1589 + ] + ], + [ + [ + 126642, + 126642 + ], + "mapped", + [ + 1602 + ] + ], + [ + [ + 126643, + 126643 + ], + "mapped", + [ + 1585 + ] + ], + [ + [ + 126644, + 126644 + ], + "mapped", + [ + 1588 + ] + ], + [ + [ + 126645, + 126645 + ], + "mapped", + [ + 1578 + ] + ], + [ + [ + 126646, + 126646 + ], + "mapped", + [ + 1579 + ] + ], + [ + [ + 126647, + 126647 + ], + "mapped", + [ + 1582 + ] + ], + [ + [ + 126648, + 126648 + ], + "mapped", + [ + 1584 + ] + ], + [ + [ + 126649, + 126649 + ], + "mapped", + [ + 1590 + ] + ], + [ + [ + 126650, + 126650 + ], + "mapped", + [ + 1592 + ] + ], + [ + [ + 126651, + 126651 + ], + "mapped", + [ + 1594 + ] + ], + [ + [ + 126652, + 126703 + ], + "disallowed" + ], + [ + [ + 126704, + 126705 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 126706, + 126975 + ], + "disallowed" + ], + [ + [ + 126976, + 127019 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127020, + 127023 + ], + "disallowed" + ], + [ + [ + 127024, + 127123 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127124, + 127135 + ], + "disallowed" + ], + [ + [ + 127136, + 127150 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127151, + 127152 + ], + "disallowed" + ], + [ + [ + 127153, + 127166 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127167, + 127167 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127168, + 127168 + ], + "disallowed" + ], + [ + [ + 127169, + 127183 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127184, + 127184 + ], + "disallowed" + ], + [ + [ + 127185, + 127199 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127200, + 127221 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127222, + 127231 + ], + "disallowed" + ], + [ + [ + 127232, + 127232 + ], + "disallowed" + ], + [ + [ + 127233, + 127233 + ], + "disallowed_STD3_mapped", + [ + 48, + 44 + ] + ], + [ + [ + 127234, + 127234 + ], + "disallowed_STD3_mapped", + [ + 49, + 44 + ] + ], + [ + [ + 127235, + 127235 + ], + "disallowed_STD3_mapped", + [ + 50, + 44 + ] + ], + [ + [ + 127236, + 127236 + ], + "disallowed_STD3_mapped", + [ + 51, + 44 + ] + ], + [ + [ + 127237, + 127237 + ], + "disallowed_STD3_mapped", + [ + 52, + 44 + ] + ], + [ + [ + 127238, + 127238 + ], + "disallowed_STD3_mapped", + [ + 53, + 44 + ] + ], + [ + [ + 127239, + 127239 + ], + "disallowed_STD3_mapped", + [ + 54, + 44 + ] + ], + [ + [ + 127240, + 127240 + ], + "disallowed_STD3_mapped", + [ + 55, + 44 + ] + ], + [ + [ + 127241, + 127241 + ], + "disallowed_STD3_mapped", + [ + 56, + 44 + ] + ], + [ + [ + 127242, + 127242 + ], + "disallowed_STD3_mapped", + [ + 57, + 44 + ] + ], + [ + [ + 127243, + 127244 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127245, + 127247 + ], + "disallowed" + ], + [ + [ + 127248, + 127248 + ], + "disallowed_STD3_mapped", + [ + 40, + 97, + 41 + ] + ], + [ + [ + 127249, + 127249 + ], + "disallowed_STD3_mapped", + [ + 40, + 98, + 41 + ] + ], + [ + [ + 127250, + 127250 + ], + "disallowed_STD3_mapped", + [ + 40, + 99, + 41 + ] + ], + [ + [ + 127251, + 127251 + ], + "disallowed_STD3_mapped", + [ + 40, + 100, + 41 + ] + ], + [ + [ + 127252, + 127252 + ], + "disallowed_STD3_mapped", + [ + 40, + 101, + 41 + ] + ], + [ + [ + 127253, + 127253 + ], + "disallowed_STD3_mapped", + [ + 40, + 102, + 41 + ] + ], + [ + [ + 127254, + 127254 + ], + "disallowed_STD3_mapped", + [ + 40, + 103, + 41 + ] + ], + [ + [ + 127255, + 127255 + ], + "disallowed_STD3_mapped", + [ + 40, + 104, + 41 + ] + ], + [ + [ + 127256, + 127256 + ], + "disallowed_STD3_mapped", + [ + 40, + 105, + 41 + ] + ], + [ + [ + 127257, + 127257 + ], + "disallowed_STD3_mapped", + [ + 40, + 106, + 41 + ] + ], + [ + [ + 127258, + 127258 + ], + "disallowed_STD3_mapped", + [ + 40, + 107, + 41 + ] + ], + [ + [ + 127259, + 127259 + ], + "disallowed_STD3_mapped", + [ + 40, + 108, + 41 + ] + ], + [ + [ + 127260, + 127260 + ], + "disallowed_STD3_mapped", + [ + 40, + 109, + 41 + ] + ], + [ + [ + 127261, + 127261 + ], + "disallowed_STD3_mapped", + [ + 40, + 110, + 41 + ] + ], + [ + [ + 127262, + 127262 + ], + "disallowed_STD3_mapped", + [ + 40, + 111, + 41 + ] + ], + [ + [ + 127263, + 127263 + ], + "disallowed_STD3_mapped", + [ + 40, + 112, + 41 + ] + ], + [ + [ + 127264, + 127264 + ], + "disallowed_STD3_mapped", + [ + 40, + 113, + 41 + ] + ], + [ + [ + 127265, + 127265 + ], + "disallowed_STD3_mapped", + [ + 40, + 114, + 41 + ] + ], + [ + [ + 127266, + 127266 + ], + "disallowed_STD3_mapped", + [ + 40, + 115, + 41 + ] + ], + [ + [ + 127267, + 127267 + ], + "disallowed_STD3_mapped", + [ + 40, + 116, + 41 + ] + ], + [ + [ + 127268, + 127268 + ], + "disallowed_STD3_mapped", + [ + 40, + 117, + 41 + ] + ], + [ + [ + 127269, + 127269 + ], + "disallowed_STD3_mapped", + [ + 40, + 118, + 41 + ] + ], + [ + [ + 127270, + 127270 + ], + "disallowed_STD3_mapped", + [ + 40, + 119, + 41 + ] + ], + [ + [ + 127271, + 127271 + ], + "disallowed_STD3_mapped", + [ + 40, + 120, + 41 + ] + ], + [ + [ + 127272, + 127272 + ], + "disallowed_STD3_mapped", + [ + 40, + 121, + 41 + ] + ], + [ + [ + 127273, + 127273 + ], + "disallowed_STD3_mapped", + [ + 40, + 122, + 41 + ] + ], + [ + [ + 127274, + 127274 + ], + "mapped", + [ + 12308, + 115, + 12309 + ] + ], + [ + [ + 127275, + 127275 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 127276, + 127276 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 127277, + 127277 + ], + "mapped", + [ + 99, + 100 + ] + ], + [ + [ + 127278, + 127278 + ], + "mapped", + [ + 119, + 122 + ] + ], + [ + [ + 127279, + 127279 + ], + "disallowed" + ], + [ + [ + 127280, + 127280 + ], + "mapped", + [ + 97 + ] + ], + [ + [ + 127281, + 127281 + ], + "mapped", + [ + 98 + ] + ], + [ + [ + 127282, + 127282 + ], + "mapped", + [ + 99 + ] + ], + [ + [ + 127283, + 127283 + ], + "mapped", + [ + 100 + ] + ], + [ + [ + 127284, + 127284 + ], + "mapped", + [ + 101 + ] + ], + [ + [ + 127285, + 127285 + ], + "mapped", + [ + 102 + ] + ], + [ + [ + 127286, + 127286 + ], + "mapped", + [ + 103 + ] + ], + [ + [ + 127287, + 127287 + ], + "mapped", + [ + 104 + ] + ], + [ + [ + 127288, + 127288 + ], + "mapped", + [ + 105 + ] + ], + [ + [ + 127289, + 127289 + ], + "mapped", + [ + 106 + ] + ], + [ + [ + 127290, + 127290 + ], + "mapped", + [ + 107 + ] + ], + [ + [ + 127291, + 127291 + ], + "mapped", + [ + 108 + ] + ], + [ + [ + 127292, + 127292 + ], + "mapped", + [ + 109 + ] + ], + [ + [ + 127293, + 127293 + ], + "mapped", + [ + 110 + ] + ], + [ + [ + 127294, + 127294 + ], + "mapped", + [ + 111 + ] + ], + [ + [ + 127295, + 127295 + ], + "mapped", + [ + 112 + ] + ], + [ + [ + 127296, + 127296 + ], + "mapped", + [ + 113 + ] + ], + [ + [ + 127297, + 127297 + ], + "mapped", + [ + 114 + ] + ], + [ + [ + 127298, + 127298 + ], + "mapped", + [ + 115 + ] + ], + [ + [ + 127299, + 127299 + ], + "mapped", + [ + 116 + ] + ], + [ + [ + 127300, + 127300 + ], + "mapped", + [ + 117 + ] + ], + [ + [ + 127301, + 127301 + ], + "mapped", + [ + 118 + ] + ], + [ + [ + 127302, + 127302 + ], + "mapped", + [ + 119 + ] + ], + [ + [ + 127303, + 127303 + ], + "mapped", + [ + 120 + ] + ], + [ + [ + 127304, + 127304 + ], + "mapped", + [ + 121 + ] + ], + [ + [ + 127305, + 127305 + ], + "mapped", + [ + 122 + ] + ], + [ + [ + 127306, + 127306 + ], + "mapped", + [ + 104, + 118 + ] + ], + [ + [ + 127307, + 127307 + ], + "mapped", + [ + 109, + 118 + ] + ], + [ + [ + 127308, + 127308 + ], + "mapped", + [ + 115, + 100 + ] + ], + [ + [ + 127309, + 127309 + ], + "mapped", + [ + 115, + 115 + ] + ], + [ + [ + 127310, + 127310 + ], + "mapped", + [ + 112, + 112, + 118 + ] + ], + [ + [ + 127311, + 127311 + ], + "mapped", + [ + 119, + 99 + ] + ], + [ + [ + 127312, + 127318 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127319, + 127319 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127320, + 127326 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127327, + 127327 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127328, + 127337 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127338, + 127338 + ], + "mapped", + [ + 109, + 99 + ] + ], + [ + [ + 127339, + 127339 + ], + "mapped", + [ + 109, + 100 + ] + ], + [ + [ + 127340, + 127343 + ], + "disallowed" + ], + [ + [ + 127344, + 127352 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127353, + 127353 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127354, + 127354 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127355, + 127356 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127357, + 127358 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127359, + 127359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127360, + 127369 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127370, + 127373 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127374, + 127375 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127376, + 127376 + ], + "mapped", + [ + 100, + 106 + ] + ], + [ + [ + 127377, + 127386 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127387, + 127461 + ], + "disallowed" + ], + [ + [ + 127462, + 127487 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127488, + 127488 + ], + "mapped", + [ + 12411, + 12363 + ] + ], + [ + [ + 127489, + 127489 + ], + "mapped", + [ + 12467, + 12467 + ] + ], + [ + [ + 127490, + 127490 + ], + "mapped", + [ + 12469 + ] + ], + [ + [ + 127491, + 127503 + ], + "disallowed" + ], + [ + [ + 127504, + 127504 + ], + "mapped", + [ + 25163 + ] + ], + [ + [ + 127505, + 127505 + ], + "mapped", + [ + 23383 + ] + ], + [ + [ + 127506, + 127506 + ], + "mapped", + [ + 21452 + ] + ], + [ + [ + 127507, + 127507 + ], + "mapped", + [ + 12487 + ] + ], + [ + [ + 127508, + 127508 + ], + "mapped", + [ + 20108 + ] + ], + [ + [ + 127509, + 127509 + ], + "mapped", + [ + 22810 + ] + ], + [ + [ + 127510, + 127510 + ], + "mapped", + [ + 35299 + ] + ], + [ + [ + 127511, + 127511 + ], + "mapped", + [ + 22825 + ] + ], + [ + [ + 127512, + 127512 + ], + "mapped", + [ + 20132 + ] + ], + [ + [ + 127513, + 127513 + ], + "mapped", + [ + 26144 + ] + ], + [ + [ + 127514, + 127514 + ], + "mapped", + [ + 28961 + ] + ], + [ + [ + 127515, + 127515 + ], + "mapped", + [ + 26009 + ] + ], + [ + [ + 127516, + 127516 + ], + "mapped", + [ + 21069 + ] + ], + [ + [ + 127517, + 127517 + ], + "mapped", + [ + 24460 + ] + ], + [ + [ + 127518, + 127518 + ], + "mapped", + [ + 20877 + ] + ], + [ + [ + 127519, + 127519 + ], + "mapped", + [ + 26032 + ] + ], + [ + [ + 127520, + 127520 + ], + "mapped", + [ + 21021 + ] + ], + [ + [ + 127521, + 127521 + ], + "mapped", + [ + 32066 + ] + ], + [ + [ + 127522, + 127522 + ], + "mapped", + [ + 29983 + ] + ], + [ + [ + 127523, + 127523 + ], + "mapped", + [ + 36009 + ] + ], + [ + [ + 127524, + 127524 + ], + "mapped", + [ + 22768 + ] + ], + [ + [ + 127525, + 127525 + ], + "mapped", + [ + 21561 + ] + ], + [ + [ + 127526, + 127526 + ], + "mapped", + [ + 28436 + ] + ], + [ + [ + 127527, + 127527 + ], + "mapped", + [ + 25237 + ] + ], + [ + [ + 127528, + 127528 + ], + "mapped", + [ + 25429 + ] + ], + [ + [ + 127529, + 127529 + ], + "mapped", + [ + 19968 + ] + ], + [ + [ + 127530, + 127530 + ], + "mapped", + [ + 19977 + ] + ], + [ + [ + 127531, + 127531 + ], + "mapped", + [ + 36938 + ] + ], + [ + [ + 127532, + 127532 + ], + "mapped", + [ + 24038 + ] + ], + [ + [ + 127533, + 127533 + ], + "mapped", + [ + 20013 + ] + ], + [ + [ + 127534, + 127534 + ], + "mapped", + [ + 21491 + ] + ], + [ + [ + 127535, + 127535 + ], + "mapped", + [ + 25351 + ] + ], + [ + [ + 127536, + 127536 + ], + "mapped", + [ + 36208 + ] + ], + [ + [ + 127537, + 127537 + ], + "mapped", + [ + 25171 + ] + ], + [ + [ + 127538, + 127538 + ], + "mapped", + [ + 31105 + ] + ], + [ + [ + 127539, + 127539 + ], + "mapped", + [ + 31354 + ] + ], + [ + [ + 127540, + 127540 + ], + "mapped", + [ + 21512 + ] + ], + [ + [ + 127541, + 127541 + ], + "mapped", + [ + 28288 + ] + ], + [ + [ + 127542, + 127542 + ], + "mapped", + [ + 26377 + ] + ], + [ + [ + 127543, + 127543 + ], + "mapped", + [ + 26376 + ] + ], + [ + [ + 127544, + 127544 + ], + "mapped", + [ + 30003 + ] + ], + [ + [ + 127545, + 127545 + ], + "mapped", + [ + 21106 + ] + ], + [ + [ + 127546, + 127546 + ], + "mapped", + [ + 21942 + ] + ], + [ + [ + 127547, + 127551 + ], + "disallowed" + ], + [ + [ + 127552, + 127552 + ], + "mapped", + [ + 12308, + 26412, + 12309 + ] + ], + [ + [ + 127553, + 127553 + ], + "mapped", + [ + 12308, + 19977, + 12309 + ] + ], + [ + [ + 127554, + 127554 + ], + "mapped", + [ + 12308, + 20108, + 12309 + ] + ], + [ + [ + 127555, + 127555 + ], + "mapped", + [ + 12308, + 23433, + 12309 + ] + ], + [ + [ + 127556, + 127556 + ], + "mapped", + [ + 12308, + 28857, + 12309 + ] + ], + [ + [ + 127557, + 127557 + ], + "mapped", + [ + 12308, + 25171, + 12309 + ] + ], + [ + [ + 127558, + 127558 + ], + "mapped", + [ + 12308, + 30423, + 12309 + ] + ], + [ + [ + 127559, + 127559 + ], + "mapped", + [ + 12308, + 21213, + 12309 + ] + ], + [ + [ + 127560, + 127560 + ], + "mapped", + [ + 12308, + 25943, + 12309 + ] + ], + [ + [ + 127561, + 127567 + ], + "disallowed" + ], + [ + [ + 127568, + 127568 + ], + "mapped", + [ + 24471 + ] + ], + [ + [ + 127569, + 127569 + ], + "mapped", + [ + 21487 + ] + ], + [ + [ + 127570, + 127743 + ], + "disallowed" + ], + [ + [ + 127744, + 127776 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127777, + 127788 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127789, + 127791 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127792, + 127797 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127798, + 127798 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127799, + 127868 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127869, + 127869 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127870, + 127871 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127872, + 127891 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127892, + 127903 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127904, + 127940 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127941, + 127941 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127942, + 127946 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127947, + 127950 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127951, + 127955 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127956, + 127967 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127968, + 127984 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127985, + 127991 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 127992, + 127999 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128000, + 128062 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128063, + 128063 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128064, + 128064 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128065, + 128065 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128066, + 128247 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128248, + 128248 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128249, + 128252 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128253, + 128254 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128255, + 128255 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128256, + 128317 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128318, + 128319 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128320, + 128323 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128324, + 128330 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128331, + 128335 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128336, + 128359 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128360, + 128377 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128378, + 128378 + ], + "disallowed" + ], + [ + [ + 128379, + 128419 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128420, + 128420 + ], + "disallowed" + ], + [ + [ + 128421, + 128506 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128507, + 128511 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128512, + 128512 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128513, + 128528 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128529, + 128529 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128530, + 128532 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128533, + 128533 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128534, + 128534 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128535, + 128535 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128536, + 128536 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128537, + 128537 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128538, + 128538 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128539, + 128539 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128540, + 128542 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128543, + 128543 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128544, + 128549 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128550, + 128551 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128552, + 128555 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128556, + 128556 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128557, + 128557 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128558, + 128559 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128560, + 128563 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128564, + 128564 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128565, + 128576 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128577, + 128578 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128579, + 128580 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128581, + 128591 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128592, + 128639 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128640, + 128709 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128710, + 128719 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128720, + 128720 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128721, + 128735 + ], + "disallowed" + ], + [ + [ + 128736, + 128748 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128749, + 128751 + ], + "disallowed" + ], + [ + [ + 128752, + 128755 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128756, + 128767 + ], + "disallowed" + ], + [ + [ + 128768, + 128883 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128884, + 128895 + ], + "disallowed" + ], + [ + [ + 128896, + 128980 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 128981, + 129023 + ], + "disallowed" + ], + [ + [ + 129024, + 129035 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129036, + 129039 + ], + "disallowed" + ], + [ + [ + 129040, + 129095 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129096, + 129103 + ], + "disallowed" + ], + [ + [ + 129104, + 129113 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129114, + 129119 + ], + "disallowed" + ], + [ + [ + 129120, + 129159 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129160, + 129167 + ], + "disallowed" + ], + [ + [ + 129168, + 129197 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129198, + 129295 + ], + "disallowed" + ], + [ + [ + 129296, + 129304 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129305, + 129407 + ], + "disallowed" + ], + [ + [ + 129408, + 129412 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129413, + 129471 + ], + "disallowed" + ], + [ + [ + 129472, + 129472 + ], + "valid", + [ + ], + "NV8" + ], + [ + [ + 129473, + 131069 + ], + "disallowed" + ], + [ + [ + 131070, + 131071 + ], + "disallowed" + ], + [ + [ + 131072, + 173782 + ], + "valid" + ], + [ + [ + 173783, + 173823 + ], + "disallowed" + ], + [ + [ + 173824, + 177972 + ], + "valid" + ], + [ + [ + 177973, + 177983 + ], + "disallowed" + ], + [ + [ + 177984, + 178205 + ], + "valid" + ], + [ + [ + 178206, + 178207 + ], + "disallowed" + ], + [ + [ + 178208, + 183969 + ], + "valid" + ], + [ + [ + 183970, + 194559 + ], + "disallowed" + ], + [ + [ + 194560, + 194560 + ], + "mapped", + [ + 20029 + ] + ], + [ + [ + 194561, + 194561 + ], + "mapped", + [ + 20024 + ] + ], + [ + [ + 194562, + 194562 + ], + "mapped", + [ + 20033 + ] + ], + [ + [ + 194563, + 194563 + ], + "mapped", + [ + 131362 + ] + ], + [ + [ + 194564, + 194564 + ], + "mapped", + [ + 20320 + ] + ], + [ + [ + 194565, + 194565 + ], + "mapped", + [ + 20398 + ] + ], + [ + [ + 194566, + 194566 + ], + "mapped", + [ + 20411 + ] + ], + [ + [ + 194567, + 194567 + ], + "mapped", + [ + 20482 + ] + ], + [ + [ + 194568, + 194568 + ], + "mapped", + [ + 20602 + ] + ], + [ + [ + 194569, + 194569 + ], + "mapped", + [ + 20633 + ] + ], + [ + [ + 194570, + 194570 + ], + "mapped", + [ + 20711 + ] + ], + [ + [ + 194571, + 194571 + ], + "mapped", + [ + 20687 + ] + ], + [ + [ + 194572, + 194572 + ], + "mapped", + [ + 13470 + ] + ], + [ + [ + 194573, + 194573 + ], + "mapped", + [ + 132666 + ] + ], + [ + [ + 194574, + 194574 + ], + "mapped", + [ + 20813 + ] + ], + [ + [ + 194575, + 194575 + ], + "mapped", + [ + 20820 + ] + ], + [ + [ + 194576, + 194576 + ], + "mapped", + [ + 20836 + ] + ], + [ + [ + 194577, + 194577 + ], + "mapped", + [ + 20855 + ] + ], + [ + [ + 194578, + 194578 + ], + "mapped", + [ + 132380 + ] + ], + [ + [ + 194579, + 194579 + ], + "mapped", + [ + 13497 + ] + ], + [ + [ + 194580, + 194580 + ], + "mapped", + [ + 20839 + ] + ], + [ + [ + 194581, + 194581 + ], + "mapped", + [ + 20877 + ] + ], + [ + [ + 194582, + 194582 + ], + "mapped", + [ + 132427 + ] + ], + [ + [ + 194583, + 194583 + ], + "mapped", + [ + 20887 + ] + ], + [ + [ + 194584, + 194584 + ], + "mapped", + [ + 20900 + ] + ], + [ + [ + 194585, + 194585 + ], + "mapped", + [ + 20172 + ] + ], + [ + [ + 194586, + 194586 + ], + "mapped", + [ + 20908 + ] + ], + [ + [ + 194587, + 194587 + ], + "mapped", + [ + 20917 + ] + ], + [ + [ + 194588, + 194588 + ], + "mapped", + [ + 168415 + ] + ], + [ + [ + 194589, + 194589 + ], + "mapped", + [ + 20981 + ] + ], + [ + [ + 194590, + 194590 + ], + "mapped", + [ + 20995 + ] + ], + [ + [ + 194591, + 194591 + ], + "mapped", + [ + 13535 + ] + ], + [ + [ + 194592, + 194592 + ], + "mapped", + [ + 21051 + ] + ], + [ + [ + 194593, + 194593 + ], + "mapped", + [ + 21062 + ] + ], + [ + [ + 194594, + 194594 + ], + "mapped", + [ + 21106 + ] + ], + [ + [ + 194595, + 194595 + ], + "mapped", + [ + 21111 + ] + ], + [ + [ + 194596, + 194596 + ], + "mapped", + [ + 13589 + ] + ], + [ + [ + 194597, + 194597 + ], + "mapped", + [ + 21191 + ] + ], + [ + [ + 194598, + 194598 + ], + "mapped", + [ + 21193 + ] + ], + [ + [ + 194599, + 194599 + ], + "mapped", + [ + 21220 + ] + ], + [ + [ + 194600, + 194600 + ], + "mapped", + [ + 21242 + ] + ], + [ + [ + 194601, + 194601 + ], + "mapped", + [ + 21253 + ] + ], + [ + [ + 194602, + 194602 + ], + "mapped", + [ + 21254 + ] + ], + [ + [ + 194603, + 194603 + ], + "mapped", + [ + 21271 + ] + ], + [ + [ + 194604, + 194604 + ], + "mapped", + [ + 21321 + ] + ], + [ + [ + 194605, + 194605 + ], + "mapped", + [ + 21329 + ] + ], + [ + [ + 194606, + 194606 + ], + "mapped", + [ + 21338 + ] + ], + [ + [ + 194607, + 194607 + ], + "mapped", + [ + 21363 + ] + ], + [ + [ + 194608, + 194608 + ], + "mapped", + [ + 21373 + ] + ], + [ + [ + 194609, + 194611 + ], + "mapped", + [ + 21375 + ] + ], + [ + [ + 194612, + 194612 + ], + "mapped", + [ + 133676 + ] + ], + [ + [ + 194613, + 194613 + ], + "mapped", + [ + 28784 + ] + ], + [ + [ + 194614, + 194614 + ], + "mapped", + [ + 21450 + ] + ], + [ + [ + 194615, + 194615 + ], + "mapped", + [ + 21471 + ] + ], + [ + [ + 194616, + 194616 + ], + "mapped", + [ + 133987 + ] + ], + [ + [ + 194617, + 194617 + ], + "mapped", + [ + 21483 + ] + ], + [ + [ + 194618, + 194618 + ], + "mapped", + [ + 21489 + ] + ], + [ + [ + 194619, + 194619 + ], + "mapped", + [ + 21510 + ] + ], + [ + [ + 194620, + 194620 + ], + "mapped", + [ + 21662 + ] + ], + [ + [ + 194621, + 194621 + ], + "mapped", + [ + 21560 + ] + ], + [ + [ + 194622, + 194622 + ], + "mapped", + [ + 21576 + ] + ], + [ + [ + 194623, + 194623 + ], + "mapped", + [ + 21608 + ] + ], + [ + [ + 194624, + 194624 + ], + "mapped", + [ + 21666 + ] + ], + [ + [ + 194625, + 194625 + ], + "mapped", + [ + 21750 + ] + ], + [ + [ + 194626, + 194626 + ], + "mapped", + [ + 21776 + ] + ], + [ + [ + 194627, + 194627 + ], + "mapped", + [ + 21843 + ] + ], + [ + [ + 194628, + 194628 + ], + "mapped", + [ + 21859 + ] + ], + [ + [ + 194629, + 194630 + ], + "mapped", + [ + 21892 + ] + ], + [ + [ + 194631, + 194631 + ], + "mapped", + [ + 21913 + ] + ], + [ + [ + 194632, + 194632 + ], + "mapped", + [ + 21931 + ] + ], + [ + [ + 194633, + 194633 + ], + "mapped", + [ + 21939 + ] + ], + [ + [ + 194634, + 194634 + ], + "mapped", + [ + 21954 + ] + ], + [ + [ + 194635, + 194635 + ], + "mapped", + [ + 22294 + ] + ], + [ + [ + 194636, + 194636 + ], + "mapped", + [ + 22022 + ] + ], + [ + [ + 194637, + 194637 + ], + "mapped", + [ + 22295 + ] + ], + [ + [ + 194638, + 194638 + ], + "mapped", + [ + 22097 + ] + ], + [ + [ + 194639, + 194639 + ], + "mapped", + [ + 22132 + ] + ], + [ + [ + 194640, + 194640 + ], + "mapped", + [ + 20999 + ] + ], + [ + [ + 194641, + 194641 + ], + "mapped", + [ + 22766 + ] + ], + [ + [ + 194642, + 194642 + ], + "mapped", + [ + 22478 + ] + ], + [ + [ + 194643, + 194643 + ], + "mapped", + [ + 22516 + ] + ], + [ + [ + 194644, + 194644 + ], + "mapped", + [ + 22541 + ] + ], + [ + [ + 194645, + 194645 + ], + "mapped", + [ + 22411 + ] + ], + [ + [ + 194646, + 194646 + ], + "mapped", + [ + 22578 + ] + ], + [ + [ + 194647, + 194647 + ], + "mapped", + [ + 22577 + ] + ], + [ + [ + 194648, + 194648 + ], + "mapped", + [ + 22700 + ] + ], + [ + [ + 194649, + 194649 + ], + "mapped", + [ + 136420 + ] + ], + [ + [ + 194650, + 194650 + ], + "mapped", + [ + 22770 + ] + ], + [ + [ + 194651, + 194651 + ], + "mapped", + [ + 22775 + ] + ], + [ + [ + 194652, + 194652 + ], + "mapped", + [ + 22790 + ] + ], + [ + [ + 194653, + 194653 + ], + "mapped", + [ + 22810 + ] + ], + [ + [ + 194654, + 194654 + ], + "mapped", + [ + 22818 + ] + ], + [ + [ + 194655, + 194655 + ], + "mapped", + [ + 22882 + ] + ], + [ + [ + 194656, + 194656 + ], + "mapped", + [ + 136872 + ] + ], + [ + [ + 194657, + 194657 + ], + "mapped", + [ + 136938 + ] + ], + [ + [ + 194658, + 194658 + ], + "mapped", + [ + 23020 + ] + ], + [ + [ + 194659, + 194659 + ], + "mapped", + [ + 23067 + ] + ], + [ + [ + 194660, + 194660 + ], + "mapped", + [ + 23079 + ] + ], + [ + [ + 194661, + 194661 + ], + "mapped", + [ + 23000 + ] + ], + [ + [ + 194662, + 194662 + ], + "mapped", + [ + 23142 + ] + ], + [ + [ + 194663, + 194663 + ], + "mapped", + [ + 14062 + ] + ], + [ + [ + 194664, + 194664 + ], + "disallowed" + ], + [ + [ + 194665, + 194665 + ], + "mapped", + [ + 23304 + ] + ], + [ + [ + 194666, + 194667 + ], + "mapped", + [ + 23358 + ] + ], + [ + [ + 194668, + 194668 + ], + "mapped", + [ + 137672 + ] + ], + [ + [ + 194669, + 194669 + ], + "mapped", + [ + 23491 + ] + ], + [ + [ + 194670, + 194670 + ], + "mapped", + [ + 23512 + ] + ], + [ + [ + 194671, + 194671 + ], + "mapped", + [ + 23527 + ] + ], + [ + [ + 194672, + 194672 + ], + "mapped", + [ + 23539 + ] + ], + [ + [ + 194673, + 194673 + ], + "mapped", + [ + 138008 + ] + ], + [ + [ + 194674, + 194674 + ], + "mapped", + [ + 23551 + ] + ], + [ + [ + 194675, + 194675 + ], + "mapped", + [ + 23558 + ] + ], + [ + [ + 194676, + 194676 + ], + "disallowed" + ], + [ + [ + 194677, + 194677 + ], + "mapped", + [ + 23586 + ] + ], + [ + [ + 194678, + 194678 + ], + "mapped", + [ + 14209 + ] + ], + [ + [ + 194679, + 194679 + ], + "mapped", + [ + 23648 + ] + ], + [ + [ + 194680, + 194680 + ], + "mapped", + [ + 23662 + ] + ], + [ + [ + 194681, + 194681 + ], + "mapped", + [ + 23744 + ] + ], + [ + [ + 194682, + 194682 + ], + "mapped", + [ + 23693 + ] + ], + [ + [ + 194683, + 194683 + ], + "mapped", + [ + 138724 + ] + ], + [ + [ + 194684, + 194684 + ], + "mapped", + [ + 23875 + ] + ], + [ + [ + 194685, + 194685 + ], + "mapped", + [ + 138726 + ] + ], + [ + [ + 194686, + 194686 + ], + "mapped", + [ + 23918 + ] + ], + [ + [ + 194687, + 194687 + ], + "mapped", + [ + 23915 + ] + ], + [ + [ + 194688, + 194688 + ], + "mapped", + [ + 23932 + ] + ], + [ + [ + 194689, + 194689 + ], + "mapped", + [ + 24033 + ] + ], + [ + [ + 194690, + 194690 + ], + "mapped", + [ + 24034 + ] + ], + [ + [ + 194691, + 194691 + ], + "mapped", + [ + 14383 + ] + ], + [ + [ + 194692, + 194692 + ], + "mapped", + [ + 24061 + ] + ], + [ + [ + 194693, + 194693 + ], + "mapped", + [ + 24104 + ] + ], + [ + [ + 194694, + 194694 + ], + "mapped", + [ + 24125 + ] + ], + [ + [ + 194695, + 194695 + ], + "mapped", + [ + 24169 + ] + ], + [ + [ + 194696, + 194696 + ], + "mapped", + [ + 14434 + ] + ], + [ + [ + 194697, + 194697 + ], + "mapped", + [ + 139651 + ] + ], + [ + [ + 194698, + 194698 + ], + "mapped", + [ + 14460 + ] + ], + [ + [ + 194699, + 194699 + ], + "mapped", + [ + 24240 + ] + ], + [ + [ + 194700, + 194700 + ], + "mapped", + [ + 24243 + ] + ], + [ + [ + 194701, + 194701 + ], + "mapped", + [ + 24246 + ] + ], + [ + [ + 194702, + 194702 + ], + "mapped", + [ + 24266 + ] + ], + [ + [ + 194703, + 194703 + ], + "mapped", + [ + 172946 + ] + ], + [ + [ + 194704, + 194704 + ], + "mapped", + [ + 24318 + ] + ], + [ + [ + 194705, + 194706 + ], + "mapped", + [ + 140081 + ] + ], + [ + [ + 194707, + 194707 + ], + "mapped", + [ + 33281 + ] + ], + [ + [ + 194708, + 194709 + ], + "mapped", + [ + 24354 + ] + ], + [ + [ + 194710, + 194710 + ], + "mapped", + [ + 14535 + ] + ], + [ + [ + 194711, + 194711 + ], + "mapped", + [ + 144056 + ] + ], + [ + [ + 194712, + 194712 + ], + "mapped", + [ + 156122 + ] + ], + [ + [ + 194713, + 194713 + ], + "mapped", + [ + 24418 + ] + ], + [ + [ + 194714, + 194714 + ], + "mapped", + [ + 24427 + ] + ], + [ + [ + 194715, + 194715 + ], + "mapped", + [ + 14563 + ] + ], + [ + [ + 194716, + 194716 + ], + "mapped", + [ + 24474 + ] + ], + [ + [ + 194717, + 194717 + ], + "mapped", + [ + 24525 + ] + ], + [ + [ + 194718, + 194718 + ], + "mapped", + [ + 24535 + ] + ], + [ + [ + 194719, + 194719 + ], + "mapped", + [ + 24569 + ] + ], + [ + [ + 194720, + 194720 + ], + "mapped", + [ + 24705 + ] + ], + [ + [ + 194721, + 194721 + ], + "mapped", + [ + 14650 + ] + ], + [ + [ + 194722, + 194722 + ], + "mapped", + [ + 14620 + ] + ], + [ + [ + 194723, + 194723 + ], + "mapped", + [ + 24724 + ] + ], + [ + [ + 194724, + 194724 + ], + "mapped", + [ + 141012 + ] + ], + [ + [ + 194725, + 194725 + ], + "mapped", + [ + 24775 + ] + ], + [ + [ + 194726, + 194726 + ], + "mapped", + [ + 24904 + ] + ], + [ + [ + 194727, + 194727 + ], + "mapped", + [ + 24908 + ] + ], + [ + [ + 194728, + 194728 + ], + "mapped", + [ + 24910 + ] + ], + [ + [ + 194729, + 194729 + ], + "mapped", + [ + 24908 + ] + ], + [ + [ + 194730, + 194730 + ], + "mapped", + [ + 24954 + ] + ], + [ + [ + 194731, + 194731 + ], + "mapped", + [ + 24974 + ] + ], + [ + [ + 194732, + 194732 + ], + "mapped", + [ + 25010 + ] + ], + [ + [ + 194733, + 194733 + ], + "mapped", + [ + 24996 + ] + ], + [ + [ + 194734, + 194734 + ], + "mapped", + [ + 25007 + ] + ], + [ + [ + 194735, + 194735 + ], + "mapped", + [ + 25054 + ] + ], + [ + [ + 194736, + 194736 + ], + "mapped", + [ + 25074 + ] + ], + [ + [ + 194737, + 194737 + ], + "mapped", + [ + 25078 + ] + ], + [ + [ + 194738, + 194738 + ], + "mapped", + [ + 25104 + ] + ], + [ + [ + 194739, + 194739 + ], + "mapped", + [ + 25115 + ] + ], + [ + [ + 194740, + 194740 + ], + "mapped", + [ + 25181 + ] + ], + [ + [ + 194741, + 194741 + ], + "mapped", + [ + 25265 + ] + ], + [ + [ + 194742, + 194742 + ], + "mapped", + [ + 25300 + ] + ], + [ + [ + 194743, + 194743 + ], + "mapped", + [ + 25424 + ] + ], + [ + [ + 194744, + 194744 + ], + "mapped", + [ + 142092 + ] + ], + [ + [ + 194745, + 194745 + ], + "mapped", + [ + 25405 + ] + ], + [ + [ + 194746, + 194746 + ], + "mapped", + [ + 25340 + ] + ], + [ + [ + 194747, + 194747 + ], + "mapped", + [ + 25448 + ] + ], + [ + [ + 194748, + 194748 + ], + "mapped", + [ + 25475 + ] + ], + [ + [ + 194749, + 194749 + ], + "mapped", + [ + 25572 + ] + ], + [ + [ + 194750, + 194750 + ], + "mapped", + [ + 142321 + ] + ], + [ + [ + 194751, + 194751 + ], + "mapped", + [ + 25634 + ] + ], + [ + [ + 194752, + 194752 + ], + "mapped", + [ + 25541 + ] + ], + [ + [ + 194753, + 194753 + ], + "mapped", + [ + 25513 + ] + ], + [ + [ + 194754, + 194754 + ], + "mapped", + [ + 14894 + ] + ], + [ + [ + 194755, + 194755 + ], + "mapped", + [ + 25705 + ] + ], + [ + [ + 194756, + 194756 + ], + "mapped", + [ + 25726 + ] + ], + [ + [ + 194757, + 194757 + ], + "mapped", + [ + 25757 + ] + ], + [ + [ + 194758, + 194758 + ], + "mapped", + [ + 25719 + ] + ], + [ + [ + 194759, + 194759 + ], + "mapped", + [ + 14956 + ] + ], + [ + [ + 194760, + 194760 + ], + "mapped", + [ + 25935 + ] + ], + [ + [ + 194761, + 194761 + ], + "mapped", + [ + 25964 + ] + ], + [ + [ + 194762, + 194762 + ], + "mapped", + [ + 143370 + ] + ], + [ + [ + 194763, + 194763 + ], + "mapped", + [ + 26083 + ] + ], + [ + [ + 194764, + 194764 + ], + "mapped", + [ + 26360 + ] + ], + [ + [ + 194765, + 194765 + ], + "mapped", + [ + 26185 + ] + ], + [ + [ + 194766, + 194766 + ], + "mapped", + [ + 15129 + ] + ], + [ + [ + 194767, + 194767 + ], + "mapped", + [ + 26257 + ] + ], + [ + [ + 194768, + 194768 + ], + "mapped", + [ + 15112 + ] + ], + [ + [ + 194769, + 194769 + ], + "mapped", + [ + 15076 + ] + ], + [ + [ + 194770, + 194770 + ], + "mapped", + [ + 20882 + ] + ], + [ + [ + 194771, + 194771 + ], + "mapped", + [ + 20885 + ] + ], + [ + [ + 194772, + 194772 + ], + "mapped", + [ + 26368 + ] + ], + [ + [ + 194773, + 194773 + ], + "mapped", + [ + 26268 + ] + ], + [ + [ + 194774, + 194774 + ], + "mapped", + [ + 32941 + ] + ], + [ + [ + 194775, + 194775 + ], + "mapped", + [ + 17369 + ] + ], + [ + [ + 194776, + 194776 + ], + "mapped", + [ + 26391 + ] + ], + [ + [ + 194777, + 194777 + ], + "mapped", + [ + 26395 + ] + ], + [ + [ + 194778, + 194778 + ], + "mapped", + [ + 26401 + ] + ], + [ + [ + 194779, + 194779 + ], + "mapped", + [ + 26462 + ] + ], + [ + [ + 194780, + 194780 + ], + "mapped", + [ + 26451 + ] + ], + [ + [ + 194781, + 194781 + ], + "mapped", + [ + 144323 + ] + ], + [ + [ + 194782, + 194782 + ], + "mapped", + [ + 15177 + ] + ], + [ + [ + 194783, + 194783 + ], + "mapped", + [ + 26618 + ] + ], + [ + [ + 194784, + 194784 + ], + "mapped", + [ + 26501 + ] + ], + [ + [ + 194785, + 194785 + ], + "mapped", + [ + 26706 + ] + ], + [ + [ + 194786, + 194786 + ], + "mapped", + [ + 26757 + ] + ], + [ + [ + 194787, + 194787 + ], + "mapped", + [ + 144493 + ] + ], + [ + [ + 194788, + 194788 + ], + "mapped", + [ + 26766 + ] + ], + [ + [ + 194789, + 194789 + ], + "mapped", + [ + 26655 + ] + ], + [ + [ + 194790, + 194790 + ], + "mapped", + [ + 26900 + ] + ], + [ + [ + 194791, + 194791 + ], + "mapped", + [ + 15261 + ] + ], + [ + [ + 194792, + 194792 + ], + "mapped", + [ + 26946 + ] + ], + [ + [ + 194793, + 194793 + ], + "mapped", + [ + 27043 + ] + ], + [ + [ + 194794, + 194794 + ], + "mapped", + [ + 27114 + ] + ], + [ + [ + 194795, + 194795 + ], + "mapped", + [ + 27304 + ] + ], + [ + [ + 194796, + 194796 + ], + "mapped", + [ + 145059 + ] + ], + [ + [ + 194797, + 194797 + ], + "mapped", + [ + 27355 + ] + ], + [ + [ + 194798, + 194798 + ], + "mapped", + [ + 15384 + ] + ], + [ + [ + 194799, + 194799 + ], + "mapped", + [ + 27425 + ] + ], + [ + [ + 194800, + 194800 + ], + "mapped", + [ + 145575 + ] + ], + [ + [ + 194801, + 194801 + ], + "mapped", + [ + 27476 + ] + ], + [ + [ + 194802, + 194802 + ], + "mapped", + [ + 15438 + ] + ], + [ + [ + 194803, + 194803 + ], + "mapped", + [ + 27506 + ] + ], + [ + [ + 194804, + 194804 + ], + "mapped", + [ + 27551 + ] + ], + [ + [ + 194805, + 194805 + ], + "mapped", + [ + 27578 + ] + ], + [ + [ + 194806, + 194806 + ], + "mapped", + [ + 27579 + ] + ], + [ + [ + 194807, + 194807 + ], + "mapped", + [ + 146061 + ] + ], + [ + [ + 194808, + 194808 + ], + "mapped", + [ + 138507 + ] + ], + [ + [ + 194809, + 194809 + ], + "mapped", + [ + 146170 + ] + ], + [ + [ + 194810, + 194810 + ], + "mapped", + [ + 27726 + ] + ], + [ + [ + 194811, + 194811 + ], + "mapped", + [ + 146620 + ] + ], + [ + [ + 194812, + 194812 + ], + "mapped", + [ + 27839 + ] + ], + [ + [ + 194813, + 194813 + ], + "mapped", + [ + 27853 + ] + ], + [ + [ + 194814, + 194814 + ], + "mapped", + [ + 27751 + ] + ], + [ + [ + 194815, + 194815 + ], + "mapped", + [ + 27926 + ] + ], + [ + [ + 194816, + 194816 + ], + "mapped", + [ + 27966 + ] + ], + [ + [ + 194817, + 194817 + ], + "mapped", + [ + 28023 + ] + ], + [ + [ + 194818, + 194818 + ], + "mapped", + [ + 27969 + ] + ], + [ + [ + 194819, + 194819 + ], + "mapped", + [ + 28009 + ] + ], + [ + [ + 194820, + 194820 + ], + "mapped", + [ + 28024 + ] + ], + [ + [ + 194821, + 194821 + ], + "mapped", + [ + 28037 + ] + ], + [ + [ + 194822, + 194822 + ], + "mapped", + [ + 146718 + ] + ], + [ + [ + 194823, + 194823 + ], + "mapped", + [ + 27956 + ] + ], + [ + [ + 194824, + 194824 + ], + "mapped", + [ + 28207 + ] + ], + [ + [ + 194825, + 194825 + ], + "mapped", + [ + 28270 + ] + ], + [ + [ + 194826, + 194826 + ], + "mapped", + [ + 15667 + ] + ], + [ + [ + 194827, + 194827 + ], + "mapped", + [ + 28363 + ] + ], + [ + [ + 194828, + 194828 + ], + "mapped", + [ + 28359 + ] + ], + [ + [ + 194829, + 194829 + ], + "mapped", + [ + 147153 + ] + ], + [ + [ + 194830, + 194830 + ], + "mapped", + [ + 28153 + ] + ], + [ + [ + 194831, + 194831 + ], + "mapped", + [ + 28526 + ] + ], + [ + [ + 194832, + 194832 + ], + "mapped", + [ + 147294 + ] + ], + [ + [ + 194833, + 194833 + ], + "mapped", + [ + 147342 + ] + ], + [ + [ + 194834, + 194834 + ], + "mapped", + [ + 28614 + ] + ], + [ + [ + 194835, + 194835 + ], + "mapped", + [ + 28729 + ] + ], + [ + [ + 194836, + 194836 + ], + "mapped", + [ + 28702 + ] + ], + [ + [ + 194837, + 194837 + ], + "mapped", + [ + 28699 + ] + ], + [ + [ + 194838, + 194838 + ], + "mapped", + [ + 15766 + ] + ], + [ + [ + 194839, + 194839 + ], + "mapped", + [ + 28746 + ] + ], + [ + [ + 194840, + 194840 + ], + "mapped", + [ + 28797 + ] + ], + [ + [ + 194841, + 194841 + ], + "mapped", + [ + 28791 + ] + ], + [ + [ + 194842, + 194842 + ], + "mapped", + [ + 28845 + ] + ], + [ + [ + 194843, + 194843 + ], + "mapped", + [ + 132389 + ] + ], + [ + [ + 194844, + 194844 + ], + "mapped", + [ + 28997 + ] + ], + [ + [ + 194845, + 194845 + ], + "mapped", + [ + 148067 + ] + ], + [ + [ + 194846, + 194846 + ], + "mapped", + [ + 29084 + ] + ], + [ + [ + 194847, + 194847 + ], + "disallowed" + ], + [ + [ + 194848, + 194848 + ], + "mapped", + [ + 29224 + ] + ], + [ + [ + 194849, + 194849 + ], + "mapped", + [ + 29237 + ] + ], + [ + [ + 194850, + 194850 + ], + "mapped", + [ + 29264 + ] + ], + [ + [ + 194851, + 194851 + ], + "mapped", + [ + 149000 + ] + ], + [ + [ + 194852, + 194852 + ], + "mapped", + [ + 29312 + ] + ], + [ + [ + 194853, + 194853 + ], + "mapped", + [ + 29333 + ] + ], + [ + [ + 194854, + 194854 + ], + "mapped", + [ + 149301 + ] + ], + [ + [ + 194855, + 194855 + ], + "mapped", + [ + 149524 + ] + ], + [ + [ + 194856, + 194856 + ], + "mapped", + [ + 29562 + ] + ], + [ + [ + 194857, + 194857 + ], + "mapped", + [ + 29579 + ] + ], + [ + [ + 194858, + 194858 + ], + "mapped", + [ + 16044 + ] + ], + [ + [ + 194859, + 194859 + ], + "mapped", + [ + 29605 + ] + ], + [ + [ + 194860, + 194861 + ], + "mapped", + [ + 16056 + ] + ], + [ + [ + 194862, + 194862 + ], + "mapped", + [ + 29767 + ] + ], + [ + [ + 194863, + 194863 + ], + "mapped", + [ + 29788 + ] + ], + [ + [ + 194864, + 194864 + ], + "mapped", + [ + 29809 + ] + ], + [ + [ + 194865, + 194865 + ], + "mapped", + [ + 29829 + ] + ], + [ + [ + 194866, + 194866 + ], + "mapped", + [ + 29898 + ] + ], + [ + [ + 194867, + 194867 + ], + "mapped", + [ + 16155 + ] + ], + [ + [ + 194868, + 194868 + ], + "mapped", + [ + 29988 + ] + ], + [ + [ + 194869, + 194869 + ], + "mapped", + [ + 150582 + ] + ], + [ + [ + 194870, + 194870 + ], + "mapped", + [ + 30014 + ] + ], + [ + [ + 194871, + 194871 + ], + "mapped", + [ + 150674 + ] + ], + [ + [ + 194872, + 194872 + ], + "mapped", + [ + 30064 + ] + ], + [ + [ + 194873, + 194873 + ], + "mapped", + [ + 139679 + ] + ], + [ + [ + 194874, + 194874 + ], + "mapped", + [ + 30224 + ] + ], + [ + [ + 194875, + 194875 + ], + "mapped", + [ + 151457 + ] + ], + [ + [ + 194876, + 194876 + ], + "mapped", + [ + 151480 + ] + ], + [ + [ + 194877, + 194877 + ], + "mapped", + [ + 151620 + ] + ], + [ + [ + 194878, + 194878 + ], + "mapped", + [ + 16380 + ] + ], + [ + [ + 194879, + 194879 + ], + "mapped", + [ + 16392 + ] + ], + [ + [ + 194880, + 194880 + ], + "mapped", + [ + 30452 + ] + ], + [ + [ + 194881, + 194881 + ], + "mapped", + [ + 151795 + ] + ], + [ + [ + 194882, + 194882 + ], + "mapped", + [ + 151794 + ] + ], + [ + [ + 194883, + 194883 + ], + "mapped", + [ + 151833 + ] + ], + [ + [ + 194884, + 194884 + ], + "mapped", + [ + 151859 + ] + ], + [ + [ + 194885, + 194885 + ], + "mapped", + [ + 30494 + ] + ], + [ + [ + 194886, + 194887 + ], + "mapped", + [ + 30495 + ] + ], + [ + [ + 194888, + 194888 + ], + "mapped", + [ + 30538 + ] + ], + [ + [ + 194889, + 194889 + ], + "mapped", + [ + 16441 + ] + ], + [ + [ + 194890, + 194890 + ], + "mapped", + [ + 30603 + ] + ], + [ + [ + 194891, + 194891 + ], + "mapped", + [ + 16454 + ] + ], + [ + [ + 194892, + 194892 + ], + "mapped", + [ + 16534 + ] + ], + [ + [ + 194893, + 194893 + ], + "mapped", + [ + 152605 + ] + ], + [ + [ + 194894, + 194894 + ], + "mapped", + [ + 30798 + ] + ], + [ + [ + 194895, + 194895 + ], + "mapped", + [ + 30860 + ] + ], + [ + [ + 194896, + 194896 + ], + "mapped", + [ + 30924 + ] + ], + [ + [ + 194897, + 194897 + ], + "mapped", + [ + 16611 + ] + ], + [ + [ + 194898, + 194898 + ], + "mapped", + [ + 153126 + ] + ], + [ + [ + 194899, + 194899 + ], + "mapped", + [ + 31062 + ] + ], + [ + [ + 194900, + 194900 + ], + "mapped", + [ + 153242 + ] + ], + [ + [ + 194901, + 194901 + ], + "mapped", + [ + 153285 + ] + ], + [ + [ + 194902, + 194902 + ], + "mapped", + [ + 31119 + ] + ], + [ + [ + 194903, + 194903 + ], + "mapped", + [ + 31211 + ] + ], + [ + [ + 194904, + 194904 + ], + "mapped", + [ + 16687 + ] + ], + [ + [ + 194905, + 194905 + ], + "mapped", + [ + 31296 + ] + ], + [ + [ + 194906, + 194906 + ], + "mapped", + [ + 31306 + ] + ], + [ + [ + 194907, + 194907 + ], + "mapped", + [ + 31311 + ] + ], + [ + [ + 194908, + 194908 + ], + "mapped", + [ + 153980 + ] + ], + [ + [ + 194909, + 194910 + ], + "mapped", + [ + 154279 + ] + ], + [ + [ + 194911, + 194911 + ], + "disallowed" + ], + [ + [ + 194912, + 194912 + ], + "mapped", + [ + 16898 + ] + ], + [ + [ + 194913, + 194913 + ], + "mapped", + [ + 154539 + ] + ], + [ + [ + 194914, + 194914 + ], + "mapped", + [ + 31686 + ] + ], + [ + [ + 194915, + 194915 + ], + "mapped", + [ + 31689 + ] + ], + [ + [ + 194916, + 194916 + ], + "mapped", + [ + 16935 + ] + ], + [ + [ + 194917, + 194917 + ], + "mapped", + [ + 154752 + ] + ], + [ + [ + 194918, + 194918 + ], + "mapped", + [ + 31954 + ] + ], + [ + [ + 194919, + 194919 + ], + "mapped", + [ + 17056 + ] + ], + [ + [ + 194920, + 194920 + ], + "mapped", + [ + 31976 + ] + ], + [ + [ + 194921, + 194921 + ], + "mapped", + [ + 31971 + ] + ], + [ + [ + 194922, + 194922 + ], + "mapped", + [ + 32000 + ] + ], + [ + [ + 194923, + 194923 + ], + "mapped", + [ + 155526 + ] + ], + [ + [ + 194924, + 194924 + ], + "mapped", + [ + 32099 + ] + ], + [ + [ + 194925, + 194925 + ], + "mapped", + [ + 17153 + ] + ], + [ + [ + 194926, + 194926 + ], + "mapped", + [ + 32199 + ] + ], + [ + [ + 194927, + 194927 + ], + "mapped", + [ + 32258 + ] + ], + [ + [ + 194928, + 194928 + ], + "mapped", + [ + 32325 + ] + ], + [ + [ + 194929, + 194929 + ], + "mapped", + [ + 17204 + ] + ], + [ + [ + 194930, + 194930 + ], + "mapped", + [ + 156200 + ] + ], + [ + [ + 194931, + 194931 + ], + "mapped", + [ + 156231 + ] + ], + [ + [ + 194932, + 194932 + ], + "mapped", + [ + 17241 + ] + ], + [ + [ + 194933, + 194933 + ], + "mapped", + [ + 156377 + ] + ], + [ + [ + 194934, + 194934 + ], + "mapped", + [ + 32634 + ] + ], + [ + [ + 194935, + 194935 + ], + "mapped", + [ + 156478 + ] + ], + [ + [ + 194936, + 194936 + ], + "mapped", + [ + 32661 + ] + ], + [ + [ + 194937, + 194937 + ], + "mapped", + [ + 32762 + ] + ], + [ + [ + 194938, + 194938 + ], + "mapped", + [ + 32773 + ] + ], + [ + [ + 194939, + 194939 + ], + "mapped", + [ + 156890 + ] + ], + [ + [ + 194940, + 194940 + ], + "mapped", + [ + 156963 + ] + ], + [ + [ + 194941, + 194941 + ], + "mapped", + [ + 32864 + ] + ], + [ + [ + 194942, + 194942 + ], + "mapped", + [ + 157096 + ] + ], + [ + [ + 194943, + 194943 + ], + "mapped", + [ + 32880 + ] + ], + [ + [ + 194944, + 194944 + ], + "mapped", + [ + 144223 + ] + ], + [ + [ + 194945, + 194945 + ], + "mapped", + [ + 17365 + ] + ], + [ + [ + 194946, + 194946 + ], + "mapped", + [ + 32946 + ] + ], + [ + [ + 194947, + 194947 + ], + "mapped", + [ + 33027 + ] + ], + [ + [ + 194948, + 194948 + ], + "mapped", + [ + 17419 + ] + ], + [ + [ + 194949, + 194949 + ], + "mapped", + [ + 33086 + ] + ], + [ + [ + 194950, + 194950 + ], + "mapped", + [ + 23221 + ] + ], + [ + [ + 194951, + 194951 + ], + "mapped", + [ + 157607 + ] + ], + [ + [ + 194952, + 194952 + ], + "mapped", + [ + 157621 + ] + ], + [ + [ + 194953, + 194953 + ], + "mapped", + [ + 144275 + ] + ], + [ + [ + 194954, + 194954 + ], + "mapped", + [ + 144284 + ] + ], + [ + [ + 194955, + 194955 + ], + "mapped", + [ + 33281 + ] + ], + [ + [ + 194956, + 194956 + ], + "mapped", + [ + 33284 + ] + ], + [ + [ + 194957, + 194957 + ], + "mapped", + [ + 36766 + ] + ], + [ + [ + 194958, + 194958 + ], + "mapped", + [ + 17515 + ] + ], + [ + [ + 194959, + 194959 + ], + "mapped", + [ + 33425 + ] + ], + [ + [ + 194960, + 194960 + ], + "mapped", + [ + 33419 + ] + ], + [ + [ + 194961, + 194961 + ], + "mapped", + [ + 33437 + ] + ], + [ + [ + 194962, + 194962 + ], + "mapped", + [ + 21171 + ] + ], + [ + [ + 194963, + 194963 + ], + "mapped", + [ + 33457 + ] + ], + [ + [ + 194964, + 194964 + ], + "mapped", + [ + 33459 + ] + ], + [ + [ + 194965, + 194965 + ], + "mapped", + [ + 33469 + ] + ], + [ + [ + 194966, + 194966 + ], + "mapped", + [ + 33510 + ] + ], + [ + [ + 194967, + 194967 + ], + "mapped", + [ + 158524 + ] + ], + [ + [ + 194968, + 194968 + ], + "mapped", + [ + 33509 + ] + ], + [ + [ + 194969, + 194969 + ], + "mapped", + [ + 33565 + ] + ], + [ + [ + 194970, + 194970 + ], + "mapped", + [ + 33635 + ] + ], + [ + [ + 194971, + 194971 + ], + "mapped", + [ + 33709 + ] + ], + [ + [ + 194972, + 194972 + ], + "mapped", + [ + 33571 + ] + ], + [ + [ + 194973, + 194973 + ], + "mapped", + [ + 33725 + ] + ], + [ + [ + 194974, + 194974 + ], + "mapped", + [ + 33767 + ] + ], + [ + [ + 194975, + 194975 + ], + "mapped", + [ + 33879 + ] + ], + [ + [ + 194976, + 194976 + ], + "mapped", + [ + 33619 + ] + ], + [ + [ + 194977, + 194977 + ], + "mapped", + [ + 33738 + ] + ], + [ + [ + 194978, + 194978 + ], + "mapped", + [ + 33740 + ] + ], + [ + [ + 194979, + 194979 + ], + "mapped", + [ + 33756 + ] + ], + [ + [ + 194980, + 194980 + ], + "mapped", + [ + 158774 + ] + ], + [ + [ + 194981, + 194981 + ], + "mapped", + [ + 159083 + ] + ], + [ + [ + 194982, + 194982 + ], + "mapped", + [ + 158933 + ] + ], + [ + [ + 194983, + 194983 + ], + "mapped", + [ + 17707 + ] + ], + [ + [ + 194984, + 194984 + ], + "mapped", + [ + 34033 + ] + ], + [ + [ + 194985, + 194985 + ], + "mapped", + [ + 34035 + ] + ], + [ + [ + 194986, + 194986 + ], + "mapped", + [ + 34070 + ] + ], + [ + [ + 194987, + 194987 + ], + "mapped", + [ + 160714 + ] + ], + [ + [ + 194988, + 194988 + ], + "mapped", + [ + 34148 + ] + ], + [ + [ + 194989, + 194989 + ], + "mapped", + [ + 159532 + ] + ], + [ + [ + 194990, + 194990 + ], + "mapped", + [ + 17757 + ] + ], + [ + [ + 194991, + 194991 + ], + "mapped", + [ + 17761 + ] + ], + [ + [ + 194992, + 194992 + ], + "mapped", + [ + 159665 + ] + ], + [ + [ + 194993, + 194993 + ], + "mapped", + [ + 159954 + ] + ], + [ + [ + 194994, + 194994 + ], + "mapped", + [ + 17771 + ] + ], + [ + [ + 194995, + 194995 + ], + "mapped", + [ + 34384 + ] + ], + [ + [ + 194996, + 194996 + ], + "mapped", + [ + 34396 + ] + ], + [ + [ + 194997, + 194997 + ], + "mapped", + [ + 34407 + ] + ], + [ + [ + 194998, + 194998 + ], + "mapped", + [ + 34409 + ] + ], + [ + [ + 194999, + 194999 + ], + "mapped", + [ + 34473 + ] + ], + [ + [ + 195000, + 195000 + ], + "mapped", + [ + 34440 + ] + ], + [ + [ + 195001, + 195001 + ], + "mapped", + [ + 34574 + ] + ], + [ + [ + 195002, + 195002 + ], + "mapped", + [ + 34530 + ] + ], + [ + [ + 195003, + 195003 + ], + "mapped", + [ + 34681 + ] + ], + [ + [ + 195004, + 195004 + ], + "mapped", + [ + 34600 + ] + ], + [ + [ + 195005, + 195005 + ], + "mapped", + [ + 34667 + ] + ], + [ + [ + 195006, + 195006 + ], + "mapped", + [ + 34694 + ] + ], + [ + [ + 195007, + 195007 + ], + "disallowed" + ], + [ + [ + 195008, + 195008 + ], + "mapped", + [ + 34785 + ] + ], + [ + [ + 195009, + 195009 + ], + "mapped", + [ + 34817 + ] + ], + [ + [ + 195010, + 195010 + ], + "mapped", + [ + 17913 + ] + ], + [ + [ + 195011, + 195011 + ], + "mapped", + [ + 34912 + ] + ], + [ + [ + 195012, + 195012 + ], + "mapped", + [ + 34915 + ] + ], + [ + [ + 195013, + 195013 + ], + "mapped", + [ + 161383 + ] + ], + [ + [ + 195014, + 195014 + ], + "mapped", + [ + 35031 + ] + ], + [ + [ + 195015, + 195015 + ], + "mapped", + [ + 35038 + ] + ], + [ + [ + 195016, + 195016 + ], + "mapped", + [ + 17973 + ] + ], + [ + [ + 195017, + 195017 + ], + "mapped", + [ + 35066 + ] + ], + [ + [ + 195018, + 195018 + ], + "mapped", + [ + 13499 + ] + ], + [ + [ + 195019, + 195019 + ], + "mapped", + [ + 161966 + ] + ], + [ + [ + 195020, + 195020 + ], + "mapped", + [ + 162150 + ] + ], + [ + [ + 195021, + 195021 + ], + "mapped", + [ + 18110 + ] + ], + [ + [ + 195022, + 195022 + ], + "mapped", + [ + 18119 + ] + ], + [ + [ + 195023, + 195023 + ], + "mapped", + [ + 35488 + ] + ], + [ + [ + 195024, + 195024 + ], + "mapped", + [ + 35565 + ] + ], + [ + [ + 195025, + 195025 + ], + "mapped", + [ + 35722 + ] + ], + [ + [ + 195026, + 195026 + ], + "mapped", + [ + 35925 + ] + ], + [ + [ + 195027, + 195027 + ], + "mapped", + [ + 162984 + ] + ], + [ + [ + 195028, + 195028 + ], + "mapped", + [ + 36011 + ] + ], + [ + [ + 195029, + 195029 + ], + "mapped", + [ + 36033 + ] + ], + [ + [ + 195030, + 195030 + ], + "mapped", + [ + 36123 + ] + ], + [ + [ + 195031, + 195031 + ], + "mapped", + [ + 36215 + ] + ], + [ + [ + 195032, + 195032 + ], + "mapped", + [ + 163631 + ] + ], + [ + [ + 195033, + 195033 + ], + "mapped", + [ + 133124 + ] + ], + [ + [ + 195034, + 195034 + ], + "mapped", + [ + 36299 + ] + ], + [ + [ + 195035, + 195035 + ], + "mapped", + [ + 36284 + ] + ], + [ + [ + 195036, + 195036 + ], + "mapped", + [ + 36336 + ] + ], + [ + [ + 195037, + 195037 + ], + "mapped", + [ + 133342 + ] + ], + [ + [ + 195038, + 195038 + ], + "mapped", + [ + 36564 + ] + ], + [ + [ + 195039, + 195039 + ], + "mapped", + [ + 36664 + ] + ], + [ + [ + 195040, + 195040 + ], + "mapped", + [ + 165330 + ] + ], + [ + [ + 195041, + 195041 + ], + "mapped", + [ + 165357 + ] + ], + [ + [ + 195042, + 195042 + ], + "mapped", + [ + 37012 + ] + ], + [ + [ + 195043, + 195043 + ], + "mapped", + [ + 37105 + ] + ], + [ + [ + 195044, + 195044 + ], + "mapped", + [ + 37137 + ] + ], + [ + [ + 195045, + 195045 + ], + "mapped", + [ + 165678 + ] + ], + [ + [ + 195046, + 195046 + ], + "mapped", + [ + 37147 + ] + ], + [ + [ + 195047, + 195047 + ], + "mapped", + [ + 37432 + ] + ], + [ + [ + 195048, + 195048 + ], + "mapped", + [ + 37591 + ] + ], + [ + [ + 195049, + 195049 + ], + "mapped", + [ + 37592 + ] + ], + [ + [ + 195050, + 195050 + ], + "mapped", + [ + 37500 + ] + ], + [ + [ + 195051, + 195051 + ], + "mapped", + [ + 37881 + ] + ], + [ + [ + 195052, + 195052 + ], + "mapped", + [ + 37909 + ] + ], + [ + [ + 195053, + 195053 + ], + "mapped", + [ + 166906 + ] + ], + [ + [ + 195054, + 195054 + ], + "mapped", + [ + 38283 + ] + ], + [ + [ + 195055, + 195055 + ], + "mapped", + [ + 18837 + ] + ], + [ + [ + 195056, + 195056 + ], + "mapped", + [ + 38327 + ] + ], + [ + [ + 195057, + 195057 + ], + "mapped", + [ + 167287 + ] + ], + [ + [ + 195058, + 195058 + ], + "mapped", + [ + 18918 + ] + ], + [ + [ + 195059, + 195059 + ], + "mapped", + [ + 38595 + ] + ], + [ + [ + 195060, + 195060 + ], + "mapped", + [ + 23986 + ] + ], + [ + [ + 195061, + 195061 + ], + "mapped", + [ + 38691 + ] + ], + [ + [ + 195062, + 195062 + ], + "mapped", + [ + 168261 + ] + ], + [ + [ + 195063, + 195063 + ], + "mapped", + [ + 168474 + ] + ], + [ + [ + 195064, + 195064 + ], + "mapped", + [ + 19054 + ] + ], + [ + [ + 195065, + 195065 + ], + "mapped", + [ + 19062 + ] + ], + [ + [ + 195066, + 195066 + ], + "mapped", + [ + 38880 + ] + ], + [ + [ + 195067, + 195067 + ], + "mapped", + [ + 168970 + ] + ], + [ + [ + 195068, + 195068 + ], + "mapped", + [ + 19122 + ] + ], + [ + [ + 195069, + 195069 + ], + "mapped", + [ + 169110 + ] + ], + [ + [ + 195070, + 195071 + ], + "mapped", + [ + 38923 + ] + ], + [ + [ + 195072, + 195072 + ], + "mapped", + [ + 38953 + ] + ], + [ + [ + 195073, + 195073 + ], + "mapped", + [ + 169398 + ] + ], + [ + [ + 195074, + 195074 + ], + "mapped", + [ + 39138 + ] + ], + [ + [ + 195075, + 195075 + ], + "mapped", + [ + 19251 + ] + ], + [ + [ + 195076, + 195076 + ], + "mapped", + [ + 39209 + ] + ], + [ + [ + 195077, + 195077 + ], + "mapped", + [ + 39335 + ] + ], + [ + [ + 195078, + 195078 + ], + "mapped", + [ + 39362 + ] + ], + [ + [ + 195079, + 195079 + ], + "mapped", + [ + 39422 + ] + ], + [ + [ + 195080, + 195080 + ], + "mapped", + [ + 19406 + ] + ], + [ + [ + 195081, + 195081 + ], + "mapped", + [ + 170800 + ] + ], + [ + [ + 195082, + 195082 + ], + "mapped", + [ + 39698 + ] + ], + [ + [ + 195083, + 195083 + ], + "mapped", + [ + 40000 + ] + ], + [ + [ + 195084, + 195084 + ], + "mapped", + [ + 40189 + ] + ], + [ + [ + 195085, + 195085 + ], + "mapped", + [ + 19662 + ] + ], + [ + [ + 195086, + 195086 + ], + "mapped", + [ + 19693 + ] + ], + [ + [ + 195087, + 195087 + ], + "mapped", + [ + 40295 + ] + ], + [ + [ + 195088, + 195088 + ], + "mapped", + [ + 172238 + ] + ], + [ + [ + 195089, + 195089 + ], + "mapped", + [ + 19704 + ] + ], + [ + [ + 195090, + 195090 + ], + "mapped", + [ + 172293 + ] + ], + [ + [ + 195091, + 195091 + ], + "mapped", + [ + 172558 + ] + ], + [ + [ + 195092, + 195092 + ], + "mapped", + [ + 172689 + ] + ], + [ + [ + 195093, + 195093 + ], + "mapped", + [ + 40635 + ] + ], + [ + [ + 195094, + 195094 + ], + "mapped", + [ + 19798 + ] + ], + [ + [ + 195095, + 195095 + ], + "mapped", + [ + 40697 + ] + ], + [ + [ + 195096, + 195096 + ], + "mapped", + [ + 40702 + ] + ], + [ + [ + 195097, + 195097 + ], + "mapped", + [ + 40709 + ] + ], + [ + [ + 195098, + 195098 + ], + "mapped", + [ + 40719 + ] + ], + [ + [ + 195099, + 195099 + ], + "mapped", + [ + 40726 + ] + ], + [ + [ + 195100, + 195100 + ], + "mapped", + [ + 40763 + ] + ], + [ + [ + 195101, + 195101 + ], + "mapped", + [ + 173568 + ] + ], + [ + [ + 195102, + 196605 + ], + "disallowed" + ], + [ + [ + 196606, + 196607 + ], + "disallowed" + ], + [ + [ + 196608, + 262141 + ], + "disallowed" + ], + [ + [ + 262142, + 262143 + ], + "disallowed" + ], + [ + [ + 262144, + 327677 + ], + "disallowed" + ], + [ + [ + 327678, + 327679 + ], + "disallowed" + ], + [ + [ + 327680, + 393213 + ], + "disallowed" + ], + [ + [ + 393214, + 393215 + ], + "disallowed" + ], + [ + [ + 393216, + 458749 + ], + "disallowed" + ], + [ + [ + 458750, + 458751 + ], + "disallowed" + ], + [ + [ + 458752, + 524285 + ], + "disallowed" + ], + [ + [ + 524286, + 524287 + ], + "disallowed" + ], + [ + [ + 524288, + 589821 + ], + "disallowed" + ], + [ + [ + 589822, + 589823 + ], + "disallowed" + ], + [ + [ + 589824, + 655357 + ], + "disallowed" + ], + [ + [ + 655358, + 655359 + ], + "disallowed" + ], + [ + [ + 655360, + 720893 + ], + "disallowed" + ], + [ + [ + 720894, + 720895 + ], + "disallowed" + ], + [ + [ + 720896, + 786429 + ], + "disallowed" + ], + [ + [ + 786430, + 786431 + ], + "disallowed" + ], + [ + [ + 786432, + 851965 + ], + "disallowed" + ], + [ + [ + 851966, + 851967 + ], + "disallowed" + ], + [ + [ + 851968, + 917501 + ], + "disallowed" + ], + [ + [ + 917502, + 917503 + ], + "disallowed" + ], + [ + [ + 917504, + 917504 + ], + "disallowed" + ], + [ + [ + 917505, + 917505 + ], + "disallowed" + ], + [ + [ + 917506, + 917535 + ], + "disallowed" + ], + [ + [ + 917536, + 917631 + ], + "disallowed" + ], + [ + [ + 917632, + 917759 + ], + "disallowed" + ], + [ + [ + 917760, + 917999 + ], + "ignored" + ], + [ + [ + 918000, + 983037 + ], + "disallowed" + ], + [ + [ + 983038, + 983039 + ], + "disallowed" + ], + [ + [ + 983040, + 1048573 + ], + "disallowed" + ], + [ + [ + 1048574, + 1048575 + ], + "disallowed" + ], + [ + [ + 1048576, + 1114109 + ], + "disallowed" + ], + [ + [ + 1114110, + 1114111 + ], + "disallowed" + ] +]; - /** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function stackGet(key) { - return this.__data__.get(key); - } +var punycode = require$$0__default$1["default"]; +var mappingTable = require$$1$1; - /** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function stackHas(key) { - return this.__data__.has(key); - } +var PROCESSING_OPTIONS = { + TRANSITIONAL: 0, + NONTRANSITIONAL: 1 +}; - /** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ - function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; - } +function normalize(str) { // fix bug in v8 + return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); +} - // Add methods to `Stack`. - Stack.prototype.clear = stackClear; - Stack.prototype['delete'] = stackDelete; - Stack.prototype.get = stackGet; - Stack.prototype.has = stackHas; - Stack.prototype.set = stackSet; +function findStatus(val) { + var start = 0; + var end = mappingTable.length - 1; - /** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ - function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; - } + while (start <= end) { + var mid = Math.floor((start + end) / 2); - /** - * This function is like `assignValue` except that it doesn't assign - * `undefined` values. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignMergeValue(object, key, value) { - if ((value !== undefined && !eq(object[key], value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } + var target = mappingTable[mid]; + if (target[0][0] <= val && target[0][1] >= val) { + return target; + } else if (target[0][0] > val) { + end = mid - 1; + } else { + start = mid + 1; + } + } - /** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } + return null; +} - /** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; - } +var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; - /** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } - } +function countSymbols(string) { + return string + // replace every surrogate pair with a BMP symbol + .replace(regexAstralSymbols, '_') + // then get the length + .length; +} - /** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseFor = createBaseFor(); +function mapChars(domain_name, useSTD3, processing_option) { + var hasError = false; + var processed = ""; - /** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); - } + var len = countSymbols(domain_name); + for (var i = 0; i < len; ++i) { + var codePoint = domain_name.codePointAt(i); + var status = findStatus(codePoint); - /** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ - function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; - } + switch (status[1]) { + case "disallowed": + hasError = true; + processed += String.fromCodePoint(codePoint); + break; + case "ignored": + break; + case "mapped": + processed += String.fromCodePoint.apply(String, status[2]); + break; + case "deviation": + if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { + processed += String.fromCodePoint.apply(String, status[2]); + } else { + processed += String.fromCodePoint(codePoint); + } + break; + case "valid": + processed += String.fromCodePoint(codePoint); + break; + case "disallowed_STD3_mapped": + if (useSTD3) { + hasError = true; + processed += String.fromCodePoint(codePoint); + } else { + processed += String.fromCodePoint.apply(String, status[2]); + } + break; + case "disallowed_STD3_valid": + if (useSTD3) { + hasError = true; + } - /** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ - function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); - } + processed += String.fromCodePoint(codePoint); + break; + } + } - /** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ - function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; - } + return { + string: processed, + error: hasError + }; +} - /** - * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeysIn(object) { - if (!isObject(object)) { - return nativeKeysIn(object); - } - var isProto = isPrototype(object), - result = []; +var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; - for (var key in object) { - if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; - } +function validateLabel(label, processing_option) { + if (label.substr(0, 4) === "xn--") { + label = punycode.toUnicode(label); + PROCESSING_OPTIONS.NONTRANSITIONAL; + } - /** - * The base implementation of `_.merge` without support for multiple sources. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {number} srcIndex The index of `source`. - * @param {Function} [customizer] The function to customize merged values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMerge(object, source, srcIndex, customizer, stack) { - if (object === source) { - return; - } - baseFor(source, function(srcValue, key) { - stack || (stack = new Stack); - if (isObject(srcValue)) { - baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } - else { - var newValue = customizer - ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack) - : undefined; + var error = false; - if (newValue === undefined) { - newValue = srcValue; - } - assignMergeValue(object, key, newValue); - } - }, keysIn); - } + if (normalize(label) !== label || + (label[3] === "-" && label[4] === "-") || + label[0] === "-" || label[label.length - 1] === "-" || + label.indexOf(".") !== -1 || + label.search(combiningMarksRegex) === 0) { + error = true; + } - /** - * A specialized version of `baseMerge` for arrays and objects which performs - * deep merges and tracks traversed objects enabling objects with circular - * references to be merged. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {string} key The key of the value to merge. - * @param {number} srcIndex The index of `source`. - * @param {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize assigned values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = safeGet(object, key), - srcValue = safeGet(source, key), - stacked = stack.get(srcValue); - - if (stacked) { - assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; + var len = countSymbols(label); + for (var i = 0; i < len; ++i) { + var status = findStatus(label.codePointAt(i)); + if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || + (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && + status[1] !== "valid" && status[1] !== "deviation")) { + error = true; + break; + } + } - var isCommon = newValue === undefined; + return { + label: label, + error: error + }; +} - if (isCommon) { - var isArr = isArray(srcValue), - isBuff = !isArr && isBuffer(srcValue), - isTyped = !isArr && !isBuff && isTypedArray(srcValue); +function processing(domain_name, useSTD3, processing_option) { + var result = mapChars(domain_name, useSTD3, processing_option); + result.string = normalize(result.string); - newValue = srcValue; - if (isArr || isBuff || isTyped) { - if (isArray(objValue)) { - newValue = objValue; - } - else if (isArrayLikeObject(objValue)) { - newValue = copyArray(objValue); - } - else if (isBuff) { - isCommon = false; - newValue = cloneBuffer(srcValue, true); - } - else if (isTyped) { - isCommon = false; - newValue = cloneTypedArray(srcValue, true); - } - else { - newValue = []; - } - } - else if (isPlainObject(srcValue) || isArguments(srcValue)) { - newValue = objValue; - if (isArguments(objValue)) { - newValue = toPlainObject(objValue); - } - else if (!isObject(objValue) || isFunction(objValue)) { - newValue = initCloneObject(srcValue); - } - } - else { - isCommon = false; - } - } - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, newValue); - mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack['delete'](srcValue); - } - assignMergeValue(object, key, newValue); - } + var labels = result.string.split("."); + for (var i = 0; i < labels.length; ++i) { + try { + var validation = validateLabel(labels[i]); + labels[i] = validation.label; + result.error = result.error || validation.error; + } catch(e) { + result.error = true; + } + } - /** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ - function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); - } + return { + string: labels.join("."), + error: result.error + }; +} - /** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); - }; +tr46.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { + var result = processing(domain_name, useSTD3, processing_option); + var labels = result.string.split("."); + labels = labels.map(function(l) { + try { + return punycode.toASCII(l); + } catch(e) { + result.error = true; + return l; + } + }); - /** - * Creates a clone of `buffer`. - * - * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. - */ - function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); + if (verifyDnsLength) { + var total = labels.slice(0, labels.length - 1).join(".").length; + if (total.length > 253 || total.length === 0) { + result.error = true; + } - buffer.copy(result); - return result; - } + for (var i=0; i < labels.length; ++i) { + if (labels.length > 63 || labels.length === 0) { + result.error = true; + break; + } + } + } - /** - * Creates a clone of `arrayBuffer`. - * - * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ - function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; - } + if (result.error) return null; + return labels.join("."); +}; - /** - * Creates a clone of `typedArray`. - * - * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. - */ - function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); - } +tr46.toUnicode = function(domain_name, useSTD3) { + var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); - /** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ - function copyArray(source, array) { - var index = -1, - length = source.length; + return { + domain: result.string, + error: result.error + }; +}; - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; - } +tr46.PROCESSING_OPTIONS = PROCESSING_OPTIONS; - /** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ - function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); +(function (module) { + const punycode = require$$0__default$1["default"]; + const tr46$1 = tr46; + + const specialSchemes = { + ftp: 21, + file: null, + gopher: 70, + http: 80, + https: 443, + ws: 80, + wss: 443 + }; + + const failure = Symbol("failure"); + + function countSymbols(str) { + return punycode.ucs2.decode(str).length; + } + + function at(input, idx) { + const c = input[idx]; + return isNaN(c) ? undefined : String.fromCodePoint(c); + } + + function isASCIIDigit(c) { + return c >= 0x30 && c <= 0x39; + } + + function isASCIIAlpha(c) { + return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); + } + + function isASCIIAlphanumeric(c) { + return isASCIIAlpha(c) || isASCIIDigit(c); + } + + function isASCIIHex(c) { + return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); + } + + function isSingleDot(buffer) { + return buffer === "." || buffer.toLowerCase() === "%2e"; + } + + function isDoubleDot(buffer) { + buffer = buffer.toLowerCase(); + return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; + } + + function isWindowsDriveLetterCodePoints(cp1, cp2) { + return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); + } + + function isWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); + } + + function isNormalizedWindowsDriveLetterString(string) { + return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; + } + + function containsForbiddenHostCodePoint(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; + } + + function containsForbiddenHostCodePointExcludingPercent(string) { + return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; + } + + function isSpecialScheme(scheme) { + return specialSchemes[scheme] !== undefined; + } + + function isSpecial(url) { + return isSpecialScheme(url.scheme); + } + + function defaultPort(scheme) { + return specialSchemes[scheme]; + } + + function percentEncode(c) { + let hex = c.toString(16).toUpperCase(); + if (hex.length === 1) { + hex = "0" + hex; + } + + return "%" + hex; + } + + function utf8PercentEncode(c) { + const buf = new Buffer(c); + + let str = ""; + + for (let i = 0; i < buf.length; ++i) { + str += percentEncode(buf[i]); + } + + return str; + } + + function utf8PercentDecode(str) { + const input = new Buffer(str); + const output = []; + for (let i = 0; i < input.length; ++i) { + if (input[i] !== 37) { + output.push(input[i]); + } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { + output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); + i += 2; + } else { + output.push(input[i]); + } + } + return new Buffer(output).toString(); + } + + function isC0ControlPercentEncode(c) { + return c <= 0x1F || c > 0x7E; + } + + const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); + function isPathPercentEncode(c) { + return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); + } + + const extraUserinfoPercentEncodeSet = + new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); + function isUserinfoPercentEncode(c) { + return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); + } + + function percentEncodeChar(c, encodeSetPredicate) { + const cStr = String.fromCodePoint(c); + + if (encodeSetPredicate(c)) { + return utf8PercentEncode(cStr); + } + + return cStr; + } + + function parseIPv4Number(input) { + let R = 10; + + if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { + input = input.substring(2); + R = 16; + } else if (input.length >= 2 && input.charAt(0) === "0") { + input = input.substring(1); + R = 8; + } + + if (input === "") { + return 0; + } + + const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); + if (regex.test(input)) { + return failure; + } + + return parseInt(input, R); + } + + function parseIPv4(input) { + const parts = input.split("."); + if (parts[parts.length - 1] === "") { + if (parts.length > 1) { + parts.pop(); + } + } + + if (parts.length > 4) { + return input; + } + + const numbers = []; + for (const part of parts) { + if (part === "") { + return input; + } + const n = parseIPv4Number(part); + if (n === failure) { + return input; + } + + numbers.push(n); + } + + for (let i = 0; i < numbers.length - 1; ++i) { + if (numbers[i] > 255) { + return failure; + } + } + if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { + return failure; + } + + let ipv4 = numbers.pop(); + let counter = 0; + + for (const n of numbers) { + ipv4 += n * Math.pow(256, 3 - counter); + ++counter; + } + + return ipv4; + } + + function serializeIPv4(address) { + let output = ""; + let n = address; + + for (let i = 1; i <= 4; ++i) { + output = String(n % 256) + output; + if (i !== 4) { + output = "." + output; + } + n = Math.floor(n / 256); + } + + return output; + } + + function parseIPv6(input) { + const address = [0, 0, 0, 0, 0, 0, 0, 0]; + let pieceIndex = 0; + let compress = null; + let pointer = 0; + + input = punycode.ucs2.decode(input); + + if (input[pointer] === 58) { + if (input[pointer + 1] !== 58) { + return failure; + } + + pointer += 2; + ++pieceIndex; + compress = pieceIndex; + } + + while (pointer < input.length) { + if (pieceIndex === 8) { + return failure; + } + + if (input[pointer] === 58) { + if (compress !== null) { + return failure; + } + ++pointer; + ++pieceIndex; + compress = pieceIndex; + continue; + } + + let value = 0; + let length = 0; + + while (length < 4 && isASCIIHex(input[pointer])) { + value = value * 0x10 + parseInt(at(input, pointer), 16); + ++pointer; + ++length; + } + + if (input[pointer] === 46) { + if (length === 0) { + return failure; + } + + pointer -= length; + + if (pieceIndex > 6) { + return failure; + } + + let numbersSeen = 0; + + while (input[pointer] !== undefined) { + let ipv4Piece = null; + + if (numbersSeen > 0) { + if (input[pointer] === 46 && numbersSeen < 4) { + ++pointer; + } else { + return failure; + } + } + + if (!isASCIIDigit(input[pointer])) { + return failure; + } + + while (isASCIIDigit(input[pointer])) { + const number = parseInt(at(input, pointer)); + if (ipv4Piece === null) { + ipv4Piece = number; + } else if (ipv4Piece === 0) { + return failure; + } else { + ipv4Piece = ipv4Piece * 10 + number; + } + if (ipv4Piece > 255) { + return failure; + } + ++pointer; + } + + address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; + + ++numbersSeen; + + if (numbersSeen === 2 || numbersSeen === 4) { + ++pieceIndex; + } + } + + if (numbersSeen !== 4) { + return failure; + } + + break; + } else if (input[pointer] === 58) { + ++pointer; + if (input[pointer] === undefined) { + return failure; + } + } else if (input[pointer] !== undefined) { + return failure; + } + + address[pieceIndex] = value; + ++pieceIndex; + } + + if (compress !== null) { + let swaps = pieceIndex - compress; + pieceIndex = 7; + while (pieceIndex !== 0 && swaps > 0) { + const temp = address[compress + swaps - 1]; + address[compress + swaps - 1] = address[pieceIndex]; + address[pieceIndex] = temp; + --pieceIndex; + --swaps; + } + } else if (compress === null && pieceIndex !== 8) { + return failure; + } + + return address; + } + + function serializeIPv6(address) { + let output = ""; + const seqResult = findLongestZeroSequence(address); + const compress = seqResult.idx; + let ignore0 = false; + + for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { + if (ignore0 && address[pieceIndex] === 0) { + continue; + } else if (ignore0) { + ignore0 = false; + } + + if (compress === pieceIndex) { + const separator = pieceIndex === 0 ? "::" : ":"; + output += separator; + ignore0 = true; + continue; + } + + output += address[pieceIndex].toString(16); + + if (pieceIndex !== 7) { + output += ":"; + } + } + + return output; + } + + function parseHost(input, isSpecialArg) { + if (input[0] === "[") { + if (input[input.length - 1] !== "]") { + return failure; + } + + return parseIPv6(input.substring(1, input.length - 1)); + } + + if (!isSpecialArg) { + return parseOpaqueHost(input); + } + + const domain = utf8PercentDecode(input); + const asciiDomain = tr46$1.toASCII(domain, false, tr46$1.PROCESSING_OPTIONS.NONTRANSITIONAL, false); + if (asciiDomain === null) { + return failure; + } + + if (containsForbiddenHostCodePoint(asciiDomain)) { + return failure; + } + + const ipv4Host = parseIPv4(asciiDomain); + if (typeof ipv4Host === "number" || ipv4Host === failure) { + return ipv4Host; + } + + return asciiDomain; + } + + function parseOpaqueHost(input) { + if (containsForbiddenHostCodePointExcludingPercent(input)) { + return failure; + } + + let output = ""; + const decoded = punycode.ucs2.decode(input); + for (let i = 0; i < decoded.length; ++i) { + output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); + } + return output; + } + + function findLongestZeroSequence(arr) { + let maxIdx = null; + let maxLen = 1; // only find elements > 1 + let currStart = null; + let currLen = 0; + + for (let i = 0; i < arr.length; ++i) { + if (arr[i] !== 0) { + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + currStart = null; + currLen = 0; + } else { + if (currStart === null) { + currStart = i; + } + ++currLen; + } + } + + // if trailing zeros + if (currLen > maxLen) { + maxIdx = currStart; + maxLen = currLen; + } + + return { + idx: maxIdx, + len: maxLen + }; + } + + function serializeHost(host) { + if (typeof host === "number") { + return serializeIPv4(host); + } + + // IPv6 serializer + if (host instanceof Array) { + return "[" + serializeIPv6(host) + "]"; + } + + return host; + } + + function trimControlChars(url) { + return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); + } + + function trimTabAndNewline(url) { + return url.replace(/\u0009|\u000A|\u000D/g, ""); + } + + function shortenPath(url) { + const path = url.path; + if (path.length === 0) { + return; + } + if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { + return; + } + + path.pop(); + } + + function includesCredentials(url) { + return url.username !== "" || url.password !== ""; + } + + function cannotHaveAUsernamePasswordPort(url) { + return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; + } + + function isNormalizedWindowsDriveLetter(string) { + return /^[A-Za-z]:$/.test(string); + } + + function URLStateMachine(input, base, encodingOverride, url, stateOverride) { + this.pointer = 0; + this.input = input; + this.base = base || null; + this.encodingOverride = encodingOverride || "utf-8"; + this.stateOverride = stateOverride; + this.url = url; + this.failure = false; + this.parseError = false; + + if (!this.url) { + this.url = { + scheme: "", + username: "", + password: "", + host: null, + port: null, + path: [], + query: null, + fragment: null, + + cannotBeABaseURL: false + }; + + const res = trimControlChars(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + } + + const res = trimTabAndNewline(this.input); + if (res !== this.input) { + this.parseError = true; + } + this.input = res; + + this.state = stateOverride || "scheme start"; + + this.buffer = ""; + this.atFlag = false; + this.arrFlag = false; + this.passwordTokenSeenFlag = false; + + this.input = punycode.ucs2.decode(this.input); + + for (; this.pointer <= this.input.length; ++this.pointer) { + const c = this.input[this.pointer]; + const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); + + // exec state machine + const ret = this["parse " + this.state](c, cStr); + if (!ret) { + break; // terminate algorithm + } else if (ret === failure) { + this.failure = true; + break; + } + } + } + + URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { + if (isASCIIAlpha(c)) { + this.buffer += cStr.toLowerCase(); + this.state = "scheme"; + } else if (!this.stateOverride) { + this.state = "no scheme"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { + if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { + this.buffer += cStr.toLowerCase(); + } else if (c === 58) { + if (this.stateOverride) { + if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { + return false; + } + + if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { + return false; + } + + if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { + return false; + } + + if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { + return false; + } + } + this.url.scheme = this.buffer; + this.buffer = ""; + if (this.stateOverride) { + return false; + } + if (this.url.scheme === "file") { + if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { + this.parseError = true; + } + this.state = "file"; + } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { + this.state = "special relative or authority"; + } else if (isSpecial(this.url)) { + this.state = "special authority slashes"; + } else if (this.input[this.pointer + 1] === 47) { + this.state = "path or authority"; + ++this.pointer; + } else { + this.url.cannotBeABaseURL = true; + this.url.path.push(""); + this.state = "cannot-be-a-base-URL path"; + } + } else if (!this.stateOverride) { + this.buffer = ""; + this.state = "no scheme"; + this.pointer = -1; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { + if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { + return failure; + } else if (this.base.cannotBeABaseURL && c === 35) { + this.url.scheme = this.base.scheme; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.url.cannotBeABaseURL = true; + this.state = "fragment"; + } else if (this.base.scheme === "file") { + this.state = "file"; + --this.pointer; + } else { + this.state = "relative"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "relative"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { + if (c === 47) { + this.state = "authority"; + } else { + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse relative"] = function parseRelative(c) { + this.url.scheme = this.base.scheme; + if (isNaN(c)) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 47) { + this.state = "relative slash"; + } else if (c === 63) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else if (isSpecial(this.url) && c === 92) { + this.parseError = true; + this.state = "relative slash"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.url.path = this.base.path.slice(0, this.base.path.length - 1); + + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { + if (isSpecial(this.url) && (c === 47 || c === 92)) { + if (c === 92) { + this.parseError = true; + } + this.state = "special authority ignore slashes"; + } else if (c === 47) { + this.state = "authority"; + } else { + this.url.username = this.base.username; + this.url.password = this.base.password; + this.url.host = this.base.host; + this.url.port = this.base.port; + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { + if (c === 47 && this.input[this.pointer + 1] === 47) { + this.state = "special authority ignore slashes"; + ++this.pointer; + } else { + this.parseError = true; + this.state = "special authority ignore slashes"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { + if (c !== 47 && c !== 92) { + this.state = "authority"; + --this.pointer; + } else { + this.parseError = true; + } + + return true; + }; + + URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { + if (c === 64) { + this.parseError = true; + if (this.atFlag) { + this.buffer = "%40" + this.buffer; + } + this.atFlag = true; + + // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars + const len = countSymbols(this.buffer); + for (let pointer = 0; pointer < len; ++pointer) { + const codePoint = this.buffer.codePointAt(pointer); + + if (codePoint === 58 && !this.passwordTokenSeenFlag) { + this.passwordTokenSeenFlag = true; + continue; + } + const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); + if (this.passwordTokenSeenFlag) { + this.url.password += encodedCodePoints; + } else { + this.url.username += encodedCodePoints; + } + } + this.buffer = ""; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + if (this.atFlag && this.buffer === "") { + this.parseError = true; + return failure; + } + this.pointer -= countSymbols(this.buffer) + 1; + this.buffer = ""; + this.state = "host"; + } else { + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse hostname"] = + URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { + if (this.stateOverride && this.url.scheme === "file") { + --this.pointer; + this.state = "file host"; + } else if (c === 58 && !this.arrFlag) { + if (this.buffer === "") { + this.parseError = true; + return failure; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "port"; + if (this.stateOverride === "hostname") { + return false; + } + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92)) { + --this.pointer; + if (isSpecial(this.url) && this.buffer === "") { + this.parseError = true; + return failure; + } else if (this.stateOverride && this.buffer === "" && + (includesCredentials(this.url) || this.url.port !== null)) { + this.parseError = true; + return false; + } + + const host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + + this.url.host = host; + this.buffer = ""; + this.state = "path start"; + if (this.stateOverride) { + return false; + } + } else { + if (c === 91) { + this.arrFlag = true; + } else if (c === 93) { + this.arrFlag = false; + } + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { + if (isASCIIDigit(c)) { + this.buffer += cStr; + } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || + (isSpecial(this.url) && c === 92) || + this.stateOverride) { + if (this.buffer !== "") { + const port = parseInt(this.buffer); + if (port > Math.pow(2, 16) - 1) { + this.parseError = true; + return failure; + } + this.url.port = port === defaultPort(this.url.scheme) ? null : port; + this.buffer = ""; + } + if (this.stateOverride) { + return false; + } + this.state = "path start"; + --this.pointer; + } else { + this.parseError = true; + return failure; + } + + return true; + }; + + const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); + + URLStateMachine.prototype["parse file"] = function parseFile(c) { + this.url.scheme = "file"; + + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file slash"; + } else if (this.base !== null && this.base.scheme === "file") { + if (isNaN(c)) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + } else if (c === 63) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + this.url.query = this.base.query; + this.url.fragment = ""; + this.state = "fragment"; + } else { + if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points + !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || + (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points + !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { + this.url.host = this.base.host; + this.url.path = this.base.path.slice(); + shortenPath(this.url); + } else { + this.parseError = true; + } + + this.state = "path"; + --this.pointer; + } + } else { + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { + if (c === 47 || c === 92) { + if (c === 92) { + this.parseError = true; + } + this.state = "file host"; + } else { + if (this.base !== null && this.base.scheme === "file") { + if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { + this.url.path.push(this.base.path[0]); + } else { + this.url.host = this.base.host; + } + } + this.state = "path"; + --this.pointer; + } + + return true; + }; + + URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { + if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { + --this.pointer; + if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { + this.parseError = true; + this.state = "path"; + } else if (this.buffer === "") { + this.url.host = ""; + if (this.stateOverride) { + return false; + } + this.state = "path start"; + } else { + let host = parseHost(this.buffer, isSpecial(this.url)); + if (host === failure) { + return failure; + } + if (host === "localhost") { + host = ""; + } + this.url.host = host; + + if (this.stateOverride) { + return false; + } + + this.buffer = ""; + this.state = "path start"; + } + } else { + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { + if (isSpecial(this.url)) { + if (c === 92) { + this.parseError = true; + } + this.state = "path"; + + if (c !== 47 && c !== 92) { + --this.pointer; + } + } else if (!this.stateOverride && c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (!this.stateOverride && c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else if (c !== undefined) { + this.state = "path"; + if (c !== 47) { + --this.pointer; + } + } + + return true; + }; + + URLStateMachine.prototype["parse path"] = function parsePath(c) { + if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || + (!this.stateOverride && (c === 63 || c === 35))) { + if (isSpecial(this.url) && c === 92) { + this.parseError = true; + } + + if (isDoubleDot(this.buffer)) { + shortenPath(this.url); + if (c !== 47 && !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } + } else if (isSingleDot(this.buffer) && c !== 47 && + !(isSpecial(this.url) && c === 92)) { + this.url.path.push(""); + } else if (!isSingleDot(this.buffer)) { + if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { + if (this.url.host !== "" && this.url.host !== null) { + this.parseError = true; + this.url.host = ""; + } + this.buffer = this.buffer[0] + ":"; + } + this.url.path.push(this.buffer); + } + this.buffer = ""; + if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { + while (this.url.path.length > 1 && this.url.path[0] === "") { + this.parseError = true; + this.url.path.shift(); + } + } + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += percentEncodeChar(c, isPathPercentEncode); + } + + return true; + }; + + URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { + if (c === 63) { + this.url.query = ""; + this.state = "query"; + } else if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } else { + // TODO: Add: not a URL code point + if (!isNaN(c) && c !== 37) { + this.parseError = true; + } + + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + if (!isNaN(c)) { + this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); + } + } + + return true; + }; + + URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { + if (isNaN(c) || (!this.stateOverride && c === 35)) { + if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { + this.encodingOverride = "utf-8"; + } + + const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead + for (let i = 0; i < buffer.length; ++i) { + if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || + buffer[i] === 0x3C || buffer[i] === 0x3E) { + this.url.query += percentEncode(buffer[i]); + } else { + this.url.query += String.fromCodePoint(buffer[i]); + } + } + + this.buffer = ""; + if (c === 35) { + this.url.fragment = ""; + this.state = "fragment"; + } + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.buffer += cStr; + } + + return true; + }; + + URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { + if (isNaN(c)) ; else if (c === 0x0) { + this.parseError = true; + } else { + // TODO: If c is not a URL code point and not "%", parse error. + if (c === 37 && + (!isASCIIHex(this.input[this.pointer + 1]) || + !isASCIIHex(this.input[this.pointer + 2]))) { + this.parseError = true; + } + + this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); + } + + return true; + }; + + function serializeURL(url, excludeFragment) { + let output = url.scheme + ":"; + if (url.host !== null) { + output += "//"; + + if (url.username !== "" || url.password !== "") { + output += url.username; + if (url.password !== "") { + output += ":" + url.password; + } + output += "@"; + } + + output += serializeHost(url.host); + + if (url.port !== null) { + output += ":" + url.port; + } + } else if (url.host === null && url.scheme === "file") { + output += "//"; + } + + if (url.cannotBeABaseURL) { + output += url.path[0]; + } else { + for (const string of url.path) { + output += "/" + string; + } + } + + if (url.query !== null) { + output += "?" + url.query; + } + + if (!excludeFragment && url.fragment !== null) { + output += "#" + url.fragment; + } + + return output; + } + + function serializeOrigin(tuple) { + let result = tuple.scheme + "://"; + result += serializeHost(tuple.host); + + if (tuple.port !== null) { + result += ":" + tuple.port; + } + + return result; + } + + module.exports.serializeURL = serializeURL; + + module.exports.serializeURLOrigin = function (url) { + // https://url.spec.whatwg.org/#concept-url-origin + switch (url.scheme) { + case "blob": + try { + return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); + } catch (e) { + // serializing an opaque origin returns "null" + return "null"; + } + case "ftp": + case "gopher": + case "http": + case "https": + case "ws": + case "wss": + return serializeOrigin({ + scheme: url.scheme, + host: url.host, + port: url.port + }); + case "file": + // spec says "exercise to the reader", chrome says "file://" + return "file://"; + default: + // serializing an opaque origin returns "null" + return "null"; + } + }; + + module.exports.basicURLParse = function (input, options) { + if (options === undefined) { + options = {}; + } + + const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); + if (usm.failure) { + return "failure"; + } + + return usm.url; + }; + + module.exports.setTheUsername = function (url, username) { + url.username = ""; + const decoded = punycode.ucs2.decode(username); + for (let i = 0; i < decoded.length; ++i) { + url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } + }; + + module.exports.setThePassword = function (url, password) { + url.password = ""; + const decoded = punycode.ucs2.decode(password); + for (let i = 0; i < decoded.length; ++i) { + url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); + } + }; + + module.exports.serializeHost = serializeHost; + + module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; + + module.exports.serializeInteger = function (integer) { + return String(integer); + }; + + module.exports.parseURL = function (input, options) { + if (options === undefined) { + options = {}; + } + + // We don't handle blobs, so this just delegates: + return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); + }; +} (urlStateMachine)); - var index = -1, - length = props.length; +const usm = urlStateMachine.exports; - while (++index < length) { - var key = props[index]; +URLImpl.implementation = class URLImpl { + constructor(constructorArgs) { + const url = constructorArgs[0]; + const base = constructorArgs[1]; - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; + let parsedBase = null; + if (base !== undefined) { + parsedBase = usm.basicURLParse(base); + if (parsedBase === "failure") { + throw new TypeError("Invalid base URL"); + } + } - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; - } + const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } - /** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; - - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; - - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); - } + this._url = parsedURL; - /** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; - - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; - } + // TODO: query stuff + } - /** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ - function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; - } + get href() { + return usm.serializeURL(this._url); + } - /** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ - function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; - } + set href(v) { + const parsedURL = usm.basicURLParse(v); + if (parsedURL === "failure") { + throw new TypeError("Invalid URL"); + } - /** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; + this._url = parsedURL; + } - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} - - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; - } + get origin() { + return usm.serializeURLOrigin(this._url); + } - /** - * Initializes an object clone. - * - * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; - } + get protocol() { + return this._url.scheme + ":"; + } - /** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ - function isIndex(value, length) { - var type = typeof value; - length = length == null ? MAX_SAFE_INTEGER : length; - - return !!length && - (type == 'number' || - (type != 'symbol' && reIsUint.test(value))) && - (value > -1 && value % 1 == 0 && value < length); - } + set protocol(v) { + usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); + } - /** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ - function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; - } + get username() { + return this._url.username; + } - /** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ - function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); - } + set username(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } - /** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ - function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); - } + usm.setTheUsername(this._url, v); + } - /** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ - function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; + get password() { + return this._url.password; + } - return value === proto; - } + set password(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } - /** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; - } + usm.setThePassword(this._url, v); + } - /** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ - function objectToString(value) { - return nativeObjectToString.call(value); - } + get host() { + const url = this._url; - /** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ - function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); - - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; - } + if (url.host === null) { + return ""; + } - /** - * Gets the value at `key`, unless `key` is "__proto__" or "constructor". - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function safeGet(object, key) { - if (key === 'constructor' && typeof object[key] === 'function') { - return; - } + if (url.port === null) { + return usm.serializeHost(url.host); + } - if (key == '__proto__') { - return; - } + return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); + } - return object[key]; - } + set host(v) { + if (this._url.cannotBeABaseURL) { + return; + } - /** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var setToString = shortOut(baseSetToString); + usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); + } - /** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ - function shortOut(func) { - var count = 0, - lastCalled = 0; - - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; - } + get hostname() { + if (this._url.host === null) { + return ""; + } - /** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; - } + return usm.serializeHost(this._url.host); + } - /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - function eq(value, other) { - return value === other || (value !== value && other !== other); - } + set hostname(v) { + if (this._url.cannotBeABaseURL) { + return; + } - /** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ - var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); - }; + usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); + } - /** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ - var isArray = Array.isArray; + get port() { + if (this._url.port === null) { + return ""; + } - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); - } + return usm.serializeInteger(this._url.port); + } - /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, - * else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ - function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); - } + set port(v) { + if (usm.cannotHaveAUsernamePasswordPort(this._url)) { + return; + } - /** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ - var isBuffer = nativeIsBuffer || stubFalse; + if (v === "") { + this._url.port = null; + } else { + usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); + } + } - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; - } + get pathname() { + if (this._url.cannotBeABaseURL) { + return this._url.path[0]; + } - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; - } + if (this._url.path.length === 0) { + return ""; + } - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } + return "/" + this._url.path.join("/"); + } - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } + set pathname(v) { + if (this._url.cannotBeABaseURL) { + return; + } - /** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * @static - * @memberOf _ - * @since 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * _.isPlainObject(new Foo); - * // => false - * - * _.isPlainObject([1, 2, 3]); - * // => false - * - * _.isPlainObject({ 'x': 0, 'y': 0 }); - * // => true - * - * _.isPlainObject(Object.create(null)); - * // => true - */ - function isPlainObject(value) { - if (!isObjectLike(value) || baseGetTag(value) != objectTag) { - return false; - } - var proto = getPrototype(value); - if (proto === null) { - return true; - } - var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; - return typeof Ctor == 'function' && Ctor instanceof Ctor && - funcToString.call(Ctor) == objectCtorString; - } + this._url.path = []; + usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); + } - /** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ - var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; + get search() { + if (this._url.query === null || this._url.query === "") { + return ""; + } - /** - * Converts `value` to a plain object flattening inherited enumerable string - * keyed properties of `value` to own properties of the plain object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {Object} Returns the converted plain object. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.assign({ 'a': 1 }, new Foo); - * // => { 'a': 1, 'b': 2 } - * - * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); - * // => { 'a': 1, 'b': 2, 'c': 3 } - */ - function toPlainObject(value) { - return copyObject(value, keysIn(value)); - } + return "?" + this._url.query; + } - /** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) - */ - function keysIn(object) { - return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); - } + set search(v) { + // TODO: query stuff - /** - * This method is like `_.assign` except that it recursively merges own and - * inherited enumerable string keyed properties of source objects into the - * destination object. Source properties that resolve to `undefined` are - * skipped if a destination value exists. Array and plain object properties - * are merged recursively. Other objects and value types are overridden by - * assignment. Source objects are applied from left to right. Subsequent - * sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * var object = { - * 'a': [{ 'b': 2 }, { 'd': 4 }] - * }; - * - * var other = { - * 'a': [{ 'c': 3 }, { 'e': 5 }] - * }; - * - * _.merge(object, other); - * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } - */ - var merge = createAssigner(function(object, source, srcIndex) { - baseMerge(object, source, srcIndex); - }); + const url = this._url; - /** - * Creates a function that returns `value`. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Util - * @param {*} value The value to return from the new function. - * @returns {Function} Returns the new constant function. - * @example - * - * var objects = _.times(2, _.constant({ 'a': 1 })); - * - * console.log(objects); - * // => [{ 'a': 1 }, { 'a': 1 }] - * - * console.log(objects[0] === objects[1]); - * // => true - */ - function constant(value) { - return function() { - return value; - }; - } + if (v === "") { + url.query = null; + return; + } - /** - * This method returns the first argument it receives. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Util - * @param {*} value Any value. - * @returns {*} Returns `value`. - * @example - * - * var object = { 'a': 1 }; - * - * console.log(_.identity(object) === object); - * // => true - */ - function identity(value) { - return value; - } + const input = v[0] === "?" ? v.substring(1) : v; + url.query = ""; + usm.basicURLParse(input, { url, stateOverride: "query" }); + } - /** - * This method returns `false`. - * - * @static - * @memberOf _ - * @since 4.13.0 - * @category Util - * @returns {boolean} Returns `false`. - * @example - * - * _.times(2, _.stubFalse); - * // => [false, false] - */ - function stubFalse() { - return false; - } + get hash() { + if (this._url.fragment === null || this._url.fragment === "") { + return ""; + } - module.exports = merge; -} (lodash_merge, lodash_merge.exports)); + return "#" + this._url.fragment; + } -var merge = lodash_merge.exports; + set hash(v) { + if (v === "") { + this._url.fragment = null; + return; + } -var FabricBridge = /*#__PURE__*/function (_Component) { - _inherits(FabricBridge, _Component); + const input = v[0] === "#" ? v.substring(1) : v; + this._url.fragment = ""; + usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); + } - var _super = _createSuper(FabricBridge); + toJSON() { + return this.href; + } +}; - function FabricBridge(props) { - var _this; +(function (module) { - _classCallCheck(this, FabricBridge); + const conversions = lib$3; + const utils = utils$n.exports; + const Impl = URLImpl; - _this = _super.call(this, props); - _this.settings = Object.assign({ - host: 'localhost', - port: 9999, - secure: false - }, defaults, props); - _this.state = merge({ - integrity: 'sha256-deadbeefbabe', + const impl = utils.implSymbol; + + function URL(url) { + if (!this || this[impl] || !(this instanceof URL)) { + throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); + } + if (arguments.length < 1) { + throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); + } + const args = []; + for (let i = 0; i < arguments.length && i < 2; ++i) { + args[i] = arguments[i]; + } + args[0] = conversions["USVString"](args[0]); + if (args[1] !== undefined) { + args[1] = conversions["USVString"](args[1]); + } + + module.exports.setup(this, args); + } + + URL.prototype.toJSON = function toJSON() { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + const args = []; + for (let i = 0; i < arguments.length && i < 0; ++i) { + args[i] = arguments[i]; + } + return this[impl].toJSON.apply(this[impl], args); + }; + Object.defineProperty(URL.prototype, "href", { + get() { + return this[impl].href; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].href = V; + }, + enumerable: true, + configurable: true + }); + + URL.prototype.toString = function () { + if (!this || !module.exports.is(this)) { + throw new TypeError("Illegal invocation"); + } + return this.href; + }; + + Object.defineProperty(URL.prototype, "origin", { + get() { + return this[impl].origin; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "protocol", { + get() { + return this[impl].protocol; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].protocol = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "username", { + get() { + return this[impl].username; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].username = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "password", { + get() { + return this[impl].password; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].password = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "host", { + get() { + return this[impl].host; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].host = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "hostname", { + get() { + return this[impl].hostname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hostname = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "port", { + get() { + return this[impl].port; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].port = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "pathname", { + get() { + return this[impl].pathname; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].pathname = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "search", { + get() { + return this[impl].search; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].search = V; + }, + enumerable: true, + configurable: true + }); + + Object.defineProperty(URL.prototype, "hash", { + get() { + return this[impl].hash; + }, + set(V) { + V = conversions["USVString"](V); + this[impl].hash = V; + }, + enumerable: true, + configurable: true + }); + + + module.exports = { + is(obj) { + return !!obj && obj[impl] instanceof Impl.implementation; + }, + create(constructorArgs, privateData) { + let obj = Object.create(URL.prototype); + this.setup(obj, constructorArgs, privateData); + return obj; + }, + setup(obj, constructorArgs, privateData) { + if (!privateData) privateData = {}; + privateData.wrapper = obj; + + obj[impl] = new Impl.implementation(constructorArgs, privateData); + obj[impl][utils.wrapperSymbol] = obj; + }, + interface: URL, + expose: { + Window: { URL: URL }, + Worker: { URL: URL } + } + }; +} (URL$2)); + +publicApi.URL = URL$2.exports.interface; +publicApi.serializeURL = urlStateMachine.exports.serializeURL; +publicApi.serializeURLOrigin = urlStateMachine.exports.serializeURLOrigin; +publicApi.basicURLParse = urlStateMachine.exports.basicURLParse; +publicApi.setTheUsername = urlStateMachine.exports.setTheUsername; +publicApi.setThePassword = urlStateMachine.exports.setThePassword; +publicApi.serializeHost = urlStateMachine.exports.serializeHost; +publicApi.serializeInteger = urlStateMachine.exports.serializeInteger; +publicApi.parseURL = urlStateMachine.exports.parseURL; + +// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js + +// fix for "Readable" isn't a named export issue +const Readable = Stream__default["default"].Readable; + +const BUFFER = Symbol('buffer'); +const TYPE = Symbol('type'); + +class Blob { + constructor() { + this[TYPE] = ''; + + const blobParts = arguments[0]; + const options = arguments[1]; + + const buffers = []; + let size = 0; + + if (blobParts) { + const a = blobParts; + const length = Number(a.length); + for (let i = 0; i < length; i++) { + const element = a[i]; + let buffer; + if (element instanceof Buffer) { + buffer = element; + } else if (ArrayBuffer.isView(element)) { + buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); + } else if (element instanceof ArrayBuffer) { + buffer = Buffer.from(element); + } else if (element instanceof Blob) { + buffer = element[BUFFER]; + } else { + buffer = Buffer.from(typeof element === 'string' ? element : String(element)); + } + size += buffer.length; + buffers.push(buffer); + } + } + + this[BUFFER] = Buffer.concat(buffers); + + let type = options && options.type !== undefined && String(options.type).toLowerCase(); + if (type && !/[^\u0020-\u007E]/.test(type)) { + this[TYPE] = type; + } + } + get size() { + return this[BUFFER].length; + } + get type() { + return this[TYPE]; + } + text() { + return Promise.resolve(this[BUFFER].toString()); + } + arrayBuffer() { + const buf = this[BUFFER]; + const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + return Promise.resolve(ab); + } + stream() { + const readable = new Readable(); + readable._read = function () {}; + readable.push(this[BUFFER]); + readable.push(null); + return readable; + } + toString() { + return '[object Blob]'; + } + slice() { + const size = this.size; + + const start = arguments[0]; + const end = arguments[1]; + let relativeStart, relativeEnd; + if (start === undefined) { + relativeStart = 0; + } else if (start < 0) { + relativeStart = Math.max(size + start, 0); + } else { + relativeStart = Math.min(start, size); + } + if (end === undefined) { + relativeEnd = size; + } else if (end < 0) { + relativeEnd = Math.max(size + end, 0); + } else { + relativeEnd = Math.min(end, size); + } + const span = Math.max(relativeEnd - relativeStart, 0); + + const buffer = this[BUFFER]; + const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); + const blob = new Blob([], { type: arguments[2] }); + blob[BUFFER] = slicedBuffer; + return blob; + } +} + +Object.defineProperties(Blob.prototype, { + size: { enumerable: true }, + type: { enumerable: true }, + slice: { enumerable: true } +}); + +Object.defineProperty(Blob.prototype, Symbol.toStringTag, { + value: 'Blob', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * fetch-error.js + * + * FetchError interface for operational errors + */ + +/** + * Create FetchError instance + * + * @param String message Error message for human + * @param String type Error type for machine + * @param String systemError For Node.js system error + * @return FetchError + */ +function FetchError(message, type, systemError) { + Error.call(this, message); + + this.message = message; + this.type = type; + + // when err.type is `system`, err.code contains system error code + if (systemError) { + this.code = this.errno = systemError.code; + } + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +FetchError.prototype = Object.create(Error.prototype); +FetchError.prototype.constructor = FetchError; +FetchError.prototype.name = 'FetchError'; + +let convert$2; +try { + convert$2 = require('encoding').convert; +} catch (e) {} + +const INTERNALS = Symbol('Body internals'); + +// fix an issue where "PassThrough" isn't a named export for node <10 +const PassThrough = Stream__default["default"].PassThrough; + +/** + * Body mixin + * + * Ref: https://fetch.spec.whatwg.org/#body + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +function Body(body) { + var _this = this; + + var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, + _ref$size = _ref.size; + + let size = _ref$size === undefined ? 0 : _ref$size; + var _ref$timeout = _ref.timeout; + let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; + + if (body == null) { + // body is undefined or null + body = null; + } else if (isURLSearchParams(body)) { + // body is a URLSearchParams + body = Buffer.from(body.toString()); + } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { + // body is ArrayBuffer + body = Buffer.from(body); + } else if (ArrayBuffer.isView(body)) { + // body is ArrayBufferView + body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); + } else if (body instanceof Stream__default["default"]) ; else { + // none of the above + // coerce to string then buffer + body = Buffer.from(String(body)); + } + this[INTERNALS] = { + body, + disturbed: false, + error: null + }; + this.size = size; + this.timeout = timeout; + + if (body instanceof Stream__default["default"]) { + body.on('error', function (err) { + const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); + _this[INTERNALS].error = error; + }); + } +} + +Body.prototype = { + get body() { + return this[INTERNALS].body; + }, + + get bodyUsed() { + return this[INTERNALS].disturbed; + }, + + /** + * Decode response as ArrayBuffer + * + * @return Promise + */ + arrayBuffer() { + return consumeBody.call(this).then(function (buf) { + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); + }); + }, + + /** + * Return raw response as Blob + * + * @return Promise + */ + blob() { + let ct = this.headers && this.headers.get('content-type') || ''; + return consumeBody.call(this).then(function (buf) { + return Object.assign( + // Prevent copying + new Blob([], { + type: ct.toLowerCase() + }), { + [BUFFER]: buf + }); + }); + }, + + /** + * Decode response as json + * + * @return Promise + */ + json() { + var _this2 = this; + + return consumeBody.call(this).then(function (buffer) { + try { + return JSON.parse(buffer.toString()); + } catch (err) { + return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); + } + }); + }, + + /** + * Decode response as text + * + * @return Promise + */ + text() { + return consumeBody.call(this).then(function (buffer) { + return buffer.toString(); + }); + }, + + /** + * Decode response as buffer (non-spec api) + * + * @return Promise + */ + buffer() { + return consumeBody.call(this); + }, + + /** + * Decode response as text, while automatically detecting the encoding and + * trying to decode to UTF-8 (non-spec api) + * + * @return Promise + */ + textConverted() { + var _this3 = this; + + return consumeBody.call(this).then(function (buffer) { + return convertBody(buffer, _this3.headers); + }); + } +}; + +// In browsers, all properties are enumerable. +Object.defineProperties(Body.prototype, { + body: { enumerable: true }, + bodyUsed: { enumerable: true }, + arrayBuffer: { enumerable: true }, + blob: { enumerable: true }, + json: { enumerable: true }, + text: { enumerable: true } +}); + +Body.mixIn = function (proto) { + for (const name of Object.getOwnPropertyNames(Body.prototype)) { + // istanbul ignore else: future proof + if (!(name in proto)) { + const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); + Object.defineProperty(proto, name, desc); + } + } +}; + +/** + * Consume and convert an entire Body to a Buffer. + * + * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body + * + * @return Promise + */ +function consumeBody() { + var _this4 = this; + + if (this[INTERNALS].disturbed) { + return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); + } + + this[INTERNALS].disturbed = true; + + if (this[INTERNALS].error) { + return Body.Promise.reject(this[INTERNALS].error); + } + + let body = this.body; + + // body is null + if (body === null) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is blob + if (isBlob(body)) { + body = body.stream(); + } + + // body is buffer + if (Buffer.isBuffer(body)) { + return Body.Promise.resolve(body); + } + + // istanbul ignore if: should never happen + if (!(body instanceof Stream__default["default"])) { + return Body.Promise.resolve(Buffer.alloc(0)); + } + + // body is stream + // get ready to actually consume the body + let accum = []; + let accumBytes = 0; + let abort = false; + + return new Body.Promise(function (resolve, reject) { + let resTimeout; + + // allow timeout on slow response body + if (_this4.timeout) { + resTimeout = setTimeout(function () { + abort = true; + reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); + }, _this4.timeout); + } + + // handle stream errors + body.on('error', function (err) { + if (err.name === 'AbortError') { + // if the request was aborted, reject with this Error + abort = true; + reject(err); + } else { + // other errors, such as incorrect content-encoding + reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + + body.on('data', function (chunk) { + if (abort || chunk === null) { + return; + } + + if (_this4.size && accumBytes + chunk.length > _this4.size) { + abort = true; + reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); + return; + } + + accumBytes += chunk.length; + accum.push(chunk); + }); + + body.on('end', function () { + if (abort) { + return; + } + + clearTimeout(resTimeout); + + try { + resolve(Buffer.concat(accum, accumBytes)); + } catch (err) { + // handle streams that have accumulated too much data (issue #414) + reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); + } + }); + }); +} + +/** + * Detect buffer encoding and convert to target encoding + * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding + * + * @param Buffer buffer Incoming buffer + * @param String encoding Target encoding + * @return String + */ +function convertBody(buffer, headers) { + if (typeof convert$2 !== 'function') { + throw new Error('The package `encoding` must be installed to use the textConverted() function'); + } + + const ct = headers.get('content-type'); + let charset = 'utf-8'; + let res, str; + + // header + if (ct) { + res = /charset=([^;]*)/i.exec(ct); + } + + // no charset in content type, peek at response body for at most 1024 bytes + str = buffer.slice(0, 1024).toString(); + + // html5 + if (!res && str) { + res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; + + this[MAP] = Object.create(null); + + if (init instanceof Headers) { + const rawHeaders = init.raw(); + const headerNames = Object.keys(rawHeaders); + + for (const headerName of headerNames) { + for (const value of rawHeaders[headerName]) { + this.append(headerName, value); + } + } + + return; + } + + // We don't worry about converting prop to ByteString here as append() + // will handle it. + if (init == null) ; else if (typeof init === 'object') { + const method = init[Symbol.iterator]; + if (method != null) { + if (typeof method !== 'function') { + throw new TypeError('Header pairs must be iterable'); + } + + // sequence> + // Note: per spec we have to first exhaust the lists then process them + const pairs = []; + for (const pair of init) { + if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { + throw new TypeError('Each header pair must be iterable'); + } + pairs.push(Array.from(pair)); + } + + for (const pair of pairs) { + if (pair.length !== 2) { + throw new TypeError('Each header pair must be a name/value tuple'); + } + this.append(pair[0], pair[1]); + } + } else { + // record + for (const key of Object.keys(init)) { + const value = init[key]; + this.append(key, value); + } + } + } else { + throw new TypeError('Provided initializer must be an object'); + } + } + + /** + * Return combined header value given name + * + * @param String name Header name + * @return Mixed + */ + get(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key === undefined) { + return null; + } + + return this[MAP][key].join(', '); + } + + /** + * Iterate over all headers + * + * @param Function callback Executed for each item with parameters (value, name, thisArg) + * @param Boolean thisArg `this` context for callback function + * @return Void + */ + forEach(callback) { + let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; + + let pairs = getHeaders(this); + let i = 0; + while (i < pairs.length) { + var _pairs$i = pairs[i]; + const name = _pairs$i[0], + value = _pairs$i[1]; + + callback.call(thisArg, value, name, this); + pairs = getHeaders(this); + i++; + } + } + + /** + * Overwrite header values given name + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + set(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + this[MAP][key !== undefined ? key : name] = [value]; + } + + /** + * Append a value onto existing header + * + * @param String name Header name + * @param String value Header value + * @return Void + */ + append(name, value) { + name = `${name}`; + value = `${value}`; + validateName(name); + validateValue(value); + const key = find(this[MAP], name); + if (key !== undefined) { + this[MAP][key].push(value); + } else { + this[MAP][name] = [value]; + } + } + + /** + * Check for header name existence + * + * @param String name Header name + * @return Boolean + */ + has(name) { + name = `${name}`; + validateName(name); + return find(this[MAP], name) !== undefined; + } + + /** + * Delete all header values given name + * + * @param String name Header name + * @return Void + */ + delete(name) { + name = `${name}`; + validateName(name); + const key = find(this[MAP], name); + if (key !== undefined) { + delete this[MAP][key]; + } + } + + /** + * Return raw headers (non-spec api) + * + * @return Object + */ + raw() { + return this[MAP]; + } + + /** + * Get an iterator on keys. + * + * @return Iterator + */ + keys() { + return createHeadersIterator(this, 'key'); + } + + /** + * Get an iterator on values. + * + * @return Iterator + */ + values() { + return createHeadersIterator(this, 'value'); + } + + /** + * Get an iterator on entries. + * + * This is the default iterator of the Headers object. + * + * @return Iterator + */ + [Symbol.iterator]() { + return createHeadersIterator(this, 'key+value'); + } +} +Headers.prototype.entries = Headers.prototype[Symbol.iterator]; + +Object.defineProperty(Headers.prototype, Symbol.toStringTag, { + value: 'Headers', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Headers.prototype, { + get: { enumerable: true }, + forEach: { enumerable: true }, + set: { enumerable: true }, + append: { enumerable: true }, + has: { enumerable: true }, + delete: { enumerable: true }, + keys: { enumerable: true }, + values: { enumerable: true }, + entries: { enumerable: true } +}); + +function getHeaders(headers) { + let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; + + const keys = Object.keys(headers[MAP]).sort(); + return keys.map(kind === 'key' ? function (k) { + return k.toLowerCase(); + } : kind === 'value' ? function (k) { + return headers[MAP][k].join(', '); + } : function (k) { + return [k.toLowerCase(), headers[MAP][k].join(', ')]; + }); +} + +const INTERNAL = Symbol('internal'); + +function createHeadersIterator(target, kind) { + const iterator = Object.create(HeadersIteratorPrototype); + iterator[INTERNAL] = { + target, + kind, + index: 0 + }; + return iterator; +} + +const HeadersIteratorPrototype = Object.setPrototypeOf({ + next() { + // istanbul ignore if + if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { + throw new TypeError('Value of `this` is not a HeadersIterator'); + } + + var _INTERNAL = this[INTERNAL]; + const target = _INTERNAL.target, + kind = _INTERNAL.kind, + index = _INTERNAL.index; + + const values = getHeaders(target, kind); + const len = values.length; + if (index >= len) { + return { + value: undefined, + done: true + }; + } + + this[INTERNAL].index = index + 1; + + return { + value: values[index], + done: false + }; + } +}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); + +Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { + value: 'HeadersIterator', + writable: false, + enumerable: false, + configurable: true +}); + +/** + * Export the Headers object in a form that Node.js can consume. + * + * @param Headers headers + * @return Object + */ +function exportNodeCompatibleHeaders(headers) { + const obj = Object.assign({ __proto__: null }, headers[MAP]); + + // http.request() only supports string as Host header. This hack makes + // specifying custom Host header possible. + const hostHeaderKey = find(headers[MAP], 'Host'); + if (hostHeaderKey !== undefined) { + obj[hostHeaderKey] = obj[hostHeaderKey][0]; + } + + return obj; +} + +/** + * Create a Headers object from an object of headers, ignoring those that do + * not conform to HTTP grammar productions. + * + * @param Object obj Object of headers + * @return Headers + */ +function createHeadersLenient(obj) { + const headers = new Headers(); + for (const name of Object.keys(obj)) { + if (invalidTokenRegex.test(name)) { + continue; + } + if (Array.isArray(obj[name])) { + for (const val of obj[name]) { + if (invalidHeaderCharRegex.test(val)) { + continue; + } + if (headers[MAP][name] === undefined) { + headers[MAP][name] = [val]; + } else { + headers[MAP][name].push(val); + } + } + } else if (!invalidHeaderCharRegex.test(obj[name])) { + headers[MAP][name] = [obj[name]]; + } + } + return headers; +} + +const INTERNALS$1 = Symbol('Response internals'); + +// fix an issue where "STATUS_CODES" aren't a named export for node <10 +const STATUS_CODES = http__default["default"].STATUS_CODES; + +/** + * Response class + * + * @param Stream body Readable stream + * @param Object opts Response options + * @return Void + */ +class Response { + constructor() { + let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; + let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + Body.call(this, body, opts); + + const status = opts.status || 200; + const headers = new Headers(opts.headers); + + if (body != null && !headers.has('Content-Type')) { + const contentType = extractContentType(body); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + this[INTERNALS$1] = { + url: opts.url, + status, + statusText: opts.statusText || STATUS_CODES[status], + headers, + counter: opts.counter + }; + } + + get url() { + return this[INTERNALS$1].url || ''; + } + + get status() { + return this[INTERNALS$1].status; + } + + /** + * Convenience property representing if the request ended normally + */ + get ok() { + return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; + } + + get redirected() { + return this[INTERNALS$1].counter > 0; + } + + get statusText() { + return this[INTERNALS$1].statusText; + } + + get headers() { + return this[INTERNALS$1].headers; + } + + /** + * Clone this response + * + * @return Response + */ + clone() { + return new Response(clone(this), { + url: this.url, + status: this.status, + statusText: this.statusText, + headers: this.headers, + ok: this.ok, + redirected: this.redirected + }); + } +} + +Body.mixIn(Response.prototype); + +Object.defineProperties(Response.prototype, { + url: { enumerable: true }, + status: { enumerable: true }, + ok: { enumerable: true }, + redirected: { enumerable: true }, + statusText: { enumerable: true }, + headers: { enumerable: true }, + clone: { enumerable: true } +}); + +Object.defineProperty(Response.prototype, Symbol.toStringTag, { + value: 'Response', + writable: false, + enumerable: false, + configurable: true +}); + +const INTERNALS$2 = Symbol('Request internals'); +const URL$1 = Url__default["default"].URL || publicApi.URL; + +// fix an issue where "format", "parse" aren't a named export for node <10 +const parse_url = Url__default["default"].parse; +const format_url = Url__default["default"].format; + +/** + * Wrapper around `new URL` to handle arbitrary URLs + * + * @param {string} urlStr + * @return {void} + */ +function parseURL(urlStr) { + /* + Check whether the URL is absolute or not + Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 + Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 + */ + if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { + urlStr = new URL$1(urlStr).toString(); + } + + // Fallback to old implementation for arbitrary URLs + return parse_url(urlStr); +} + +const streamDestructionSupported = 'destroy' in Stream__default["default"].Readable.prototype; + +/** + * Check if a value is an instance of Request. + * + * @param Mixed input + * @return Boolean + */ +function isRequest(input) { + return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; +} + +function isAbortSignal(signal) { + const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); + return !!(proto && proto.constructor.name === 'AbortSignal'); +} + +/** + * Request class + * + * @param Mixed input Url or Request instance + * @param Object init Custom options + * @return Void + */ +class Request { + constructor(input) { + let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + let parsedURL; + + // normalize input + if (!isRequest(input)) { + if (input && input.href) { + // in order to support Node.js' Url objects; though WHATWG's URL objects + // will fall into this branch also (since their `toString()` will return + // `href` property anyway) + parsedURL = parseURL(input.href); + } else { + // coerce input to a string before attempting to parse + parsedURL = parseURL(`${input}`); + } + input = {}; + } else { + parsedURL = parseURL(input.url); + } + + let method = init.method || input.method || 'GET'; + method = method.toUpperCase(); + + if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { + throw new TypeError('Request with GET/HEAD method cannot have body'); + } + + let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; + + Body.call(this, inputBody, { + timeout: init.timeout || input.timeout || 0, + size: init.size || input.size || 0 + }); + + const headers = new Headers(init.headers || input.headers || {}); + + if (inputBody != null && !headers.has('Content-Type')) { + const contentType = extractContentType(inputBody); + if (contentType) { + headers.append('Content-Type', contentType); + } + } + + let signal = isRequest(input) ? input.signal : null; + if ('signal' in init) signal = init.signal; + + if (signal != null && !isAbortSignal(signal)) { + throw new TypeError('Expected signal to be an instanceof AbortSignal'); + } + + this[INTERNALS$2] = { + method, + redirect: init.redirect || input.redirect || 'follow', + headers, + parsedURL, + signal + }; + + // node-fetch-only options + this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; + this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; + this.counter = init.counter || input.counter || 0; + this.agent = init.agent || input.agent; + } + + get method() { + return this[INTERNALS$2].method; + } + + get url() { + return format_url(this[INTERNALS$2].parsedURL); + } + + get headers() { + return this[INTERNALS$2].headers; + } + + get redirect() { + return this[INTERNALS$2].redirect; + } + + get signal() { + return this[INTERNALS$2].signal; + } + + /** + * Clone this request + * + * @return Request + */ + clone() { + return new Request(this); + } +} + +Body.mixIn(Request.prototype); + +Object.defineProperty(Request.prototype, Symbol.toStringTag, { + value: 'Request', + writable: false, + enumerable: false, + configurable: true +}); + +Object.defineProperties(Request.prototype, { + method: { enumerable: true }, + url: { enumerable: true }, + headers: { enumerable: true }, + redirect: { enumerable: true }, + clone: { enumerable: true }, + signal: { enumerable: true } +}); + +/** + * Convert a Request to Node.js http request options. + * + * @param Request A Request instance + * @return Object The options object to be passed to http.request + */ +function getNodeRequestOptions(request) { + const parsedURL = request[INTERNALS$2].parsedURL; + const headers = new Headers(request[INTERNALS$2].headers); + + // fetch step 1.3 + if (!headers.has('Accept')) { + headers.set('Accept', '*/*'); + } + + // Basic fetch + if (!parsedURL.protocol || !parsedURL.hostname) { + throw new TypeError('Only absolute URLs are supported'); + } + + if (!/^https?:$/.test(parsedURL.protocol)) { + throw new TypeError('Only HTTP(S) protocols are supported'); + } + + if (request.signal && request.body instanceof Stream__default["default"].Readable && !streamDestructionSupported) { + throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); + } + + // HTTP-network-or-cache fetch steps 2.4-2.7 + let contentLengthValue = null; + if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { + contentLengthValue = '0'; + } + if (request.body != null) { + const totalBytes = getTotalBytes(request); + if (typeof totalBytes === 'number') { + contentLengthValue = String(totalBytes); + } + } + if (contentLengthValue) { + headers.set('Content-Length', contentLengthValue); + } + + // HTTP-network-or-cache fetch step 2.11 + if (!headers.has('User-Agent')) { + headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); + } + + // HTTP-network-or-cache fetch step 2.15 + if (request.compress && !headers.has('Accept-Encoding')) { + headers.set('Accept-Encoding', 'gzip,deflate'); + } + + let agent = request.agent; + if (typeof agent === 'function') { + agent = agent(parsedURL); + } + + if (!headers.has('Connection') && !agent) { + headers.set('Connection', 'close'); + } + + // HTTP-network fetch step 4.2 + // chunked encoding is handled by Node.js + + return Object.assign({}, parsedURL, { + method: request.method, + headers: exportNodeCompatibleHeaders(headers), + agent + }); +} + +/** + * abort-error.js + * + * AbortError interface for cancelled requests + */ + +/** + * Create AbortError instance + * + * @param String message Error message for human + * @return AbortError + */ +function AbortError(message) { + Error.call(this, message); + + this.type = 'aborted'; + this.message = message; + + // hide custom error implementation details from end-users + Error.captureStackTrace(this, this.constructor); +} + +AbortError.prototype = Object.create(Error.prototype); +AbortError.prototype.constructor = AbortError; +AbortError.prototype.name = 'AbortError'; + +const URL$1$1 = Url__default["default"].URL || publicApi.URL; + +// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 +const PassThrough$1 = Stream__default["default"].PassThrough; + +const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { + const orig = new URL$1$1(original).hostname; + const dest = new URL$1$1(destination).hostname; + + return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); +}; + +/** + * Fetch function + * + * @param Mixed url Absolute url or Request instance + * @param Object opts Fetch options + * @return Promise + */ +function fetch$1(url, opts) { + + // allow custom promise + if (!fetch$1.Promise) { + throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); + } + + Body.Promise = fetch$1.Promise; + + // wrap http.request into fetch + return new fetch$1.Promise(function (resolve, reject) { + // build request object + const request = new Request(url, opts); + const options = getNodeRequestOptions(request); + + const send = (options.protocol === 'https:' ? require$$2__default["default"] : http__default["default"]).request; + const signal = request.signal; + + let response = null; + + const abort = function abort() { + let error = new AbortError('The user aborted a request.'); + reject(error); + if (request.body && request.body instanceof Stream__default["default"].Readable) { + request.body.destroy(error); + } + if (!response || !response.body) return; + response.body.emit('error', error); + }; + + if (signal && signal.aborted) { + abort(); + return; + } + + const abortAndFinalize = function abortAndFinalize() { + abort(); + finalize(); + }; + + // send request + const req = send(options); + let reqTimeout; + + if (signal) { + signal.addEventListener('abort', abortAndFinalize); + } + + function finalize() { + req.abort(); + if (signal) signal.removeEventListener('abort', abortAndFinalize); + clearTimeout(reqTimeout); + } + + if (request.timeout) { + req.once('socket', function (socket) { + reqTimeout = setTimeout(function () { + reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); + finalize(); + }, request.timeout); + }); + } + + req.on('error', function (err) { + reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); + finalize(); + }); + + req.on('response', function (res) { + clearTimeout(reqTimeout); + + const headers = createHeadersLenient(res.headers); + + // HTTP fetch step 5 + if (fetch$1.isRedirect(res.statusCode)) { + // HTTP fetch step 5.2 + const location = headers.get('Location'); + + // HTTP fetch step 5.3 + let locationURL = null; + try { + locationURL = location === null ? null : new URL$1$1(location, request.url).toString(); + } catch (err) { + // error here can only be invalid URL in Location: header + // do not throw when options.redirect == manual + // let the user extract the errorneous redirect URL + if (request.redirect !== 'manual') { + reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); + finalize(); + return; + } + } + + // HTTP fetch step 5.5 + switch (request.redirect) { + case 'error': + reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); + finalize(); + return; + case 'manual': + // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. + if (locationURL !== null) { + // handle corrupted header + try { + headers.set('Location', locationURL); + } catch (err) { + // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request + reject(err); + } + } + break; + case 'follow': + // HTTP-redirect fetch step 2 + if (locationURL === null) { + break; + } + + // HTTP-redirect fetch step 5 + if (request.counter >= request.follow) { + reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 6 (counter increment) + // Create a new Request object. + const requestOpts = { + headers: new Headers(request.headers), + follow: request.follow, + counter: request.counter + 1, + agent: request.agent, + compress: request.compress, + method: request.method, + body: request.body, + signal: request.signal, + timeout: request.timeout, + size: request.size + }; + + if (!isDomainOrSubdomain(request.url, locationURL)) { + for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { + requestOpts.headers.delete(name); + } + } + + // HTTP-redirect fetch step 9 + if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { + reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); + finalize(); + return; + } + + // HTTP-redirect fetch step 11 + if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { + requestOpts.method = 'GET'; + requestOpts.body = undefined; + requestOpts.headers.delete('content-length'); + } + + // HTTP-redirect fetch step 15 + resolve(fetch$1(new Request(locationURL, requestOpts))); + finalize(); + return; + } + } + + // prepare response + res.once('end', function () { + if (signal) signal.removeEventListener('abort', abortAndFinalize); + }); + let body = res.pipe(new PassThrough$1()); + + const response_options = { + url: request.url, + status: res.statusCode, + statusText: res.statusMessage, + headers: headers, + size: request.size, + timeout: request.timeout, + counter: request.counter + }; + + // HTTP-network fetch step 12.1.1.3 + const codings = headers.get('Content-Encoding'); + + // HTTP-network fetch step 12.1.1.4: handle content codings + + // in following scenarios we ignore compression support + // 1. compression support is disabled + // 2. HEAD request + // 3. no Content-Encoding header + // 4. no content response (204) + // 5. content not modified response (304) + if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { + response = new Response(body, response_options); + resolve(response); + return; + } + + // For Node v6+ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + const zlibOptions = { + flush: zlib__default["default"].Z_SYNC_FLUSH, + finishFlush: zlib__default["default"].Z_SYNC_FLUSH + }; + + // for gzip + if (codings == 'gzip' || codings == 'x-gzip') { + body = body.pipe(zlib__default["default"].createGunzip(zlibOptions)); + response = new Response(body, response_options); + resolve(response); + return; + } + + // for deflate + if (codings == 'deflate' || codings == 'x-deflate') { + // handle the infamous raw deflate response from old servers + // a hack for old IIS and Apache servers + const raw = res.pipe(new PassThrough$1()); + raw.once('data', function (chunk) { + // see http://stackoverflow.com/questions/37519828 + if ((chunk[0] & 0x0F) === 0x08) { + body = body.pipe(zlib__default["default"].createInflate()); + } else { + body = body.pipe(zlib__default["default"].createInflateRaw()); + } + response = new Response(body, response_options); + resolve(response); + }); + return; + } + + // for br + if (codings == 'br' && typeof zlib__default["default"].createBrotliDecompress === 'function') { + body = body.pipe(zlib__default["default"].createBrotliDecompress()); + response = new Response(body, response_options); + resolve(response); + return; + } + + // otherwise, use response as-is + response = new Response(body, response_options); + resolve(response); + }); + + writeToStream(req, request); + }); +} +/** + * Redirect code matching + * + * @param Number code Status code + * @return Boolean + */ +fetch$1.isRedirect = function (code) { + return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; +}; + +// expose Promise +fetch$1.Promise = global.Promise; + +var lib$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': fetch$1, + Headers: Headers, + Request: Request, + Response: Response, + FetchError: FetchError +}); + +var require$$4 = /*@__PURE__*/getAugmentedNamespace(lib$2); + +var contentType = {}; + +/*! + * content-type + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + +/** + * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1 + * + * parameter = token "=" ( token / quoted-string ) + * token = 1*tchar + * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" + * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" + * / DIGIT / ALPHA + * ; any VCHAR, except delimiters + * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE + * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text + * obs-text = %x80-FF + * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) + */ +var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g; +var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/; +var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; + +/** + * RegExp to match quoted-pair in RFC 7230 sec 3.2.6 + * + * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) + * obs-text = %x80-FF + */ +var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g; + +/** + * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6 + */ +var QUOTE_REGEXP = /([\\"])/g; + +/** + * RegExp to match type in RFC 7231 sec 3.1.1.1 + * + * media-type = type "/" subtype + * type = token + * subtype = token + */ +var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; + +/** + * Module exports. + * @public + */ + +contentType.format = format$1; +contentType.parse = parse$1; + +/** + * Format object to media type. + * + * @param {object} obj + * @return {string} + * @public + */ + +function format$1 (obj) { + if (!obj || typeof obj !== 'object') { + throw new TypeError('argument obj is required') + } + + var parameters = obj.parameters; + var type = obj.type; + + if (!type || !TYPE_REGEXP.test(type)) { + throw new TypeError('invalid type') + } + + var string = type; + + // append parameters + if (parameters && typeof parameters === 'object') { + var param; + var params = Object.keys(parameters).sort(); + + for (var i = 0; i < params.length; i++) { + param = params[i]; + + if (!TOKEN_REGEXP.test(param)) { + throw new TypeError('invalid parameter name') + } + + string += '; ' + param + '=' + qstring(parameters[param]); + } + } + + return string +} + +/** + * Parse media type to object. + * + * @param {string|object} string + * @return {Object} + * @public + */ + +function parse$1 (string) { + if (!string) { + throw new TypeError('argument string is required') + } + + // support req/res-like objects as argument + var header = typeof string === 'object' + ? getcontenttype(string) + : string; + + if (typeof header !== 'string') { + throw new TypeError('argument string is required to be a string') + } + + var index = header.indexOf(';'); + var type = index !== -1 + ? header.substr(0, index).trim() + : header.trim(); + + if (!TYPE_REGEXP.test(type)) { + throw new TypeError('invalid media type') + } + + var obj = new ContentType(type.toLowerCase()); + + // parse parameters + if (index !== -1) { + var key; + var match; + var value; + + PARAM_REGEXP.lastIndex = index; + + while ((match = PARAM_REGEXP.exec(header))) { + if (match.index !== index) { + throw new TypeError('invalid parameter format') + } + + index += match[0].length; + key = match[1].toLowerCase(); + value = match[2]; + + if (value[0] === '"') { + // remove quotes and escapes + value = value + .substr(1, value.length - 2) + .replace(QESC_REGEXP, '$1'); + } + + obj.parameters[key] = value; + } + + if (index !== header.length) { + throw new TypeError('invalid parameter format') + } + } + + return obj +} + +/** + * Get content-type from req/res objects. + * + * @param {object} + * @return {Object} + * @private + */ + +function getcontenttype (obj) { + var header; + + if (typeof obj.getHeader === 'function') { + // res-like + header = obj.getHeader('content-type'); + } else if (typeof obj.headers === 'object') { + // req-like + header = obj.headers && obj.headers['content-type']; + } + + if (typeof header !== 'string') { + throw new TypeError('content-type header is missing from object') + } + + return header +} + +/** + * Quote a string if necessary. + * + * @param {string} val + * @return {string} + * @private + */ + +function qstring (val) { + var str = String(val); + + // no need to quote tokens + if (TOKEN_REGEXP.test(str)) { + return str + } + + if (str.length > 0 && !TEXT_REGEXP.test(str)) { + throw new TypeError('invalid parameter value') + } + + return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"' +} + +/** + * Class to represent a content type. + * @private + */ +function ContentType (type) { + this.parameters = Object.create(null); + this.type = type; +} + +function Queue(options) { + if (!(this instanceof Queue)) { + return new Queue(options); + } + + options = options || {}; + this.concurrency = options.concurrency || Infinity; + this.pending = 0; + this.jobs = []; + this.cbs = []; + this._done = done.bind(this); +} + +var arrayAddMethods = [ + 'push', + 'unshift', + 'splice' +]; + +arrayAddMethods.forEach(function(method) { + Queue.prototype[method] = function() { + var methodResult = Array.prototype[method].apply(this.jobs, arguments); + this._run(); + return methodResult; + }; +}); + +Object.defineProperty(Queue.prototype, 'length', { + get: function() { + return this.pending + this.jobs.length; + } +}); + +Queue.prototype._run = function() { + if (this.pending === this.concurrency) { + return; + } + if (this.jobs.length) { + var job = this.jobs.shift(); + this.pending++; + job(this._done); + this._run(); + } + + if (this.pending === 0) { + while (this.cbs.length !== 0) { + var cb = this.cbs.pop(); + process.nextTick(cb); + } + } +}; + +Queue.prototype.onDone = function(cb) { + if (typeof cb === 'function') { + this.cbs.push(cb); + this._run(); + } +}; + +function done() { + this.pending--; + this._run(); +} + +var asyncLimiter = Queue; + +var bufferUtil$1 = {exports: {}}; + +var constants = { + BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'], + GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', + kStatusCode: Symbol('status-code'), + kWebSocket: Symbol('websocket'), + EMPTY_BUFFER: Buffer.alloc(0), + NOOP: () => {} +}; + +const { EMPTY_BUFFER: EMPTY_BUFFER$5 } = constants; + +/** + * Merges an array of buffers into a new buffer. + * + * @param {Buffer[]} list The array of buffers to concat + * @param {Number} totalLength The total length of buffers in the list + * @return {Buffer} The resulting buffer + * @public + */ +function concat$1(list, totalLength) { + if (list.length === 0) return EMPTY_BUFFER$5; + if (list.length === 1) return list[0]; + + const target = Buffer.allocUnsafe(totalLength); + var offset = 0; + + for (var i = 0; i < list.length; i++) { + const buf = list[i]; + buf.copy(target, offset); + offset += buf.length; + } + + return target; +} + +/** + * Masks a buffer using the given mask. + * + * @param {Buffer} source The buffer to mask + * @param {Buffer} mask The mask to use + * @param {Buffer} output The buffer where to store the result + * @param {Number} offset The offset at which to start writing + * @param {Number} length The number of bytes to mask. + * @public + */ +function _mask(source, mask, output, offset, length) { + for (var i = 0; i < length; i++) { + output[offset + i] = source[i] ^ mask[i & 3]; + } +} + +/** + * Unmasks a buffer using the given mask. + * + * @param {Buffer} buffer The buffer to unmask + * @param {Buffer} mask The mask to use + * @public + */ +function _unmask(buffer, mask) { + // Required until https://github.com/nodejs/node/issues/9006 is resolved. + const length = buffer.length; + for (var i = 0; i < length; i++) { + buffer[i] ^= mask[i & 3]; + } +} + +/** + * Converts a buffer to an `ArrayBuffer`. + * + * @param {Buffer} buf The buffer to convert + * @return {ArrayBuffer} Converted buffer + * @public + */ +function toArrayBuffer$1(buf) { + if (buf.byteLength === buf.buffer.byteLength) { + return buf.buffer; + } + + return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); +} + +/** + * Converts `data` to a `Buffer`. + * + * @param {*} data The data to convert + * @return {Buffer} The buffer + * @throws {TypeError} + * @public + */ +function toBuffer$1(data) { + toBuffer$1.readOnly = true; + + if (Buffer.isBuffer(data)) return data; + + var buf; + + if (data instanceof ArrayBuffer) { + buf = Buffer.from(data); + } else if (ArrayBuffer.isView(data)) { + buf = viewToBuffer(data); + } else { + buf = Buffer.from(data); + toBuffer$1.readOnly = false; + } + + return buf; +} + +/** + * Converts an `ArrayBuffer` view into a buffer. + * + * @param {(DataView|TypedArray)} view The view to convert + * @return {Buffer} Converted view + * @private + */ +function viewToBuffer(view) { + const buf = Buffer.from(view.buffer); + + if (view.byteLength !== view.buffer.byteLength) { + return buf.slice(view.byteOffset, view.byteOffset + view.byteLength); + } + + return buf; +} + +try { + const bufferUtil = require('bufferutil'); + const bu = bufferUtil.BufferUtil || bufferUtil; + + bufferUtil$1.exports = { + concat: concat$1, + mask(source, mask, output, offset, length) { + if (length < 48) _mask(source, mask, output, offset, length); + else bu.mask(source, mask, output, offset, length); + }, + toArrayBuffer: toArrayBuffer$1, + toBuffer: toBuffer$1, + unmask(buffer, mask) { + if (buffer.length < 32) _unmask(buffer, mask); + else bu.unmask(buffer, mask); + } + }; +} catch (e) /* istanbul ignore next */ { + bufferUtil$1.exports = { + concat: concat$1, + mask: _mask, + toArrayBuffer: toArrayBuffer$1, + toBuffer: toBuffer$1, + unmask: _unmask + }; +} + +const Limiter = asyncLimiter; +const zlib = zlib__default["default"]; + +const bufferUtil = bufferUtil$1.exports; +const { kStatusCode: kStatusCode$2, NOOP: NOOP$1 } = constants; + +const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); +const EMPTY_BLOCK = Buffer.from([0x00]); + +const kPerMessageDeflate = Symbol('permessage-deflate'); +const kTotalLength = Symbol('total-length'); +const kCallback = Symbol('callback'); +const kBuffers = Symbol('buffers'); +const kError = Symbol('error'); + +// +// We limit zlib concurrency, which prevents severe memory fragmentation +// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913 +// and https://github.com/websockets/ws/issues/1202 +// +// Intentionally global; it's the global thread pool that's an issue. +// +let zlibLimiter; + +/** + * permessage-deflate implementation. + */ +class PerMessageDeflate$4 { + /** + * Creates a PerMessageDeflate instance. + * + * @param {Object} options Configuration options + * @param {Boolean} options.serverNoContextTakeover Request/accept disabling + * of server context takeover + * @param {Boolean} options.clientNoContextTakeover Advertise/acknowledge + * disabling of client context takeover + * @param {(Boolean|Number)} options.serverMaxWindowBits Request/confirm the + * use of a custom server window size + * @param {(Boolean|Number)} options.clientMaxWindowBits Advertise support + * for, or request, a custom client window size + * @param {Object} options.zlibDeflateOptions Options to pass to zlib on deflate + * @param {Object} options.zlibInflateOptions Options to pass to zlib on inflate + * @param {Number} options.threshold Size (in bytes) below which messages + * should not be compressed + * @param {Number} options.concurrencyLimit The number of concurrent calls to + * zlib + * @param {Boolean} isServer Create the instance in either server or client + * mode + * @param {Number} maxPayload The maximum allowed message length + */ + constructor(options, isServer, maxPayload) { + this._maxPayload = maxPayload | 0; + this._options = options || {}; + this._threshold = + this._options.threshold !== undefined ? this._options.threshold : 1024; + this._isServer = !!isServer; + this._deflate = null; + this._inflate = null; + + this.params = null; + + if (!zlibLimiter) { + const concurrency = + this._options.concurrencyLimit !== undefined + ? this._options.concurrencyLimit + : 10; + zlibLimiter = new Limiter({ concurrency }); + } + } + + /** + * @type {String} + */ + static get extensionName() { + return 'permessage-deflate'; + } + + /** + * Create an extension negotiation offer. + * + * @return {Object} Extension parameters + * @public + */ + offer() { + const params = {}; + + if (this._options.serverNoContextTakeover) { + params.server_no_context_takeover = true; + } + if (this._options.clientNoContextTakeover) { + params.client_no_context_takeover = true; + } + if (this._options.serverMaxWindowBits) { + params.server_max_window_bits = this._options.serverMaxWindowBits; + } + if (this._options.clientMaxWindowBits) { + params.client_max_window_bits = this._options.clientMaxWindowBits; + } else if (this._options.clientMaxWindowBits == null) { + params.client_max_window_bits = true; + } + + return params; + } + + /** + * Accept an extension negotiation offer/response. + * + * @param {Array} configurations The extension negotiation offers/reponse + * @return {Object} Accepted configuration + * @public + */ + accept(configurations) { + configurations = this.normalizeParams(configurations); + + this.params = this._isServer + ? this.acceptAsServer(configurations) + : this.acceptAsClient(configurations); + + return this.params; + } + + /** + * Releases all resources used by the extension. + * + * @public + */ + cleanup() { + if (this._inflate) { + this._inflate.close(); + this._inflate = null; + } + + if (this._deflate) { + this._deflate.close(); + this._deflate = null; + } + } + + /** + * Accept an extension negotiation offer. + * + * @param {Array} offers The extension negotiation offers + * @return {Object} Accepted configuration + * @private + */ + acceptAsServer(offers) { + const opts = this._options; + const accepted = offers.find((params) => { + if ( + (opts.serverNoContextTakeover === false && + params.server_no_context_takeover) || + (params.server_max_window_bits && + (opts.serverMaxWindowBits === false || + (typeof opts.serverMaxWindowBits === 'number' && + opts.serverMaxWindowBits > params.server_max_window_bits))) || + (typeof opts.clientMaxWindowBits === 'number' && + !params.client_max_window_bits) + ) { + return false; + } + + return true; + }); + + if (!accepted) { + throw new Error('None of the extension offers can be accepted'); + } + + if (opts.serverNoContextTakeover) { + accepted.server_no_context_takeover = true; + } + if (opts.clientNoContextTakeover) { + accepted.client_no_context_takeover = true; + } + if (typeof opts.serverMaxWindowBits === 'number') { + accepted.server_max_window_bits = opts.serverMaxWindowBits; + } + if (typeof opts.clientMaxWindowBits === 'number') { + accepted.client_max_window_bits = opts.clientMaxWindowBits; + } else if ( + accepted.client_max_window_bits === true || + opts.clientMaxWindowBits === false + ) { + delete accepted.client_max_window_bits; + } + + return accepted; + } + + /** + * Accept the extension negotiation response. + * + * @param {Array} response The extension negotiation response + * @return {Object} Accepted configuration + * @private + */ + acceptAsClient(response) { + const params = response[0]; + + if ( + this._options.clientNoContextTakeover === false && + params.client_no_context_takeover + ) { + throw new Error('Unexpected parameter "client_no_context_takeover"'); + } + + if (!params.client_max_window_bits) { + if (typeof this._options.clientMaxWindowBits === 'number') { + params.client_max_window_bits = this._options.clientMaxWindowBits; + } + } else if ( + this._options.clientMaxWindowBits === false || + (typeof this._options.clientMaxWindowBits === 'number' && + params.client_max_window_bits > this._options.clientMaxWindowBits) + ) { + throw new Error( + 'Unexpected or invalid parameter "client_max_window_bits"' + ); + } + + return params; + } + + /** + * Normalize parameters. + * + * @param {Array} configurations The extension negotiation offers/reponse + * @return {Array} The offers/response with normalized parameters + * @private + */ + normalizeParams(configurations) { + configurations.forEach((params) => { + Object.keys(params).forEach((key) => { + var value = params[key]; + + if (value.length > 1) { + throw new Error(`Parameter "${key}" must have only a single value`); + } + + value = value[0]; + + if (key === 'client_max_window_bits') { + if (value !== true) { + const num = +value; + if (!Number.isInteger(num) || num < 8 || num > 15) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + value = num; + } else if (!this._isServer) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + } else if (key === 'server_max_window_bits') { + const num = +value; + if (!Number.isInteger(num) || num < 8 || num > 15) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + value = num; + } else if ( + key === 'client_no_context_takeover' || + key === 'server_no_context_takeover' + ) { + if (value !== true) { + throw new TypeError( + `Invalid value for parameter "${key}": ${value}` + ); + } + } else { + throw new Error(`Unknown parameter "${key}"`); + } + + params[key] = value; + }); + }); + + return configurations; + } + + /** + * Decompress data. Concurrency limited by async-limiter. + * + * @param {Buffer} data Compressed data + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @public + */ + decompress(data, fin, callback) { + zlibLimiter.push((done) => { + this._decompress(data, fin, (err, result) => { + done(); + callback(err, result); + }); + }); + } + + /** + * Compress data. Concurrency limited by async-limiter. + * + * @param {Buffer} data Data to compress + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @public + */ + compress(data, fin, callback) { + zlibLimiter.push((done) => { + this._compress(data, fin, (err, result) => { + done(); + callback(err, result); + }); + }); + } + + /** + * Decompress data. + * + * @param {Buffer} data Compressed data + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @private + */ + _decompress(data, fin, callback) { + const endpoint = this._isServer ? 'client' : 'server'; + + if (!this._inflate) { + const key = `${endpoint}_max_window_bits`; + const windowBits = + typeof this.params[key] !== 'number' + ? zlib.Z_DEFAULT_WINDOWBITS + : this.params[key]; + + this._inflate = zlib.createInflateRaw( + Object.assign({}, this._options.zlibInflateOptions, { windowBits }) + ); + this._inflate[kPerMessageDeflate] = this; + this._inflate[kTotalLength] = 0; + this._inflate[kBuffers] = []; + this._inflate.on('error', inflateOnError); + this._inflate.on('data', inflateOnData); + } + + this._inflate[kCallback] = callback; + + this._inflate.write(data); + if (fin) this._inflate.write(TRAILER); + + this._inflate.flush(() => { + const err = this._inflate[kError]; + + if (err) { + this._inflate.close(); + this._inflate = null; + callback(err); + return; + } + + const data = bufferUtil.concat( + this._inflate[kBuffers], + this._inflate[kTotalLength] + ); + + if (fin && this.params[`${endpoint}_no_context_takeover`]) { + this._inflate.close(); + this._inflate = null; + } else { + this._inflate[kTotalLength] = 0; + this._inflate[kBuffers] = []; + } + + callback(null, data); + }); + } + + /** + * Compress data. + * + * @param {Buffer} data Data to compress + * @param {Boolean} fin Specifies whether or not this is the last fragment + * @param {Function} callback Callback + * @private + */ + _compress(data, fin, callback) { + if (!data || data.length === 0) { + process.nextTick(callback, null, EMPTY_BLOCK); + return; + } + + const endpoint = this._isServer ? 'server' : 'client'; + + if (!this._deflate) { + const key = `${endpoint}_max_window_bits`; + const windowBits = + typeof this.params[key] !== 'number' + ? zlib.Z_DEFAULT_WINDOWBITS + : this.params[key]; + + this._deflate = zlib.createDeflateRaw( + Object.assign({}, this._options.zlibDeflateOptions, { windowBits }) + ); + + this._deflate[kTotalLength] = 0; + this._deflate[kBuffers] = []; + + // + // An `'error'` event is emitted, only on Node.js < 10.0.0, if the + // `zlib.DeflateRaw` instance is closed while data is being processed. + // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong + // time due to an abnormal WebSocket closure. + // + this._deflate.on('error', NOOP$1); + this._deflate.on('data', deflateOnData); + } + + this._deflate.write(data); + this._deflate.flush(zlib.Z_SYNC_FLUSH, () => { + if (!this._deflate) { + // + // This `if` statement is only needed for Node.js < 10.0.0 because as of + // commit https://github.com/nodejs/node/commit/5e3f5164, the flush + // callback is no longer called if the deflate stream is closed while + // data is being processed. + // + return; + } + + var data = bufferUtil.concat( + this._deflate[kBuffers], + this._deflate[kTotalLength] + ); + + if (fin) data = data.slice(0, data.length - 4); + + if (fin && this.params[`${endpoint}_no_context_takeover`]) { + this._deflate.close(); + this._deflate = null; + } else { + this._deflate[kTotalLength] = 0; + this._deflate[kBuffers] = []; + } + + callback(null, data); + }); + } +} + +var permessageDeflate = PerMessageDeflate$4; + +/** + * The listener of the `zlib.DeflateRaw` stream `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function deflateOnData(chunk) { + this[kBuffers].push(chunk); + this[kTotalLength] += chunk.length; +} + +/** + * The listener of the `zlib.InflateRaw` stream `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function inflateOnData(chunk) { + this[kTotalLength] += chunk.length; + + if ( + this[kPerMessageDeflate]._maxPayload < 1 || + this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload + ) { + this[kBuffers].push(chunk); + return; + } + + this[kError] = new RangeError('Max payload size exceeded'); + this[kError][kStatusCode$2] = 1009; + this.removeListener('data', inflateOnData); + this.reset(); +} + +/** + * The listener of the `zlib.InflateRaw` stream `'error'` event. + * + * @param {Error} err The emitted error + * @private + */ +function inflateOnError(err) { + // + // There is no need to call `Zlib#close()` as the handle is automatically + // closed when an error is emitted. + // + this[kPerMessageDeflate]._inflate = null; + err[kStatusCode$2] = 1007; + this[kCallback](err); +} + +/** + * Class representing an event. + * + * @private + */ +class Event { + /** + * Create a new `Event`. + * + * @param {String} type The name of the event + * @param {Object} target A reference to the target to which the event was dispatched + */ + constructor(type, target) { + this.target = target; + this.type = type; + } +} + +/** + * Class representing a message event. + * + * @extends Event + * @private + */ +class MessageEvent extends Event { + /** + * Create a new `MessageEvent`. + * + * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(data, target) { + super('message', target); + + this.data = data; + } +} + +/** + * Class representing a close event. + * + * @extends Event + * @private + */ +class CloseEvent extends Event { + /** + * Create a new `CloseEvent`. + * + * @param {Number} code The status code explaining why the connection is being closed + * @param {String} reason A human-readable string explaining why the connection is closing + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(code, reason, target) { + super('close', target); + + this.wasClean = target._closeFrameReceived && target._closeFrameSent; + this.reason = reason; + this.code = code; + } +} + +/** + * Class representing an open event. + * + * @extends Event + * @private + */ +class OpenEvent extends Event { + /** + * Create a new `OpenEvent`. + * + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(target) { + super('open', target); + } +} + +/** + * Class representing an error event. + * + * @extends Event + * @private + */ +class ErrorEvent extends Event { + /** + * Create a new `ErrorEvent`. + * + * @param {Object} error The error that generated this event + * @param {WebSocket} target A reference to the target to which the event was dispatched + */ + constructor(error, target) { + super('error', target); + + this.message = error.message; + this.error = error; + } +} + +/** + * This provides methods for emulating the `EventTarget` interface. It's not + * meant to be used directly. + * + * @mixin + */ +const EventTarget$1 = { + /** + * Register an event listener. + * + * @param {String} method A string representing the event type to listen for + * @param {Function} listener The listener to add + * @public + */ + addEventListener(method, listener) { + if (typeof listener !== 'function') return; + + function onMessage(data) { + listener.call(this, new MessageEvent(data, this)); + } + + function onClose(code, message) { + listener.call(this, new CloseEvent(code, message, this)); + } + + function onError(error) { + listener.call(this, new ErrorEvent(error, this)); + } + + function onOpen() { + listener.call(this, new OpenEvent(this)); + } + + if (method === 'message') { + onMessage._listener = listener; + this.on(method, onMessage); + } else if (method === 'close') { + onClose._listener = listener; + this.on(method, onClose); + } else if (method === 'error') { + onError._listener = listener; + this.on(method, onError); + } else if (method === 'open') { + onOpen._listener = listener; + this.on(method, onOpen); + } else { + this.on(method, listener); + } + }, + + /** + * Remove an event listener. + * + * @param {String} method A string representing the event type to remove + * @param {Function} listener The listener to remove + * @public + */ + removeEventListener(method, listener) { + const listeners = this.listeners(method); + + for (var i = 0; i < listeners.length; i++) { + if (listeners[i] === listener || listeners[i]._listener === listener) { + this.removeListener(method, listeners[i]); + } + } + } +}; + +var eventTarget = EventTarget$1; + +// +// Allowed token characters: +// +// '!', '#', '$', '%', '&', ''', '*', '+', '-', +// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~' +// +// tokenChars[32] === 0 // ' ' +// tokenChars[33] === 1 // '!' +// tokenChars[34] === 0 // '"' +// ... +// +// prettier-ignore +const tokenChars = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15 + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31 + 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63 + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111 + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127 +]; + +/** + * Adds an offer to the map of extension offers or a parameter to the map of + * parameters. + * + * @param {Object} dest The map of extension offers or parameters + * @param {String} name The extension or parameter name + * @param {(Object|Boolean|String)} elem The extension parameters or the + * parameter value + * @private + */ +function push(dest, name, elem) { + if (Object.prototype.hasOwnProperty.call(dest, name)) dest[name].push(elem); + else dest[name] = [elem]; +} + +/** + * Parses the `Sec-WebSocket-Extensions` header into an object. + * + * @param {String} header The field value of the header + * @return {Object} The parsed object + * @public + */ +function parse(header) { + const offers = {}; + + if (header === undefined || header === '') return offers; + + var params = {}; + var mustUnescape = false; + var isEscaping = false; + var inQuotes = false; + var extensionName; + var paramName; + var start = -1; + var end = -1; + + for (var i = 0; i < header.length; i++) { + const code = header.charCodeAt(i); + + if (extensionName === undefined) { + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\t' */) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + const name = header.slice(start, end); + if (code === 0x2c) { + push(offers, name, params); + params = {}; + } else { + extensionName = name; + } + + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else if (paramName === undefined) { + if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x20 || code === 0x09) { + if (end === -1 && start !== -1) end = i; + } else if (code === 0x3b || code === 0x2c) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + push(params, header.slice(start, end), true); + if (code === 0x2c) { + push(offers, extensionName, params); + params = {}; + extensionName = undefined; + } + + start = end = -1; + } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) { + paramName = header.slice(start, i); + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else { + // + // The value of a quoted-string after unescaping must conform to the + // token ABNF, so only token characters are valid. + // Ref: https://tools.ietf.org/html/rfc6455#section-9.1 + // + if (isEscaping) { + if (tokenChars[code] !== 1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + if (start === -1) start = i; + else if (!mustUnescape) mustUnescape = true; + isEscaping = false; + } else if (inQuotes) { + if (tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (code === 0x22 /* '"' */ && start !== -1) { + inQuotes = false; + end = i; + } else if (code === 0x5c /* '\' */) { + isEscaping = true; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) { + inQuotes = true; + } else if (end === -1 && tokenChars[code] === 1) { + if (start === -1) start = i; + } else if (start !== -1 && (code === 0x20 || code === 0x09)) { + if (end === -1) end = i; + } else if (code === 0x3b || code === 0x2c) { + if (start === -1) { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + + if (end === -1) end = i; + var value = header.slice(start, end); + if (mustUnescape) { + value = value.replace(/\\/g, ''); + mustUnescape = false; + } + push(params, paramName, value); + if (code === 0x2c) { + push(offers, extensionName, params); + params = {}; + extensionName = undefined; + } + + paramName = undefined; + start = end = -1; + } else { + throw new SyntaxError(`Unexpected character at index ${i}`); + } + } + } + + if (start === -1 || inQuotes) { + throw new SyntaxError('Unexpected end of input'); + } + + if (end === -1) end = i; + const token = header.slice(start, end); + if (extensionName === undefined) { + push(offers, token, {}); + } else { + if (paramName === undefined) { + push(params, token, true); + } else if (mustUnescape) { + push(params, paramName, token.replace(/\\/g, '')); + } else { + push(params, paramName, token); + } + push(offers, extensionName, params); + } + + return offers; +} + +/** + * Builds the `Sec-WebSocket-Extensions` header field value. + * + * @param {Object} extensions The map of extensions and parameters to format + * @return {String} A string representing the given object + * @public + */ +function format(extensions) { + return Object.keys(extensions) + .map((extension) => { + var configurations = extensions[extension]; + if (!Array.isArray(configurations)) configurations = [configurations]; + return configurations + .map((params) => { + return [extension] + .concat( + Object.keys(params).map((k) => { + var values = params[k]; + if (!Array.isArray(values)) values = [values]; + return values + .map((v) => (v === true ? k : `${k}=${v}`)) + .join('; '); + }) + ) + .join('; '); + }) + .join(', '); + }) + .join(', '); +} + +var extension$2 = { format, parse }; + +var validation = {}; + +var isValidUTF8_1; + +try { + const isValidUTF8 = require('utf-8-validate'); + + isValidUTF8_1 = validation.isValidUTF8 = + typeof isValidUTF8 === 'object' + ? isValidUTF8.Validation.isValidUTF8 // utf-8-validate@<3.0.0 + : isValidUTF8; +} catch (e) /* istanbul ignore next */ { + isValidUTF8_1 = validation.isValidUTF8 = () => true; +} + +/** + * Checks if a status code is allowed in a close frame. + * + * @param {Number} code The status code + * @return {Boolean} `true` if the status code is valid, else `false` + * @public + */ +validation.isValidStatusCode = (code) => { + return ( + (code >= 1000 && + code <= 1013 && + code !== 1004 && + code !== 1005 && + code !== 1006) || + (code >= 3000 && code <= 4999) + ); +}; + +const { Writable } = Stream__default["default"]; + +const PerMessageDeflate$3 = permessageDeflate; +const { + BINARY_TYPES: BINARY_TYPES$1, + EMPTY_BUFFER: EMPTY_BUFFER$4, + kStatusCode: kStatusCode$1, + kWebSocket: kWebSocket$1 +} = constants; +const { concat, toArrayBuffer, unmask } = bufferUtil$1.exports; +const { isValidStatusCode: isValidStatusCode$1, isValidUTF8 } = validation; + +const GET_INFO = 0; +const GET_PAYLOAD_LENGTH_16 = 1; +const GET_PAYLOAD_LENGTH_64 = 2; +const GET_MASK = 3; +const GET_DATA = 4; +const INFLATING = 5; + +/** + * HyBi Receiver implementation. + * + * @extends stream.Writable + */ +class Receiver$1 extends Writable { + /** + * Creates a Receiver instance. + * + * @param {String} binaryType The type for binary data + * @param {Object} extensions An object containing the negotiated extensions + * @param {Number} maxPayload The maximum allowed message length + */ + constructor(binaryType, extensions, maxPayload) { + super(); + + this._binaryType = binaryType || BINARY_TYPES$1[0]; + this[kWebSocket$1] = undefined; + this._extensions = extensions || {}; + this._maxPayload = maxPayload | 0; + + this._bufferedBytes = 0; + this._buffers = []; + + this._compressed = false; + this._payloadLength = 0; + this._mask = undefined; + this._fragmented = 0; + this._masked = false; + this._fin = false; + this._opcode = 0; + + this._totalPayloadLength = 0; + this._messageLength = 0; + this._fragments = []; + + this._state = GET_INFO; + this._loop = false; + } + + /** + * Implements `Writable.prototype._write()`. + * + * @param {Buffer} chunk The chunk of data to write + * @param {String} encoding The character encoding of `chunk` + * @param {Function} cb Callback + */ + _write(chunk, encoding, cb) { + if (this._opcode === 0x08 && this._state == GET_INFO) return cb(); + + this._bufferedBytes += chunk.length; + this._buffers.push(chunk); + this.startLoop(cb); + } + + /** + * Consumes `n` bytes from the buffered data. + * + * @param {Number} n The number of bytes to consume + * @return {Buffer} The consumed bytes + * @private + */ + consume(n) { + this._bufferedBytes -= n; + + if (n === this._buffers[0].length) return this._buffers.shift(); + + if (n < this._buffers[0].length) { + const buf = this._buffers[0]; + this._buffers[0] = buf.slice(n); + return buf.slice(0, n); + } + + const dst = Buffer.allocUnsafe(n); + + do { + const buf = this._buffers[0]; + + if (n >= buf.length) { + this._buffers.shift().copy(dst, dst.length - n); + } else { + buf.copy(dst, dst.length - n, 0, n); + this._buffers[0] = buf.slice(n); + } + + n -= buf.length; + } while (n > 0); + + return dst; + } + + /** + * Starts the parsing loop. + * + * @param {Function} cb Callback + * @private + */ + startLoop(cb) { + var err; + this._loop = true; + + do { + switch (this._state) { + case GET_INFO: + err = this.getInfo(); + break; + case GET_PAYLOAD_LENGTH_16: + err = this.getPayloadLength16(); + break; + case GET_PAYLOAD_LENGTH_64: + err = this.getPayloadLength64(); + break; + case GET_MASK: + this.getMask(); + break; + case GET_DATA: + err = this.getData(cb); + break; + default: + // `INFLATING` + this._loop = false; + return; + } + } while (this._loop); + + cb(err); + } + + /** + * Reads the first two bytes of a frame. + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + getInfo() { + if (this._bufferedBytes < 2) { + this._loop = false; + return; + } + + const buf = this.consume(2); + + if ((buf[0] & 0x30) !== 0x00) { + this._loop = false; + return error(RangeError, 'RSV2 and RSV3 must be clear', true, 1002); + } + + const compressed = (buf[0] & 0x40) === 0x40; + + if (compressed && !this._extensions[PerMessageDeflate$3.extensionName]) { + this._loop = false; + return error(RangeError, 'RSV1 must be clear', true, 1002); + } + + this._fin = (buf[0] & 0x80) === 0x80; + this._opcode = buf[0] & 0x0f; + this._payloadLength = buf[1] & 0x7f; + + if (this._opcode === 0x00) { + if (compressed) { + this._loop = false; + return error(RangeError, 'RSV1 must be clear', true, 1002); + } + + if (!this._fragmented) { + this._loop = false; + return error(RangeError, 'invalid opcode 0', true, 1002); + } + + this._opcode = this._fragmented; + } else if (this._opcode === 0x01 || this._opcode === 0x02) { + if (this._fragmented) { + this._loop = false; + return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); + } + + this._compressed = compressed; + } else if (this._opcode > 0x07 && this._opcode < 0x0b) { + if (!this._fin) { + this._loop = false; + return error(RangeError, 'FIN must be set', true, 1002); + } + + if (compressed) { + this._loop = false; + return error(RangeError, 'RSV1 must be clear', true, 1002); + } + + if (this._payloadLength > 0x7d) { + this._loop = false; + return error( + RangeError, + `invalid payload length ${this._payloadLength}`, + true, + 1002 + ); + } + } else { + this._loop = false; + return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); + } + + if (!this._fin && !this._fragmented) this._fragmented = this._opcode; + this._masked = (buf[1] & 0x80) === 0x80; + + if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16; + else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64; + else return this.haveLength(); + } + + /** + * Gets extended payload length (7+16). + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + getPayloadLength16() { + if (this._bufferedBytes < 2) { + this._loop = false; + return; + } + + this._payloadLength = this.consume(2).readUInt16BE(0); + return this.haveLength(); + } + + /** + * Gets extended payload length (7+64). + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + getPayloadLength64() { + if (this._bufferedBytes < 8) { + this._loop = false; + return; + } + + const buf = this.consume(8); + const num = buf.readUInt32BE(0); + + // + // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned + // if payload length is greater than this number. + // + if (num > Math.pow(2, 53 - 32) - 1) { + this._loop = false; + return error( + RangeError, + 'Unsupported WebSocket frame: payload length > 2^53 - 1', + false, + 1009 + ); + } + + this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4); + return this.haveLength(); + } + + /** + * Payload length has been read. + * + * @return {(RangeError|undefined)} A possible error + * @private + */ + haveLength() { + if (this._payloadLength && this._opcode < 0x08) { + this._totalPayloadLength += this._payloadLength; + if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) { + this._loop = false; + return error(RangeError, 'Max payload size exceeded', false, 1009); + } + } + + if (this._masked) this._state = GET_MASK; + else this._state = GET_DATA; + } + + /** + * Reads mask bytes. + * + * @private + */ + getMask() { + if (this._bufferedBytes < 4) { + this._loop = false; + return; + } + + this._mask = this.consume(4); + this._state = GET_DATA; + } + + /** + * Reads data bytes. + * + * @param {Function} cb Callback + * @return {(Error|RangeError|undefined)} A possible error + * @private + */ + getData(cb) { + var data = EMPTY_BUFFER$4; + + if (this._payloadLength) { + if (this._bufferedBytes < this._payloadLength) { + this._loop = false; + return; + } + + data = this.consume(this._payloadLength); + if (this._masked) unmask(data, this._mask); + } + + if (this._opcode > 0x07) return this.controlMessage(data); + + if (this._compressed) { + this._state = INFLATING; + this.decompress(data, cb); + return; + } + + if (data.length) { + // + // This message is not compressed so its lenght is the sum of the payload + // length of all fragments. + // + this._messageLength = this._totalPayloadLength; + this._fragments.push(data); + } + + return this.dataMessage(); + } + + /** + * Decompresses data. + * + * @param {Buffer} data Compressed data + * @param {Function} cb Callback + * @private + */ + decompress(data, cb) { + const perMessageDeflate = this._extensions[PerMessageDeflate$3.extensionName]; + + perMessageDeflate.decompress(data, this._fin, (err, buf) => { + if (err) return cb(err); + + if (buf.length) { + this._messageLength += buf.length; + if (this._messageLength > this._maxPayload && this._maxPayload > 0) { + return cb( + error(RangeError, 'Max payload size exceeded', false, 1009) + ); + } + + this._fragments.push(buf); + } + + const er = this.dataMessage(); + if (er) return cb(er); + + this.startLoop(cb); + }); + } + + /** + * Handles a data message. + * + * @return {(Error|undefined)} A possible error + * @private + */ + dataMessage() { + if (this._fin) { + const messageLength = this._messageLength; + const fragments = this._fragments; + + this._totalPayloadLength = 0; + this._messageLength = 0; + this._fragmented = 0; + this._fragments = []; + + if (this._opcode === 2) { + var data; + + if (this._binaryType === 'nodebuffer') { + data = concat(fragments, messageLength); + } else if (this._binaryType === 'arraybuffer') { + data = toArrayBuffer(concat(fragments, messageLength)); + } else { + data = fragments; + } + + this.emit('message', data); + } else { + const buf = concat(fragments, messageLength); + + if (!isValidUTF8(buf)) { + this._loop = false; + return error(Error, 'invalid UTF-8 sequence', true, 1007); + } + + this.emit('message', buf.toString()); + } + } + + this._state = GET_INFO; + } + + /** + * Handles a control message. + * + * @param {Buffer} data Data to handle + * @return {(Error|RangeError|undefined)} A possible error + * @private + */ + controlMessage(data) { + if (this._opcode === 0x08) { + this._loop = false; + + if (data.length === 0) { + this.emit('conclude', 1005, ''); + this.end(); + } else if (data.length === 1) { + return error(RangeError, 'invalid payload length 1', true, 1002); + } else { + const code = data.readUInt16BE(0); + + if (!isValidStatusCode$1(code)) { + return error(RangeError, `invalid status code ${code}`, true, 1002); + } + + const buf = data.slice(2); + + if (!isValidUTF8(buf)) { + return error(Error, 'invalid UTF-8 sequence', true, 1007); + } + + this.emit('conclude', code, buf.toString()); + this.end(); + } + } else if (this._opcode === 0x09) { + this.emit('ping', data); + } else { + this.emit('pong', data); + } + + this._state = GET_INFO; + } +} + +var receiver = Receiver$1; + +/** + * Builds an error object. + * + * @param {(Error|RangeError)} ErrorCtor The error constructor + * @param {String} message The error message + * @param {Boolean} prefix Specifies whether or not to add a default prefix to + * `message` + * @param {Number} statusCode The status code + * @return {(Error|RangeError)} The error + * @private + */ +function error(ErrorCtor, message, prefix, statusCode) { + const err = new ErrorCtor( + prefix ? `Invalid WebSocket frame: ${message}` : message + ); + + Error.captureStackTrace(err, error); + err[kStatusCode$1] = statusCode; + return err; +} + +const { randomBytes } = require$$0__default["default"]; + +const PerMessageDeflate$2 = permessageDeflate; +const { EMPTY_BUFFER: EMPTY_BUFFER$3 } = constants; +const { isValidStatusCode } = validation; +const { mask: applyMask, toBuffer } = bufferUtil$1.exports; + +/** + * HyBi Sender implementation. + */ +class Sender$1 { + /** + * Creates a Sender instance. + * + * @param {net.Socket} socket The connection socket + * @param {Object} extensions An object containing the negotiated extensions + */ + constructor(socket, extensions) { + this._extensions = extensions || {}; + this._socket = socket; + + this._firstFragment = true; + this._compress = false; + + this._bufferedBytes = 0; + this._deflating = false; + this._queue = []; + } + + /** + * Frames a piece of data according to the HyBi WebSocket protocol. + * + * @param {Buffer} data The data to frame + * @param {Object} options Options object + * @param {Number} options.opcode The opcode + * @param {Boolean} options.readOnly Specifies whether `data` can be modified + * @param {Boolean} options.fin Specifies whether or not to set the FIN bit + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit + * @return {Buffer[]} The framed data as a list of `Buffer` instances + * @public + */ + static frame(data, options) { + const merge = options.mask && options.readOnly; + var offset = options.mask ? 6 : 2; + var payloadLength = data.length; + + if (data.length >= 65536) { + offset += 8; + payloadLength = 127; + } else if (data.length > 125) { + offset += 2; + payloadLength = 126; + } + + const target = Buffer.allocUnsafe(merge ? data.length + offset : offset); + + target[0] = options.fin ? options.opcode | 0x80 : options.opcode; + if (options.rsv1) target[0] |= 0x40; + + target[1] = payloadLength; + + if (payloadLength === 126) { + target.writeUInt16BE(data.length, 2); + } else if (payloadLength === 127) { + target.writeUInt32BE(0, 2); + target.writeUInt32BE(data.length, 6); + } + + if (!options.mask) return [target, data]; + + const mask = randomBytes(4); + + target[1] |= 0x80; + target[offset - 4] = mask[0]; + target[offset - 3] = mask[1]; + target[offset - 2] = mask[2]; + target[offset - 1] = mask[3]; + + if (merge) { + applyMask(data, mask, target, offset, data.length); + return [target]; + } + + applyMask(data, mask, data, 0, data.length); + return [target, data]; + } + + /** + * Sends a close message to the other peer. + * + * @param {(Number|undefined)} code The status code component of the body + * @param {String} data The message component of the body + * @param {Boolean} mask Specifies whether or not to mask the message + * @param {Function} cb Callback + * @public + */ + close(code, data, mask, cb) { + var buf; + + if (code === undefined) { + buf = EMPTY_BUFFER$3; + } else if (typeof code !== 'number' || !isValidStatusCode(code)) { + throw new TypeError('First argument must be a valid error code number'); + } else if (data === undefined || data === '') { + buf = Buffer.allocUnsafe(2); + buf.writeUInt16BE(code, 0); + } else { + buf = Buffer.allocUnsafe(2 + Buffer.byteLength(data)); + buf.writeUInt16BE(code, 0); + buf.write(data, 2); + } + + if (this._deflating) { + this.enqueue([this.doClose, buf, mask, cb]); + } else { + this.doClose(buf, mask, cb); + } + } + + /** + * Frames and sends a close message. + * + * @param {Buffer} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @private + */ + doClose(data, mask, cb) { + this.sendFrame( + Sender$1.frame(data, { + fin: true, + rsv1: false, + opcode: 0x08, + mask, + readOnly: false + }), + cb + ); + } + + /** + * Sends a ping message to the other peer. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @public + */ + ping(data, mask, cb) { + const buf = toBuffer(data); + + if (this._deflating) { + this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]); + } else { + this.doPing(buf, mask, toBuffer.readOnly, cb); + } + } + + /** + * Frames and sends a ping message. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Boolean} readOnly Specifies whether `data` can be modified + * @param {Function} cb Callback + * @private + */ + doPing(data, mask, readOnly, cb) { + this.sendFrame( + Sender$1.frame(data, { + fin: true, + rsv1: false, + opcode: 0x09, + mask, + readOnly + }), + cb + ); + } + + /** + * Sends a pong message to the other peer. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @public + */ + pong(data, mask, cb) { + const buf = toBuffer(data); + + if (this._deflating) { + this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]); + } else { + this.doPong(buf, mask, toBuffer.readOnly, cb); + } + } + + /** + * Frames and sends a pong message. + * + * @param {*} data The message to send + * @param {Boolean} mask Specifies whether or not to mask `data` + * @param {Boolean} readOnly Specifies whether `data` can be modified + * @param {Function} cb Callback + * @private + */ + doPong(data, mask, readOnly, cb) { + this.sendFrame( + Sender$1.frame(data, { + fin: true, + rsv1: false, + opcode: 0x0a, + mask, + readOnly + }), + cb + ); + } + + /** + * Sends a data message to the other peer. + * + * @param {*} data The message to send + * @param {Object} options Options object + * @param {Boolean} options.compress Specifies whether or not to compress `data` + * @param {Boolean} options.binary Specifies whether `data` is binary or text + * @param {Boolean} options.fin Specifies whether the fragment is the last one + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Function} cb Callback + * @public + */ + send(data, options, cb) { + const buf = toBuffer(data); + const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; + var opcode = options.binary ? 2 : 1; + var rsv1 = options.compress; + + if (this._firstFragment) { + this._firstFragment = false; + if (rsv1 && perMessageDeflate) { + rsv1 = buf.length >= perMessageDeflate._threshold; + } + this._compress = rsv1; + } else { + rsv1 = false; + opcode = 0; + } + + if (options.fin) this._firstFragment = true; + + if (perMessageDeflate) { + const opts = { + fin: options.fin, + rsv1, + opcode, + mask: options.mask, + readOnly: toBuffer.readOnly + }; + + if (this._deflating) { + this.enqueue([this.dispatch, buf, this._compress, opts, cb]); + } else { + this.dispatch(buf, this._compress, opts, cb); + } + } else { + this.sendFrame( + Sender$1.frame(buf, { + fin: options.fin, + rsv1: false, + opcode, + mask: options.mask, + readOnly: toBuffer.readOnly + }), + cb + ); + } + } + + /** + * Dispatches a data message. + * + * @param {Buffer} data The message to send + * @param {Boolean} compress Specifies whether or not to compress `data` + * @param {Object} options Options object + * @param {Number} options.opcode The opcode + * @param {Boolean} options.readOnly Specifies whether `data` can be modified + * @param {Boolean} options.fin Specifies whether or not to set the FIN bit + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit + * @param {Function} cb Callback + * @private + */ + dispatch(data, compress, options, cb) { + if (!compress) { + this.sendFrame(Sender$1.frame(data, options), cb); + return; + } + + const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; + + this._deflating = true; + perMessageDeflate.compress(data, options.fin, (_, buf) => { + this._deflating = false; + options.readOnly = false; + this.sendFrame(Sender$1.frame(buf, options), cb); + this.dequeue(); + }); + } + + /** + * Executes queued send operations. + * + * @private + */ + dequeue() { + while (!this._deflating && this._queue.length) { + const params = this._queue.shift(); + + this._bufferedBytes -= params[1].length; + params[0].apply(this, params.slice(1)); + } + } + + /** + * Enqueues a send operation. + * + * @param {Array} params Send operation parameters. + * @private + */ + enqueue(params) { + this._bufferedBytes += params[1].length; + this._queue.push(params); + } + + /** + * Sends a frame. + * + * @param {Buffer[]} list The frame to send + * @param {Function} cb Callback + * @private + */ + sendFrame(list, cb) { + if (list.length === 2) { + this._socket.cork(); + this._socket.write(list[0]); + this._socket.write(list[1], cb); + this._socket.uncork(); + } else { + this._socket.write(list[0], cb); + } + } +} + +var sender = Sender$1; + +const EventEmitter$2 = require$$0__default$2["default"]; +const crypto$9 = require$$0__default["default"]; +const https = require$$2__default["default"]; +const http$1 = http__default["default"]; +const net = require$$4__default["default"]; +const tls = require$$5__default["default"]; +const url = Url__default["default"]; + +const PerMessageDeflate$1 = permessageDeflate; +const EventTarget = eventTarget; +const extension$1 = extension$2; +const Receiver = receiver; +const Sender = sender; +const { + BINARY_TYPES, + EMPTY_BUFFER: EMPTY_BUFFER$2, + GUID: GUID$1, + kStatusCode, + kWebSocket, + NOOP +} = constants; + +const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED']; +const protocolVersions = [8, 13]; +const closeTimeout = 30 * 1000; + +/** + * Class representing a WebSocket. + * + * @extends EventEmitter + */ +class WebSocket$3 extends EventEmitter$2 { + /** + * Create a new `WebSocket`. + * + * @param {(String|url.Url|url.URL)} address The URL to which to connect + * @param {(String|String[])} protocols The subprotocols + * @param {Object} options Connection options + */ + constructor(address, protocols, options) { + super(); + + this.readyState = WebSocket$3.CONNECTING; + this.protocol = ''; + + this._binaryType = BINARY_TYPES[0]; + this._closeFrameReceived = false; + this._closeFrameSent = false; + this._closeMessage = ''; + this._closeTimer = null; + this._closeCode = 1006; + this._extensions = {}; + this._receiver = null; + this._sender = null; + this._socket = null; + + if (address !== null) { + this._isServer = false; + this._redirects = 0; + + if (Array.isArray(protocols)) { + protocols = protocols.join(', '); + } else if (typeof protocols === 'object' && protocols !== null) { + options = protocols; + protocols = undefined; + } + + initAsClient(this, address, protocols, options); + } else { + this._isServer = true; + } + } + + get CONNECTING() { + return WebSocket$3.CONNECTING; + } + get CLOSING() { + return WebSocket$3.CLOSING; + } + get CLOSED() { + return WebSocket$3.CLOSED; + } + get OPEN() { + return WebSocket$3.OPEN; + } + + /** + * This deviates from the WHATWG interface since ws doesn't support the + * required default "blob" type (instead we define a custom "nodebuffer" + * type). + * + * @type {String} + */ + get binaryType() { + return this._binaryType; + } + + set binaryType(type) { + if (!BINARY_TYPES.includes(type)) return; + + this._binaryType = type; + + // + // Allow to change `binaryType` on the fly. + // + if (this._receiver) this._receiver._binaryType = type; + } + + /** + * @type {Number} + */ + get bufferedAmount() { + if (!this._socket) return 0; + + // + // `socket.bufferSize` is `undefined` if the socket is closed. + // + return (this._socket.bufferSize || 0) + this._sender._bufferedBytes; + } + + /** + * @type {String} + */ + get extensions() { + return Object.keys(this._extensions).join(); + } + + /** + * Set up the socket and the internal resources. + * + * @param {net.Socket} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Number} maxPayload The maximum allowed message size + * @private + */ + setSocket(socket, head, maxPayload) { + const receiver = new Receiver( + this._binaryType, + this._extensions, + maxPayload + ); + + this._sender = new Sender(socket, this._extensions); + this._receiver = receiver; + this._socket = socket; + + receiver[kWebSocket] = this; + socket[kWebSocket] = this; + + receiver.on('conclude', receiverOnConclude); + receiver.on('drain', receiverOnDrain); + receiver.on('error', receiverOnError); + receiver.on('message', receiverOnMessage); + receiver.on('ping', receiverOnPing); + receiver.on('pong', receiverOnPong); + + socket.setTimeout(0); + socket.setNoDelay(); + + if (head.length > 0) socket.unshift(head); + + socket.on('close', socketOnClose); + socket.on('data', socketOnData); + socket.on('end', socketOnEnd); + socket.on('error', socketOnError$1); + + this.readyState = WebSocket$3.OPEN; + this.emit('open'); + } + + /** + * Emit the `'close'` event. + * + * @private + */ + emitClose() { + this.readyState = WebSocket$3.CLOSED; + + if (!this._socket) { + this.emit('close', this._closeCode, this._closeMessage); + return; + } + + if (this._extensions[PerMessageDeflate$1.extensionName]) { + this._extensions[PerMessageDeflate$1.extensionName].cleanup(); + } + + this._receiver.removeAllListeners(); + this.emit('close', this._closeCode, this._closeMessage); + } + + /** + * Start a closing handshake. + * + * +----------+ +-----------+ +----------+ + * - - -|ws.close()|-->|close frame|-->|ws.close()|- - - + * | +----------+ +-----------+ +----------+ | + * +----------+ +-----------+ | + * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING + * +----------+ +-----------+ | + * | | | +---+ | + * +------------------------+-->|fin| - - - - + * | +---+ | +---+ + * - - - - -|fin|<---------------------+ + * +---+ + * + * @param {Number} code Status code explaining why the connection is closing + * @param {String} data A string explaining why the connection is closing + * @public + */ + close(code, data) { + if (this.readyState === WebSocket$3.CLOSED) return; + if (this.readyState === WebSocket$3.CONNECTING) { + const msg = 'WebSocket was closed before the connection was established'; + return abortHandshake$1(this, this._req, msg); + } + + if (this.readyState === WebSocket$3.CLOSING) { + if (this._closeFrameSent && this._closeFrameReceived) this._socket.end(); + return; + } + + this.readyState = WebSocket$3.CLOSING; + this._sender.close(code, data, !this._isServer, (err) => { + // + // This error is handled by the `'error'` listener on the socket. We only + // want to know if the close frame has been sent here. + // + if (err) return; + + this._closeFrameSent = true; + if (this._closeFrameReceived) this._socket.end(); + }); + + // + // Specify a timeout for the closing handshake to complete. + // + this._closeTimer = setTimeout( + this._socket.destroy.bind(this._socket), + closeTimeout + ); + } + + /** + * Send a ping. + * + * @param {*} data The data to send + * @param {Boolean} mask Indicates whether or not to mask `data` + * @param {Function} cb Callback which is executed when the ping is sent + * @public + */ + ping(data, mask, cb) { + if (typeof data === 'function') { + cb = data; + data = mask = undefined; + } else if (typeof mask === 'function') { + cb = mask; + mask = undefined; + } + + if (this.readyState !== WebSocket$3.OPEN) { + const err = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${readyStates[this.readyState]})` + ); + + if (cb) return cb(err); + throw err; + } + + if (typeof data === 'number') data = data.toString(); + if (mask === undefined) mask = !this._isServer; + this._sender.ping(data || EMPTY_BUFFER$2, mask, cb); + } + + /** + * Send a pong. + * + * @param {*} data The data to send + * @param {Boolean} mask Indicates whether or not to mask `data` + * @param {Function} cb Callback which is executed when the pong is sent + * @public + */ + pong(data, mask, cb) { + if (typeof data === 'function') { + cb = data; + data = mask = undefined; + } else if (typeof mask === 'function') { + cb = mask; + mask = undefined; + } + + if (this.readyState !== WebSocket$3.OPEN) { + const err = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${readyStates[this.readyState]})` + ); + + if (cb) return cb(err); + throw err; + } + + if (typeof data === 'number') data = data.toString(); + if (mask === undefined) mask = !this._isServer; + this._sender.pong(data || EMPTY_BUFFER$2, mask, cb); + } + + /** + * Send a data message. + * + * @param {*} data The message to send + * @param {Object} options Options object + * @param {Boolean} options.compress Specifies whether or not to compress `data` + * @param {Boolean} options.binary Specifies whether `data` is binary or text + * @param {Boolean} options.fin Specifies whether the fragment is the last one + * @param {Boolean} options.mask Specifies whether or not to mask `data` + * @param {Function} cb Callback which is executed when data is written out + * @public + */ + send(data, options, cb) { + if (typeof options === 'function') { + cb = options; + options = {}; + } + + if (this.readyState !== WebSocket$3.OPEN) { + const err = new Error( + `WebSocket is not open: readyState ${this.readyState} ` + + `(${readyStates[this.readyState]})` + ); + + if (cb) return cb(err); + throw err; + } + + if (typeof data === 'number') data = data.toString(); + + const opts = Object.assign( + { + binary: typeof data !== 'string', + mask: !this._isServer, + compress: true, + fin: true + }, + options + ); + + if (!this._extensions[PerMessageDeflate$1.extensionName]) { + opts.compress = false; + } + + this._sender.send(data || EMPTY_BUFFER$2, opts, cb); + } + + /** + * Forcibly close the connection. + * + * @public + */ + terminate() { + if (this.readyState === WebSocket$3.CLOSED) return; + if (this.readyState === WebSocket$3.CONNECTING) { + const msg = 'WebSocket was closed before the connection was established'; + return abortHandshake$1(this, this._req, msg); + } + + if (this._socket) { + this.readyState = WebSocket$3.CLOSING; + this._socket.destroy(); + } + } +} + +readyStates.forEach((readyState, i) => { + WebSocket$3[readyState] = i; +}); + +// +// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes. +// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface +// +['open', 'error', 'close', 'message'].forEach((method) => { + Object.defineProperty(WebSocket$3.prototype, `on${method}`, { + /** + * Return the listener of the event. + * + * @return {(Function|undefined)} The event listener or `undefined` + * @public + */ + get() { + const listeners = this.listeners(method); + for (var i = 0; i < listeners.length; i++) { + if (listeners[i]._listener) return listeners[i]._listener; + } + + return undefined; + }, + /** + * Add a listener for the event. + * + * @param {Function} listener The listener to add + * @public + */ + set(listener) { + const listeners = this.listeners(method); + for (var i = 0; i < listeners.length; i++) { + // + // Remove only the listeners added via `addEventListener`. + // + if (listeners[i]._listener) this.removeListener(method, listeners[i]); + } + this.addEventListener(method, listener); + } + }); +}); + +WebSocket$3.prototype.addEventListener = EventTarget.addEventListener; +WebSocket$3.prototype.removeEventListener = EventTarget.removeEventListener; + +var websocket = WebSocket$3; + +/** + * Initialize a WebSocket client. + * + * @param {WebSocket} websocket The client to initialize + * @param {(String|url.Url|url.URL)} address The URL to which to connect + * @param {String} protocols The subprotocols + * @param {Object} options Connection options + * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable + * permessage-deflate + * @param {Number} options.handshakeTimeout Timeout in milliseconds for the + * handshake request + * @param {Number} options.protocolVersion Value of the `Sec-WebSocket-Version` + * header + * @param {String} options.origin Value of the `Origin` or + * `Sec-WebSocket-Origin` header + * @param {Number} options.maxPayload The maximum allowed message size + * @param {Boolean} options.followRedirects Whether or not to follow redirects + * @param {Number} options.maxRedirects The maximum number of redirects allowed + * @private + */ +function initAsClient(websocket, address, protocols, options) { + const opts = Object.assign( + { + protocolVersion: protocolVersions[1], + maxPayload: 100 * 1024 * 1024, + perMessageDeflate: true, + followRedirects: false, + maxRedirects: 10 + }, + options, + { + createConnection: undefined, + socketPath: undefined, + hostname: undefined, + protocol: undefined, + timeout: undefined, + method: undefined, + auth: undefined, + host: undefined, + path: undefined, + port: undefined + } + ); + + if (!protocolVersions.includes(opts.protocolVersion)) { + throw new RangeError( + `Unsupported protocol version: ${opts.protocolVersion} ` + + `(supported versions: ${protocolVersions.join(', ')})` + ); + } + + var parsedUrl; + + if (typeof address === 'object' && address.href !== undefined) { + parsedUrl = address; + websocket.url = address.href; + } else { + // + // The WHATWG URL constructor is not available on Node.js < 6.13.0 + // + parsedUrl = url.URL ? new url.URL(address) : url.parse(address); + websocket.url = address; + } + + const isUnixSocket = parsedUrl.protocol === 'ws+unix:'; + + if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) { + throw new Error(`Invalid URL: ${websocket.url}`); + } + + const isSecure = + parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:'; + const defaultPort = isSecure ? 443 : 80; + const key = crypto$9.randomBytes(16).toString('base64'); + const get = isSecure ? https.get : http$1.get; + const path = parsedUrl.search + ? `${parsedUrl.pathname || '/'}${parsedUrl.search}` + : parsedUrl.pathname || '/'; + var perMessageDeflate; + + opts.createConnection = isSecure ? tlsConnect : netConnect; + opts.defaultPort = opts.defaultPort || defaultPort; + opts.port = parsedUrl.port || defaultPort; + opts.host = parsedUrl.hostname.startsWith('[') + ? parsedUrl.hostname.slice(1, -1) + : parsedUrl.hostname; + opts.headers = Object.assign( + { + 'Sec-WebSocket-Version': opts.protocolVersion, + 'Sec-WebSocket-Key': key, + Connection: 'Upgrade', + Upgrade: 'websocket' + }, + opts.headers + ); + opts.path = path; + opts.timeout = opts.handshakeTimeout; + + if (opts.perMessageDeflate) { + perMessageDeflate = new PerMessageDeflate$1( + opts.perMessageDeflate !== true ? opts.perMessageDeflate : {}, + false, + opts.maxPayload + ); + opts.headers['Sec-WebSocket-Extensions'] = extension$1.format({ + [PerMessageDeflate$1.extensionName]: perMessageDeflate.offer() + }); + } + if (protocols) { + opts.headers['Sec-WebSocket-Protocol'] = protocols; + } + if (opts.origin) { + if (opts.protocolVersion < 13) { + opts.headers['Sec-WebSocket-Origin'] = opts.origin; + } else { + opts.headers.Origin = opts.origin; + } + } + if (parsedUrl.auth) { + opts.auth = parsedUrl.auth; + } else if (parsedUrl.username || parsedUrl.password) { + opts.auth = `${parsedUrl.username}:${parsedUrl.password}`; + } + + if (isUnixSocket) { + const parts = path.split(':'); + + opts.socketPath = parts[0]; + opts.path = parts[1]; + } + + var req = (websocket._req = get(opts)); + + if (opts.timeout) { + req.on('timeout', () => { + abortHandshake$1(websocket, req, 'Opening handshake has timed out'); + }); + } + + req.on('error', (err) => { + if (websocket._req.aborted) return; + + req = websocket._req = null; + websocket.readyState = WebSocket$3.CLOSING; + websocket.emit('error', err); + websocket.emitClose(); + }); + + req.on('response', (res) => { + const location = res.headers.location; + const statusCode = res.statusCode; + + if ( + location && + opts.followRedirects && + statusCode >= 300 && + statusCode < 400 + ) { + if (++websocket._redirects > opts.maxRedirects) { + abortHandshake$1(websocket, req, 'Maximum redirects exceeded'); + return; + } + + req.abort(); + + const addr = url.URL + ? new url.URL(location, address) + : url.resolve(address, location); + + initAsClient(websocket, addr, protocols, options); + } else if (!websocket.emit('unexpected-response', req, res)) { + abortHandshake$1( + websocket, + req, + `Unexpected server response: ${res.statusCode}` + ); + } + }); + + req.on('upgrade', (res, socket, head) => { + websocket.emit('upgrade', res); + + // + // The user may have closed the connection from a listener of the `upgrade` + // event. + // + if (websocket.readyState !== WebSocket$3.CONNECTING) return; + + req = websocket._req = null; + + const digest = crypto$9 + .createHash('sha1') + .update(key + GUID$1) + .digest('base64'); + + if (res.headers['sec-websocket-accept'] !== digest) { + abortHandshake$1(websocket, socket, 'Invalid Sec-WebSocket-Accept header'); + return; + } + + const serverProt = res.headers['sec-websocket-protocol']; + const protList = (protocols || '').split(/, */); + var protError; + + if (!protocols && serverProt) { + protError = 'Server sent a subprotocol but none was requested'; + } else if (protocols && !serverProt) { + protError = 'Server sent no subprotocol'; + } else if (serverProt && !protList.includes(serverProt)) { + protError = 'Server sent an invalid subprotocol'; + } + + if (protError) { + abortHandshake$1(websocket, socket, protError); + return; + } + + if (serverProt) websocket.protocol = serverProt; + + if (perMessageDeflate) { + try { + const extensions = extension$1.parse( + res.headers['sec-websocket-extensions'] + ); + + if (extensions[PerMessageDeflate$1.extensionName]) { + perMessageDeflate.accept(extensions[PerMessageDeflate$1.extensionName]); + websocket._extensions[ + PerMessageDeflate$1.extensionName + ] = perMessageDeflate; + } + } catch (err) { + abortHandshake$1( + websocket, + socket, + 'Invalid Sec-WebSocket-Extensions header' + ); + return; + } + } + + websocket.setSocket(socket, head, opts.maxPayload); + }); +} + +/** + * Create a `net.Socket` and initiate a connection. + * + * @param {Object} options Connection options + * @return {net.Socket} The newly created socket used to start the connection + * @private + */ +function netConnect(options) { + // + // Override `options.path` only if `options` is a copy of the original options + // object. This is always true on Node.js >= 8 but not on Node.js 6 where + // `options.socketPath` might be `undefined` even if the `socketPath` option + // was originally set. + // + if (options.protocolVersion) options.path = options.socketPath; + return net.connect(options); +} + +/** + * Create a `tls.TLSSocket` and initiate a connection. + * + * @param {Object} options Connection options + * @return {tls.TLSSocket} The newly created socket used to start the connection + * @private + */ +function tlsConnect(options) { + options.path = undefined; + options.servername = options.servername || options.host; + return tls.connect(options); +} + +/** + * Abort the handshake and emit an error. + * + * @param {WebSocket} websocket The WebSocket instance + * @param {(http.ClientRequest|net.Socket)} stream The request to abort or the + * socket to destroy + * @param {String} message The error message + * @private + */ +function abortHandshake$1(websocket, stream, message) { + websocket.readyState = WebSocket$3.CLOSING; + + const err = new Error(message); + Error.captureStackTrace(err, abortHandshake$1); + + if (stream.setHeader) { + stream.abort(); + stream.once('abort', websocket.emitClose.bind(websocket)); + websocket.emit('error', err); + } else { + stream.destroy(err); + stream.once('error', websocket.emit.bind(websocket, 'error')); + stream.once('close', websocket.emitClose.bind(websocket)); + } +} + +/** + * The listener of the `Receiver` `'conclude'` event. + * + * @param {Number} code The status code + * @param {String} reason The reason for closing + * @private + */ +function receiverOnConclude(code, reason) { + const websocket = this[kWebSocket]; + + websocket._socket.removeListener('data', socketOnData); + websocket._socket.resume(); + + websocket._closeFrameReceived = true; + websocket._closeMessage = reason; + websocket._closeCode = code; + + if (code === 1005) websocket.close(); + else websocket.close(code, reason); +} + +/** + * The listener of the `Receiver` `'drain'` event. + * + * @private + */ +function receiverOnDrain() { + this[kWebSocket]._socket.resume(); +} + +/** + * The listener of the `Receiver` `'error'` event. + * + * @param {(RangeError|Error)} err The emitted error + * @private + */ +function receiverOnError(err) { + const websocket = this[kWebSocket]; + + websocket._socket.removeListener('data', socketOnData); + + websocket.readyState = WebSocket$3.CLOSING; + websocket._closeCode = err[kStatusCode]; + websocket.emit('error', err); + websocket._socket.destroy(); +} + +/** + * The listener of the `Receiver` `'finish'` event. + * + * @private + */ +function receiverOnFinish() { + this[kWebSocket].emitClose(); +} + +/** + * The listener of the `Receiver` `'message'` event. + * + * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message + * @private + */ +function receiverOnMessage(data) { + this[kWebSocket].emit('message', data); +} + +/** + * The listener of the `Receiver` `'ping'` event. + * + * @param {Buffer} data The data included in the ping frame + * @private + */ +function receiverOnPing(data) { + const websocket = this[kWebSocket]; + + websocket.pong(data, !websocket._isServer, NOOP); + websocket.emit('ping', data); +} + +/** + * The listener of the `Receiver` `'pong'` event. + * + * @param {Buffer} data The data included in the pong frame + * @private + */ +function receiverOnPong(data) { + this[kWebSocket].emit('pong', data); +} + +/** + * The listener of the `net.Socket` `'close'` event. + * + * @private + */ +function socketOnClose() { + const websocket = this[kWebSocket]; + + this.removeListener('close', socketOnClose); + this.removeListener('end', socketOnEnd); + + websocket.readyState = WebSocket$3.CLOSING; + + // + // The close frame might not have been received or the `'end'` event emitted, + // for example, if the socket was destroyed due to an error. Ensure that the + // `receiver` stream is closed after writing any remaining buffered data to + // it. If the readable side of the socket is in flowing mode then there is no + // buffered data as everything has been already written and `readable.read()` + // will return `null`. If instead, the socket is paused, any possible buffered + // data will be read as a single chunk and emitted synchronously in a single + // `'data'` event. + // + websocket._socket.read(); + websocket._receiver.end(); + + this.removeListener('data', socketOnData); + this[kWebSocket] = undefined; + + clearTimeout(websocket._closeTimer); + + if ( + websocket._receiver._writableState.finished || + websocket._receiver._writableState.errorEmitted + ) { + websocket.emitClose(); + } else { + websocket._receiver.on('error', receiverOnFinish); + websocket._receiver.on('finish', receiverOnFinish); + } +} + +/** + * The listener of the `net.Socket` `'data'` event. + * + * @param {Buffer} chunk A chunk of data + * @private + */ +function socketOnData(chunk) { + if (!this[kWebSocket]._receiver.write(chunk)) { + this.pause(); + } +} + +/** + * The listener of the `net.Socket` `'end'` event. + * + * @private + */ +function socketOnEnd() { + const websocket = this[kWebSocket]; + + websocket.readyState = WebSocket$3.CLOSING; + websocket._receiver.end(); + this.end(); +} + +/** + * The listener of the `net.Socket` `'error'` event. + * + * @private + */ +function socketOnError$1() { + const websocket = this[kWebSocket]; + + this.removeListener('error', socketOnError$1); + this.on('error', NOOP); + + websocket.readyState = WebSocket$3.CLOSING; + this.destroy(); +} + +const EventEmitter$1 = require$$0__default$2["default"]; +const crypto$8 = require$$0__default["default"]; +const http = http__default["default"]; + +const PerMessageDeflate = permessageDeflate; +const extension = extension$2; +const WebSocket$2 = websocket; +const { GUID } = constants; + +const keyRegex = /^[+/0-9A-Za-z]{22}==$/; + +/** + * Class representing a WebSocket server. + * + * @extends EventEmitter + */ +class WebSocketServer extends EventEmitter$1 { + /** + * Create a `WebSocketServer` instance. + * + * @param {Object} options Configuration options + * @param {Number} options.backlog The maximum length of the queue of pending + * connections + * @param {Boolean} options.clientTracking Specifies whether or not to track + * clients + * @param {Function} options.handleProtocols An hook to handle protocols + * @param {String} options.host The hostname where to bind the server + * @param {Number} options.maxPayload The maximum allowed message size + * @param {Boolean} options.noServer Enable no server mode + * @param {String} options.path Accept only connections matching this path + * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable + * permessage-deflate + * @param {Number} options.port The port where to bind the server + * @param {http.Server} options.server A pre-created HTTP/S server to use + * @param {Function} options.verifyClient An hook to reject connections + * @param {Function} callback A listener for the `listening` event + */ + constructor(options, callback) { + super(); + + options = Object.assign( + { + maxPayload: 100 * 1024 * 1024, + perMessageDeflate: false, + handleProtocols: null, + clientTracking: true, + verifyClient: null, + noServer: false, + backlog: null, // use default (511 as implemented in net.js) + server: null, + host: null, + path: null, + port: null + }, + options + ); + + if (options.port == null && !options.server && !options.noServer) { + throw new TypeError( + 'One of the "port", "server", or "noServer" options must be specified' + ); + } + + if (options.port != null) { + this._server = http.createServer((req, res) => { + const body = http.STATUS_CODES[426]; + + res.writeHead(426, { + 'Content-Length': body.length, + 'Content-Type': 'text/plain' + }); + res.end(body); + }); + this._server.listen( + options.port, + options.host, + options.backlog, + callback + ); + } else if (options.server) { + this._server = options.server; + } + + if (this._server) { + this._removeListeners = addListeners(this._server, { + listening: this.emit.bind(this, 'listening'), + error: this.emit.bind(this, 'error'), + upgrade: (req, socket, head) => { + this.handleUpgrade(req, socket, head, (ws) => { + this.emit('connection', ws, req); + }); + } + }); + } + + if (options.perMessageDeflate === true) options.perMessageDeflate = {}; + if (options.clientTracking) this.clients = new Set(); + this.options = options; + } + + /** + * Returns the bound address, the address family name, and port of the server + * as reported by the operating system if listening on an IP socket. + * If the server is listening on a pipe or UNIX domain socket, the name is + * returned as a string. + * + * @return {(Object|String|null)} The address of the server + * @public + */ + address() { + if (this.options.noServer) { + throw new Error('The server is operating in "noServer" mode'); + } + + if (!this._server) return null; + return this._server.address(); + } + + /** + * Close the server. + * + * @param {Function} cb Callback + * @public + */ + close(cb) { + if (cb) this.once('close', cb); + + // + // Terminate all associated clients. + // + if (this.clients) { + for (const client of this.clients) client.terminate(); + } + + const server = this._server; + + if (server) { + this._removeListeners(); + this._removeListeners = this._server = null; + + // + // Close the http server if it was internally created. + // + if (this.options.port != null) { + server.close(() => this.emit('close')); + return; + } + } + + process.nextTick(emitClose, this); + } + + /** + * See if a given request should be handled by this server instance. + * + * @param {http.IncomingMessage} req Request object to inspect + * @return {Boolean} `true` if the request is valid, else `false` + * @public + */ + shouldHandle(req) { + if (this.options.path) { + const index = req.url.indexOf('?'); + const pathname = index !== -1 ? req.url.slice(0, index) : req.url; + + if (pathname !== this.options.path) return false; + } + + return true; + } + + /** + * Handle a HTTP Upgrade request. + * + * @param {http.IncomingMessage} req The request object + * @param {net.Socket} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Function} cb Callback + * @public + */ + handleUpgrade(req, socket, head, cb) { + socket.on('error', socketOnError); + + const key = + req.headers['sec-websocket-key'] !== undefined + ? req.headers['sec-websocket-key'].trim() + : false; + const version = +req.headers['sec-websocket-version']; + const extensions = {}; + + if ( + req.method !== 'GET' || + req.headers.upgrade.toLowerCase() !== 'websocket' || + !key || + !keyRegex.test(key) || + (version !== 8 && version !== 13) || + !this.shouldHandle(req) + ) { + return abortHandshake(socket, 400); + } + + if (this.options.perMessageDeflate) { + const perMessageDeflate = new PerMessageDeflate( + this.options.perMessageDeflate, + true, + this.options.maxPayload + ); + + try { + const offers = extension.parse(req.headers['sec-websocket-extensions']); + + if (offers[PerMessageDeflate.extensionName]) { + perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]); + extensions[PerMessageDeflate.extensionName] = perMessageDeflate; + } + } catch (err) { + return abortHandshake(socket, 400); + } + } + + // + // Optionally call external client verification handler. + // + if (this.options.verifyClient) { + const info = { + origin: + req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`], + secure: !!(req.connection.authorized || req.connection.encrypted), + req + }; + + if (this.options.verifyClient.length === 2) { + this.options.verifyClient(info, (verified, code, message, headers) => { + if (!verified) { + return abortHandshake(socket, code || 401, message, headers); + } + + this.completeUpgrade(key, extensions, req, socket, head, cb); + }); + return; + } + + if (!this.options.verifyClient(info)) return abortHandshake(socket, 401); + } + + this.completeUpgrade(key, extensions, req, socket, head, cb); + } + + /** + * Upgrade the connection to WebSocket. + * + * @param {String} key The value of the `Sec-WebSocket-Key` header + * @param {Object} extensions The accepted extensions + * @param {http.IncomingMessage} req The request object + * @param {net.Socket} socket The network socket between the server and client + * @param {Buffer} head The first packet of the upgraded stream + * @param {Function} cb Callback + * @private + */ + completeUpgrade(key, extensions, req, socket, head, cb) { + // + // Destroy the socket if the client has already sent a FIN packet. + // + if (!socket.readable || !socket.writable) return socket.destroy(); + + const digest = crypto$8 + .createHash('sha1') + .update(key + GUID) + .digest('base64'); + + const headers = [ + 'HTTP/1.1 101 Switching Protocols', + 'Upgrade: websocket', + 'Connection: Upgrade', + `Sec-WebSocket-Accept: ${digest}` + ]; + + const ws = new WebSocket$2(null); + var protocol = req.headers['sec-websocket-protocol']; + + if (protocol) { + protocol = protocol.split(',').map(trim); + + // + // Optionally call external protocol selection handler. + // + if (this.options.handleProtocols) { + protocol = this.options.handleProtocols(protocol, req); + } else { + protocol = protocol[0]; + } + + if (protocol) { + headers.push(`Sec-WebSocket-Protocol: ${protocol}`); + ws.protocol = protocol; + } + } + + if (extensions[PerMessageDeflate.extensionName]) { + const params = extensions[PerMessageDeflate.extensionName].params; + const value = extension.format({ + [PerMessageDeflate.extensionName]: [params] + }); + headers.push(`Sec-WebSocket-Extensions: ${value}`); + ws._extensions = extensions; + } + + // + // Allow external modification/inspection of handshake headers. + // + this.emit('headers', headers, req); + + socket.write(headers.concat('\r\n').join('\r\n')); + socket.removeListener('error', socketOnError); + + ws.setSocket(socket, head, this.options.maxPayload); + + if (this.clients) { + this.clients.add(ws); + ws.on('close', () => this.clients.delete(ws)); + } + + cb(ws); + } +} + +var websocketServer = WebSocketServer; + +/** + * Add event listeners on an `EventEmitter` using a map of + * pairs. + * + * @param {EventEmitter} server The event emitter + * @param {Object.} map The listeners to add + * @return {Function} A function that will remove the added listeners when called + * @private + */ +function addListeners(server, map) { + for (const event of Object.keys(map)) server.on(event, map[event]); + + return function removeListeners() { + for (const event of Object.keys(map)) { + server.removeListener(event, map[event]); + } + }; +} + +/** + * Emit a `'close'` event on an `EventEmitter`. + * + * @param {EventEmitter} server The event emitter + * @private + */ +function emitClose(server) { + server.emit('close'); +} + +/** + * Handle premature socket errors. + * + * @private + */ +function socketOnError() { + this.destroy(); +} + +/** + * Close the connection when preconditions are not fulfilled. + * + * @param {net.Socket} socket The socket of the upgrade request + * @param {Number} code The HTTP response status code + * @param {String} [message] The HTTP response body + * @param {Object} [headers] Additional HTTP response headers + * @private + */ +function abortHandshake(socket, code, message, headers) { + if (socket.writable) { + message = message || http.STATUS_CODES[code]; + headers = Object.assign( + { + Connection: 'close', + 'Content-type': 'text/html', + 'Content-Length': Buffer.byteLength(message) + }, + headers + ); + + socket.write( + `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\r\n` + + Object.keys(headers) + .map((h) => `${h}: ${headers[h]}`) + .join('\r\n') + + '\r\n\r\n' + + message + ); + } + + socket.removeListener('error', socketOnError); + socket.destroy(); +} + +/** + * Remove whitespace characters from both ends of a string. + * + * @param {String} str The string + * @return {String} A new string representing `str` stripped of whitespace + * characters from both its beginning and end + * @private + */ +function trim(str) { + return str.trim(); +} + +const WebSocket$1 = websocket; + +WebSocket$1.Server = websocketServer; +WebSocket$1.Receiver = receiver; +WebSocket$1.Sender = sender; + +var ws = WebSocket$1; + +var duplex = {}; + +var helpers = {}; + +/*! + * https://github.com/Starcounter-Jack/JSON-Patch + * (c) 2017 Joachim Wester + * MIT license + */ + +var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +Object.defineProperty(helpers, "__esModule", { value: true }); +var _hasOwnProperty = Object.prototype.hasOwnProperty; +function hasOwnProperty(obj, key) { + return _hasOwnProperty.call(obj, key); +} +helpers.hasOwnProperty = hasOwnProperty; +function _objectKeys(obj) { + if (Array.isArray(obj)) { + var keys = new Array(obj.length); + for (var k = 0; k < keys.length; k++) { + keys[k] = "" + k; + } + return keys; + } + if (Object.keys) { + return Object.keys(obj); + } + var keys = []; + for (var i in obj) { + if (hasOwnProperty(obj, i)) { + keys.push(i); + } + } + return keys; +} +helpers._objectKeys = _objectKeys; +/** +* Deeply clone the object. +* https://jsperf.com/deep-copy-vs-json-stringify-json-parse/25 (recursiveDeepCopy) +* @param {any} obj value to clone +* @return {any} cloned obj +*/ +function _deepClone(obj) { + switch (typeof obj) { + case "object": + return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5 + case "undefined": + return null; //this is how JSON.stringify behaves for array items + default: + return obj; //no need to clone primitives + } +} +helpers._deepClone = _deepClone; +//3x faster than cached /^\d+$/.test(str) +function isInteger(str) { + var i = 0; + var len = str.length; + var charCode; + while (i < len) { + charCode = str.charCodeAt(i); + if (charCode >= 48 && charCode <= 57) { + i++; + continue; + } + return false; + } + return true; +} +helpers.isInteger = isInteger; +/** +* Escapes a json pointer path +* @param path The raw pointer +* @return the Escaped path +*/ +function escapePathComponent(path) { + if (path.indexOf('/') === -1 && path.indexOf('~') === -1) + return path; + return path.replace(/~/g, '~0').replace(/\//g, '~1'); +} +helpers.escapePathComponent = escapePathComponent; +/** + * Unescapes a json pointer path + * @param path The escaped pointer + * @return The unescaped path + */ +function unescapePathComponent(path) { + return path.replace(/~1/g, '/').replace(/~0/g, '~'); +} +helpers.unescapePathComponent = unescapePathComponent; +function _getPathRecursive(root, obj) { + var found; + for (var key in root) { + if (hasOwnProperty(root, key)) { + if (root[key] === obj) { + return escapePathComponent(key) + '/'; + } + else if (typeof root[key] === 'object') { + found = _getPathRecursive(root[key], obj); + if (found != '') { + return escapePathComponent(key) + '/' + found; + } + } + } + } + return ''; +} +helpers._getPathRecursive = _getPathRecursive; +function getPath(root, obj) { + if (root === obj) { + return '/'; + } + var path = _getPathRecursive(root, obj); + if (path === '') { + throw new Error("Object not found in root"); + } + return '/' + path; +} +helpers.getPath = getPath; +/** +* Recursively checks whether an object has any undefined values inside. +*/ +function hasUndefined(obj) { + if (obj === undefined) { + return true; + } + if (obj) { + if (Array.isArray(obj)) { + for (var i = 0, len = obj.length; i < len; i++) { + if (hasUndefined(obj[i])) { + return true; + } + } + } + else if (typeof obj === "object") { + var objKeys = _objectKeys(obj); + var objKeysLength = objKeys.length; + for (var i = 0; i < objKeysLength; i++) { + if (hasUndefined(obj[objKeys[i]])) { + return true; + } + } + } + } + return false; +} +helpers.hasUndefined = hasUndefined; +function patchErrorMessageFormatter(message, args) { + var messageParts = [message]; + for (var key in args) { + var value = typeof args[key] === 'object' ? JSON.stringify(args[key], null, 2) : args[key]; // pretty print + if (typeof value !== 'undefined') { + messageParts.push(key + ": " + value); + } + } + return messageParts.join('\n'); +} +var PatchError = /** @class */ (function (_super) { + __extends(PatchError, _super); + function PatchError(message, name, index, operation, tree) { + var _newTarget = this.constructor; + var _this = _super.call(this, patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree })) || this; + _this.name = name; + _this.index = index; + _this.operation = operation; + _this.tree = tree; + Object.setPrototypeOf(_this, _newTarget.prototype); // restore prototype chain, see https://stackoverflow.com/a/48342359 + _this.message = patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree }); + return _this; + } + return PatchError; +}(Error)); +helpers.PatchError = PatchError; + +var core$1 = {}; + +var isArray = Array.isArray; +var keyList = Object.keys; +var hasProp = Object.prototype.hasOwnProperty; + +var fastDeepEqual = function equal(a, b) { + if (a === b) return true; + + if (a && b && typeof a == 'object' && typeof b == 'object') { + var arrA = isArray(a) + , arrB = isArray(b) + , i + , length + , key; + + if (arrA && arrB) { + length = a.length; + if (length != b.length) return false; + for (i = length; i-- !== 0;) + if (!equal(a[i], b[i])) return false; + return true; + } + + if (arrA != arrB) return false; + + var dateA = a instanceof Date + , dateB = b instanceof Date; + if (dateA != dateB) return false; + if (dateA && dateB) return a.getTime() == b.getTime(); + + var regexpA = a instanceof RegExp + , regexpB = b instanceof RegExp; + if (regexpA != regexpB) return false; + if (regexpA && regexpB) return a.toString() == b.toString(); + + var keys = keyList(a); + length = keys.length; + + if (length !== keyList(b).length) + return false; + + for (i = length; i-- !== 0;) + if (!hasProp.call(b, keys[i])) return false; + + for (i = length; i-- !== 0;) { + key = keys[i]; + if (!equal(a[key], b[key])) return false; + } + + return true; + } + + return a!==a && b!==b; +}; + +(function (exports) { + Object.defineProperty(exports, "__esModule", { value: true }); + var areEquals = fastDeepEqual; + var helpers_1 = helpers; + exports.JsonPatchError = helpers_1.PatchError; + exports.deepClone = helpers_1._deepClone; + /* We use a Javascript hash to store each + function. Each hash entry (property) uses + the operation identifiers specified in rfc6902. + In this way, we can map each patch operation + to its dedicated function in efficient way. + */ + /* The operations applicable to an object */ + var objOps = { + add: function (obj, key, document) { + obj[key] = this.value; + return { newDocument: document }; + }, + remove: function (obj, key, document) { + var removed = obj[key]; + delete obj[key]; + return { newDocument: document, removed: removed }; + }, + replace: function (obj, key, document) { + var removed = obj[key]; + obj[key] = this.value; + return { newDocument: document, removed: removed }; + }, + move: function (obj, key, document) { + /* in case move target overwrites an existing value, + return the removed value, this can be taxing performance-wise, + and is potentially unneeded */ + var removed = getValueByPointer(document, this.path); + if (removed) { + removed = helpers_1._deepClone(removed); + } + var originalValue = applyOperation(document, { op: "remove", path: this.from }).removed; + applyOperation(document, { op: "add", path: this.path, value: originalValue }); + return { newDocument: document, removed: removed }; + }, + copy: function (obj, key, document) { + var valueToCopy = getValueByPointer(document, this.from); + // enforce copy by value so further operations don't affect source (see issue #177) + applyOperation(document, { op: "add", path: this.path, value: helpers_1._deepClone(valueToCopy) }); + return { newDocument: document }; + }, + test: function (obj, key, document) { + return { newDocument: document, test: areEquals(obj[key], this.value) }; + }, + _get: function (obj, key, document) { + this.value = obj[key]; + return { newDocument: document }; + } + }; + /* The operations applicable to an array. Many are the same as for the object */ + var arrOps = { + add: function (arr, i, document) { + if (helpers_1.isInteger(i)) { + arr.splice(i, 0, this.value); + } + else { // array props + arr[i] = this.value; + } + // this may be needed when using '-' in an array + return { newDocument: document, index: i }; + }, + remove: function (arr, i, document) { + var removedList = arr.splice(i, 1); + return { newDocument: document, removed: removedList[0] }; + }, + replace: function (arr, i, document) { + var removed = arr[i]; + arr[i] = this.value; + return { newDocument: document, removed: removed }; + }, + move: objOps.move, + copy: objOps.copy, + test: objOps.test, + _get: objOps._get + }; + /** + * Retrieves a value from a JSON document by a JSON pointer. + * Returns the value. + * + * @param document The document to get the value from + * @param pointer an escaped JSON pointer + * @return The retrieved value + */ + function getValueByPointer(document, pointer) { + if (pointer == '') { + return document; + } + var getOriginalDestination = { op: "_get", path: pointer }; + applyOperation(document, getOriginalDestination); + return getOriginalDestination.value; + } + exports.getValueByPointer = getValueByPointer; + /** + * Apply a single JSON Patch Operation on a JSON document. + * Returns the {newDocument, result} of the operation. + * It modifies the `document` and `operation` objects - it gets the values by reference. + * If you would like to avoid touching your values, clone them: + * `jsonpatch.applyOperation(document, jsonpatch._deepClone(operation))`. + * + * @param document The document to patch + * @param operation The operation to apply + * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. + * @param mutateDocument Whether to mutate the original document or clone it before applying + * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. + * @return `{newDocument, result}` after the operation + */ + function applyOperation(document, operation, validateOperation, mutateDocument, banPrototypeModifications, index) { + if (validateOperation === void 0) { validateOperation = false; } + if (mutateDocument === void 0) { mutateDocument = true; } + if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } + if (index === void 0) { index = 0; } + if (validateOperation) { + if (typeof validateOperation == 'function') { + validateOperation(operation, 0, document, operation.path); + } + else { + validator(operation, 0); + } + } + /* ROOT OPERATIONS */ + if (operation.path === "") { + var returnValue = { newDocument: document }; + if (operation.op === 'add') { + returnValue.newDocument = operation.value; + return returnValue; + } + else if (operation.op === 'replace') { + returnValue.newDocument = operation.value; + returnValue.removed = document; //document we removed + return returnValue; + } + else if (operation.op === 'move' || operation.op === 'copy') { // it's a move or copy to root + returnValue.newDocument = getValueByPointer(document, operation.from); // get the value by json-pointer in `from` field + if (operation.op === 'move') { // report removed item + returnValue.removed = document; + } + return returnValue; + } + else if (operation.op === 'test') { + returnValue.test = areEquals(document, operation.value); + if (returnValue.test === false) { + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + returnValue.newDocument = document; + return returnValue; + } + else if (operation.op === 'remove') { // a remove on root + returnValue.removed = document; + returnValue.newDocument = null; + return returnValue; + } + else if (operation.op === '_get') { + operation.value = document; + return returnValue; + } + else { /* bad operation */ + if (validateOperation) { + throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); + } + else { + return returnValue; + } + } + } /* END ROOT OPERATIONS */ + else { + if (!mutateDocument) { + document = helpers_1._deepClone(document); + } + var path = operation.path || ""; + var keys = path.split('/'); + var obj = document; + var t = 1; //skip empty element - http://jsperf.com/to-shift-or-not-to-shift + var len = keys.length; + var existingPathFragment = undefined; + var key = void 0; + var validateFunction = void 0; + if (typeof validateOperation == 'function') { + validateFunction = validateOperation; + } + else { + validateFunction = validator; + } + while (true) { + key = keys[t]; + if (banPrototypeModifications && key == '__proto__') { + throw new TypeError('JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README'); + } + if (validateOperation) { + if (existingPathFragment === undefined) { + if (obj[key] === undefined) { + existingPathFragment = keys.slice(0, t).join('/'); + } + else if (t == len - 1) { + existingPathFragment = operation.path; + } + if (existingPathFragment !== undefined) { + validateFunction(operation, 0, document, existingPathFragment); + } + } + } + t++; + if (Array.isArray(obj)) { + if (key === '-') { + key = obj.length; + } + else { + if (validateOperation && !helpers_1.isInteger(key)) { + throw new exports.JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index", "OPERATION_PATH_ILLEGAL_ARRAY_INDEX", index, operation, document); + } // only parse key when it's an integer for `arr.prop` to work + else if (helpers_1.isInteger(key)) { + key = ~~key; + } + } + if (t >= len) { + if (validateOperation && operation.op === "add" && key > obj.length) { + throw new exports.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array", "OPERATION_VALUE_OUT_OF_BOUNDS", index, operation, document); + } + var returnValue = arrOps[operation.op].call(operation, obj, key, document); // Apply patch + if (returnValue.test === false) { + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + return returnValue; + } + } + else { + if (key && key.indexOf('~') != -1) { + key = helpers_1.unescapePathComponent(key); + } + if (t >= len) { + var returnValue = objOps[operation.op].call(operation, obj, key, document); // Apply patch + if (returnValue.test === false) { + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + return returnValue; + } + } + obj = obj[key]; + } + } + } + exports.applyOperation = applyOperation; + /** + * Apply a full JSON Patch array on a JSON document. + * Returns the {newDocument, result} of the patch. + * It modifies the `document` object and `patch` - it gets the values by reference. + * If you would like to avoid touching your values, clone them: + * `jsonpatch.applyPatch(document, jsonpatch._deepClone(patch))`. + * + * @param document The document to patch + * @param patch The patch to apply + * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. + * @param mutateDocument Whether to mutate the original document or clone it before applying + * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. + * @return An array of `{newDocument, result}` after the patch + */ + function applyPatch(document, patch, validateOperation, mutateDocument, banPrototypeModifications) { + if (mutateDocument === void 0) { mutateDocument = true; } + if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } + if (validateOperation) { + if (!Array.isArray(patch)) { + throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); + } + } + if (!mutateDocument) { + document = helpers_1._deepClone(document); + } + var results = new Array(patch.length); + for (var i = 0, length_1 = patch.length; i < length_1; i++) { + // we don't need to pass mutateDocument argument because if it was true, we already deep cloned the object, we'll just pass `true` + results[i] = applyOperation(document, patch[i], validateOperation, true, banPrototypeModifications, i); + document = results[i].newDocument; // in case root was replaced + } + results.newDocument = document; + return results; + } + exports.applyPatch = applyPatch; + /** + * Apply a single JSON Patch Operation on a JSON document. + * Returns the updated document. + * Suitable as a reducer. + * + * @param document The document to patch + * @param operation The operation to apply + * @return The updated document + */ + function applyReducer(document, operation, index) { + var operationResult = applyOperation(document, operation); + if (operationResult.test === false) { // failed test + throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); + } + return operationResult.newDocument; + } + exports.applyReducer = applyReducer; + /** + * Validates a single operation. Called from `jsonpatch.validate`. Throws `JsonPatchError` in case of an error. + * @param {object} operation - operation object (patch) + * @param {number} index - index of operation in the sequence + * @param {object} [document] - object where the operation is supposed to be applied + * @param {string} [existingPathFragment] - comes along with `document` + */ + function validator(operation, index, document, existingPathFragment) { + if (typeof operation !== 'object' || operation === null || Array.isArray(operation)) { + throw new exports.JsonPatchError('Operation is not an object', 'OPERATION_NOT_AN_OBJECT', index, operation, document); + } + else if (!objOps[operation.op]) { + throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); + } + else if (typeof operation.path !== 'string') { + throw new exports.JsonPatchError('Operation `path` property is not a string', 'OPERATION_PATH_INVALID', index, operation, document); + } + else if (operation.path.indexOf('/') !== 0 && operation.path.length > 0) { + // paths that aren't empty string should start with "/" + throw new exports.JsonPatchError('Operation `path` property must start with "/"', 'OPERATION_PATH_INVALID', index, operation, document); + } + else if ((operation.op === 'move' || operation.op === 'copy') && typeof operation.from !== 'string') { + throw new exports.JsonPatchError('Operation `from` property is not present (applicable in `move` and `copy` operations)', 'OPERATION_FROM_REQUIRED', index, operation, document); + } + else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && operation.value === undefined) { + throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_REQUIRED', index, operation, document); + } + else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && helpers_1.hasUndefined(operation.value)) { + throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED', index, operation, document); + } + else if (document) { + if (operation.op == "add") { + var pathLen = operation.path.split("/").length; + var existingPathLen = existingPathFragment.split("/").length; + if (pathLen !== existingPathLen + 1 && pathLen !== existingPathLen) { + throw new exports.JsonPatchError('Cannot perform an `add` operation at the desired path', 'OPERATION_PATH_CANNOT_ADD', index, operation, document); + } + } + else if (operation.op === 'replace' || operation.op === 'remove' || operation.op === '_get') { + if (operation.path !== existingPathFragment) { + throw new exports.JsonPatchError('Cannot perform the operation at a path that does not exist', 'OPERATION_PATH_UNRESOLVABLE', index, operation, document); + } + } + else if (operation.op === 'move' || operation.op === 'copy') { + var existingValue = { op: "_get", path: operation.from, value: undefined }; + var error = validate([existingValue], document); + if (error && error.name === 'OPERATION_PATH_UNRESOLVABLE') { + throw new exports.JsonPatchError('Cannot perform the operation from a path that does not exist', 'OPERATION_FROM_UNRESOLVABLE', index, operation, document); + } + } + } + } + exports.validator = validator; + /** + * Validates a sequence of operations. If `document` parameter is provided, the sequence is additionally validated against the object document. + * If error is encountered, returns a JsonPatchError object + * @param sequence + * @param document + * @returns {JsonPatchError|undefined} + */ + function validate(sequence, document, externalValidator) { + try { + if (!Array.isArray(sequence)) { + throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); + } + if (document) { + //clone document and sequence so that we can safely try applying operations + applyPatch(helpers_1._deepClone(document), helpers_1._deepClone(sequence), externalValidator || true); + } + else { + externalValidator = externalValidator || validator; + for (var i = 0; i < sequence.length; i++) { + externalValidator(sequence[i], i, document, undefined); + } + } + } + catch (e) { + if (e instanceof exports.JsonPatchError) { + return e; + } + else { + throw e; + } + } + } + exports.validate = validate; + /** + * Default export for backwards compat + */ + exports.default = { + JsonPatchError: exports.JsonPatchError, + deepClone: exports.deepClone, + getValueByPointer: getValueByPointer, + applyOperation: applyOperation, + applyPatch: applyPatch, + applyReducer: applyReducer, + validator: validator, + validate: validate + }; +} (core$1)); + +var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +Object.defineProperty(duplex, "__esModule", { value: true }); +/*! + * https://github.com/Starcounter-Jack/JSON-Patch + * (c) 2017 Joachim Wester + * MIT license + */ +var helpers_1 = helpers; +var core_1 = core$1; +/* export all core functions and types */ +var core_2 = core$1; +duplex.applyOperation = core_2.applyOperation; +duplex.applyPatch = core_2.applyPatch; +duplex.applyReducer = core_2.applyReducer; +duplex.getValueByPointer = core_2.getValueByPointer; +duplex.validate = core_2.validate; +duplex.validator = core_2.validator; +/* export some helpers */ +var helpers_2 = helpers; +duplex.JsonPatchError = helpers_2.PatchError; +duplex.deepClone = helpers_2._deepClone; +duplex.escapePathComponent = helpers_2.escapePathComponent; +duplex.unescapePathComponent = helpers_2.unescapePathComponent; +var beforeDict = new WeakMap(); +var Mirror = /** @class */ (function () { + function Mirror(obj) { + this.observers = new Map(); + this.obj = obj; + } + return Mirror; +}()); +var ObserverInfo = /** @class */ (function () { + function ObserverInfo(callback, observer) { + this.callback = callback; + this.observer = observer; + } + return ObserverInfo; +}()); +function getMirror(obj) { + return beforeDict.get(obj); +} +function getObserverFromMirror(mirror, callback) { + return mirror.observers.get(callback); +} +function removeObserverFromMirror(mirror, observer) { + mirror.observers.delete(observer.callback); +} +/** + * Detach an observer from an object + */ +function unobserve(root, observer) { + observer.unobserve(); +} +duplex.unobserve = unobserve; +/** + * Observes changes made to an object, which can then be retrieved using generate + */ +function observe(obj, callback) { + var patches = []; + var observer; + var mirror = getMirror(obj); + if (!mirror) { + mirror = new Mirror(obj); + beforeDict.set(obj, mirror); + } + else { + var observerInfo = getObserverFromMirror(mirror, callback); + observer = observerInfo && observerInfo.observer; + } + if (observer) { + return observer; + } + observer = {}; + mirror.value = helpers_1._deepClone(obj); + if (callback) { + observer.callback = callback; + observer.next = null; + var dirtyCheck = function () { + generate(observer); + }; + var fastCheck = function () { + clearTimeout(observer.next); + observer.next = setTimeout(dirtyCheck); + }; + if (typeof window !== 'undefined') { //not Node + window.addEventListener('mouseup', fastCheck); + window.addEventListener('keyup', fastCheck); + window.addEventListener('mousedown', fastCheck); + window.addEventListener('keydown', fastCheck); + window.addEventListener('change', fastCheck); + } + } + observer.patches = patches; + observer.object = obj; + observer.unobserve = function () { + generate(observer); + clearTimeout(observer.next); + removeObserverFromMirror(mirror, observer); + if (typeof window !== 'undefined') { + window.removeEventListener('mouseup', fastCheck); + window.removeEventListener('keyup', fastCheck); + window.removeEventListener('mousedown', fastCheck); + window.removeEventListener('keydown', fastCheck); + window.removeEventListener('change', fastCheck); + } + }; + mirror.observers.set(callback, new ObserverInfo(callback, observer)); + return observer; +} +duplex.observe = observe; +/** + * Generate an array of patches from an observer + */ +function generate(observer, invertible) { + if (invertible === void 0) { invertible = false; } + var mirror = beforeDict.get(observer.object); + _generate(mirror.value, observer.object, observer.patches, "", invertible); + if (observer.patches.length) { + core_1.applyPatch(mirror.value, observer.patches); + } + var temp = observer.patches; + if (temp.length > 0) { + observer.patches = []; + if (observer.callback) { + observer.callback(temp); + } + } + return temp; +} +duplex.generate = generate; +// Dirty check if obj is different from mirror, generate patches and update mirror +function _generate(mirror, obj, patches, path, invertible) { + if (obj === mirror) { + return; + } + if (typeof obj.toJSON === "function") { + obj = obj.toJSON(); + } + var newKeys = helpers_1._objectKeys(obj); + var oldKeys = helpers_1._objectKeys(mirror); + var deleted = false; + //if ever "move" operation is implemented here, make sure this test runs OK: "should not generate the same patch twice (move)" + for (var t = oldKeys.length - 1; t >= 0; t--) { + var key = oldKeys[t]; + var oldVal = mirror[key]; + if (helpers_1.hasOwnProperty(obj, key) && !(obj[key] === undefined && oldVal !== undefined && Array.isArray(obj) === false)) { + var newVal = obj[key]; + if (typeof oldVal == "object" && oldVal != null && typeof newVal == "object" && newVal != null) { + _generate(oldVal, newVal, patches, path + "/" + helpers_1.escapePathComponent(key), invertible); + } + else { + if (oldVal !== newVal) { + if (invertible) { + patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); + } + patches.push({ op: "replace", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(newVal) }); + } + } + } + else if (Array.isArray(mirror) === Array.isArray(obj)) { + if (invertible) { + patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); + } + patches.push({ op: "remove", path: path + "/" + helpers_1.escapePathComponent(key) }); + deleted = true; // property has been deleted + } + else { + if (invertible) { + patches.push({ op: "test", path: path, value: mirror }); + } + patches.push({ op: "replace", path: path, value: obj }); + } + } + if (!deleted && newKeys.length == oldKeys.length) { + return; + } + for (var t = 0; t < newKeys.length; t++) { + var key = newKeys[t]; + if (!helpers_1.hasOwnProperty(mirror, key) && obj[key] !== undefined) { + patches.push({ op: "add", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(obj[key]) }); + } + } +} +/** + * Create an array of patches from the differences in two objects + */ +function compare$1(tree1, tree2, invertible) { + if (invertible === void 0) { invertible = false; } + var patches = []; + _generate(tree1, tree2, patches, '', invertible); + return patches; +} +duplex.compare = compare$1; +/** + * Default export for backwards compat + */ +// import just to re-export as default +var core = core$1; +var helpers_3 = helpers; +duplex.default = __assign({}, core, { + // duplex + unobserve: unobserve, + observe: observe, + generate: generate, + compare: compare$1, + // helpers + JsonPatchError: helpers_3.PatchError, deepClone: helpers_1._deepClone, escapePathComponent: helpers_1.escapePathComponent, + unescapePathComponent: helpers_3.unescapePathComponent }); + +const crypto$7 = require$$0__default["default"]; + +/** + * Simple interaction with 256-bit spaces. + */ +class Hash256$3 { + /** + * Create an instance of a `Hash256` object by calling `new Hash256()`, + * where `settings` can be provided to supply a particular input object. + * + * If the `settings` is not a string, `input` must be provided. + * @param {Object} settings + * @param {String} settings.input Input string to map as 256-bit hash. + */ + constructor (settings = {}) { + if (typeof settings === 'string') settings = { input: settings }; + if (!settings.input) settings.input = crypto$7.randomBytes(32).toString('hex'); + + this.settings = Object.assign({ + hash: Hash256$3.digest(settings.input) + }, settings); + } + + /** + * Produce a SHA256 digest of some input data. + * @param {String|Buffer} input Content to digest. + * @returns {String} `SHA256(input)` as a hexadecimal string. + */ + static digest (input) { + if (typeof input !== 'string' && !(input instanceof Buffer)) { + throw new Error(`Input to process must be of type "String" or "Buffer" to digest.`); + } + + // consume and output as string + return crypto$7.createHash('sha256').update(input).digest('hex'); + } + + // TODO: document `hash256.value` + get value () { + return Hash256$3.digest(this.settings.input); + } + + /** + * Reverses the bytes of the digest. + */ + static reverse (input = '') { + return Buffer.from(input, 'hex').reverse().toString('hex'); + } + + reverse (input = this.value) { + return Hash256$3.reverse(input); + } +} + +var hash256$1 = Hash256$3; + +/** + * Create a new {@link Object} with sorted properties. + * @param {Object} [state] Object to sort. + * @returns {Object} Re-sorted instance of `state` as provided. + */ + +var _sortKeys$1 = function _sortKeys (state = {}) { + return Object.keys(state).sort().reduce((obj, key) => { + obj[key] = state[key]; + return obj; + }, {}); +}; + +// Dependencies +const crypto$6 = require$$0__default["default"]; +const { EventEmitter } = require$$0__default$2["default"]; +const monitor = duplex; + +// Fabric Types +const Hash256$2 = hash256$1; + +// Fabric Functions +const _sortKeys = _sortKeys$1; + +/** + * Generic Fabric Actor. + * @access protected + * @emits message Fabric {@link Message} objects. + * @property {String} id Unique identifier for this Actor (id === SHA256(preimage)). + * @property {String} preimage Input hash for the `id` property (preimage === SHA256(ActorState)). + */ +class Actor$4 extends EventEmitter { + /** + * Creates an {@link Actor}, which emits messages for other + * Actors to subscribe to. You can supply certain parameters + * for the actor, including key material [!!!] — be mindful of + * what you share with others! + * @param {Object} [actor] Object to use as the actor. + * @param {String} [actor.seed] BIP24 Mnemonic to use as a seed phrase. + * @param {Buffer} [actor.public] Public key. + * @param {Buffer} [actor.private] Private key. + * @returns {Actor} Instance of the Actor. Call {@link Actor#sign} to emit a {@link Signature}. + */ + constructor (actor = {}) { + super(actor); + + this.commits = []; + // this.signature = Buffer.alloc(64); + this.value = this._readObject(actor); // TODO: use Buffer? + + // Internal State + this._state = { + type: 'Actor', + data: this.value, + status: 'PAUSED', + content: this.value || {} + }; + + this.monitor = monitor.observe(this._state.content, this._handleMonitorChanges.bind(this)); + + // Chainable + return this; + } + + static fromAny (input = {}) { + let state = null; + + if (typeof input === 'string') { + state = { content: input }; + } else if (input instanceof Buffer) { + state = { content: input.toString('hex') }; + } else { + state = Object.assign({}, input); + } + + return new Actor$4(state); + } + + static fromJSON (input) { + let result = null; + + if (typeof input === 'string' && input.length) { + console.log('trying to parse as JSON:', input); + try { + result = JSON.parse(input); + } catch (E) { + console.error('Failure in fromJSON:', E); + } + } else { + console.trace('Invalid input:', typeof input); + } + + return result; + } + + static randomBytes (count = 32) { + return crypto$6.randomBytes(count); + } + + get id () { + const buffer = Buffer.from(this.preimage, 'hex'); + return Hash256$2.digest(buffer); + } + + get preimage () { + const input = { + 'type': 'FabricActorState', + 'object': this.toObject() + }; + + const string = JSON.stringify(input, null, ' '); + const buffer = Buffer.from(string, 'utf8'); + + return Hash256$2.digest(buffer); + } + + get state () { + return Object.assign({}, this._state.content); + } + + get status () { + return this._state.status; + } + + get type () { + return this._state['@type']; + } + + set state (value) { + this._state.content = value; + } + + set status (value) { + this._state.status = value; + } + + /** + * Resolve the current state to a commitment. + * @emits Actor Current malleable state. + * @returns {String} 32-byte ID + */ + commit () { + const state = new Actor$4(this._state.content); + const commit = new Actor$4({ + state: state.id + }); + + this.history.push(commit); + this.emit('commit', commit); + return commit.id; + } + + debug (...params) { + this.emit('debug', params); + } + + log (...params) { + this.emit('log', ...params); + } + + mutate (seed) { + if (seed === 0 || !seed) seed = this.randomBytes(32).toString('hex'); + + const patches = [ + { op: 'replace', path: '/seed', value: seed } + ]; + + monitor.applyPatch(this._state.content, patches); + this.commit(); + + return this; + } + + /** + * Casts the Actor to a normalized Buffer. + * @returns {Buffer} + */ + toBuffer () { + return Buffer.from(this.serialize(), 'utf8'); + } + + /** + * Returns the Actor's current state as an {@link Object}. + * @returns {Object} + */ + toObject () { + return _sortKeys(this.state); + } + + toString (format = 'json') { + switch (format) { + case 'hex': + return Buffer.from(this.serialize(), 'utf8').toString('hex'); + case 'json': + default: + return this.serialize(); + } + } + + pause () { + this.status = 'PAUSING'; + this.commit(); + return this; + } + + randomBytes (count = 32) { + return crypto$6.randomBytes(count); + } + + /** + * Serialize the Actor's current state into a JSON-formatted string. + * @returns {String} + */ + serialize () { + let json = null; + + try { + json = JSON.stringify(this.toObject(), null, ' '); + } catch (exception) { + json = JSON.stringify({ + type: 'Error', + content: `Exception serializing: ${exception}` + }, null, ' '); + } + + return json; + } + + sha256 (value) { + return Hash256$2.digest(value); + } + + /** + * Signs the Actor. + * @returns {Actor} + */ + sign () { + throw new Error('Unimplemented on this branch. Use @fabric/core/types/signer instead.'); + /* this.signature = this.key._sign(this.toBuffer()); + this.emit('signature', this.signature); + return this; */ + } + + /** + * Toggles `status` property to unpaused. + * @ + * @returns {Actor} + */ + unpause () { + this.status = 'UNPAUSING'; + this.commit(); + this.status = 'UNPAUSED'; + return this; + } + + _getField (name) { + return this._state.content[name]; + } + + /** + * Incurs 1 SYSCALL + * @access private + * @returns {Object} + */ + _getState () { + return this.state; + } + + _handleMonitorChanges (changes) { + console.log('got monitor changes from actor:', changes); + // TODO: emit global state event here + // after verify, commit + } + + /** + * Parse an Object into a corresponding Fabric state. + * @param {Object} input Object to read as input. + * @returns {Object} Fabric state. + */ + _readObject (input = {}) { + let state = {}; + + if (typeof input === 'string') { + state = Object.assign(state, { + type: 'String', + size: input.length, + content: input, + encoding: 'utf8' + }); + } else if (input instanceof Buffer) { + state = Object.assign(state, { + type: 'Buffer', + size: input.length, + content: input.toString('hex'), + encoding: 'hex' + }); + } else { + state = Object.assign(state, input); + } + + return state; + } +} + +var actor = Actor$4; + +var struct$1 = {exports: {}}; + +/** + * Default export `Struct`. + */ + +(function (module, exports) { + // export default Struct; + module.exports = exports = Struct; + + // compatibility + exports.Struct = Struct; + + function boolField(p, offset, length) { + this.length = length; + this.offset = offset; + this.get = function() { + return (p.buf[offset] > 0); + }; + this.set = function (val) { + p.buf[offset] = val ? 1 : 0; + }; + } + + function intField(p, offset, length, le, signed) { + this.length = length; + this.offset = offset; + + function bec(cb) { + for (var i = 0; i < length; i++) + cb(i, length - i - 1); + } + + function lec(cb) { + for (var i = 0; i < length; i++) + cb(i, i); + } + + function getUVal(bor) { + var val = 0; + bor(function (i, o) { + val += Math.pow(256, o) * p.buf[offset + i]; + }); + return val; + } + + function getSVal(bor) { + + var val = getUVal(bor); + if ((p.buf[offset + (le ? (length - 1) : 0)] & 0x80) == 0x80) { + val -= Math.pow(256, length); + } + return val; + } + + function setVal(bor, val) { + bor(function (i, o) { + p.buf[offset + i] = Math.floor(val / Math.pow(256, o)) & 0xff; + }); + } + + var + nativeSuff = (signed?'':'U') + 'Int' + (length * 8) + (le?'LE':'BE'), + readMethod = Buffer.prototype['read' + nativeSuff], writeMethod = Buffer.prototype['write' + nativeSuff]; + + + if (!readMethod) { + this.get = function () { + var bor = le ? lec : bec; + return (signed ? getSVal(bor) : getUVal(bor)); + }; + } + else { + this.get = function () { + return readMethod.call(p.buf, offset); + }; + } + + + if (!writeMethod) { + this.set = function (val) { + var bor = le ? lec : bec; + setVal(bor, val); + }; + } + else { + this.set = function (val) { + writeMethod.call(p.buf, val, offset); + }; + } + + } + + function floatField(p, offset, le) { + this.length = 4; + this.offset = offset; + this.get = function () { + return le ? p.buf.readFloatLE(offset) : p.buf.readFloatBE(offset); + }; + this.set = function (val) { + return le ? p.buf.writeFloatLE(val, offset) : p.buf.writeFloatBE(val, offset); + }; + } + + function doubleField(p, offset, le) { + this.length = 8; + this.offset = offset; + this.get = function () { + return le ? p.buf.readDoubleLE(offset) : p.buf.readDoubleBE(offset); + }; + this.set = function (val) { + return le ? p.buf.writeDoubleLE(val, offset) : p.buf.writeDoubleBE(val, offset); + }; + } + + function charField(p, offset, length, encoding, secure) { + var self = this; + self.length = length; + self.offset = offset; + self.encoding = encoding; + self.secure = secure; + self.get = function () { + if (!length) + return; + + var result = p.buf.toString(self.encoding, offset, (offset + length)); + var strlen = result.indexOf("\0"); + if (strlen == -1) { + return result; + } else { + return result.slice(0, strlen); + } + }; + self.set = function (val) { + if (!length) + return; + + // Be string is terminated with the null char, else troncate it + if (secure === true) { + + // Append \0 to the string + val += "\0"; + if (val.length >= length) { + val = val.substring(0, length - 1); + val += "\0"; + } + + // Write to buffer + p.buf.write(val, offset, val.length, self.encoding); + + // Fill rest of the buffer with \0 + var remainSpace = (length - val.length); + if (remainSpace > 0) { + p.buf.fill(0, (offset + val.length), offset + length); + } + + } else { + // Trust Buffer class to write the string into the buffer + p.buf.write(val, offset, length, self.encoding); + } + }; + } + + function structField(p, offset, struct) { + this.length = struct.length(); + this.offset = offset; + this.get = function () { + return struct; + }; + this.set = function (val) { + struct.set(val); + }; + this.allocate = function () { + struct._setBuff(p.buf.slice(offset, offset + struct.length())); + }; + } + + function arrayField(p, offset, len, type) { + var as = Struct(); + var args = [].slice.call(arguments, 4); + args.unshift(0); + for (var i = 0; i < len; i++) { + if (type instanceof Struct) { + as.struct(i, type.clone()); + } else if (type in as) { + args[0] = i; + as[type].apply(as, args); + } + } + this.length = as.length(); + this.offset = offset; + this.allocate = function () { + as._setBuff(p.buf.slice(offset, offset + as.length())); + }; + this.get = function () { + return as; + }; + this.set = function (val) { + as.set(val); + }; + } + + function Struct() { + if (!(this instanceof Struct)) + return new Struct; + + var priv = { + buf : {}, + allocated : false, + len : 0, + fields : {}, + closures : [] + }, self = this; + + function checkAllocated() { + if (priv.allocated) + throw new Error('Cant change struct after allocation'); + } + + // Create handlers for various float Field Variants + [true, false].forEach(function (le) { + self['float' + (le ? 'le' : 'be')] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + var n = 4; + p.fields[key] = new floatField(p, p.len, le); + p.len += n; + }); + return this; + }; + }); + + // Create handlers for various double Field Variants + [true, false].forEach(function (le) { + self['double' + (le ? 'le' : 'be')] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + var n = 8; + p.fields[key] = new doubleField(p, p.len, le); + p.len += n; + }); + return this; + }; + }); + + // Create handlers for various Bool Field Variants + [1, 2, 3, 4].forEach(function (n) { + self['bool' + (n == 1 ? '' : n)] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new boolField(p, p.len, n); + p.len += n; + }); + return this; + }; + }); + + // Create handlers for various Integer Field Variants + [1, 2, 3, 4, 6, 8].forEach(function (n) { + [true, false].forEach(function (le) { + [true, false].forEach(function (signed) { + var name = 'word' + (n * 8) + (signed ? 'S' : 'U') + (le ? 'le' : 'be'); + self[name] = function (key) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new intField(p, p.len, n, le, signed); + p.len += n; + }); + return this; + }; + }); + }); + }); + this.word8 = this.word8Ule; + + ['chars', 'charsnt'].forEach(function (c) { + self[c] = function (key, length, encoding) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new charField(p, p.len, length, encoding || 'ascii', (c == 'charsnt')); + p.len += length; + }); + return this; + }; + }); + + this.struct = function (key, struct) { + checkAllocated(); + priv.closures.push(function (p) { + p.fields[key] = new structField(p, p.len, struct.clone()); + p.len += p.fields[key].length; + }); + return this; + }; + function construct(constructor, args) { + function F() { + return constructor.apply(this, args); + } + + F.prototype = constructor.prototype; + return new F(); + } + + + this.array = function (key, length, type) { + checkAllocated(); + var args = [].slice.call(arguments, 1); + args.unshift(null); + args.unshift(null); + priv.closures.push(function (p) { + args[0] = p; + args[1] = p.len; + p.fields[key] = construct(arrayField, args); + p.len += p.fields[key].length; + }); + + return this; + }; + var beenHere = false; + + function applyClosures(p) { + if (beenHere) + return; + p.closures.forEach(function (el) { + el(p); + }); + beenHere = true; + } + + function allocateFields() { + for (var key in priv.fields) { + if ('allocate' in priv.fields[key]) + priv.fields[key].allocate(); + } + } + + this._setBuff = this.setBuffer = function (buff, buffLength) { + applyClosures(priv); + if (typeof (buffLength) === 'number') { + if (buffLength > buff.length) { + throw new Error('Invalid specified buffer size !'); + } + priv.buf = buff.slice(0, buffLength); + } else { + priv.buf = buff; + } + if (priv.buf.length < priv.len) { + throw new Error('Buffer size too small for struct layout !'); + } + allocateFields(); + priv.allocated = true; + }; + + this.allocate = function () { + applyClosures(priv); + if (Buffer.alloc) { + priv.buf = Buffer.alloc(priv.len); + } else { + priv.buf = new Buffer(priv.len); + priv.buf.fill(0); + } + allocateFields(); + priv.allocated = true; + return this; + }; + + this._getPriv = function () { + return priv; + }; + + this.getOffset = function (field) { + if (priv.fields[field]) return priv.fields[field].offset; + }; + + this.clone = function () { + var c = new Struct; + var p = c._getPriv(); + p.closures = priv.closures.slice(0); + return c; + }; + + this.length = function () { + applyClosures(priv); + return priv.len; + }; + + this.get = function (key) { + if (key in priv.fields) { + return priv.fields[key].get(); + } else + throw new Error('Can not find field ' + key); + }; + + this.set = function (key, val) { + if (arguments.length == 2) { + if (key in priv.fields) { + priv.fields[key].set(val); + } else + throw new Error('Can not find field ' + key); + } else if (Buffer.isBuffer(key)) { + this._setBuff(key); + } else { + for (var k in key) { + this.set(k, key[k]); + } + } + }; + this.buffer = function () { + return priv.buf; + }; + + + function getFields() { + var fields = {}; + Object.keys(priv.fields).forEach(function (key) { + var setFunc, getFunc; + if (priv.fields[key] instanceof structField || + priv.fields[key] instanceof arrayField) { + getFunc = function () { + return priv.fields[key].get().fields; + }; + setFunc = function (newVal) { + self.set(key, newVal); + }; + } + else { + getFunc = priv.fields[key].get; + setFunc = priv.fields[key].set; + } + Object.defineProperty(fields, key, { + get : getFunc, + set : setFunc, + enumerable : true + }); + }); + return fields; + } + var _fields; + Object.defineProperty(this, 'fields', { + get : function () { + if (_fields) + return _fields; + return (_fields = getFields()); + }, + enumerable : true, + configurable : true + }); + + } +} (struct$1, struct$1.exports)); + +const Actor$3 = actor; +const Hash256$1 = hash256$1; + +class Label$1 extends Actor$3 { + constructor (input = '') { + super(input); + if (typeof input != 'string') input = super.serialize(input); + this._id = Hash256$1.digest(`@labels/${input}`); + return this; + } +} + +var label = Label$1; + +var padDigits$1 = function padDigits (number, digits) { + return Array(Math.max(digits - String(number).length + 1, 0)).join(0) + number; +}; + +const { + MAGIC_BYTES, + VERSION_NUMBER, + HEADER_SIZE, + MAX_MESSAGE_SIZE, + OP_CYCLE, + GENERIC_MESSAGE_TYPE, + LOG_MESSAGE_TYPE, + GENERIC_LIST_TYPE, + P2P_GENERIC, + P2P_IDENT_REQUEST, + P2P_IDENT_RESPONSE, + P2P_ROOT, + P2P_PING, + P2P_PONG, + P2P_START_CHAIN, + P2P_INSTRUCTION, + P2P_BASE_MESSAGE, + P2P_CHAIN_SYNC_REQUEST, + P2P_STATE_ROOT, + P2P_STATE_COMMITTMENT, + P2P_STATE_CHANGE, + P2P_STATE_REQUEST, + P2P_TRANSACTION, + P2P_CALL: P2P_CALL$1, + CHAT_MESSAGE, + DOCUMENT_PUBLISH_TYPE, + DOCUMENT_REQUEST_TYPE, + BLOCK_CANDIDATE, + PEER_CANDIDATE, + SESSION_START +} = constants$1; + +// Dependencies +const crypto$5 = require$$0__default["default"]; +const struct = struct$1.exports; + +// Fabric Types +const Actor$2 = actor; +const Label = label; + +// Function Definitions +const padDigits = padDigits$1; + +// Type Labels +const TYPE_ETHEREUM_BLOCK = parseInt((new Label('types/EthereumBlock'))._id, 16); +const TYPE_ETHEREUM_BLOCK_NUMBER = parseInt((new Label('types/EthereumBlockNumber'))._id, 16); + +/** + * The {@link Message} type defines the Application Messaging Protocol, or AMP. + * Each {@link Actor} in the network receives and broadcasts messages, + * selectively disclosing new routes to peers which may have open circuits. + * @type {Object} + */ +class Message$1 extends Actor$2 { + /** + * The `Message` type is standardized in {@link Fabric} as a {@link Array}, which can be added to any other vector to compute a resulting state. + * @param {Object} message Message vector. Will be serialized by {@link Array#_serialize}. + * @return {Message} Instance of the message. + */ + constructor (input = {}) { + super(input); + + this.raw = { + magic: Buffer.alloc(4), + version: Buffer.alloc(4), + parent: Buffer.alloc(32), + type: Buffer.alloc(4), // TODO: 8, 32 + size: Buffer.alloc(4), // TODO: 8, 32 + hash: Buffer.alloc(32), + signature: Buffer.alloc(64), + data: null + }; + + this.raw.magic.write(MAGIC_BYTES.toString(16), 'hex'); + this.raw.version.write(padDigits(VERSION_NUMBER.toString(16), 8), 'hex'); + + if (input.data && input.type) { + this.type = input.type; + + if (typeof input.data !== 'string') { + this.data = JSON.stringify(input.data); + } else { + this.data = input.data; + } + } + + // Set various properties to be unenumerable + for (let name of [ + '@input', + '@entity', + '_state', + 'config', + 'settings', + 'stack', + 'observer' + ]) Object.defineProperty(this, name, { enumerable: false }); + + return this; + } + + get body () { + return this.raw.data.toString('utf8'); + } + + get byte () { + const input = 0 + ''; + const num = Buffer.from(`0x${padDigits(input, 8)}`, 'hex'); + return num; + } + + get tu16 () { + return parseInt(0); + } + + get tu32 () { + return parseInt(0); + } + + get tu64 () { + return parseInt(0); + } + + get Uint256 () { + // 256 bits + return Buffer.from((this.raw && this.raw.hash) ? `0x${padDigits(this.raw.hash, 8)}` : crypto$5.randomBytes(32)); + } + + set signature (value) { + if (value instanceof Buffer) value = value.toString('hex'); + this.raw.signature.write(value, 'hex'); + } + + toBuffer () { + return this.asRaw(); + } + + /** + * Returns a {@link Buffer} of the complete message. + * @return {Buffer} Buffer of the encoded {@link Message}. + */ + asRaw () { + return Buffer.concat([this.header, this.raw.data]); + } + + toRaw () { + return this.asRaw(); + } + + asTypedArray () { + return new Uint8Array(this.asRaw()); + // TODO: Node 12 + // return new TypedArray(this.asRaw()); + } + + asBlob () { + return this.asRaw().map(byte => parseInt(byte, 16)); + } + + toObject () { + return { + headers: { + magic: parseInt(`${this.raw.magic.toString('hex')}`, 16), + version: parseInt(`${this.raw.version.toString('hex')}`, 16), + parent: this.raw.parent.toString('hex'), + type: parseInt(`${this.raw.type.toString('hex')}`, 16), + size: parseInt(`${this.raw.size.toString('hex')}`, 16), + signature: this.raw.signature.toString('hex'), + hash: this.raw.hash.toString('hex') + }, + type: this.type, + data: this.data + }; + } + + fromObject (input) { + return new Message$1(input); + } + + static parseBuffer (buffer) { + const message = struct() + .charsnt('magic', 4, 'hex') + .charsnt('version', 4, 'hex') + .charsnt('parent', 32, 'hex') + .charsnt('type', 4, 'hex') + .charsnt('size', 4, 'hex') + .charsnt('hash', 32, 'hex') + .charsnt('signature', 64, 'hex') + .charsnt('data', buffer.length - HEADER_SIZE); + + message.allocate(); + message._setBuff(buffer); + + return message; + } + + static parseRawMessage (buffer) { + const message = { + magic: buffer.slice(0, 4), + version: buffer.slice(4, 8), + parent: buffer.slice(8, 40), + type: buffer.slice(40, 44), + size: buffer.slice(44, 48), + hash: buffer.slice(48, 80), + signature: buffer.slice(80, 144) + }; + + if (buffer.length >= 144) { + message.data = buffer.slice(144, buffer.length); + } + + return message; + }; + + static fromBuffer (buffer) { + return Message$1.fromRaw(buffer); + } + + static fromRaw (input) { + if (!input) return null; + if (!(input instanceof Buffer)) throw new Error('Input must be a buffer.'); + // if (input.length < HEADER_SIZE) return null; + // if (input.length > MAX_MESSAGE_SIZE) return new Error('Input too large.'); + + const message = new Message$1(); + + message.raw = { + magic: input.slice(0, 4), + version: input.slice(4, 8), + parent: input.slice(8, 40), + type: input.slice(40, 44), + size: input.slice(40, 48), + hash: input.slice(40, 80), + signature: input.slice(0, 144) + }; + + message.data = input.slice(HEADER_SIZE); + + return message; + } + + static fromVector (vector = ['LogMessage', 'No vector provided.']) { + let message = null; + + try { + message = new Message$1({ + type: vector[0], + data: vector[1] + }); + } catch (exception) { + console.error('[FABRIC:MESSAGE]', 'Could not construct Message:', exception); + } + + return message; + } + + /* get [Symbol.toStringTag] () { + return ``; + } */ + + get id () { + return crypto$5.createHash('sha256').update(this.asRaw()).digest('hex'); + } + + get types () { + // Message Types + return { + 'GenericMessage': GENERIC_MESSAGE_TYPE, + 'GenericLogMessage': LOG_MESSAGE_TYPE, + 'GenericList': GENERIC_LIST_TYPE, + 'GenericQueue': GENERIC_LIST_TYPE, + 'FabricLogMessage': LOG_MESSAGE_TYPE, + 'FabricServiceLogMessage': LOG_MESSAGE_TYPE, + 'GenericTransferQueue': GENERIC_LIST_TYPE, + // TODO: document Generic type + // P2P Commands + 'Generic': P2P_GENERIC, + 'Cycle': OP_CYCLE, + 'IdentityRequest': P2P_IDENT_REQUEST, + 'IdentityResponse': P2P_IDENT_RESPONSE, + 'ChainSyncRequest': P2P_CHAIN_SYNC_REQUEST, + // TODO: restore this type + // 'StateRoot': P2P_ROOT, + 'Ping': P2P_PING, + 'Pong': P2P_PONG, + 'DocumentRequest': DOCUMENT_REQUEST_TYPE, + 'DocumentPublish': DOCUMENT_PUBLISH_TYPE, + 'BlockCandidate': BLOCK_CANDIDATE, + 'PeerCandidate': PEER_CANDIDATE, + 'PeerInstruction': P2P_INSTRUCTION, + 'PeerMessage': P2P_BASE_MESSAGE, + 'StartSession': SESSION_START, + 'ChatMessage': CHAT_MESSAGE, + 'StartChain': P2P_START_CHAIN, + // TODO: restore above StateRoot type + 'StateRoot': P2P_STATE_ROOT, + 'StateCommitment': P2P_STATE_COMMITTMENT, + 'StateChange': P2P_STATE_CHANGE, + 'StateRequest': P2P_STATE_REQUEST, + 'Transaction': P2P_TRANSACTION, + 'Call': P2P_CALL$1, + 'LogMessage': LOG_MESSAGE_TYPE, + 'EthereumBlock': TYPE_ETHEREUM_BLOCK, + 'EthereumBlockNumber': TYPE_ETHEREUM_BLOCK_NUMBER + }; + } + + get codes () { + return Object.entries(this.types).reduce((ret, entry) => { + const [ key, value ] = entry; + ret[ value ] = key; + return ret; + }, {}); + } + + get magic () { + return this.raw.magic; + } + + get signature () { + return parseInt(Buffer.from(this.raw.signature, 'hex')); + } + + get size () { + return parseInt(Buffer.from(this.raw.size, 'hex')); + } + + get version () { + return parseInt(Buffer.from(this.raw.version)); + } + + get header () { + const parts = [ + Buffer.from(this.raw.magic, 'hex'), + Buffer.from(this.raw.version, 'hex'), + Buffer.from(this.raw.type, 'hex'), + Buffer.from(this.raw.size, 'hex'), + Buffer.from(this.raw.signature, 'hex'), + Buffer.from(this.raw.hash, 'hex') + ]; + + return Buffer.concat(parts); + } +} + +Object.defineProperty(Message$1.prototype, 'type', { + get () { + const code = parseInt(this.raw.type.toString('hex'), 16); + switch (code) { + case GENERIC_MESSAGE_TYPE: + return 'GenericMessage'; + case LOG_MESSAGE_TYPE: + return 'GenericLogMessage'; + case GENERIC_LIST_TYPE: + return 'GenericList'; + case DOCUMENT_PUBLISH_TYPE: + return 'DocumentPublish'; + case DOCUMENT_REQUEST_TYPE: + return 'DocumentRequest'; + case BLOCK_CANDIDATE: + return 'BlockCandidate'; + case OP_CYCLE: + return 'Cycle'; + case P2P_PING: + return 'Ping'; + case P2P_PONG: + return 'Pong'; + case P2P_GENERIC: + return 'Generic'; + case P2P_CHAIN_SYNC_REQUEST: + return 'ChainSyncRequest'; + case P2P_IDENT_REQUEST: + return 'IdentityRequest'; + case P2P_IDENT_RESPONSE: + return 'IdentityResponse'; + case P2P_BASE_MESSAGE: + return 'PeerMessage'; + case P2P_STATE_ROOT: + return 'StateRoot'; + case P2P_STATE_CHANGE: + return 'StateChange'; + case P2P_STATE_REQUEST: + return 'StateRequest'; + case P2P_TRANSACTION: + return 'Transaction'; + case P2P_CALL$1: + return 'Call'; + case PEER_CANDIDATE: + return 'PeerCandidate'; + case SESSION_START: + return 'StartSession'; + case CHAT_MESSAGE: + return 'ChatMessage'; + case P2P_START_CHAIN: + return 'StartChain'; + case TYPE_ETHEREUM_BLOCK: + return 'EthereumBlock'; + case TYPE_ETHEREUM_BLOCK_NUMBER: + return 'EthereumBlockNumber'; + default: + return 'GenericMessage'; + } + }, + set (value) { + let code = this.types[value]; + // Default to GenericMessage; + if (!code) { + this.emit('warning', `Unknown message type: ${value}`); + code = this.types['GenericMessage']; + } + + const padded = padDigits(code.toString(16), 8); + this['@type'] = value; + this.raw.type.write(padded, 'hex'); + } +}); + +Object.defineProperty(Message$1.prototype, 'data', { + get () { + if (!this.raw.data) return ''; + return this.raw.data.toString('utf8'); + }, + set (value) { + if (!value) value = ''; + const hash = crypto$5.createHash('sha256').update(value.toString('utf8')); + this.raw.hash = hash.digest(); + this.raw.data = Buffer.from(value); + this.raw.size.write(padDigits(this.raw.data.byteLength.toString(16), 8), 'hex'); + } +}); + +var message = Message$1; + +const { + P2P_CALL +} = constants$1; +const querystring = require$$3__default["default"]; + +// External Dependencies +const fetch = require$$4; +const parser = contentType; +ws.WebSocket; + +// Internal Types +const Actor$1 = actor; +const Message = message; +const CONTENT_TYPE = 'application/json'; + +/** + * Interact with a remote {@link Resource}. This is currently the only + * HTTP-related code that should remain in @fabric/core — all else must + * be moved to @fabric/http before final release! + * @type {Remote} + * @property {Object} config + * @property {Boolean} secure + */ +class Remote extends Actor$1 { + /** + * An in-memory representation of a node in our network. + * @param {Object} target - Target object. + * @param {String} target.host - Named host, e.g. "localhost". + * @param {String} target.secure - Require TLS session. + * @constructor + */ + constructor (config = {}) { + super(config); + + this.settings = Object.assign({ + authority: 'localhost', + backoff: 2, + entropy: Math.random(), + secure: true, + host: 'hub.fabric.pub', + port: 443 + }, config); + + this.host = this.settings.host || this.settings.authority; + this.secure = this.settings.secure; + this.socket = null; + + this.endpoint = `${(this.secure) ? 'wss' : 'ws'}:${this.host}:${this.port}/`; + + this._nextReconnect = 0; + this._reconnectAttempts = 0; + this._state = { + status: 'PAUSED', + messages: [], + meta: { + messages: { + count: 0 + } + } + }; + + return this; + } + + get port () { + return this.settings.port; + } + + get authority () { + // TODO: use onion address for secure mode + const parts = this.settings.authority.split(':'); + const state = { + host: null, + secure: null, + protocol: null, + port: null + }; + + // Check number of components + switch (parts.length) { + default: + // TODO: warn about unexpected values + state.host = this.settings.host; + state.port = this.settings.port; + state.secure = this.settings.secure; + break; + case 1: + state.host = parts[0]; + state.port = this.settings.port; + state.secure = this.settings.secure; + break; + case 2: + state.host = parts[0]; + state.port = parts[1]; + state.secure = this.settings.secure; + break; + case 3: + state.host = parts[1]; + state.port = parts[2]; + // TODO: should settings override protocol inclusion? + state.secure = (parts[0].charAt(4) === 's'); + break; + } + + // Finally set protocol for all cases... + state.protocol = (!state.secure) ? 'http' : 'https'; + + return `${state.protocol}://${state.host}:${state.port}`; + } + + get isArrayBufferSupported () { + return (new Buffer(new Uint8Array([1]).buffer)[0] === 1); + } + + get arrayBufferToBuffer () { + return this.isArrayBufferSupported ? this.arrayBufferToBufferAsArgument : this.arrayBufferToBufferCycle; + } + + arrayBufferToBufferAsArgument (ab) { + return new Buffer(ab); + } + + arrayBufferToBufferCycle (ab) { + var buffer = new Buffer(ab.byteLength); + var view = new Uint8Array(ab); + for (var i = 0; i < buffer.length; ++i) { + buffer[i] = view[i]; + } + return buffer; + } + + async _handleSocketClose (message) { + this._state.status = 'CLOSED'; + console.log('[FABRIC:REMOTE]', 'Socket close:', message); + this._reconnectAttempts++; + this._reconnector = setTimeout(this.connect.bind(this), this._nextReconnect); + this._nextReconnect = Math.pow(this.settings.backoff, this._reconnectAttempts) * 1000 * Math.random(); + } + + async _handleSocketError (message) { + console.error('[FABRIC:REMOTE]', 'Socket error:', message); + this.emit('error', message); + } + + async _handleSocketMessage (packet) { + this.emit('debug', `[FABRIC:REMOTE] Socket packet ${JSON.stringify(packet)}`); + const length = packet.data.byteLength; + console.log('length:', length); + const buffer = Buffer.from(packet.data); + console.log('buffer:', buffer); + const message = Message.fromRaw(buffer).toObject(); + console.log('message:', message); + this._state.messages.push(message); + ++this._state.meta.messages.count; + this.emit('message', message); + } + + async _handleSocketOpen (message) { + this._nextReconnect = 0; + this._reconnectAttempts = 0; + if (this._reconnector) clearTimeout(this._reconnector); + this._state.status = 'CONNECTED'; + this.emit('ready'); + } + + async executeMethod (name, params = []) { + const call = Message.fromVector([P2P_CALL, JSON.stringify([name, params])]); + console.log('call:', call); + console.log('raw:', call.toRaw()); + return this.socket.send(call.toRaw()); + } + + async connect () { + this._state.status = 'CONNECTING'; + + try { + this.socket = new WebSocket(this.endpoint); + console.log('socket:', this.socket); + } catch (exception) { + console.error('[FABRIC:REMOTE]', 'Unable to connect:', exception); + } + + if (this.socket) { + this.socket.binaryType = 'arraybuffer'; + this.socket.addEventListener('close', this._handleSocketClose.bind(this)); + this.socket.addEventListener('open', this._handleSocketOpen.bind(this)); + this.socket.addEventListener('message', this._handleSocketMessage.bind(this)); + this.socket.addEventListener('error', this._handleSocketError.bind(this)); + } + + return this; + } + + /** + * Enumerate the available Resources on the remote host. + * @return {Configuration} An object with enumerable key/value pairs for the Application Resource Contract. + */ + async enumerate () { + const options = await this._OPTIONS('/'); + const results = []; + + for (const name in options) { + const definition = options[name]; + results.push({ + name: definition.name, + description: definition.description, + components: Object.assign({ + list: 'maki-resource-list', + view: 'maki-resource-view' + }, definition.components), + routes: definition.routes, + attributes: definition.attributes, + names: definition.names + }); + } + + return options; + } + + /** + * Make an HTTP request to the configured authority. + * @param {String} type One of `GET`, `PUT`, `POST`, `DELETE`, or `OPTIONS`. + * @param {String} path The path to request from the authority. + * @param {Object} [params] Options. + * @returns {FabricHTTPResult} + */ + async request (type, path, params = {}) { + const self = this; + + let url = this.authority + path; + let result = null; + let response = null; + let headers = { + 'Accept': CONTENT_TYPE, + 'Content-Type': CONTENT_TYPE + }; + + let opts = { + method: type, + headers: headers + }; + + // TODO: break out into independent auth module + if (this.settings.username || this.settings.password) { + headers['Authorization'] = `Basic ${Buffer.from([ + this.settings.username || '', + this.settings.password || '' + ].join(':')).toString('base64')}`; + } + + switch (params.mode) { + case 'query': + url += '?' + querystring.stringify(params.body); + break; + default: + try { + opts.body = JSON.stringify(params.body); + } catch (exception) { + console.error('[FABRIC:REMOTE] Could not prepare request:', exception); + } + + opts = Object.assign(opts, { + body: params.body || null + }); + break; + } + + // Core Logic + try { + response = await fetch(url, opts); + } catch (e) { + self.emit('error', `[REMOTE] exception: ${e}`); + } + + if (!response) { + return { + status: 'error', + message: 'No response to request.' + }; + } + + switch (response.status) { + case 404: + result = { + status: 'error', + message: 'Document not found.' + }; + break; + default: + if (response.ok) { + const formatter = parser.parse(response.headers.get('content-type')); + switch (formatter.type) { + case 'application/json': + try { + result = await response.json(); + } catch (E) { + console.error('[REMOTE]', 'Could not parse JSON:', E); + } + break; + default: + if (this.settings.verbosity >= 4) self.emit('warning', `[FABRIC:REMOTE] Unhandled headers content type: ${formatter.type}`); + result = await response.text(); + break; + } + } else { + if (this.settings.verbosity >= 4) console.warn('[FABRIC:REMOTE]', 'Unmanaged HTTP status code:', response.status); + + try { + result = response.json(); + } catch (exception) { + result = response.text(); + } + } + break; + } + + return result; + } + + async ping () { + this.send({ + created: (new Date()).toISOString(), + type: 'PING' + }); + } + + async send (message) { + const msg = Message.fromVector(['GenericMessage', JSON.stringify(message)]); + const raw = msg.toRaw(); + const actor = new Actor$1({ content: raw.toString('hex') }); + this.socket.send(raw); + return actor.id; + } + + async sendAsJSON (message) { + this.socket.send({ + content: message + }); + } + + /** + * HTTP PUT against the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} body - Map of parameters to supply. + * @return {FabricHTTPResult|String} Result of request. + */ + async _PUT (key, body) { + return this.request('put', key, { body }); + } + + /** + * HTTP GET against the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {FabricHTTPResult|String} Result of request. + */ + async _GET (key, params) { + return this.request('get', key, params); + } + + /** + * HTTP POST against the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {FabricHTTPResult|String} Result of request. + */ + async _POST (key, obj, params = {}) { + let result = null; + let options = null; + + switch (params.mode) { + case 'query': + options = Object.assign({}, { + body: obj, + mode: 'query' + }); + break; + default: + options = Object.assign({}, params, { + body: obj, + mode: 'body' + }); + break; + } + + result = await this.request('post', key, options); + + return result; + } + + /** + * HTTP OPTIONS on the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {Object} - Full description of remote resource. + */ + async _OPTIONS (key, params) { + return this.request('options', key, params); + } + + /** + * HTTP PATCH on the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} body - Map of parameters to supply. + * @return {Object} - Full description of remote resource. + */ + async _PATCH (key, body) { + return this.request('patch', key, { body }); + } + + /** + * HTTP DELETE on the configured Authority. + * @param {String} path - HTTP Path to request. + * @param {Object} params - Map of parameters to supply. + * @return {Object} - Full description of remote resource. + */ + async _DELETE (key, params) { + return this.request('delete', key, params); + } + + async _SEARCH (key, params) { + return this.request('search', key, params); + } +} + +var remote = Remote; + +var Remote$1 = /*#__PURE__*/_mergeNamespaces({ + __proto__: null, + 'default': remote +}, [remote]); + +var FabricBridge$1 = /*#__PURE__*/function (_React$Component) { + _inherits(FabricBridge, _React$Component); + + var _super = _createSuper(FabricBridge); + + function FabricBridge(props) { + var _this; + + _classCallCheck$1(this, FabricBridge); + + _this = _super.call(this, props); + _this.settings = Object.assign({ + host: 'localhost', + port: 9999, + secure: false + }, props); + _this.state = merge__default["default"]({ + integrity: 'sha256-deadbeefbabe', status: 'disconnected', messages: [], meta: { @@ -2770,21279 +88377,15070 @@ var FabricBridge = /*#__PURE__*/function (_Component) { count: 0 } } - }, _this.settings); - console.log('bridge settings:', _this.settings); - _this.remote = new Remote__namespace({ - host: _this.settings.host, - port: _this.settings.port, - secure: _this.settings.secure - }); - /* this.agent = new Worker({ - service: main, - settings: settings - }); */ - - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); + }, _this.settings); + console.log('bridge settings:', _this.settings); + _this.remote = new Remote$1({ + host: _this.settings.host, + port: _this.settings.port, + secure: _this.settings.secure + }); + /* this.agent = new Worker({ + service: main, + settings: settings + }); */ + + return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); + } + + _createClass$1(FabricBridge, [{ + key: "_handleRemoteMessage", + value: function _handleRemoteMessage(message) { + console.log('Remote message:', message); + + this._syncState(); + } + }, { + key: "_handleRemoteError", + value: function _handleRemoteError(error) { + console.log('Remote error:', error); + } + }, { + key: "_syncState", + value: function _syncState() { + this.setState({ + status: this.remote._state.status, + messages: this.remote._state.messages, + meta: this.remote._state.meta + }); + } + }, { + key: "componentDidMount", + value: function componentDidMount() { + console.log('bridge mounted! starting...'); // this.agent.executeMethod('connect'); + // this.process.executeMethod('connect'); + + this.start(); + } + }, { + key: "connect", + value: function connect() { + this._syncState(); + + this.remote.connect(); + + this._syncState(); + } + }, { + key: "executeMethod", + value: function executeMethod(name, params) { + return this.remote.executeMethod(name, params); + } + }, { + key: "ping", + value: function ping() { + this.remote.ping(); + } + }, { + key: "render", + value: function render() { + return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { + fluid: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { + floated: "right" + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + onClick: this.ping.bind(this) + }, "Ping ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "info" + })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { + onClick: this.connect.bind(this) + }, "Connect ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "lightning" + }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, { + as: "h3" + }, "Bridge")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed, null, this.state.messages.map(function (message, i) { + return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Event, { + size: "small", + key: i, + style: { + fontSize: '0.8em', + fontFamily: 'monospace' + } + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Content, null, /*#__PURE__*/React__default["default"].createElement("div", { + style: { + color: 'black' + } + }, JSON.stringify(message, null, ' ')))); + }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { + extra: true + }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "info" + }), " ", this.remote._state.status), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + name: "mail" + }), " ", this.remote._state.meta.messages.count)))); + } + }, { + key: "send", + value: function () { + var _send = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(message) { + return _regeneratorRuntime().wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + return _context.abrupt("return", this.remote.send(message)); + + case 1: + case "end": + return _context.stop(); + } + } + }, _callee, this); + })); + + function send(_x) { + return _send.apply(this, arguments); + } + + return send; + }() + }, { + key: "start", + value: function () { + var _start = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { + return _regeneratorRuntime().wrap(function _callee2$(_context2) { + while (1) { + switch (_context2.prev = _context2.next) { + case 0: + this.remote.on('ready', this.props.remoteReady.bind(this)); + this.remote.on('message', this._handleRemoteMessage.bind(this)); + this.remote.on('error', this._handleRemoteError.bind(this)); + this.connect(); + + case 4: + case "end": + return _context2.stop(); + } + } + }, _callee2, this); + })); + + function start() { + return _start.apply(this, arguments); + } + + return start; + }() + }]); + + return FabricBridge; +}(React__default["default"].Component); + +var FabricBridge$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': FabricBridge$1 +}); + +var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(FabricBridge$2); + +var lib$1 = {}; + +var bitConverter = {}; + +Object.defineProperty(bitConverter, "__esModule", { + value: true +}); +bitConverter.createBitArray = createBitArray; +bitConverter.fromBits = fromBits; +bitConverter.toBits = toBits; + +/* eslint-disable no-unused-vars */ + +/** + * Virtual type for bit arrays, i.e., arrays in which each element contains + * an integer in range `[0, 1 << L)`, where `1 <= L <= 8`. + */ + +/* eslint-enable no-unused-vars */ + +/** + * Performs unchecked conversion from `Uint8Array` to `BitArray`. + * This function is translated as the indentity operation by Babel; it's needed purely + * for Flow type checks. + * + * @param {Uint8Array} src + * array to convert + * @returns {Uint8Array} + * `src` interpreted as a `BitArray` with the specified bitness + * + * @api private + */ +function toBitArrayUnchecked(src) { + return src; +} +/** + * Creates a new array with specified bitness. + * + * @param {number} len + * length of the created array + * @returns {Uint8Array} + * + * @api private + */ + + +function createBitArray(len) { + return toBitArrayUnchecked(new Uint8Array(len)); +} +/** + * Converts an array from one number of bits per element to another. + * + * @api private + */ + + +function convert$1(src, srcBits, dst, dstBits, pad) { + var mask = (1 << dstBits) - 1; + var acc = 0; + var bits = 0; + var pos = 0; + src.forEach(function (b) { + // Pull next bits from the input buffer into accumulator. + acc = (acc << srcBits) + b; + bits += srcBits; // Push into the output buffer while there are enough bits in the accumulator. + + while (bits >= dstBits) { + bits -= dstBits; + dst[pos] = acc >> bits & mask; + pos += 1; + } + }); + + if (pad) { + if (bits > 0) { + // `dstBits - rem.bits` is the number of trailing zero bits needed to be appended + // to accumulator bits to get the trailing bit group. + dst[pos] = acc << dstBits - bits & mask; + } + } else { + // Truncate the remaining padding, but make sure that it is zeroed and not + // overly long first. + if (bits >= srcBits) { + throw new Error("Excessive padding: ".concat(bits, " (max ").concat(srcBits - 1, " allowed)")); + } + + if (acc % (1 << bits) !== 0) { + throw new Error('Non-zero padding'); + } + } +} +/** + * Encodes a `Uint8Array` buffer as an array with a lesser number of bits per element. + * + * @api private + */ + + +function toBits(src, bits, dst) { + if (bits > 8 || bits < 1) { + throw new RangeError('Invalid bits per element; 1 to 8 expected'); + } // `BitArray<8>` is equivalent to `Uint8Array`; unfortunately, Flow + // has problems expressing this, so the explicit conversion is performed here. + + + convert$1(toBitArrayUnchecked(src), 8, dst, bits, true); + return dst; +} + +function fromBits(src, bits, dst) { + if (bits > 8 || bits < 1) { + throw new RangeError('Invalid bits per element; 1 to 8 expected'); + } + + convert$1(src, bits, toBitArrayUnchecked(dst), 8, false); + return dst; +} + +var encoding = {}; + +Object.defineProperty(encoding, "__esModule", { + value: true +}); +encoding.CHECKSUM_LENGTH = void 0; +encoding.createChecksum = createChecksum; +encoding.decode = decode$6; +encoding.decodeWithPrefix = decodeWithPrefix; +encoding.encode = encode$6; +encoding.expandPrefix = expandPrefix; +encoding.verifyChecksum = verifyChecksum; + +var _bitConverter$1 = bitConverter; + +// Alphabet for Bech32 +var CHARSET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; // Checksum constant for Bech32m. + +var BECH32M_CHECKSUM = 0x2bc830a3; +var CHECKSUM_LENGTH = 6; // Reverse lookup for characters + +encoding.CHECKSUM_LENGTH = CHECKSUM_LENGTH; + +var CHAR_LOOKUP = function () { + var lookup = new Map(); + + for (var i = 0; i < CHARSET.length; i += 1) { + lookup.set(CHARSET[i], i); + } + + return lookup; +}(); // Poly generators + + +var GEN = [0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3]; + +function polymod(values) { + return values.reduce(function (checksum, value) { + var bits = checksum >> 25; + var newChecksum = (checksum & 0x1ffffff) << 5 ^ value; + return GEN.reduce(function (chk, gen, i) { + return (bits >> i & 1) === 0 ? chk : chk ^ gen; + }, newChecksum); + }, + /* initial checksum */ + 1); +} +/** + * Expands a prefix into the specified output buffer. + */ + + +function expandPrefix(prefix, outBuffer) { + for (var i = 0; i < prefix.length; i += 1) { + var code = prefix.charCodeAt(i); + outBuffer[i] = code >> 5; + outBuffer[i + prefix.length + 1] = code & 31; + } + + outBuffer[prefix.length] = 0; +} +/** + * Verifies the checksum for a particular buffer. + */ + + +function verifyChecksum(buffer) { + switch (polymod(buffer)) { + case 1: + return 'bech32'; + + case BECH32M_CHECKSUM: + return 'bech32m'; + + default: + return undefined; + } +} +/** + * Creates a checksum for a buffer and writes it to the last 6 5-bit groups + * of the buffer. + */ + + +function createChecksum(buffer, encoding) { + var checksumConstant; + + switch (encoding) { + case 'bech32': + checksumConstant = 1; + break; + + case 'bech32m': + checksumConstant = BECH32M_CHECKSUM; + break; + + default: + throw Error("Invalid encoding value: ".concat(encoding, "; expected bech32 or bech32m")); + } + + var mod = polymod(buffer) ^ checksumConstant; + + for (var i = 0; i < CHECKSUM_LENGTH; i += 1) { + var shift = 5 * (5 - i); + buffer[buffer.length - CHECKSUM_LENGTH + i] = mod >> shift & 31; + } +} +/** + * Encodes an array of 5-bit groups into a string. + * + * @param {Uint8Array} buffer + * @returns {string} + * + * @api private + */ + + +function encode$6(buffer) { + return buffer.reduce(function (acc, bits) { + return acc + CHARSET[bits]; + }, ''); +} +/** + * Decodes a string into an array of 5-bit groups. + * + * @param {string} message + * @param {Uint8Array} [dst] + * Optional array to write the output to. If not specified, the array is created. + * @returns {Uint8Array} + * Array with the result of decoding + * + * @throws {Error} + * if there are characters in `message` not present in the encoding alphabet + * + * @api private + */ + + +function decode$6(message, dst) { + var realDst = dst || (0, _bitConverter$1.createBitArray)(message.length); + + for (var i = 0; i < message.length; i += 1) { + var idx = CHAR_LOOKUP.get(message[i]); + + if (idx === undefined) { + throw new Error("Invalid char in message: ".concat(message[i])); + } + + realDst[i] = idx; + } + + return realDst; +} +/** + * Decodes a string and a human-readable prefix into an array of 5-bit groups. + * The prefix is expanded as specified by Bech32. + * + * @param {string} prefix + * @param {string} message + * @returns {Uint8Array} + * Array with the result of decoding + * + * @api private + */ + + +function decodeWithPrefix(prefix, message) { + var len = message.length + 2 * prefix.length + 1; + var dst = (0, _bitConverter$1.createBitArray)(len); + expandPrefix(prefix, dst.subarray(0, 2 * prefix.length + 1)); + decode$6(message, dst.subarray(2 * prefix.length + 1)); + return dst; +} + +Object.defineProperty(lib$1, "__esModule", { + value: true +}); +lib$1.BitcoinAddress = void 0; +lib$1.decode = decode$5; +lib$1.decodeTo5BitArray = decodeTo5BitArray; +lib$1.encode = encode$5; +lib$1.encode5BitArray = encode5BitArray; +lib$1.from5BitArray = from5BitArray; +lib$1.to5BitArray = to5BitArray; + +var _bitConverter = bitConverter; + +var _encoding = encoding; + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } + +function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } + +// Minimum char code that could be present in the encoded message +var MIN_CHAR_CODE = 33; // Maximum char code that could be present in the encoded message + +var MAX_CHAR_CODE = 126; // Maximum encoded message length + +var MAX_ENC_LENGTH = 90; + +/** + * Converts a Uint8Array into a Uint8Array variant, in which each element + * encodes 5 bits of the original byte array. + * + * @param {Uint8Array} src + * Input to convert + * @param {?Uint8Array} dst + * Optional output buffer. If specified, the sequence of 5-bit chunks will be written there; + * if not specified, the output buffer will be created from scratch. The length + * of `outBuffer` is not checked. + * @returns {Uint8Array} + * Output buffer consisting of 5-bit chunks + * + * @api public + */ +function to5BitArray(src, dst) { + var len = Math.ceil(src.length * 8 / 5); + var realDst = dst || (0, _bitConverter.createBitArray)(len); + return (0, _bitConverter.toBits)(src, 5, realDst); +} + +function from5BitArray(src, dst) { + var len = Math.floor(src.length * 5 / 8); + var realDst = dst || new Uint8Array(len); + return (0, _bitConverter.fromBits)(src, 5, realDst); +} +/** + * Encodes binary data into Bech32 encoding. + * + * Ordinarily, you may want to use [`encode`](#encode) because it converts + * binary data to an array of 5-bit integers automatically. + * + * @param {string} prefix + * Human-readable prefix to place at the beginning of the encoding + * @param {Uint8Array} data + * Array of 5-bit integers with data to encode + * @param {Encoding} encoding + * Encoding to use; influences the checksum computation. If not specified, + * Bech32 encoding will be used. + * @returns {string} + * Bech32 encoding of data in the form `1` + * + * @api public + */ + + +function encode5BitArray(prefix, data) { + var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; + // 1. Allocate buffer for all operations + var len = 2 * prefix.length + 1 // expanded prefix + + data.length // five-bit data encoding + + _encoding.CHECKSUM_LENGTH; // checksum + + if (len - prefix.length > MAX_ENC_LENGTH) { + throw new Error("Message to be produced is too long (max ".concat(MAX_ENC_LENGTH, " supported)")); + } + + for (var i = 0; i < prefix.length; i += 1) { + var ord = prefix.charCodeAt(i); + + if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { + throw new TypeError("Invalid char in prefix: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); + } + } + + var buffer = (0, _bitConverter.createBitArray)(len); // 2. Expand the human-readable prefix into the beginning of the buffer + + (0, _encoding.expandPrefix)(prefix, buffer.subarray(0, 2 * prefix.length + 1)); // 3. Copy `data` into the output + + var dataBuffer = buffer.subarray(2 * prefix.length + 1, buffer.length - _encoding.CHECKSUM_LENGTH); + dataBuffer.set(data); // 4. Create the checksum + + (0, _encoding.createChecksum)(buffer, encoding); // 5. Convert into string + + var encoded = (0, _encoding.encode)(buffer.subarray(2 * prefix.length + 1)); + return "".concat(prefix, "1").concat(encoded); +} +/** + * Encodes binary data into Bech32 encoding. + * + * @param {string} prefix + * Human-readable prefix to place at the beginning of the encoding + * @param {Uint8Array} data + * Binary data to encode + * @param {Encoding} encoding + * Encoding to use; influences the checksum computation. If not specified, + * Bech32 encoding will be used. + * @returns {string} + * Bech32 encoding of data in the form `1` + * + * @api public + */ + + +function encode$5(prefix, data) { + var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; + return encode5BitArray(prefix, to5BitArray(data), encoding); +} +/** + * Decodes data from Bech32 encoding into an array of 5-bit integers. + * + * Ordinarily, you may want to use [`decode`](#decode) because it automatically + * converts the array of 5-bit integers into an ordinary `Uint8Array`. + * + * @param {string} message + * Bech32-encoded message + * @returns {DecodeResult} + * Decoded object with `prefix` and `data` fields, which contain the human-readable + * prefix and the array of 5-bit integers respectively. + * + * @api public + */ + + +function decodeTo5BitArray(message) { + // Check preconditions + // 1. Message length + if (message.length > MAX_ENC_LENGTH) { + throw new TypeError("Message too long; max ".concat(MAX_ENC_LENGTH, " expected")); + } // 2. Mixed case + + + var hasLowerCase = false; + var hasUpperCase = false; + + for (var i = 0; i < message.length; i += 1) { + var ord = message.charCodeAt(i); // 3. Allowed chars in the encoding + + if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { + throw new TypeError("Invalid char in message: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); + } + + hasLowerCase = hasLowerCase || ord >= 65 && ord <= 90; + hasUpperCase = hasUpperCase || ord >= 97 && ord <= 122; + } + + if (hasLowerCase && hasUpperCase) { + throw new TypeError('Mixed-case message'); + } + + var lowerCaseMsg = message.toLowerCase(); // 4. Existence of the separator char + + var sepIdx = lowerCaseMsg.lastIndexOf('1'); + + if (sepIdx < 0) { + throw new Error('No separator char ("1") found'); + } // 5. Placing of the separator char in the message + + + if (sepIdx > message.length - _encoding.CHECKSUM_LENGTH - 1) { + throw new Error("Data part of the message too short (at least ".concat(_encoding.CHECKSUM_LENGTH, " chars expected)")); + } + + var prefix = lowerCaseMsg.substring(0, sepIdx); // Checked within `decodeWithPrefix`: + // 6. Invalid chars in the data part of the message + + var bitArray = (0, _encoding.decodeWithPrefix)(prefix, lowerCaseMsg.substring(sepIdx + 1)); // 7. Checksum + + var encoding = (0, _encoding.verifyChecksum)(bitArray); + + if (encoding === undefined) { + throw new Error('Invalid checksum'); + } + + return { + prefix: prefix, + encoding: encoding, + // Strip off the prefix from the front and the checksum from the end + data: bitArray.subarray(2 * prefix.length + 1, bitArray.length - _encoding.CHECKSUM_LENGTH) + }; +} +/** + * Decodes data from Bech32 encoding into an array of 5-bit integers. + * + * @param {string} message + * Bech32-encoded message + * @returns {DecodeResult} + * Decoded object with `prefix` and `data` fields, which contain the human-readable + * prefix and the decoded binary data respectively. + * + * @api public + */ + + +function decode$5(message) { + var _decodeTo5BitArray = decodeTo5BitArray(message), + prefix = _decodeTo5BitArray.prefix, + encoding = _decodeTo5BitArray.encoding, + bitArray = _decodeTo5BitArray.data; + + return { + prefix: prefix, + encoding: encoding, + data: from5BitArray(bitArray) + }; +} +/** + * Bitcoin address. + */ + + +var BitcoinAddress = /*#__PURE__*/function () { + function BitcoinAddress(prefix, scriptVersion, data) { + _classCallCheck(this, BitcoinAddress); + + if (prefix !== 'bc' && prefix !== 'tb') { + throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); + } + + if (scriptVersion < 0 || scriptVersion > 16) { + throw new RangeError('Invalid scriptVersion, value in range [0, 16] expected'); + } + + if (data.length < 2 || data.length > 40) { + throw new RangeError('Invalid script length: expected 2 to 40 bytes'); + } + + if (scriptVersion === 0 && data.length !== 20 && data.length !== 32) { + throw new Error('Invalid v0 script length: expected 20 or 32 bytes'); + } + + this.prefix = prefix; + this.scriptVersion = scriptVersion; + this.data = data; + } + /** + * Guesses the address type based on its internal structure. + * + * @returns {void | 'p2wpkh' | 'p2wsh'} + */ + + + _createClass(BitcoinAddress, [{ + key: "type", + value: function type() { + if (this.scriptVersion !== 0) { + return undefined; + } + + switch (this.data.length) { + case 20: + return 'p2wpkh'; + + case 32: + return 'p2wsh'; + // should be unreachable, but it's JS, so you never know + + default: + return undefined; + } + } + /** + * Encodes this address in Bech32 or Bech32m format, depending on the script version. + * Version 0 scripts are encoded using original Bech32 encoding as per BIP 173, + * while versions 1-16 are encoded using the modified encoding as per BIP 350. + * + * @returns {string} + * Bech32(m)-encoded address + */ + + }, { + key: "encode", + value: function encode() { + // Bitcoin addresses use Bech32 in a peculiar way - script version is + // not a part of the serialized binary data, but is rather prepended as 5-bit value + // before the rest of the script. This necessitates some plumbing here. + var len = Math.ceil(this.data.length * 8 / 5); + var converted = (0, _bitConverter.createBitArray)(len + 1); + converted[0] = this.scriptVersion; + to5BitArray(this.data, converted.subarray(1)); + var encoding = this.scriptVersion === 0 ? 'bech32' : 'bech32m'; + return encode5BitArray(this.prefix, converted, encoding); + } + }], [{ + key: "decode", + value: + /** + * Human-readable prefix. Equal to `'bc'` (for mainnet addresses) + * or `'tb'` (for testnet addresses). + */ + + /** + * Script version. An integer between 0 and 16 (inclusive). + */ + + /** + * Script data. A byte string with length 2 to 40 (inclusive). + */ + + /** + * Decodes a Bitcoin address from a Bech32(m) string. + * As per BIP 350, the original encoding is expected for version 0 scripts, while + * other script versions expect the modified encoding. + * + * This method does not check whether the address is well-formed; + * use `type()` method on returned address to find that out. + * + * @param {string} message + * @returns {BitcoinAddress} + */ + function decode(message) { + var _decodeTo5BitArray2 = decodeTo5BitArray(message), + prefix = _decodeTo5BitArray2.prefix, + data = _decodeTo5BitArray2.data, + encoding = _decodeTo5BitArray2.encoding; // Extra check to satisfy Flow. + + + if (prefix !== 'bc' && prefix !== 'tb') { + throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); + } + + var scriptVersion = data[0]; + + if (scriptVersion === 0 && encoding !== 'bech32') { + throw Error("Unexpected encoding ".concat(encoding, " used for version 0 script")); + } + + if (scriptVersion > 0 && encoding !== 'bech32m') { + throw Error("Unexpected encoding ".concat(encoding, " used for version ").concat(scriptVersion, " script")); + } + + return new this(prefix, scriptVersion, from5BitArray(data.subarray(1))); + } + }]); + + return BitcoinAddress; +}(); + +lib$1.BitcoinAddress = BitcoinAddress; + +var dist$1 = {}; + +Object.defineProperty(dist$1, "__esModule", { value: true }); +dist$1.bech32m = dist$1.bech32 = void 0; +const ALPHABET$1 = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; +const ALPHABET_MAP = {}; +for (let z = 0; z < ALPHABET$1.length; z++) { + const x = ALPHABET$1.charAt(z); + ALPHABET_MAP[x] = z; +} +function polymodStep(pre) { + const b = pre >> 25; + return (((pre & 0x1ffffff) << 5) ^ + (-((b >> 0) & 1) & 0x3b6a57b2) ^ + (-((b >> 1) & 1) & 0x26508e6d) ^ + (-((b >> 2) & 1) & 0x1ea119fa) ^ + (-((b >> 3) & 1) & 0x3d4233dd) ^ + (-((b >> 4) & 1) & 0x2a1462b3)); +} +function prefixChk(prefix) { + let chk = 1; + for (let i = 0; i < prefix.length; ++i) { + const c = prefix.charCodeAt(i); + if (c < 33 || c > 126) + return 'Invalid prefix (' + prefix + ')'; + chk = polymodStep(chk) ^ (c >> 5); + } + chk = polymodStep(chk); + for (let i = 0; i < prefix.length; ++i) { + const v = prefix.charCodeAt(i); + chk = polymodStep(chk) ^ (v & 0x1f); + } + return chk; +} +function convert(data, inBits, outBits, pad) { + let value = 0; + let bits = 0; + const maxV = (1 << outBits) - 1; + const result = []; + for (let i = 0; i < data.length; ++i) { + value = (value << inBits) | data[i]; + bits += inBits; + while (bits >= outBits) { + bits -= outBits; + result.push((value >> bits) & maxV); + } + } + if (pad) { + if (bits > 0) { + result.push((value << (outBits - bits)) & maxV); + } + } + else { + if (bits >= inBits) + return 'Excess padding'; + if ((value << (outBits - bits)) & maxV) + return 'Non-zero padding'; + } + return result; +} +function toWords(bytes) { + return convert(bytes, 8, 5, true); +} +function fromWordsUnsafe(words) { + const res = convert(words, 5, 8, false); + if (Array.isArray(res)) + return res; +} +function fromWords(words) { + const res = convert(words, 5, 8, false); + if (Array.isArray(res)) + return res; + throw new Error(res); +} +function getLibraryFromEncoding(encoding) { + let ENCODING_CONST; + if (encoding === 'bech32') { + ENCODING_CONST = 1; + } + else { + ENCODING_CONST = 0x2bc830a3; + } + function encode(prefix, words, LIMIT) { + LIMIT = LIMIT || 90; + if (prefix.length + 7 + words.length > LIMIT) + throw new TypeError('Exceeds length limit'); + prefix = prefix.toLowerCase(); + // determine chk mod + let chk = prefixChk(prefix); + if (typeof chk === 'string') + throw new Error(chk); + let result = prefix + '1'; + for (let i = 0; i < words.length; ++i) { + const x = words[i]; + if (x >> 5 !== 0) + throw new Error('Non 5-bit word'); + chk = polymodStep(chk) ^ x; + result += ALPHABET$1.charAt(x); + } + for (let i = 0; i < 6; ++i) { + chk = polymodStep(chk); + } + chk ^= ENCODING_CONST; + for (let i = 0; i < 6; ++i) { + const v = (chk >> ((5 - i) * 5)) & 0x1f; + result += ALPHABET$1.charAt(v); + } + return result; + } + function __decode(str, LIMIT) { + LIMIT = LIMIT || 90; + if (str.length < 8) + return str + ' too short'; + if (str.length > LIMIT) + return 'Exceeds length limit'; + // don't allow mixed case + const lowered = str.toLowerCase(); + const uppered = str.toUpperCase(); + if (str !== lowered && str !== uppered) + return 'Mixed-case string ' + str; + str = lowered; + const split = str.lastIndexOf('1'); + if (split === -1) + return 'No separator character for ' + str; + if (split === 0) + return 'Missing prefix for ' + str; + const prefix = str.slice(0, split); + const wordChars = str.slice(split + 1); + if (wordChars.length < 6) + return 'Data too short'; + let chk = prefixChk(prefix); + if (typeof chk === 'string') + return chk; + const words = []; + for (let i = 0; i < wordChars.length; ++i) { + const c = wordChars.charAt(i); + const v = ALPHABET_MAP[c]; + if (v === undefined) + return 'Unknown character ' + c; + chk = polymodStep(chk) ^ v; + // not in the checksum? + if (i + 6 >= wordChars.length) + continue; + words.push(v); + } + if (chk !== ENCODING_CONST) + return 'Invalid checksum for ' + str; + return { prefix, words }; + } + function decodeUnsafe(str, LIMIT) { + const res = __decode(str, LIMIT); + if (typeof res === 'object') + return res; + } + function decode(str, LIMIT) { + const res = __decode(str, LIMIT); + if (typeof res === 'object') + return res; + throw new Error(res); + } + return { + decodeUnsafe, + decode, + encode, + toWords, + fromWordsUnsafe, + fromWords, + }; +} +dist$1.bech32 = getLibraryFromEncoding('bech32'); +dist$1.bech32m = getLibraryFromEncoding('bech32m'); + +const bech32 = lib$1; +const { + bech32m +} = dist$1; + +class Bech32$1 { + constructor (input = {}) { + this.settings = Object.assign({ + hrp: 'bc', + separator: '1', + content: '' + }, input); + + return this; + } + + get content () { + return this.settings.content; + } + + get hrp () { + return this.settings.hrp; + } + + get words () { + const buffer = (this.content instanceof Buffer) ? this.content : Buffer.from(this.content, 'hex'); + return bech32m.toWords(buffer); + } + + static decode (input = '') { + const decoded = bech32.decode(input); + return { + prefix: decoded.prefix, + content: decoded.data + }; + } + + toString () { + return bech32m.encode(this.hrp, this.words); + } +} + +var bech32_1$2 = Bech32$1; + +function commonjsRequire(path) { + throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); +} + +var dist = {exports: {}}; + +(function (module, exports) { + (function(f){{module.exports=f();}})(function(){return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof commonjsRequire=="function"&&commonjsRequire;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r);}return n[o].exports}var i=typeof commonjsRequire=="function"&&commonjsRequire;for(var o=0;o 32) { + throw new Error('Generator.bits()\'s bitCount parameter must be in the range [1 - 32]. Provided bitCount=' + bitCount); + } + // Use the higher bits as the lower bits have a low period. I haven't looked into the exact + // math of why, but in my tests in masking off the lower bits and graphing them it tended + // to loop very quickly. + // TODO: Test the above concern and in general do some analysis of the quality of generated + // numbers using different places of the number. + return this._state >>> 32 - bitCount; + } + + // Move the generators internal state + // forward one step + + }, { + key: 'next', + get: function get() { + this._state = lcg(this._state); + return this; + } + + // Move the generators internal state + // forward one step + + }, { + key: 'prev', + get: function get() { + this._state = rlcg(this._state); + return this; + } + + // Set the state of the generator. Must be a valid u32 integer + + }, { + key: 'state', + set: function set(state) { + if (state < 0 || state >= _MaxU2.default) { + throw new Error('Generator.state must be a number between 0 and (2^32 - 1). Provided state was ' + state + '.'); + } + this._state = state; + } + + // Get the current internal state + , + get: function get() { + return this._state; + } + }]); + + return Generator; + }(); + + exports.default = Generator; + + + function lcg(state) { + state = (a * state + c) % m; + return state; + } + + function rlcg(state) { + var result = _Long2.default.fromInt(aInverse).multiply(_Long2.default.fromNumber(state - 1013904223)); // + var pow2to32 = new _Long2.default(0, 1); + + // Modulo doesn't work as we want (negatives stay negatives, we want wrapping around ) + if (result.isNegative()) { + result = pow2to32.add(result.modulo(pow2to32)); + } else { + result = result.modulo(pow2to32); + } + + result = result.toNumber(); + state = result; + return state; + } + + },{"./Long":2,"./MaxU32":3}],2:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + // Copyright 2009 The Closure Library Authors. All Rights Reserved. + // + // Licensed under the Apache License, Version 2.0 (the "License"); + // you may not use this file except in compliance with the License. + // You may obtain a copy of the License at + // + // http://www.apache.org/licenses/LICENSE-2.0 + // + // Unless required by applicable law or agreed to in writing, software + // distributed under the License is distributed on an "AS-IS" BASIS, + // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + // See the License for the specific language governing permissions and + // limitations under the License. + + /** + * @fileoverview Defines a Long class for representing a 64-bit two's-complement + * integer value, which faithfully simulates the behavior of a Java "long". This + * implementation is derived from LongLib in GWT. + * + */ + + /** + * Constructs a 64-bit two's-complement integer, given its low and high 32-bit + * values as *signed* integers. See the from* functions below for more + * convenient ways of constructing Longs. + * + * The internal representation of a long is the two given signed, 32-bit values. + * We use 32-bit pieces because these are the size of integers on which + * Javascript performs bit-operations. For operations like addition and + * multiplication, we split each number into 16-bit pieces, which can easily be + * multiplied within Javascript's floating-point representation without overflow + * or change in sign. + * + * In the algorithms below, we frequently reduce the negative case to the + * positive case by negating the input(s) and then post-processing the result. + * Note that we must ALWAYS check specially whether those values are MIN_VALUE + * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as + * a positive number, it overflows back into a negative). Not handling this + * case would often result in infinite recursion. + * + * @param {number} low The low (signed) 32 bits of the long. + * @param {number} high The high (signed) 32 bits of the long. + * @struct + * @constructor + * @final + */ + var Long = function Long(low, high) { + /** + * @type {number} + * @private + */ + this.low_ = low | 0; // force into 32 signed bits. + + /** + * @type {number} + * @private + */ + this.high_ = high | 0; // force into 32 signed bits. + }; + + /** + * Returns a Long representing the given (32-bit) integer value. + * @param {number} value The 32-bit integer in question. + * @return {!Long} The corresponding Long value. + */ + Long.fromInt = function (value) { + return new Long(value | 0, value < 0 ? -1 : 0); + }; + + /** + * Returns a Long representing the given value. + * NaN will be returned as zero. Infinity is converted to max value and + * -Infinity to min value. + * @param {number} value The number in question. + * @return {!Long} The corresponding Long value. + */ + Long.fromNumber = function (value) { + if (isNaN(value)) { + return Long.getZero(); + } else if (value <= -Long.TWO_PWR_63_DBL_) { + return Long.getMinValue(); + } else if (value + 1 >= Long.TWO_PWR_63_DBL_) { + return Long.getMaxValue(); + } else if (value < 0) { + return Long.fromNumber(-value).negate(); + } else { + return new Long(value % Long.TWO_PWR_32_DBL_ | 0, value / Long.TWO_PWR_32_DBL_ | 0); + } + }; + + /** + * Returns a Long representing the 64-bit integer that comes by concatenating + * the given high and low bits. Each is assumed to use 32 bits. + * @param {number} lowBits The low 32-bits. + * @param {number} highBits The high 32-bits. + * @return {!Long} The corresponding Long value. + */ + Long.fromBits = function (lowBits, highBits) { + return new Long(lowBits, highBits); + }; + + /** + * Returns a Long representation of the given string, written using the given + * radix. + * @param {string} str The textual representation of the Long. + * @param {number=} opt_radix The radix in which the text is written. + * @return {!Long} The corresponding Long value. + */ + Long.fromString = function (str, opt_radix) { + if (str.length == 0) { + throw Error('number format error: empty string'); + } + + var radix = opt_radix || 10; + if (radix < 2 || 36 < radix) { + throw Error('radix out of range: ' + radix); + } + + if (str.charAt(0) == '-') { + return Long.fromString(str.substring(1), radix).negate(); + } else if (str.indexOf('-') >= 0) { + throw Error('number format error: interior "-" character: ' + str); + } + + // Do several (8) digits each time through the loop, so as to + // minimize the calls to the very expensive emulated div. + var radixToPower = Long.fromNumber(Math.pow(radix, 8)); + + var result = Long.getZero(); + for (var i = 0; i < str.length; i += 8) { + var size = Math.min(8, str.length - i); + var value = parseInt(str.substring(i, i + size), radix); + if (size < 8) { + var power = Long.fromNumber(Math.pow(radix, size)); + result = result.multiply(power).add(Long.fromNumber(value)); + } else { + result = result.multiply(radixToPower); + result = result.add(Long.fromNumber(value)); + } + } + return result; + }; + + // NOTE: the compiler should inline these constant values below and then remove + // these variables, so there should be no runtime penalty for these. + + + /** + * Number used repeated below in calculations. This must appear before the + * first call to any from* function below. + * @type {number} + * @private + */ + Long.TWO_PWR_16_DBL_ = 1 << 16; + + /** + * @type {number} + * @private + */ + Long.TWO_PWR_32_DBL_ = Long.TWO_PWR_16_DBL_ * Long.TWO_PWR_16_DBL_; + + /** + * @type {number} + * @private + */ + Long.TWO_PWR_64_DBL_ = Long.TWO_PWR_32_DBL_ * Long.TWO_PWR_32_DBL_; + + /** + * @type {number} + * @private + */ + Long.TWO_PWR_63_DBL_ = Long.TWO_PWR_64_DBL_ / 2; + + /** + * @return {!Long} + * @public + */ + Long.getZero = function () { + return Long.fromInt(0); + }; + + /** + * @return {!Long} + * @public + */ + Long.getOne = function () { + return Long.fromInt(1); + }; + + /** + * @return {!Long} + * @public + */ + Long.getNegOne = function () { + return Long.fromInt(-1); + }; + + /** + * @return {!Long} + * @public + */ + Long.getMaxValue = function () { + return Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0); + }; + + /** + * @return {!Long} + * @public + */ + Long.getMinValue = function () { + return Long.fromBits(0, 0x80000000 | 0); + }; + + /** + * @return {!Long} + * @public + */ + Long.getTwoPwr24 = function () { + return Long.fromInt(1 << 24); + }; + + /** @return {number} The value, assuming it is a 32-bit integer. */ + Long.prototype.toInt = function () { + return this.low_; + }; + + /** @return {number} The closest floating-point representation to this value. */ + Long.prototype.toNumber = function () { + return this.high_ * Long.TWO_PWR_32_DBL_ + this.getLowBitsUnsigned(); + }; + + /** + * @param {number=} opt_radix The radix in which the text should be written. + * @return {string} The textual representation of this value. + * @override + */ + Long.prototype.toString = function (opt_radix) { + var radix = opt_radix || 10; + if (radix < 2 || 36 < radix) { + throw Error('radix out of range: ' + radix); + } + + if (this.isZero()) { + return '0'; + } + + if (this.isNegative()) { + if (this.equals(Long.getMinValue())) { + // We need to change the Long value before it can be negated, so we remove + // the bottom-most digit in this base and then recurse to do the rest. + var radixLong = Long.fromNumber(radix); + var div = this.div(radixLong); + var rem = div.multiply(radixLong).subtract(this); + return div.toString(radix) + rem.toInt().toString(radix); + } else { + return '-' + this.negate().toString(radix); + } + } + + // Do several (6) digits each time through the loop, so as to + // minimize the calls to the very expensive emulated div. + var radixToPower = Long.fromNumber(Math.pow(radix, 6)); + + var rem = this; + var result = ''; + while (true) { + var remDiv = rem.div(radixToPower); + // The right shifting fixes negative values in the case when + // intval >= 2^31; for more details see + // https://github.com/google/closure-library/pull/498 + var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt() >>> 0; + var digits = intval.toString(radix); + + rem = remDiv; + if (rem.isZero()) { + return digits + result; + } else { + while (digits.length < 6) { + digits = '0' + digits; + } + result = '' + digits + result; + } + } + }; + + /** @return {number} The high 32-bits as a signed value. */ + Long.prototype.getHighBits = function () { + return this.high_; + }; + + /** @return {number} The low 32-bits as a signed value. */ + Long.prototype.getLowBits = function () { + return this.low_; + }; + + /** @return {number} The low 32-bits as an unsigned value. */ + Long.prototype.getLowBitsUnsigned = function () { + return this.low_ >= 0 ? this.low_ : Long.TWO_PWR_32_DBL_ + this.low_; + }; + + /** + * @return {number} Returns the number of bits needed to represent the absolute + * value of this Long. + */ + Long.prototype.getNumBitsAbs = function () { + if (this.isNegative()) { + if (this.equals(Long.getMinValue())) { + return 64; + } else { + return this.negate().getNumBitsAbs(); + } + } else { + var val = this.high_ != 0 ? this.high_ : this.low_; + for (var bit = 31; bit > 0; bit--) { + if ((val & 1 << bit) != 0) { + break; + } + } + return this.high_ != 0 ? bit + 33 : bit + 1; + } + }; + + /** @return {boolean} Whether this value is zero. */ + Long.prototype.isZero = function () { + return this.high_ == 0 && this.low_ == 0; + }; + + /** @return {boolean} Whether this value is negative. */ + Long.prototype.isNegative = function () { + return this.high_ < 0; + }; + + /** @return {boolean} Whether this value is odd. */ + Long.prototype.isOdd = function () { + return (this.low_ & 1) == 1; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long equals the other. + */ + Long.prototype.equals = function (other) { + return this.high_ == other.high_ && this.low_ == other.low_; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long does not equal the other. + */ + Long.prototype.notEquals = function (other) { + return this.high_ != other.high_ || this.low_ != other.low_; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is less than the other. + */ + Long.prototype.lessThan = function (other) { + return this.compare(other) < 0; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is less than or equal to the other. + */ + Long.prototype.lessThanOrEqual = function (other) { + return this.compare(other) <= 0; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is greater than the other. + */ + Long.prototype.greaterThan = function (other) { + return this.compare(other) > 0; + }; + + /** + * @param {Long} other Long to compare against. + * @return {boolean} Whether this Long is greater than or equal to the other. + */ + Long.prototype.greaterThanOrEqual = function (other) { + return this.compare(other) >= 0; + }; + + /** + * Compares this Long with the given one. + * @param {Long} other Long to compare against. + * @return {number} 0 if they are the same, 1 if the this is greater, and -1 + * if the given one is greater. + */ + Long.prototype.compare = function (other) { + if (this.equals(other)) { + return 0; + } + + var thisNeg = this.isNegative(); + var otherNeg = other.isNegative(); + if (thisNeg && !otherNeg) { + return -1; + } + if (!thisNeg && otherNeg) { + return 1; + } + + // at this point, the signs are the same, so subtraction will not overflow + if (this.subtract(other).isNegative()) { + return -1; + } else { + return 1; + } + }; + + /** @return {!Long} The negation of this value. */ + Long.prototype.negate = function () { + if (this.equals(Long.getMinValue())) { + return Long.getMinValue(); + } else { + return this.not().add(Long.getOne()); + } + }; + + /** + * Returns the sum of this and the given Long. + * @param {Long} other Long to add to this one. + * @return {!Long} The sum of this and the given Long. + */ + Long.prototype.add = function (other) { + // Divide each number into 4 chunks of 16 bits, and then sum the chunks. + + var a48 = this.high_ >>> 16; + var a32 = this.high_ & 0xFFFF; + var a16 = this.low_ >>> 16; + var a00 = this.low_ & 0xFFFF; + + var b48 = other.high_ >>> 16; + var b32 = other.high_ & 0xFFFF; + var b16 = other.low_ >>> 16; + var b00 = other.low_ & 0xFFFF; + + var c48 = 0, + c32 = 0, + c16 = 0, + c00 = 0; + c00 += a00 + b00; + c16 += c00 >>> 16; + c00 &= 0xFFFF; + c16 += a16 + b16; + c32 += c16 >>> 16; + c16 &= 0xFFFF; + c32 += a32 + b32; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c48 += a48 + b48; + c48 &= 0xFFFF; + return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); + }; + + /** + * Returns the difference of this and the given Long. + * @param {Long} other Long to subtract from this. + * @return {!Long} The difference of this and the given Long. + */ + Long.prototype.subtract = function (other) { + return this.add(other.negate()); + }; + + /** + * Returns the product of this and the given long. + * @param {Long} other Long to multiply with this. + * @return {!Long} The product of this and the other. + */ + Long.prototype.multiply = function (other) { + if (this.isZero()) { + return Long.getZero(); + } else if (other.isZero()) { + return Long.getZero(); + } + + if (this.equals(Long.getMinValue())) { + return other.isOdd() ? Long.getMinValue() : Long.getZero(); + } else if (other.equals(Long.getMinValue())) { + return this.isOdd() ? Long.getMinValue() : Long.getZero(); + } + + if (this.isNegative()) { + if (other.isNegative()) { + return this.negate().multiply(other.negate()); + } else { + return this.negate().multiply(other).negate(); + } + } else if (other.isNegative()) { + return this.multiply(other.negate()).negate(); + } + + // If both longs are small, use float multiplication + if (this.lessThan(Long.getTwoPwr24()) && other.lessThan(Long.getTwoPwr24())) { + return Long.fromNumber(this.toNumber() * other.toNumber()); + } + + // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. + // We can skip products that would overflow. + + var a48 = this.high_ >>> 16; + var a32 = this.high_ & 0xFFFF; + var a16 = this.low_ >>> 16; + var a00 = this.low_ & 0xFFFF; + + var b48 = other.high_ >>> 16; + var b32 = other.high_ & 0xFFFF; + var b16 = other.low_ >>> 16; + var b00 = other.low_ & 0xFFFF; + + var c48 = 0, + c32 = 0, + c16 = 0, + c00 = 0; + c00 += a00 * b00; + c16 += c00 >>> 16; + c00 &= 0xFFFF; + c16 += a16 * b00; + c32 += c16 >>> 16; + c16 &= 0xFFFF; + c16 += a00 * b16; + c32 += c16 >>> 16; + c16 &= 0xFFFF; + c32 += a32 * b00; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c32 += a16 * b16; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c32 += a00 * b32; + c48 += c32 >>> 16; + c32 &= 0xFFFF; + c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; + c48 &= 0xFFFF; + return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); + }; + + /** + * Returns this Long divided by the given one. + * @param {Long} other Long by which to divide. + * @return {!Long} This Long divided by the given one. + */ + Long.prototype.div = function (other) { + if (other.isZero()) { + throw Error('division by zero'); + } else if (this.isZero()) { + return Long.getZero(); + } + + if (this.equals(Long.getMinValue())) { + if (other.equals(Long.getOne()) || other.equals(Long.getNegOne())) { + return Long.getMinValue(); // recall -MIN_VALUE == MIN_VALUE + } else if (other.equals(Long.getMinValue())) { + return Long.getOne(); + } else { + // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. + var halfThis = this.shiftRight(1); + var approx = halfThis.div(other).shiftLeft(1); + if (approx.equals(Long.getZero())) { + return other.isNegative() ? Long.getOne() : Long.getNegOne(); + } else { + var rem = this.subtract(other.multiply(approx)); + var result = approx.add(rem.div(other)); + return result; + } + } + } else if (other.equals(Long.getMinValue())) { + return Long.getZero(); + } + + if (this.isNegative()) { + if (other.isNegative()) { + return this.negate().div(other.negate()); + } else { + return this.negate().div(other).negate(); + } + } else if (other.isNegative()) { + return this.div(other.negate()).negate(); + } + + // Repeat the following until the remainder is less than other: find a + // floating-point that approximates remainder / other *from below*, add this + // into the result, and subtract it from the remainder. It is critical that + // the approximate value is less than or equal to the real value so that the + // remainder never becomes negative. + var res = Long.getZero(); + var rem = this; + while (rem.greaterThanOrEqual(other)) { + // Approximate the result of division. This may be a little greater or + // smaller than the actual value. + var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber())); + + // We will tweak the approximate result by changing it in the 48-th digit or + // the smallest non-fractional digit, whichever is larger. + var log2 = Math.ceil(Math.log(approx) / Math.LN2); + var delta = log2 <= 48 ? 1 : Math.pow(2, log2 - 48); + + // Decrease the approximation until it is smaller than the remainder. Note + // that if it is too large, the product overflows and is negative. + var approxRes = Long.fromNumber(approx); + var approxRem = approxRes.multiply(other); + while (approxRem.isNegative() || approxRem.greaterThan(rem)) { + approx -= delta; + approxRes = Long.fromNumber(approx); + approxRem = approxRes.multiply(other); + } + + // We know the answer can't be zero... and actually, zero would cause + // infinite recursion since we would make no progress. + if (approxRes.isZero()) { + approxRes = Long.getOne(); + } + + res = res.add(approxRes); + rem = rem.subtract(approxRem); + } + return res; + }; + + /** + * Returns this Long modulo the given one. + * @param {Long} other Long by which to mod. + * @return {!Long} This Long modulo the given one. + */ + Long.prototype.modulo = function (other) { + return this.subtract(this.div(other).multiply(other)); + }; + + /** @return {!Long} The bitwise-NOT of this value. */ + Long.prototype.not = function () { + return Long.fromBits(~this.low_, ~this.high_); + }; + + /** + * Returns the bitwise-AND of this Long and the given one. + * @param {Long} other The Long with which to AND. + * @return {!Long} The bitwise-AND of this and the other. + */ + Long.prototype.and = function (other) { + return Long.fromBits(this.low_ & other.low_, this.high_ & other.high_); + }; + + /** + * Returns the bitwise-OR of this Long and the given one. + * @param {Long} other The Long with which to OR. + * @return {!Long} The bitwise-OR of this and the other. + */ + Long.prototype.or = function (other) { + return Long.fromBits(this.low_ | other.low_, this.high_ | other.high_); + }; + + /** + * Returns the bitwise-XOR of this Long and the given one. + * @param {Long} other The Long with which to XOR. + * @return {!Long} The bitwise-XOR of this and the other. + */ + Long.prototype.xor = function (other) { + return Long.fromBits(this.low_ ^ other.low_, this.high_ ^ other.high_); + }; + + /** + * Returns this Long with bits shifted to the left by the given amount. + * @param {number} numBits The number of bits by which to shift. + * @return {!Long} This shifted to the left by the given amount. + */ + Long.prototype.shiftLeft = function (numBits) { + numBits &= 63; + if (numBits == 0) { + return this; + } else { + var low = this.low_; + if (numBits < 32) { + var high = this.high_; + return Long.fromBits(low << numBits, high << numBits | low >>> 32 - numBits); + } else { + return Long.fromBits(0, low << numBits - 32); + } + } + }; + + /** + * Returns this Long with bits shifted to the right by the given amount. + * The new leading bits match the current sign bit. + * @param {number} numBits The number of bits by which to shift. + * @return {!Long} This shifted to the right by the given amount. + */ + Long.prototype.shiftRight = function (numBits) { + numBits &= 63; + if (numBits == 0) { + return this; + } else { + var high = this.high_; + if (numBits < 32) { + var low = this.low_; + return Long.fromBits(low >>> numBits | high << 32 - numBits, high >> numBits); + } else { + return Long.fromBits(high >> numBits - 32, high >= 0 ? 0 : -1); + } + } + }; + + /** + * Returns this Long with bits shifted to the right by the given amount, with + * zeros placed into the new leading bits. + * @param {number} numBits The number of bits by which to shift. + * @return {!Long} This shifted to the right by the given amount, with + * zeros placed into the new leading bits. + */ + Long.prototype.shiftRightUnsigned = function (numBits) { + numBits &= 63; + if (numBits == 0) { + return this; + } else { + var high = this.high_; + if (numBits < 32) { + var low = this.low_; + return Long.fromBits(low >>> numBits | high << 32 - numBits, high >>> numBits); + } else if (numBits == 32) { + return Long.fromBits(high, 0); + } else { + return Long.fromBits(high >>> numBits - 32, 0); + } + } + }; + + /** + * @enum {number} Ids of commonly requested Long instances. + * @private + */ + Long.ValueCacheId_ = { + MAX_VALUE: 1, + MIN_VALUE: 2, + ZERO: 3, + ONE: 4, + NEG_ONE: 5, + TWO_PWR_24: 6 + }; + + exports.default = Long; + + },{}],3:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + var MAX_U32 = Math.pow(2, 32); + + exports.default = MAX_U32; + + },{}],4:[function(require,module,exports){ + + /* + **Francois**: + Based on an implementation that's based on further implementations, most significant + change is removing the use of Buffers and ArrayBuffers. Original implementation was forked + here (hopefully the original repo still exists, to play it safe I've forked it) + https://github.com/francoislaberge/node-skip32 + + ** Original Comments in skip32.js's implementation ** + Skip32PureJS.js - public domain javascript implementation of: + + SKIP32 -- 32 bit block cipher based on SKIPJACK. + Written by Greg Rose, QUALCOMM Australia, 1999/04/27. + + In common: F-table, G-permutation, key schedule. + Different: 24 round feistel structure. + Based on: Unoptimized test implementation of SKIPJACK algorithm + Panu Rissanen + + SKIPJACK and KEA Algorithm Specifications + Version 2.0 + 29 May 1998 + + Not copyright, no rights reserved. + */ + function Skip32() { + // Francois: I have modified the code to have a hardcoded key. values + // were taken from the example code in the node-skip32 project: + // https://github.com/0x4139/node-skip32#example + this.key = [0x9b, 0x21, 0x96, 0xe, 0x1a, 0xcf, 0x24, 0x5f, 0x14, 0x93]; + } + Skip32.prototype.init = function () {}; + + // Francois: I have modified the code to remove the use of Buffers and ArrayBuffers + // so that the code is more portable to other browsers and environments + var ftable = [0xa3, 0xd7, 0x09, 0x83, 0xf8, 0x48, 0xf6, 0xf4, 0xb3, 0x21, 0x15, 0x78, 0x99, 0xb1, 0xaf, 0xf9, 0xe7, 0x2d, 0x4d, 0x8a, 0xce, 0x4c, 0xca, 0x2e, 0x52, 0x95, 0xd9, 0x1e, 0x4e, 0x38, 0x44, 0x28, 0x0a, 0xdf, 0x02, 0xa0, 0x17, 0xf1, 0x60, 0x68, 0x12, 0xb7, 0x7a, 0xc3, 0xe9, 0xfa, 0x3d, 0x53, 0x96, 0x84, 0x6b, 0xba, 0xf2, 0x63, 0x9a, 0x19, 0x7c, 0xae, 0xe5, 0xf5, 0xf7, 0x16, 0x6a, 0xa2, 0x39, 0xb6, 0x7b, 0x0f, 0xc1, 0x93, 0x81, 0x1b, 0xee, 0xb4, 0x1a, 0xea, 0xd0, 0x91, 0x2f, 0xb8, 0x55, 0xb9, 0xda, 0x85, 0x3f, 0x41, 0xbf, 0xe0, 0x5a, 0x58, 0x80, 0x5f, 0x66, 0x0b, 0xd8, 0x90, 0x35, 0xd5, 0xc0, 0xa7, 0x33, 0x06, 0x65, 0x69, 0x45, 0x00, 0x94, 0x56, 0x6d, 0x98, 0x9b, 0x76, 0x97, 0xfc, 0xb2, 0xc2, 0xb0, 0xfe, 0xdb, 0x20, 0xe1, 0xeb, 0xd6, 0xe4, 0xdd, 0x47, 0x4a, 0x1d, 0x42, 0xed, 0x9e, 0x6e, 0x49, 0x3c, 0xcd, 0x43, 0x27, 0xd2, 0x07, 0xd4, 0xde, 0xc7, 0x67, 0x18, 0x89, 0xcb, 0x30, 0x1f, 0x8d, 0xc6, 0x8f, 0xaa, 0xc8, 0x74, 0xdc, 0xc9, 0x5d, 0x5c, 0x31, 0xa4, 0x70, 0x88, 0x61, 0x2c, 0x9f, 0x0d, 0x2b, 0x87, 0x50, 0x82, 0x54, 0x64, 0x26, 0x7d, 0x03, 0x40, 0x34, 0x4b, 0x1c, 0x73, 0xd1, 0xc4, 0xfd, 0x3b, 0xcc, 0xfb, 0x7f, 0xab, 0xe6, 0x3e, 0x5b, 0xa5, 0xad, 0x04, 0x23, 0x9c, 0x14, 0x51, 0x22, 0xf0, 0x29, 0x79, 0x71, 0x7e, 0xff, 0x8c, 0x0e, 0xe2, 0x0c, 0xef, 0xbc, 0x72, 0x75, 0x6f, 0x37, 0xa1, 0xec, 0xd3, 0x8e, 0x62, 0x8b, 0x86, 0x10, 0xe8, 0x08, 0x77, 0x11, 0xbe, 0x92, 0x4f, 0x24, 0xc5, 0x32, 0x36, 0x9d, 0xcf, 0xf3, 0xa6, 0xbb, 0xac, 0x5e, 0x6c, 0xa9, 0x13, 0x57, 0x25, 0xb5, 0xe3, 0xbd, 0xa8, 0x3a, 0x01, 0x05, 0x59, 0x2a, 0x46]; + + Skip32.prototype.round16 = function (k, n) { + var g1, g2, g3, g4, g5, g6; + g1 = n >> 8 & 0xff; + g2 = n >> 0 & 0xff; + g3 = ftable[g2 ^ this.key[(4 * k + 0) % 10]] ^ g1; + g4 = ftable[g3 ^ this.key[(4 * k + 1) % 10]] ^ g2; + g5 = ftable[g4 ^ this.key[(4 * k + 2) % 10]] ^ g3; + g6 = ftable[g5 ^ this.key[(4 * k + 3) % 10]] ^ g4; + return (g5 << 8) + g6; + }; + + Skip32.prototype.core = function (n, k, d) { + var i, k, wl, wr; + wl = ((n >> 24 & 0xff) << 8) + ((n >> 16 & 0xff) << 0); + wr = ((n >> 8 & 0xff) << 8) + ((n >> 0 & 0xff) << 0); + for (i = 0; i < 24 / 2; i++) { + wr ^= this.round16(k, wl) ^ k; + k += d; + wl ^= this.round16(k, wr) ^ k; + k += d; + } + return (wr << 16 | wl) >>> 0; + }; + + Skip32.prototype.encrypt = function (n) { + return this.core(n, 0, 1); + }; + + Skip32.prototype.decrypt = function (n) { + return this.core(n, 23, -1); + }; + + module.exports.Skip32 = Skip32; + + },{}],5:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + + var _Generator = require('./Generator'); + + var _Generator2 = _interopRequireDefault(_Generator); + + var _scrambler = require('./scrambler'); + + var _MaxU = require('./MaxU32'); + + var _MaxU2 = _interopRequireDefault(_MaxU); + + function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + + var arbitrary = { + MAX_U32: _MaxU2.default, + Generator: _Generator2.default, + scramble: _scrambler.scramble, + descramble: _scrambler.descramble + }; + + exports.default = arbitrary; + + },{"./Generator":1,"./MaxU32":3,"./scrambler":6}],6:[function(require,module,exports){ + + Object.defineProperty(exports, "__esModule", { + value: true + }); + exports.scramble = scramble; + exports.descramble = descramble; + var Skip32 = require('./Skip32PureJS').Skip32; + var cypher = new Skip32(); + + /* + * Takes a unsigned 32 bit integer and returns an unsigned 32 bit integer + * with it's bits scrambled. + * + * Ideal for taking a series of incrementing numbers and creating a pseudo random version. + * Is reversible via calling descramble() on a scrambled number. + */ + function scramble(number) { + return cypher.encrypt(number); + } + + /* + * Takes a scrambled unsigned 32 bit integer and returns the unscrambled unsigned 32 bit + * integer version. + * + * Ideal for taking a series of incrementing numbers and creating a pseudo random version. + * Use this to figure out the original number crated from calls to scramble() + */ + function descramble(scrambledNumber) { + return cypher.decrypt(scrambledNumber); + } + + },{"./Skip32PureJS":4}]},{},[5])(5) + }); + + +} (dist)); + +var bn = {exports: {}}; + +(function (module) { + (function (module, exports) { + + // Utils + function assert (val, msg) { + if (!val) throw new Error(msg || 'Assertion failed'); + } + + // Could use `inherits` module, but don't want to move from single file + // architecture yet. + function inherits (ctor, superCtor) { + ctor.super_ = superCtor; + var TempCtor = function () {}; + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + } + + // BN + + function BN (number, base, endian) { + if (BN.isBN(number)) { + return number; + } + + this.negative = 0; + this.words = null; + this.length = 0; + + // Reduction context + this.red = null; + + if (number !== null) { + if (base === 'le' || base === 'be') { + endian = base; + base = 10; + } + + this._init(number || 0, base || 10, endian || 'be'); + } + } + if (typeof module === 'object') { + module.exports = BN; + } else { + exports.BN = BN; + } + + BN.BN = BN; + BN.wordSize = 26; + + var Buffer; + try { + if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') { + Buffer = window.Buffer; + } else { + Buffer = require('buffer').Buffer; + } + } catch (e) { + } + + BN.isBN = function isBN (num) { + if (num instanceof BN) { + return true; + } + + return num !== null && typeof num === 'object' && + num.constructor.wordSize === BN.wordSize && Array.isArray(num.words); + }; + + BN.max = function max (left, right) { + if (left.cmp(right) > 0) return left; + return right; + }; + + BN.min = function min (left, right) { + if (left.cmp(right) < 0) return left; + return right; + }; + + BN.prototype._init = function init (number, base, endian) { + if (typeof number === 'number') { + return this._initNumber(number, base, endian); + } + + if (typeof number === 'object') { + return this._initArray(number, base, endian); + } + + if (base === 'hex') { + base = 16; + } + assert(base === (base | 0) && base >= 2 && base <= 36); + + number = number.toString().replace(/\s+/g, ''); + var start = 0; + if (number[0] === '-') { + start++; + this.negative = 1; + } + + if (start < number.length) { + if (base === 16) { + this._parseHex(number, start, endian); + } else { + this._parseBase(number, base, start); + if (endian === 'le') { + this._initArray(this.toArray(), base, endian); + } + } + } + }; + + BN.prototype._initNumber = function _initNumber (number, base, endian) { + if (number < 0) { + this.negative = 1; + number = -number; + } + if (number < 0x4000000) { + this.words = [ number & 0x3ffffff ]; + this.length = 1; + } else if (number < 0x10000000000000) { + this.words = [ + number & 0x3ffffff, + (number / 0x4000000) & 0x3ffffff + ]; + this.length = 2; + } else { + assert(number < 0x20000000000000); // 2 ^ 53 (unsafe) + this.words = [ + number & 0x3ffffff, + (number / 0x4000000) & 0x3ffffff, + 1 + ]; + this.length = 3; + } + + if (endian !== 'le') return; + + // Reverse the bytes + this._initArray(this.toArray(), base, endian); + }; + + BN.prototype._initArray = function _initArray (number, base, endian) { + // Perhaps a Uint8Array + assert(typeof number.length === 'number'); + if (number.length <= 0) { + this.words = [ 0 ]; + this.length = 1; + return this; + } + + this.length = Math.ceil(number.length / 3); + this.words = new Array(this.length); + for (var i = 0; i < this.length; i++) { + this.words[i] = 0; + } + + var j, w; + var off = 0; + if (endian === 'be') { + for (i = number.length - 1, j = 0; i >= 0; i -= 3) { + w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16); + this.words[j] |= (w << off) & 0x3ffffff; + this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; + off += 24; + if (off >= 26) { + off -= 26; + j++; + } + } + } else if (endian === 'le') { + for (i = 0, j = 0; i < number.length; i += 3) { + w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16); + this.words[j] |= (w << off) & 0x3ffffff; + this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; + off += 24; + if (off >= 26) { + off -= 26; + j++; + } + } + } + return this.strip(); + }; + + function parseHex4Bits (string, index) { + var c = string.charCodeAt(index); + // 'A' - 'F' + if (c >= 65 && c <= 70) { + return c - 55; + // 'a' - 'f' + } else if (c >= 97 && c <= 102) { + return c - 87; + // '0' - '9' + } else { + return (c - 48) & 0xf; + } + } + + function parseHexByte (string, lowerBound, index) { + var r = parseHex4Bits(string, index); + if (index - 1 >= lowerBound) { + r |= parseHex4Bits(string, index - 1) << 4; + } + return r; + } + + BN.prototype._parseHex = function _parseHex (number, start, endian) { + // Create possibly bigger array to ensure that it fits the number + this.length = Math.ceil((number.length - start) / 6); + this.words = new Array(this.length); + for (var i = 0; i < this.length; i++) { + this.words[i] = 0; + } + + // 24-bits chunks + var off = 0; + var j = 0; + + var w; + if (endian === 'be') { + for (i = number.length - 1; i >= start; i -= 2) { + w = parseHexByte(number, start, i) << off; + this.words[j] |= w & 0x3ffffff; + if (off >= 18) { + off -= 18; + j += 1; + this.words[j] |= w >>> 26; + } else { + off += 8; + } + } + } else { + var parseLength = number.length - start; + for (i = parseLength % 2 === 0 ? start + 1 : start; i < number.length; i += 2) { + w = parseHexByte(number, start, i) << off; + this.words[j] |= w & 0x3ffffff; + if (off >= 18) { + off -= 18; + j += 1; + this.words[j] |= w >>> 26; + } else { + off += 8; + } + } + } + + this.strip(); + }; + + function parseBase (str, start, end, mul) { + var r = 0; + var len = Math.min(str.length, end); + for (var i = start; i < len; i++) { + var c = str.charCodeAt(i) - 48; + + r *= mul; + + // 'a' + if (c >= 49) { + r += c - 49 + 0xa; + + // 'A' + } else if (c >= 17) { + r += c - 17 + 0xa; + + // '0' - '9' + } else { + r += c; + } + } + return r; + } + + BN.prototype._parseBase = function _parseBase (number, base, start) { + // Initialize as zero + this.words = [ 0 ]; + this.length = 1; + + // Find length of limb in base + for (var limbLen = 0, limbPow = 1; limbPow <= 0x3ffffff; limbPow *= base) { + limbLen++; + } + limbLen--; + limbPow = (limbPow / base) | 0; + + var total = number.length - start; + var mod = total % limbLen; + var end = Math.min(total, total - mod) + start; + + var word = 0; + for (var i = start; i < end; i += limbLen) { + word = parseBase(number, i, i + limbLen, base); + + this.imuln(limbPow); + if (this.words[0] + word < 0x4000000) { + this.words[0] += word; + } else { + this._iaddn(word); + } + } + + if (mod !== 0) { + var pow = 1; + word = parseBase(number, i, number.length, base); + + for (i = 0; i < mod; i++) { + pow *= base; + } + + this.imuln(pow); + if (this.words[0] + word < 0x4000000) { + this.words[0] += word; + } else { + this._iaddn(word); + } + } + + this.strip(); + }; + + BN.prototype.copy = function copy (dest) { + dest.words = new Array(this.length); + for (var i = 0; i < this.length; i++) { + dest.words[i] = this.words[i]; + } + dest.length = this.length; + dest.negative = this.negative; + dest.red = this.red; + }; + + BN.prototype.clone = function clone () { + var r = new BN(null); + this.copy(r); + return r; + }; + + BN.prototype._expand = function _expand (size) { + while (this.length < size) { + this.words[this.length++] = 0; + } + return this; + }; + + // Remove leading `0` from `this` + BN.prototype.strip = function strip () { + while (this.length > 1 && this.words[this.length - 1] === 0) { + this.length--; + } + return this._normSign(); + }; + + BN.prototype._normSign = function _normSign () { + // -0 = 0 + if (this.length === 1 && this.words[0] === 0) { + this.negative = 0; + } + return this; + }; + + BN.prototype.inspect = function inspect () { + return (this.red ? ''; + }; + + /* + + var zeros = []; + var groupSizes = []; + var groupBases = []; + + var s = ''; + var i = -1; + while (++i < BN.wordSize) { + zeros[i] = s; + s += '0'; + } + groupSizes[0] = 0; + groupSizes[1] = 0; + groupBases[0] = 0; + groupBases[1] = 0; + var base = 2 - 1; + while (++base < 36 + 1) { + var groupSize = 0; + var groupBase = 1; + while (groupBase < (1 << BN.wordSize) / base) { + groupBase *= base; + groupSize += 1; + } + groupSizes[base] = groupSize; + groupBases[base] = groupBase; + } + + */ + + var zeros = [ + '', + '0', + '00', + '000', + '0000', + '00000', + '000000', + '0000000', + '00000000', + '000000000', + '0000000000', + '00000000000', + '000000000000', + '0000000000000', + '00000000000000', + '000000000000000', + '0000000000000000', + '00000000000000000', + '000000000000000000', + '0000000000000000000', + '00000000000000000000', + '000000000000000000000', + '0000000000000000000000', + '00000000000000000000000', + '000000000000000000000000', + '0000000000000000000000000' + ]; + + var groupSizes = [ + 0, 0, + 25, 16, 12, 11, 10, 9, 8, + 8, 7, 7, 7, 7, 6, 6, + 6, 6, 6, 6, 6, 5, 5, + 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5 + ]; + + var groupBases = [ + 0, 0, + 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, + 43046721, 10000000, 19487171, 35831808, 62748517, 7529536, 11390625, + 16777216, 24137569, 34012224, 47045881, 64000000, 4084101, 5153632, + 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, + 24300000, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176 + ]; + + BN.prototype.toString = function toString (base, padding) { + base = base || 10; + padding = padding | 0 || 1; + + var out; + if (base === 16 || base === 'hex') { + out = ''; + var off = 0; + var carry = 0; + for (var i = 0; i < this.length; i++) { + var w = this.words[i]; + var word = (((w << off) | carry) & 0xffffff).toString(16); + carry = (w >>> (24 - off)) & 0xffffff; + if (carry !== 0 || i !== this.length - 1) { + out = zeros[6 - word.length] + word + out; + } else { + out = word + out; + } + off += 2; + if (off >= 26) { + off -= 26; + i--; + } + } + if (carry !== 0) { + out = carry.toString(16) + out; + } + while (out.length % padding !== 0) { + out = '0' + out; + } + if (this.negative !== 0) { + out = '-' + out; + } + return out; + } + + if (base === (base | 0) && base >= 2 && base <= 36) { + // var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base)); + var groupSize = groupSizes[base]; + // var groupBase = Math.pow(base, groupSize); + var groupBase = groupBases[base]; + out = ''; + var c = this.clone(); + c.negative = 0; + while (!c.isZero()) { + var r = c.modn(groupBase).toString(base); + c = c.idivn(groupBase); + + if (!c.isZero()) { + out = zeros[groupSize - r.length] + r + out; + } else { + out = r + out; + } + } + if (this.isZero()) { + out = '0' + out; + } + while (out.length % padding !== 0) { + out = '0' + out; + } + if (this.negative !== 0) { + out = '-' + out; + } + return out; + } + + assert(false, 'Base should be between 2 and 36'); + }; + + BN.prototype.toNumber = function toNumber () { + var ret = this.words[0]; + if (this.length === 2) { + ret += this.words[1] * 0x4000000; + } else if (this.length === 3 && this.words[2] === 0x01) { + // NOTE: at this stage it is known that the top bit is set + ret += 0x10000000000000 + (this.words[1] * 0x4000000); + } else if (this.length > 2) { + assert(false, 'Number can only safely store up to 53 bits'); + } + return (this.negative !== 0) ? -ret : ret; + }; + + BN.prototype.toJSON = function toJSON () { + return this.toString(16); + }; + + BN.prototype.toBuffer = function toBuffer (endian, length) { + assert(typeof Buffer !== 'undefined'); + return this.toArrayLike(Buffer, endian, length); + }; + + BN.prototype.toArray = function toArray (endian, length) { + return this.toArrayLike(Array, endian, length); + }; + + BN.prototype.toArrayLike = function toArrayLike (ArrayType, endian, length) { + var byteLength = this.byteLength(); + var reqLength = length || Math.max(1, byteLength); + assert(byteLength <= reqLength, 'byte array longer than desired length'); + assert(reqLength > 0, 'Requested array length <= 0'); + + this.strip(); + var littleEndian = endian === 'le'; + var res = new ArrayType(reqLength); + + var b, i; + var q = this.clone(); + if (!littleEndian) { + // Assume big-endian + for (i = 0; i < reqLength - byteLength; i++) { + res[i] = 0; + } + + for (i = 0; !q.isZero(); i++) { + b = q.andln(0xff); + q.iushrn(8); + + res[reqLength - i - 1] = b; + } + } else { + for (i = 0; !q.isZero(); i++) { + b = q.andln(0xff); + q.iushrn(8); + + res[i] = b; + } + + for (; i < reqLength; i++) { + res[i] = 0; + } + } + + return res; + }; + + if (Math.clz32) { + BN.prototype._countBits = function _countBits (w) { + return 32 - Math.clz32(w); + }; + } else { + BN.prototype._countBits = function _countBits (w) { + var t = w; + var r = 0; + if (t >= 0x1000) { + r += 13; + t >>>= 13; + } + if (t >= 0x40) { + r += 7; + t >>>= 7; + } + if (t >= 0x8) { + r += 4; + t >>>= 4; + } + if (t >= 0x02) { + r += 2; + t >>>= 2; + } + return r + t; + }; + } + + BN.prototype._zeroBits = function _zeroBits (w) { + // Short-cut + if (w === 0) return 26; + + var t = w; + var r = 0; + if ((t & 0x1fff) === 0) { + r += 13; + t >>>= 13; + } + if ((t & 0x7f) === 0) { + r += 7; + t >>>= 7; + } + if ((t & 0xf) === 0) { + r += 4; + t >>>= 4; + } + if ((t & 0x3) === 0) { + r += 2; + t >>>= 2; + } + if ((t & 0x1) === 0) { + r++; + } + return r; + }; + + // Return number of used bits in a BN + BN.prototype.bitLength = function bitLength () { + var w = this.words[this.length - 1]; + var hi = this._countBits(w); + return (this.length - 1) * 26 + hi; + }; + + function toBitArray (num) { + var w = new Array(num.bitLength()); + + for (var bit = 0; bit < w.length; bit++) { + var off = (bit / 26) | 0; + var wbit = bit % 26; + + w[bit] = (num.words[off] & (1 << wbit)) >>> wbit; + } + + return w; + } + + // Number of trailing zero bits + BN.prototype.zeroBits = function zeroBits () { + if (this.isZero()) return 0; + + var r = 0; + for (var i = 0; i < this.length; i++) { + var b = this._zeroBits(this.words[i]); + r += b; + if (b !== 26) break; + } + return r; + }; + + BN.prototype.byteLength = function byteLength () { + return Math.ceil(this.bitLength() / 8); + }; + + BN.prototype.toTwos = function toTwos (width) { + if (this.negative !== 0) { + return this.abs().inotn(width).iaddn(1); + } + return this.clone(); + }; + + BN.prototype.fromTwos = function fromTwos (width) { + if (this.testn(width - 1)) { + return this.notn(width).iaddn(1).ineg(); + } + return this.clone(); + }; + + BN.prototype.isNeg = function isNeg () { + return this.negative !== 0; + }; + + // Return negative clone of `this` + BN.prototype.neg = function neg () { + return this.clone().ineg(); + }; + + BN.prototype.ineg = function ineg () { + if (!this.isZero()) { + this.negative ^= 1; + } + + return this; + }; + + // Or `num` with `this` in-place + BN.prototype.iuor = function iuor (num) { + while (this.length < num.length) { + this.words[this.length++] = 0; + } + + for (var i = 0; i < num.length; i++) { + this.words[i] = this.words[i] | num.words[i]; + } + + return this.strip(); + }; + + BN.prototype.ior = function ior (num) { + assert((this.negative | num.negative) === 0); + return this.iuor(num); + }; + + // Or `num` with `this` + BN.prototype.or = function or (num) { + if (this.length > num.length) return this.clone().ior(num); + return num.clone().ior(this); + }; + + BN.prototype.uor = function uor (num) { + if (this.length > num.length) return this.clone().iuor(num); + return num.clone().iuor(this); + }; + + // And `num` with `this` in-place + BN.prototype.iuand = function iuand (num) { + // b = min-length(num, this) + var b; + if (this.length > num.length) { + b = num; + } else { + b = this; + } + + for (var i = 0; i < b.length; i++) { + this.words[i] = this.words[i] & num.words[i]; + } + + this.length = b.length; + + return this.strip(); + }; + + BN.prototype.iand = function iand (num) { + assert((this.negative | num.negative) === 0); + return this.iuand(num); + }; + + // And `num` with `this` + BN.prototype.and = function and (num) { + if (this.length > num.length) return this.clone().iand(num); + return num.clone().iand(this); + }; + + BN.prototype.uand = function uand (num) { + if (this.length > num.length) return this.clone().iuand(num); + return num.clone().iuand(this); + }; + + // Xor `num` with `this` in-place + BN.prototype.iuxor = function iuxor (num) { + // a.length > b.length + var a; + var b; + if (this.length > num.length) { + a = this; + b = num; + } else { + a = num; + b = this; + } + + for (var i = 0; i < b.length; i++) { + this.words[i] = a.words[i] ^ b.words[i]; + } + + if (this !== a) { + for (; i < a.length; i++) { + this.words[i] = a.words[i]; + } + } + + this.length = a.length; + + return this.strip(); + }; + + BN.prototype.ixor = function ixor (num) { + assert((this.negative | num.negative) === 0); + return this.iuxor(num); + }; + + // Xor `num` with `this` + BN.prototype.xor = function xor (num) { + if (this.length > num.length) return this.clone().ixor(num); + return num.clone().ixor(this); + }; + + BN.prototype.uxor = function uxor (num) { + if (this.length > num.length) return this.clone().iuxor(num); + return num.clone().iuxor(this); + }; + + // Not ``this`` with ``width`` bitwidth + BN.prototype.inotn = function inotn (width) { + assert(typeof width === 'number' && width >= 0); + + var bytesNeeded = Math.ceil(width / 26) | 0; + var bitsLeft = width % 26; + + // Extend the buffer with leading zeroes + this._expand(bytesNeeded); + + if (bitsLeft > 0) { + bytesNeeded--; + } + + // Handle complete words + for (var i = 0; i < bytesNeeded; i++) { + this.words[i] = ~this.words[i] & 0x3ffffff; + } + + // Handle the residue + if (bitsLeft > 0) { + this.words[i] = ~this.words[i] & (0x3ffffff >> (26 - bitsLeft)); + } + + // And remove leading zeroes + return this.strip(); + }; + + BN.prototype.notn = function notn (width) { + return this.clone().inotn(width); + }; + + // Set `bit` of `this` + BN.prototype.setn = function setn (bit, val) { + assert(typeof bit === 'number' && bit >= 0); + + var off = (bit / 26) | 0; + var wbit = bit % 26; + + this._expand(off + 1); + + if (val) { + this.words[off] = this.words[off] | (1 << wbit); + } else { + this.words[off] = this.words[off] & ~(1 << wbit); + } + + return this.strip(); + }; + + // Add `num` to `this` in-place + BN.prototype.iadd = function iadd (num) { + var r; + + // negative + positive + if (this.negative !== 0 && num.negative === 0) { + this.negative = 0; + r = this.isub(num); + this.negative ^= 1; + return this._normSign(); + + // positive + negative + } else if (this.negative === 0 && num.negative !== 0) { + num.negative = 0; + r = this.isub(num); + num.negative = 1; + return r._normSign(); + } + + // a.length > b.length + var a, b; + if (this.length > num.length) { + a = this; + b = num; + } else { + a = num; + b = this; + } + + var carry = 0; + for (var i = 0; i < b.length; i++) { + r = (a.words[i] | 0) + (b.words[i] | 0) + carry; + this.words[i] = r & 0x3ffffff; + carry = r >>> 26; + } + for (; carry !== 0 && i < a.length; i++) { + r = (a.words[i] | 0) + carry; + this.words[i] = r & 0x3ffffff; + carry = r >>> 26; + } + + this.length = a.length; + if (carry !== 0) { + this.words[this.length] = carry; + this.length++; + // Copy the rest of the words + } else if (a !== this) { + for (; i < a.length; i++) { + this.words[i] = a.words[i]; + } + } + + return this; + }; + + // Add `num` to `this` + BN.prototype.add = function add (num) { + var res; + if (num.negative !== 0 && this.negative === 0) { + num.negative = 0; + res = this.sub(num); + num.negative ^= 1; + return res; + } else if (num.negative === 0 && this.negative !== 0) { + this.negative = 0; + res = num.sub(this); + this.negative = 1; + return res; + } + + if (this.length > num.length) return this.clone().iadd(num); + + return num.clone().iadd(this); + }; + + // Subtract `num` from `this` in-place + BN.prototype.isub = function isub (num) { + // this - (-num) = this + num + if (num.negative !== 0) { + num.negative = 0; + var r = this.iadd(num); + num.negative = 1; + return r._normSign(); + + // -this - num = -(this + num) + } else if (this.negative !== 0) { + this.negative = 0; + this.iadd(num); + this.negative = 1; + return this._normSign(); + } + + // At this point both numbers are positive + var cmp = this.cmp(num); + + // Optimization - zeroify + if (cmp === 0) { + this.negative = 0; + this.length = 1; + this.words[0] = 0; + return this; + } + + // a > b + var a, b; + if (cmp > 0) { + a = this; + b = num; + } else { + a = num; + b = this; + } + + var carry = 0; + for (var i = 0; i < b.length; i++) { + r = (a.words[i] | 0) - (b.words[i] | 0) + carry; + carry = r >> 26; + this.words[i] = r & 0x3ffffff; + } + for (; carry !== 0 && i < a.length; i++) { + r = (a.words[i] | 0) + carry; + carry = r >> 26; + this.words[i] = r & 0x3ffffff; + } + + // Copy rest of the words + if (carry === 0 && i < a.length && a !== this) { + for (; i < a.length; i++) { + this.words[i] = a.words[i]; + } + } + + this.length = Math.max(this.length, i); + + if (a !== this) { + this.negative = 1; + } + + return this.strip(); + }; + + // Subtract `num` from `this` + BN.prototype.sub = function sub (num) { + return this.clone().isub(num); + }; + + function smallMulTo (self, num, out) { + out.negative = num.negative ^ self.negative; + var len = (self.length + num.length) | 0; + out.length = len; + len = (len - 1) | 0; + + // Peel one iteration (compiler can't do it, because of code complexity) + var a = self.words[0] | 0; + var b = num.words[0] | 0; + var r = a * b; + + var lo = r & 0x3ffffff; + var carry = (r / 0x4000000) | 0; + out.words[0] = lo; + + for (var k = 1; k < len; k++) { + // Sum all words with the same `i + j = k` and accumulate `ncarry`, + // note that ncarry could be >= 0x3ffffff + var ncarry = carry >>> 26; + var rword = carry & 0x3ffffff; + var maxJ = Math.min(k, num.length - 1); + for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { + var i = (k - j) | 0; + a = self.words[i] | 0; + b = num.words[j] | 0; + r = a * b + rword; + ncarry += (r / 0x4000000) | 0; + rword = r & 0x3ffffff; + } + out.words[k] = rword | 0; + carry = ncarry | 0; + } + if (carry !== 0) { + out.words[k] = carry | 0; + } else { + out.length--; + } + + return out.strip(); + } + + // TODO(indutny): it may be reasonable to omit it for users who don't need + // to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit + // multiplication (like elliptic secp256k1). + var comb10MulTo = function comb10MulTo (self, num, out) { + var a = self.words; + var b = num.words; + var o = out.words; + var c = 0; + var lo; + var mid; + var hi; + var a0 = a[0] | 0; + var al0 = a0 & 0x1fff; + var ah0 = a0 >>> 13; + var a1 = a[1] | 0; + var al1 = a1 & 0x1fff; + var ah1 = a1 >>> 13; + var a2 = a[2] | 0; + var al2 = a2 & 0x1fff; + var ah2 = a2 >>> 13; + var a3 = a[3] | 0; + var al3 = a3 & 0x1fff; + var ah3 = a3 >>> 13; + var a4 = a[4] | 0; + var al4 = a4 & 0x1fff; + var ah4 = a4 >>> 13; + var a5 = a[5] | 0; + var al5 = a5 & 0x1fff; + var ah5 = a5 >>> 13; + var a6 = a[6] | 0; + var al6 = a6 & 0x1fff; + var ah6 = a6 >>> 13; + var a7 = a[7] | 0; + var al7 = a7 & 0x1fff; + var ah7 = a7 >>> 13; + var a8 = a[8] | 0; + var al8 = a8 & 0x1fff; + var ah8 = a8 >>> 13; + var a9 = a[9] | 0; + var al9 = a9 & 0x1fff; + var ah9 = a9 >>> 13; + var b0 = b[0] | 0; + var bl0 = b0 & 0x1fff; + var bh0 = b0 >>> 13; + var b1 = b[1] | 0; + var bl1 = b1 & 0x1fff; + var bh1 = b1 >>> 13; + var b2 = b[2] | 0; + var bl2 = b2 & 0x1fff; + var bh2 = b2 >>> 13; + var b3 = b[3] | 0; + var bl3 = b3 & 0x1fff; + var bh3 = b3 >>> 13; + var b4 = b[4] | 0; + var bl4 = b4 & 0x1fff; + var bh4 = b4 >>> 13; + var b5 = b[5] | 0; + var bl5 = b5 & 0x1fff; + var bh5 = b5 >>> 13; + var b6 = b[6] | 0; + var bl6 = b6 & 0x1fff; + var bh6 = b6 >>> 13; + var b7 = b[7] | 0; + var bl7 = b7 & 0x1fff; + var bh7 = b7 >>> 13; + var b8 = b[8] | 0; + var bl8 = b8 & 0x1fff; + var bh8 = b8 >>> 13; + var b9 = b[9] | 0; + var bl9 = b9 & 0x1fff; + var bh9 = b9 >>> 13; + + out.negative = self.negative ^ num.negative; + out.length = 19; + /* k = 0 */ + lo = Math.imul(al0, bl0); + mid = Math.imul(al0, bh0); + mid = (mid + Math.imul(ah0, bl0)) | 0; + hi = Math.imul(ah0, bh0); + var w0 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0; + w0 &= 0x3ffffff; + /* k = 1 */ + lo = Math.imul(al1, bl0); + mid = Math.imul(al1, bh0); + mid = (mid + Math.imul(ah1, bl0)) | 0; + hi = Math.imul(ah1, bh0); + lo = (lo + Math.imul(al0, bl1)) | 0; + mid = (mid + Math.imul(al0, bh1)) | 0; + mid = (mid + Math.imul(ah0, bl1)) | 0; + hi = (hi + Math.imul(ah0, bh1)) | 0; + var w1 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0; + w1 &= 0x3ffffff; + /* k = 2 */ + lo = Math.imul(al2, bl0); + mid = Math.imul(al2, bh0); + mid = (mid + Math.imul(ah2, bl0)) | 0; + hi = Math.imul(ah2, bh0); + lo = (lo + Math.imul(al1, bl1)) | 0; + mid = (mid + Math.imul(al1, bh1)) | 0; + mid = (mid + Math.imul(ah1, bl1)) | 0; + hi = (hi + Math.imul(ah1, bh1)) | 0; + lo = (lo + Math.imul(al0, bl2)) | 0; + mid = (mid + Math.imul(al0, bh2)) | 0; + mid = (mid + Math.imul(ah0, bl2)) | 0; + hi = (hi + Math.imul(ah0, bh2)) | 0; + var w2 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0; + w2 &= 0x3ffffff; + /* k = 3 */ + lo = Math.imul(al3, bl0); + mid = Math.imul(al3, bh0); + mid = (mid + Math.imul(ah3, bl0)) | 0; + hi = Math.imul(ah3, bh0); + lo = (lo + Math.imul(al2, bl1)) | 0; + mid = (mid + Math.imul(al2, bh1)) | 0; + mid = (mid + Math.imul(ah2, bl1)) | 0; + hi = (hi + Math.imul(ah2, bh1)) | 0; + lo = (lo + Math.imul(al1, bl2)) | 0; + mid = (mid + Math.imul(al1, bh2)) | 0; + mid = (mid + Math.imul(ah1, bl2)) | 0; + hi = (hi + Math.imul(ah1, bh2)) | 0; + lo = (lo + Math.imul(al0, bl3)) | 0; + mid = (mid + Math.imul(al0, bh3)) | 0; + mid = (mid + Math.imul(ah0, bl3)) | 0; + hi = (hi + Math.imul(ah0, bh3)) | 0; + var w3 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0; + w3 &= 0x3ffffff; + /* k = 4 */ + lo = Math.imul(al4, bl0); + mid = Math.imul(al4, bh0); + mid = (mid + Math.imul(ah4, bl0)) | 0; + hi = Math.imul(ah4, bh0); + lo = (lo + Math.imul(al3, bl1)) | 0; + mid = (mid + Math.imul(al3, bh1)) | 0; + mid = (mid + Math.imul(ah3, bl1)) | 0; + hi = (hi + Math.imul(ah3, bh1)) | 0; + lo = (lo + Math.imul(al2, bl2)) | 0; + mid = (mid + Math.imul(al2, bh2)) | 0; + mid = (mid + Math.imul(ah2, bl2)) | 0; + hi = (hi + Math.imul(ah2, bh2)) | 0; + lo = (lo + Math.imul(al1, bl3)) | 0; + mid = (mid + Math.imul(al1, bh3)) | 0; + mid = (mid + Math.imul(ah1, bl3)) | 0; + hi = (hi + Math.imul(ah1, bh3)) | 0; + lo = (lo + Math.imul(al0, bl4)) | 0; + mid = (mid + Math.imul(al0, bh4)) | 0; + mid = (mid + Math.imul(ah0, bl4)) | 0; + hi = (hi + Math.imul(ah0, bh4)) | 0; + var w4 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0; + w4 &= 0x3ffffff; + /* k = 5 */ + lo = Math.imul(al5, bl0); + mid = Math.imul(al5, bh0); + mid = (mid + Math.imul(ah5, bl0)) | 0; + hi = Math.imul(ah5, bh0); + lo = (lo + Math.imul(al4, bl1)) | 0; + mid = (mid + Math.imul(al4, bh1)) | 0; + mid = (mid + Math.imul(ah4, bl1)) | 0; + hi = (hi + Math.imul(ah4, bh1)) | 0; + lo = (lo + Math.imul(al3, bl2)) | 0; + mid = (mid + Math.imul(al3, bh2)) | 0; + mid = (mid + Math.imul(ah3, bl2)) | 0; + hi = (hi + Math.imul(ah3, bh2)) | 0; + lo = (lo + Math.imul(al2, bl3)) | 0; + mid = (mid + Math.imul(al2, bh3)) | 0; + mid = (mid + Math.imul(ah2, bl3)) | 0; + hi = (hi + Math.imul(ah2, bh3)) | 0; + lo = (lo + Math.imul(al1, bl4)) | 0; + mid = (mid + Math.imul(al1, bh4)) | 0; + mid = (mid + Math.imul(ah1, bl4)) | 0; + hi = (hi + Math.imul(ah1, bh4)) | 0; + lo = (lo + Math.imul(al0, bl5)) | 0; + mid = (mid + Math.imul(al0, bh5)) | 0; + mid = (mid + Math.imul(ah0, bl5)) | 0; + hi = (hi + Math.imul(ah0, bh5)) | 0; + var w5 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0; + w5 &= 0x3ffffff; + /* k = 6 */ + lo = Math.imul(al6, bl0); + mid = Math.imul(al6, bh0); + mid = (mid + Math.imul(ah6, bl0)) | 0; + hi = Math.imul(ah6, bh0); + lo = (lo + Math.imul(al5, bl1)) | 0; + mid = (mid + Math.imul(al5, bh1)) | 0; + mid = (mid + Math.imul(ah5, bl1)) | 0; + hi = (hi + Math.imul(ah5, bh1)) | 0; + lo = (lo + Math.imul(al4, bl2)) | 0; + mid = (mid + Math.imul(al4, bh2)) | 0; + mid = (mid + Math.imul(ah4, bl2)) | 0; + hi = (hi + Math.imul(ah4, bh2)) | 0; + lo = (lo + Math.imul(al3, bl3)) | 0; + mid = (mid + Math.imul(al3, bh3)) | 0; + mid = (mid + Math.imul(ah3, bl3)) | 0; + hi = (hi + Math.imul(ah3, bh3)) | 0; + lo = (lo + Math.imul(al2, bl4)) | 0; + mid = (mid + Math.imul(al2, bh4)) | 0; + mid = (mid + Math.imul(ah2, bl4)) | 0; + hi = (hi + Math.imul(ah2, bh4)) | 0; + lo = (lo + Math.imul(al1, bl5)) | 0; + mid = (mid + Math.imul(al1, bh5)) | 0; + mid = (mid + Math.imul(ah1, bl5)) | 0; + hi = (hi + Math.imul(ah1, bh5)) | 0; + lo = (lo + Math.imul(al0, bl6)) | 0; + mid = (mid + Math.imul(al0, bh6)) | 0; + mid = (mid + Math.imul(ah0, bl6)) | 0; + hi = (hi + Math.imul(ah0, bh6)) | 0; + var w6 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0; + w6 &= 0x3ffffff; + /* k = 7 */ + lo = Math.imul(al7, bl0); + mid = Math.imul(al7, bh0); + mid = (mid + Math.imul(ah7, bl0)) | 0; + hi = Math.imul(ah7, bh0); + lo = (lo + Math.imul(al6, bl1)) | 0; + mid = (mid + Math.imul(al6, bh1)) | 0; + mid = (mid + Math.imul(ah6, bl1)) | 0; + hi = (hi + Math.imul(ah6, bh1)) | 0; + lo = (lo + Math.imul(al5, bl2)) | 0; + mid = (mid + Math.imul(al5, bh2)) | 0; + mid = (mid + Math.imul(ah5, bl2)) | 0; + hi = (hi + Math.imul(ah5, bh2)) | 0; + lo = (lo + Math.imul(al4, bl3)) | 0; + mid = (mid + Math.imul(al4, bh3)) | 0; + mid = (mid + Math.imul(ah4, bl3)) | 0; + hi = (hi + Math.imul(ah4, bh3)) | 0; + lo = (lo + Math.imul(al3, bl4)) | 0; + mid = (mid + Math.imul(al3, bh4)) | 0; + mid = (mid + Math.imul(ah3, bl4)) | 0; + hi = (hi + Math.imul(ah3, bh4)) | 0; + lo = (lo + Math.imul(al2, bl5)) | 0; + mid = (mid + Math.imul(al2, bh5)) | 0; + mid = (mid + Math.imul(ah2, bl5)) | 0; + hi = (hi + Math.imul(ah2, bh5)) | 0; + lo = (lo + Math.imul(al1, bl6)) | 0; + mid = (mid + Math.imul(al1, bh6)) | 0; + mid = (mid + Math.imul(ah1, bl6)) | 0; + hi = (hi + Math.imul(ah1, bh6)) | 0; + lo = (lo + Math.imul(al0, bl7)) | 0; + mid = (mid + Math.imul(al0, bh7)) | 0; + mid = (mid + Math.imul(ah0, bl7)) | 0; + hi = (hi + Math.imul(ah0, bh7)) | 0; + var w7 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0; + w7 &= 0x3ffffff; + /* k = 8 */ + lo = Math.imul(al8, bl0); + mid = Math.imul(al8, bh0); + mid = (mid + Math.imul(ah8, bl0)) | 0; + hi = Math.imul(ah8, bh0); + lo = (lo + Math.imul(al7, bl1)) | 0; + mid = (mid + Math.imul(al7, bh1)) | 0; + mid = (mid + Math.imul(ah7, bl1)) | 0; + hi = (hi + Math.imul(ah7, bh1)) | 0; + lo = (lo + Math.imul(al6, bl2)) | 0; + mid = (mid + Math.imul(al6, bh2)) | 0; + mid = (mid + Math.imul(ah6, bl2)) | 0; + hi = (hi + Math.imul(ah6, bh2)) | 0; + lo = (lo + Math.imul(al5, bl3)) | 0; + mid = (mid + Math.imul(al5, bh3)) | 0; + mid = (mid + Math.imul(ah5, bl3)) | 0; + hi = (hi + Math.imul(ah5, bh3)) | 0; + lo = (lo + Math.imul(al4, bl4)) | 0; + mid = (mid + Math.imul(al4, bh4)) | 0; + mid = (mid + Math.imul(ah4, bl4)) | 0; + hi = (hi + Math.imul(ah4, bh4)) | 0; + lo = (lo + Math.imul(al3, bl5)) | 0; + mid = (mid + Math.imul(al3, bh5)) | 0; + mid = (mid + Math.imul(ah3, bl5)) | 0; + hi = (hi + Math.imul(ah3, bh5)) | 0; + lo = (lo + Math.imul(al2, bl6)) | 0; + mid = (mid + Math.imul(al2, bh6)) | 0; + mid = (mid + Math.imul(ah2, bl6)) | 0; + hi = (hi + Math.imul(ah2, bh6)) | 0; + lo = (lo + Math.imul(al1, bl7)) | 0; + mid = (mid + Math.imul(al1, bh7)) | 0; + mid = (mid + Math.imul(ah1, bl7)) | 0; + hi = (hi + Math.imul(ah1, bh7)) | 0; + lo = (lo + Math.imul(al0, bl8)) | 0; + mid = (mid + Math.imul(al0, bh8)) | 0; + mid = (mid + Math.imul(ah0, bl8)) | 0; + hi = (hi + Math.imul(ah0, bh8)) | 0; + var w8 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0; + w8 &= 0x3ffffff; + /* k = 9 */ + lo = Math.imul(al9, bl0); + mid = Math.imul(al9, bh0); + mid = (mid + Math.imul(ah9, bl0)) | 0; + hi = Math.imul(ah9, bh0); + lo = (lo + Math.imul(al8, bl1)) | 0; + mid = (mid + Math.imul(al8, bh1)) | 0; + mid = (mid + Math.imul(ah8, bl1)) | 0; + hi = (hi + Math.imul(ah8, bh1)) | 0; + lo = (lo + Math.imul(al7, bl2)) | 0; + mid = (mid + Math.imul(al7, bh2)) | 0; + mid = (mid + Math.imul(ah7, bl2)) | 0; + hi = (hi + Math.imul(ah7, bh2)) | 0; + lo = (lo + Math.imul(al6, bl3)) | 0; + mid = (mid + Math.imul(al6, bh3)) | 0; + mid = (mid + Math.imul(ah6, bl3)) | 0; + hi = (hi + Math.imul(ah6, bh3)) | 0; + lo = (lo + Math.imul(al5, bl4)) | 0; + mid = (mid + Math.imul(al5, bh4)) | 0; + mid = (mid + Math.imul(ah5, bl4)) | 0; + hi = (hi + Math.imul(ah5, bh4)) | 0; + lo = (lo + Math.imul(al4, bl5)) | 0; + mid = (mid + Math.imul(al4, bh5)) | 0; + mid = (mid + Math.imul(ah4, bl5)) | 0; + hi = (hi + Math.imul(ah4, bh5)) | 0; + lo = (lo + Math.imul(al3, bl6)) | 0; + mid = (mid + Math.imul(al3, bh6)) | 0; + mid = (mid + Math.imul(ah3, bl6)) | 0; + hi = (hi + Math.imul(ah3, bh6)) | 0; + lo = (lo + Math.imul(al2, bl7)) | 0; + mid = (mid + Math.imul(al2, bh7)) | 0; + mid = (mid + Math.imul(ah2, bl7)) | 0; + hi = (hi + Math.imul(ah2, bh7)) | 0; + lo = (lo + Math.imul(al1, bl8)) | 0; + mid = (mid + Math.imul(al1, bh8)) | 0; + mid = (mid + Math.imul(ah1, bl8)) | 0; + hi = (hi + Math.imul(ah1, bh8)) | 0; + lo = (lo + Math.imul(al0, bl9)) | 0; + mid = (mid + Math.imul(al0, bh9)) | 0; + mid = (mid + Math.imul(ah0, bl9)) | 0; + hi = (hi + Math.imul(ah0, bh9)) | 0; + var w9 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0; + w9 &= 0x3ffffff; + /* k = 10 */ + lo = Math.imul(al9, bl1); + mid = Math.imul(al9, bh1); + mid = (mid + Math.imul(ah9, bl1)) | 0; + hi = Math.imul(ah9, bh1); + lo = (lo + Math.imul(al8, bl2)) | 0; + mid = (mid + Math.imul(al8, bh2)) | 0; + mid = (mid + Math.imul(ah8, bl2)) | 0; + hi = (hi + Math.imul(ah8, bh2)) | 0; + lo = (lo + Math.imul(al7, bl3)) | 0; + mid = (mid + Math.imul(al7, bh3)) | 0; + mid = (mid + Math.imul(ah7, bl3)) | 0; + hi = (hi + Math.imul(ah7, bh3)) | 0; + lo = (lo + Math.imul(al6, bl4)) | 0; + mid = (mid + Math.imul(al6, bh4)) | 0; + mid = (mid + Math.imul(ah6, bl4)) | 0; + hi = (hi + Math.imul(ah6, bh4)) | 0; + lo = (lo + Math.imul(al5, bl5)) | 0; + mid = (mid + Math.imul(al5, bh5)) | 0; + mid = (mid + Math.imul(ah5, bl5)) | 0; + hi = (hi + Math.imul(ah5, bh5)) | 0; + lo = (lo + Math.imul(al4, bl6)) | 0; + mid = (mid + Math.imul(al4, bh6)) | 0; + mid = (mid + Math.imul(ah4, bl6)) | 0; + hi = (hi + Math.imul(ah4, bh6)) | 0; + lo = (lo + Math.imul(al3, bl7)) | 0; + mid = (mid + Math.imul(al3, bh7)) | 0; + mid = (mid + Math.imul(ah3, bl7)) | 0; + hi = (hi + Math.imul(ah3, bh7)) | 0; + lo = (lo + Math.imul(al2, bl8)) | 0; + mid = (mid + Math.imul(al2, bh8)) | 0; + mid = (mid + Math.imul(ah2, bl8)) | 0; + hi = (hi + Math.imul(ah2, bh8)) | 0; + lo = (lo + Math.imul(al1, bl9)) | 0; + mid = (mid + Math.imul(al1, bh9)) | 0; + mid = (mid + Math.imul(ah1, bl9)) | 0; + hi = (hi + Math.imul(ah1, bh9)) | 0; + var w10 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0; + w10 &= 0x3ffffff; + /* k = 11 */ + lo = Math.imul(al9, bl2); + mid = Math.imul(al9, bh2); + mid = (mid + Math.imul(ah9, bl2)) | 0; + hi = Math.imul(ah9, bh2); + lo = (lo + Math.imul(al8, bl3)) | 0; + mid = (mid + Math.imul(al8, bh3)) | 0; + mid = (mid + Math.imul(ah8, bl3)) | 0; + hi = (hi + Math.imul(ah8, bh3)) | 0; + lo = (lo + Math.imul(al7, bl4)) | 0; + mid = (mid + Math.imul(al7, bh4)) | 0; + mid = (mid + Math.imul(ah7, bl4)) | 0; + hi = (hi + Math.imul(ah7, bh4)) | 0; + lo = (lo + Math.imul(al6, bl5)) | 0; + mid = (mid + Math.imul(al6, bh5)) | 0; + mid = (mid + Math.imul(ah6, bl5)) | 0; + hi = (hi + Math.imul(ah6, bh5)) | 0; + lo = (lo + Math.imul(al5, bl6)) | 0; + mid = (mid + Math.imul(al5, bh6)) | 0; + mid = (mid + Math.imul(ah5, bl6)) | 0; + hi = (hi + Math.imul(ah5, bh6)) | 0; + lo = (lo + Math.imul(al4, bl7)) | 0; + mid = (mid + Math.imul(al4, bh7)) | 0; + mid = (mid + Math.imul(ah4, bl7)) | 0; + hi = (hi + Math.imul(ah4, bh7)) | 0; + lo = (lo + Math.imul(al3, bl8)) | 0; + mid = (mid + Math.imul(al3, bh8)) | 0; + mid = (mid + Math.imul(ah3, bl8)) | 0; + hi = (hi + Math.imul(ah3, bh8)) | 0; + lo = (lo + Math.imul(al2, bl9)) | 0; + mid = (mid + Math.imul(al2, bh9)) | 0; + mid = (mid + Math.imul(ah2, bl9)) | 0; + hi = (hi + Math.imul(ah2, bh9)) | 0; + var w11 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0; + w11 &= 0x3ffffff; + /* k = 12 */ + lo = Math.imul(al9, bl3); + mid = Math.imul(al9, bh3); + mid = (mid + Math.imul(ah9, bl3)) | 0; + hi = Math.imul(ah9, bh3); + lo = (lo + Math.imul(al8, bl4)) | 0; + mid = (mid + Math.imul(al8, bh4)) | 0; + mid = (mid + Math.imul(ah8, bl4)) | 0; + hi = (hi + Math.imul(ah8, bh4)) | 0; + lo = (lo + Math.imul(al7, bl5)) | 0; + mid = (mid + Math.imul(al7, bh5)) | 0; + mid = (mid + Math.imul(ah7, bl5)) | 0; + hi = (hi + Math.imul(ah7, bh5)) | 0; + lo = (lo + Math.imul(al6, bl6)) | 0; + mid = (mid + Math.imul(al6, bh6)) | 0; + mid = (mid + Math.imul(ah6, bl6)) | 0; + hi = (hi + Math.imul(ah6, bh6)) | 0; + lo = (lo + Math.imul(al5, bl7)) | 0; + mid = (mid + Math.imul(al5, bh7)) | 0; + mid = (mid + Math.imul(ah5, bl7)) | 0; + hi = (hi + Math.imul(ah5, bh7)) | 0; + lo = (lo + Math.imul(al4, bl8)) | 0; + mid = (mid + Math.imul(al4, bh8)) | 0; + mid = (mid + Math.imul(ah4, bl8)) | 0; + hi = (hi + Math.imul(ah4, bh8)) | 0; + lo = (lo + Math.imul(al3, bl9)) | 0; + mid = (mid + Math.imul(al3, bh9)) | 0; + mid = (mid + Math.imul(ah3, bl9)) | 0; + hi = (hi + Math.imul(ah3, bh9)) | 0; + var w12 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0; + w12 &= 0x3ffffff; + /* k = 13 */ + lo = Math.imul(al9, bl4); + mid = Math.imul(al9, bh4); + mid = (mid + Math.imul(ah9, bl4)) | 0; + hi = Math.imul(ah9, bh4); + lo = (lo + Math.imul(al8, bl5)) | 0; + mid = (mid + Math.imul(al8, bh5)) | 0; + mid = (mid + Math.imul(ah8, bl5)) | 0; + hi = (hi + Math.imul(ah8, bh5)) | 0; + lo = (lo + Math.imul(al7, bl6)) | 0; + mid = (mid + Math.imul(al7, bh6)) | 0; + mid = (mid + Math.imul(ah7, bl6)) | 0; + hi = (hi + Math.imul(ah7, bh6)) | 0; + lo = (lo + Math.imul(al6, bl7)) | 0; + mid = (mid + Math.imul(al6, bh7)) | 0; + mid = (mid + Math.imul(ah6, bl7)) | 0; + hi = (hi + Math.imul(ah6, bh7)) | 0; + lo = (lo + Math.imul(al5, bl8)) | 0; + mid = (mid + Math.imul(al5, bh8)) | 0; + mid = (mid + Math.imul(ah5, bl8)) | 0; + hi = (hi + Math.imul(ah5, bh8)) | 0; + lo = (lo + Math.imul(al4, bl9)) | 0; + mid = (mid + Math.imul(al4, bh9)) | 0; + mid = (mid + Math.imul(ah4, bl9)) | 0; + hi = (hi + Math.imul(ah4, bh9)) | 0; + var w13 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0; + w13 &= 0x3ffffff; + /* k = 14 */ + lo = Math.imul(al9, bl5); + mid = Math.imul(al9, bh5); + mid = (mid + Math.imul(ah9, bl5)) | 0; + hi = Math.imul(ah9, bh5); + lo = (lo + Math.imul(al8, bl6)) | 0; + mid = (mid + Math.imul(al8, bh6)) | 0; + mid = (mid + Math.imul(ah8, bl6)) | 0; + hi = (hi + Math.imul(ah8, bh6)) | 0; + lo = (lo + Math.imul(al7, bl7)) | 0; + mid = (mid + Math.imul(al7, bh7)) | 0; + mid = (mid + Math.imul(ah7, bl7)) | 0; + hi = (hi + Math.imul(ah7, bh7)) | 0; + lo = (lo + Math.imul(al6, bl8)) | 0; + mid = (mid + Math.imul(al6, bh8)) | 0; + mid = (mid + Math.imul(ah6, bl8)) | 0; + hi = (hi + Math.imul(ah6, bh8)) | 0; + lo = (lo + Math.imul(al5, bl9)) | 0; + mid = (mid + Math.imul(al5, bh9)) | 0; + mid = (mid + Math.imul(ah5, bl9)) | 0; + hi = (hi + Math.imul(ah5, bh9)) | 0; + var w14 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0; + w14 &= 0x3ffffff; + /* k = 15 */ + lo = Math.imul(al9, bl6); + mid = Math.imul(al9, bh6); + mid = (mid + Math.imul(ah9, bl6)) | 0; + hi = Math.imul(ah9, bh6); + lo = (lo + Math.imul(al8, bl7)) | 0; + mid = (mid + Math.imul(al8, bh7)) | 0; + mid = (mid + Math.imul(ah8, bl7)) | 0; + hi = (hi + Math.imul(ah8, bh7)) | 0; + lo = (lo + Math.imul(al7, bl8)) | 0; + mid = (mid + Math.imul(al7, bh8)) | 0; + mid = (mid + Math.imul(ah7, bl8)) | 0; + hi = (hi + Math.imul(ah7, bh8)) | 0; + lo = (lo + Math.imul(al6, bl9)) | 0; + mid = (mid + Math.imul(al6, bh9)) | 0; + mid = (mid + Math.imul(ah6, bl9)) | 0; + hi = (hi + Math.imul(ah6, bh9)) | 0; + var w15 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0; + w15 &= 0x3ffffff; + /* k = 16 */ + lo = Math.imul(al9, bl7); + mid = Math.imul(al9, bh7); + mid = (mid + Math.imul(ah9, bl7)) | 0; + hi = Math.imul(ah9, bh7); + lo = (lo + Math.imul(al8, bl8)) | 0; + mid = (mid + Math.imul(al8, bh8)) | 0; + mid = (mid + Math.imul(ah8, bl8)) | 0; + hi = (hi + Math.imul(ah8, bh8)) | 0; + lo = (lo + Math.imul(al7, bl9)) | 0; + mid = (mid + Math.imul(al7, bh9)) | 0; + mid = (mid + Math.imul(ah7, bl9)) | 0; + hi = (hi + Math.imul(ah7, bh9)) | 0; + var w16 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0; + w16 &= 0x3ffffff; + /* k = 17 */ + lo = Math.imul(al9, bl8); + mid = Math.imul(al9, bh8); + mid = (mid + Math.imul(ah9, bl8)) | 0; + hi = Math.imul(ah9, bh8); + lo = (lo + Math.imul(al8, bl9)) | 0; + mid = (mid + Math.imul(al8, bh9)) | 0; + mid = (mid + Math.imul(ah8, bl9)) | 0; + hi = (hi + Math.imul(ah8, bh9)) | 0; + var w17 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0; + w17 &= 0x3ffffff; + /* k = 18 */ + lo = Math.imul(al9, bl9); + mid = Math.imul(al9, bh9); + mid = (mid + Math.imul(ah9, bl9)) | 0; + hi = Math.imul(ah9, bh9); + var w18 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; + c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0; + w18 &= 0x3ffffff; + o[0] = w0; + o[1] = w1; + o[2] = w2; + o[3] = w3; + o[4] = w4; + o[5] = w5; + o[6] = w6; + o[7] = w7; + o[8] = w8; + o[9] = w9; + o[10] = w10; + o[11] = w11; + o[12] = w12; + o[13] = w13; + o[14] = w14; + o[15] = w15; + o[16] = w16; + o[17] = w17; + o[18] = w18; + if (c !== 0) { + o[19] = c; + out.length++; + } + return out; + }; + + // Polyfill comb + if (!Math.imul) { + comb10MulTo = smallMulTo; + } + + function bigMulTo (self, num, out) { + out.negative = num.negative ^ self.negative; + out.length = self.length + num.length; + + var carry = 0; + var hncarry = 0; + for (var k = 0; k < out.length - 1; k++) { + // Sum all words with the same `i + j = k` and accumulate `ncarry`, + // note that ncarry could be >= 0x3ffffff + var ncarry = hncarry; + hncarry = 0; + var rword = carry & 0x3ffffff; + var maxJ = Math.min(k, num.length - 1); + for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { + var i = k - j; + var a = self.words[i] | 0; + var b = num.words[j] | 0; + var r = a * b; + + var lo = r & 0x3ffffff; + ncarry = (ncarry + ((r / 0x4000000) | 0)) | 0; + lo = (lo + rword) | 0; + rword = lo & 0x3ffffff; + ncarry = (ncarry + (lo >>> 26)) | 0; + + hncarry += ncarry >>> 26; + ncarry &= 0x3ffffff; + } + out.words[k] = rword; + carry = ncarry; + ncarry = hncarry; + } + if (carry !== 0) { + out.words[k] = carry; + } else { + out.length--; + } + + return out.strip(); + } + + function jumboMulTo (self, num, out) { + var fftm = new FFTM(); + return fftm.mulp(self, num, out); + } + + BN.prototype.mulTo = function mulTo (num, out) { + var res; + var len = this.length + num.length; + if (this.length === 10 && num.length === 10) { + res = comb10MulTo(this, num, out); + } else if (len < 63) { + res = smallMulTo(this, num, out); + } else if (len < 1024) { + res = bigMulTo(this, num, out); + } else { + res = jumboMulTo(this, num, out); + } + + return res; + }; + + // Cooley-Tukey algorithm for FFT + // slightly revisited to rely on looping instead of recursion + + function FFTM (x, y) { + this.x = x; + this.y = y; + } + + FFTM.prototype.makeRBT = function makeRBT (N) { + var t = new Array(N); + var l = BN.prototype._countBits(N) - 1; + for (var i = 0; i < N; i++) { + t[i] = this.revBin(i, l, N); + } + + return t; + }; + + // Returns binary-reversed representation of `x` + FFTM.prototype.revBin = function revBin (x, l, N) { + if (x === 0 || x === N - 1) return x; + + var rb = 0; + for (var i = 0; i < l; i++) { + rb |= (x & 1) << (l - i - 1); + x >>= 1; + } + + return rb; + }; + + // Performs "tweedling" phase, therefore 'emulating' + // behaviour of the recursive algorithm + FFTM.prototype.permute = function permute (rbt, rws, iws, rtws, itws, N) { + for (var i = 0; i < N; i++) { + rtws[i] = rws[rbt[i]]; + itws[i] = iws[rbt[i]]; + } + }; + + FFTM.prototype.transform = function transform (rws, iws, rtws, itws, N, rbt) { + this.permute(rbt, rws, iws, rtws, itws, N); + + for (var s = 1; s < N; s <<= 1) { + var l = s << 1; + + var rtwdf = Math.cos(2 * Math.PI / l); + var itwdf = Math.sin(2 * Math.PI / l); + + for (var p = 0; p < N; p += l) { + var rtwdf_ = rtwdf; + var itwdf_ = itwdf; + + for (var j = 0; j < s; j++) { + var re = rtws[p + j]; + var ie = itws[p + j]; + + var ro = rtws[p + j + s]; + var io = itws[p + j + s]; + + var rx = rtwdf_ * ro - itwdf_ * io; + + io = rtwdf_ * io + itwdf_ * ro; + ro = rx; + + rtws[p + j] = re + ro; + itws[p + j] = ie + io; + + rtws[p + j + s] = re - ro; + itws[p + j + s] = ie - io; + + /* jshint maxdepth : false */ + if (j !== l) { + rx = rtwdf * rtwdf_ - itwdf * itwdf_; + + itwdf_ = rtwdf * itwdf_ + itwdf * rtwdf_; + rtwdf_ = rx; + } + } + } + } + }; + + FFTM.prototype.guessLen13b = function guessLen13b (n, m) { + var N = Math.max(m, n) | 1; + var odd = N & 1; + var i = 0; + for (N = N / 2 | 0; N; N = N >>> 1) { + i++; + } + + return 1 << i + 1 + odd; + }; + + FFTM.prototype.conjugate = function conjugate (rws, iws, N) { + if (N <= 1) return; + + for (var i = 0; i < N / 2; i++) { + var t = rws[i]; + + rws[i] = rws[N - i - 1]; + rws[N - i - 1] = t; + + t = iws[i]; + + iws[i] = -iws[N - i - 1]; + iws[N - i - 1] = -t; + } + }; + + FFTM.prototype.normalize13b = function normalize13b (ws, N) { + var carry = 0; + for (var i = 0; i < N / 2; i++) { + var w = Math.round(ws[2 * i + 1] / N) * 0x2000 + + Math.round(ws[2 * i] / N) + + carry; + + ws[i] = w & 0x3ffffff; + + if (w < 0x4000000) { + carry = 0; + } else { + carry = w / 0x4000000 | 0; + } + } + + return ws; + }; + + FFTM.prototype.convert13b = function convert13b (ws, len, rws, N) { + var carry = 0; + for (var i = 0; i < len; i++) { + carry = carry + (ws[i] | 0); + + rws[2 * i] = carry & 0x1fff; carry = carry >>> 13; + rws[2 * i + 1] = carry & 0x1fff; carry = carry >>> 13; + } + + // Pad with zeroes + for (i = 2 * len; i < N; ++i) { + rws[i] = 0; + } + + assert(carry === 0); + assert((carry & ~0x1fff) === 0); + }; + + FFTM.prototype.stub = function stub (N) { + var ph = new Array(N); + for (var i = 0; i < N; i++) { + ph[i] = 0; + } + + return ph; + }; + + FFTM.prototype.mulp = function mulp (x, y, out) { + var N = 2 * this.guessLen13b(x.length, y.length); + + var rbt = this.makeRBT(N); + + var _ = this.stub(N); + + var rws = new Array(N); + var rwst = new Array(N); + var iwst = new Array(N); + + var nrws = new Array(N); + var nrwst = new Array(N); + var niwst = new Array(N); + + var rmws = out.words; + rmws.length = N; + + this.convert13b(x.words, x.length, rws, N); + this.convert13b(y.words, y.length, nrws, N); + + this.transform(rws, _, rwst, iwst, N, rbt); + this.transform(nrws, _, nrwst, niwst, N, rbt); + + for (var i = 0; i < N; i++) { + var rx = rwst[i] * nrwst[i] - iwst[i] * niwst[i]; + iwst[i] = rwst[i] * niwst[i] + iwst[i] * nrwst[i]; + rwst[i] = rx; + } + + this.conjugate(rwst, iwst, N); + this.transform(rwst, iwst, rmws, _, N, rbt); + this.conjugate(rmws, _, N); + this.normalize13b(rmws, N); + + out.negative = x.negative ^ y.negative; + out.length = x.length + y.length; + return out.strip(); + }; + + // Multiply `this` by `num` + BN.prototype.mul = function mul (num) { + var out = new BN(null); + out.words = new Array(this.length + num.length); + return this.mulTo(num, out); + }; + + // Multiply employing FFT + BN.prototype.mulf = function mulf (num) { + var out = new BN(null); + out.words = new Array(this.length + num.length); + return jumboMulTo(this, num, out); + }; + + // In-place Multiplication + BN.prototype.imul = function imul (num) { + return this.clone().mulTo(num, this); + }; + + BN.prototype.imuln = function imuln (num) { + assert(typeof num === 'number'); + assert(num < 0x4000000); + + // Carry + var carry = 0; + for (var i = 0; i < this.length; i++) { + var w = (this.words[i] | 0) * num; + var lo = (w & 0x3ffffff) + (carry & 0x3ffffff); + carry >>= 26; + carry += (w / 0x4000000) | 0; + // NOTE: lo is 27bit maximum + carry += lo >>> 26; + this.words[i] = lo & 0x3ffffff; + } + + if (carry !== 0) { + this.words[i] = carry; + this.length++; + } + + return this; + }; + + BN.prototype.muln = function muln (num) { + return this.clone().imuln(num); + }; + + // `this` * `this` + BN.prototype.sqr = function sqr () { + return this.mul(this); + }; + + // `this` * `this` in-place + BN.prototype.isqr = function isqr () { + return this.imul(this.clone()); + }; + + // Math.pow(`this`, `num`) + BN.prototype.pow = function pow (num) { + var w = toBitArray(num); + if (w.length === 0) return new BN(1); + + // Skip leading zeroes + var res = this; + for (var i = 0; i < w.length; i++, res = res.sqr()) { + if (w[i] !== 0) break; + } + + if (++i < w.length) { + for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) { + if (w[i] === 0) continue; + + res = res.mul(q); + } + } + + return res; + }; + + // Shift-left in-place + BN.prototype.iushln = function iushln (bits) { + assert(typeof bits === 'number' && bits >= 0); + var r = bits % 26; + var s = (bits - r) / 26; + var carryMask = (0x3ffffff >>> (26 - r)) << (26 - r); + var i; + + if (r !== 0) { + var carry = 0; + + for (i = 0; i < this.length; i++) { + var newCarry = this.words[i] & carryMask; + var c = ((this.words[i] | 0) - newCarry) << r; + this.words[i] = c | carry; + carry = newCarry >>> (26 - r); + } + + if (carry) { + this.words[i] = carry; + this.length++; + } + } + + if (s !== 0) { + for (i = this.length - 1; i >= 0; i--) { + this.words[i + s] = this.words[i]; + } + + for (i = 0; i < s; i++) { + this.words[i] = 0; + } + + this.length += s; + } + + return this.strip(); + }; + + BN.prototype.ishln = function ishln (bits) { + // TODO(indutny): implement me + assert(this.negative === 0); + return this.iushln(bits); + }; + + // Shift-right in-place + // NOTE: `hint` is a lowest bit before trailing zeroes + // NOTE: if `extended` is present - it will be filled with destroyed bits + BN.prototype.iushrn = function iushrn (bits, hint, extended) { + assert(typeof bits === 'number' && bits >= 0); + var h; + if (hint) { + h = (hint - (hint % 26)) / 26; + } else { + h = 0; + } + + var r = bits % 26; + var s = Math.min((bits - r) / 26, this.length); + var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); + var maskedWords = extended; + + h -= s; + h = Math.max(0, h); + + // Extended mode, copy masked part + if (maskedWords) { + for (var i = 0; i < s; i++) { + maskedWords.words[i] = this.words[i]; + } + maskedWords.length = s; + } + + if (s === 0) ; else if (this.length > s) { + this.length -= s; + for (i = 0; i < this.length; i++) { + this.words[i] = this.words[i + s]; + } + } else { + this.words[0] = 0; + this.length = 1; + } + + var carry = 0; + for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) { + var word = this.words[i] | 0; + this.words[i] = (carry << (26 - r)) | (word >>> r); + carry = word & mask; + } + + // Push carried bits as a mask + if (maskedWords && carry !== 0) { + maskedWords.words[maskedWords.length++] = carry; + } + + if (this.length === 0) { + this.words[0] = 0; + this.length = 1; + } + + return this.strip(); + }; + + BN.prototype.ishrn = function ishrn (bits, hint, extended) { + // TODO(indutny): implement me + assert(this.negative === 0); + return this.iushrn(bits, hint, extended); + }; + + // Shift-left + BN.prototype.shln = function shln (bits) { + return this.clone().ishln(bits); + }; + + BN.prototype.ushln = function ushln (bits) { + return this.clone().iushln(bits); + }; + + // Shift-right + BN.prototype.shrn = function shrn (bits) { + return this.clone().ishrn(bits); + }; + + BN.prototype.ushrn = function ushrn (bits) { + return this.clone().iushrn(bits); + }; + + // Test if n bit is set + BN.prototype.testn = function testn (bit) { + assert(typeof bit === 'number' && bit >= 0); + var r = bit % 26; + var s = (bit - r) / 26; + var q = 1 << r; + + // Fast case: bit is much higher than all existing words + if (this.length <= s) return false; + + // Check bit and return + var w = this.words[s]; + + return !!(w & q); + }; + + // Return only lowers bits of number (in-place) + BN.prototype.imaskn = function imaskn (bits) { + assert(typeof bits === 'number' && bits >= 0); + var r = bits % 26; + var s = (bits - r) / 26; + + assert(this.negative === 0, 'imaskn works only with positive numbers'); + + if (this.length <= s) { + return this; + } + + if (r !== 0) { + s++; + } + this.length = Math.min(s, this.length); + + if (r !== 0) { + var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); + this.words[this.length - 1] &= mask; + } + + return this.strip(); + }; + + // Return only lowers bits of number + BN.prototype.maskn = function maskn (bits) { + return this.clone().imaskn(bits); + }; + + // Add plain number `num` to `this` + BN.prototype.iaddn = function iaddn (num) { + assert(typeof num === 'number'); + assert(num < 0x4000000); + if (num < 0) return this.isubn(-num); + + // Possible sign change + if (this.negative !== 0) { + if (this.length === 1 && (this.words[0] | 0) < num) { + this.words[0] = num - (this.words[0] | 0); + this.negative = 0; + return this; + } + + this.negative = 0; + this.isubn(num); + this.negative = 1; + return this; + } + + // Add without checks + return this._iaddn(num); + }; + + BN.prototype._iaddn = function _iaddn (num) { + this.words[0] += num; + + // Carry + for (var i = 0; i < this.length && this.words[i] >= 0x4000000; i++) { + this.words[i] -= 0x4000000; + if (i === this.length - 1) { + this.words[i + 1] = 1; + } else { + this.words[i + 1]++; + } + } + this.length = Math.max(this.length, i + 1); + + return this; + }; + + // Subtract plain number `num` from `this` + BN.prototype.isubn = function isubn (num) { + assert(typeof num === 'number'); + assert(num < 0x4000000); + if (num < 0) return this.iaddn(-num); + + if (this.negative !== 0) { + this.negative = 0; + this.iaddn(num); + this.negative = 1; + return this; + } + + this.words[0] -= num; + + if (this.length === 1 && this.words[0] < 0) { + this.words[0] = -this.words[0]; + this.negative = 1; + } else { + // Carry + for (var i = 0; i < this.length && this.words[i] < 0; i++) { + this.words[i] += 0x4000000; + this.words[i + 1] -= 1; + } + } + + return this.strip(); + }; + + BN.prototype.addn = function addn (num) { + return this.clone().iaddn(num); + }; + + BN.prototype.subn = function subn (num) { + return this.clone().isubn(num); + }; + + BN.prototype.iabs = function iabs () { + this.negative = 0; + + return this; + }; + + BN.prototype.abs = function abs () { + return this.clone().iabs(); + }; + + BN.prototype._ishlnsubmul = function _ishlnsubmul (num, mul, shift) { + var len = num.length + shift; + var i; + + this._expand(len); + + var w; + var carry = 0; + for (i = 0; i < num.length; i++) { + w = (this.words[i + shift] | 0) + carry; + var right = (num.words[i] | 0) * mul; + w -= right & 0x3ffffff; + carry = (w >> 26) - ((right / 0x4000000) | 0); + this.words[i + shift] = w & 0x3ffffff; + } + for (; i < this.length - shift; i++) { + w = (this.words[i + shift] | 0) + carry; + carry = w >> 26; + this.words[i + shift] = w & 0x3ffffff; + } + + if (carry === 0) return this.strip(); + + // Subtraction overflow + assert(carry === -1); + carry = 0; + for (i = 0; i < this.length; i++) { + w = -(this.words[i] | 0) + carry; + carry = w >> 26; + this.words[i] = w & 0x3ffffff; + } + this.negative = 1; + + return this.strip(); + }; + + BN.prototype._wordDiv = function _wordDiv (num, mode) { + var shift = this.length - num.length; + + var a = this.clone(); + var b = num; + + // Normalize + var bhi = b.words[b.length - 1] | 0; + var bhiBits = this._countBits(bhi); + shift = 26 - bhiBits; + if (shift !== 0) { + b = b.ushln(shift); + a.iushln(shift); + bhi = b.words[b.length - 1] | 0; + } + + // Initialize quotient + var m = a.length - b.length; + var q; + + if (mode !== 'mod') { + q = new BN(null); + q.length = m + 1; + q.words = new Array(q.length); + for (var i = 0; i < q.length; i++) { + q.words[i] = 0; + } + } + + var diff = a.clone()._ishlnsubmul(b, 1, m); + if (diff.negative === 0) { + a = diff; + if (q) { + q.words[m] = 1; + } + } + + for (var j = m - 1; j >= 0; j--) { + var qj = (a.words[b.length + j] | 0) * 0x4000000 + + (a.words[b.length + j - 1] | 0); + + // NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max + // (0x7ffffff) + qj = Math.min((qj / bhi) | 0, 0x3ffffff); + + a._ishlnsubmul(b, qj, j); + while (a.negative !== 0) { + qj--; + a.negative = 0; + a._ishlnsubmul(b, 1, j); + if (!a.isZero()) { + a.negative ^= 1; + } + } + if (q) { + q.words[j] = qj; + } + } + if (q) { + q.strip(); + } + a.strip(); + + // Denormalize + if (mode !== 'div' && shift !== 0) { + a.iushrn(shift); + } + + return { + div: q || null, + mod: a + }; + }; + + // NOTE: 1) `mode` can be set to `mod` to request mod only, + // to `div` to request div only, or be absent to + // request both div & mod + // 2) `positive` is true if unsigned mod is requested + BN.prototype.divmod = function divmod (num, mode, positive) { + assert(!num.isZero()); + + if (this.isZero()) { + return { + div: new BN(0), + mod: new BN(0) + }; + } + + var div, mod, res; + if (this.negative !== 0 && num.negative === 0) { + res = this.neg().divmod(num, mode); + + if (mode !== 'mod') { + div = res.div.neg(); + } + + if (mode !== 'div') { + mod = res.mod.neg(); + if (positive && mod.negative !== 0) { + mod.iadd(num); + } + } + + return { + div: div, + mod: mod + }; + } + + if (this.negative === 0 && num.negative !== 0) { + res = this.divmod(num.neg(), mode); + + if (mode !== 'mod') { + div = res.div.neg(); + } + + return { + div: div, + mod: res.mod + }; + } + + if ((this.negative & num.negative) !== 0) { + res = this.neg().divmod(num.neg(), mode); + + if (mode !== 'div') { + mod = res.mod.neg(); + if (positive && mod.negative !== 0) { + mod.isub(num); + } + } + + return { + div: res.div, + mod: mod + }; + } + + // Both numbers are positive at this point + + // Strip both numbers to approximate shift value + if (num.length > this.length || this.cmp(num) < 0) { + return { + div: new BN(0), + mod: this + }; + } + + // Very short reduction + if (num.length === 1) { + if (mode === 'div') { + return { + div: this.divn(num.words[0]), + mod: null + }; + } + + if (mode === 'mod') { + return { + div: null, + mod: new BN(this.modn(num.words[0])) + }; + } + + return { + div: this.divn(num.words[0]), + mod: new BN(this.modn(num.words[0])) + }; + } + + return this._wordDiv(num, mode); + }; + + // Find `this` / `num` + BN.prototype.div = function div (num) { + return this.divmod(num, 'div', false).div; + }; + + // Find `this` % `num` + BN.prototype.mod = function mod (num) { + return this.divmod(num, 'mod', false).mod; + }; + + BN.prototype.umod = function umod (num) { + return this.divmod(num, 'mod', true).mod; + }; + + // Find Round(`this` / `num`) + BN.prototype.divRound = function divRound (num) { + var dm = this.divmod(num); + + // Fast case - exact division + if (dm.mod.isZero()) return dm.div; + + var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod; + + var half = num.ushrn(1); + var r2 = num.andln(1); + var cmp = mod.cmp(half); + + // Round down + if (cmp < 0 || r2 === 1 && cmp === 0) return dm.div; + + // Round up + return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1); + }; + + BN.prototype.modn = function modn (num) { + assert(num <= 0x3ffffff); + var p = (1 << 26) % num; + + var acc = 0; + for (var i = this.length - 1; i >= 0; i--) { + acc = (p * acc + (this.words[i] | 0)) % num; + } + + return acc; + }; + + // In-place division by number + BN.prototype.idivn = function idivn (num) { + assert(num <= 0x3ffffff); + + var carry = 0; + for (var i = this.length - 1; i >= 0; i--) { + var w = (this.words[i] | 0) + carry * 0x4000000; + this.words[i] = (w / num) | 0; + carry = w % num; + } + + return this.strip(); + }; + + BN.prototype.divn = function divn (num) { + return this.clone().idivn(num); + }; + + BN.prototype.egcd = function egcd (p) { + assert(p.negative === 0); + assert(!p.isZero()); + + var x = this; + var y = p.clone(); + + if (x.negative !== 0) { + x = x.umod(p); + } else { + x = x.clone(); + } + + // A * x + B * y = x + var A = new BN(1); + var B = new BN(0); + + // C * x + D * y = y + var C = new BN(0); + var D = new BN(1); + + var g = 0; + + while (x.isEven() && y.isEven()) { + x.iushrn(1); + y.iushrn(1); + ++g; + } + + var yp = y.clone(); + var xp = x.clone(); + + while (!x.isZero()) { + for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1); + if (i > 0) { + x.iushrn(i); + while (i-- > 0) { + if (A.isOdd() || B.isOdd()) { + A.iadd(yp); + B.isub(xp); + } + + A.iushrn(1); + B.iushrn(1); + } + } + + for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); + if (j > 0) { + y.iushrn(j); + while (j-- > 0) { + if (C.isOdd() || D.isOdd()) { + C.iadd(yp); + D.isub(xp); + } + + C.iushrn(1); + D.iushrn(1); + } + } + + if (x.cmp(y) >= 0) { + x.isub(y); + A.isub(C); + B.isub(D); + } else { + y.isub(x); + C.isub(A); + D.isub(B); + } + } + + return { + a: C, + b: D, + gcd: y.iushln(g) + }; + }; + + // This is reduced incarnation of the binary EEA + // above, designated to invert members of the + // _prime_ fields F(p) at a maximal speed + BN.prototype._invmp = function _invmp (p) { + assert(p.negative === 0); + assert(!p.isZero()); + + var a = this; + var b = p.clone(); + + if (a.negative !== 0) { + a = a.umod(p); + } else { + a = a.clone(); + } + + var x1 = new BN(1); + var x2 = new BN(0); + + var delta = b.clone(); + + while (a.cmpn(1) > 0 && b.cmpn(1) > 0) { + for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1); + if (i > 0) { + a.iushrn(i); + while (i-- > 0) { + if (x1.isOdd()) { + x1.iadd(delta); + } + + x1.iushrn(1); + } + } + + for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); + if (j > 0) { + b.iushrn(j); + while (j-- > 0) { + if (x2.isOdd()) { + x2.iadd(delta); + } + + x2.iushrn(1); + } + } + + if (a.cmp(b) >= 0) { + a.isub(b); + x1.isub(x2); + } else { + b.isub(a); + x2.isub(x1); + } + } + + var res; + if (a.cmpn(1) === 0) { + res = x1; + } else { + res = x2; + } + + if (res.cmpn(0) < 0) { + res.iadd(p); + } + + return res; + }; + + BN.prototype.gcd = function gcd (num) { + if (this.isZero()) return num.abs(); + if (num.isZero()) return this.abs(); + + var a = this.clone(); + var b = num.clone(); + a.negative = 0; + b.negative = 0; + + // Remove common factor of two + for (var shift = 0; a.isEven() && b.isEven(); shift++) { + a.iushrn(1); + b.iushrn(1); + } + + do { + while (a.isEven()) { + a.iushrn(1); + } + while (b.isEven()) { + b.iushrn(1); + } + + var r = a.cmp(b); + if (r < 0) { + // Swap `a` and `b` to make `a` always bigger than `b` + var t = a; + a = b; + b = t; + } else if (r === 0 || b.cmpn(1) === 0) { + break; + } + + a.isub(b); + } while (true); + + return b.iushln(shift); + }; + + // Invert number in the field F(num) + BN.prototype.invm = function invm (num) { + return this.egcd(num).a.umod(num); + }; + + BN.prototype.isEven = function isEven () { + return (this.words[0] & 1) === 0; + }; + + BN.prototype.isOdd = function isOdd () { + return (this.words[0] & 1) === 1; + }; + + // And first word and num + BN.prototype.andln = function andln (num) { + return this.words[0] & num; + }; + + // Increment at the bit position in-line + BN.prototype.bincn = function bincn (bit) { + assert(typeof bit === 'number'); + var r = bit % 26; + var s = (bit - r) / 26; + var q = 1 << r; + + // Fast case: bit is much higher than all existing words + if (this.length <= s) { + this._expand(s + 1); + this.words[s] |= q; + return this; + } + + // Add bit and propagate, if needed + var carry = q; + for (var i = s; carry !== 0 && i < this.length; i++) { + var w = this.words[i] | 0; + w += carry; + carry = w >>> 26; + w &= 0x3ffffff; + this.words[i] = w; + } + if (carry !== 0) { + this.words[i] = carry; + this.length++; + } + return this; + }; + + BN.prototype.isZero = function isZero () { + return this.length === 1 && this.words[0] === 0; + }; + + BN.prototype.cmpn = function cmpn (num) { + var negative = num < 0; + + if (this.negative !== 0 && !negative) return -1; + if (this.negative === 0 && negative) return 1; + + this.strip(); + + var res; + if (this.length > 1) { + res = 1; + } else { + if (negative) { + num = -num; + } + + assert(num <= 0x3ffffff, 'Number is too big'); + + var w = this.words[0] | 0; + res = w === num ? 0 : w < num ? -1 : 1; + } + if (this.negative !== 0) return -res | 0; + return res; + }; + + // Compare two numbers and return: + // 1 - if `this` > `num` + // 0 - if `this` == `num` + // -1 - if `this` < `num` + BN.prototype.cmp = function cmp (num) { + if (this.negative !== 0 && num.negative === 0) return -1; + if (this.negative === 0 && num.negative !== 0) return 1; + + var res = this.ucmp(num); + if (this.negative !== 0) return -res | 0; + return res; + }; + + // Unsigned comparison + BN.prototype.ucmp = function ucmp (num) { + // At this point both numbers have the same sign + if (this.length > num.length) return 1; + if (this.length < num.length) return -1; + + var res = 0; + for (var i = this.length - 1; i >= 0; i--) { + var a = this.words[i] | 0; + var b = num.words[i] | 0; + + if (a === b) continue; + if (a < b) { + res = -1; + } else if (a > b) { + res = 1; + } + break; + } + return res; + }; + + BN.prototype.gtn = function gtn (num) { + return this.cmpn(num) === 1; + }; + + BN.prototype.gt = function gt (num) { + return this.cmp(num) === 1; + }; + + BN.prototype.gten = function gten (num) { + return this.cmpn(num) >= 0; + }; + + BN.prototype.gte = function gte (num) { + return this.cmp(num) >= 0; + }; + + BN.prototype.ltn = function ltn (num) { + return this.cmpn(num) === -1; + }; + + BN.prototype.lt = function lt (num) { + return this.cmp(num) === -1; + }; + + BN.prototype.lten = function lten (num) { + return this.cmpn(num) <= 0; + }; + + BN.prototype.lte = function lte (num) { + return this.cmp(num) <= 0; + }; + + BN.prototype.eqn = function eqn (num) { + return this.cmpn(num) === 0; + }; + + BN.prototype.eq = function eq (num) { + return this.cmp(num) === 0; + }; + + // + // A reduce context, could be using montgomery or something better, depending + // on the `m` itself. + // + BN.red = function red (num) { + return new Red(num); + }; + + BN.prototype.toRed = function toRed (ctx) { + assert(!this.red, 'Already a number in reduction context'); + assert(this.negative === 0, 'red works only with positives'); + return ctx.convertTo(this)._forceRed(ctx); + }; + + BN.prototype.fromRed = function fromRed () { + assert(this.red, 'fromRed works only with numbers in reduction context'); + return this.red.convertFrom(this); + }; + + BN.prototype._forceRed = function _forceRed (ctx) { + this.red = ctx; + return this; + }; + + BN.prototype.forceRed = function forceRed (ctx) { + assert(!this.red, 'Already a number in reduction context'); + return this._forceRed(ctx); + }; + + BN.prototype.redAdd = function redAdd (num) { + assert(this.red, 'redAdd works only with red numbers'); + return this.red.add(this, num); + }; + + BN.prototype.redIAdd = function redIAdd (num) { + assert(this.red, 'redIAdd works only with red numbers'); + return this.red.iadd(this, num); + }; + + BN.prototype.redSub = function redSub (num) { + assert(this.red, 'redSub works only with red numbers'); + return this.red.sub(this, num); + }; + + BN.prototype.redISub = function redISub (num) { + assert(this.red, 'redISub works only with red numbers'); + return this.red.isub(this, num); + }; + + BN.prototype.redShl = function redShl (num) { + assert(this.red, 'redShl works only with red numbers'); + return this.red.shl(this, num); + }; + + BN.prototype.redMul = function redMul (num) { + assert(this.red, 'redMul works only with red numbers'); + this.red._verify2(this, num); + return this.red.mul(this, num); + }; + + BN.prototype.redIMul = function redIMul (num) { + assert(this.red, 'redMul works only with red numbers'); + this.red._verify2(this, num); + return this.red.imul(this, num); + }; + + BN.prototype.redSqr = function redSqr () { + assert(this.red, 'redSqr works only with red numbers'); + this.red._verify1(this); + return this.red.sqr(this); + }; + + BN.prototype.redISqr = function redISqr () { + assert(this.red, 'redISqr works only with red numbers'); + this.red._verify1(this); + return this.red.isqr(this); + }; + + // Square root over p + BN.prototype.redSqrt = function redSqrt () { + assert(this.red, 'redSqrt works only with red numbers'); + this.red._verify1(this); + return this.red.sqrt(this); + }; + + BN.prototype.redInvm = function redInvm () { + assert(this.red, 'redInvm works only with red numbers'); + this.red._verify1(this); + return this.red.invm(this); + }; + + // Return negative clone of `this` % `red modulo` + BN.prototype.redNeg = function redNeg () { + assert(this.red, 'redNeg works only with red numbers'); + this.red._verify1(this); + return this.red.neg(this); + }; + + BN.prototype.redPow = function redPow (num) { + assert(this.red && !num.red, 'redPow(normalNum)'); + this.red._verify1(this); + return this.red.pow(this, num); + }; + + // Prime numbers with efficient reduction + var primes = { + k256: null, + p224: null, + p192: null, + p25519: null + }; + + // Pseudo-Mersenne prime + function MPrime (name, p) { + // P = 2 ^ N - K + this.name = name; + this.p = new BN(p, 16); + this.n = this.p.bitLength(); + this.k = new BN(1).iushln(this.n).isub(this.p); + + this.tmp = this._tmp(); + } + + MPrime.prototype._tmp = function _tmp () { + var tmp = new BN(null); + tmp.words = new Array(Math.ceil(this.n / 13)); + return tmp; + }; + + MPrime.prototype.ireduce = function ireduce (num) { + // Assumes that `num` is less than `P^2` + // num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P) + var r = num; + var rlen; + + do { + this.split(r, this.tmp); + r = this.imulK(r); + r = r.iadd(this.tmp); + rlen = r.bitLength(); + } while (rlen > this.n); + + var cmp = rlen < this.n ? -1 : r.ucmp(this.p); + if (cmp === 0) { + r.words[0] = 0; + r.length = 1; + } else if (cmp > 0) { + r.isub(this.p); + } else { + if (r.strip !== undefined) { + // r is BN v4 instance + r.strip(); + } else { + // r is BN v5 instance + r._strip(); + } + } + + return r; + }; + + MPrime.prototype.split = function split (input, out) { + input.iushrn(this.n, 0, out); + }; + + MPrime.prototype.imulK = function imulK (num) { + return num.imul(this.k); + }; + + function K256 () { + MPrime.call( + this, + 'k256', + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f'); + } + inherits(K256, MPrime); + + K256.prototype.split = function split (input, output) { + // 256 = 9 * 26 + 22 + var mask = 0x3fffff; + + var outLen = Math.min(input.length, 9); + for (var i = 0; i < outLen; i++) { + output.words[i] = input.words[i]; + } + output.length = outLen; + + if (input.length <= 9) { + input.words[0] = 0; + input.length = 1; + return; + } + + // Shift by 9 limbs + var prev = input.words[9]; + output.words[output.length++] = prev & mask; + + for (i = 10; i < input.length; i++) { + var next = input.words[i] | 0; + input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22); + prev = next; + } + prev >>>= 22; + input.words[i - 10] = prev; + if (prev === 0 && input.length > 10) { + input.length -= 10; + } else { + input.length -= 9; + } + }; + + K256.prototype.imulK = function imulK (num) { + // K = 0x1000003d1 = [ 0x40, 0x3d1 ] + num.words[num.length] = 0; + num.words[num.length + 1] = 0; + num.length += 2; + + // bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390 + var lo = 0; + for (var i = 0; i < num.length; i++) { + var w = num.words[i] | 0; + lo += w * 0x3d1; + num.words[i] = lo & 0x3ffffff; + lo = w * 0x40 + ((lo / 0x4000000) | 0); + } + + // Fast length reduction + if (num.words[num.length - 1] === 0) { + num.length--; + if (num.words[num.length - 1] === 0) { + num.length--; + } + } + return num; + }; + + function P224 () { + MPrime.call( + this, + 'p224', + 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001'); + } + inherits(P224, MPrime); + + function P192 () { + MPrime.call( + this, + 'p192', + 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff'); + } + inherits(P192, MPrime); + + function P25519 () { + // 2 ^ 255 - 19 + MPrime.call( + this, + '25519', + '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed'); + } + inherits(P25519, MPrime); + + P25519.prototype.imulK = function imulK (num) { + // K = 0x13 + var carry = 0; + for (var i = 0; i < num.length; i++) { + var hi = (num.words[i] | 0) * 0x13 + carry; + var lo = hi & 0x3ffffff; + hi >>>= 26; + + num.words[i] = lo; + carry = hi; + } + if (carry !== 0) { + num.words[num.length++] = carry; + } + return num; + }; + + // Exported mostly for testing purposes, use plain name instead + BN._prime = function prime (name) { + // Cached version of prime + if (primes[name]) return primes[name]; + + var prime; + if (name === 'k256') { + prime = new K256(); + } else if (name === 'p224') { + prime = new P224(); + } else if (name === 'p192') { + prime = new P192(); + } else if (name === 'p25519') { + prime = new P25519(); + } else { + throw new Error('Unknown prime ' + name); + } + primes[name] = prime; + + return prime; + }; + + // + // Base reduction engine + // + function Red (m) { + if (typeof m === 'string') { + var prime = BN._prime(m); + this.m = prime.p; + this.prime = prime; + } else { + assert(m.gtn(1), 'modulus must be greater than 1'); + this.m = m; + this.prime = null; + } + } + + Red.prototype._verify1 = function _verify1 (a) { + assert(a.negative === 0, 'red works only with positives'); + assert(a.red, 'red works only with red numbers'); + }; + + Red.prototype._verify2 = function _verify2 (a, b) { + assert((a.negative | b.negative) === 0, 'red works only with positives'); + assert(a.red && a.red === b.red, + 'red works only with red numbers'); + }; + + Red.prototype.imod = function imod (a) { + if (this.prime) return this.prime.ireduce(a)._forceRed(this); + return a.umod(this.m)._forceRed(this); + }; + + Red.prototype.neg = function neg (a) { + if (a.isZero()) { + return a.clone(); + } + + return this.m.sub(a)._forceRed(this); + }; + + Red.prototype.add = function add (a, b) { + this._verify2(a, b); + + var res = a.add(b); + if (res.cmp(this.m) >= 0) { + res.isub(this.m); + } + return res._forceRed(this); + }; + + Red.prototype.iadd = function iadd (a, b) { + this._verify2(a, b); + + var res = a.iadd(b); + if (res.cmp(this.m) >= 0) { + res.isub(this.m); + } + return res; + }; + + Red.prototype.sub = function sub (a, b) { + this._verify2(a, b); + + var res = a.sub(b); + if (res.cmpn(0) < 0) { + res.iadd(this.m); + } + return res._forceRed(this); + }; + + Red.prototype.isub = function isub (a, b) { + this._verify2(a, b); + + var res = a.isub(b); + if (res.cmpn(0) < 0) { + res.iadd(this.m); + } + return res; + }; + + Red.prototype.shl = function shl (a, num) { + this._verify1(a); + return this.imod(a.ushln(num)); + }; + + Red.prototype.imul = function imul (a, b) { + this._verify2(a, b); + return this.imod(a.imul(b)); + }; + + Red.prototype.mul = function mul (a, b) { + this._verify2(a, b); + return this.imod(a.mul(b)); + }; + + Red.prototype.isqr = function isqr (a) { + return this.imul(a, a.clone()); + }; + + Red.prototype.sqr = function sqr (a) { + return this.mul(a, a); + }; + + Red.prototype.sqrt = function sqrt (a) { + if (a.isZero()) return a.clone(); + + var mod3 = this.m.andln(3); + assert(mod3 % 2 === 1); + + // Fast case + if (mod3 === 3) { + var pow = this.m.add(new BN(1)).iushrn(2); + return this.pow(a, pow); + } + + // Tonelli-Shanks algorithm (Totally unoptimized and slow) + // + // Find Q and S, that Q * 2 ^ S = (P - 1) + var q = this.m.subn(1); + var s = 0; + while (!q.isZero() && q.andln(1) === 0) { + s++; + q.iushrn(1); + } + assert(!q.isZero()); + + var one = new BN(1).toRed(this); + var nOne = one.redNeg(); + + // Find quadratic non-residue + // NOTE: Max is such because of generalized Riemann hypothesis. + var lpow = this.m.subn(1).iushrn(1); + var z = this.m.bitLength(); + z = new BN(2 * z * z).toRed(this); + + while (this.pow(z, lpow).cmp(nOne) !== 0) { + z.redIAdd(nOne); + } + + var c = this.pow(z, q); + var r = this.pow(a, q.addn(1).iushrn(1)); + var t = this.pow(a, q); + var m = s; + while (t.cmp(one) !== 0) { + var tmp = t; + for (var i = 0; tmp.cmp(one) !== 0; i++) { + tmp = tmp.redSqr(); + } + assert(i < m); + var b = this.pow(c, new BN(1).iushln(m - i - 1)); + + r = r.redMul(b); + c = b.redSqr(); + t = t.redMul(c); + m = i; + } + + return r; + }; + + Red.prototype.invm = function invm (a) { + var inv = a._invmp(this.m); + if (inv.negative !== 0) { + inv.negative = 0; + return this.imod(inv).redNeg(); + } else { + return this.imod(inv); + } + }; + + Red.prototype.pow = function pow (a, num) { + if (num.isZero()) return new BN(1).toRed(this); + if (num.cmpn(1) === 0) return a.clone(); + + var windowSize = 4; + var wnd = new Array(1 << windowSize); + wnd[0] = new BN(1).toRed(this); + wnd[1] = a; + for (var i = 2; i < wnd.length; i++) { + wnd[i] = this.mul(wnd[i - 1], a); + } + + var res = wnd[0]; + var current = 0; + var currentLen = 0; + var start = num.bitLength() % 26; + if (start === 0) { + start = 26; + } + + for (i = num.length - 1; i >= 0; i--) { + var word = num.words[i]; + for (var j = start - 1; j >= 0; j--) { + var bit = (word >> j) & 1; + if (res !== wnd[0]) { + res = this.sqr(res); + } + + if (bit === 0 && current === 0) { + currentLen = 0; + continue; + } + + current <<= 1; + current |= bit; + currentLen++; + if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue; + + res = this.mul(res, wnd[current]); + currentLen = 0; + current = 0; + } + start = 26; + } + + return res; + }; + + Red.prototype.convertTo = function convertTo (num) { + var r = num.umod(this.m); + + return r === num ? r.clone() : r; + }; + + Red.prototype.convertFrom = function convertFrom (num) { + var res = num.clone(); + res.red = null; + return res; + }; + + // + // Montgomery method engine + // + + BN.mont = function mont (num) { + return new Mont(num); + }; + + function Mont (m) { + Red.call(this, m); + + this.shift = this.m.bitLength(); + if (this.shift % 26 !== 0) { + this.shift += 26 - (this.shift % 26); + } + + this.r = new BN(1).iushln(this.shift); + this.r2 = this.imod(this.r.sqr()); + this.rinv = this.r._invmp(this.m); + + this.minv = this.rinv.mul(this.r).isubn(1).div(this.m); + this.minv = this.minv.umod(this.r); + this.minv = this.r.sub(this.minv); + } + inherits(Mont, Red); + + Mont.prototype.convertTo = function convertTo (num) { + return this.imod(num.ushln(this.shift)); + }; + + Mont.prototype.convertFrom = function convertFrom (num) { + var r = this.imod(num.mul(this.rinv)); + r.red = null; + return r; + }; + + Mont.prototype.imul = function imul (a, b) { + if (a.isZero() || b.isZero()) { + a.words[0] = 0; + a.length = 1; + return a; + } + + var t = a.imul(b); + var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); + var u = t.isub(c).iushrn(this.shift); + var res = u; + + if (u.cmp(this.m) >= 0) { + res = u.isub(this.m); + } else if (u.cmpn(0) < 0) { + res = u.iadd(this.m); + } + + return res._forceRed(this); + }; + + Mont.prototype.mul = function mul (a, b) { + if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this); + + var t = a.mul(b); + var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); + var u = t.isub(c).iushrn(this.shift); + var res = u; + if (u.cmp(this.m) >= 0) { + res = u.isub(this.m); + } else if (u.cmpn(0) < 0) { + res = u.iadd(this.m); + } + + return res._forceRed(this); + }; + + Mont.prototype.invm = function invm (a) { + // (AR)^-1 * R^2 = (A^-1 * R^-1) * R^2 = A^-1 * R + var res = this.imod(a._invmp(this.m).mul(this.r2)); + return res._forceRed(this); + }; + })(module, commonjsGlobal); +} (bn)); + +var elliptic = {}; + +var name = "elliptic"; +var version = "6.5.4"; +var description = "EC cryptography"; +var main = "lib/elliptic.js"; +var files = [ + "lib" +]; +var scripts = { + lint: "eslint lib test", + "lint:fix": "npm run lint -- --fix", + unit: "istanbul test _mocha --reporter=spec test/index.js", + test: "npm run lint && npm run unit", + version: "grunt dist && git add dist/" +}; +var repository = { + type: "git", + url: "git@github.com:indutny/elliptic" +}; +var keywords = [ + "EC", + "Elliptic", + "curve", + "Cryptography" +]; +var author = "Fedor Indutny "; +var license = "MIT"; +var bugs = { + url: "https://github.com/indutny/elliptic/issues" +}; +var homepage = "https://github.com/indutny/elliptic"; +var devDependencies = { + brfs: "^2.0.2", + coveralls: "^3.1.0", + eslint: "^7.6.0", + grunt: "^1.2.1", + "grunt-browserify": "^5.3.0", + "grunt-cli": "^1.3.2", + "grunt-contrib-connect": "^3.0.0", + "grunt-contrib-copy": "^1.0.0", + "grunt-contrib-uglify": "^5.0.0", + "grunt-mocha-istanbul": "^5.0.2", + "grunt-saucelabs": "^9.0.1", + istanbul: "^0.4.5", + mocha: "^8.0.1" +}; +var dependencies = { + "bn.js": "^4.11.9", + brorand: "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + inherits: "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" +}; +var require$$0 = { + name: name, + version: version, + description: description, + main: main, + files: files, + scripts: scripts, + repository: repository, + keywords: keywords, + author: author, + license: license, + bugs: bugs, + homepage: homepage, + devDependencies: devDependencies, + dependencies: dependencies +}; + +var utils$m = {}; + +var minimalisticAssert = assert$g; + +function assert$g(val, msg) { + if (!val) + throw new Error(msg || 'Assertion failed'); +} + +assert$g.equal = function assertEqual(l, r, msg) { + if (l != r) + throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); +}; + +var utils$l = {}; + +(function (exports) { + + var utils = exports; + + function toArray(msg, enc) { + if (Array.isArray(msg)) + return msg.slice(); + if (!msg) + return []; + var res = []; + if (typeof msg !== 'string') { + for (var i = 0; i < msg.length; i++) + res[i] = msg[i] | 0; + return res; + } + if (enc === 'hex') { + msg = msg.replace(/[^a-z0-9]+/ig, ''); + if (msg.length % 2 !== 0) + msg = '0' + msg; + for (var i = 0; i < msg.length; i += 2) + res.push(parseInt(msg[i] + msg[i + 1], 16)); + } else { + for (var i = 0; i < msg.length; i++) { + var c = msg.charCodeAt(i); + var hi = c >> 8; + var lo = c & 0xff; + if (hi) + res.push(hi, lo); + else + res.push(lo); + } + } + return res; + } + utils.toArray = toArray; + + function zero2(word) { + if (word.length === 1) + return '0' + word; + else + return word; + } + utils.zero2 = zero2; + + function toHex(msg) { + var res = ''; + for (var i = 0; i < msg.length; i++) + res += zero2(msg[i].toString(16)); + return res; + } + utils.toHex = toHex; + + utils.encode = function encode(arr, enc) { + if (enc === 'hex') + return toHex(arr); + else + return arr; + }; +} (utils$l)); + +(function (exports) { + + var utils = exports; + var BN = bn.exports; + var minAssert = minimalisticAssert; + var minUtils = utils$l; + + utils.assert = minAssert; + utils.toArray = minUtils.toArray; + utils.zero2 = minUtils.zero2; + utils.toHex = minUtils.toHex; + utils.encode = minUtils.encode; + + // Represent num in a w-NAF form + function getNAF(num, w, bits) { + var naf = new Array(Math.max(num.bitLength(), bits) + 1); + naf.fill(0); + + var ws = 1 << (w + 1); + var k = num.clone(); + + for (var i = 0; i < naf.length; i++) { + var z; + var mod = k.andln(ws - 1); + if (k.isOdd()) { + if (mod > (ws >> 1) - 1) + z = (ws >> 1) - mod; + else + z = mod; + k.isubn(z); + } else { + z = 0; + } + + naf[i] = z; + k.iushrn(1); + } + + return naf; + } + utils.getNAF = getNAF; + + // Represent k1, k2 in a Joint Sparse Form + function getJSF(k1, k2) { + var jsf = [ + [], + [], + ]; + + k1 = k1.clone(); + k2 = k2.clone(); + var d1 = 0; + var d2 = 0; + var m8; + while (k1.cmpn(-d1) > 0 || k2.cmpn(-d2) > 0) { + // First phase + var m14 = (k1.andln(3) + d1) & 3; + var m24 = (k2.andln(3) + d2) & 3; + if (m14 === 3) + m14 = -1; + if (m24 === 3) + m24 = -1; + var u1; + if ((m14 & 1) === 0) { + u1 = 0; + } else { + m8 = (k1.andln(7) + d1) & 7; + if ((m8 === 3 || m8 === 5) && m24 === 2) + u1 = -m14; + else + u1 = m14; + } + jsf[0].push(u1); + + var u2; + if ((m24 & 1) === 0) { + u2 = 0; + } else { + m8 = (k2.andln(7) + d2) & 7; + if ((m8 === 3 || m8 === 5) && m14 === 2) + u2 = -m24; + else + u2 = m24; + } + jsf[1].push(u2); + + // Second phase + if (2 * d1 === u1 + 1) + d1 = 1 - d1; + if (2 * d2 === u2 + 1) + d2 = 1 - d2; + k1.iushrn(1); + k2.iushrn(1); + } + + return jsf; + } + utils.getJSF = getJSF; + + function cachedProperty(obj, name, computer) { + var key = '_' + name; + obj.prototype[name] = function cachedProperty() { + return this[key] !== undefined ? this[key] : + this[key] = computer.call(this); + }; + } + utils.cachedProperty = cachedProperty; + + function parseBytes(bytes) { + return typeof bytes === 'string' ? utils.toArray(bytes, 'hex') : + bytes; + } + utils.parseBytes = parseBytes; + + function intFromLE(bytes) { + return new BN(bytes, 'hex', 'le'); + } + utils.intFromLE = intFromLE; +} (utils$m)); + +var brorand = {exports: {}}; + +var r$1; + +brorand.exports = function rand(len) { + if (!r$1) + r$1 = new Rand(null); + + return r$1.generate(len); +}; + +function Rand(rand) { + this.rand = rand; +} +brorand.exports.Rand = Rand; + +Rand.prototype.generate = function generate(len) { + return this._rand(len); +}; + +// Emulate crypto API using randy +Rand.prototype._rand = function _rand(n) { + if (this.rand.getBytes) + return this.rand.getBytes(n); + + var res = new Uint8Array(n); + for (var i = 0; i < res.length; i++) + res[i] = this.rand.getByte(); + return res; +}; + +if (typeof self === 'object') { + if (self.crypto && self.crypto.getRandomValues) { + // Modern browsers + Rand.prototype._rand = function _rand(n) { + var arr = new Uint8Array(n); + self.crypto.getRandomValues(arr); + return arr; + }; + } else if (self.msCrypto && self.msCrypto.getRandomValues) { + // IE + Rand.prototype._rand = function _rand(n) { + var arr = new Uint8Array(n); + self.msCrypto.getRandomValues(arr); + return arr; + }; + + // Safari's WebWorkers do not have `crypto` + } else if (typeof window === 'object') { + // Old junk + Rand.prototype._rand = function() { + throw new Error('Not implemented yet'); + }; + } +} else { + // Node.js or Web worker with no crypto support + try { + var crypto$4 = require('crypto'); + if (typeof crypto$4.randomBytes !== 'function') + throw new Error('Not supported'); + + Rand.prototype._rand = function _rand(n) { + return crypto$4.randomBytes(n); + }; + } catch (e) { + } +} + +var curve = {}; + +var BN$8 = bn.exports; +var utils$k = utils$m; +var getNAF = utils$k.getNAF; +var getJSF = utils$k.getJSF; +var assert$f = utils$k.assert; + +function BaseCurve(type, conf) { + this.type = type; + this.p = new BN$8(conf.p, 16); + + // Use Montgomery, when there is no fast reduction for the prime + this.red = conf.prime ? BN$8.red(conf.prime) : BN$8.mont(this.p); + + // Useful for many curves + this.zero = new BN$8(0).toRed(this.red); + this.one = new BN$8(1).toRed(this.red); + this.two = new BN$8(2).toRed(this.red); + + // Curve configuration, optional + this.n = conf.n && new BN$8(conf.n, 16); + this.g = conf.g && this.pointFromJSON(conf.g, conf.gRed); + + // Temporary arrays + this._wnafT1 = new Array(4); + this._wnafT2 = new Array(4); + this._wnafT3 = new Array(4); + this._wnafT4 = new Array(4); + + this._bitLength = this.n ? this.n.bitLength() : 0; + + // Generalized Greg Maxwell's trick + var adjustCount = this.n && this.p.div(this.n); + if (!adjustCount || adjustCount.cmpn(100) > 0) { + this.redN = null; + } else { + this._maxwellTrick = true; + this.redN = this.n.toRed(this.red); + } +} +var base$2 = BaseCurve; + +BaseCurve.prototype.point = function point() { + throw new Error('Not implemented'); +}; + +BaseCurve.prototype.validate = function validate() { + throw new Error('Not implemented'); +}; + +BaseCurve.prototype._fixedNafMul = function _fixedNafMul(p, k) { + assert$f(p.precomputed); + var doubles = p._getDoubles(); + + var naf = getNAF(k, 1, this._bitLength); + var I = (1 << (doubles.step + 1)) - (doubles.step % 2 === 0 ? 2 : 1); + I /= 3; + + // Translate into more windowed form + var repr = []; + var j; + var nafW; + for (j = 0; j < naf.length; j += doubles.step) { + nafW = 0; + for (var l = j + doubles.step - 1; l >= j; l--) + nafW = (nafW << 1) + naf[l]; + repr.push(nafW); + } + + var a = this.jpoint(null, null, null); + var b = this.jpoint(null, null, null); + for (var i = I; i > 0; i--) { + for (j = 0; j < repr.length; j++) { + nafW = repr[j]; + if (nafW === i) + b = b.mixedAdd(doubles.points[j]); + else if (nafW === -i) + b = b.mixedAdd(doubles.points[j].neg()); + } + a = a.add(b); + } + return a.toP(); +}; + +BaseCurve.prototype._wnafMul = function _wnafMul(p, k) { + var w = 4; + + // Precompute window + var nafPoints = p._getNAFPoints(w); + w = nafPoints.wnd; + var wnd = nafPoints.points; + + // Get NAF form + var naf = getNAF(k, w, this._bitLength); + + // Add `this`*(N+1) for every w-NAF index + var acc = this.jpoint(null, null, null); + for (var i = naf.length - 1; i >= 0; i--) { + // Count zeroes + for (var l = 0; i >= 0 && naf[i] === 0; i--) + l++; + if (i >= 0) + l++; + acc = acc.dblp(l); + + if (i < 0) + break; + var z = naf[i]; + assert$f(z !== 0); + if (p.type === 'affine') { + // J +- P + if (z > 0) + acc = acc.mixedAdd(wnd[(z - 1) >> 1]); + else + acc = acc.mixedAdd(wnd[(-z - 1) >> 1].neg()); + } else { + // J +- J + if (z > 0) + acc = acc.add(wnd[(z - 1) >> 1]); + else + acc = acc.add(wnd[(-z - 1) >> 1].neg()); + } + } + return p.type === 'affine' ? acc.toP() : acc; +}; + +BaseCurve.prototype._wnafMulAdd = function _wnafMulAdd(defW, + points, + coeffs, + len, + jacobianResult) { + var wndWidth = this._wnafT1; + var wnd = this._wnafT2; + var naf = this._wnafT3; + + // Fill all arrays + var max = 0; + var i; + var j; + var p; + for (i = 0; i < len; i++) { + p = points[i]; + var nafPoints = p._getNAFPoints(defW); + wndWidth[i] = nafPoints.wnd; + wnd[i] = nafPoints.points; + } + + // Comb small window NAFs + for (i = len - 1; i >= 1; i -= 2) { + var a = i - 1; + var b = i; + if (wndWidth[a] !== 1 || wndWidth[b] !== 1) { + naf[a] = getNAF(coeffs[a], wndWidth[a], this._bitLength); + naf[b] = getNAF(coeffs[b], wndWidth[b], this._bitLength); + max = Math.max(naf[a].length, max); + max = Math.max(naf[b].length, max); + continue; + } + + var comb = [ + points[a], /* 1 */ + null, /* 3 */ + null, /* 5 */ + points[b], /* 7 */ + ]; + + // Try to avoid Projective points, if possible + if (points[a].y.cmp(points[b].y) === 0) { + comb[1] = points[a].add(points[b]); + comb[2] = points[a].toJ().mixedAdd(points[b].neg()); + } else if (points[a].y.cmp(points[b].y.redNeg()) === 0) { + comb[1] = points[a].toJ().mixedAdd(points[b]); + comb[2] = points[a].add(points[b].neg()); + } else { + comb[1] = points[a].toJ().mixedAdd(points[b]); + comb[2] = points[a].toJ().mixedAdd(points[b].neg()); + } + + var index = [ + -3, /* -1 -1 */ + -1, /* -1 0 */ + -5, /* -1 1 */ + -7, /* 0 -1 */ + 0, /* 0 0 */ + 7, /* 0 1 */ + 5, /* 1 -1 */ + 1, /* 1 0 */ + 3, /* 1 1 */ + ]; + + var jsf = getJSF(coeffs[a], coeffs[b]); + max = Math.max(jsf[0].length, max); + naf[a] = new Array(max); + naf[b] = new Array(max); + for (j = 0; j < max; j++) { + var ja = jsf[0][j] | 0; + var jb = jsf[1][j] | 0; + + naf[a][j] = index[(ja + 1) * 3 + (jb + 1)]; + naf[b][j] = 0; + wnd[a] = comb; + } + } + + var acc = this.jpoint(null, null, null); + var tmp = this._wnafT4; + for (i = max; i >= 0; i--) { + var k = 0; + + while (i >= 0) { + var zero = true; + for (j = 0; j < len; j++) { + tmp[j] = naf[j][i] | 0; + if (tmp[j] !== 0) + zero = false; + } + if (!zero) + break; + k++; + i--; + } + if (i >= 0) + k++; + acc = acc.dblp(k); + if (i < 0) + break; + + for (j = 0; j < len; j++) { + var z = tmp[j]; + if (z === 0) + continue; + else if (z > 0) + p = wnd[j][(z - 1) >> 1]; + else if (z < 0) + p = wnd[j][(-z - 1) >> 1].neg(); + + if (p.type === 'affine') + acc = acc.mixedAdd(p); + else + acc = acc.add(p); + } + } + // Zeroify references + for (i = 0; i < len; i++) + wnd[i] = null; + + if (jacobianResult) + return acc; + else + return acc.toP(); +}; + +function BasePoint(curve, type) { + this.curve = curve; + this.type = type; + this.precomputed = null; +} +BaseCurve.BasePoint = BasePoint; + +BasePoint.prototype.eq = function eq(/*other*/) { + throw new Error('Not implemented'); +}; + +BasePoint.prototype.validate = function validate() { + return this.curve.validate(this); +}; + +BaseCurve.prototype.decodePoint = function decodePoint(bytes, enc) { + bytes = utils$k.toArray(bytes, enc); + + var len = this.p.byteLength(); + + // uncompressed, hybrid-odd, hybrid-even + if ((bytes[0] === 0x04 || bytes[0] === 0x06 || bytes[0] === 0x07) && + bytes.length - 1 === 2 * len) { + if (bytes[0] === 0x06) + assert$f(bytes[bytes.length - 1] % 2 === 0); + else if (bytes[0] === 0x07) + assert$f(bytes[bytes.length - 1] % 2 === 1); + + var res = this.point(bytes.slice(1, 1 + len), + bytes.slice(1 + len, 1 + 2 * len)); + + return res; + } else if ((bytes[0] === 0x02 || bytes[0] === 0x03) && + bytes.length - 1 === len) { + return this.pointFromX(bytes.slice(1, 1 + len), bytes[0] === 0x03); + } + throw new Error('Unknown point format'); +}; + +BasePoint.prototype.encodeCompressed = function encodeCompressed(enc) { + return this.encode(enc, true); +}; + +BasePoint.prototype._encode = function _encode(compact) { + var len = this.curve.p.byteLength(); + var x = this.getX().toArray('be', len); + + if (compact) + return [ this.getY().isEven() ? 0x02 : 0x03 ].concat(x); + + return [ 0x04 ].concat(x, this.getY().toArray('be', len)); +}; + +BasePoint.prototype.encode = function encode(enc, compact) { + return utils$k.encode(this._encode(compact), enc); +}; + +BasePoint.prototype.precompute = function precompute(power) { + if (this.precomputed) + return this; + + var precomputed = { + doubles: null, + naf: null, + beta: null, + }; + precomputed.naf = this._getNAFPoints(8); + precomputed.doubles = this._getDoubles(4, power); + precomputed.beta = this._getBeta(); + this.precomputed = precomputed; + + return this; +}; + +BasePoint.prototype._hasDoubles = function _hasDoubles(k) { + if (!this.precomputed) + return false; + + var doubles = this.precomputed.doubles; + if (!doubles) + return false; + + return doubles.points.length >= Math.ceil((k.bitLength() + 1) / doubles.step); +}; + +BasePoint.prototype._getDoubles = function _getDoubles(step, power) { + if (this.precomputed && this.precomputed.doubles) + return this.precomputed.doubles; + + var doubles = [ this ]; + var acc = this; + for (var i = 0; i < power; i += step) { + for (var j = 0; j < step; j++) + acc = acc.dbl(); + doubles.push(acc); + } + return { + step: step, + points: doubles, + }; +}; + +BasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) { + if (this.precomputed && this.precomputed.naf) + return this.precomputed.naf; + + var res = [ this ]; + var max = (1 << wnd) - 1; + var dbl = max === 1 ? null : this.dbl(); + for (var i = 1; i < max; i++) + res[i] = res[i - 1].add(dbl); + return { + wnd: wnd, + points: res, + }; +}; + +BasePoint.prototype._getBeta = function _getBeta() { + return null; +}; + +BasePoint.prototype.dblp = function dblp(k) { + var r = this; + for (var i = 0; i < k; i++) + r = r.dbl(); + return r; +}; + +var inherits$4 = {exports: {}}; + +var inherits_browser = {exports: {}}; + +var hasRequiredInherits_browser; + +function requireInherits_browser () { + if (hasRequiredInherits_browser) return inherits_browser.exports; + hasRequiredInherits_browser = 1; + if (typeof Object.create === 'function') { + // implementation from standard node.js 'util' module + inherits_browser.exports = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor; + ctor.prototype = Object.create(superCtor.prototype, { + constructor: { + value: ctor, + enumerable: false, + writable: true, + configurable: true + } + }); + } + }; + } else { + // old school shim for old browsers + inherits_browser.exports = function inherits(ctor, superCtor) { + if (superCtor) { + ctor.super_ = superCtor; + var TempCtor = function () {}; + TempCtor.prototype = superCtor.prototype; + ctor.prototype = new TempCtor(); + ctor.prototype.constructor = ctor; + } + }; + } + return inherits_browser.exports; +} + +(function (module) { + try { + var util = require('util'); + /* istanbul ignore next */ + if (typeof util.inherits !== 'function') throw ''; + module.exports = util.inherits; + } catch (e) { + /* istanbul ignore next */ + module.exports = requireInherits_browser(); + } +} (inherits$4)); + +var utils$j = utils$m; +var BN$7 = bn.exports; +var inherits$3 = inherits$4.exports; +var Base$2 = base$2; + +var assert$e = utils$j.assert; + +function ShortCurve(conf) { + Base$2.call(this, 'short', conf); + + this.a = new BN$7(conf.a, 16).toRed(this.red); + this.b = new BN$7(conf.b, 16).toRed(this.red); + this.tinv = this.two.redInvm(); + + this.zeroA = this.a.fromRed().cmpn(0) === 0; + this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0; + + // If the curve is endomorphic, precalculate beta and lambda + this.endo = this._getEndomorphism(conf); + this._endoWnafT1 = new Array(4); + this._endoWnafT2 = new Array(4); +} +inherits$3(ShortCurve, Base$2); +var short = ShortCurve; + +ShortCurve.prototype._getEndomorphism = function _getEndomorphism(conf) { + // No efficient endomorphism + if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1) + return; + + // Compute beta and lambda, that lambda * P = (beta * Px; Py) + var beta; + var lambda; + if (conf.beta) { + beta = new BN$7(conf.beta, 16).toRed(this.red); + } else { + var betas = this._getEndoRoots(this.p); + // Choose the smallest beta + beta = betas[0].cmp(betas[1]) < 0 ? betas[0] : betas[1]; + beta = beta.toRed(this.red); + } + if (conf.lambda) { + lambda = new BN$7(conf.lambda, 16); + } else { + // Choose the lambda that is matching selected beta + var lambdas = this._getEndoRoots(this.n); + if (this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta)) === 0) { + lambda = lambdas[0]; + } else { + lambda = lambdas[1]; + assert$e(this.g.mul(lambda).x.cmp(this.g.x.redMul(beta)) === 0); + } + } + + // Get basis vectors, used for balanced length-two representation + var basis; + if (conf.basis) { + basis = conf.basis.map(function(vec) { + return { + a: new BN$7(vec.a, 16), + b: new BN$7(vec.b, 16), + }; + }); + } else { + basis = this._getEndoBasis(lambda); + } + + return { + beta: beta, + lambda: lambda, + basis: basis, + }; +}; + +ShortCurve.prototype._getEndoRoots = function _getEndoRoots(num) { + // Find roots of for x^2 + x + 1 in F + // Root = (-1 +- Sqrt(-3)) / 2 + // + var red = num === this.p ? this.red : BN$7.mont(num); + var tinv = new BN$7(2).toRed(red).redInvm(); + var ntinv = tinv.redNeg(); + + var s = new BN$7(3).toRed(red).redNeg().redSqrt().redMul(tinv); + + var l1 = ntinv.redAdd(s).fromRed(); + var l2 = ntinv.redSub(s).fromRed(); + return [ l1, l2 ]; +}; + +ShortCurve.prototype._getEndoBasis = function _getEndoBasis(lambda) { + // aprxSqrt >= sqrt(this.n) + var aprxSqrt = this.n.ushrn(Math.floor(this.n.bitLength() / 2)); + + // 3.74 + // Run EGCD, until r(L + 1) < aprxSqrt + var u = lambda; + var v = this.n.clone(); + var x1 = new BN$7(1); + var y1 = new BN$7(0); + var x2 = new BN$7(0); + var y2 = new BN$7(1); + + // NOTE: all vectors are roots of: a + b * lambda = 0 (mod n) + var a0; + var b0; + // First vector + var a1; + var b1; + // Second vector + var a2; + var b2; + + var prevR; + var i = 0; + var r; + var x; + while (u.cmpn(0) !== 0) { + var q = v.div(u); + r = v.sub(q.mul(u)); + x = x2.sub(q.mul(x1)); + var y = y2.sub(q.mul(y1)); + + if (!a1 && r.cmp(aprxSqrt) < 0) { + a0 = prevR.neg(); + b0 = x1; + a1 = r.neg(); + b1 = x; + } else if (a1 && ++i === 2) { + break; + } + prevR = r; + + v = u; + u = r; + x2 = x1; + x1 = x; + y2 = y1; + y1 = y; + } + a2 = r.neg(); + b2 = x; + + var len1 = a1.sqr().add(b1.sqr()); + var len2 = a2.sqr().add(b2.sqr()); + if (len2.cmp(len1) >= 0) { + a2 = a0; + b2 = b0; + } + + // Normalize signs + if (a1.negative) { + a1 = a1.neg(); + b1 = b1.neg(); + } + if (a2.negative) { + a2 = a2.neg(); + b2 = b2.neg(); + } + + return [ + { a: a1, b: b1 }, + { a: a2, b: b2 }, + ]; +}; + +ShortCurve.prototype._endoSplit = function _endoSplit(k) { + var basis = this.endo.basis; + var v1 = basis[0]; + var v2 = basis[1]; + + var c1 = v2.b.mul(k).divRound(this.n); + var c2 = v1.b.neg().mul(k).divRound(this.n); + + var p1 = c1.mul(v1.a); + var p2 = c2.mul(v2.a); + var q1 = c1.mul(v1.b); + var q2 = c2.mul(v2.b); + + // Calculate answer + var k1 = k.sub(p1).sub(p2); + var k2 = q1.add(q2).neg(); + return { k1: k1, k2: k2 }; +}; + +ShortCurve.prototype.pointFromX = function pointFromX(x, odd) { + x = new BN$7(x, 16); + if (!x.red) + x = x.toRed(this.red); + + var y2 = x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b); + var y = y2.redSqrt(); + if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) + throw new Error('invalid point'); + + // XXX Is there any way to tell if the number is odd without converting it + // to non-red form? + var isOdd = y.fromRed().isOdd(); + if (odd && !isOdd || !odd && isOdd) + y = y.redNeg(); + + return this.point(x, y); +}; + +ShortCurve.prototype.validate = function validate(point) { + if (point.inf) + return true; + + var x = point.x; + var y = point.y; + + var ax = this.a.redMul(x); + var rhs = x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b); + return y.redSqr().redISub(rhs).cmpn(0) === 0; +}; + +ShortCurve.prototype._endoWnafMulAdd = + function _endoWnafMulAdd(points, coeffs, jacobianResult) { + var npoints = this._endoWnafT1; + var ncoeffs = this._endoWnafT2; + for (var i = 0; i < points.length; i++) { + var split = this._endoSplit(coeffs[i]); + var p = points[i]; + var beta = p._getBeta(); + + if (split.k1.negative) { + split.k1.ineg(); + p = p.neg(true); + } + if (split.k2.negative) { + split.k2.ineg(); + beta = beta.neg(true); + } + + npoints[i * 2] = p; + npoints[i * 2 + 1] = beta; + ncoeffs[i * 2] = split.k1; + ncoeffs[i * 2 + 1] = split.k2; + } + var res = this._wnafMulAdd(1, npoints, ncoeffs, i * 2, jacobianResult); + + // Clean-up references to points and coefficients + for (var j = 0; j < i * 2; j++) { + npoints[j] = null; + ncoeffs[j] = null; + } + return res; + }; + +function Point$2(curve, x, y, isRed) { + Base$2.BasePoint.call(this, curve, 'affine'); + if (x === null && y === null) { + this.x = null; + this.y = null; + this.inf = true; + } else { + this.x = new BN$7(x, 16); + this.y = new BN$7(y, 16); + // Force redgomery representation when loading from JSON + if (isRed) { + this.x.forceRed(this.curve.red); + this.y.forceRed(this.curve.red); + } + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.y.red) + this.y = this.y.toRed(this.curve.red); + this.inf = false; + } +} +inherits$3(Point$2, Base$2.BasePoint); + +ShortCurve.prototype.point = function point(x, y, isRed) { + return new Point$2(this, x, y, isRed); +}; + +ShortCurve.prototype.pointFromJSON = function pointFromJSON(obj, red) { + return Point$2.fromJSON(this, obj, red); +}; + +Point$2.prototype._getBeta = function _getBeta() { + if (!this.curve.endo) + return; + + var pre = this.precomputed; + if (pre && pre.beta) + return pre.beta; + + var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); + if (pre) { + var curve = this.curve; + var endoMul = function(p) { + return curve.point(p.x.redMul(curve.endo.beta), p.y); + }; + pre.beta = beta; + beta.precomputed = { + beta: null, + naf: pre.naf && { + wnd: pre.naf.wnd, + points: pre.naf.points.map(endoMul), + }, + doubles: pre.doubles && { + step: pre.doubles.step, + points: pre.doubles.points.map(endoMul), + }, + }; + } + return beta; +}; + +Point$2.prototype.toJSON = function toJSON() { + if (!this.precomputed) + return [ this.x, this.y ]; + + return [ this.x, this.y, this.precomputed && { + doubles: this.precomputed.doubles && { + step: this.precomputed.doubles.step, + points: this.precomputed.doubles.points.slice(1), + }, + naf: this.precomputed.naf && { + wnd: this.precomputed.naf.wnd, + points: this.precomputed.naf.points.slice(1), + }, + } ]; +}; + +Point$2.fromJSON = function fromJSON(curve, obj, red) { + if (typeof obj === 'string') + obj = JSON.parse(obj); + var res = curve.point(obj[0], obj[1], red); + if (!obj[2]) + return res; + + function obj2point(obj) { + return curve.point(obj[0], obj[1], red); + } + + var pre = obj[2]; + res.precomputed = { + beta: null, + doubles: pre.doubles && { + step: pre.doubles.step, + points: [ res ].concat(pre.doubles.points.map(obj2point)), + }, + naf: pre.naf && { + wnd: pre.naf.wnd, + points: [ res ].concat(pre.naf.points.map(obj2point)), + }, + }; + return res; +}; + +Point$2.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +Point$2.prototype.isInfinity = function isInfinity() { + return this.inf; +}; + +Point$2.prototype.add = function add(p) { + // O + P = P + if (this.inf) + return p; + + // P + O = P + if (p.inf) + return this; + + // P + P = 2P + if (this.eq(p)) + return this.dbl(); + + // P + (-P) = O + if (this.neg().eq(p)) + return this.curve.point(null, null); + + // P + Q = O + if (this.x.cmp(p.x) === 0) + return this.curve.point(null, null); + + var c = this.y.redSub(p.y); + if (c.cmpn(0) !== 0) + c = c.redMul(this.x.redSub(p.x).redInvm()); + var nx = c.redSqr().redISub(this.x).redISub(p.x); + var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); + return this.curve.point(nx, ny); +}; + +Point$2.prototype.dbl = function dbl() { + if (this.inf) + return this; + + // 2P = O + var ys1 = this.y.redAdd(this.y); + if (ys1.cmpn(0) === 0) + return this.curve.point(null, null); + + var a = this.curve.a; + + var x2 = this.x.redSqr(); + var dyinv = ys1.redInvm(); + var c = x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv); + + var nx = c.redSqr().redISub(this.x.redAdd(this.x)); + var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); + return this.curve.point(nx, ny); +}; + +Point$2.prototype.getX = function getX() { + return this.x.fromRed(); +}; + +Point$2.prototype.getY = function getY() { + return this.y.fromRed(); +}; + +Point$2.prototype.mul = function mul(k) { + k = new BN$7(k, 16); + if (this.isInfinity()) + return this; + else if (this._hasDoubles(k)) + return this.curve._fixedNafMul(this, k); + else if (this.curve.endo) + return this.curve._endoWnafMulAdd([ this ], [ k ]); + else + return this.curve._wnafMul(this, k); +}; + +Point$2.prototype.mulAdd = function mulAdd(k1, p2, k2) { + var points = [ this, p2 ]; + var coeffs = [ k1, k2 ]; + if (this.curve.endo) + return this.curve._endoWnafMulAdd(points, coeffs); + else + return this.curve._wnafMulAdd(1, points, coeffs, 2); +}; + +Point$2.prototype.jmulAdd = function jmulAdd(k1, p2, k2) { + var points = [ this, p2 ]; + var coeffs = [ k1, k2 ]; + if (this.curve.endo) + return this.curve._endoWnafMulAdd(points, coeffs, true); + else + return this.curve._wnafMulAdd(1, points, coeffs, 2, true); +}; + +Point$2.prototype.eq = function eq(p) { + return this === p || + this.inf === p.inf && + (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0); +}; + +Point$2.prototype.neg = function neg(_precompute) { + if (this.inf) + return this; + + var res = this.curve.point(this.x, this.y.redNeg()); + if (_precompute && this.precomputed) { + var pre = this.precomputed; + var negate = function(p) { + return p.neg(); + }; + res.precomputed = { + naf: pre.naf && { + wnd: pre.naf.wnd, + points: pre.naf.points.map(negate), + }, + doubles: pre.doubles && { + step: pre.doubles.step, + points: pre.doubles.points.map(negate), + }, + }; + } + return res; +}; + +Point$2.prototype.toJ = function toJ() { + if (this.inf) + return this.curve.jpoint(null, null, null); + + var res = this.curve.jpoint(this.x, this.y, this.curve.one); + return res; +}; + +function JPoint(curve, x, y, z) { + Base$2.BasePoint.call(this, curve, 'jacobian'); + if (x === null && y === null && z === null) { + this.x = this.curve.one; + this.y = this.curve.one; + this.z = new BN$7(0); + } else { + this.x = new BN$7(x, 16); + this.y = new BN$7(y, 16); + this.z = new BN$7(z, 16); + } + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.y.red) + this.y = this.y.toRed(this.curve.red); + if (!this.z.red) + this.z = this.z.toRed(this.curve.red); + + this.zOne = this.z === this.curve.one; +} +inherits$3(JPoint, Base$2.BasePoint); + +ShortCurve.prototype.jpoint = function jpoint(x, y, z) { + return new JPoint(this, x, y, z); +}; + +JPoint.prototype.toP = function toP() { + if (this.isInfinity()) + return this.curve.point(null, null); + + var zinv = this.z.redInvm(); + var zinv2 = zinv.redSqr(); + var ax = this.x.redMul(zinv2); + var ay = this.y.redMul(zinv2).redMul(zinv); + + return this.curve.point(ax, ay); +}; + +JPoint.prototype.neg = function neg() { + return this.curve.jpoint(this.x, this.y.redNeg(), this.z); +}; + +JPoint.prototype.add = function add(p) { + // O + P = P + if (this.isInfinity()) + return p; + + // P + O = P + if (p.isInfinity()) + return this; + + // 12M + 4S + 7A + var pz2 = p.z.redSqr(); + var z2 = this.z.redSqr(); + var u1 = this.x.redMul(pz2); + var u2 = p.x.redMul(z2); + var s1 = this.y.redMul(pz2.redMul(p.z)); + var s2 = p.y.redMul(z2.redMul(this.z)); + + var h = u1.redSub(u2); + var r = s1.redSub(s2); + if (h.cmpn(0) === 0) { + if (r.cmpn(0) !== 0) + return this.curve.jpoint(null, null, null); + else + return this.dbl(); + } + + var h2 = h.redSqr(); + var h3 = h2.redMul(h); + var v = u1.redMul(h2); + + var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); + var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); + var nz = this.z.redMul(p.z).redMul(h); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.mixedAdd = function mixedAdd(p) { + // O + P = P + if (this.isInfinity()) + return p.toJ(); + + // P + O = P + if (p.isInfinity()) + return this; + + // 8M + 3S + 7A + var z2 = this.z.redSqr(); + var u1 = this.x; + var u2 = p.x.redMul(z2); + var s1 = this.y; + var s2 = p.y.redMul(z2).redMul(this.z); + + var h = u1.redSub(u2); + var r = s1.redSub(s2); + if (h.cmpn(0) === 0) { + if (r.cmpn(0) !== 0) + return this.curve.jpoint(null, null, null); + else + return this.dbl(); + } + + var h2 = h.redSqr(); + var h3 = h2.redMul(h); + var v = u1.redMul(h2); + + var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); + var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); + var nz = this.z.redMul(h); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.dblp = function dblp(pow) { + if (pow === 0) + return this; + if (this.isInfinity()) + return this; + if (!pow) + return this.dbl(); + + var i; + if (this.curve.zeroA || this.curve.threeA) { + var r = this; + for (i = 0; i < pow; i++) + r = r.dbl(); + return r; + } + + // 1M + 2S + 1A + N * (4S + 5M + 8A) + // N = 1 => 6M + 6S + 9A + var a = this.curve.a; + var tinv = this.curve.tinv; + + var jx = this.x; + var jy = this.y; + var jz = this.z; + var jz4 = jz.redSqr().redSqr(); + + // Reuse results + var jyd = jy.redAdd(jy); + for (i = 0; i < pow; i++) { + var jx2 = jx.redSqr(); + var jyd2 = jyd.redSqr(); + var jyd4 = jyd2.redSqr(); + var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); + + var t1 = jx.redMul(jyd2); + var nx = c.redSqr().redISub(t1.redAdd(t1)); + var t2 = t1.redISub(nx); + var dny = c.redMul(t2); + dny = dny.redIAdd(dny).redISub(jyd4); + var nz = jyd.redMul(jz); + if (i + 1 < pow) + jz4 = jz4.redMul(jyd4); + + jx = nx; + jz = nz; + jyd = dny; + } + + return this.curve.jpoint(jx, jyd.redMul(tinv), jz); +}; + +JPoint.prototype.dbl = function dbl() { + if (this.isInfinity()) + return this; + + if (this.curve.zeroA) + return this._zeroDbl(); + else if (this.curve.threeA) + return this._threeDbl(); + else + return this._dbl(); +}; + +JPoint.prototype._zeroDbl = function _zeroDbl() { + var nx; + var ny; + var nz; + // Z = 1 + if (this.zOne) { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html + // #doubling-mdbl-2007-bl + // 1M + 5S + 14A + + // XX = X1^2 + var xx = this.x.redSqr(); + // YY = Y1^2 + var yy = this.y.redSqr(); + // YYYY = YY^2 + var yyyy = yy.redSqr(); + // S = 2 * ((X1 + YY)^2 - XX - YYYY) + var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); + s = s.redIAdd(s); + // M = 3 * XX + a; a = 0 + var m = xx.redAdd(xx).redIAdd(xx); + // T = M ^ 2 - 2*S + var t = m.redSqr().redISub(s).redISub(s); + + // 8 * YYYY + var yyyy8 = yyyy.redIAdd(yyyy); + yyyy8 = yyyy8.redIAdd(yyyy8); + yyyy8 = yyyy8.redIAdd(yyyy8); + + // X3 = T + nx = t; + // Y3 = M * (S - T) - 8 * YYYY + ny = m.redMul(s.redISub(t)).redISub(yyyy8); + // Z3 = 2*Y1 + nz = this.y.redAdd(this.y); + } else { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html + // #doubling-dbl-2009-l + // 2M + 5S + 13A + + // A = X1^2 + var a = this.x.redSqr(); + // B = Y1^2 + var b = this.y.redSqr(); + // C = B^2 + var c = b.redSqr(); + // D = 2 * ((X1 + B)^2 - A - C) + var d = this.x.redAdd(b).redSqr().redISub(a).redISub(c); + d = d.redIAdd(d); + // E = 3 * A + var e = a.redAdd(a).redIAdd(a); + // F = E^2 + var f = e.redSqr(); + + // 8 * C + var c8 = c.redIAdd(c); + c8 = c8.redIAdd(c8); + c8 = c8.redIAdd(c8); + + // X3 = F - 2 * D + nx = f.redISub(d).redISub(d); + // Y3 = E * (D - X3) - 8 * C + ny = e.redMul(d.redISub(nx)).redISub(c8); + // Z3 = 2 * Y1 * Z1 + nz = this.y.redMul(this.z); + nz = nz.redIAdd(nz); + } + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype._threeDbl = function _threeDbl() { + var nx; + var ny; + var nz; + // Z = 1 + if (this.zOne) { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html + // #doubling-mdbl-2007-bl + // 1M + 5S + 15A + + // XX = X1^2 + var xx = this.x.redSqr(); + // YY = Y1^2 + var yy = this.y.redSqr(); + // YYYY = YY^2 + var yyyy = yy.redSqr(); + // S = 2 * ((X1 + YY)^2 - XX - YYYY) + var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); + s = s.redIAdd(s); + // M = 3 * XX + a + var m = xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a); + // T = M^2 - 2 * S + var t = m.redSqr().redISub(s).redISub(s); + // X3 = T + nx = t; + // Y3 = M * (S - T) - 8 * YYYY + var yyyy8 = yyyy.redIAdd(yyyy); + yyyy8 = yyyy8.redIAdd(yyyy8); + yyyy8 = yyyy8.redIAdd(yyyy8); + ny = m.redMul(s.redISub(t)).redISub(yyyy8); + // Z3 = 2 * Y1 + nz = this.y.redAdd(this.y); + } else { + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b + // 3M + 5S + + // delta = Z1^2 + var delta = this.z.redSqr(); + // gamma = Y1^2 + var gamma = this.y.redSqr(); + // beta = X1 * gamma + var beta = this.x.redMul(gamma); + // alpha = 3 * (X1 - delta) * (X1 + delta) + var alpha = this.x.redSub(delta).redMul(this.x.redAdd(delta)); + alpha = alpha.redAdd(alpha).redIAdd(alpha); + // X3 = alpha^2 - 8 * beta + var beta4 = beta.redIAdd(beta); + beta4 = beta4.redIAdd(beta4); + var beta8 = beta4.redAdd(beta4); + nx = alpha.redSqr().redISub(beta8); + // Z3 = (Y1 + Z1)^2 - gamma - delta + nz = this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta); + // Y3 = alpha * (4 * beta - X3) - 8 * gamma^2 + var ggamma8 = gamma.redSqr(); + ggamma8 = ggamma8.redIAdd(ggamma8); + ggamma8 = ggamma8.redIAdd(ggamma8); + ggamma8 = ggamma8.redIAdd(ggamma8); + ny = alpha.redMul(beta4.redISub(nx)).redISub(ggamma8); + } + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype._dbl = function _dbl() { + var a = this.curve.a; + + // 4M + 6S + 10A + var jx = this.x; + var jy = this.y; + var jz = this.z; + var jz4 = jz.redSqr().redSqr(); + + var jx2 = jx.redSqr(); + var jy2 = jy.redSqr(); + + var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); + + var jxd4 = jx.redAdd(jx); + jxd4 = jxd4.redIAdd(jxd4); + var t1 = jxd4.redMul(jy2); + var nx = c.redSqr().redISub(t1.redAdd(t1)); + var t2 = t1.redISub(nx); + + var jyd8 = jy2.redSqr(); + jyd8 = jyd8.redIAdd(jyd8); + jyd8 = jyd8.redIAdd(jyd8); + jyd8 = jyd8.redIAdd(jyd8); + var ny = c.redMul(t2).redISub(jyd8); + var nz = jy.redAdd(jy).redMul(jz); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.trpl = function trpl() { + if (!this.curve.zeroA) + return this.dbl().add(this); + + // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#tripling-tpl-2007-bl + // 5M + 10S + ... + + // XX = X1^2 + var xx = this.x.redSqr(); + // YY = Y1^2 + var yy = this.y.redSqr(); + // ZZ = Z1^2 + var zz = this.z.redSqr(); + // YYYY = YY^2 + var yyyy = yy.redSqr(); + // M = 3 * XX + a * ZZ2; a = 0 + var m = xx.redAdd(xx).redIAdd(xx); + // MM = M^2 + var mm = m.redSqr(); + // E = 6 * ((X1 + YY)^2 - XX - YYYY) - MM + var e = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); + e = e.redIAdd(e); + e = e.redAdd(e).redIAdd(e); + e = e.redISub(mm); + // EE = E^2 + var ee = e.redSqr(); + // T = 16*YYYY + var t = yyyy.redIAdd(yyyy); + t = t.redIAdd(t); + t = t.redIAdd(t); + t = t.redIAdd(t); + // U = (M + E)^2 - MM - EE - T + var u = m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t); + // X3 = 4 * (X1 * EE - 4 * YY * U) + var yyu4 = yy.redMul(u); + yyu4 = yyu4.redIAdd(yyu4); + yyu4 = yyu4.redIAdd(yyu4); + var nx = this.x.redMul(ee).redISub(yyu4); + nx = nx.redIAdd(nx); + nx = nx.redIAdd(nx); + // Y3 = 8 * Y1 * (U * (T - U) - E * EE) + var ny = this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee))); + ny = ny.redIAdd(ny); + ny = ny.redIAdd(ny); + ny = ny.redIAdd(ny); + // Z3 = (Z1 + E)^2 - ZZ - EE + var nz = this.z.redAdd(e).redSqr().redISub(zz).redISub(ee); + + return this.curve.jpoint(nx, ny, nz); +}; + +JPoint.prototype.mul = function mul(k, kbase) { + k = new BN$7(k, kbase); + + return this.curve._wnafMul(this, k); +}; + +JPoint.prototype.eq = function eq(p) { + if (p.type === 'affine') + return this.eq(p.toJ()); + + if (this === p) + return true; + + // x1 * z2^2 == x2 * z1^2 + var z2 = this.z.redSqr(); + var pz2 = p.z.redSqr(); + if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0) + return false; + + // y1 * z2^3 == y2 * z1^3 + var z3 = z2.redMul(this.z); + var pz3 = pz2.redMul(p.z); + return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0; +}; + +JPoint.prototype.eqXToP = function eqXToP(x) { + var zs = this.z.redSqr(); + var rx = x.toRed(this.curve.red).redMul(zs); + if (this.x.cmp(rx) === 0) + return true; + + var xc = x.clone(); + var t = this.curve.redN.redMul(zs); + for (;;) { + xc.iadd(this.curve.n); + if (xc.cmp(this.curve.p) >= 0) + return false; + + rx.redIAdd(t); + if (this.x.cmp(rx) === 0) + return true; + } +}; + +JPoint.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +JPoint.prototype.isInfinity = function isInfinity() { + // XXX This code assumes that zero is always zero in red + return this.z.cmpn(0) === 0; +}; + +var BN$6 = bn.exports; +var inherits$2 = inherits$4.exports; +var Base$1 = base$2; + +var utils$i = utils$m; + +function MontCurve(conf) { + Base$1.call(this, 'mont', conf); + + this.a = new BN$6(conf.a, 16).toRed(this.red); + this.b = new BN$6(conf.b, 16).toRed(this.red); + this.i4 = new BN$6(4).toRed(this.red).redInvm(); + this.two = new BN$6(2).toRed(this.red); + this.a24 = this.i4.redMul(this.a.redAdd(this.two)); +} +inherits$2(MontCurve, Base$1); +var mont = MontCurve; + +MontCurve.prototype.validate = function validate(point) { + var x = point.normalize().x; + var x2 = x.redSqr(); + var rhs = x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x); + var y = rhs.redSqrt(); + + return y.redSqr().cmp(rhs) === 0; +}; + +function Point$1(curve, x, z) { + Base$1.BasePoint.call(this, curve, 'projective'); + if (x === null && z === null) { + this.x = this.curve.one; + this.z = this.curve.zero; + } else { + this.x = new BN$6(x, 16); + this.z = new BN$6(z, 16); + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.z.red) + this.z = this.z.toRed(this.curve.red); + } +} +inherits$2(Point$1, Base$1.BasePoint); + +MontCurve.prototype.decodePoint = function decodePoint(bytes, enc) { + return this.point(utils$i.toArray(bytes, enc), 1); +}; + +MontCurve.prototype.point = function point(x, z) { + return new Point$1(this, x, z); +}; + +MontCurve.prototype.pointFromJSON = function pointFromJSON(obj) { + return Point$1.fromJSON(this, obj); +}; + +Point$1.prototype.precompute = function precompute() { + // No-op +}; + +Point$1.prototype._encode = function _encode() { + return this.getX().toArray('be', this.curve.p.byteLength()); +}; + +Point$1.fromJSON = function fromJSON(curve, obj) { + return new Point$1(curve, obj[0], obj[1] || curve.one); +}; + +Point$1.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +Point$1.prototype.isInfinity = function isInfinity() { + // XXX This code assumes that zero is always zero in red + return this.z.cmpn(0) === 0; +}; + +Point$1.prototype.dbl = function dbl() { + // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#doubling-dbl-1987-m-3 + // 2M + 2S + 4A + + // A = X1 + Z1 + var a = this.x.redAdd(this.z); + // AA = A^2 + var aa = a.redSqr(); + // B = X1 - Z1 + var b = this.x.redSub(this.z); + // BB = B^2 + var bb = b.redSqr(); + // C = AA - BB + var c = aa.redSub(bb); + // X3 = AA * BB + var nx = aa.redMul(bb); + // Z3 = C * (BB + A24 * C) + var nz = c.redMul(bb.redAdd(this.curve.a24.redMul(c))); + return this.curve.point(nx, nz); +}; + +Point$1.prototype.add = function add() { + throw new Error('Not supported on Montgomery curve'); +}; + +Point$1.prototype.diffAdd = function diffAdd(p, diff) { + // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#diffadd-dadd-1987-m-3 + // 4M + 2S + 6A + + // A = X2 + Z2 + var a = this.x.redAdd(this.z); + // B = X2 - Z2 + var b = this.x.redSub(this.z); + // C = X3 + Z3 + var c = p.x.redAdd(p.z); + // D = X3 - Z3 + var d = p.x.redSub(p.z); + // DA = D * A + var da = d.redMul(a); + // CB = C * B + var cb = c.redMul(b); + // X5 = Z1 * (DA + CB)^2 + var nx = diff.z.redMul(da.redAdd(cb).redSqr()); + // Z5 = X1 * (DA - CB)^2 + var nz = diff.x.redMul(da.redISub(cb).redSqr()); + return this.curve.point(nx, nz); +}; + +Point$1.prototype.mul = function mul(k) { + var t = k.clone(); + var a = this; // (N / 2) * Q + Q + var b = this.curve.point(null, null); // (N / 2) * Q + var c = this; // Q + + for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1)) + bits.push(t.andln(1)); + + for (var i = bits.length - 1; i >= 0; i--) { + if (bits[i] === 0) { + // N * Q + Q = ((N / 2) * Q + Q)) + (N / 2) * Q + a = a.diffAdd(b, c); + // N * Q = 2 * ((N / 2) * Q + Q)) + b = b.dbl(); + } else { + // N * Q = ((N / 2) * Q + Q) + ((N / 2) * Q) + b = a.diffAdd(b, c); + // N * Q + Q = 2 * ((N / 2) * Q + Q) + a = a.dbl(); + } + } + return b; +}; + +Point$1.prototype.mulAdd = function mulAdd() { + throw new Error('Not supported on Montgomery curve'); +}; + +Point$1.prototype.jumlAdd = function jumlAdd() { + throw new Error('Not supported on Montgomery curve'); +}; + +Point$1.prototype.eq = function eq(other) { + return this.getX().cmp(other.getX()) === 0; +}; + +Point$1.prototype.normalize = function normalize() { + this.x = this.x.redMul(this.z.redInvm()); + this.z = this.curve.one; + return this; +}; + +Point$1.prototype.getX = function getX() { + // Normalize coordinates + this.normalize(); + + return this.x.fromRed(); +}; + +var utils$h = utils$m; +var BN$5 = bn.exports; +var inherits$1 = inherits$4.exports; +var Base = base$2; + +var assert$d = utils$h.assert; + +function EdwardsCurve(conf) { + // NOTE: Important as we are creating point in Base.call() + this.twisted = (conf.a | 0) !== 1; + this.mOneA = this.twisted && (conf.a | 0) === -1; + this.extended = this.mOneA; + + Base.call(this, 'edwards', conf); + + this.a = new BN$5(conf.a, 16).umod(this.red.m); + this.a = this.a.toRed(this.red); + this.c = new BN$5(conf.c, 16).toRed(this.red); + this.c2 = this.c.redSqr(); + this.d = new BN$5(conf.d, 16).toRed(this.red); + this.dd = this.d.redAdd(this.d); + + assert$d(!this.twisted || this.c.fromRed().cmpn(1) === 0); + this.oneC = (conf.c | 0) === 1; +} +inherits$1(EdwardsCurve, Base); +var edwards = EdwardsCurve; + +EdwardsCurve.prototype._mulA = function _mulA(num) { + if (this.mOneA) + return num.redNeg(); + else + return this.a.redMul(num); +}; + +EdwardsCurve.prototype._mulC = function _mulC(num) { + if (this.oneC) + return num; + else + return this.c.redMul(num); +}; + +// Just for compatibility with Short curve +EdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) { + return this.point(x, y, z, t); +}; + +EdwardsCurve.prototype.pointFromX = function pointFromX(x, odd) { + x = new BN$5(x, 16); + if (!x.red) + x = x.toRed(this.red); + + var x2 = x.redSqr(); + var rhs = this.c2.redSub(this.a.redMul(x2)); + var lhs = this.one.redSub(this.c2.redMul(this.d).redMul(x2)); + + var y2 = rhs.redMul(lhs.redInvm()); + var y = y2.redSqrt(); + if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) + throw new Error('invalid point'); + + var isOdd = y.fromRed().isOdd(); + if (odd && !isOdd || !odd && isOdd) + y = y.redNeg(); + + return this.point(x, y); +}; + +EdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) { + y = new BN$5(y, 16); + if (!y.red) + y = y.toRed(this.red); + + // x^2 = (y^2 - c^2) / (c^2 d y^2 - a) + var y2 = y.redSqr(); + var lhs = y2.redSub(this.c2); + var rhs = y2.redMul(this.d).redMul(this.c2).redSub(this.a); + var x2 = lhs.redMul(rhs.redInvm()); + + if (x2.cmp(this.zero) === 0) { + if (odd) + throw new Error('invalid point'); + else + return this.point(this.zero, y); + } + + var x = x2.redSqrt(); + if (x.redSqr().redSub(x2).cmp(this.zero) !== 0) + throw new Error('invalid point'); + + if (x.fromRed().isOdd() !== odd) + x = x.redNeg(); + + return this.point(x, y); +}; + +EdwardsCurve.prototype.validate = function validate(point) { + if (point.isInfinity()) + return true; + + // Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2) + point.normalize(); + + var x2 = point.x.redSqr(); + var y2 = point.y.redSqr(); + var lhs = x2.redMul(this.a).redAdd(y2); + var rhs = this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2))); + + return lhs.cmp(rhs) === 0; +}; + +function Point(curve, x, y, z, t) { + Base.BasePoint.call(this, curve, 'projective'); + if (x === null && y === null && z === null) { + this.x = this.curve.zero; + this.y = this.curve.one; + this.z = this.curve.one; + this.t = this.curve.zero; + this.zOne = true; + } else { + this.x = new BN$5(x, 16); + this.y = new BN$5(y, 16); + this.z = z ? new BN$5(z, 16) : this.curve.one; + this.t = t && new BN$5(t, 16); + if (!this.x.red) + this.x = this.x.toRed(this.curve.red); + if (!this.y.red) + this.y = this.y.toRed(this.curve.red); + if (!this.z.red) + this.z = this.z.toRed(this.curve.red); + if (this.t && !this.t.red) + this.t = this.t.toRed(this.curve.red); + this.zOne = this.z === this.curve.one; + + // Use extended coordinates + if (this.curve.extended && !this.t) { + this.t = this.x.redMul(this.y); + if (!this.zOne) + this.t = this.t.redMul(this.z.redInvm()); + } + } +} +inherits$1(Point, Base.BasePoint); + +EdwardsCurve.prototype.pointFromJSON = function pointFromJSON(obj) { + return Point.fromJSON(this, obj); +}; + +EdwardsCurve.prototype.point = function point(x, y, z, t) { + return new Point(this, x, y, z, t); +}; + +Point.fromJSON = function fromJSON(curve, obj) { + return new Point(curve, obj[0], obj[1], obj[2]); +}; + +Point.prototype.inspect = function inspect() { + if (this.isInfinity()) + return ''; + return ''; +}; + +Point.prototype.isInfinity = function isInfinity() { + // XXX This code assumes that zero is always zero in red + return this.x.cmpn(0) === 0 && + (this.y.cmp(this.z) === 0 || + (this.zOne && this.y.cmp(this.curve.c) === 0)); +}; + +Point.prototype._extDbl = function _extDbl() { + // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html + // #doubling-dbl-2008-hwcd + // 4M + 4S + + // A = X1^2 + var a = this.x.redSqr(); + // B = Y1^2 + var b = this.y.redSqr(); + // C = 2 * Z1^2 + var c = this.z.redSqr(); + c = c.redIAdd(c); + // D = a * A + var d = this.curve._mulA(a); + // E = (X1 + Y1)^2 - A - B + var e = this.x.redAdd(this.y).redSqr().redISub(a).redISub(b); + // G = D + B + var g = d.redAdd(b); + // F = G - C + var f = g.redSub(c); + // H = D - B + var h = d.redSub(b); + // X3 = E * F + var nx = e.redMul(f); + // Y3 = G * H + var ny = g.redMul(h); + // T3 = E * H + var nt = e.redMul(h); + // Z3 = F * G + var nz = f.redMul(g); + return this.curve.point(nx, ny, nz, nt); +}; + +Point.prototype._projDbl = function _projDbl() { + // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html + // #doubling-dbl-2008-bbjlp + // #doubling-dbl-2007-bl + // and others + // Generally 3M + 4S or 2M + 4S + + // B = (X1 + Y1)^2 + var b = this.x.redAdd(this.y).redSqr(); + // C = X1^2 + var c = this.x.redSqr(); + // D = Y1^2 + var d = this.y.redSqr(); + + var nx; + var ny; + var nz; + var e; + var h; + var j; + if (this.curve.twisted) { + // E = a * C + e = this.curve._mulA(c); + // F = E + D + var f = e.redAdd(d); + if (this.zOne) { + // X3 = (B - C - D) * (F - 2) + nx = b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two)); + // Y3 = F * (E - D) + ny = f.redMul(e.redSub(d)); + // Z3 = F^2 - 2 * F + nz = f.redSqr().redSub(f).redSub(f); + } else { + // H = Z1^2 + h = this.z.redSqr(); + // J = F - 2 * H + j = f.redSub(h).redISub(h); + // X3 = (B-C-D)*J + nx = b.redSub(c).redISub(d).redMul(j); + // Y3 = F * (E - D) + ny = f.redMul(e.redSub(d)); + // Z3 = F * J + nz = f.redMul(j); + } + } else { + // E = C + D + e = c.redAdd(d); + // H = (c * Z1)^2 + h = this.curve._mulC(this.z).redSqr(); + // J = E - 2 * H + j = e.redSub(h).redSub(h); + // X3 = c * (B - E) * J + nx = this.curve._mulC(b.redISub(e)).redMul(j); + // Y3 = c * E * (C - D) + ny = this.curve._mulC(e).redMul(c.redISub(d)); + // Z3 = E * J + nz = e.redMul(j); + } + return this.curve.point(nx, ny, nz); +}; + +Point.prototype.dbl = function dbl() { + if (this.isInfinity()) + return this; + + // Double in extended coordinates + if (this.curve.extended) + return this._extDbl(); + else + return this._projDbl(); +}; + +Point.prototype._extAdd = function _extAdd(p) { + // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html + // #addition-add-2008-hwcd-3 + // 8M + + // A = (Y1 - X1) * (Y2 - X2) + var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x)); + // B = (Y1 + X1) * (Y2 + X2) + var b = this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)); + // C = T1 * k * T2 + var c = this.t.redMul(this.curve.dd).redMul(p.t); + // D = Z1 * 2 * Z2 + var d = this.z.redMul(p.z.redAdd(p.z)); + // E = B - A + var e = b.redSub(a); + // F = D - C + var f = d.redSub(c); + // G = D + C + var g = d.redAdd(c); + // H = B + A + var h = b.redAdd(a); + // X3 = E * F + var nx = e.redMul(f); + // Y3 = G * H + var ny = g.redMul(h); + // T3 = E * H + var nt = e.redMul(h); + // Z3 = F * G + var nz = f.redMul(g); + return this.curve.point(nx, ny, nz, nt); +}; + +Point.prototype._projAdd = function _projAdd(p) { + // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html + // #addition-add-2008-bbjlp + // #addition-add-2007-bl + // 10M + 1S + + // A = Z1 * Z2 + var a = this.z.redMul(p.z); + // B = A^2 + var b = a.redSqr(); + // C = X1 * X2 + var c = this.x.redMul(p.x); + // D = Y1 * Y2 + var d = this.y.redMul(p.y); + // E = d * C * D + var e = this.curve.d.redMul(c).redMul(d); + // F = B - E + var f = b.redSub(e); + // G = B + E + var g = b.redAdd(e); + // X3 = A * F * ((X1 + Y1) * (X2 + Y2) - C - D) + var tmp = this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d); + var nx = a.redMul(f).redMul(tmp); + var ny; + var nz; + if (this.curve.twisted) { + // Y3 = A * G * (D - a * C) + ny = a.redMul(g).redMul(d.redSub(this.curve._mulA(c))); + // Z3 = F * G + nz = f.redMul(g); + } else { + // Y3 = A * G * (D - C) + ny = a.redMul(g).redMul(d.redSub(c)); + // Z3 = c * F * G + nz = this.curve._mulC(f).redMul(g); + } + return this.curve.point(nx, ny, nz); +}; + +Point.prototype.add = function add(p) { + if (this.isInfinity()) + return p; + if (p.isInfinity()) + return this; + + if (this.curve.extended) + return this._extAdd(p); + else + return this._projAdd(p); +}; + +Point.prototype.mul = function mul(k) { + if (this._hasDoubles(k)) + return this.curve._fixedNafMul(this, k); + else + return this.curve._wnafMul(this, k); +}; + +Point.prototype.mulAdd = function mulAdd(k1, p, k2) { + return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, false); +}; + +Point.prototype.jmulAdd = function jmulAdd(k1, p, k2) { + return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, true); +}; + +Point.prototype.normalize = function normalize() { + if (this.zOne) + return this; + + // Normalize coordinates + var zi = this.z.redInvm(); + this.x = this.x.redMul(zi); + this.y = this.y.redMul(zi); + if (this.t) + this.t = this.t.redMul(zi); + this.z = this.curve.one; + this.zOne = true; + return this; +}; + +Point.prototype.neg = function neg() { + return this.curve.point(this.x.redNeg(), + this.y, + this.z, + this.t && this.t.redNeg()); +}; + +Point.prototype.getX = function getX() { + this.normalize(); + return this.x.fromRed(); +}; + +Point.prototype.getY = function getY() { + this.normalize(); + return this.y.fromRed(); +}; + +Point.prototype.eq = function eq(other) { + return this === other || + this.getX().cmp(other.getX()) === 0 && + this.getY().cmp(other.getY()) === 0; +}; + +Point.prototype.eqXToP = function eqXToP(x) { + var rx = x.toRed(this.curve.red).redMul(this.z); + if (this.x.cmp(rx) === 0) + return true; + + var xc = x.clone(); + var t = this.curve.redN.redMul(this.z); + for (;;) { + xc.iadd(this.curve.n); + if (xc.cmp(this.curve.p) >= 0) + return false; + + rx.redIAdd(t); + if (this.x.cmp(rx) === 0) + return true; + } +}; + +// Compatibility with BaseCurve +Point.prototype.toP = Point.prototype.normalize; +Point.prototype.mixedAdd = Point.prototype.add; + +(function (exports) { + + var curve = exports; + + curve.base = base$2; + curve.short = short; + curve.mont = mont; + curve.edwards = edwards; +} (curve)); + +var curves$2 = {}; + +var hash$2 = {}; + +var utils$g = {}; + +var assert$c = minimalisticAssert; +var inherits = inherits$4.exports; + +utils$g.inherits = inherits; + +function isSurrogatePair(msg, i) { + if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) { + return false; + } + if (i < 0 || i + 1 >= msg.length) { + return false; + } + return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00; +} + +function toArray(msg, enc) { + if (Array.isArray(msg)) + return msg.slice(); + if (!msg) + return []; + var res = []; + if (typeof msg === 'string') { + if (!enc) { + // Inspired by stringToUtf8ByteArray() in closure-library by Google + // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143 + // Apache License 2.0 + // https://github.com/google/closure-library/blob/master/LICENSE + var p = 0; + for (var i = 0; i < msg.length; i++) { + var c = msg.charCodeAt(i); + if (c < 128) { + res[p++] = c; + } else if (c < 2048) { + res[p++] = (c >> 6) | 192; + res[p++] = (c & 63) | 128; + } else if (isSurrogatePair(msg, i)) { + c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF); + res[p++] = (c >> 18) | 240; + res[p++] = ((c >> 12) & 63) | 128; + res[p++] = ((c >> 6) & 63) | 128; + res[p++] = (c & 63) | 128; + } else { + res[p++] = (c >> 12) | 224; + res[p++] = ((c >> 6) & 63) | 128; + res[p++] = (c & 63) | 128; + } + } + } else if (enc === 'hex') { + msg = msg.replace(/[^a-z0-9]+/ig, ''); + if (msg.length % 2 !== 0) + msg = '0' + msg; + for (i = 0; i < msg.length; i += 2) + res.push(parseInt(msg[i] + msg[i + 1], 16)); + } + } else { + for (i = 0; i < msg.length; i++) + res[i] = msg[i] | 0; + } + return res; +} +utils$g.toArray = toArray; + +function toHex(msg) { + var res = ''; + for (var i = 0; i < msg.length; i++) + res += zero2(msg[i].toString(16)); + return res; +} +utils$g.toHex = toHex; + +function htonl(w) { + var res = (w >>> 24) | + ((w >>> 8) & 0xff00) | + ((w << 8) & 0xff0000) | + ((w & 0xff) << 24); + return res >>> 0; +} +utils$g.htonl = htonl; + +function toHex32(msg, endian) { + var res = ''; + for (var i = 0; i < msg.length; i++) { + var w = msg[i]; + if (endian === 'little') + w = htonl(w); + res += zero8(w.toString(16)); + } + return res; +} +utils$g.toHex32 = toHex32; + +function zero2(word) { + if (word.length === 1) + return '0' + word; + else + return word; +} +utils$g.zero2 = zero2; + +function zero8(word) { + if (word.length === 7) + return '0' + word; + else if (word.length === 6) + return '00' + word; + else if (word.length === 5) + return '000' + word; + else if (word.length === 4) + return '0000' + word; + else if (word.length === 3) + return '00000' + word; + else if (word.length === 2) + return '000000' + word; + else if (word.length === 1) + return '0000000' + word; + else + return word; +} +utils$g.zero8 = zero8; + +function join32(msg, start, end, endian) { + var len = end - start; + assert$c(len % 4 === 0); + var res = new Array(len / 4); + for (var i = 0, k = start; i < res.length; i++, k += 4) { + var w; + if (endian === 'big') + w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3]; + else + w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k]; + res[i] = w >>> 0; + } + return res; +} +utils$g.join32 = join32; + +function split32(msg, endian) { + var res = new Array(msg.length * 4); + for (var i = 0, k = 0; i < msg.length; i++, k += 4) { + var m = msg[i]; + if (endian === 'big') { + res[k] = m >>> 24; + res[k + 1] = (m >>> 16) & 0xff; + res[k + 2] = (m >>> 8) & 0xff; + res[k + 3] = m & 0xff; + } else { + res[k + 3] = m >>> 24; + res[k + 2] = (m >>> 16) & 0xff; + res[k + 1] = (m >>> 8) & 0xff; + res[k] = m & 0xff; + } + } + return res; +} +utils$g.split32 = split32; + +function rotr32$1(w, b) { + return (w >>> b) | (w << (32 - b)); +} +utils$g.rotr32 = rotr32$1; + +function rotl32$2(w, b) { + return (w << b) | (w >>> (32 - b)); +} +utils$g.rotl32 = rotl32$2; + +function sum32$3(a, b) { + return (a + b) >>> 0; +} +utils$g.sum32 = sum32$3; + +function sum32_3$1(a, b, c) { + return (a + b + c) >>> 0; +} +utils$g.sum32_3 = sum32_3$1; + +function sum32_4$2(a, b, c, d) { + return (a + b + c + d) >>> 0; +} +utils$g.sum32_4 = sum32_4$2; + +function sum32_5$2(a, b, c, d, e) { + return (a + b + c + d + e) >>> 0; +} +utils$g.sum32_5 = sum32_5$2; + +function sum64$1(buf, pos, ah, al) { + var bh = buf[pos]; + var bl = buf[pos + 1]; + + var lo = (al + bl) >>> 0; + var hi = (lo < al ? 1 : 0) + ah + bh; + buf[pos] = hi >>> 0; + buf[pos + 1] = lo; +} +utils$g.sum64 = sum64$1; + +function sum64_hi$1(ah, al, bh, bl) { + var lo = (al + bl) >>> 0; + var hi = (lo < al ? 1 : 0) + ah + bh; + return hi >>> 0; +} +utils$g.sum64_hi = sum64_hi$1; + +function sum64_lo$1(ah, al, bh, bl) { + var lo = al + bl; + return lo >>> 0; +} +utils$g.sum64_lo = sum64_lo$1; + +function sum64_4_hi$1(ah, al, bh, bl, ch, cl, dh, dl) { + var carry = 0; + var lo = al; + lo = (lo + bl) >>> 0; + carry += lo < al ? 1 : 0; + lo = (lo + cl) >>> 0; + carry += lo < cl ? 1 : 0; + lo = (lo + dl) >>> 0; + carry += lo < dl ? 1 : 0; + + var hi = ah + bh + ch + dh + carry; + return hi >>> 0; +} +utils$g.sum64_4_hi = sum64_4_hi$1; + +function sum64_4_lo$1(ah, al, bh, bl, ch, cl, dh, dl) { + var lo = al + bl + cl + dl; + return lo >>> 0; +} +utils$g.sum64_4_lo = sum64_4_lo$1; + +function sum64_5_hi$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { + var carry = 0; + var lo = al; + lo = (lo + bl) >>> 0; + carry += lo < al ? 1 : 0; + lo = (lo + cl) >>> 0; + carry += lo < cl ? 1 : 0; + lo = (lo + dl) >>> 0; + carry += lo < dl ? 1 : 0; + lo = (lo + el) >>> 0; + carry += lo < el ? 1 : 0; + + var hi = ah + bh + ch + dh + eh + carry; + return hi >>> 0; +} +utils$g.sum64_5_hi = sum64_5_hi$1; + +function sum64_5_lo$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { + var lo = al + bl + cl + dl + el; + + return lo >>> 0; +} +utils$g.sum64_5_lo = sum64_5_lo$1; + +function rotr64_hi$1(ah, al, num) { + var r = (al << (32 - num)) | (ah >>> num); + return r >>> 0; +} +utils$g.rotr64_hi = rotr64_hi$1; + +function rotr64_lo$1(ah, al, num) { + var r = (ah << (32 - num)) | (al >>> num); + return r >>> 0; +} +utils$g.rotr64_lo = rotr64_lo$1; + +function shr64_hi$1(ah, al, num) { + return ah >>> num; +} +utils$g.shr64_hi = shr64_hi$1; + +function shr64_lo$1(ah, al, num) { + var r = (ah << (32 - num)) | (al >>> num); + return r >>> 0; +} +utils$g.shr64_lo = shr64_lo$1; + +var common$5 = {}; + +var utils$f = utils$g; +var assert$b = minimalisticAssert; + +function BlockHash$4() { + this.pending = null; + this.pendingTotal = 0; + this.blockSize = this.constructor.blockSize; + this.outSize = this.constructor.outSize; + this.hmacStrength = this.constructor.hmacStrength; + this.padLength = this.constructor.padLength / 8; + this.endian = 'big'; + + this._delta8 = this.blockSize / 8; + this._delta32 = this.blockSize / 32; +} +common$5.BlockHash = BlockHash$4; + +BlockHash$4.prototype.update = function update(msg, enc) { + // Convert message to array, pad it, and join into 32bit blocks + msg = utils$f.toArray(msg, enc); + if (!this.pending) + this.pending = msg; + else + this.pending = this.pending.concat(msg); + this.pendingTotal += msg.length; + + // Enough data, try updating + if (this.pending.length >= this._delta8) { + msg = this.pending; + + // Process pending data in blocks + var r = msg.length % this._delta8; + this.pending = msg.slice(msg.length - r, msg.length); + if (this.pending.length === 0) + this.pending = null; + + msg = utils$f.join32(msg, 0, msg.length - r, this.endian); + for (var i = 0; i < msg.length; i += this._delta32) + this._update(msg, i, i + this._delta32); + } + + return this; +}; + +BlockHash$4.prototype.digest = function digest(enc) { + this.update(this._pad()); + assert$b(this.pending === null); + + return this._digest(enc); +}; + +BlockHash$4.prototype._pad = function pad() { + var len = this.pendingTotal; + var bytes = this._delta8; + var k = bytes - ((len + this.padLength) % bytes); + var res = new Array(k + this.padLength); + res[0] = 0x80; + for (var i = 1; i < k; i++) + res[i] = 0; + + // Append length + len <<= 3; + if (this.endian === 'big') { + for (var t = 8; t < this.padLength; t++) + res[i++] = 0; + + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + res[i++] = (len >>> 24) & 0xff; + res[i++] = (len >>> 16) & 0xff; + res[i++] = (len >>> 8) & 0xff; + res[i++] = len & 0xff; + } else { + res[i++] = len & 0xff; + res[i++] = (len >>> 8) & 0xff; + res[i++] = (len >>> 16) & 0xff; + res[i++] = (len >>> 24) & 0xff; + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + res[i++] = 0; + + for (t = 8; t < this.padLength; t++) + res[i++] = 0; + } + + return res; +}; + +var sha = {}; + +var common$4 = {}; + +var utils$e = utils$g; +var rotr32 = utils$e.rotr32; + +function ft_1$1(s, x, y, z) { + if (s === 0) + return ch32$1(x, y, z); + if (s === 1 || s === 3) + return p32(x, y, z); + if (s === 2) + return maj32$1(x, y, z); +} +common$4.ft_1 = ft_1$1; + +function ch32$1(x, y, z) { + return (x & y) ^ ((~x) & z); +} +common$4.ch32 = ch32$1; + +function maj32$1(x, y, z) { + return (x & y) ^ (x & z) ^ (y & z); +} +common$4.maj32 = maj32$1; + +function p32(x, y, z) { + return x ^ y ^ z; +} +common$4.p32 = p32; + +function s0_256$1(x) { + return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22); +} +common$4.s0_256 = s0_256$1; + +function s1_256$1(x) { + return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25); +} +common$4.s1_256 = s1_256$1; + +function g0_256$1(x) { + return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3); +} +common$4.g0_256 = g0_256$1; + +function g1_256$1(x) { + return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10); +} +common$4.g1_256 = g1_256$1; + +var utils$d = utils$g; +var common$3 = common$5; +var shaCommon$1 = common$4; + +var rotl32$1 = utils$d.rotl32; +var sum32$2 = utils$d.sum32; +var sum32_5$1 = utils$d.sum32_5; +var ft_1 = shaCommon$1.ft_1; +var BlockHash$3 = common$3.BlockHash; + +var sha1_K = [ + 0x5A827999, 0x6ED9EBA1, + 0x8F1BBCDC, 0xCA62C1D6 +]; + +function SHA1() { + if (!(this instanceof SHA1)) + return new SHA1(); + + BlockHash$3.call(this); + this.h = [ + 0x67452301, 0xefcdab89, 0x98badcfe, + 0x10325476, 0xc3d2e1f0 ]; + this.W = new Array(80); +} + +utils$d.inherits(SHA1, BlockHash$3); +var _1 = SHA1; + +SHA1.blockSize = 512; +SHA1.outSize = 160; +SHA1.hmacStrength = 80; +SHA1.padLength = 64; + +SHA1.prototype._update = function _update(msg, start) { + var W = this.W; + + for (var i = 0; i < 16; i++) + W[i] = msg[start + i]; + + for(; i < W.length; i++) + W[i] = rotl32$1(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1); + + var a = this.h[0]; + var b = this.h[1]; + var c = this.h[2]; + var d = this.h[3]; + var e = this.h[4]; + + for (i = 0; i < W.length; i++) { + var s = ~~(i / 20); + var t = sum32_5$1(rotl32$1(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]); + e = d; + d = c; + c = rotl32$1(b, 30); + b = a; + a = t; + } + + this.h[0] = sum32$2(this.h[0], a); + this.h[1] = sum32$2(this.h[1], b); + this.h[2] = sum32$2(this.h[2], c); + this.h[3] = sum32$2(this.h[3], d); + this.h[4] = sum32$2(this.h[4], e); +}; + +SHA1.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$d.toHex32(this.h, 'big'); + else + return utils$d.split32(this.h, 'big'); +}; + +var utils$c = utils$g; +var common$2 = common$5; +var shaCommon = common$4; +var assert$a = minimalisticAssert; + +var sum32$1 = utils$c.sum32; +var sum32_4$1 = utils$c.sum32_4; +var sum32_5 = utils$c.sum32_5; +var ch32 = shaCommon.ch32; +var maj32 = shaCommon.maj32; +var s0_256 = shaCommon.s0_256; +var s1_256 = shaCommon.s1_256; +var g0_256 = shaCommon.g0_256; +var g1_256 = shaCommon.g1_256; + +var BlockHash$2 = common$2.BlockHash; + +var sha256_K = [ + 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, + 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, + 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, + 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, + 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, + 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, + 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, + 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, + 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, + 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, + 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, + 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, + 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, + 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, + 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, + 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 +]; + +function SHA256$1() { + if (!(this instanceof SHA256$1)) + return new SHA256$1(); + + BlockHash$2.call(this); + this.h = [ + 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, + 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 + ]; + this.k = sha256_K; + this.W = new Array(64); +} +utils$c.inherits(SHA256$1, BlockHash$2); +var _256 = SHA256$1; + +SHA256$1.blockSize = 512; +SHA256$1.outSize = 256; +SHA256$1.hmacStrength = 192; +SHA256$1.padLength = 64; + +SHA256$1.prototype._update = function _update(msg, start) { + var W = this.W; + + for (var i = 0; i < 16; i++) + W[i] = msg[start + i]; + for (; i < W.length; i++) + W[i] = sum32_4$1(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]); + + var a = this.h[0]; + var b = this.h[1]; + var c = this.h[2]; + var d = this.h[3]; + var e = this.h[4]; + var f = this.h[5]; + var g = this.h[6]; + var h = this.h[7]; + + assert$a(this.k.length === W.length); + for (i = 0; i < W.length; i++) { + var T1 = sum32_5(h, s1_256(e), ch32(e, f, g), this.k[i], W[i]); + var T2 = sum32$1(s0_256(a), maj32(a, b, c)); + h = g; + g = f; + f = e; + e = sum32$1(d, T1); + d = c; + c = b; + b = a; + a = sum32$1(T1, T2); + } + + this.h[0] = sum32$1(this.h[0], a); + this.h[1] = sum32$1(this.h[1], b); + this.h[2] = sum32$1(this.h[2], c); + this.h[3] = sum32$1(this.h[3], d); + this.h[4] = sum32$1(this.h[4], e); + this.h[5] = sum32$1(this.h[5], f); + this.h[6] = sum32$1(this.h[6], g); + this.h[7] = sum32$1(this.h[7], h); +}; + +SHA256$1.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$c.toHex32(this.h, 'big'); + else + return utils$c.split32(this.h, 'big'); +}; + +var utils$b = utils$g; +var SHA256 = _256; + +function SHA224() { + if (!(this instanceof SHA224)) + return new SHA224(); + + SHA256.call(this); + this.h = [ + 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939, + 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ]; +} +utils$b.inherits(SHA224, SHA256); +var _224 = SHA224; + +SHA224.blockSize = 512; +SHA224.outSize = 224; +SHA224.hmacStrength = 192; +SHA224.padLength = 64; + +SHA224.prototype._digest = function digest(enc) { + // Just truncate output + if (enc === 'hex') + return utils$b.toHex32(this.h.slice(0, 7), 'big'); + else + return utils$b.split32(this.h.slice(0, 7), 'big'); +}; + +var utils$a = utils$g; +var common$1 = common$5; +var assert$9 = minimalisticAssert; + +var rotr64_hi = utils$a.rotr64_hi; +var rotr64_lo = utils$a.rotr64_lo; +var shr64_hi = utils$a.shr64_hi; +var shr64_lo = utils$a.shr64_lo; +var sum64 = utils$a.sum64; +var sum64_hi = utils$a.sum64_hi; +var sum64_lo = utils$a.sum64_lo; +var sum64_4_hi = utils$a.sum64_4_hi; +var sum64_4_lo = utils$a.sum64_4_lo; +var sum64_5_hi = utils$a.sum64_5_hi; +var sum64_5_lo = utils$a.sum64_5_lo; + +var BlockHash$1 = common$1.BlockHash; + +var sha512_K = [ + 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd, + 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc, + 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019, + 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118, + 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe, + 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2, + 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1, + 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694, + 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3, + 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65, + 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483, + 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5, + 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210, + 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4, + 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725, + 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70, + 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926, + 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df, + 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8, + 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b, + 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001, + 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30, + 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910, + 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8, + 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53, + 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8, + 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb, + 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3, + 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60, + 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec, + 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9, + 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b, + 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207, + 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178, + 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6, + 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b, + 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493, + 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c, + 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a, + 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817 +]; + +function SHA512$1() { + if (!(this instanceof SHA512$1)) + return new SHA512$1(); + + BlockHash$1.call(this); + this.h = [ + 0x6a09e667, 0xf3bcc908, + 0xbb67ae85, 0x84caa73b, + 0x3c6ef372, 0xfe94f82b, + 0xa54ff53a, 0x5f1d36f1, + 0x510e527f, 0xade682d1, + 0x9b05688c, 0x2b3e6c1f, + 0x1f83d9ab, 0xfb41bd6b, + 0x5be0cd19, 0x137e2179 ]; + this.k = sha512_K; + this.W = new Array(160); +} +utils$a.inherits(SHA512$1, BlockHash$1); +var _512 = SHA512$1; + +SHA512$1.blockSize = 1024; +SHA512$1.outSize = 512; +SHA512$1.hmacStrength = 192; +SHA512$1.padLength = 128; + +SHA512$1.prototype._prepareBlock = function _prepareBlock(msg, start) { + var W = this.W; + + // 32 x 32bit words + for (var i = 0; i < 32; i++) + W[i] = msg[start + i]; + for (; i < W.length; i += 2) { + var c0_hi = g1_512_hi(W[i - 4], W[i - 3]); // i - 2 + var c0_lo = g1_512_lo(W[i - 4], W[i - 3]); + var c1_hi = W[i - 14]; // i - 7 + var c1_lo = W[i - 13]; + var c2_hi = g0_512_hi(W[i - 30], W[i - 29]); // i - 15 + var c2_lo = g0_512_lo(W[i - 30], W[i - 29]); + var c3_hi = W[i - 32]; // i - 16 + var c3_lo = W[i - 31]; + + W[i] = sum64_4_hi( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo); + W[i + 1] = sum64_4_lo( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo); + } +}; + +SHA512$1.prototype._update = function _update(msg, start) { + this._prepareBlock(msg, start); + + var W = this.W; + + var ah = this.h[0]; + var al = this.h[1]; + var bh = this.h[2]; + var bl = this.h[3]; + var ch = this.h[4]; + var cl = this.h[5]; + var dh = this.h[6]; + var dl = this.h[7]; + var eh = this.h[8]; + var el = this.h[9]; + var fh = this.h[10]; + var fl = this.h[11]; + var gh = this.h[12]; + var gl = this.h[13]; + var hh = this.h[14]; + var hl = this.h[15]; + + assert$9(this.k.length === W.length); + for (var i = 0; i < W.length; i += 2) { + var c0_hi = hh; + var c0_lo = hl; + var c1_hi = s1_512_hi(eh, el); + var c1_lo = s1_512_lo(eh, el); + var c2_hi = ch64_hi(eh, el, fh, fl, gh); + var c2_lo = ch64_lo(eh, el, fh, fl, gh, gl); + var c3_hi = this.k[i]; + var c3_lo = this.k[i + 1]; + var c4_hi = W[i]; + var c4_lo = W[i + 1]; + + var T1_hi = sum64_5_hi( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo, + c4_hi, c4_lo); + var T1_lo = sum64_5_lo( + c0_hi, c0_lo, + c1_hi, c1_lo, + c2_hi, c2_lo, + c3_hi, c3_lo, + c4_hi, c4_lo); + + c0_hi = s0_512_hi(ah, al); + c0_lo = s0_512_lo(ah, al); + c1_hi = maj64_hi(ah, al, bh, bl, ch); + c1_lo = maj64_lo(ah, al, bh, bl, ch, cl); + + var T2_hi = sum64_hi(c0_hi, c0_lo, c1_hi, c1_lo); + var T2_lo = sum64_lo(c0_hi, c0_lo, c1_hi, c1_lo); + + hh = gh; + hl = gl; + + gh = fh; + gl = fl; + + fh = eh; + fl = el; + + eh = sum64_hi(dh, dl, T1_hi, T1_lo); + el = sum64_lo(dl, dl, T1_hi, T1_lo); + + dh = ch; + dl = cl; + + ch = bh; + cl = bl; + + bh = ah; + bl = al; + + ah = sum64_hi(T1_hi, T1_lo, T2_hi, T2_lo); + al = sum64_lo(T1_hi, T1_lo, T2_hi, T2_lo); + } + + sum64(this.h, 0, ah, al); + sum64(this.h, 2, bh, bl); + sum64(this.h, 4, ch, cl); + sum64(this.h, 6, dh, dl); + sum64(this.h, 8, eh, el); + sum64(this.h, 10, fh, fl); + sum64(this.h, 12, gh, gl); + sum64(this.h, 14, hh, hl); +}; + +SHA512$1.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$a.toHex32(this.h, 'big'); + else + return utils$a.split32(this.h, 'big'); +}; + +function ch64_hi(xh, xl, yh, yl, zh) { + var r = (xh & yh) ^ ((~xh) & zh); + if (r < 0) + r += 0x100000000; + return r; +} + +function ch64_lo(xh, xl, yh, yl, zh, zl) { + var r = (xl & yl) ^ ((~xl) & zl); + if (r < 0) + r += 0x100000000; + return r; +} + +function maj64_hi(xh, xl, yh, yl, zh) { + var r = (xh & yh) ^ (xh & zh) ^ (yh & zh); + if (r < 0) + r += 0x100000000; + return r; +} + +function maj64_lo(xh, xl, yh, yl, zh, zl) { + var r = (xl & yl) ^ (xl & zl) ^ (yl & zl); + if (r < 0) + r += 0x100000000; + return r; +} + +function s0_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 28); + var c1_hi = rotr64_hi(xl, xh, 2); // 34 + var c2_hi = rotr64_hi(xl, xh, 7); // 39 + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function s0_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 28); + var c1_lo = rotr64_lo(xl, xh, 2); // 34 + var c2_lo = rotr64_lo(xl, xh, 7); // 39 + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +function s1_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 14); + var c1_hi = rotr64_hi(xh, xl, 18); + var c2_hi = rotr64_hi(xl, xh, 9); // 41 + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function s1_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 14); + var c1_lo = rotr64_lo(xh, xl, 18); + var c2_lo = rotr64_lo(xl, xh, 9); // 41 + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +function g0_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 1); + var c1_hi = rotr64_hi(xh, xl, 8); + var c2_hi = shr64_hi(xh, xl, 7); + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function g0_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 1); + var c1_lo = rotr64_lo(xh, xl, 8); + var c2_lo = shr64_lo(xh, xl, 7); + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +function g1_512_hi(xh, xl) { + var c0_hi = rotr64_hi(xh, xl, 19); + var c1_hi = rotr64_hi(xl, xh, 29); // 61 + var c2_hi = shr64_hi(xh, xl, 6); + + var r = c0_hi ^ c1_hi ^ c2_hi; + if (r < 0) + r += 0x100000000; + return r; +} + +function g1_512_lo(xh, xl) { + var c0_lo = rotr64_lo(xh, xl, 19); + var c1_lo = rotr64_lo(xl, xh, 29); // 61 + var c2_lo = shr64_lo(xh, xl, 6); + + var r = c0_lo ^ c1_lo ^ c2_lo; + if (r < 0) + r += 0x100000000; + return r; +} + +var utils$9 = utils$g; + +var SHA512 = _512; + +function SHA384() { + if (!(this instanceof SHA384)) + return new SHA384(); + + SHA512.call(this); + this.h = [ + 0xcbbb9d5d, 0xc1059ed8, + 0x629a292a, 0x367cd507, + 0x9159015a, 0x3070dd17, + 0x152fecd8, 0xf70e5939, + 0x67332667, 0xffc00b31, + 0x8eb44a87, 0x68581511, + 0xdb0c2e0d, 0x64f98fa7, + 0x47b5481d, 0xbefa4fa4 ]; +} +utils$9.inherits(SHA384, SHA512); +var _384 = SHA384; + +SHA384.blockSize = 1024; +SHA384.outSize = 384; +SHA384.hmacStrength = 192; +SHA384.padLength = 128; + +SHA384.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$9.toHex32(this.h.slice(0, 12), 'big'); + else + return utils$9.split32(this.h.slice(0, 12), 'big'); +}; + +sha.sha1 = _1; +sha.sha224 = _224; +sha.sha256 = _256; +sha.sha384 = _384; +sha.sha512 = _512; + +var ripemd = {}; + +var utils$8 = utils$g; +var common = common$5; + +var rotl32 = utils$8.rotl32; +var sum32 = utils$8.sum32; +var sum32_3 = utils$8.sum32_3; +var sum32_4 = utils$8.sum32_4; +var BlockHash = common.BlockHash; + +function RIPEMD160() { + if (!(this instanceof RIPEMD160)) + return new RIPEMD160(); + + BlockHash.call(this); + + this.h = [ 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0 ]; + this.endian = 'little'; +} +utils$8.inherits(RIPEMD160, BlockHash); +ripemd.ripemd160 = RIPEMD160; + +RIPEMD160.blockSize = 512; +RIPEMD160.outSize = 160; +RIPEMD160.hmacStrength = 192; +RIPEMD160.padLength = 64; + +RIPEMD160.prototype._update = function update(msg, start) { + var A = this.h[0]; + var B = this.h[1]; + var C = this.h[2]; + var D = this.h[3]; + var E = this.h[4]; + var Ah = A; + var Bh = B; + var Ch = C; + var Dh = D; + var Eh = E; + for (var j = 0; j < 80; j++) { + var T = sum32( + rotl32( + sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)), + s[j]), + E); + A = E; + E = D; + D = rotl32(C, 10); + C = B; + B = T; + T = sum32( + rotl32( + sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)), + sh[j]), + Eh); + Ah = Eh; + Eh = Dh; + Dh = rotl32(Ch, 10); + Ch = Bh; + Bh = T; + } + T = sum32_3(this.h[1], C, Dh); + this.h[1] = sum32_3(this.h[2], D, Eh); + this.h[2] = sum32_3(this.h[3], E, Ah); + this.h[3] = sum32_3(this.h[4], A, Bh); + this.h[4] = sum32_3(this.h[0], B, Ch); + this.h[0] = T; +}; + +RIPEMD160.prototype._digest = function digest(enc) { + if (enc === 'hex') + return utils$8.toHex32(this.h, 'little'); + else + return utils$8.split32(this.h, 'little'); +}; + +function f(j, x, y, z) { + if (j <= 15) + return x ^ y ^ z; + else if (j <= 31) + return (x & y) | ((~x) & z); + else if (j <= 47) + return (x | (~y)) ^ z; + else if (j <= 63) + return (x & z) | (y & (~z)); + else + return x ^ (y | (~z)); +} + +function K(j) { + if (j <= 15) + return 0x00000000; + else if (j <= 31) + return 0x5a827999; + else if (j <= 47) + return 0x6ed9eba1; + else if (j <= 63) + return 0x8f1bbcdc; + else + return 0xa953fd4e; +} + +function Kh(j) { + if (j <= 15) + return 0x50a28be6; + else if (j <= 31) + return 0x5c4dd124; + else if (j <= 47) + return 0x6d703ef3; + else if (j <= 63) + return 0x7a6d76e9; + else + return 0x00000000; +} + +var r = [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, + 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, + 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, + 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, + 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13 +]; + +var rh = [ + 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, + 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, + 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, + 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, + 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11 +]; + +var s = [ + 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, + 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, + 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, + 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, + 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 +]; + +var sh = [ + 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, + 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, + 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, + 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, + 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 +]; + +var utils$7 = utils$g; +var assert$8 = minimalisticAssert; + +function Hmac(hash, key, enc) { + if (!(this instanceof Hmac)) + return new Hmac(hash, key, enc); + this.Hash = hash; + this.blockSize = hash.blockSize / 8; + this.outSize = hash.outSize / 8; + this.inner = null; + this.outer = null; + + this._init(utils$7.toArray(key, enc)); +} +var hmac = Hmac; + +Hmac.prototype._init = function init(key) { + // Shorten key, if needed + if (key.length > this.blockSize) + key = new this.Hash().update(key).digest(); + assert$8(key.length <= this.blockSize); + + // Add padding to key + for (var i = key.length; i < this.blockSize; i++) + key.push(0); + + for (i = 0; i < key.length; i++) + key[i] ^= 0x36; + this.inner = new this.Hash().update(key); + + // 0x36 ^ 0x5c = 0x6a + for (i = 0; i < key.length; i++) + key[i] ^= 0x6a; + this.outer = new this.Hash().update(key); +}; + +Hmac.prototype.update = function update(msg, enc) { + this.inner.update(msg, enc); + return this; +}; + +Hmac.prototype.digest = function digest(enc) { + this.outer.update(this.inner.digest()); + return this.outer.digest(enc); +}; + +(function (exports) { + var hash = exports; + + hash.utils = utils$g; + hash.common = common$5; + hash.sha = sha; + hash.ripemd = ripemd; + hash.hmac = hmac; + + // Proxy hash functions to the main object + hash.sha1 = hash.sha.sha1; + hash.sha256 = hash.sha.sha256; + hash.sha224 = hash.sha.sha224; + hash.sha384 = hash.sha.sha384; + hash.sha512 = hash.sha.sha512; + hash.ripemd160 = hash.ripemd.ripemd160; +} (hash$2)); + +var secp256k1; +var hasRequiredSecp256k1; + +function requireSecp256k1 () { + if (hasRequiredSecp256k1) return secp256k1; + hasRequiredSecp256k1 = 1; + secp256k1 = { + doubles: { + step: 4, + points: [ + [ + 'e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a', + 'f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821', + ], + [ + '8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508', + '11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf', + ], + [ + '175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739', + 'd3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695', + ], + [ + '363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640', + '4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9', + ], + [ + '8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c', + '4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36', + ], + [ + '723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda', + '96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f', + ], + [ + 'eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa', + '5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999', + ], + [ + '100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0', + 'cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09', + ], + [ + 'e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d', + '9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d', + ], + [ + 'feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d', + 'e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088', + ], + [ + 'da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1', + '9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d', + ], + [ + '53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0', + '5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8', + ], + [ + '8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047', + '10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a', + ], + [ + '385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862', + '283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453', + ], + [ + '6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7', + '7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160', + ], + [ + '3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd', + '56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0', + ], + [ + '85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83', + '7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6', + ], + [ + '948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a', + '53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589', + ], + [ + '6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8', + 'bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17', + ], + [ + 'e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d', + '4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda', + ], + [ + 'e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725', + '7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd', + ], + [ + '213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754', + '4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2', + ], + [ + '4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c', + '17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6', + ], + [ + 'fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6', + '6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f', + ], + [ + '76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39', + 'c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01', + ], + [ + 'c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891', + '893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3', + ], + [ + 'd895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b', + 'febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f', + ], + [ + 'b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03', + '2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7', + ], + [ + 'e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d', + 'eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78', + ], + [ + 'a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070', + '7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1', + ], + [ + '90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4', + 'e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150', + ], + [ + '8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da', + '662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82', + ], + [ + 'e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11', + '1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc', + ], + [ + '8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e', + 'efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b', + ], + [ + 'e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41', + '2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51', + ], + [ + 'b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef', + '67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45', + ], + [ + 'd68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8', + 'db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120', + ], + [ + '324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d', + '648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84', + ], + [ + '4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96', + '35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d', + ], + [ + '9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd', + 'ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d', + ], + [ + '6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5', + '9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8', + ], + [ + 'a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266', + '40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8', + ], + [ + '7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71', + '34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac', + ], + [ + '928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac', + 'c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f', + ], + [ + '85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751', + '1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962', + ], + [ + 'ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e', + '493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907', + ], + [ + '827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241', + 'c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec', + ], + [ + 'eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3', + 'be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d', + ], + [ + 'e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f', + '4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414', + ], + [ + '1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19', + 'aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd', + ], + [ + '146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be', + 'b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0', + ], + [ + 'fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9', + '6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811', + ], + [ + 'da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2', + '8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1', + ], + [ + 'a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13', + '7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c', + ], + [ + '174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c', + 'ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73', + ], + [ + '959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba', + '2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd', + ], + [ + 'd2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151', + 'e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405', + ], + [ + '64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073', + 'd99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589', + ], + [ + '8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458', + '38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e', + ], + [ + '13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b', + '69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27', + ], + [ + 'bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366', + 'd3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1', + ], + [ + '8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa', + '40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482', + ], + [ + '8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0', + '620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945', + ], + [ + 'dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787', + '7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573', + ], + [ + 'f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e', + 'ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82', + ], + ], + }, + naf: { + wnd: 7, + points: [ + [ + 'f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9', + '388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672', + ], + [ + '2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4', + 'd8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6', + ], + [ + '5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc', + '6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da', + ], + [ + 'acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe', + 'cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37', + ], + [ + '774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb', + 'd984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b', + ], + [ + 'f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8', + 'ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81', + ], + [ + 'd7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e', + '581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58', + ], + [ + 'defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34', + '4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77', + ], + [ + '2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c', + '85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a', + ], + [ + '352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5', + '321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c', + ], + [ + '2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f', + '2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67', + ], + [ + '9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714', + '73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402', + ], + [ + 'daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729', + 'a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55', + ], + [ + 'c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db', + '2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482', + ], + [ + '6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4', + 'e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82', + ], + [ + '1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5', + 'b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396', + ], + [ + '605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479', + '2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49', + ], + [ + '62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d', + '80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf', + ], + [ + '80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f', + '1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a', + ], + [ + '7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb', + 'd0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7', + ], + [ + 'd528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9', + 'eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933', + ], + [ + '49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963', + '758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a', + ], + [ + '77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74', + '958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6', + ], + [ + 'f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530', + 'e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37', + ], + [ + '463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b', + '5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e', + ], + [ + 'f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247', + 'cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6', + ], + [ + 'caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1', + 'cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476', + ], + [ + '2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120', + '4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40', + ], + [ + '7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435', + '91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61', + ], + [ + '754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18', + '673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683', + ], + [ + 'e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8', + '59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5', + ], + [ + '186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb', + '3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b', + ], + [ + 'df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f', + '55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417', + ], + [ + '5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143', + 'efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868', + ], + [ + '290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba', + 'e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a', + ], + [ + 'af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45', + 'f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6', + ], + [ + '766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a', + '744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996', + ], + [ + '59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e', + 'c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e', + ], + [ + 'f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8', + 'e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d', + ], + [ + '7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c', + '30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2', + ], + [ + '948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519', + 'e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e', + ], + [ + '7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab', + '100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437', + ], + [ + '3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca', + 'ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311', + ], + [ + 'd3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf', + '8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4', + ], + [ + '1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610', + '68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575', + ], + [ + '733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4', + 'f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d', + ], + [ + '15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c', + 'd56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d', + ], + [ + 'a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940', + 'edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629', + ], + [ + 'e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980', + 'a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06', + ], + [ + '311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3', + '66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374', + ], + [ + '34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf', + '9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee', + ], + [ + 'f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63', + '4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1', + ], + [ + 'd7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448', + 'fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b', + ], + [ + '32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf', + '5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661', + ], + [ + '7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5', + '8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6', + ], + [ + 'ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6', + '8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e', + ], + [ + '16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5', + '5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d', + ], + [ + 'eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99', + 'f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc', + ], + [ + '78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51', + 'f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4', + ], + [ + '494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5', + '42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c', + ], + [ + 'a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5', + '204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b', + ], + [ + 'c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997', + '4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913', + ], + [ + '841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881', + '73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154', + ], + [ + '5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5', + '39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865', + ], + [ + '36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66', + 'd2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc', + ], + [ + '336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726', + 'ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224', + ], + [ + '8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede', + '6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e', + ], + [ + '1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94', + '60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6', + ], + [ + '85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31', + '3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511', + ], + [ + '29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51', + 'b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b', + ], + [ + 'a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252', + 'ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2', + ], + [ + '4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5', + 'cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c', + ], + [ + 'd24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b', + '6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3', + ], + [ + 'ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4', + '322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d', + ], + [ + 'af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f', + '6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700', + ], + [ + 'e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889', + '2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4', + ], + [ + '591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246', + 'b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196', + ], + [ + '11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984', + '998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4', + ], + [ + '3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a', + 'b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257', + ], + [ + 'cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030', + 'bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13', + ], + [ + 'c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197', + '6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096', + ], + [ + 'c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593', + 'c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38', + ], + [ + 'a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef', + '21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f', + ], + [ + '347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38', + '60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448', + ], + [ + 'da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a', + '49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a', + ], + [ + 'c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111', + '5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4', + ], + [ + '4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502', + '7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437', + ], + [ + '3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea', + 'be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7', + ], + [ + 'cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26', + '8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d', + ], + [ + 'b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986', + '39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a', + ], + [ + 'd4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e', + '62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54', + ], + [ + '48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4', + '25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77', + ], + [ + 'dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda', + 'ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517', + ], + [ + '6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859', + 'cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10', + ], + [ + 'e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f', + 'f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125', + ], + [ + 'eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c', + '6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e', + ], + [ + '13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942', + 'fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1', + ], + [ + 'ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a', + '1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2', + ], + [ + 'b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80', + '5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423', + ], + [ + 'ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d', + '438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8', + ], + [ + '8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1', + 'cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758', + ], + [ + '52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63', + 'c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375', + ], + [ + 'e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352', + '6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d', + ], + [ + '7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193', + 'ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec', + ], + [ + '5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00', + '9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0', + ], + [ + '32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58', + 'ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c', + ], + [ + 'e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7', + 'd3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4', + ], + [ + '8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8', + 'c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f', + ], + [ + '4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e', + '67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649', + ], + [ + '3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d', + 'cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826', + ], + [ + '674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b', + '299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5', + ], + [ + 'd32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f', + 'f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87', + ], + [ + '30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6', + '462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b', + ], + [ + 'be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297', + '62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc', + ], + [ + '93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a', + '7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c', + ], + [ + 'b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c', + 'ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f', + ], + [ + 'd5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52', + '4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a', + ], + [ + 'd3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb', + 'bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46', + ], + [ + '463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065', + 'bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f', + ], + [ + '7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917', + '603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03', + ], + [ + '74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9', + 'cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08', + ], + [ + '30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3', + '553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8', + ], + [ + '9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57', + '712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373', + ], + [ + '176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66', + 'ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3', + ], + [ + '75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8', + '9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8', + ], + [ + '809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721', + '9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1', + ], + [ + '1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180', + '4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9', + ], + ], + }, + }; + return secp256k1; +} + +(function (exports) { + + var curves = exports; + + var hash = hash$2; + var curve$1 = curve; + var utils = utils$m; + + var assert = utils.assert; + + function PresetCurve(options) { + if (options.type === 'short') + this.curve = new curve$1.short(options); + else if (options.type === 'edwards') + this.curve = new curve$1.edwards(options); + else + this.curve = new curve$1.mont(options); + this.g = this.curve.g; + this.n = this.curve.n; + this.hash = options.hash; + + assert(this.g.validate(), 'Invalid curve'); + assert(this.g.mul(this.n).isInfinity(), 'Invalid curve, G*N != O'); + } + curves.PresetCurve = PresetCurve; + + function defineCurve(name, options) { + Object.defineProperty(curves, name, { + configurable: true, + enumerable: true, + get: function() { + var curve = new PresetCurve(options); + Object.defineProperty(curves, name, { + configurable: true, + enumerable: true, + value: curve, + }); + return curve; + }, + }); + } + + defineCurve('p192', { + type: 'short', + prime: 'p192', + p: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff', + a: 'ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc', + b: '64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1', + n: 'ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831', + hash: hash.sha256, + gRed: false, + g: [ + '188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012', + '07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811', + ], + }); + + defineCurve('p224', { + type: 'short', + prime: 'p224', + p: 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001', + a: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe', + b: 'b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4', + n: 'ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d', + hash: hash.sha256, + gRed: false, + g: [ + 'b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21', + 'bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34', + ], + }); + + defineCurve('p256', { + type: 'short', + prime: null, + p: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff', + a: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc', + b: '5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b', + n: 'ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551', + hash: hash.sha256, + gRed: false, + g: [ + '6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296', + '4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5', + ], + }); + + defineCurve('p384', { + type: 'short', + prime: null, + p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'fffffffe ffffffff 00000000 00000000 ffffffff', + a: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'fffffffe ffffffff 00000000 00000000 fffffffc', + b: 'b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f ' + + '5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef', + n: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 ' + + 'f4372ddf 581a0db2 48b0a77a ecec196a ccc52973', + hash: hash.sha384, + gRed: false, + g: [ + 'aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 ' + + '5502f25d bf55296c 3a545e38 72760ab7', + '3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 ' + + '0a60b1ce 1d7e819d 7a431d7c 90ea0e5f', + ], + }); + + defineCurve('p521', { + type: 'short', + prime: null, + p: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff ffffffff', + a: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff ffffffff ffffffff fffffffc', + b: '00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b ' + + '99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd ' + + '3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00', + n: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + + 'ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 ' + + 'f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409', + hash: hash.sha512, + gRed: false, + g: [ + '000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 ' + + '053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 ' + + 'a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66', + '00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 ' + + '579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 ' + + '3fad0761 353c7086 a272c240 88be9476 9fd16650', + ], + }); + + defineCurve('curve25519', { + type: 'mont', + prime: 'p25519', + p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', + a: '76d06', + b: '1', + n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', + hash: hash.sha256, + gRed: false, + g: [ + '9', + ], + }); + + defineCurve('ed25519', { + type: 'edwards', + prime: 'p25519', + p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', + a: '-1', + c: '1', + // -121665 * (121666^(-1)) (mod P) + d: '52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3', + n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', + hash: hash.sha256, + gRed: false, + g: [ + '216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a', + + // 4/5 + '6666666666666666666666666666666666666666666666666666666666666658', + ], + }); + + var pre; + try { + pre = requireSecp256k1(); + } catch (e) { + pre = undefined; + } + + defineCurve('secp256k1', { + type: 'short', + prime: 'k256', + p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f', + a: '0', + b: '7', + n: 'ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141', + h: '1', + hash: hash.sha256, + + // Precomputed endomorphism + beta: '7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee', + lambda: '5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72', + basis: [ + { + a: '3086d221a7d46bcde86c90e49284eb15', + b: '-e4437ed6010e88286f547fa90abfe4c3', + }, + { + a: '114ca50f7a8e2f3f657c1108d9d44cfd8', + b: '3086d221a7d46bcde86c90e49284eb15', + }, + ], + + gRed: false, + g: [ + '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', + '483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8', + pre, + ], + }); +} (curves$2)); + +var hash$1 = hash$2; +var utils$6 = utils$l; +var assert$7 = minimalisticAssert; + +function HmacDRBG$1(options) { + if (!(this instanceof HmacDRBG$1)) + return new HmacDRBG$1(options); + this.hash = options.hash; + this.predResist = !!options.predResist; + + this.outLen = this.hash.outSize; + this.minEntropy = options.minEntropy || this.hash.hmacStrength; + + this._reseed = null; + this.reseedInterval = null; + this.K = null; + this.V = null; + + var entropy = utils$6.toArray(options.entropy, options.entropyEnc || 'hex'); + var nonce = utils$6.toArray(options.nonce, options.nonceEnc || 'hex'); + var pers = utils$6.toArray(options.pers, options.persEnc || 'hex'); + assert$7(entropy.length >= (this.minEntropy / 8), + 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); + this._init(entropy, nonce, pers); +} +var hmacDrbg = HmacDRBG$1; + +HmacDRBG$1.prototype._init = function init(entropy, nonce, pers) { + var seed = entropy.concat(nonce).concat(pers); + + this.K = new Array(this.outLen / 8); + this.V = new Array(this.outLen / 8); + for (var i = 0; i < this.V.length; i++) { + this.K[i] = 0x00; + this.V[i] = 0x01; + } + + this._update(seed); + this._reseed = 1; + this.reseedInterval = 0x1000000000000; // 2^48 +}; + +HmacDRBG$1.prototype._hmac = function hmac() { + return new hash$1.hmac(this.hash, this.K); +}; + +HmacDRBG$1.prototype._update = function update(seed) { + var kmac = this._hmac() + .update(this.V) + .update([ 0x00 ]); + if (seed) + kmac = kmac.update(seed); + this.K = kmac.digest(); + this.V = this._hmac().update(this.V).digest(); + if (!seed) + return; + + this.K = this._hmac() + .update(this.V) + .update([ 0x01 ]) + .update(seed) + .digest(); + this.V = this._hmac().update(this.V).digest(); +}; + +HmacDRBG$1.prototype.reseed = function reseed(entropy, entropyEnc, add, addEnc) { + // Optional entropy enc + if (typeof entropyEnc !== 'string') { + addEnc = add; + add = entropyEnc; + entropyEnc = null; + } + + entropy = utils$6.toArray(entropy, entropyEnc); + add = utils$6.toArray(add, addEnc); + + assert$7(entropy.length >= (this.minEntropy / 8), + 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); + + this._update(entropy.concat(add || [])); + this._reseed = 1; +}; + +HmacDRBG$1.prototype.generate = function generate(len, enc, add, addEnc) { + if (this._reseed > this.reseedInterval) + throw new Error('Reseed is required'); + + // Optional encoding + if (typeof enc !== 'string') { + addEnc = add; + add = enc; + enc = null; + } + + // Optional additional data + if (add) { + add = utils$6.toArray(add, addEnc || 'hex'); + this._update(add); + } + + var temp = []; + while (temp.length < len) { + this.V = this._hmac().update(this.V).digest(); + temp = temp.concat(this.V); + } + + var res = temp.slice(0, len); + this._update(add); + this._reseed++; + return utils$6.encode(res, enc); +}; + +var BN$4 = bn.exports; +var utils$5 = utils$m; +var assert$6 = utils$5.assert; + +function KeyPair$3(ec, options) { + this.ec = ec; + this.priv = null; + this.pub = null; + + // KeyPair(ec, { priv: ..., pub: ... }) + if (options.priv) + this._importPrivate(options.priv, options.privEnc); + if (options.pub) + this._importPublic(options.pub, options.pubEnc); +} +var key$2 = KeyPair$3; + +KeyPair$3.fromPublic = function fromPublic(ec, pub, enc) { + if (pub instanceof KeyPair$3) + return pub; + + return new KeyPair$3(ec, { + pub: pub, + pubEnc: enc, + }); +}; + +KeyPair$3.fromPrivate = function fromPrivate(ec, priv, enc) { + if (priv instanceof KeyPair$3) + return priv; + + return new KeyPair$3(ec, { + priv: priv, + privEnc: enc, + }); +}; + +KeyPair$3.prototype.validate = function validate() { + var pub = this.getPublic(); + + if (pub.isInfinity()) + return { result: false, reason: 'Invalid public key' }; + if (!pub.validate()) + return { result: false, reason: 'Public key is not a point' }; + if (!pub.mul(this.ec.curve.n).isInfinity()) + return { result: false, reason: 'Public key * N != O' }; + + return { result: true, reason: null }; +}; + +KeyPair$3.prototype.getPublic = function getPublic(compact, enc) { + // compact is optional argument + if (typeof compact === 'string') { + enc = compact; + compact = null; + } + + if (!this.pub) + this.pub = this.ec.g.mul(this.priv); + + if (!enc) + return this.pub; + + return this.pub.encode(enc, compact); +}; + +KeyPair$3.prototype.getPrivate = function getPrivate(enc) { + if (enc === 'hex') + return this.priv.toString(16, 2); + else + return this.priv; +}; + +KeyPair$3.prototype._importPrivate = function _importPrivate(key, enc) { + this.priv = new BN$4(key, enc || 16); + + // Ensure that the priv won't be bigger than n, otherwise we may fail + // in fixed multiplication method + this.priv = this.priv.umod(this.ec.curve.n); +}; + +KeyPair$3.prototype._importPublic = function _importPublic(key, enc) { + if (key.x || key.y) { + // Montgomery points only have an `x` coordinate. + // Weierstrass/Edwards points on the other hand have both `x` and + // `y` coordinates. + if (this.ec.curve.type === 'mont') { + assert$6(key.x, 'Need x coordinate'); + } else if (this.ec.curve.type === 'short' || + this.ec.curve.type === 'edwards') { + assert$6(key.x && key.y, 'Need both x and y coordinate'); + } + this.pub = this.ec.curve.point(key.x, key.y); + return; + } + this.pub = this.ec.curve.decodePoint(key, enc); +}; + +// ECDH +KeyPair$3.prototype.derive = function derive(pub) { + if(!pub.validate()) { + assert$6(pub.validate(), 'public point not validated'); + } + return pub.mul(this.priv).getX(); +}; + +// ECDSA +KeyPair$3.prototype.sign = function sign(msg, enc, options) { + return this.ec.sign(msg, this, enc, options); +}; + +KeyPair$3.prototype.verify = function verify(msg, signature) { + return this.ec.verify(msg, signature, this); +}; + +KeyPair$3.prototype.inspect = function inspect() { + return ''; +}; + +var BN$3 = bn.exports; + +var utils$4 = utils$m; +var assert$5 = utils$4.assert; + +function Signature$3(options, enc) { + if (options instanceof Signature$3) + return options; + + if (this._importDER(options, enc)) + return; + + assert$5(options.r && options.s, 'Signature without r or s'); + this.r = new BN$3(options.r, 16); + this.s = new BN$3(options.s, 16); + if (options.recoveryParam === undefined) + this.recoveryParam = null; + else + this.recoveryParam = options.recoveryParam; +} +var signature$1 = Signature$3; + +function Position() { + this.place = 0; +} + +function getLength(buf, p) { + var initial = buf[p.place++]; + if (!(initial & 0x80)) { + return initial; + } + var octetLen = initial & 0xf; + + // Indefinite length or overflow + if (octetLen === 0 || octetLen > 4) { + return false; + } + + var val = 0; + for (var i = 0, off = p.place; i < octetLen; i++, off++) { + val <<= 8; + val |= buf[off]; + val >>>= 0; + } + + // Leading zeroes + if (val <= 0x7f) { + return false; + } + + p.place = off; + return val; +} + +function rmPadding(buf) { + var i = 0; + var len = buf.length - 1; + while (!buf[i] && !(buf[i + 1] & 0x80) && i < len) { + i++; + } + if (i === 0) { + return buf; + } + return buf.slice(i); +} + +Signature$3.prototype._importDER = function _importDER(data, enc) { + data = utils$4.toArray(data, enc); + var p = new Position(); + if (data[p.place++] !== 0x30) { + return false; + } + var len = getLength(data, p); + if (len === false) { + return false; + } + if ((len + p.place) !== data.length) { + return false; + } + if (data[p.place++] !== 0x02) { + return false; + } + var rlen = getLength(data, p); + if (rlen === false) { + return false; + } + var r = data.slice(p.place, rlen + p.place); + p.place += rlen; + if (data[p.place++] !== 0x02) { + return false; + } + var slen = getLength(data, p); + if (slen === false) { + return false; + } + if (data.length !== slen + p.place) { + return false; + } + var s = data.slice(p.place, slen + p.place); + if (r[0] === 0) { + if (r[1] & 0x80) { + r = r.slice(1); + } else { + // Leading zeroes + return false; + } + } + if (s[0] === 0) { + if (s[1] & 0x80) { + s = s.slice(1); + } else { + // Leading zeroes + return false; + } + } + + this.r = new BN$3(r); + this.s = new BN$3(s); + this.recoveryParam = null; + + return true; +}; + +function constructLength(arr, len) { + if (len < 0x80) { + arr.push(len); + return; + } + var octets = 1 + (Math.log(len) / Math.LN2 >>> 3); + arr.push(octets | 0x80); + while (--octets) { + arr.push((len >>> (octets << 3)) & 0xff); + } + arr.push(len); +} + +Signature$3.prototype.toDER = function toDER(enc) { + var r = this.r.toArray(); + var s = this.s.toArray(); + + // Pad values + if (r[0] & 0x80) + r = [ 0 ].concat(r); + // Pad values + if (s[0] & 0x80) + s = [ 0 ].concat(s); + + r = rmPadding(r); + s = rmPadding(s); + + while (!s[0] && !(s[1] & 0x80)) { + s = s.slice(1); + } + var arr = [ 0x02 ]; + constructLength(arr, r.length); + arr = arr.concat(r); + arr.push(0x02); + constructLength(arr, s.length); + var backHalf = arr.concat(s); + var res = [ 0x30 ]; + constructLength(res, backHalf.length); + res = res.concat(backHalf); + return utils$4.encode(res, enc); +}; + +var BN$2 = bn.exports; +var HmacDRBG = hmacDrbg; +var utils$3 = utils$m; +var curves$1 = curves$2; +var rand$1 = brorand.exports; +var assert$4 = utils$3.assert; + +var KeyPair$2 = key$2; +var Signature$2 = signature$1; + +function EC$1(options) { + if (!(this instanceof EC$1)) + return new EC$1(options); + + // Shortcut `elliptic.ec(curve-name)` + if (typeof options === 'string') { + assert$4(Object.prototype.hasOwnProperty.call(curves$1, options), + 'Unknown curve ' + options); + + options = curves$1[options]; + } + + // Shortcut for `elliptic.ec(elliptic.curves.curveName)` + if (options instanceof curves$1.PresetCurve) + options = { curve: options }; + + this.curve = options.curve.curve; + this.n = this.curve.n; + this.nh = this.n.ushrn(1); + this.g = this.curve.g; + + // Point on curve + this.g = options.curve.g; + this.g.precompute(options.curve.n.bitLength() + 1); + + // Hash for function for DRBG + this.hash = options.hash || options.curve.hash; +} +var ec$1 = EC$1; + +EC$1.prototype.keyPair = function keyPair(options) { + return new KeyPair$2(this, options); +}; + +EC$1.prototype.keyFromPrivate = function keyFromPrivate(priv, enc) { + return KeyPair$2.fromPrivate(this, priv, enc); +}; + +EC$1.prototype.keyFromPublic = function keyFromPublic(pub, enc) { + return KeyPair$2.fromPublic(this, pub, enc); +}; + +EC$1.prototype.genKeyPair = function genKeyPair(options) { + if (!options) + options = {}; + + // Instantiate Hmac_DRBG + var drbg = new HmacDRBG({ + hash: this.hash, + pers: options.pers, + persEnc: options.persEnc || 'utf8', + entropy: options.entropy || rand$1(this.hash.hmacStrength), + entropyEnc: options.entropy && options.entropyEnc || 'utf8', + nonce: this.n.toArray(), + }); + + var bytes = this.n.byteLength(); + var ns2 = this.n.sub(new BN$2(2)); + for (;;) { + var priv = new BN$2(drbg.generate(bytes)); + if (priv.cmp(ns2) > 0) + continue; + + priv.iaddn(1); + return this.keyFromPrivate(priv); + } +}; + +EC$1.prototype._truncateToN = function _truncateToN(msg, truncOnly) { + var delta = msg.byteLength() * 8 - this.n.bitLength(); + if (delta > 0) + msg = msg.ushrn(delta); + if (!truncOnly && msg.cmp(this.n) >= 0) + return msg.sub(this.n); + else + return msg; +}; + +EC$1.prototype.sign = function sign(msg, key, enc, options) { + if (typeof enc === 'object') { + options = enc; + enc = null; + } + if (!options) + options = {}; + + key = this.keyFromPrivate(key, enc); + msg = this._truncateToN(new BN$2(msg, 16)); + + // Zero-extend key to provide enough entropy + var bytes = this.n.byteLength(); + var bkey = key.getPrivate().toArray('be', bytes); + + // Zero-extend nonce to have the same byte size as N + var nonce = msg.toArray('be', bytes); + + // Instantiate Hmac_DRBG + var drbg = new HmacDRBG({ + hash: this.hash, + entropy: bkey, + nonce: nonce, + pers: options.pers, + persEnc: options.persEnc || 'utf8', + }); + + // Number of bytes to generate + var ns1 = this.n.sub(new BN$2(1)); + + for (var iter = 0; ; iter++) { + var k = options.k ? + options.k(iter) : + new BN$2(drbg.generate(this.n.byteLength())); + k = this._truncateToN(k, true); + if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0) + continue; + + var kp = this.g.mul(k); + if (kp.isInfinity()) + continue; + + var kpX = kp.getX(); + var r = kpX.umod(this.n); + if (r.cmpn(0) === 0) + continue; + + var s = k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg)); + s = s.umod(this.n); + if (s.cmpn(0) === 0) + continue; + + var recoveryParam = (kp.getY().isOdd() ? 1 : 0) | + (kpX.cmp(r) !== 0 ? 2 : 0); + + // Use complement of `s`, if it is > `n / 2` + if (options.canonical && s.cmp(this.nh) > 0) { + s = this.n.sub(s); + recoveryParam ^= 1; + } + + return new Signature$2({ r: r, s: s, recoveryParam: recoveryParam }); + } +}; + +EC$1.prototype.verify = function verify(msg, signature, key, enc) { + msg = this._truncateToN(new BN$2(msg, 16)); + key = this.keyFromPublic(key, enc); + signature = new Signature$2(signature, 'hex'); + + // Perform primitive values validation + var r = signature.r; + var s = signature.s; + if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0) + return false; + if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0) + return false; + + // Validate signature + var sinv = s.invm(this.n); + var u1 = sinv.mul(msg).umod(this.n); + var u2 = sinv.mul(r).umod(this.n); + var p; + + if (!this.curve._maxwellTrick) { + p = this.g.mulAdd(u1, key.getPublic(), u2); + if (p.isInfinity()) + return false; + + return p.getX().umod(this.n).cmp(r) === 0; + } + + // NOTE: Greg Maxwell's trick, inspired by: + // https://git.io/vad3K + + p = this.g.jmulAdd(u1, key.getPublic(), u2); + if (p.isInfinity()) + return false; + + // Compare `p.x` of Jacobian point with `r`, + // this will do `p.x == r * p.z^2` instead of multiplying `p.x` by the + // inverse of `p.z^2` + return p.eqXToP(r); +}; + +EC$1.prototype.recoverPubKey = function(msg, signature, j, enc) { + assert$4((3 & j) === j, 'The recovery param is more than two bits'); + signature = new Signature$2(signature, enc); + + var n = this.n; + var e = new BN$2(msg); + var r = signature.r; + var s = signature.s; + + // A set LSB signifies that the y-coordinate is odd + var isYOdd = j & 1; + var isSecondKey = j >> 1; + if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey) + throw new Error('Unable to find sencond key candinate'); + + // 1.1. Let x = r + jn. + if (isSecondKey) + r = this.curve.pointFromX(r.add(this.curve.n), isYOdd); + else + r = this.curve.pointFromX(r, isYOdd); + + var rInv = signature.r.invm(n); + var s1 = n.sub(e).mul(rInv).umod(n); + var s2 = s.mul(rInv).umod(n); + + // 1.6.1 Compute Q = r^-1 (sR - eG) + // Q = r^-1 (sR + -eG) + return this.g.mulAdd(s1, r, s2); +}; + +EC$1.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { + signature = new Signature$2(signature, enc); + if (signature.recoveryParam !== null) + return signature.recoveryParam; + + for (var i = 0; i < 4; i++) { + var Qprime; + try { + Qprime = this.recoverPubKey(e, signature, i); + } catch (e) { + continue; + } + + if (Qprime.eq(Q)) + return i; + } + throw new Error('Unable to find valid recovery factor'); +}; + +var utils$2 = utils$m; +var assert$3 = utils$2.assert; +var parseBytes$2 = utils$2.parseBytes; +var cachedProperty$1 = utils$2.cachedProperty; + +/** +* @param {EDDSA} eddsa - instance +* @param {Object} params - public/private key parameters +* +* @param {Array} [params.secret] - secret seed bytes +* @param {Point} [params.pub] - public key point (aka `A` in eddsa terms) +* @param {Array} [params.pub] - public key point encoded as bytes +* +*/ +function KeyPair$1(eddsa, params) { + this.eddsa = eddsa; + this._secret = parseBytes$2(params.secret); + if (eddsa.isPoint(params.pub)) + this._pub = params.pub; + else + this._pubBytes = parseBytes$2(params.pub); +} + +KeyPair$1.fromPublic = function fromPublic(eddsa, pub) { + if (pub instanceof KeyPair$1) + return pub; + return new KeyPair$1(eddsa, { pub: pub }); +}; + +KeyPair$1.fromSecret = function fromSecret(eddsa, secret) { + if (secret instanceof KeyPair$1) + return secret; + return new KeyPair$1(eddsa, { secret: secret }); +}; + +KeyPair$1.prototype.secret = function secret() { + return this._secret; +}; + +cachedProperty$1(KeyPair$1, 'pubBytes', function pubBytes() { + return this.eddsa.encodePoint(this.pub()); +}); + +cachedProperty$1(KeyPair$1, 'pub', function pub() { + if (this._pubBytes) + return this.eddsa.decodePoint(this._pubBytes); + return this.eddsa.g.mul(this.priv()); +}); + +cachedProperty$1(KeyPair$1, 'privBytes', function privBytes() { + var eddsa = this.eddsa; + var hash = this.hash(); + var lastIx = eddsa.encodingLength - 1; + + var a = hash.slice(0, eddsa.encodingLength); + a[0] &= 248; + a[lastIx] &= 127; + a[lastIx] |= 64; + + return a; +}); + +cachedProperty$1(KeyPair$1, 'priv', function priv() { + return this.eddsa.decodeInt(this.privBytes()); +}); + +cachedProperty$1(KeyPair$1, 'hash', function hash() { + return this.eddsa.hash().update(this.secret()).digest(); +}); + +cachedProperty$1(KeyPair$1, 'messagePrefix', function messagePrefix() { + return this.hash().slice(this.eddsa.encodingLength); +}); + +KeyPair$1.prototype.sign = function sign(message) { + assert$3(this._secret, 'KeyPair can only verify'); + return this.eddsa.sign(message, this); +}; + +KeyPair$1.prototype.verify = function verify(message, sig) { + return this.eddsa.verify(message, sig, this); +}; + +KeyPair$1.prototype.getSecret = function getSecret(enc) { + assert$3(this._secret, 'KeyPair is public only'); + return utils$2.encode(this.secret(), enc); +}; + +KeyPair$1.prototype.getPublic = function getPublic(enc) { + return utils$2.encode(this.pubBytes(), enc); +}; + +var key$1 = KeyPair$1; + +var BN$1 = bn.exports; +var utils$1 = utils$m; +var assert$2 = utils$1.assert; +var cachedProperty = utils$1.cachedProperty; +var parseBytes$1 = utils$1.parseBytes; + +/** +* @param {EDDSA} eddsa - eddsa instance +* @param {Array|Object} sig - +* @param {Array|Point} [sig.R] - R point as Point or bytes +* @param {Array|bn} [sig.S] - S scalar as bn or bytes +* @param {Array} [sig.Rencoded] - R point encoded +* @param {Array} [sig.Sencoded] - S scalar encoded +*/ +function Signature$1(eddsa, sig) { + this.eddsa = eddsa; + + if (typeof sig !== 'object') + sig = parseBytes$1(sig); + + if (Array.isArray(sig)) { + sig = { + R: sig.slice(0, eddsa.encodingLength), + S: sig.slice(eddsa.encodingLength), + }; + } + + assert$2(sig.R && sig.S, 'Signature without R or S'); + + if (eddsa.isPoint(sig.R)) + this._R = sig.R; + if (sig.S instanceof BN$1) + this._S = sig.S; + + this._Rencoded = Array.isArray(sig.R) ? sig.R : sig.Rencoded; + this._Sencoded = Array.isArray(sig.S) ? sig.S : sig.Sencoded; +} + +cachedProperty(Signature$1, 'S', function S() { + return this.eddsa.decodeInt(this.Sencoded()); +}); + +cachedProperty(Signature$1, 'R', function R() { + return this.eddsa.decodePoint(this.Rencoded()); +}); + +cachedProperty(Signature$1, 'Rencoded', function Rencoded() { + return this.eddsa.encodePoint(this.R()); +}); + +cachedProperty(Signature$1, 'Sencoded', function Sencoded() { + return this.eddsa.encodeInt(this.S()); +}); + +Signature$1.prototype.toBytes = function toBytes() { + return this.Rencoded().concat(this.Sencoded()); +}; + +Signature$1.prototype.toHex = function toHex() { + return utils$1.encode(this.toBytes(), 'hex').toUpperCase(); +}; + +var signature = Signature$1; + +var hash = hash$2; +var curves = curves$2; +var utils = utils$m; +var assert$1 = utils.assert; +var parseBytes = utils.parseBytes; +var KeyPair = key$1; +var Signature = signature; + +function EDDSA(curve) { + assert$1(curve === 'ed25519', 'only tested with ed25519 so far'); + + if (!(this instanceof EDDSA)) + return new EDDSA(curve); + + curve = curves[curve].curve; + this.curve = curve; + this.g = curve.g; + this.g.precompute(curve.n.bitLength() + 1); + + this.pointClass = curve.point().constructor; + this.encodingLength = Math.ceil(curve.n.bitLength() / 8); + this.hash = hash.sha512; +} + +var eddsa = EDDSA; + +/** +* @param {Array|String} message - message bytes +* @param {Array|String|KeyPair} secret - secret bytes or a keypair +* @returns {Signature} - signature +*/ +EDDSA.prototype.sign = function sign(message, secret) { + message = parseBytes(message); + var key = this.keyFromSecret(secret); + var r = this.hashInt(key.messagePrefix(), message); + var R = this.g.mul(r); + var Rencoded = this.encodePoint(R); + var s_ = this.hashInt(Rencoded, key.pubBytes(), message) + .mul(key.priv()); + var S = r.add(s_).umod(this.curve.n); + return this.makeSignature({ R: R, S: S, Rencoded: Rencoded }); +}; + +/** +* @param {Array} message - message bytes +* @param {Array|String|Signature} sig - sig bytes +* @param {Array|String|Point|KeyPair} pub - public key +* @returns {Boolean} - true if public key matches sig of message +*/ +EDDSA.prototype.verify = function verify(message, sig, pub) { + message = parseBytes(message); + sig = this.makeSignature(sig); + var key = this.keyFromPublic(pub); + var h = this.hashInt(sig.Rencoded(), key.pubBytes(), message); + var SG = this.g.mul(sig.S()); + var RplusAh = sig.R().add(key.pub().mul(h)); + return RplusAh.eq(SG); +}; + +EDDSA.prototype.hashInt = function hashInt() { + var hash = this.hash(); + for (var i = 0; i < arguments.length; i++) + hash.update(arguments[i]); + return utils.intFromLE(hash.digest()).umod(this.curve.n); +}; + +EDDSA.prototype.keyFromPublic = function keyFromPublic(pub) { + return KeyPair.fromPublic(this, pub); +}; + +EDDSA.prototype.keyFromSecret = function keyFromSecret(secret) { + return KeyPair.fromSecret(this, secret); +}; + +EDDSA.prototype.makeSignature = function makeSignature(sig) { + if (sig instanceof Signature) + return sig; + return new Signature(this, sig); +}; + +/** +* * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2 +* +* EDDSA defines methods for encoding and decoding points and integers. These are +* helper convenience methods, that pass along to utility functions implied +* parameters. +* +*/ +EDDSA.prototype.encodePoint = function encodePoint(point) { + var enc = point.getY().toArray('le', this.encodingLength); + enc[this.encodingLength - 1] |= point.getX().isOdd() ? 0x80 : 0; + return enc; +}; + +EDDSA.prototype.decodePoint = function decodePoint(bytes) { + bytes = utils.parseBytes(bytes); + + var lastIx = bytes.length - 1; + var normed = bytes.slice(0, lastIx).concat(bytes[lastIx] & ~0x80); + var xIsOdd = (bytes[lastIx] & 0x80) !== 0; + + var y = utils.intFromLE(normed); + return this.curve.pointFromY(y, xIsOdd); +}; + +EDDSA.prototype.encodeInt = function encodeInt(num) { + return num.toArray('le', this.encodingLength); +}; + +EDDSA.prototype.decodeInt = function decodeInt(bytes) { + return utils.intFromLE(bytes); +}; + +EDDSA.prototype.isPoint = function isPoint(val) { + return val instanceof this.pointClass; +}; + +(function (exports) { + + var elliptic = exports; + + elliptic.version = require$$0.version; + elliptic.utils = utils$m; + elliptic.rand = brorand.exports; + elliptic.curve = curve; + elliptic.curves = curves$2; + + // Protocols + elliptic.ec = ec$1; + elliptic.eddsa = eddsa; +} (elliptic)); + +const HEX_STRINGS = "0123456789abcdefABCDEF"; +HEX_STRINGS.split("").map((c) => c.codePointAt(0)); +Array(256) + .fill(true) + .map((_, i) => { + const s = String.fromCodePoint(i); + const index = HEX_STRINGS.indexOf(s); + // ABCDEF will use 10 - 15 + return index < 0 ? undefined : index < 16 ? index : index - 6; +}); +new TextEncoder(); +new TextDecoder("ascii"); +// Same behavior as Buffer.compare() +function compare(v1, v2) { + const minLength = Math.min(v1.length, v2.length); + for (let i = 0; i < minLength; ++i) { + if (v1[i] !== v2[i]) { + return v1[i] < v2[i] ? -1 : 1; + } + } + return v1.length === v2.length ? 0 : v1.length > v2.length ? 1 : -1; +} + +const ERROR_BAD_PRIVATE = 0; +const ERROR_BAD_POINT = 1; +const ERROR_BAD_TWEAK = 2; +const ERROR_BAD_HASH = 3; +const ERROR_BAD_SIGNATURE = 4; +const ERROR_BAD_EXTRA_DATA = 5; +const ERROR_BAD_PARITY = 6; +const ERROR_BAD_RECOVERY_ID = 7; +const ERRORS_MESSAGES = { + [ERROR_BAD_PRIVATE.toString()]: "Expected Private", + [ERROR_BAD_POINT.toString()]: "Expected Point", + [ERROR_BAD_TWEAK.toString()]: "Expected Tweak", + [ERROR_BAD_HASH.toString()]: "Expected Hash", + [ERROR_BAD_SIGNATURE.toString()]: "Expected Signature", + [ERROR_BAD_EXTRA_DATA.toString()]: "Expected Extra Data (32 bytes)", + [ERROR_BAD_PARITY.toString()]: "Expected Parity (1 | 0)", + [ERROR_BAD_RECOVERY_ID.toString()]: "Bad Recovery Id", +}; +function throwError(errcode) { + const message = ERRORS_MESSAGES[errcode.toString()] || `Unknow error code: ${errcode}`; + throw new TypeError(message); +} + +var validate_error = /*#__PURE__*/Object.freeze({ + __proto__: null, + ERROR_BAD_PRIVATE: ERROR_BAD_PRIVATE, + ERROR_BAD_POINT: ERROR_BAD_POINT, + ERROR_BAD_TWEAK: ERROR_BAD_TWEAK, + ERROR_BAD_HASH: ERROR_BAD_HASH, + ERROR_BAD_SIGNATURE: ERROR_BAD_SIGNATURE, + ERROR_BAD_EXTRA_DATA: ERROR_BAD_EXTRA_DATA, + ERROR_BAD_PARITY: ERROR_BAD_PARITY, + ERROR_BAD_RECOVERY_ID: ERROR_BAD_RECOVERY_ID, + throwError: throwError +}); + +const PRIVATE_KEY_SIZE = 32; +const PUBLIC_KEY_COMPRESSED_SIZE = 33; +const PUBLIC_KEY_UNCOMPRESSED_SIZE = 65; +const X_ONLY_PUBLIC_KEY_SIZE = 32; +const TWEAK_SIZE = 32; +const HASH_SIZE = 32; +const EXTRA_DATA_SIZE = 32; +const SIGNATURE_SIZE = 64; +const BN32_ZERO = new Uint8Array(32); +const BN32_N = new Uint8Array([ + 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, + 254, 186, 174, 220, 230, 175, 72, 160, 59, 191, 210, 94, 140, 208, 54, 65, 65, +]); +// Difference between field and order +const BN32_P_MINUS_N = new Uint8Array([ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 69, 81, 35, 25, 80, 183, 95, + 196, 64, 45, 161, 114, 47, 201, 186, 238, +]); +function isUint8Array(value) { + return value instanceof Uint8Array; +} +function cmpBN32(data1, data2) { + for (let i = 0; i < 32; ++i) { + if (data1[i] !== data2[i]) { + return data1[i] < data2[i] ? -1 : 1; + } + } + return 0; +} +function isZero(x) { + return cmpBN32(x, BN32_ZERO) === 0; +} +function isPrivate$1(x) { + return (isUint8Array(x) && + x.length === PRIVATE_KEY_SIZE && + cmpBN32(x, BN32_ZERO) > 0 && + cmpBN32(x, BN32_N) < 0); +} +function isPoint$1(p) { + return (isUint8Array(p) && + (p.length === PUBLIC_KEY_COMPRESSED_SIZE || + p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE || + p.length === X_ONLY_PUBLIC_KEY_SIZE)); +} +function isXOnlyPoint$1(p) { + return isUint8Array(p) && p.length === X_ONLY_PUBLIC_KEY_SIZE; +} +function isDERPoint(p) { + return (isUint8Array(p) && + (p.length === PUBLIC_KEY_COMPRESSED_SIZE || + p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE)); +} +function isPointCompressed$1(p) { + return isUint8Array(p) && p.length === PUBLIC_KEY_COMPRESSED_SIZE; +} +function isTweak(tweak) { + return (isUint8Array(tweak) && + tweak.length === TWEAK_SIZE && + cmpBN32(tweak, BN32_N) < 0); +} +function isHash(h) { + return isUint8Array(h) && h.length === HASH_SIZE; +} +function isExtraData(e) { + return e === undefined || (isUint8Array(e) && e.length === EXTRA_DATA_SIZE); +} +function isSignature(signature) { + return (isUint8Array(signature) && + signature.length === 64 && + cmpBN32(signature.subarray(0, 32), BN32_N) < 0 && + cmpBN32(signature.subarray(32, 64), BN32_N) < 0); +} +function isSigrLessThanPMinusN(signature) { + return (isUint8Array(signature) && + signature.length === 64 && + cmpBN32(signature.subarray(0, 32), BN32_P_MINUS_N) < 0); +} +function validateParity(p) { + if (p !== 0 && p !== 1) + throwError(ERROR_BAD_PARITY); +} +function validatePrivate(d) { + if (!isPrivate$1(d)) + throwError(ERROR_BAD_PRIVATE); +} +function validatePoint(p) { + if (!isPoint$1(p)) + throwError(ERROR_BAD_POINT); +} +function validateXOnlyPoint(p) { + if (!isXOnlyPoint$1(p)) + throwError(ERROR_BAD_POINT); +} +function validateTweak(tweak) { + if (!isTweak(tweak)) + throwError(ERROR_BAD_TWEAK); +} +function validateHash(h) { + if (!isHash(h)) + throwError(ERROR_BAD_HASH); +} +function validateExtraData(e) { + if (!isExtraData(e)) + throwError(ERROR_BAD_EXTRA_DATA); +} +function validateSignature(signature) { + if (!isSignature(signature)) + throwError(ERROR_BAD_SIGNATURE); +} +function validateSignatureCustom(validatorFn) { + if (!validatorFn()) + throwError(ERROR_BAD_SIGNATURE); +} +function validateSignatureNonzeroRS(signature) { + if (isZero(signature.subarray(0, 32))) + throwError(ERROR_BAD_SIGNATURE); + if (isZero(signature.subarray(32, 64))) + throwError(ERROR_BAD_SIGNATURE); +} +function validateSigrPMinusN(signature) { + if (!isSigrLessThanPMinusN(signature)) + throwError(ERROR_BAD_RECOVERY_ID); +} + +function path(wasmFilename) { + const url = new Url.URL(wasmFilename, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('fabric.react.js', document.baseURI).href))); + return Url.fileURLToPath(url); +} + +function generateInt32() { + return require$$0$2.randomBytes(4).readInt32BE(0); +} + +var rand = /*#__PURE__*/Object.freeze({ + __proto__: null, + generateInt32: generateInt32 +}); + +const binary = fs.readFileSync(path("secp256k1.wasm")); +const imports = { + "./rand.js": rand, + "./validate_error.js": validate_error, +}; +const mod = new WebAssembly.Module(binary); +const instance = new WebAssembly.Instance(mod, imports); +var wasm = instance.exports; + +const WASM_BUFFER = new Uint8Array(wasm.memory.buffer); +const WASM_PRIVATE_KEY_PTR = wasm.PRIVATE_INPUT.value; +const WASM_PUBLIC_KEY_INPUT_PTR = wasm.PUBLIC_KEY_INPUT.value; +const WASM_PUBLIC_KEY_INPUT_PTR2 = wasm.PUBLIC_KEY_INPUT2.value; +const WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT.value; +const WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT2.value; +const WASM_TWEAK_INPUT_PTR = wasm.TWEAK_INPUT.value; +const WASM_HASH_INPUT_PTR = wasm.HASH_INPUT.value; +const WASM_EXTRA_DATA_INPUT_PTR = wasm.EXTRA_DATA_INPUT.value; +const WASM_SIGNATURE_INPUT_PTR = wasm.SIGNATURE_INPUT.value; +const PRIVATE_KEY_INPUT = WASM_BUFFER.subarray(WASM_PRIVATE_KEY_PTR, WASM_PRIVATE_KEY_PTR + PRIVATE_KEY_SIZE); +const PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR, WASM_PUBLIC_KEY_INPUT_PTR + PUBLIC_KEY_UNCOMPRESSED_SIZE); +const PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR2, WASM_PUBLIC_KEY_INPUT_PTR2 + PUBLIC_KEY_UNCOMPRESSED_SIZE); +const X_ONLY_PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR + X_ONLY_PUBLIC_KEY_SIZE); +const X_ONLY_PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR + X_ONLY_PUBLIC_KEY_SIZE); +const TWEAK_INPUT = WASM_BUFFER.subarray(WASM_TWEAK_INPUT_PTR, WASM_TWEAK_INPUT_PTR + TWEAK_SIZE); +const HASH_INPUT = WASM_BUFFER.subarray(WASM_HASH_INPUT_PTR, WASM_HASH_INPUT_PTR + HASH_SIZE); +const EXTRA_DATA_INPUT = WASM_BUFFER.subarray(WASM_EXTRA_DATA_INPUT_PTR, WASM_EXTRA_DATA_INPUT_PTR + EXTRA_DATA_SIZE); +const SIGNATURE_INPUT = WASM_BUFFER.subarray(WASM_SIGNATURE_INPUT_PTR, WASM_SIGNATURE_INPUT_PTR + SIGNATURE_SIZE); +function assumeCompression(compressed, p) { + if (compressed === undefined) { + return p !== undefined ? p.length : PUBLIC_KEY_COMPRESSED_SIZE; + } + return compressed + ? PUBLIC_KEY_COMPRESSED_SIZE + : PUBLIC_KEY_UNCOMPRESSED_SIZE; +} +function _isPoint(p) { + try { + PUBLIC_KEY_INPUT.set(p); + return wasm.isPoint(p.length) === 1; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + } +} +function __initializeContext() { + wasm.initializeContext(); +} +function isPoint(p) { + return isDERPoint(p) && _isPoint(p); +} +function isPointCompressed(p) { + return isPointCompressed$1(p) && _isPoint(p); +} +function isXOnlyPoint(p) { + return isXOnlyPoint$1(p) && _isPoint(p); +} +function isPrivate(d) { + return isPrivate$1(d); +} +function pointAdd(pA, pB, compressed) { + validatePoint(pA); + validatePoint(pB); + const outputlen = assumeCompression(compressed, pA); + try { + PUBLIC_KEY_INPUT.set(pA); + PUBLIC_KEY_INPUT2.set(pB); + return wasm.pointAdd(pA.length, pB.length, outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + PUBLIC_KEY_INPUT2.fill(0); + } +} +function pointAddScalar(p, tweak, compressed) { + validatePoint(p); + validateTweak(tweak); + const outputlen = assumeCompression(compressed, p); + try { + PUBLIC_KEY_INPUT.set(p); + TWEAK_INPUT.set(tweak); + return wasm.pointAddScalar(p.length, outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function pointCompress(p, compressed) { + validatePoint(p); + const outputlen = assumeCompression(compressed, p); + try { + PUBLIC_KEY_INPUT.set(p); + wasm.pointCompress(p.length, outputlen); + return PUBLIC_KEY_INPUT.slice(0, outputlen); + } + finally { + PUBLIC_KEY_INPUT.fill(0); + } +} +function pointFromScalar(d, compressed) { + validatePrivate(d); + const outputlen = assumeCompression(compressed); + try { + PRIVATE_KEY_INPUT.set(d); + return wasm.pointFromScalar(outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PRIVATE_KEY_INPUT.fill(0); + PUBLIC_KEY_INPUT.fill(0); + } +} +function xOnlyPointFromScalar(d) { + validatePrivate(d); + try { + PRIVATE_KEY_INPUT.set(d); + wasm.xOnlyPointFromScalar(); + return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); + } + finally { + PRIVATE_KEY_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + } +} +function xOnlyPointFromPoint(p) { + validatePoint(p); + try { + PUBLIC_KEY_INPUT.set(p); + wasm.xOnlyPointFromPoint(p.length); + return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); + } + finally { + PUBLIC_KEY_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + } +} +function pointMultiply(p, tweak, compressed) { + validatePoint(p); + validateTweak(tweak); + const outputlen = assumeCompression(compressed, p); + try { + PUBLIC_KEY_INPUT.set(p); + TWEAK_INPUT.set(tweak); + return wasm.pointMultiply(p.length, outputlen) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + PUBLIC_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function privateAdd(d, tweak) { + validatePrivate(d); + validateTweak(tweak); + try { + PRIVATE_KEY_INPUT.set(d); + TWEAK_INPUT.set(tweak); + return wasm.privateAdd() === 1 + ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) + : null; + } + finally { + PRIVATE_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function privateSub(d, tweak) { + validatePrivate(d); + validateTweak(tweak); + // We can not pass zero tweak to WASM, because WASM use `secp256k1_ec_seckey_negate` for tweak negate. + // (zero is not valid seckey) + if (isZero(tweak)) { + return new Uint8Array(d); + } + try { + PRIVATE_KEY_INPUT.set(d); + TWEAK_INPUT.set(tweak); + return wasm.privateSub() === 1 + ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) + : null; + } + finally { + PRIVATE_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function privateNegate(d) { + validatePrivate(d); + try { + PRIVATE_KEY_INPUT.set(d); + wasm.privateNegate(); + return PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE); + } + finally { + PRIVATE_KEY_INPUT.fill(0); + } +} +function xOnlyPointAddTweak(p, tweak) { + validateXOnlyPoint(p); + validateTweak(tweak); + try { + X_ONLY_PUBLIC_KEY_INPUT.set(p); + TWEAK_INPUT.set(tweak); + const parity = wasm.xOnlyPointAddTweak(); + return parity !== -1 + ? { + parity, + xOnlyPubkey: X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE), + } + : null; + } + finally { + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + TWEAK_INPUT.fill(0); + } +} +function xOnlyPointAddTweakCheck(point, tweak, resultToCheck, tweakParity) { + validateXOnlyPoint(point); + validateXOnlyPoint(resultToCheck); + validateTweak(tweak); + const hasParity = tweakParity !== undefined; + if (hasParity) + validateParity(tweakParity); + try { + X_ONLY_PUBLIC_KEY_INPUT.set(point); + X_ONLY_PUBLIC_KEY_INPUT2.set(resultToCheck); + TWEAK_INPUT.set(tweak); + if (hasParity) { + return wasm.xOnlyPointAddTweakCheck(tweakParity) === 1; + } + else { + wasm.xOnlyPointAddTweak(); + const newKey = X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); + return compare(newKey, resultToCheck) === 0; + } + } + finally { + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT2.fill(0); + TWEAK_INPUT.fill(0); + } +} +function sign(h, d, e) { + validateHash(h); + validatePrivate(d); + validateExtraData(e); + try { + HASH_INPUT.set(h); + PRIVATE_KEY_INPUT.set(d); + if (e !== undefined) + EXTRA_DATA_INPUT.set(e); + wasm.sign(e === undefined ? 0 : 1); + return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); + } + finally { + HASH_INPUT.fill(0); + PRIVATE_KEY_INPUT.fill(0); + if (e !== undefined) + EXTRA_DATA_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function signRecoverable(h, d, e) { + validateHash(h); + validatePrivate(d); + validateExtraData(e); + try { + HASH_INPUT.set(h); + PRIVATE_KEY_INPUT.set(d); + if (e !== undefined) + EXTRA_DATA_INPUT.set(e); + const recoveryId = wasm.signRecoverable(e === undefined ? 0 : 1); + const signature = SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); + return { + signature, + recoveryId, + }; + } + finally { + HASH_INPUT.fill(0); + PRIVATE_KEY_INPUT.fill(0); + if (e !== undefined) + EXTRA_DATA_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function signSchnorr(h, d, e) { + validateHash(h); + validatePrivate(d); + validateExtraData(e); + try { + HASH_INPUT.set(h); + PRIVATE_KEY_INPUT.set(d); + if (e !== undefined) + EXTRA_DATA_INPUT.set(e); + wasm.signSchnorr(e === undefined ? 0 : 1); + return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); + } + finally { + HASH_INPUT.fill(0); + PRIVATE_KEY_INPUT.fill(0); + if (e !== undefined) + EXTRA_DATA_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function verify(h, Q, signature, strict = false) { + validateHash(h); + validatePoint(Q); + validateSignature(signature); + try { + HASH_INPUT.set(h); + PUBLIC_KEY_INPUT.set(Q); + SIGNATURE_INPUT.set(signature); + return wasm.verify(Q.length, strict === true ? 1 : 0) === 1 ? true : false; + } + finally { + HASH_INPUT.fill(0); + PUBLIC_KEY_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} +function recover(h, signature, recoveryId, compressed = false) { + validateHash(h); + validateSignature(signature); + validateSignatureNonzeroRS(signature); + if (recoveryId & 2) { + validateSigrPMinusN(signature); + } + validateSignatureCustom(() => isXOnlyPoint(signature.subarray(0, 32))); + const outputlen = assumeCompression(compressed); + try { + HASH_INPUT.set(h); + SIGNATURE_INPUT.set(signature); + return wasm.recover(outputlen, recoveryId) === 1 + ? PUBLIC_KEY_INPUT.slice(0, outputlen) + : null; + } + finally { + HASH_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + PUBLIC_KEY_INPUT.fill(0); + } +} +function verifySchnorr(h, Q, signature) { + validateHash(h); + validateXOnlyPoint(Q); + validateSignature(signature); + try { + HASH_INPUT.set(h); + X_ONLY_PUBLIC_KEY_INPUT.set(Q); + SIGNATURE_INPUT.set(signature); + return wasm.verifySchnorr() === 1 ? true : false; + } + finally { + HASH_INPUT.fill(0); + X_ONLY_PUBLIC_KEY_INPUT.fill(0); + SIGNATURE_INPUT.fill(0); + } +} + +var lib = /*#__PURE__*/Object.freeze({ + __proto__: null, + __initializeContext: __initializeContext, + isPoint: isPoint, + isPointCompressed: isPointCompressed, + isXOnlyPoint: isXOnlyPoint, + isPrivate: isPrivate, + pointAdd: pointAdd, + pointAddScalar: pointAddScalar, + pointCompress: pointCompress, + pointFromScalar: pointFromScalar, + xOnlyPointFromScalar: xOnlyPointFromScalar, + xOnlyPointFromPoint: xOnlyPointFromPoint, + pointMultiply: pointMultiply, + privateAdd: privateAdd, + privateSub: privateSub, + privateNegate: privateNegate, + xOnlyPointAddTweak: xOnlyPointAddTweak, + xOnlyPointAddTweakCheck: xOnlyPointAddTweakCheck, + sign: sign, + signRecoverable: signRecoverable, + signSchnorr: signSchnorr, + verify: verify, + recover: recover, + verifySchnorr: verifySchnorr +}); + +var require$$5 = /*@__PURE__*/getAugmentedNamespace(lib); + +var payments$1 = {}; + +var embed = {}; + +var networks = {}; + +Object.defineProperty(networks, '__esModule', { value: true }); +networks.testnet = networks.regtest = networks.bitcoin = void 0; +networks.bitcoin = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'bc', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x00, + scriptHash: 0x05, + wif: 0x80, +}; +networks.regtest = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'bcrt', + bip32: { + public: 0x043587cf, + private: 0x04358394, + }, + pubKeyHash: 0x6f, + scriptHash: 0xc4, + wif: 0xef, +}; +networks.testnet = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'tb', + bip32: { + public: 0x043587cf, + private: 0x04358394, + }, + pubKeyHash: 0x6f, + scriptHash: 0xc4, + wif: 0xef, +}; + +var script = {}; + +var bip66$1 = {}; + +// Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki +// Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] +// NOTE: SIGHASH byte ignored AND restricted, truncate before use +Object.defineProperty(bip66$1, '__esModule', { value: true }); +bip66$1.encode = bip66$1.decode = bip66$1.check = void 0; +function check(buffer) { + if (buffer.length < 8) return false; + if (buffer.length > 72) return false; + if (buffer[0] !== 0x30) return false; + if (buffer[1] !== buffer.length - 2) return false; + if (buffer[2] !== 0x02) return false; + const lenR = buffer[3]; + if (lenR === 0) return false; + if (5 + lenR >= buffer.length) return false; + if (buffer[4 + lenR] !== 0x02) return false; + const lenS = buffer[5 + lenR]; + if (lenS === 0) return false; + if (6 + lenR + lenS !== buffer.length) return false; + if (buffer[4] & 0x80) return false; + if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) return false; + if (buffer[lenR + 6] & 0x80) return false; + if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) + return false; + return true; +} +bip66$1.check = check; +function decode$4(buffer) { + if (buffer.length < 8) throw new Error('DER sequence length is too short'); + if (buffer.length > 72) throw new Error('DER sequence length is too long'); + if (buffer[0] !== 0x30) throw new Error('Expected DER sequence'); + if (buffer[1] !== buffer.length - 2) + throw new Error('DER sequence length is invalid'); + if (buffer[2] !== 0x02) throw new Error('Expected DER integer'); + const lenR = buffer[3]; + if (lenR === 0) throw new Error('R length is zero'); + if (5 + lenR >= buffer.length) throw new Error('R length is too long'); + if (buffer[4 + lenR] !== 0x02) throw new Error('Expected DER integer (2)'); + const lenS = buffer[5 + lenR]; + if (lenS === 0) throw new Error('S length is zero'); + if (6 + lenR + lenS !== buffer.length) throw new Error('S length is invalid'); + if (buffer[4] & 0x80) throw new Error('R value is negative'); + if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) + throw new Error('R value excessively padded'); + if (buffer[lenR + 6] & 0x80) throw new Error('S value is negative'); + if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) + throw new Error('S value excessively padded'); + // non-BIP66 - extract R, S values + return { + r: buffer.slice(4, 4 + lenR), + s: buffer.slice(6 + lenR), + }; +} +bip66$1.decode = decode$4; +/* + * Expects r and s to be positive DER integers. + * + * The DER format uses the most significant bit as a sign bit (& 0x80). + * If the significant bit is set AND the integer is positive, a 0x00 is prepended. + * + * Examples: + * + * 0 => 0x00 + * 1 => 0x01 + * -1 => 0xff + * 127 => 0x7f + * -127 => 0x81 + * 128 => 0x0080 + * -128 => 0x80 + * 255 => 0x00ff + * -255 => 0xff01 + * 16300 => 0x3fac + * -16300 => 0xc054 + * 62300 => 0x00f35c + * -62300 => 0xff0ca4 + */ +function encode$4(r, s) { + const lenR = r.length; + const lenS = s.length; + if (lenR === 0) throw new Error('R length is zero'); + if (lenS === 0) throw new Error('S length is zero'); + if (lenR > 33) throw new Error('R length is too long'); + if (lenS > 33) throw new Error('S length is too long'); + if (r[0] & 0x80) throw new Error('R value is negative'); + if (s[0] & 0x80) throw new Error('S value is negative'); + if (lenR > 1 && r[0] === 0x00 && !(r[1] & 0x80)) + throw new Error('R value excessively padded'); + if (lenS > 1 && s[0] === 0x00 && !(s[1] & 0x80)) + throw new Error('S value excessively padded'); + const signature = Buffer.allocUnsafe(6 + lenR + lenS); + // 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] + signature[0] = 0x30; + signature[1] = signature.length - 2; + signature[2] = 0x02; + signature[3] = r.length; + r.copy(signature, 4); + signature[4 + lenR] = 0x02; + signature[5 + lenR] = s.length; + s.copy(signature, 6 + lenR); + return signature; +} +bip66$1.encode = encode$4; + +var ops = {}; + +Object.defineProperty(ops, '__esModule', { value: true }); +ops.REVERSE_OPS = ops.OPS = void 0; +const OPS$7 = { + OP_FALSE: 0, + OP_0: 0, + OP_PUSHDATA1: 76, + OP_PUSHDATA2: 77, + OP_PUSHDATA4: 78, + OP_1NEGATE: 79, + OP_RESERVED: 80, + OP_TRUE: 81, + OP_1: 81, + OP_2: 82, + OP_3: 83, + OP_4: 84, + OP_5: 85, + OP_6: 86, + OP_7: 87, + OP_8: 88, + OP_9: 89, + OP_10: 90, + OP_11: 91, + OP_12: 92, + OP_13: 93, + OP_14: 94, + OP_15: 95, + OP_16: 96, + OP_NOP: 97, + OP_VER: 98, + OP_IF: 99, + OP_NOTIF: 100, + OP_VERIF: 101, + OP_VERNOTIF: 102, + OP_ELSE: 103, + OP_ENDIF: 104, + OP_VERIFY: 105, + OP_RETURN: 106, + OP_TOALTSTACK: 107, + OP_FROMALTSTACK: 108, + OP_2DROP: 109, + OP_2DUP: 110, + OP_3DUP: 111, + OP_2OVER: 112, + OP_2ROT: 113, + OP_2SWAP: 114, + OP_IFDUP: 115, + OP_DEPTH: 116, + OP_DROP: 117, + OP_DUP: 118, + OP_NIP: 119, + OP_OVER: 120, + OP_PICK: 121, + OP_ROLL: 122, + OP_ROT: 123, + OP_SWAP: 124, + OP_TUCK: 125, + OP_CAT: 126, + OP_SUBSTR: 127, + OP_LEFT: 128, + OP_RIGHT: 129, + OP_SIZE: 130, + OP_INVERT: 131, + OP_AND: 132, + OP_OR: 133, + OP_XOR: 134, + OP_EQUAL: 135, + OP_EQUALVERIFY: 136, + OP_RESERVED1: 137, + OP_RESERVED2: 138, + OP_1ADD: 139, + OP_1SUB: 140, + OP_2MUL: 141, + OP_2DIV: 142, + OP_NEGATE: 143, + OP_ABS: 144, + OP_NOT: 145, + OP_0NOTEQUAL: 146, + OP_ADD: 147, + OP_SUB: 148, + OP_MUL: 149, + OP_DIV: 150, + OP_MOD: 151, + OP_LSHIFT: 152, + OP_RSHIFT: 153, + OP_BOOLAND: 154, + OP_BOOLOR: 155, + OP_NUMEQUAL: 156, + OP_NUMEQUALVERIFY: 157, + OP_NUMNOTEQUAL: 158, + OP_LESSTHAN: 159, + OP_GREATERTHAN: 160, + OP_LESSTHANOREQUAL: 161, + OP_GREATERTHANOREQUAL: 162, + OP_MIN: 163, + OP_MAX: 164, + OP_WITHIN: 165, + OP_RIPEMD160: 166, + OP_SHA1: 167, + OP_SHA256: 168, + OP_HASH160: 169, + OP_HASH256: 170, + OP_CODESEPARATOR: 171, + OP_CHECKSIG: 172, + OP_CHECKSIGVERIFY: 173, + OP_CHECKMULTISIG: 174, + OP_CHECKMULTISIGVERIFY: 175, + OP_NOP1: 176, + OP_NOP2: 177, + OP_CHECKLOCKTIMEVERIFY: 177, + OP_NOP3: 178, + OP_CHECKSEQUENCEVERIFY: 178, + OP_NOP4: 179, + OP_NOP5: 180, + OP_NOP6: 181, + OP_NOP7: 182, + OP_NOP8: 183, + OP_NOP9: 184, + OP_NOP10: 185, + OP_PUBKEYHASH: 253, + OP_PUBKEY: 254, + OP_INVALIDOPCODE: 255, +}; +ops.OPS = OPS$7; +const REVERSE_OPS = {}; +ops.REVERSE_OPS = REVERSE_OPS; +for (const op of Object.keys(OPS$7)) { + const code = OPS$7[op]; + REVERSE_OPS[code] = op; +} + +var push_data = {}; + +Object.defineProperty(push_data, '__esModule', { value: true }); +push_data.decode = push_data.encode = push_data.encodingLength = void 0; +const ops_1 = ops; +function encodingLength(i) { + return i < ops_1.OPS.OP_PUSHDATA1 ? 1 : i <= 0xff ? 2 : i <= 0xffff ? 3 : 5; +} +push_data.encodingLength = encodingLength; +function encode$3(buffer, num, offset) { + const size = encodingLength(num); + // ~6 bit + if (size === 1) { + buffer.writeUInt8(num, offset); + // 8 bit + } else if (size === 2) { + buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA1, offset); + buffer.writeUInt8(num, offset + 1); + // 16 bit + } else if (size === 3) { + buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA2, offset); + buffer.writeUInt16LE(num, offset + 1); + // 32 bit + } else { + buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA4, offset); + buffer.writeUInt32LE(num, offset + 1); + } + return size; +} +push_data.encode = encode$3; +function decode$3(buffer, offset) { + const opcode = buffer.readUInt8(offset); + let num; + let size; + // ~6 bit + if (opcode < ops_1.OPS.OP_PUSHDATA1) { + num = opcode; + size = 1; + // 8 bit + } else if (opcode === ops_1.OPS.OP_PUSHDATA1) { + if (offset + 2 > buffer.length) return null; + num = buffer.readUInt8(offset + 1); + size = 2; + // 16 bit + } else if (opcode === ops_1.OPS.OP_PUSHDATA2) { + if (offset + 3 > buffer.length) return null; + num = buffer.readUInt16LE(offset + 1); + size = 3; + // 32 bit + } else { + if (offset + 5 > buffer.length) return null; + if (opcode !== ops_1.OPS.OP_PUSHDATA4) throw new Error('Unexpected opcode'); + num = buffer.readUInt32LE(offset + 1); + size = 5; + } + return { + opcode, + number: num, + size, + }; +} +push_data.decode = decode$3; + +var script_number = {}; + +Object.defineProperty(script_number, '__esModule', { value: true }); +script_number.encode = script_number.decode = void 0; +function decode$2(buffer, maxLength, minimal) { + maxLength = maxLength || 4; + minimal = minimal === undefined ? true : minimal; + const length = buffer.length; + if (length === 0) return 0; + if (length > maxLength) throw new TypeError('Script number overflow'); + if (minimal) { + if ((buffer[length - 1] & 0x7f) === 0) { + if (length <= 1 || (buffer[length - 2] & 0x80) === 0) + throw new Error('Non-minimally encoded script number'); + } + } + // 40-bit + if (length === 5) { + const a = buffer.readUInt32LE(0); + const b = buffer.readUInt8(4); + if (b & 0x80) return -((b & ~0x80) * 0x100000000 + a); + return b * 0x100000000 + a; + } + // 32-bit / 24-bit / 16-bit / 8-bit + let result = 0; + for (let i = 0; i < length; ++i) { + result |= buffer[i] << (8 * i); + } + if (buffer[length - 1] & 0x80) + return -(result & ~(0x80 << (8 * (length - 1)))); + return result; +} +script_number.decode = decode$2; +function scriptNumSize(i) { + return i > 0x7fffffff + ? 5 + : i > 0x7fffff + ? 4 + : i > 0x7fff + ? 3 + : i > 0x7f + ? 2 + : i > 0x00 + ? 1 + : 0; +} +function encode$2(_number) { + let value = Math.abs(_number); + const size = scriptNumSize(value); + const buffer = Buffer.allocUnsafe(size); + const negative = _number < 0; + for (let i = 0; i < size; ++i) { + buffer.writeUInt8(value & 0xff, i); + value >>= 8; + } + if (buffer[size - 1] & 0x80) { + buffer.writeUInt8(negative ? 0x80 : 0x00, size - 1); + } else if (negative) { + buffer[size - 1] |= 0x80; + } + return buffer; +} +script_number.encode = encode$2; + +var script_signature = {}; + +var types$2 = {}; + +var types$1 = { + Array: function (value) { return value !== null && value !== undefined && value.constructor === Array }, + Boolean: function (value) { return typeof value === 'boolean' }, + Function: function (value) { return typeof value === 'function' }, + Nil: function (value) { return value === undefined || value === null }, + Number: function (value) { return typeof value === 'number' }, + Object: function (value) { return typeof value === 'object' }, + String: function (value) { return typeof value === 'string' }, + '': function () { return true } +}; + +// TODO: deprecate +types$1.Null = types$1.Nil; + +for (var typeName$1 in types$1) { + types$1[typeName$1].toJSON = function (t) { + return t + }.bind(null, typeName$1); +} + +var native$1 = types$1; + +var native = native$1; + +function getTypeName (fn) { + return fn.name || fn.toString().match(/function (.*?)\s*\(/)[1] +} + +function getValueTypeName$1 (value) { + return native.Nil(value) ? '' : getTypeName(value.constructor) +} + +function getValue (value) { + if (native.Function(value)) return '' + if (native.String(value)) return JSON.stringify(value) + if (value && native.Object(value)) return '' + return value +} + +function captureStackTrace (e, t) { + if (Error.captureStackTrace) { + Error.captureStackTrace(e, t); + } +} + +function tfJSON$1 (type) { + if (native.Function(type)) return type.toJSON ? type.toJSON() : getTypeName(type) + if (native.Array(type)) return 'Array' + if (type && native.Object(type)) return 'Object' + + return type !== undefined ? type : '' +} + +function tfErrorString (type, value, valueTypeName) { + var valueJson = getValue(value); + + return 'Expected ' + tfJSON$1(type) + ', got' + + (valueTypeName !== '' ? ' ' + valueTypeName : '') + + (valueJson !== '' ? ' ' + valueJson : '') +} + +function TfTypeError$1 (type, value, valueTypeName) { + valueTypeName = valueTypeName || getValueTypeName$1(value); + this.message = tfErrorString(type, value, valueTypeName); + + captureStackTrace(this, TfTypeError$1); + this.__type = type; + this.__value = value; + this.__valueTypeName = valueTypeName; +} + +TfTypeError$1.prototype = Object.create(Error.prototype); +TfTypeError$1.prototype.constructor = TfTypeError$1; + +function tfPropertyErrorString (type, label, name, value, valueTypeName) { + var description = '" of type '; + if (label === 'key') description = '" with key type '; + + return tfErrorString('property "' + tfJSON$1(name) + description + tfJSON$1(type), value, valueTypeName) +} + +function TfPropertyTypeError$1 (type, property, label, value, valueTypeName) { + if (type) { + valueTypeName = valueTypeName || getValueTypeName$1(value); + this.message = tfPropertyErrorString(type, label, property, value, valueTypeName); + } else { + this.message = 'Unexpected property "' + property + '"'; + } + + captureStackTrace(this, TfTypeError$1); + this.__label = label; + this.__property = property; + this.__type = type; + this.__value = value; + this.__valueTypeName = valueTypeName; +} + +TfPropertyTypeError$1.prototype = Object.create(Error.prototype); +TfPropertyTypeError$1.prototype.constructor = TfTypeError$1; + +function tfCustomError (expected, actual) { + return new TfTypeError$1(expected, {}, actual) +} + +function tfSubError$1 (e, property, label) { + // sub child? + if (e instanceof TfPropertyTypeError$1) { + property = property + '.' + e.__property; + + e = new TfPropertyTypeError$1( + e.__type, property, e.__label, e.__value, e.__valueTypeName + ); + + // child? + } else if (e instanceof TfTypeError$1) { + e = new TfPropertyTypeError$1( + e.__type, property, label, e.__value, e.__valueTypeName + ); + } + + captureStackTrace(e); + return e +} + +var errors = { + TfTypeError: TfTypeError$1, + TfPropertyTypeError: TfPropertyTypeError$1, + tfCustomError: tfCustomError, + tfSubError: tfSubError$1, + tfJSON: tfJSON$1, + getValueTypeName: getValueTypeName$1 +}; + +var extra; +var hasRequiredExtra; + +function requireExtra () { + if (hasRequiredExtra) return extra; + hasRequiredExtra = 1; + var NATIVE = native$1; + var ERRORS = errors; + + function _Buffer (value) { + return Buffer.isBuffer(value) + } + + function Hex (value) { + return typeof value === 'string' && /^([0-9a-f]{2})+$/i.test(value) + } + + function _LengthN (type, length) { + var name = type.toJSON(); + + function Length (value) { + if (!type(value)) return false + if (value.length === length) return true + + throw ERRORS.tfCustomError(name + '(Length: ' + length + ')', name + '(Length: ' + value.length + ')') + } + Length.toJSON = function () { return name }; + + return Length + } + + var _ArrayN = _LengthN.bind(null, NATIVE.Array); + var _BufferN = _LengthN.bind(null, _Buffer); + var _HexN = _LengthN.bind(null, Hex); + var _StringN = _LengthN.bind(null, NATIVE.String); + + function Range (a, b, f) { + f = f || NATIVE.Number; + function _range (value, strict) { + return f(value, strict) && (value > a) && (value < b) + } + _range.toJSON = function () { + return `${f.toJSON()} between [${a}, ${b}]` + }; + return _range + } + + var INT53_MAX = Math.pow(2, 53) - 1; + + function Finite (value) { + return typeof value === 'number' && isFinite(value) + } + function Int8 (value) { return ((value << 24) >> 24) === value } + function Int16 (value) { return ((value << 16) >> 16) === value } + function Int32 (value) { return (value | 0) === value } + function Int53 (value) { + return typeof value === 'number' && + value >= -INT53_MAX && + value <= INT53_MAX && + Math.floor(value) === value + } + function UInt8 (value) { return (value & 0xff) === value } + function UInt16 (value) { return (value & 0xffff) === value } + function UInt32 (value) { return (value >>> 0) === value } + function UInt53 (value) { + return typeof value === 'number' && + value >= 0 && + value <= INT53_MAX && + Math.floor(value) === value + } + + var types = { + ArrayN: _ArrayN, + Buffer: _Buffer, + BufferN: _BufferN, + Finite: Finite, + Hex: Hex, + HexN: _HexN, + Int8: Int8, + Int16: Int16, + Int32: Int32, + Int53: Int53, + Range: Range, + StringN: _StringN, + UInt8: UInt8, + UInt16: UInt16, + UInt32: UInt32, + UInt53: UInt53 + }; + + for (var typeName in types) { + types[typeName].toJSON = function (t) { + return t + }.bind(null, typeName); + } + + extra = types; + return extra; +} + +var ERRORS = errors; +var NATIVE = native$1; + +// short-hand +var tfJSON = ERRORS.tfJSON; +var TfTypeError = ERRORS.TfTypeError; +var TfPropertyTypeError = ERRORS.TfPropertyTypeError; +var tfSubError = ERRORS.tfSubError; +var getValueTypeName = ERRORS.getValueTypeName; + +var TYPES = { + arrayOf: function arrayOf (type, options) { + type = compile(type); + options = options || {}; + + function _arrayOf (array, strict) { + if (!NATIVE.Array(array)) return false + if (NATIVE.Nil(array)) return false + if (options.minLength !== undefined && array.length < options.minLength) return false + if (options.maxLength !== undefined && array.length > options.maxLength) return false + if (options.length !== undefined && array.length !== options.length) return false + + return array.every(function (value, i) { + try { + return typeforce$2(type, value, strict) + } catch (e) { + throw tfSubError(e, i) + } + }) + } + _arrayOf.toJSON = function () { + var str = '[' + tfJSON(type) + ']'; + if (options.length !== undefined) { + str += '{' + options.length + '}'; + } else if (options.minLength !== undefined || options.maxLength !== undefined) { + str += '{' + + (options.minLength === undefined ? 0 : options.minLength) + ',' + + (options.maxLength === undefined ? Infinity : options.maxLength) + '}'; + } + return str + }; + + return _arrayOf + }, + + maybe: function maybe (type) { + type = compile(type); + + function _maybe (value, strict) { + return NATIVE.Nil(value) || type(value, strict, maybe) + } + _maybe.toJSON = function () { return '?' + tfJSON(type) }; + + return _maybe + }, + + map: function map (propertyType, propertyKeyType) { + propertyType = compile(propertyType); + if (propertyKeyType) propertyKeyType = compile(propertyKeyType); + + function _map (value, strict) { + if (!NATIVE.Object(value)) return false + if (NATIVE.Nil(value)) return false + + for (var propertyName in value) { + try { + if (propertyKeyType) { + typeforce$2(propertyKeyType, propertyName, strict); + } + } catch (e) { + throw tfSubError(e, propertyName, 'key') + } + + try { + var propertyValue = value[propertyName]; + typeforce$2(propertyType, propertyValue, strict); + } catch (e) { + throw tfSubError(e, propertyName) + } + } + + return true + } + + if (propertyKeyType) { + _map.toJSON = function () { + return '{' + tfJSON(propertyKeyType) + ': ' + tfJSON(propertyType) + '}' + }; + } else { + _map.toJSON = function () { return '{' + tfJSON(propertyType) + '}' }; + } + + return _map + }, + + object: function object (uncompiled) { + var type = {}; + + for (var typePropertyName in uncompiled) { + type[typePropertyName] = compile(uncompiled[typePropertyName]); + } + + function _object (value, strict) { + if (!NATIVE.Object(value)) return false + if (NATIVE.Nil(value)) return false + + var propertyName; + + try { + for (propertyName in type) { + var propertyType = type[propertyName]; + var propertyValue = value[propertyName]; + + typeforce$2(propertyType, propertyValue, strict); + } + } catch (e) { + throw tfSubError(e, propertyName) + } + + if (strict) { + for (propertyName in value) { + if (type[propertyName]) continue + + throw new TfPropertyTypeError(undefined, propertyName) + } + } + + return true + } + _object.toJSON = function () { return tfJSON(type) }; + + return _object + }, + + anyOf: function anyOf () { + var types = [].slice.call(arguments).map(compile); + + function _anyOf (value, strict) { + return types.some(function (type) { + try { + return typeforce$2(type, value, strict) + } catch (e) { + return false + } + }) + } + _anyOf.toJSON = function () { return types.map(tfJSON).join('|') }; + + return _anyOf + }, + + allOf: function allOf () { + var types = [].slice.call(arguments).map(compile); + + function _allOf (value, strict) { + return types.every(function (type) { + try { + return typeforce$2(type, value, strict) + } catch (e) { + return false + } + }) + } + _allOf.toJSON = function () { return types.map(tfJSON).join(' & ') }; + + return _allOf + }, + + quacksLike: function quacksLike (type) { + function _quacksLike (value) { + return type === getValueTypeName(value) + } + _quacksLike.toJSON = function () { return type }; + + return _quacksLike + }, + + tuple: function tuple () { + var types = [].slice.call(arguments).map(compile); + + function _tuple (values, strict) { + if (NATIVE.Nil(values)) return false + if (NATIVE.Nil(values.length)) return false + if (strict && (values.length !== types.length)) return false + + return types.every(function (type, i) { + try { + return typeforce$2(type, values[i], strict) + } catch (e) { + throw tfSubError(e, i) + } + }) + } + _tuple.toJSON = function () { return '(' + types.map(tfJSON).join(', ') + ')' }; + + return _tuple + }, + + value: function value (expected) { + function _value (actual) { + return actual === expected + } + _value.toJSON = function () { return expected }; + + return _value + } +}; + +// TODO: deprecate +TYPES.oneOf = TYPES.anyOf; + +function compile (type) { + if (NATIVE.String(type)) { + if (type[0] === '?') return TYPES.maybe(type.slice(1)) + + return NATIVE[type] || TYPES.quacksLike(type) + } else if (type && NATIVE.Object(type)) { + if (NATIVE.Array(type)) { + if (type.length !== 1) throw new TypeError('Expected compile() parameter of type Array of length 1') + return TYPES.arrayOf(type[0]) + } + + return TYPES.object(type) + } else if (NATIVE.Function(type)) { + return type + } + + return TYPES.value(type) +} + +function typeforce$2 (type, value, strict, surrogate) { + if (NATIVE.Function(type)) { + if (type(value, strict)) return true + + throw new TfTypeError(surrogate || type, value) + } + + // JIT + return typeforce$2(compile(type), value, strict) +} + +// assign types to typeforce function +for (var typeName in NATIVE) { + typeforce$2[typeName] = NATIVE[typeName]; +} + +for (typeName in TYPES) { + typeforce$2[typeName] = TYPES[typeName]; +} + +var EXTRA = requireExtra(); +for (typeName in EXTRA) { + typeforce$2[typeName] = EXTRA[typeName]; +} + +typeforce$2.compile = compile; +typeforce$2.TfTypeError = TfTypeError; +typeforce$2.TfPropertyTypeError = TfPropertyTypeError; + +var typeforce_1 = typeforce$2; + +(function (exports) { + Object.defineProperty(exports, '__esModule', { value: true }); + exports.oneOf = exports.Null = exports.BufferN = exports.Function = exports.UInt32 = exports.UInt8 = exports.tuple = exports.maybe = exports.Hex = exports.Buffer = exports.String = exports.Boolean = exports.Array = exports.Number = exports.Hash256bit = exports.Hash160bit = exports.Buffer256bit = exports.Network = exports.ECPoint = exports.Satoshi = exports.Signer = exports.BIP32Path = exports.UInt31 = exports.isPoint = exports.typeforce = void 0; + const buffer_1 = require$$0__default$3["default"]; + exports.typeforce = typeforce_1; + const ZERO32 = buffer_1.Buffer.alloc(32, 0); + const EC_P = buffer_1.Buffer.from( + 'fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f', + 'hex', + ); + function isPoint(p) { + if (!buffer_1.Buffer.isBuffer(p)) return false; + if (p.length < 33) return false; + const t = p[0]; + const x = p.slice(1, 33); + if (x.compare(ZERO32) === 0) return false; + if (x.compare(EC_P) >= 0) return false; + if ((t === 0x02 || t === 0x03) && p.length === 33) { + return true; + } + const y = p.slice(33); + if (y.compare(ZERO32) === 0) return false; + if (y.compare(EC_P) >= 0) return false; + if (t === 0x04 && p.length === 65) return true; + return false; + } + exports.isPoint = isPoint; + const UINT31_MAX = Math.pow(2, 31) - 1; + function UInt31(value) { + return exports.typeforce.UInt32(value) && value <= UINT31_MAX; + } + exports.UInt31 = UInt31; + function BIP32Path(value) { + return ( + exports.typeforce.String(value) && !!value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) + ); + } + exports.BIP32Path = BIP32Path; + BIP32Path.toJSON = () => { + return 'BIP32 derivation path'; + }; + function Signer(obj) { + return ( + (exports.typeforce.Buffer(obj.publicKey) || + typeof obj.getPublicKey === 'function') && + typeof obj.sign === 'function' + ); + } + exports.Signer = Signer; + const SATOSHI_MAX = 21 * 1e14; + function Satoshi(value) { + return exports.typeforce.UInt53(value) && value <= SATOSHI_MAX; + } + exports.Satoshi = Satoshi; + // external dependent types + exports.ECPoint = exports.typeforce.quacksLike('Point'); + // exposed, external API + exports.Network = exports.typeforce.compile({ + messagePrefix: exports.typeforce.oneOf( + exports.typeforce.Buffer, + exports.typeforce.String, + ), + bip32: { + public: exports.typeforce.UInt32, + private: exports.typeforce.UInt32, + }, + pubKeyHash: exports.typeforce.UInt8, + scriptHash: exports.typeforce.UInt8, + wif: exports.typeforce.UInt8, + }); + exports.Buffer256bit = exports.typeforce.BufferN(32); + exports.Hash160bit = exports.typeforce.BufferN(20); + exports.Hash256bit = exports.typeforce.BufferN(32); + exports.Number = exports.typeforce.Number; // tslint:disable-line variable-name + exports.Array = exports.typeforce.Array; + exports.Boolean = exports.typeforce.Boolean; // tslint:disable-line variable-name + exports.String = exports.typeforce.String; // tslint:disable-line variable-name + exports.Buffer = exports.typeforce.Buffer; + exports.Hex = exports.typeforce.Hex; + exports.maybe = exports.typeforce.maybe; + exports.tuple = exports.typeforce.tuple; + exports.UInt8 = exports.typeforce.UInt8; + exports.UInt32 = exports.typeforce.UInt32; + exports.Function = exports.typeforce.Function; + exports.BufferN = exports.typeforce.BufferN; + exports.Null = exports.typeforce.Null; + exports.oneOf = exports.typeforce.oneOf; +} (types$2)); + +Object.defineProperty(script_signature, '__esModule', { value: true }); +script_signature.encode = script_signature.decode = void 0; +const bip66 = bip66$1; +const types = types$2; +const { typeforce: typeforce$1 } = types; +const ZERO = Buffer.alloc(1, 0); +function toDER(x) { + let i = 0; + while (x[i] === 0) ++i; + if (i === x.length) return ZERO; + x = x.slice(i); + if (x[0] & 0x80) return Buffer.concat([ZERO, x], 1 + x.length); + return x; +} +function fromDER(x) { + if (x[0] === 0x00) x = x.slice(1); + const buffer = Buffer.alloc(32, 0); + const bstart = Math.max(0, 32 - x.length); + x.copy(buffer, bstart); + return buffer; +} +// BIP62: 1 byte hashType flag (only 0x01, 0x02, 0x03, 0x81, 0x82 and 0x83 are allowed) +function decode$1(buffer) { + const hashType = buffer.readUInt8(buffer.length - 1); + const hashTypeMod = hashType & ~0x80; + if (hashTypeMod <= 0 || hashTypeMod >= 4) + throw new Error('Invalid hashType ' + hashType); + const decoded = bip66.decode(buffer.slice(0, -1)); + const r = fromDER(decoded.r); + const s = fromDER(decoded.s); + const signature = Buffer.concat([r, s], 64); + return { signature, hashType }; +} +script_signature.decode = decode$1; +function encode$1(signature, hashType) { + typeforce$1( + { + signature: types.BufferN(64), + hashType: types.UInt8, + }, + { signature, hashType }, + ); + const hashTypeMod = hashType & ~0x80; + if (hashTypeMod <= 0 || hashTypeMod >= 4) + throw new Error('Invalid hashType ' + hashType); + const hashTypeBuffer = Buffer.allocUnsafe(1); + hashTypeBuffer.writeUInt8(hashType, 0); + const r = toDER(signature.slice(0, 32)); + const s = toDER(signature.slice(32, 64)); + return Buffer.concat([bip66.encode(r, s), hashTypeBuffer]); +} +script_signature.encode = encode$1; + +(function (exports) { + Object.defineProperty(exports, '__esModule', { value: true }); + exports.signature = exports.number = exports.isCanonicalScriptSignature = exports.isDefinedHashType = exports.isCanonicalPubKey = exports.toStack = exports.fromASM = exports.toASM = exports.decompile = exports.compile = exports.isPushOnly = exports.OPS = void 0; + const bip66 = bip66$1; + const ops_1 = ops; + Object.defineProperty(exports, 'OPS', { + enumerable: true, + get: function() { + return ops_1.OPS; + }, + }); + const pushdata = push_data; + const scriptNumber = script_number; + const scriptSignature = script_signature; + const types = types$2; + const { typeforce } = types; + const OP_INT_BASE = ops_1.OPS.OP_RESERVED; // OP_1 - 1 + function isOPInt(value) { + return ( + types.Number(value) && + (value === ops_1.OPS.OP_0 || + (value >= ops_1.OPS.OP_1 && value <= ops_1.OPS.OP_16) || + value === ops_1.OPS.OP_1NEGATE) + ); + } + function isPushOnlyChunk(value) { + return types.Buffer(value) || isOPInt(value); + } + function isPushOnly(value) { + return types.Array(value) && value.every(isPushOnlyChunk); + } + exports.isPushOnly = isPushOnly; + function asMinimalOP(buffer) { + if (buffer.length === 0) return ops_1.OPS.OP_0; + if (buffer.length !== 1) return; + if (buffer[0] >= 1 && buffer[0] <= 16) return OP_INT_BASE + buffer[0]; + if (buffer[0] === 0x81) return ops_1.OPS.OP_1NEGATE; + } + function chunksIsBuffer(buf) { + return Buffer.isBuffer(buf); + } + function chunksIsArray(buf) { + return types.Array(buf); + } + function singleChunkIsBuffer(buf) { + return Buffer.isBuffer(buf); + } + function compile(chunks) { + // TODO: remove me + if (chunksIsBuffer(chunks)) return chunks; + typeforce(types.Array, chunks); + const bufferSize = chunks.reduce((accum, chunk) => { + // data chunk + if (singleChunkIsBuffer(chunk)) { + // adhere to BIP62.3, minimal push policy + if (chunk.length === 1 && asMinimalOP(chunk) !== undefined) { + return accum + 1; + } + return accum + pushdata.encodingLength(chunk.length) + chunk.length; + } + // opcode + return accum + 1; + }, 0.0); + const buffer = Buffer.allocUnsafe(bufferSize); + let offset = 0; + chunks.forEach(chunk => { + // data chunk + if (singleChunkIsBuffer(chunk)) { + // adhere to BIP62.3, minimal push policy + const opcode = asMinimalOP(chunk); + if (opcode !== undefined) { + buffer.writeUInt8(opcode, offset); + offset += 1; + return; + } + offset += pushdata.encode(buffer, chunk.length, offset); + chunk.copy(buffer, offset); + offset += chunk.length; + // opcode + } else { + buffer.writeUInt8(chunk, offset); + offset += 1; + } + }); + if (offset !== buffer.length) throw new Error('Could not decode chunks'); + return buffer; + } + exports.compile = compile; + function decompile(buffer) { + // TODO: remove me + if (chunksIsArray(buffer)) return buffer; + typeforce(types.Buffer, buffer); + const chunks = []; + let i = 0; + while (i < buffer.length) { + const opcode = buffer[i]; + // data chunk + if (opcode > ops_1.OPS.OP_0 && opcode <= ops_1.OPS.OP_PUSHDATA4) { + const d = pushdata.decode(buffer, i); + // did reading a pushDataInt fail? + if (d === null) return null; + i += d.size; + // attempt to read too much data? + if (i + d.number > buffer.length) return null; + const data = buffer.slice(i, i + d.number); + i += d.number; + // decompile minimally + const op = asMinimalOP(data); + if (op !== undefined) { + chunks.push(op); + } else { + chunks.push(data); + } + // opcode + } else { + chunks.push(opcode); + i += 1; + } + } + return chunks; + } + exports.decompile = decompile; + function toASM(chunks) { + if (chunksIsBuffer(chunks)) { + chunks = decompile(chunks); + } + return chunks + .map(chunk => { + // data? + if (singleChunkIsBuffer(chunk)) { + const op = asMinimalOP(chunk); + if (op === undefined) return chunk.toString('hex'); + chunk = op; + } + // opcode! + return ops_1.REVERSE_OPS[chunk]; + }) + .join(' '); + } + exports.toASM = toASM; + function fromASM(asm) { + typeforce(types.String, asm); + return compile( + asm.split(' ').map(chunkStr => { + // opcode? + if (ops_1.OPS[chunkStr] !== undefined) return ops_1.OPS[chunkStr]; + typeforce(types.Hex, chunkStr); + // data! + return Buffer.from(chunkStr, 'hex'); + }), + ); + } + exports.fromASM = fromASM; + function toStack(chunks) { + chunks = decompile(chunks); + typeforce(isPushOnly, chunks); + return chunks.map(op => { + if (singleChunkIsBuffer(op)) return op; + if (op === ops_1.OPS.OP_0) return Buffer.allocUnsafe(0); + return scriptNumber.encode(op - OP_INT_BASE); + }); + } + exports.toStack = toStack; + function isCanonicalPubKey(buffer) { + return types.isPoint(buffer); + } + exports.isCanonicalPubKey = isCanonicalPubKey; + function isDefinedHashType(hashType) { + const hashTypeMod = hashType & ~0x80; + // return hashTypeMod > SIGHASH_ALL && hashTypeMod < SIGHASH_SINGLE + return hashTypeMod > 0x00 && hashTypeMod < 0x04; + } + exports.isDefinedHashType = isDefinedHashType; + function isCanonicalScriptSignature(buffer) { + if (!Buffer.isBuffer(buffer)) return false; + if (!isDefinedHashType(buffer[buffer.length - 1])) return false; + return bip66.check(buffer.slice(0, -1)); + } + exports.isCanonicalScriptSignature = isCanonicalScriptSignature; + // tslint:disable-next-line variable-name + exports.number = scriptNumber; + exports.signature = scriptSignature; +} (script)); + +var lazy$7 = {}; + +Object.defineProperty(lazy$7, '__esModule', { value: true }); +lazy$7.value = lazy$7.prop = void 0; +function prop(object, name, f) { + Object.defineProperty(object, name, { + configurable: true, + enumerable: true, + get() { + const _value = f.call(this); + this[name] = _value; + return _value; + }, + set(_value) { + Object.defineProperty(this, name, { + configurable: true, + enumerable: true, + value: _value, + writable: true, + }); + }, + }); +} +lazy$7.prop = prop; +function value(f) { + let _value; + return () => { + if (_value !== undefined) return _value; + _value = f(); + return _value; + }; +} +lazy$7.value = value; + +Object.defineProperty(embed, '__esModule', { value: true }); +embed.p2data = void 0; +const networks_1$6 = networks; +const bscript$6 = script; +const types_1$6 = types$2; +const lazy$6 = lazy$7; +const OPS$6 = bscript$6.OPS; +function stacksEqual$3(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +// output: OP_RETURN ... +function p2data(a, opts) { + if (!a.data && !a.output) throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$6.typeforce)( + { + network: types_1$6.typeforce.maybe(types_1$6.typeforce.Object), + output: types_1$6.typeforce.maybe(types_1$6.typeforce.Buffer), + data: types_1$6.typeforce.maybe( + types_1$6.typeforce.arrayOf(types_1$6.typeforce.Buffer), + ), + }, + a, + ); + const network = a.network || networks_1$6.bitcoin; + const o = { name: 'embed', network }; + lazy$6.prop(o, 'output', () => { + if (!a.data) return; + return bscript$6.compile([OPS$6.OP_RETURN].concat(a.data)); + }); + lazy$6.prop(o, 'data', () => { + if (!a.output) return; + return bscript$6.decompile(a.output).slice(1); + }); + // extended validation + if (opts.validate) { + if (a.output) { + const chunks = bscript$6.decompile(a.output); + if (chunks[0] !== OPS$6.OP_RETURN) throw new TypeError('Output is invalid'); + if (!chunks.slice(1).every(types_1$6.typeforce.Buffer)) + throw new TypeError('Output is invalid'); + if (a.data && !stacksEqual$3(a.data, o.data)) + throw new TypeError('Data mismatch'); + } + } + return Object.assign(o, a); +} +embed.p2data = p2data; + +var p2ms$1 = {}; + +Object.defineProperty(p2ms$1, '__esModule', { value: true }); +p2ms$1.p2ms = void 0; +const networks_1$5 = networks; +const bscript$5 = script; +const types_1$5 = types$2; +const lazy$5 = lazy$7; +const OPS$5 = bscript$5.OPS; +const OP_INT_BASE = OPS$5.OP_RESERVED; // OP_1 - 1 +function stacksEqual$2(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +// input: OP_0 [signatures ...] +// output: m [pubKeys ...] n OP_CHECKMULTISIG +function p2ms(a, opts) { + if ( + !a.input && + !a.output && + !(a.pubkeys && a.m !== undefined) && + !a.signatures + ) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + function isAcceptableSignature(x) { + return ( + bscript$5.isCanonicalScriptSignature(x) || + (opts.allowIncomplete && x === OPS$5.OP_0) !== undefined + ); + } + (0, types_1$5.typeforce)( + { + network: types_1$5.typeforce.maybe(types_1$5.typeforce.Object), + m: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), + n: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), + output: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), + pubkeys: types_1$5.typeforce.maybe( + types_1$5.typeforce.arrayOf(types_1$5.isPoint), + ), + signatures: types_1$5.typeforce.maybe( + types_1$5.typeforce.arrayOf(isAcceptableSignature), + ), + input: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), + }, + a, + ); + const network = a.network || networks_1$5.bitcoin; + const o = { network }; + let chunks = []; + let decoded = false; + function decode(output) { + if (decoded) return; + decoded = true; + chunks = bscript$5.decompile(output); + o.m = chunks[0] - OP_INT_BASE; + o.n = chunks[chunks.length - 2] - OP_INT_BASE; + o.pubkeys = chunks.slice(1, -2); + } + lazy$5.prop(o, 'output', () => { + if (!a.m) return; + if (!o.n) return; + if (!a.pubkeys) return; + return bscript$5.compile( + [].concat( + OP_INT_BASE + a.m, + a.pubkeys, + OP_INT_BASE + o.n, + OPS$5.OP_CHECKMULTISIG, + ), + ); + }); + lazy$5.prop(o, 'm', () => { + if (!o.output) return; + decode(o.output); + return o.m; + }); + lazy$5.prop(o, 'n', () => { + if (!o.pubkeys) return; + return o.pubkeys.length; + }); + lazy$5.prop(o, 'pubkeys', () => { + if (!a.output) return; + decode(a.output); + return o.pubkeys; + }); + lazy$5.prop(o, 'signatures', () => { + if (!a.input) return; + return bscript$5.decompile(a.input).slice(1); + }); + lazy$5.prop(o, 'input', () => { + if (!a.signatures) return; + return bscript$5.compile([OPS$5.OP_0].concat(a.signatures)); + }); + lazy$5.prop(o, 'witness', () => { + if (!o.input) return; + return []; + }); + lazy$5.prop(o, 'name', () => { + if (!o.m || !o.n) return; + return `p2ms(${o.m} of ${o.n})`; + }); + // extended validation + if (opts.validate) { + if (a.output) { + decode(a.output); + if (!types_1$5.typeforce.Number(chunks[0])) + throw new TypeError('Output is invalid'); + if (!types_1$5.typeforce.Number(chunks[chunks.length - 2])) + throw new TypeError('Output is invalid'); + if (chunks[chunks.length - 1] !== OPS$5.OP_CHECKMULTISIG) + throw new TypeError('Output is invalid'); + if (o.m <= 0 || o.n > 16 || o.m > o.n || o.n !== chunks.length - 3) + throw new TypeError('Output is invalid'); + if (!o.pubkeys.every(x => (0, types_1$5.isPoint)(x))) + throw new TypeError('Output is invalid'); + if (a.m !== undefined && a.m !== o.m) throw new TypeError('m mismatch'); + if (a.n !== undefined && a.n !== o.n) throw new TypeError('n mismatch'); + if (a.pubkeys && !stacksEqual$2(a.pubkeys, o.pubkeys)) + throw new TypeError('Pubkeys mismatch'); + } + if (a.pubkeys) { + if (a.n !== undefined && a.n !== a.pubkeys.length) + throw new TypeError('Pubkey count mismatch'); + o.n = a.pubkeys.length; + if (o.n < o.m) throw new TypeError('Pubkey count cannot be less than m'); + } + if (a.signatures) { + if (a.signatures.length < o.m) + throw new TypeError('Not enough signatures provided'); + if (a.signatures.length > o.m) + throw new TypeError('Too many signatures provided'); + } + if (a.input) { + if (a.input[0] !== OPS$5.OP_0) throw new TypeError('Input is invalid'); + if ( + o.signatures.length === 0 || + !o.signatures.every(isAcceptableSignature) + ) + throw new TypeError('Input has invalid signature(s)'); + if (a.signatures && !stacksEqual$2(a.signatures, o.signatures)) + throw new TypeError('Signature mismatch'); + if (a.m !== undefined && a.m !== a.signatures.length) + throw new TypeError('Signature count mismatch'); + } + } + return Object.assign(o, a); +} +p2ms$1.p2ms = p2ms; + +var p2pk$1 = {}; + +Object.defineProperty(p2pk$1, '__esModule', { value: true }); +p2pk$1.p2pk = void 0; +const networks_1$4 = networks; +const bscript$4 = script; +const types_1$4 = types$2; +const lazy$4 = lazy$7; +const OPS$4 = bscript$4.OPS; +// input: {signature} +// output: {pubKey} OP_CHECKSIG +function p2pk(a, opts) { + if (!a.input && !a.output && !a.pubkey && !a.input && !a.signature) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$4.typeforce)( + { + network: types_1$4.typeforce.maybe(types_1$4.typeforce.Object), + output: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), + pubkey: types_1$4.typeforce.maybe(types_1$4.isPoint), + signature: types_1$4.typeforce.maybe(bscript$4.isCanonicalScriptSignature), + input: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), + }, + a, + ); + const _chunks = lazy$4.value(() => { + return bscript$4.decompile(a.input); + }); + const network = a.network || networks_1$4.bitcoin; + const o = { name: 'p2pk', network }; + lazy$4.prop(o, 'output', () => { + if (!a.pubkey) return; + return bscript$4.compile([a.pubkey, OPS$4.OP_CHECKSIG]); + }); + lazy$4.prop(o, 'pubkey', () => { + if (!a.output) return; + return a.output.slice(1, -1); + }); + lazy$4.prop(o, 'signature', () => { + if (!a.input) return; + return _chunks()[0]; + }); + lazy$4.prop(o, 'input', () => { + if (!a.signature) return; + return bscript$4.compile([a.signature]); + }); + lazy$4.prop(o, 'witness', () => { + if (!o.input) return; + return []; + }); + // extended validation + if (opts.validate) { + if (a.output) { + if (a.output[a.output.length - 1] !== OPS$4.OP_CHECKSIG) + throw new TypeError('Output is invalid'); + if (!(0, types_1$4.isPoint)(o.pubkey)) + throw new TypeError('Output pubkey is invalid'); + if (a.pubkey && !a.pubkey.equals(o.pubkey)) + throw new TypeError('Pubkey mismatch'); + } + if (a.signature) { + if (a.input && !a.input.equals(o.input)) + throw new TypeError('Signature mismatch'); + } + if (a.input) { + if (_chunks().length !== 1) throw new TypeError('Input is invalid'); + if (!bscript$4.isCanonicalScriptSignature(o.signature)) + throw new TypeError('Input has invalid signature'); + } + } + return Object.assign(o, a); +} +p2pk$1.p2pk = p2pk; + +var p2pkh$1 = {}; + +var crypto$3 = {}; + +var createHash$3 = require$$0__default["default"].createHash; + +Object.defineProperty(crypto$3, '__esModule', { value: true }); +crypto$3.taggedHash = crypto$3.hash256 = crypto$3.hash160 = crypto$3.sha256 = crypto$3.sha1 = crypto$3.ripemd160 = void 0; +const createHash$2 = createHash$3; +function ripemd160(buffer) { + try { + return createHash$2('rmd160') + .update(buffer) + .digest(); + } catch (err) { + return createHash$2('ripemd160') + .update(buffer) + .digest(); + } +} +crypto$3.ripemd160 = ripemd160; +function sha1(buffer) { + return createHash$2('sha1') + .update(buffer) + .digest(); +} +crypto$3.sha1 = sha1; +function sha256(buffer) { + return createHash$2('sha256') + .update(buffer) + .digest(); +} +crypto$3.sha256 = sha256; +function hash160$1(buffer) { + return ripemd160(sha256(buffer)); +} +crypto$3.hash160 = hash160$1; +function hash256(buffer) { + return sha256(sha256(buffer)); +} +crypto$3.hash256 = hash256; +const TAGS = [ + 'BIP0340/challenge', + 'BIP0340/aux', + 'BIP0340/nonce', + 'TapLeaf', + 'TapBranch', + 'TapSighash', + 'TapTweak', + 'KeyAgg list', + 'KeyAgg coefficient', +]; +/** An object mapping tags to their tagged hash prefix of [SHA256(tag) | SHA256(tag)] */ +const TAGGED_HASH_PREFIXES = Object.fromEntries( + TAGS.map(tag => { + const tagHash = sha256(Buffer.from(tag)); + return [tag, Buffer.concat([tagHash, tagHash])]; + }), +); +function taggedHash(prefix, data) { + return sha256(Buffer.concat([TAGGED_HASH_PREFIXES[prefix], data])); +} +crypto$3.taggedHash = taggedHash; + +var safeBuffer = {exports: {}}; + +/*! safe-buffer. MIT License. Feross Aboukhadijeh */ + +(function (module, exports) { + /* eslint-disable node/no-deprecated-api */ + var buffer = require$$0__default$3["default"]; + var Buffer = buffer.Buffer; + + // alternative to using Object.keys for old browsers + function copyProps (src, dst) { + for (var key in src) { + dst[key] = src[key]; + } + } + if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { + module.exports = buffer; + } else { + // Copy properties from require('buffer') + copyProps(buffer, exports); + exports.Buffer = SafeBuffer; + } + + function SafeBuffer (arg, encodingOrOffset, length) { + return Buffer(arg, encodingOrOffset, length) + } + + SafeBuffer.prototype = Object.create(Buffer.prototype); + + // Copy static methods from Buffer + copyProps(Buffer, SafeBuffer); + + SafeBuffer.from = function (arg, encodingOrOffset, length) { + if (typeof arg === 'number') { + throw new TypeError('Argument must not be a number') + } + return Buffer(arg, encodingOrOffset, length) + }; + + SafeBuffer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + var buf = Buffer(size); + if (fill !== undefined) { + if (typeof encoding === 'string') { + buf.fill(fill, encoding); + } else { + buf.fill(fill); + } + } else { + buf.fill(0); + } + return buf + }; + + SafeBuffer.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return Buffer(size) + }; + + SafeBuffer.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return buffer.SlowBuffer(size) + }; +} (safeBuffer, safeBuffer.exports)); + +// base-x encoding / decoding +// Copyright (c) 2018 base-x contributors +// Copyright (c) 2014-2018 The Bitcoin Core developers (base58.cpp) +// Distributed under the MIT software license, see the accompanying +// file LICENSE or http://www.opensource.org/licenses/mit-license.php. +// @ts-ignore +var _Buffer = safeBuffer.exports.Buffer; +function base$1 (ALPHABET) { + if (ALPHABET.length >= 255) { throw new TypeError('Alphabet too long') } + var BASE_MAP = new Uint8Array(256); + for (var j = 0; j < BASE_MAP.length; j++) { + BASE_MAP[j] = 255; + } + for (var i = 0; i < ALPHABET.length; i++) { + var x = ALPHABET.charAt(i); + var xc = x.charCodeAt(0); + if (BASE_MAP[xc] !== 255) { throw new TypeError(x + ' is ambiguous') } + BASE_MAP[xc] = i; + } + var BASE = ALPHABET.length; + var LEADER = ALPHABET.charAt(0); + var FACTOR = Math.log(BASE) / Math.log(256); // log(BASE) / log(256), rounded up + var iFACTOR = Math.log(256) / Math.log(BASE); // log(256) / log(BASE), rounded up + function encode (source) { + if (Array.isArray(source) || source instanceof Uint8Array) { source = _Buffer.from(source); } + if (!_Buffer.isBuffer(source)) { throw new TypeError('Expected Buffer') } + if (source.length === 0) { return '' } + // Skip & count leading zeroes. + var zeroes = 0; + var length = 0; + var pbegin = 0; + var pend = source.length; + while (pbegin !== pend && source[pbegin] === 0) { + pbegin++; + zeroes++; + } + // Allocate enough space in big-endian base58 representation. + var size = ((pend - pbegin) * iFACTOR + 1) >>> 0; + var b58 = new Uint8Array(size); + // Process the bytes. + while (pbegin !== pend) { + var carry = source[pbegin]; + // Apply "b58 = b58 * 256 + ch". + var i = 0; + for (var it1 = size - 1; (carry !== 0 || i < length) && (it1 !== -1); it1--, i++) { + carry += (256 * b58[it1]) >>> 0; + b58[it1] = (carry % BASE) >>> 0; + carry = (carry / BASE) >>> 0; + } + if (carry !== 0) { throw new Error('Non-zero carry') } + length = i; + pbegin++; + } + // Skip leading zeroes in base58 result. + var it2 = size - length; + while (it2 !== size && b58[it2] === 0) { + it2++; + } + // Translate the result into a string. + var str = LEADER.repeat(zeroes); + for (; it2 < size; ++it2) { str += ALPHABET.charAt(b58[it2]); } + return str + } + function decodeUnsafe (source) { + if (typeof source !== 'string') { throw new TypeError('Expected String') } + if (source.length === 0) { return _Buffer.alloc(0) } + var psz = 0; + // Skip and count leading '1's. + var zeroes = 0; + var length = 0; + while (source[psz] === LEADER) { + zeroes++; + psz++; + } + // Allocate enough space in big-endian base256 representation. + var size = (((source.length - psz) * FACTOR) + 1) >>> 0; // log(58) / log(256), rounded up. + var b256 = new Uint8Array(size); + // Process the characters. + while (source[psz]) { + // Decode character + var carry = BASE_MAP[source.charCodeAt(psz)]; + // Invalid character + if (carry === 255) { return } + var i = 0; + for (var it3 = size - 1; (carry !== 0 || i < length) && (it3 !== -1); it3--, i++) { + carry += (BASE * b256[it3]) >>> 0; + b256[it3] = (carry % 256) >>> 0; + carry = (carry / 256) >>> 0; + } + if (carry !== 0) { throw new Error('Non-zero carry') } + length = i; + psz++; + } + // Skip leading zeroes in b256. + var it4 = size - length; + while (it4 !== size && b256[it4] === 0) { + it4++; + } + var vch = _Buffer.allocUnsafe(zeroes + (size - it4)); + vch.fill(0x00, 0, zeroes); + var j = zeroes; + while (it4 !== size) { + vch[j++] = b256[it4++]; + } + return vch + } + function decode (string) { + var buffer = decodeUnsafe(string); + if (buffer) { return buffer } + throw new Error('Non-base' + BASE + ' character') + } + return { + encode: encode, + decodeUnsafe: decodeUnsafe, + decode: decode + } +} +var src$1 = base$1; + +var basex = src$1; +var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; + +var bs58 = basex(ALPHABET); + +var base58 = bs58; +var Buffer$1 = safeBuffer.exports.Buffer; + +var base = function (checksumFn) { + // Encode a buffer as a base58-check encoded string + function encode (payload) { + var checksum = checksumFn(payload); + + return base58.encode(Buffer$1.concat([ + payload, + checksum + ], payload.length + 4)) + } + + function decodeRaw (buffer) { + var payload = buffer.slice(0, -4); + var checksum = buffer.slice(-4); + var newChecksum = checksumFn(payload); + + if (checksum[0] ^ newChecksum[0] | + checksum[1] ^ newChecksum[1] | + checksum[2] ^ newChecksum[2] | + checksum[3] ^ newChecksum[3]) return + + return payload + } + + // Decode a base58-check encoded string to a buffer, no result if checksum is wrong + function decodeUnsafe (string) { + var buffer = base58.decodeUnsafe(string); + if (!buffer) return + + return decodeRaw(buffer) + } + + function decode (string) { + var buffer = base58.decode(string); + var payload = decodeRaw(buffer); + if (!payload) throw new Error('Invalid checksum') + return payload + } + + return { + encode: encode, + decode: decode, + decodeUnsafe: decodeUnsafe + } +}; + +var createHash$1 = createHash$3; +var bs58checkBase = base; + +// SHA256(SHA256(buffer)) +function sha256x2 (buffer) { + var tmp = createHash$1('sha256').update(buffer).digest(); + return createHash$1('sha256').update(tmp).digest() +} + +var bs58check$4 = bs58checkBase(sha256x2); + +Object.defineProperty(p2pkh$1, '__esModule', { value: true }); +p2pkh$1.p2pkh = void 0; +const bcrypto$3 = crypto$3; +const networks_1$3 = networks; +const bscript$3 = script; +const types_1$3 = types$2; +const lazy$3 = lazy$7; +const bs58check$3 = bs58check$4; +const OPS$3 = bscript$3.OPS; +// input: {signature} {pubkey} +// output: OP_DUP OP_HASH160 {hash160(pubkey)} OP_EQUALVERIFY OP_CHECKSIG +function p2pkh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.pubkey && !a.input) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$3.typeforce)( + { + network: types_1$3.typeforce.maybe(types_1$3.typeforce.Object), + address: types_1$3.typeforce.maybe(types_1$3.typeforce.String), + hash: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(20)), + output: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(25)), + pubkey: types_1$3.typeforce.maybe(types_1$3.isPoint), + signature: types_1$3.typeforce.maybe(bscript$3.isCanonicalScriptSignature), + input: types_1$3.typeforce.maybe(types_1$3.typeforce.Buffer), + }, + a, + ); + const _address = lazy$3.value(() => { + const payload = bs58check$3.decode(a.address); + const version = payload.readUInt8(0); + const hash = payload.slice(1); + return { version, hash }; + }); + const _chunks = lazy$3.value(() => { + return bscript$3.decompile(a.input); + }); + const network = a.network || networks_1$3.bitcoin; + const o = { name: 'p2pkh', network }; + lazy$3.prop(o, 'address', () => { + if (!o.hash) return; + const payload = Buffer.allocUnsafe(21); + payload.writeUInt8(network.pubKeyHash, 0); + o.hash.copy(payload, 1); + return bs58check$3.encode(payload); + }); + lazy$3.prop(o, 'hash', () => { + if (a.output) return a.output.slice(3, 23); + if (a.address) return _address().hash; + if (a.pubkey || o.pubkey) return bcrypto$3.hash160(a.pubkey || o.pubkey); + }); + lazy$3.prop(o, 'output', () => { + if (!o.hash) return; + return bscript$3.compile([ + OPS$3.OP_DUP, + OPS$3.OP_HASH160, + o.hash, + OPS$3.OP_EQUALVERIFY, + OPS$3.OP_CHECKSIG, + ]); + }); + lazy$3.prop(o, 'pubkey', () => { + if (!a.input) return; + return _chunks()[1]; + }); + lazy$3.prop(o, 'signature', () => { + if (!a.input) return; + return _chunks()[0]; + }); + lazy$3.prop(o, 'input', () => { + if (!a.pubkey) return; + if (!a.signature) return; + return bscript$3.compile([a.signature, a.pubkey]); + }); + lazy$3.prop(o, 'witness', () => { + if (!o.input) return; + return []; + }); + // extended validation + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (_address().version !== network.pubKeyHash) + throw new TypeError('Invalid version or Network mismatch'); + if (_address().hash.length !== 20) throw new TypeError('Invalid address'); + hash = _address().hash; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 25 || + a.output[0] !== OPS$3.OP_DUP || + a.output[1] !== OPS$3.OP_HASH160 || + a.output[2] !== 0x14 || + a.output[23] !== OPS$3.OP_EQUALVERIFY || + a.output[24] !== OPS$3.OP_CHECKSIG + ) + throw new TypeError('Output is invalid'); + const hash2 = a.output.slice(3, 23); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (a.pubkey) { + const pkh = bcrypto$3.hash160(a.pubkey); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + else hash = pkh; + } + if (a.input) { + const chunks = _chunks(); + if (chunks.length !== 2) throw new TypeError('Input is invalid'); + if (!bscript$3.isCanonicalScriptSignature(chunks[0])) + throw new TypeError('Input has invalid signature'); + if (!(0, types_1$3.isPoint)(chunks[1])) + throw new TypeError('Input has invalid pubkey'); + if (a.signature && !a.signature.equals(chunks[0])) + throw new TypeError('Signature mismatch'); + if (a.pubkey && !a.pubkey.equals(chunks[1])) + throw new TypeError('Pubkey mismatch'); + const pkh = bcrypto$3.hash160(chunks[1]); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + } + } + return Object.assign(o, a); +} +p2pkh$1.p2pkh = p2pkh; + +var p2sh$1 = {}; + +Object.defineProperty(p2sh$1, '__esModule', { value: true }); +p2sh$1.p2sh = void 0; +const bcrypto$2 = crypto$3; +const networks_1$2 = networks; +const bscript$2 = script; +const types_1$2 = types$2; +const lazy$2 = lazy$7; +const bs58check$2 = bs58check$4; +const OPS$2 = bscript$2.OPS; +function stacksEqual$1(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +// input: [redeemScriptSig ...] {redeemScript} +// witness: +// output: OP_HASH160 {hash160(redeemScript)} OP_EQUAL +function p2sh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.redeem && !a.input) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$2.typeforce)( + { + network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), + address: types_1$2.typeforce.maybe(types_1$2.typeforce.String), + hash: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(20)), + output: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(23)), + redeem: types_1$2.typeforce.maybe({ + network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), + output: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), + input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), + witness: types_1$2.typeforce.maybe( + types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), + ), + }), + input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), + witness: types_1$2.typeforce.maybe( + types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), + ), + }, + a, + ); + let network = a.network; + if (!network) { + network = (a.redeem && a.redeem.network) || networks_1$2.bitcoin; + } + const o = { network }; + const _address = lazy$2.value(() => { + const payload = bs58check$2.decode(a.address); + const version = payload.readUInt8(0); + const hash = payload.slice(1); + return { version, hash }; + }); + const _chunks = lazy$2.value(() => { + return bscript$2.decompile(a.input); + }); + const _redeem = lazy$2.value(() => { + const chunks = _chunks(); + return { + network, + output: chunks[chunks.length - 1], + input: bscript$2.compile(chunks.slice(0, -1)), + witness: a.witness || [], + }; + }); + // output dependents + lazy$2.prop(o, 'address', () => { + if (!o.hash) return; + const payload = Buffer.allocUnsafe(21); + payload.writeUInt8(o.network.scriptHash, 0); + o.hash.copy(payload, 1); + return bs58check$2.encode(payload); + }); + lazy$2.prop(o, 'hash', () => { + // in order of least effort + if (a.output) return a.output.slice(2, 22); + if (a.address) return _address().hash; + if (o.redeem && o.redeem.output) return bcrypto$2.hash160(o.redeem.output); + }); + lazy$2.prop(o, 'output', () => { + if (!o.hash) return; + return bscript$2.compile([OPS$2.OP_HASH160, o.hash, OPS$2.OP_EQUAL]); + }); + // input dependents + lazy$2.prop(o, 'redeem', () => { + if (!a.input) return; + return _redeem(); + }); + lazy$2.prop(o, 'input', () => { + if (!a.redeem || !a.redeem.input || !a.redeem.output) return; + return bscript$2.compile( + [].concat(bscript$2.decompile(a.redeem.input), a.redeem.output), + ); + }); + lazy$2.prop(o, 'witness', () => { + if (o.redeem && o.redeem.witness) return o.redeem.witness; + if (o.input) return []; + }); + lazy$2.prop(o, 'name', () => { + const nameParts = ['p2sh']; + if (o.redeem !== undefined && o.redeem.name !== undefined) + nameParts.push(o.redeem.name); + return nameParts.join('-'); + }); + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (_address().version !== network.scriptHash) + throw new TypeError('Invalid version or Network mismatch'); + if (_address().hash.length !== 20) throw new TypeError('Invalid address'); + hash = _address().hash; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 23 || + a.output[0] !== OPS$2.OP_HASH160 || + a.output[1] !== 0x14 || + a.output[22] !== OPS$2.OP_EQUAL + ) + throw new TypeError('Output is invalid'); + const hash2 = a.output.slice(2, 22); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + // inlined to prevent 'no-inner-declarations' failing + const checkRedeem = redeem => { + // is the redeem output empty/invalid? + if (redeem.output) { + const decompile = bscript$2.decompile(redeem.output); + if (!decompile || decompile.length < 1) + throw new TypeError('Redeem.output too short'); + // match hash against other sources + const hash2 = bcrypto$2.hash160(redeem.output); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (redeem.input) { + const hasInput = redeem.input.length > 0; + const hasWitness = redeem.witness && redeem.witness.length > 0; + if (!hasInput && !hasWitness) throw new TypeError('Empty input'); + if (hasInput && hasWitness) + throw new TypeError('Input and witness provided'); + if (hasInput) { + const richunks = bscript$2.decompile(redeem.input); + if (!bscript$2.isPushOnly(richunks)) + throw new TypeError('Non push-only scriptSig'); + } + } + }; + if (a.input) { + const chunks = _chunks(); + if (!chunks || chunks.length < 1) throw new TypeError('Input too short'); + if (!Buffer.isBuffer(_redeem().output)) + throw new TypeError('Input is invalid'); + checkRedeem(_redeem()); + } + if (a.redeem) { + if (a.redeem.network && a.redeem.network !== network) + throw new TypeError('Network mismatch'); + if (a.input) { + const redeem = _redeem(); + if (a.redeem.output && !a.redeem.output.equals(redeem.output)) + throw new TypeError('Redeem.output mismatch'); + if (a.redeem.input && !a.redeem.input.equals(redeem.input)) + throw new TypeError('Redeem.input mismatch'); + } + checkRedeem(a.redeem); + } + if (a.witness) { + if ( + a.redeem && + a.redeem.witness && + !stacksEqual$1(a.redeem.witness, a.witness) + ) + throw new TypeError('Witness and redeem.witness mismatch'); + } } + return Object.assign(o, a); +} +p2sh$1.p2sh = p2sh; - _createClass(FabricBridge, [{ - key: "_handleRemoteMessage", - value: function _handleRemoteMessage(message) { - console.log('Remote message:', message); +var p2wpkh$1 = {}; - this._syncState(); +Object.defineProperty(p2wpkh$1, '__esModule', { value: true }); +p2wpkh$1.p2wpkh = void 0; +const bcrypto$1 = crypto$3; +const networks_1$1 = networks; +const bscript$1 = script; +const types_1$1 = types$2; +const lazy$1 = lazy$7; +const bech32_1$1 = dist$1; +const OPS$1 = bscript$1.OPS; +const EMPTY_BUFFER$1 = Buffer.alloc(0); +// witness: {signature} {pubKey} +// input: <> +// output: OP_0 {pubKeyHash} +function p2wpkh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.pubkey && !a.witness) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1$1.typeforce)( + { + address: types_1$1.typeforce.maybe(types_1$1.typeforce.String), + hash: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(20)), + input: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(0)), + network: types_1$1.typeforce.maybe(types_1$1.typeforce.Object), + output: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(22)), + pubkey: types_1$1.typeforce.maybe(types_1$1.isPoint), + signature: types_1$1.typeforce.maybe(bscript$1.isCanonicalScriptSignature), + witness: types_1$1.typeforce.maybe( + types_1$1.typeforce.arrayOf(types_1$1.typeforce.Buffer), + ), + }, + a, + ); + const _address = lazy$1.value(() => { + const result = bech32_1$1.bech32.decode(a.address); + const version = result.words.shift(); + const data = bech32_1$1.bech32.fromWords(result.words); + return { + version, + prefix: result.prefix, + data: Buffer.from(data), + }; + }); + const network = a.network || networks_1$1.bitcoin; + const o = { name: 'p2wpkh', network }; + lazy$1.prop(o, 'address', () => { + if (!o.hash) return; + const words = bech32_1$1.bech32.toWords(o.hash); + words.unshift(0x00); + return bech32_1$1.bech32.encode(network.bech32, words); + }); + lazy$1.prop(o, 'hash', () => { + if (a.output) return a.output.slice(2, 22); + if (a.address) return _address().data; + if (a.pubkey || o.pubkey) return bcrypto$1.hash160(a.pubkey || o.pubkey); + }); + lazy$1.prop(o, 'output', () => { + if (!o.hash) return; + return bscript$1.compile([OPS$1.OP_0, o.hash]); + }); + lazy$1.prop(o, 'pubkey', () => { + if (a.pubkey) return a.pubkey; + if (!a.witness) return; + return a.witness[1]; + }); + lazy$1.prop(o, 'signature', () => { + if (!a.witness) return; + return a.witness[0]; + }); + lazy$1.prop(o, 'input', () => { + if (!o.witness) return; + return EMPTY_BUFFER$1; + }); + lazy$1.prop(o, 'witness', () => { + if (!a.pubkey) return; + if (!a.signature) return; + return [a.signature, a.pubkey]; + }); + // extended validation + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (network && network.bech32 !== _address().prefix) + throw new TypeError('Invalid prefix or Network mismatch'); + if (_address().version !== 0x00) + throw new TypeError('Invalid address version'); + if (_address().data.length !== 20) + throw new TypeError('Invalid address data'); + hash = _address().data; } - }, { - key: "_handleRemoteError", - value: function _handleRemoteError(error) { - console.log('Remote error:', error); + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; } - }, { - key: "_syncState", - value: function _syncState() { - this.setState({ - status: this.remote._state.status, - messages: this.remote._state.messages, - meta: this.remote._state.meta - }); + if (a.output) { + if ( + a.output.length !== 22 || + a.output[0] !== OPS$1.OP_0 || + a.output[1] !== 0x14 + ) + throw new TypeError('Output is invalid'); + if (hash.length > 0 && !hash.equals(a.output.slice(2))) + throw new TypeError('Hash mismatch'); + else hash = a.output.slice(2); } - }, { - key: "componentDidMount", - value: function componentDidMount() { - console.log('bridge mounted! starting...'); // this.agent.executeMethod('connect'); - // this.process.executeMethod('connect'); + if (a.pubkey) { + const pkh = bcrypto$1.hash160(a.pubkey); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + else hash = pkh; + if (!(0, types_1$1.isPoint)(a.pubkey) || a.pubkey.length !== 33) + throw new TypeError('Invalid pubkey for p2wpkh'); + } + if (a.witness) { + if (a.witness.length !== 2) throw new TypeError('Witness is invalid'); + if (!bscript$1.isCanonicalScriptSignature(a.witness[0])) + throw new TypeError('Witness has invalid signature'); + if (!(0, types_1$1.isPoint)(a.witness[1]) || a.witness[1].length !== 33) + throw new TypeError('Witness has invalid pubkey'); + if (a.signature && !a.signature.equals(a.witness[0])) + throw new TypeError('Signature mismatch'); + if (a.pubkey && !a.pubkey.equals(a.witness[1])) + throw new TypeError('Pubkey mismatch'); + const pkh = bcrypto$1.hash160(a.witness[1]); + if (hash.length > 0 && !hash.equals(pkh)) + throw new TypeError('Hash mismatch'); + } + } + return Object.assign(o, a); +} +p2wpkh$1.p2wpkh = p2wpkh; - this.start(); +var p2wsh$1 = {}; + +Object.defineProperty(p2wsh$1, '__esModule', { value: true }); +p2wsh$1.p2wsh = void 0; +const bcrypto = crypto$3; +const networks_1 = networks; +const bscript = script; +const types_1 = types$2; +const lazy = lazy$7; +const bech32_1 = dist$1; +const OPS = bscript.OPS; +const EMPTY_BUFFER = Buffer.alloc(0); +function stacksEqual(a, b) { + if (a.length !== b.length) return false; + return a.every((x, i) => { + return x.equals(b[i]); + }); +} +function chunkHasUncompressedPubkey(chunk) { + if ( + Buffer.isBuffer(chunk) && + chunk.length === 65 && + chunk[0] === 0x04 && + (0, types_1.isPoint)(chunk) + ) { + return true; + } else { + return false; + } +} +// input: <> +// witness: [redeemScriptSig ...] {redeemScript} +// output: OP_0 {sha256(redeemScript)} +function p2wsh(a, opts) { + if (!a.address && !a.hash && !a.output && !a.redeem && !a.witness) + throw new TypeError('Not enough data'); + opts = Object.assign({ validate: true }, opts || {}); + (0, types_1.typeforce)( + { + network: types_1.typeforce.maybe(types_1.typeforce.Object), + address: types_1.typeforce.maybe(types_1.typeforce.String), + hash: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)), + output: types_1.typeforce.maybe(types_1.typeforce.BufferN(34)), + redeem: types_1.typeforce.maybe({ + input: types_1.typeforce.maybe(types_1.typeforce.Buffer), + network: types_1.typeforce.maybe(types_1.typeforce.Object), + output: types_1.typeforce.maybe(types_1.typeforce.Buffer), + witness: types_1.typeforce.maybe( + types_1.typeforce.arrayOf(types_1.typeforce.Buffer), + ), + }), + input: types_1.typeforce.maybe(types_1.typeforce.BufferN(0)), + witness: types_1.typeforce.maybe( + types_1.typeforce.arrayOf(types_1.typeforce.Buffer), + ), + }, + a, + ); + const _address = lazy.value(() => { + const result = bech32_1.bech32.decode(a.address); + const version = result.words.shift(); + const data = bech32_1.bech32.fromWords(result.words); + return { + version, + prefix: result.prefix, + data: Buffer.from(data), + }; + }); + const _rchunks = lazy.value(() => { + return bscript.decompile(a.redeem.input); + }); + let network = a.network; + if (!network) { + network = (a.redeem && a.redeem.network) || networks_1.bitcoin; + } + const o = { network }; + lazy.prop(o, 'address', () => { + if (!o.hash) return; + const words = bech32_1.bech32.toWords(o.hash); + words.unshift(0x00); + return bech32_1.bech32.encode(network.bech32, words); + }); + lazy.prop(o, 'hash', () => { + if (a.output) return a.output.slice(2); + if (a.address) return _address().data; + if (o.redeem && o.redeem.output) return bcrypto.sha256(o.redeem.output); + }); + lazy.prop(o, 'output', () => { + if (!o.hash) return; + return bscript.compile([OPS.OP_0, o.hash]); + }); + lazy.prop(o, 'redeem', () => { + if (!a.witness) return; + return { + output: a.witness[a.witness.length - 1], + input: EMPTY_BUFFER, + witness: a.witness.slice(0, -1), + }; + }); + lazy.prop(o, 'input', () => { + if (!o.witness) return; + return EMPTY_BUFFER; + }); + lazy.prop(o, 'witness', () => { + // transform redeem input to witness stack? + if ( + a.redeem && + a.redeem.input && + a.redeem.input.length > 0 && + a.redeem.output && + a.redeem.output.length > 0 + ) { + const stack = bscript.toStack(_rchunks()); + // assign, and blank the existing input + o.redeem = Object.assign({ witness: stack }, a.redeem); + o.redeem.input = EMPTY_BUFFER; + return [].concat(stack, a.redeem.output); } - }, { - key: "connect", - value: function connect() { - this._syncState(); + if (!a.redeem) return; + if (!a.redeem.output) return; + if (!a.redeem.witness) return; + return [].concat(a.redeem.witness, a.redeem.output); + }); + lazy.prop(o, 'name', () => { + const nameParts = ['p2wsh']; + if (o.redeem !== undefined && o.redeem.name !== undefined) + nameParts.push(o.redeem.name); + return nameParts.join('-'); + }); + // extended validation + if (opts.validate) { + let hash = Buffer.from([]); + if (a.address) { + if (_address().prefix !== network.bech32) + throw new TypeError('Invalid prefix or Network mismatch'); + if (_address().version !== 0x00) + throw new TypeError('Invalid address version'); + if (_address().data.length !== 32) + throw new TypeError('Invalid address data'); + hash = _address().data; + } + if (a.hash) { + if (hash.length > 0 && !hash.equals(a.hash)) + throw new TypeError('Hash mismatch'); + else hash = a.hash; + } + if (a.output) { + if ( + a.output.length !== 34 || + a.output[0] !== OPS.OP_0 || + a.output[1] !== 0x20 + ) + throw new TypeError('Output is invalid'); + const hash2 = a.output.slice(2); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (a.redeem) { + if (a.redeem.network && a.redeem.network !== network) + throw new TypeError('Network mismatch'); + // is there two redeem sources? + if ( + a.redeem.input && + a.redeem.input.length > 0 && + a.redeem.witness && + a.redeem.witness.length > 0 + ) + throw new TypeError('Ambiguous witness source'); + // is the redeem output non-empty? + if (a.redeem.output) { + if (bscript.decompile(a.redeem.output).length === 0) + throw new TypeError('Redeem.output is invalid'); + // match hash against other sources + const hash2 = bcrypto.sha256(a.redeem.output); + if (hash.length > 0 && !hash.equals(hash2)) + throw new TypeError('Hash mismatch'); + else hash = hash2; + } + if (a.redeem.input && !bscript.isPushOnly(_rchunks())) + throw new TypeError('Non push-only scriptSig'); + if ( + a.witness && + a.redeem.witness && + !stacksEqual(a.witness, a.redeem.witness) + ) + throw new TypeError('Witness and redeem.witness mismatch'); + if ( + (a.redeem.input && _rchunks().some(chunkHasUncompressedPubkey)) || + (a.redeem.output && + (bscript.decompile(a.redeem.output) || []).some( + chunkHasUncompressedPubkey, + )) + ) { + throw new TypeError( + 'redeem.input or redeem.output contains uncompressed pubkey', + ); + } + } + if (a.witness && a.witness.length > 0) { + const wScript = a.witness[a.witness.length - 1]; + if (a.redeem && a.redeem.output && !a.redeem.output.equals(wScript)) + throw new TypeError('Witness and redeem.output mismatch'); + if ( + a.witness.some(chunkHasUncompressedPubkey) || + (bscript.decompile(wScript) || []).some(chunkHasUncompressedPubkey) + ) + throw new TypeError('Witness contains uncompressed pubkey'); + } + } + return Object.assign(o, a); +} +p2wsh$1.p2wsh = p2wsh; - this.remote.connect(); +(function (exports) { + Object.defineProperty(exports, '__esModule', { value: true }); + exports.p2wsh = exports.p2wpkh = exports.p2sh = exports.p2pkh = exports.p2pk = exports.p2ms = exports.embed = void 0; + const embed_1 = embed; + Object.defineProperty(exports, 'embed', { + enumerable: true, + get: function() { + return embed_1.p2data; + }, + }); + const p2ms_1 = p2ms$1; + Object.defineProperty(exports, 'p2ms', { + enumerable: true, + get: function() { + return p2ms_1.p2ms; + }, + }); + const p2pk_1 = p2pk$1; + Object.defineProperty(exports, 'p2pk', { + enumerable: true, + get: function() { + return p2pk_1.p2pk; + }, + }); + const p2pkh_1 = p2pkh$1; + Object.defineProperty(exports, 'p2pkh', { + enumerable: true, + get: function() { + return p2pkh_1.p2pkh; + }, + }); + const p2sh_1 = p2sh$1; + Object.defineProperty(exports, 'p2sh', { + enumerable: true, + get: function() { + return p2sh_1.p2sh; + }, + }); + const p2wpkh_1 = p2wpkh$1; + Object.defineProperty(exports, 'p2wpkh', { + enumerable: true, + get: function() { + return p2wpkh_1.p2wpkh; + }, + }); + const p2wsh_1 = p2wsh$1; + Object.defineProperty(exports, 'p2wsh', { + enumerable: true, + get: function() { + return p2wsh_1.p2wsh; + }, + }); + // TODO + // witness commitment +} (payments$1)); - this._syncState(); +var src = {}; + +var bip32$1 = {}; + +var crypto$2 = {}; + +var createHmac$1 = require$$0__default["default"].createHmac; + +Object.defineProperty(crypto$2, "__esModule", { value: true }); +const createHash = createHash$3; +const createHmac = createHmac$1; +function hash160(buffer) { + const sha256Hash = createHash('sha256') + .update(buffer) + .digest(); + try { + return createHash('rmd160') + .update(sha256Hash) + .digest(); } - }, { - key: "executeMethod", - value: function executeMethod(name, params) { - return this.remote.executeMethod(name, params); + catch (err) { + return createHash('ripemd160') + .update(sha256Hash) + .digest(); } - }, { - key: "ping", - value: function ping() { - this.remote.ping(); +} +crypto$2.hash160 = hash160; +function hmacSHA512(key, data) { + return createHmac('sha512', key) + .update(data) + .digest(); +} +crypto$2.hmacSHA512 = hmacSHA512; + +var testecc = {}; + +Object.defineProperty(testecc, "__esModule", { value: true }); +const h = (hex) => Buffer.from(hex, 'hex'); +function testEcc(ecc) { + assert(ecc.isPoint(h('0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); + assert(!ecc.isPoint(h('030000000000000000000000000000000000000000000000000000000000000005'))); + assert(ecc.isPrivate(h('79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); + // order - 1 + assert(ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); + // 0 + assert(!ecc.isPrivate(h('0000000000000000000000000000000000000000000000000000000000000000'))); + // order + assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141'))); + // order + 1 + assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142'))); + assert(Buffer.from(ecc.pointFromScalar(h('b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af'))).equals(h('02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99'))); + assert(Buffer.from(ecc.pointAddScalar(h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('0000000000000000000000000000000000000000000000000000000000000003'))).equals(h('02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5'))); + assert(Buffer.from(ecc.privateAdd(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e'), h('0000000000000000000000000000000000000000000000000000000000000002'))).equals(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); + assert(Buffer.from(ecc.sign(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))).equals(h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); + assert(ecc.verify(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); + if (ecc.signSchnorr) { + assert(Buffer.from(ecc.signSchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9'), h('c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906'))).equals(h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); } - }, { - key: "render", - value: function render() { - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - floated: "right" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - onClick: this.ping.bind(this) - }, "Ping ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "info" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - onClick: this.connect.bind(this) - }, "Connect ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "lightning" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, { - as: "h3" - }, "Bridge")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed, null, this.state.messages.map(function (message, i) { - return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Event, { - size: "small", - key: i, - style: { - fontSize: '0.8em', - fontFamily: 'monospace' - } - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Content, null, /*#__PURE__*/React__default["default"].createElement("div", { - style: { - color: 'black' - } - }, JSON.stringify(message, null, ' ')))); - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - extra: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "info" - }), " ", this.remote._state.status), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "mail" - }), " ", this.remote._state.meta.messages.count)))); + if (ecc.verifySchnorr) { + assert(ecc.verifySchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8'), h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); } - }, { - key: "send", - value: function () { - var _send = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(message) { - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", this.remote.send(message)); +} +testecc.testEcc = testEcc; +function assert(bool) { + if (!bool) + throw new Error('ecc library invalid'); +} - case 1: - case "end": - return _context.stop(); - } - } - }, _callee, this); - })); +var bs58check$1 = bs58check$4; - function send(_x) { - return _send.apply(this, arguments); - } +function decodeRaw (buffer, version) { + // check version only if defined + if (version !== undefined && buffer[0] !== version) throw new Error('Invalid network version') - return send; - }() - }, { - key: "start", - value: function () { - var _start = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - this.remote.on('ready', this.props.remoteReady.bind(this)); - this.remote.on('message', this._handleRemoteMessage.bind(this)); - this.remote.on('error', this._handleRemoteError.bind(this)); - this.connect(); + // uncompressed + if (buffer.length === 33) { + return { + version: buffer[0], + privateKey: buffer.slice(1, 33), + compressed: false + } + } - case 4: - case "end": - return _context2.stop(); + // invalid length + if (buffer.length !== 34) throw new Error('Invalid WIF length') + + // invalid compression flag + if (buffer[33] !== 0x01) throw new Error('Invalid compression flag') + + return { + version: buffer[0], + privateKey: buffer.slice(1, 33), + compressed: true + } +} + +function encodeRaw (version, privateKey, compressed) { + var result = new Buffer(compressed ? 34 : 33); + + result.writeUInt8(version, 0); + privateKey.copy(result, 1); + + if (compressed) { + result[33] = 0x01; + } + + return result +} + +function decode (string, version) { + return decodeRaw(bs58check$1.decode(string), version) +} + +function encode (version, privateKey, compressed) { + if (typeof version === 'number') return bs58check$1.encode(encodeRaw(version, privateKey, compressed)) + + return bs58check$1.encode( + encodeRaw( + version.version, + version.privateKey, + version.compressed + ) + ) +} + +var wif$1 = { + decode: decode, + decodeRaw: decodeRaw, + encode: encode, + encodeRaw: encodeRaw +}; + +Object.defineProperty(bip32$1, "__esModule", { value: true }); +const crypto$1 = crypto$2; +const testecc_1 = testecc; +const bs58check = bs58check$4; +const typeforce = typeforce_1; +const wif = wif$1; +function BIP32Factory(ecc) { + testecc_1.testEcc(ecc); + const UINT256_TYPE = typeforce.BufferN(32); + const NETWORK_TYPE = typeforce.compile({ + wif: typeforce.UInt8, + bip32: { + public: typeforce.UInt32, + private: typeforce.UInt32, + }, + }); + const BITCOIN = { + messagePrefix: '\x18Bitcoin Signed Message:\n', + bech32: 'bc', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4, + }, + pubKeyHash: 0x00, + scriptHash: 0x05, + wif: 0x80, + }; + const HIGHEST_BIT = 0x80000000; + const UINT31_MAX = Math.pow(2, 31) - 1; + function BIP32Path(value) { + return (typeforce.String(value) && value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) !== null); + } + function UInt31(value) { + return typeforce.UInt32(value) && value <= UINT31_MAX; + } + class BIP32 { + constructor(__D, __Q, chainCode, network, __DEPTH = 0, __INDEX = 0, __PARENT_FINGERPRINT = 0x00000000) { + this.__D = __D; + this.__Q = __Q; + this.chainCode = chainCode; + this.network = network; + this.__DEPTH = __DEPTH; + this.__INDEX = __INDEX; + this.__PARENT_FINGERPRINT = __PARENT_FINGERPRINT; + typeforce(NETWORK_TYPE, network); + this.lowR = false; + } + get depth() { + return this.__DEPTH; + } + get index() { + return this.__INDEX; + } + get parentFingerprint() { + return this.__PARENT_FINGERPRINT; + } + get publicKey() { + if (this.__Q === undefined) + this.__Q = Buffer.from(ecc.pointFromScalar(this.__D, true)); + return this.__Q; + } + get privateKey() { + return this.__D; + } + get identifier() { + return crypto$1.hash160(this.publicKey); + } + get fingerprint() { + return this.identifier.slice(0, 4); + } + get compressed() { + return true; + } + // Private === not neutered + // Public === neutered + isNeutered() { + return this.__D === undefined; + } + neutered() { + return fromPublicKeyLocal(this.publicKey, this.chainCode, this.network, this.depth, this.index, this.parentFingerprint); + } + toBase58() { + const network = this.network; + const version = !this.isNeutered() + ? network.bip32.private + : network.bip32.public; + const buffer = Buffer.allocUnsafe(78); + // 4 bytes: version bytes + buffer.writeUInt32BE(version, 0); + // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, .... + buffer.writeUInt8(this.depth, 4); + // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) + buffer.writeUInt32BE(this.parentFingerprint, 5); + // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. + // This is encoded in big endian. (0x00000000 if master key) + buffer.writeUInt32BE(this.index, 9); + // 32 bytes: the chain code + this.chainCode.copy(buffer, 13); + // 33 bytes: the public key or private key data + if (!this.isNeutered()) { + // 0x00 + k for private keys + buffer.writeUInt8(0, 45); + this.privateKey.copy(buffer, 46); + // 33 bytes: the public key + } + else { + // X9.62 encoding for public keys + this.publicKey.copy(buffer, 45); + } + return bs58check.encode(buffer); + } + toWIF() { + if (!this.privateKey) + throw new TypeError('Missing private key'); + return wif.encode(this.network.wif, this.privateKey, true); + } + // https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#child-key-derivation-ckd-functions + derive(index) { + typeforce(typeforce.UInt32, index); + const isHardened = index >= HIGHEST_BIT; + const data = Buffer.allocUnsafe(37); + // Hardened child + if (isHardened) { + if (this.isNeutered()) + throw new TypeError('Missing private key for hardened child key'); + // data = 0x00 || ser256(kpar) || ser32(index) + data[0] = 0x00; + this.privateKey.copy(data, 1); + data.writeUInt32BE(index, 33); + // Normal child + } + else { + // data = serP(point(kpar)) || ser32(index) + // = serP(Kpar) || ser32(index) + this.publicKey.copy(data, 0); + data.writeUInt32BE(index, 33); + } + const I = crypto$1.hmacSHA512(this.chainCode, data); + const IL = I.slice(0, 32); + const IR = I.slice(32); + // if parse256(IL) >= n, proceed with the next value for i + if (!ecc.isPrivate(IL)) + return this.derive(index + 1); + // Private parent key -> private child key + let hd; + if (!this.isNeutered()) { + // ki = parse256(IL) + kpar (mod n) + const ki = Buffer.from(ecc.privateAdd(this.privateKey, IL)); + // In case ki == 0, proceed with the next value for i + if (ki == null) + return this.derive(index + 1); + hd = fromPrivateKeyLocal(ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); + // Public parent key -> public child key + } + else { + // Ki = point(parse256(IL)) + Kpar + // = G*IL + Kpar + const Ki = Buffer.from(ecc.pointAddScalar(this.publicKey, IL, true)); + // In case Ki is the point at infinity, proceed with the next value for i + if (Ki === null) + return this.derive(index + 1); + hd = fromPublicKeyLocal(Ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); + } + return hd; + } + deriveHardened(index) { + typeforce(UInt31, index); + // Only derives hardened private keys by default + return this.derive(index + HIGHEST_BIT); + } + derivePath(path) { + typeforce(BIP32Path, path); + let splitPath = path.split('/'); + if (splitPath[0] === 'm') { + if (this.parentFingerprint) + throw new TypeError('Expected master, got child'); + splitPath = splitPath.slice(1); + } + return splitPath.reduce((prevHd, indexStr) => { + let index; + if (indexStr.slice(-1) === `'`) { + index = parseInt(indexStr.slice(0, -1), 10); + return prevHd.deriveHardened(index); + } + else { + index = parseInt(indexStr, 10); + return prevHd.derive(index); + } + }, this); + } + sign(hash, lowR) { + if (!this.privateKey) + throw new Error('Missing private key'); + if (lowR === undefined) + lowR = this.lowR; + if (lowR === false) { + return Buffer.from(ecc.sign(hash, this.privateKey)); + } + else { + let sig = Buffer.from(ecc.sign(hash, this.privateKey)); + const extraData = Buffer.alloc(32, 0); + let counter = 0; + // if first try is lowR, skip the loop + // for second try and on, add extra entropy counting up + while (sig[0] > 0x7f) { + counter++; + extraData.writeUIntLE(counter, 0, 6); + sig = Buffer.from(ecc.sign(hash, this.privateKey, extraData)); + } + return sig; } - } - }, _callee2, this); - })); - - function start() { - return _start.apply(this, arguments); - } - - return start; - }() - }]); - - return FabricBridge; -}(React.Component); - -var src = {}; + } + signSchnorr(hash) { + if (!this.privateKey) + throw new Error('Missing private key'); + if (!ecc.signSchnorr) + throw new Error('signSchnorr not supported by ecc library'); + return Buffer.from(ecc.signSchnorr(hash, this.privateKey)); + } + verify(hash, signature) { + return ecc.verify(hash, this.publicKey, signature); + } + verifySchnorr(hash, signature) { + if (!ecc.verifySchnorr) + throw new Error('verifySchnorr not supported by ecc library'); + return ecc.verifySchnorr(hash, this.publicKey.subarray(1, 33), signature); + } + } + function fromBase58(inString, network) { + const buffer = bs58check.decode(inString); + if (buffer.length !== 78) + throw new TypeError('Invalid buffer length'); + network = network || BITCOIN; + // 4 bytes: version bytes + const version = buffer.readUInt32BE(0); + if (version !== network.bip32.private && version !== network.bip32.public) + throw new TypeError('Invalid network version'); + // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, ... + const depth = buffer[4]; + // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) + const parentFingerprint = buffer.readUInt32BE(5); + if (depth === 0) { + if (parentFingerprint !== 0x00000000) + throw new TypeError('Invalid parent fingerprint'); + } + // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. + // This is encoded in MSB order. (0x00000000 if master key) + const index = buffer.readUInt32BE(9); + if (depth === 0 && index !== 0) + throw new TypeError('Invalid index'); + // 32 bytes: the chain code + const chainCode = buffer.slice(13, 45); + let hd; + // 33 bytes: private key data (0x00 + k) + if (version === network.bip32.private) { + if (buffer.readUInt8(45) !== 0x00) + throw new TypeError('Invalid private key'); + const k = buffer.slice(46, 78); + hd = fromPrivateKeyLocal(k, chainCode, network, depth, index, parentFingerprint); + // 33 bytes: public key data (0x02 + X or 0x03 + X) + } + else { + const X = buffer.slice(45, 78); + hd = fromPublicKeyLocal(X, chainCode, network, depth, index, parentFingerprint); + } + return hd; + } + function fromPrivateKey(privateKey, chainCode, network) { + return fromPrivateKeyLocal(privateKey, chainCode, network); + } + function fromPrivateKeyLocal(privateKey, chainCode, network, depth, index, parentFingerprint) { + typeforce({ + privateKey: UINT256_TYPE, + chainCode: UINT256_TYPE, + }, { privateKey, chainCode }); + network = network || BITCOIN; + if (!ecc.isPrivate(privateKey)) + throw new TypeError('Private key not in range [1, n)'); + return new BIP32(privateKey, undefined, chainCode, network, depth, index, parentFingerprint); + } + function fromPublicKey(publicKey, chainCode, network) { + return fromPublicKeyLocal(publicKey, chainCode, network); + } + function fromPublicKeyLocal(publicKey, chainCode, network, depth, index, parentFingerprint) { + typeforce({ + publicKey: typeforce.BufferN(33), + chainCode: UINT256_TYPE, + }, { publicKey, chainCode }); + network = network || BITCOIN; + // verify the X coordinate is a point on the curve + if (!ecc.isPoint(publicKey)) + throw new TypeError('Point is not on the curve'); + return new BIP32(undefined, publicKey, chainCode, network, depth, index, parentFingerprint); + } + function fromSeed(seed, network) { + typeforce(typeforce.Buffer, seed); + if (seed.length < 16) + throw new TypeError('Seed should be at least 128 bits'); + if (seed.length > 64) + throw new TypeError('Seed should be at most 512 bits'); + network = network || BITCOIN; + const I = crypto$1.hmacSHA512(Buffer.from('Bitcoin seed', 'utf8'), seed); + const IL = I.slice(0, 32); + const IR = I.slice(32); + return fromPrivateKey(IL, IR, network); + } + return { + fromSeed, + fromBase58, + fromPublicKey, + fromPrivateKey, + }; +} +bip32$1.BIP32Factory = BIP32Factory; -var createHash$1 = require$$0__default["default"].createHash; +Object.defineProperty(src, "__esModule", { value: true }); +var bip32_1 = bip32$1; +src.default = bip32_1.BIP32Factory; +src.BIP32Factory = bip32_1.BIP32Factory; -var pbkdf2 = {}; +// Constants +const { + FABRIC_KEY_DERIVATION_PATH +} = constants$1; -var MAX_ALLOC = Math.pow(2, 30) - 1; // default in iojs +// Node Modules +const crypto = require$$0__default["default"]; -var precondition = function (iterations, keylen) { - if (typeof iterations !== 'number') { - throw new TypeError('Iterations not a number') - } +// Deterministic Random +// TODO: remove +const Generator = dist.exports.default.Generator; - if (iterations < 0) { - throw new TypeError('Bad iterations') - } +// Dependencies +// TODO: remove all external dependencies +const BN = bn.exports; +const EC = elliptic.ec; +const ec = new EC('secp256k1'); +const ecc = require$$5; +const payments = payments$1; - if (typeof keylen !== 'number') { - throw new TypeError('Key length not a number') - } +// Simple Key Management +const BIP32 = src.default; +const bip32 = new BIP32(ecc); +const bip39 = require$$8__default["default"]; - if (keylen < 0 || keylen > MAX_ALLOC || keylen !== keylen) { /* eslint no-self-compare: 0 */ - throw new TypeError('Bad key length') - } -}; +// NOTE: see also @fabric/passport +// expect a bech32m identifier using prefix "id" -var defaultEncoding$1; -/* istanbul ignore next */ -if (commonjsGlobal.process && commonjsGlobal.process.browser) { - defaultEncoding$1 = 'utf-8'; -} else if (commonjsGlobal.process && commonjsGlobal.process.version) { - var pVersionMajor = parseInt(process.version.split('.')[0].slice(1), 10); +/** + * Represents a cryptographic key. + */ +class Key$1 { + /** + * Create an instance of a Fabric Key, either restoring from some known + * values or from prior knowledge. For instance, you can call `new Key()` + * to create a fresh keypair, or `new Key({ public: 'deadbeef...' })` to + * create it from a known public key. + * @param {Object} [settings] Initialization for the key. + * @param {String} [settings.network] Network string. + * @param {String} [settings.seed] Mnemonic seed for initializing the key. + * @param {String} [settings.public] Public key in hex. + * @param {String} [settings.private] Private key in hex. + * @param {String} [settings.purpose=44] Constrains derivations to this space. + */ + constructor (input = {}) { + this.settings = Object.assign({ + debug: false, + network: 'main', + curve: 'secp256k1', + derivation: FABRIC_KEY_DERIVATION_PATH, + mode: 'aes-256-cbc', + prefix: '00', + public: null, + private: null, + purpose: 44, + account: 0, + bits: 256, + hd: true, + seed: null, + password: null, + index: 0, + cipher: { + iv: { + size: 16 + } + }, + witness: true + }, input); - defaultEncoding$1 = pVersionMajor >= 6 ? 'utf-8' : 'binary'; -} else { - defaultEncoding$1 = 'utf-8'; -} -var defaultEncoding_1 = defaultEncoding$1; + this.clock = 0; + this.master = null; + this.private = null; + this.public = null; -var safeBuffer = {exports: {}}; + // Configure Deterministic Random + // WARNING: this will currently loop after 2^32 bits + // TODO: evaluate compression when treating seed phrase as ascii + // TODO: consider using sha256(masterprivkey) or sha256(sha256(...))? + this._starseed = this.settings.seed || crypto.randomBytes(4).readUInt32BE(); -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ + // TODO: design state machine for input (configuration) + if (this.settings.seed) { + this._mode = 'FROM_SEED'; + } else if (this.settings.private) { + this._mode = 'FROM_PRIVATE_KEY'; + } else if (this.settings.xprv) { + this._mode = 'FROM_XPRV'; + } else if (this.settings.xpub) { + this._mode = 'FROM_XPUB'; + } else if (this.settings.pubkey || this.settings.public) { + this._mode = 'FROM_PUBLIC_KEY'; + } else { + this._mode = 'FROM_RANDOM'; + } -(function (module, exports) { - /* eslint-disable node/no-deprecated-api */ - var buffer = require$$0__default$1["default"]; - var Buffer = buffer.Buffer; + if (this.settings.debug) console.debug('mode:', this._mode); - // alternative to using Object.keys for old browsers - function copyProps (src, dst) { - for (var key in src) { - dst[key] = src[key]; - } - } - if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { - module.exports = buffer; - } else { - // Copy properties from require('buffer') - copyProps(buffer, exports); - exports.Buffer = SafeBuffer; - } + switch (this._mode) { + case 'FROM_SEED': + const seed = bip39.mnemonicToSeedSync(this.settings.seed); + const root = bip32.fromSeed(seed); + this.xprv = root.toBase58(); + this.xpub = root.neutered().toBase58(); + this.master = root; + this.keypair = ec.keyFromPrivate(root.privateKey); + // this.address = this.keyring.getAddress().toString(); + this.status = 'seeded'; + break; + case 'FROM_XPRV': + this.master = bip32.fromBase58(this.settings.xprv); + this.xprv = this.master.toBase58(); + this.xpub = this.master.neutered().toBase58(); + this.keypair = ec.keyFromPrivate(this.master.privateKey); + break; + case 'FROM_XPUB': + const xpub = bip32.fromBase58(this.settings.xpub); + this.keypair = ec.keyFromPublic(xpub.publicKey); + break; + case 'FROM_PRIVATE_KEY': + // Key is private + (this.settings.private instanceof Buffer) ? this.settings.private : Buffer.from(this.settings.private, 'hex'); + this.keypair = ec.keyFromPrivate(this.settings.private); + break; + case 'FROM_PUBLIC_KEY': + const pubkey = this.settings.pubkey || this.settings.public; + // Key is only public + this.keypair = ec.keyFromPublic((pubkey instanceof Buffer) ? pubkey : Buffer.from(pubkey, 'hex')); + break; + case 'FROM_RANDOM': + const mnemonic = bip39.generateMnemonic(); + const interim = bip39.mnemonicToSeedSync(mnemonic); + this.master = bip32.fromSeed(interim); + this.keypair = ec.keyFromPrivate(this.master.privateKey); + break; + } - function SafeBuffer (arg, encodingOrOffset, length) { - return Buffer(arg, encodingOrOffset, length) - } + // Read the pair + this.private = ( + !this.settings.seed && + !this.settings.private && + !this.settings.xprv + ) ? false : this.keypair.getPrivate(); - SafeBuffer.prototype = Object.create(Buffer.prototype); + this.public = this.keypair.getPublic(true); - // Copy static methods from Buffer - copyProps(Buffer, SafeBuffer); + // TODO: determine if this makes sense / needs to be private + this.privkey = (this.private) ? this.private.toString() : null; - SafeBuffer.from = function (arg, encodingOrOffset, length) { - if (typeof arg === 'number') { - throw new TypeError('Argument must not be a number') - } - return Buffer(arg, encodingOrOffset, length) - }; + // STANDARD BEGINS HERE + this.pubkey = this.public.encodeCompressed('hex'); - SafeBuffer.alloc = function (size, fill, encoding) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - var buf = Buffer(size); - if (fill !== undefined) { - if (typeof encoding === 'string') { - buf.fill(fill, encoding); - } else { - buf.fill(fill); - } - } else { - buf.fill(0); - } - return buf - }; + // BELOW THIS NON-STANDARD + // DO NOT USE IN PRODUCTION + // this.pubkeyhash = this.keyring.getKeyHash('hex'); + this.pubkeyhash = ''; + this.generator = new Generator(parseInt(this._starseed, 10)); - SafeBuffer.allocUnsafe = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return Buffer(size) - }; + this['@data'] = { + type: 'Key', + public: this.pubkey, + address: this.address + }; - SafeBuffer.allocUnsafeSlow = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return buffer.SlowBuffer(size) - }; -} (safeBuffer, safeBuffer.exports)); + this._state = { + pubkey: this.pubkey + }; -var Buffer$1 = safeBuffer.exports.Buffer; + // Object.defineProperty(this, 'keyring', { enumerable: false }); + Object.defineProperty(this, 'keypair', { enumerable: false }); + Object.defineProperty(this, 'private', { enumerable: false }); -var toBuffer$1 = function (thing, encoding, name) { - if (Buffer$1.isBuffer(thing)) { - return thing - } else if (typeof thing === 'string') { - return Buffer$1.from(thing, encoding) - } else if (ArrayBuffer.isView(thing)) { - return Buffer$1.from(thing.buffer) - } else { - throw new TypeError(name + ' must be a string, a Buffer, a typed array or a DataView') + return this; } -}; -var createHmac; -var hasRequiredCreateHmac; - -function requireCreateHmac () { - if (hasRequiredCreateHmac) return createHmac; - hasRequiredCreateHmac = 1; - createHmac = require$$0__default["default"].createHmac; - return createHmac; -} - -var sync; -var hasRequiredSync; - -function requireSync () { - if (hasRequiredSync) return sync; - hasRequiredSync = 1; - var sizes = { - md5: 16, - sha1: 20, - sha224: 28, - sha256: 32, - sha384: 48, - sha512: 64, - rmd160: 20, - ripemd160: 20 - }; + static Mnemonic (seed) { + return new Key$1({ seed }); + } - var createHmac = requireCreateHmac(); - var Buffer = safeBuffer.exports.Buffer; + get account () { + return this.settings.account; + } - var checkParameters = precondition; - var defaultEncoding = defaultEncoding_1; - var toBuffer = toBuffer$1; + get id () { + return this.pubkeyhash; + } - function pbkdf2 (password, salt, iterations, keylen, digest) { - checkParameters(iterations, keylen); - password = toBuffer(password, defaultEncoding, 'Password'); - salt = toBuffer(salt, defaultEncoding, 'Salt'); + get iv () { + const self = this; + const bits = new BN([...Array(128)].map(() => { + return self.bit().toString(); + }).join(''), 2).toString(16); + return Buffer.from(bits.toString(16), 'hex'); + } - digest = digest || 'sha1'; + get purpose () { + return this.settings.purpose; + } - var DK = Buffer.allocUnsafe(keylen); - var block1 = Buffer.allocUnsafe(salt.length + 4); - salt.copy(block1, 0, 0, salt.length); + bit () { + return this.generator.next.bits(1); + } - var destPos = 0; - var hLen = sizes[digest]; - var l = Math.ceil(keylen / hLen); + deriveAccountReceive (index) { + return this.deriveAddress(index); + } - for (var i = 1; i <= l; i++) { - block1.writeUInt32BE(i, salt.length); + deriveAddress (index = 0, change = 0) { + const pair = this.deriveKeyPair(this.account, index, change); + return payments.p2pkh({ + pubkey: Buffer.from(pair.public, 'hex') + }); + } - var T = createHmac(digest, password).update(block1).digest(); - var U = T; + deriveKeyPair (addressID = 0, change = 0) { + const path = `m/${this.purpose}'/0'/${this.account}'/${change}/${addressID}`; + const derived = this.master.derivePath(path); + const pair = ec.keyFromPrivate(derived.privateKey); + return { + private: pair.getPrivate('hex'), + public: pair.getPublic(true, 'hex') + }; + } - for (var j = 1; j < iterations; j++) { - U = createHmac(digest, password).update(U).digest(); - for (var k = 0; k < hLen; k++) T[k] ^= U[k]; - } + encrypt (value) { + try { + const ivbuff = Buffer.from(this.iv, 'hex'); + const cipher = crypto.createCipheriv(this.settings.mode, this.private.toBuffer(), ivbuff); + let encrypted = cipher.update(value); + encrypted = Buffer.concat([ + encrypted, + cipher.final() + ]); + return ivbuff.toString('hex') + ':' + encrypted.toString('hex'); + } catch (exception) { + console.error('err:', exception); + } + } - T.copy(DK, destPos); - destPos += hLen; - } + decrypt (text) { + if (text instanceof Buffer) text = text.toString('utf8'); - return DK - } + try { + const parts = text.split(':'); + const iv = Buffer.from(parts.shift(), 'hex'); + const blob = Buffer.from(parts.join(':'), 'hex'); + const decipher = crypto.createDecipheriv(this.settings.mode, this.private.toBuffer(), iv); + let decrypted = decipher.update(blob); + decrypted = Buffer.concat([ + decrypted, + decipher.final() + ]); + return decrypted.toString(); + } catch (exception) { + console.error('err:', exception); + } + } - sync = pbkdf2; - return sync; -} - -var async; -var hasRequiredAsync; - -function requireAsync () { - if (hasRequiredAsync) return async; - hasRequiredAsync = 1; - var Buffer = safeBuffer.exports.Buffer; - - var checkParameters = precondition; - var defaultEncoding = defaultEncoding_1; - var sync = requireSync(); - var toBuffer = toBuffer$1; - - var ZERO_BUF; - var subtle = commonjsGlobal.crypto && commonjsGlobal.crypto.subtle; - var toBrowser = { - sha: 'SHA-1', - 'sha-1': 'SHA-1', - sha1: 'SHA-1', - sha256: 'SHA-256', - 'sha-256': 'SHA-256', - sha384: 'SHA-384', - 'sha-384': 'SHA-384', - 'sha-512': 'SHA-512', - sha512: 'SHA-512' - }; - var checks = []; - function checkNative (algo) { - if (commonjsGlobal.process && !commonjsGlobal.process.browser) { - return Promise.resolve(false) - } - if (!subtle || !subtle.importKey || !subtle.deriveBits) { - return Promise.resolve(false) - } - if (checks[algo] !== undefined) { - return checks[algo] - } - ZERO_BUF = ZERO_BUF || Buffer.alloc(8); - var prom = browserPbkdf2(ZERO_BUF, ZERO_BUF, 10, 128, algo) - .then(function () { - return true - }).catch(function () { - return false - }); - checks[algo] = prom; - return prom - } - var nextTick; - function getNextTick () { - if (nextTick) { - return nextTick - } - if (commonjsGlobal.process && commonjsGlobal.process.nextTick) { - nextTick = commonjsGlobal.process.nextTick; - } else if (commonjsGlobal.queueMicrotask) { - nextTick = commonjsGlobal.queueMicrotask; - } else if (commonjsGlobal.setImmediate) { - nextTick = commonjsGlobal.setImmediate; - } else { - nextTick = commonjsGlobal.setTimeout; - } - return nextTick - } - function browserPbkdf2 (password, salt, iterations, length, algo) { - return subtle.importKey( - 'raw', password, { name: 'PBKDF2' }, false, ['deriveBits'] - ).then(function (key) { - return subtle.deriveBits({ - name: 'PBKDF2', - salt: salt, - iterations: iterations, - hash: { - name: algo - } - }, key, length << 3) - }).then(function (res) { - return Buffer.from(res) - }) - } + _sign (msg) { + if (typeof msg !== 'string') msg = JSON.stringify(msg); + const hmac = crypto.createHash('sha256').update(msg).digest('hex'); + return this.keypair.sign(hmac).toDER(); + } - function resolvePromise (promise, callback) { - promise.then(function (out) { - getNextTick()(function () { - callback(null, out); - }); - }, function (e) { - getNextTick()(function () { - callback(e); - }); - }); - } - async = function (password, salt, iterations, keylen, digest, callback) { - if (typeof digest === 'function') { - callback = digest; - digest = undefined; - } + _verify (msg, sig) { + const hmac = crypto.createHash('sha256').update(msg).digest('hex'); + const valid = this.keypair.verify(hmac, sig); + return valid; + } - digest = digest || 'sha1'; - var algo = toBrowser[digest.toLowerCase()]; + derive (path = this.settings.derivation) { + if (!this.master) throw new Error('You cannot derive without a master key. Provide a seed phrase or an xprv.'); + const derived = this.master.derivePath(path); + const options = { + private: derived.privateKey.encodeCompressed('hex'), + public: derived.publicKey.encodeCompressed('hex') + }; - if (!algo || typeof commonjsGlobal.Promise !== 'function') { - getNextTick()(function () { - var out; - try { - out = sync(password, salt, iterations, keylen, digest); - } catch (e) { - return callback(e) - } - callback(null, out); - }); - return - } + return new Key$1(options); + } +} - checkParameters(iterations, keylen); - password = toBuffer(password, defaultEncoding, 'Password'); - salt = toBuffer(salt, defaultEncoding, 'Salt'); - if (typeof callback !== 'function') throw new Error('No callback provided to pbkdf2') +var key = Key$1; - resolvePromise(checkNative(algo).then(function (resp) { - if (resp) return browserPbkdf2(password, salt, iterations, keylen, algo) +const Actor = actor; +const Bech32 = bech32_1$2; +const Hash256 = hash256$1; +const Key = key; - return sync(password, salt, iterations, keylen, digest) - }), callback); - }; - return async; -} +class Identity extends Actor { + constructor (settings = {}) { + super(settings); -var native = require$$0__default["default"]; + this.settings = Object.assign({ + seed: null, + accountID: 0, + index: 0 + }, this.settings, settings); -var checkParameters = precondition; -var defaultEncoding = defaultEncoding_1; -var toBuffer = toBuffer$1; + this.key = new Key(this.settings); -function nativePBKDF2 (password, salt, iterations, keylen, digest, callback) { - checkParameters(iterations, keylen); - password = toBuffer(password, defaultEncoding, 'Password'); - salt = toBuffer(salt, defaultEncoding, 'Salt'); + this._state = { + content: { + accountID: this.settings.accountID, + index: this.settings.index + } + }; - if (typeof digest === 'function') { - callback = digest; - digest = 'sha1'; + return this; } - if (typeof callback !== 'function') throw new Error('No callback provided to pbkdf2') - return native.pbkdf2(password, salt, iterations, keylen, digest, callback) -} - -function nativePBKDF2Sync (password, salt, iterations, keylen, digest) { - checkParameters(iterations, keylen); - password = toBuffer(password, defaultEncoding, 'Password'); - salt = toBuffer(salt, defaultEncoding, 'Salt'); - digest = digest || 'sha1'; - return native.pbkdf2Sync(password, salt, iterations, keylen, digest) -} + get accountID () { + return this._state.content.accountID; + } -/* istanbul ignore next */ -if (!native.pbkdf2Sync || native.pbkdf2Sync.toString().indexOf('keylen, digest') === -1) { - pbkdf2.pbkdf2Sync = requireSync(); - pbkdf2.pbkdf2 = requireAsync(); + get derivation () { + // m / purpose' / coin_type' / account' / change / address_index + // NOTE: + // Always using Coin Type 0 (Bitcoin) and Change 0 (Public Flag)! + // We will use Change 1 ("Internal Chain" as designated by BIP0044) + // for any kind of revoke mechanic; i.e., the key derived by the change + // address may be used to auto-encode a "revocation" contract. + return `m/44'/0'/${this.accountID}'/0/${this.index}`; + } -// native -} else { - pbkdf2.pbkdf2Sync = nativePBKDF2Sync; - pbkdf2.pbkdf2 = nativePBKDF2; -} - -var randombytes = require$$0__default["default"].randomBytes; - -var _wordlists = {}; - -var require$$0 = [ - "abdikace", - "abeceda", - "adresa", - "agrese", - "akce", - "aktovka", - "alej", - "alkohol", - "amputace", - "ananas", - "andulka", - "anekdota", - "anketa", - "antika", - "anulovat", - "archa", - "arogance", - "asfalt", - "asistent", - "aspirace", - "astma", - "astronom", - "atlas", - "atletika", - "atol", - "autobus", - "azyl", - "babka", - "bachor", - "bacil", - "baculka", - "badatel", - "bageta", - "bagr", - "bahno", - "bakterie", - "balada", - "baletka", - "balkon", - "balonek", - "balvan", - "balza", - "bambus", - "bankomat", - "barbar", - "baret", - "barman", - "baroko", - "barva", - "baterka", - "batoh", - "bavlna", - "bazalka", - "bazilika", - "bazuka", - "bedna", - "beran", - "beseda", - "bestie", - "beton", - "bezinka", - "bezmoc", - "beztak", - "bicykl", - "bidlo", - "biftek", - "bikiny", - "bilance", - "biograf", - "biolog", - "bitva", - "bizon", - "blahobyt", - "blatouch", - "blecha", - "bledule", - "blesk", - "blikat", - "blizna", - "blokovat", - "bloudit", - "blud", - "bobek", - "bobr", - "bodlina", - "bodnout", - "bohatost", - "bojkot", - "bojovat", - "bokorys", - "bolest", - "borec", - "borovice", - "bota", - "boubel", - "bouchat", - "bouda", - "boule", - "bourat", - "boxer", - "bradavka", - "brambora", - "branka", - "bratr", - "brepta", - "briketa", - "brko", - "brloh", - "bronz", - "broskev", - "brunetka", - "brusinka", - "brzda", - "brzy", - "bublina", - "bubnovat", - "buchta", - "buditel", - "budka", - "budova", - "bufet", - "bujarost", - "bukvice", - "buldok", - "bulva", - "bunda", - "bunkr", - "burza", - "butik", - "buvol", - "buzola", - "bydlet", - "bylina", - "bytovka", - "bzukot", - "capart", - "carevna", - "cedr", - "cedule", - "cejch", - "cejn", - "cela", - "celer", - "celkem", - "celnice", - "cenina", - "cennost", - "cenovka", - "centrum", - "cenzor", - "cestopis", - "cetka", - "chalupa", - "chapadlo", - "charita", - "chata", - "chechtat", - "chemie", - "chichot", - "chirurg", - "chlad", - "chleba", - "chlubit", - "chmel", - "chmura", - "chobot", - "chochol", - "chodba", - "cholera", - "chomout", - "chopit", - "choroba", - "chov", - "chrapot", - "chrlit", - "chrt", - "chrup", - "chtivost", - "chudina", - "chutnat", - "chvat", - "chvilka", - "chvost", - "chyba", - "chystat", - "chytit", - "cibule", - "cigareta", - "cihelna", - "cihla", - "cinkot", - "cirkus", - "cisterna", - "citace", - "citrus", - "cizinec", - "cizost", - "clona", - "cokoliv", - "couvat", - "ctitel", - "ctnost", - "cudnost", - "cuketa", - "cukr", - "cupot", - "cvaknout", - "cval", - "cvik", - "cvrkot", - "cyklista", - "daleko", - "dareba", - "datel", - "datum", - "dcera", - "debata", - "dechovka", - "decibel", - "deficit", - "deflace", - "dekl", - "dekret", - "demokrat", - "deprese", - "derby", - "deska", - "detektiv", - "dikobraz", - "diktovat", - "dioda", - "diplom", - "disk", - "displej", - "divadlo", - "divoch", - "dlaha", - "dlouho", - "dluhopis", - "dnes", - "dobro", - "dobytek", - "docent", - "dochutit", - "dodnes", - "dohled", - "dohoda", - "dohra", - "dojem", - "dojnice", - "doklad", - "dokola", - "doktor", - "dokument", - "dolar", - "doleva", - "dolina", - "doma", - "dominant", - "domluvit", - "domov", - "donutit", - "dopad", - "dopis", - "doplnit", - "doposud", - "doprovod", - "dopustit", - "dorazit", - "dorost", - "dort", - "dosah", - "doslov", - "dostatek", - "dosud", - "dosyta", - "dotaz", - "dotek", - "dotknout", - "doufat", - "doutnat", - "dovozce", - "dozadu", - "doznat", - "dozorce", - "drahota", - "drak", - "dramatik", - "dravec", - "draze", - "drdol", - "drobnost", - "drogerie", - "drozd", - "drsnost", - "drtit", - "drzost", - "duben", - "duchovno", - "dudek", - "duha", - "duhovka", - "dusit", - "dusno", - "dutost", - "dvojice", - "dvorec", - "dynamit", - "ekolog", - "ekonomie", - "elektron", - "elipsa", - "email", - "emise", - "emoce", - "empatie", - "epizoda", - "epocha", - "epopej", - "epos", - "esej", - "esence", - "eskorta", - "eskymo", - "etiketa", - "euforie", - "evoluce", - "exekuce", - "exkurze", - "expedice", - "exploze", - "export", - "extrakt", - "facka", - "fajfka", - "fakulta", - "fanatik", - "fantazie", - "farmacie", - "favorit", - "fazole", - "federace", - "fejeton", - "fenka", - "fialka", - "figurant", - "filozof", - "filtr", - "finance", - "finta", - "fixace", - "fjord", - "flanel", - "flirt", - "flotila", - "fond", - "fosfor", - "fotbal", - "fotka", - "foton", - "frakce", - "freska", - "fronta", - "fukar", - "funkce", - "fyzika", - "galeje", - "garant", - "genetika", - "geolog", - "gilotina", - "glazura", - "glejt", - "golem", - "golfista", - "gotika", - "graf", - "gramofon", - "granule", - "grep", - "gril", - "grog", - "groteska", - "guma", - "hadice", - "hadr", - "hala", - "halenka", - "hanba", - "hanopis", - "harfa", - "harpuna", - "havran", - "hebkost", - "hejkal", - "hejno", - "hejtman", - "hektar", - "helma", - "hematom", - "herec", - "herna", - "heslo", - "hezky", - "historik", - "hladovka", - "hlasivky", - "hlava", - "hledat", - "hlen", - "hlodavec", - "hloh", - "hloupost", - "hltat", - "hlubina", - "hluchota", - "hmat", - "hmota", - "hmyz", - "hnis", - "hnojivo", - "hnout", - "hoblina", - "hoboj", - "hoch", - "hodiny", - "hodlat", - "hodnota", - "hodovat", - "hojnost", - "hokej", - "holinka", - "holka", - "holub", - "homole", - "honitba", - "honorace", - "horal", - "horda", - "horizont", - "horko", - "horlivec", - "hormon", - "hornina", - "horoskop", - "horstvo", - "hospoda", - "hostina", - "hotovost", - "houba", - "houf", - "houpat", - "houska", - "hovor", - "hradba", - "hranice", - "hravost", - "hrazda", - "hrbolek", - "hrdina", - "hrdlo", - "hrdost", - "hrnek", - "hrobka", - "hromada", - "hrot", - "hrouda", - "hrozen", - "hrstka", - "hrubost", - "hryzat", - "hubenost", - "hubnout", - "hudba", - "hukot", - "humr", - "husita", - "hustota", - "hvozd", - "hybnost", - "hydrant", - "hygiena", - "hymna", - "hysterik", - "idylka", - "ihned", - "ikona", - "iluze", - "imunita", - "infekce", - "inflace", - "inkaso", - "inovace", - "inspekce", - "internet", - "invalida", - "investor", - "inzerce", - "ironie", - "jablko", - "jachta", - "jahoda", - "jakmile", - "jakost", - "jalovec", - "jantar", - "jarmark", - "jaro", - "jasan", - "jasno", - "jatka", - "javor", - "jazyk", - "jedinec", - "jedle", - "jednatel", - "jehlan", - "jekot", - "jelen", - "jelito", - "jemnost", - "jenom", - "jepice", - "jeseter", - "jevit", - "jezdec", - "jezero", - "jinak", - "jindy", - "jinoch", - "jiskra", - "jistota", - "jitrnice", - "jizva", - "jmenovat", - "jogurt", - "jurta", - "kabaret", - "kabel", - "kabinet", - "kachna", - "kadet", - "kadidlo", - "kahan", - "kajak", - "kajuta", - "kakao", - "kaktus", - "kalamita", - "kalhoty", - "kalibr", - "kalnost", - "kamera", - "kamkoliv", - "kamna", - "kanibal", - "kanoe", - "kantor", - "kapalina", - "kapela", - "kapitola", - "kapka", - "kaple", - "kapota", - "kapr", - "kapusta", - "kapybara", - "karamel", - "karotka", - "karton", - "kasa", - "katalog", - "katedra", - "kauce", - "kauza", - "kavalec", - "kazajka", - "kazeta", - "kazivost", - "kdekoliv", - "kdesi", - "kedluben", - "kemp", - "keramika", - "kino", - "klacek", - "kladivo", - "klam", - "klapot", - "klasika", - "klaun", - "klec", - "klenba", - "klepat", - "klesnout", - "klid", - "klima", - "klisna", - "klobouk", - "klokan", - "klopa", - "kloub", - "klubovna", - "klusat", - "kluzkost", - "kmen", - "kmitat", - "kmotr", - "kniha", - "knot", - "koalice", - "koberec", - "kobka", - "kobliha", - "kobyla", - "kocour", - "kohout", - "kojenec", - "kokos", - "koktejl", - "kolaps", - "koleda", - "kolize", - "kolo", - "komando", - "kometa", - "komik", - "komnata", - "komora", - "kompas", - "komunita", - "konat", - "koncept", - "kondice", - "konec", - "konfese", - "kongres", - "konina", - "konkurs", - "kontakt", - "konzerva", - "kopanec", - "kopie", - "kopnout", - "koprovka", - "korbel", - "korektor", - "kormidlo", - "koroptev", - "korpus", - "koruna", - "koryto", - "korzet", - "kosatec", - "kostka", - "kotel", - "kotleta", - "kotoul", - "koukat", - "koupelna", - "kousek", - "kouzlo", - "kovboj", - "koza", - "kozoroh", - "krabice", - "krach", - "krajina", - "kralovat", - "krasopis", - "kravata", - "kredit", - "krejcar", - "kresba", - "kreveta", - "kriket", - "kritik", - "krize", - "krkavec", - "krmelec", - "krmivo", - "krocan", - "krok", - "kronika", - "kropit", - "kroupa", - "krovka", - "krtek", - "kruhadlo", - "krupice", - "krutost", - "krvinka", - "krychle", - "krypta", - "krystal", - "kryt", - "kudlanka", - "kufr", - "kujnost", - "kukla", - "kulajda", - "kulich", - "kulka", - "kulomet", - "kultura", - "kuna", - "kupodivu", - "kurt", - "kurzor", - "kutil", - "kvalita", - "kvasinka", - "kvestor", - "kynolog", - "kyselina", - "kytara", - "kytice", - "kytka", - "kytovec", - "kyvadlo", - "labrador", - "lachtan", - "ladnost", - "laik", - "lakomec", - "lamela", - "lampa", - "lanovka", - "lasice", - "laso", - "lastura", - "latinka", - "lavina", - "lebka", - "leckdy", - "leden", - "lednice", - "ledovka", - "ledvina", - "legenda", - "legie", - "legrace", - "lehce", - "lehkost", - "lehnout", - "lektvar", - "lenochod", - "lentilka", - "lepenka", - "lepidlo", - "letadlo", - "letec", - "letmo", - "letokruh", - "levhart", - "levitace", - "levobok", - "libra", - "lichotka", - "lidojed", - "lidskost", - "lihovina", - "lijavec", - "lilek", - "limetka", - "linie", - "linka", - "linoleum", - "listopad", - "litina", - "litovat", - "lobista", - "lodivod", - "logika", - "logoped", - "lokalita", - "loket", - "lomcovat", - "lopata", - "lopuch", - "lord", - "losos", - "lotr", - "loudal", - "louh", - "louka", - "louskat", - "lovec", - "lstivost", - "lucerna", - "lucifer", - "lump", - "lusk", - "lustrace", - "lvice", - "lyra", - "lyrika", - "lysina", - "madam", - "madlo", - "magistr", - "mahagon", - "majetek", - "majitel", - "majorita", - "makak", - "makovice", - "makrela", - "malba", - "malina", - "malovat", - "malvice", - "maminka", - "mandle", - "manko", - "marnost", - "masakr", - "maskot", - "masopust", - "matice", - "matrika", - "maturita", - "mazanec", - "mazivo", - "mazlit", - "mazurka", - "mdloba", - "mechanik", - "meditace", - "medovina", - "melasa", - "meloun", - "mentolka", - "metla", - "metoda", - "metr", - "mezera", - "migrace", - "mihnout", - "mihule", - "mikina", - "mikrofon", - "milenec", - "milimetr", - "milost", - "mimika", - "mincovna", - "minibar", - "minomet", - "minulost", - "miska", - "mistr", - "mixovat", - "mladost", - "mlha", - "mlhovina", - "mlok", - "mlsat", - "mluvit", - "mnich", - "mnohem", - "mobil", - "mocnost", - "modelka", - "modlitba", - "mohyla", - "mokro", - "molekula", - "momentka", - "monarcha", - "monokl", - "monstrum", - "montovat", - "monzun", - "mosaz", - "moskyt", - "most", - "motivace", - "motorka", - "motyka", - "moucha", - "moudrost", - "mozaika", - "mozek", - "mozol", - "mramor", - "mravenec", - "mrkev", - "mrtvola", - "mrzet", - "mrzutost", - "mstitel", - "mudrc", - "muflon", - "mulat", - "mumie", - "munice", - "muset", - "mutace", - "muzeum", - "muzikant", - "myslivec", - "mzda", - "nabourat", - "nachytat", - "nadace", - "nadbytek", - "nadhoz", - "nadobro", - "nadpis", - "nahlas", - "nahnat", - "nahodile", - "nahradit", - "naivita", - "najednou", - "najisto", - "najmout", - "naklonit", - "nakonec", - "nakrmit", - "nalevo", - "namazat", - "namluvit", - "nanometr", - "naoko", - "naopak", - "naostro", - "napadat", - "napevno", - "naplnit", - "napnout", - "naposled", - "naprosto", - "narodit", - "naruby", - "narychlo", - "nasadit", - "nasekat", - "naslepo", - "nastat", - "natolik", - "navenek", - "navrch", - "navzdory", - "nazvat", - "nebe", - "nechat", - "necky", - "nedaleko", - "nedbat", - "neduh", - "negace", - "nehet", - "nehoda", - "nejen", - "nejprve", - "neklid", - "nelibost", - "nemilost", - "nemoc", - "neochota", - "neonka", - "nepokoj", - "nerost", - "nerv", - "nesmysl", - "nesoulad", - "netvor", - "neuron", - "nevina", - "nezvykle", - "nicota", - "nijak", - "nikam", - "nikdy", - "nikl", - "nikterak", - "nitro", - "nocleh", - "nohavice", - "nominace", - "nora", - "norek", - "nositel", - "nosnost", - "nouze", - "noviny", - "novota", - "nozdra", - "nuda", - "nudle", - "nuget", - "nutit", - "nutnost", - "nutrie", - "nymfa", - "obal", - "obarvit", - "obava", - "obdiv", - "obec", - "obehnat", - "obejmout", - "obezita", - "obhajoba", - "obilnice", - "objasnit", - "objekt", - "obklopit", - "oblast", - "oblek", - "obliba", - "obloha", - "obluda", - "obnos", - "obohatit", - "obojek", - "obout", - "obrazec", - "obrna", - "obruba", - "obrys", - "obsah", - "obsluha", - "obstarat", - "obuv", - "obvaz", - "obvinit", - "obvod", - "obvykle", - "obyvatel", - "obzor", - "ocas", - "ocel", - "ocenit", - "ochladit", - "ochota", - "ochrana", - "ocitnout", - "odboj", - "odbyt", - "odchod", - "odcizit", - "odebrat", - "odeslat", - "odevzdat", - "odezva", - "odhadce", - "odhodit", - "odjet", - "odjinud", - "odkaz", - "odkoupit", - "odliv", - "odluka", - "odmlka", - "odolnost", - "odpad", - "odpis", - "odplout", - "odpor", - "odpustit", - "odpykat", - "odrazka", - "odsoudit", - "odstup", - "odsun", - "odtok", - "odtud", - "odvaha", - "odveta", - "odvolat", - "odvracet", - "odznak", - "ofina", - "ofsajd", - "ohlas", - "ohnisko", - "ohrada", - "ohrozit", - "ohryzek", - "okap", - "okenice", - "oklika", - "okno", - "okouzlit", - "okovy", - "okrasa", - "okres", - "okrsek", - "okruh", - "okupant", - "okurka", - "okusit", - "olejnina", - "olizovat", - "omak", - "omeleta", - "omezit", - "omladina", - "omlouvat", - "omluva", - "omyl", - "onehdy", - "opakovat", - "opasek", - "operace", - "opice", - "opilost", - "opisovat", - "opora", - "opozice", - "opravdu", - "oproti", - "orbital", - "orchestr", - "orgie", - "orlice", - "orloj", - "ortel", - "osada", - "oschnout", - "osika", - "osivo", - "oslava", - "oslepit", - "oslnit", - "oslovit", - "osnova", - "osoba", - "osolit", - "ospalec", - "osten", - "ostraha", - "ostuda", - "ostych", - "osvojit", - "oteplit", - "otisk", - "otop", - "otrhat", - "otrlost", - "otrok", - "otruby", - "otvor", - "ovanout", - "ovar", - "oves", - "ovlivnit", - "ovoce", - "oxid", - "ozdoba", - "pachatel", - "pacient", - "padouch", - "pahorek", - "pakt", - "palanda", - "palec", - "palivo", - "paluba", - "pamflet", - "pamlsek", - "panenka", - "panika", - "panna", - "panovat", - "panstvo", - "pantofle", - "paprika", - "parketa", - "parodie", - "parta", - "paruka", - "paryba", - "paseka", - "pasivita", - "pastelka", - "patent", - "patrona", - "pavouk", - "pazneht", - "pazourek", - "pecka", - "pedagog", - "pejsek", - "peklo", - "peloton", - "penalta", - "pendrek", - "penze", - "periskop", - "pero", - "pestrost", - "petarda", - "petice", - "petrolej", - "pevnina", - "pexeso", - "pianista", - "piha", - "pijavice", - "pikle", - "piknik", - "pilina", - "pilnost", - "pilulka", - "pinzeta", - "pipeta", - "pisatel", - "pistole", - "pitevna", - "pivnice", - "pivovar", - "placenta", - "plakat", - "plamen", - "planeta", - "plastika", - "platit", - "plavidlo", - "plaz", - "plech", - "plemeno", - "plenta", - "ples", - "pletivo", - "plevel", - "plivat", - "plnit", - "plno", - "plocha", - "plodina", - "plomba", - "plout", - "pluk", - "plyn", - "pobavit", - "pobyt", - "pochod", - "pocit", - "poctivec", - "podat", - "podcenit", - "podepsat", - "podhled", - "podivit", - "podklad", - "podmanit", - "podnik", - "podoba", - "podpora", - "podraz", - "podstata", - "podvod", - "podzim", - "poezie", - "pohanka", - "pohnutka", - "pohovor", - "pohroma", - "pohyb", - "pointa", - "pojistka", - "pojmout", - "pokazit", - "pokles", - "pokoj", - "pokrok", - "pokuta", - "pokyn", - "poledne", - "polibek", - "polknout", - "poloha", - "polynom", - "pomalu", - "pominout", - "pomlka", - "pomoc", - "pomsta", - "pomyslet", - "ponechat", - "ponorka", - "ponurost", - "popadat", - "popel", - "popisek", - "poplach", - "poprosit", - "popsat", - "popud", - "poradce", - "porce", - "porod", - "porucha", - "poryv", - "posadit", - "posed", - "posila", - "poskok", - "poslanec", - "posoudit", - "pospolu", - "postava", - "posudek", - "posyp", - "potah", - "potkan", - "potlesk", - "potomek", - "potrava", - "potupa", - "potvora", - "poukaz", - "pouto", - "pouzdro", - "povaha", - "povidla", - "povlak", - "povoz", - "povrch", - "povstat", - "povyk", - "povzdech", - "pozdrav", - "pozemek", - "poznatek", - "pozor", - "pozvat", - "pracovat", - "prahory", - "praktika", - "prales", - "praotec", - "praporek", - "prase", - "pravda", - "princip", - "prkno", - "probudit", - "procento", - "prodej", - "profese", - "prohra", - "projekt", - "prolomit", - "promile", - "pronikat", - "propad", - "prorok", - "prosba", - "proton", - "proutek", - "provaz", - "prskavka", - "prsten", - "prudkost", - "prut", - "prvek", - "prvohory", - "psanec", - "psovod", - "pstruh", - "ptactvo", - "puberta", - "puch", - "pudl", - "pukavec", - "puklina", - "pukrle", - "pult", - "pumpa", - "punc", - "pupen", - "pusa", - "pusinka", - "pustina", - "putovat", - "putyka", - "pyramida", - "pysk", - "pytel", - "racek", - "rachot", - "radiace", - "radnice", - "radon", - "raft", - "ragby", - "raketa", - "rakovina", - "rameno", - "rampouch", - "rande", - "rarach", - "rarita", - "rasovna", - "rastr", - "ratolest", - "razance", - "razidlo", - "reagovat", - "reakce", - "recept", - "redaktor", - "referent", - "reflex", - "rejnok", - "reklama", - "rekord", - "rekrut", - "rektor", - "reputace", - "revize", - "revma", - "revolver", - "rezerva", - "riskovat", - "riziko", - "robotika", - "rodokmen", - "rohovka", - "rokle", - "rokoko", - "romaneto", - "ropovod", - "ropucha", - "rorejs", - "rosol", - "rostlina", - "rotmistr", - "rotoped", - "rotunda", - "roubenka", - "roucho", - "roup", - "roura", - "rovina", - "rovnice", - "rozbor", - "rozchod", - "rozdat", - "rozeznat", - "rozhodce", - "rozinka", - "rozjezd", - "rozkaz", - "rozloha", - "rozmar", - "rozpad", - "rozruch", - "rozsah", - "roztok", - "rozum", - "rozvod", - "rubrika", - "ruchadlo", - "rukavice", - "rukopis", - "ryba", - "rybolov", - "rychlost", - "rydlo", - "rypadlo", - "rytina", - "ryzost", - "sadista", - "sahat", - "sako", - "samec", - "samizdat", - "samota", - "sanitka", - "sardinka", - "sasanka", - "satelit", - "sazba", - "sazenice", - "sbor", - "schovat", - "sebranka", - "secese", - "sedadlo", - "sediment", - "sedlo", - "sehnat", - "sejmout", - "sekera", - "sekta", - "sekunda", - "sekvoje", - "semeno", - "seno", - "servis", - "sesadit", - "seshora", - "seskok", - "seslat", - "sestra", - "sesuv", - "sesypat", - "setba", - "setina", - "setkat", - "setnout", - "setrvat", - "sever", - "seznam", - "shoda", - "shrnout", - "sifon", - "silnice", - "sirka", - "sirotek", - "sirup", - "situace", - "skafandr", - "skalisko", - "skanzen", - "skaut", - "skeptik", - "skica", - "skladba", - "sklenice", - "sklo", - "skluz", - "skoba", - "skokan", - "skoro", - "skripta", - "skrz", - "skupina", - "skvost", - "skvrna", - "slabika", - "sladidlo", - "slanina", - "slast", - "slavnost", - "sledovat", - "slepec", - "sleva", - "slezina", - "slib", - "slina", - "sliznice", - "slon", - "sloupek", - "slovo", - "sluch", - "sluha", - "slunce", - "slupka", - "slza", - "smaragd", - "smetana", - "smilstvo", - "smlouva", - "smog", - "smrad", - "smrk", - "smrtka", - "smutek", - "smysl", - "snad", - "snaha", - "snob", - "sobota", - "socha", - "sodovka", - "sokol", - "sopka", - "sotva", - "souboj", - "soucit", - "soudce", - "souhlas", - "soulad", - "soumrak", - "souprava", - "soused", - "soutok", - "souviset", - "spalovna", - "spasitel", - "spis", - "splav", - "spodek", - "spojenec", - "spolu", - "sponzor", - "spornost", - "spousta", - "sprcha", - "spustit", - "sranda", - "sraz", - "srdce", - "srna", - "srnec", - "srovnat", - "srpen", - "srst", - "srub", - "stanice", - "starosta", - "statika", - "stavba", - "stehno", - "stezka", - "stodola", - "stolek", - "stopa", - "storno", - "stoupat", - "strach", - "stres", - "strhnout", - "strom", - "struna", - "studna", - "stupnice", - "stvol", - "styk", - "subjekt", - "subtropy", - "suchar", - "sudost", - "sukno", - "sundat", - "sunout", - "surikata", - "surovina", - "svah", - "svalstvo", - "svetr", - "svatba", - "svazek", - "svisle", - "svitek", - "svoboda", - "svodidlo", - "svorka", - "svrab", - "sykavka", - "sykot", - "synek", - "synovec", - "sypat", - "sypkost", - "syrovost", - "sysel", - "sytost", - "tabletka", - "tabule", - "tahoun", - "tajemno", - "tajfun", - "tajga", - "tajit", - "tajnost", - "taktika", - "tamhle", - "tampon", - "tancovat", - "tanec", - "tanker", - "tapeta", - "tavenina", - "tazatel", - "technika", - "tehdy", - "tekutina", - "telefon", - "temnota", - "tendence", - "tenista", - "tenor", - "teplota", - "tepna", - "teprve", - "terapie", - "termoska", - "textil", - "ticho", - "tiskopis", - "titulek", - "tkadlec", - "tkanina", - "tlapka", - "tleskat", - "tlukot", - "tlupa", - "tmel", - "toaleta", - "topinka", - "topol", - "torzo", - "touha", - "toulec", - "tradice", - "traktor", - "tramp", - "trasa", - "traverza", - "trefit", - "trest", - "trezor", - "trhavina", - "trhlina", - "trochu", - "trojice", - "troska", - "trouba", - "trpce", - "trpitel", - "trpkost", - "trubec", - "truchlit", - "truhlice", - "trus", - "trvat", - "tudy", - "tuhnout", - "tuhost", - "tundra", - "turista", - "turnaj", - "tuzemsko", - "tvaroh", - "tvorba", - "tvrdost", - "tvrz", - "tygr", - "tykev", - "ubohost", - "uboze", - "ubrat", - "ubrousek", - "ubrus", - "ubytovna", - "ucho", - "uctivost", - "udivit", - "uhradit", - "ujednat", - "ujistit", - "ujmout", - "ukazatel", - "uklidnit", - "uklonit", - "ukotvit", - "ukrojit", - "ulice", - "ulita", - "ulovit", - "umyvadlo", - "unavit", - "uniforma", - "uniknout", - "upadnout", - "uplatnit", - "uplynout", - "upoutat", - "upravit", - "uran", - "urazit", - "usednout", - "usilovat", - "usmrtit", - "usnadnit", - "usnout", - "usoudit", - "ustlat", - "ustrnout", - "utahovat", - "utkat", - "utlumit", - "utonout", - "utopenec", - "utrousit", - "uvalit", - "uvolnit", - "uvozovka", - "uzdravit", - "uzel", - "uzenina", - "uzlina", - "uznat", - "vagon", - "valcha", - "valoun", - "vana", - "vandal", - "vanilka", - "varan", - "varhany", - "varovat", - "vcelku", - "vchod", - "vdova", - "vedro", - "vegetace", - "vejce", - "velbloud", - "veletrh", - "velitel", - "velmoc", - "velryba", - "venkov", - "veranda", - "verze", - "veselka", - "veskrze", - "vesnice", - "vespodu", - "vesta", - "veterina", - "veverka", - "vibrace", - "vichr", - "videohra", - "vidina", - "vidle", - "vila", - "vinice", - "viset", - "vitalita", - "vize", - "vizitka", - "vjezd", - "vklad", - "vkus", - "vlajka", - "vlak", - "vlasec", - "vlevo", - "vlhkost", - "vliv", - "vlnovka", - "vloupat", - "vnucovat", - "vnuk", - "voda", - "vodivost", - "vodoznak", - "vodstvo", - "vojensky", - "vojna", - "vojsko", - "volant", - "volba", - "volit", - "volno", - "voskovka", - "vozidlo", - "vozovna", - "vpravo", - "vrabec", - "vracet", - "vrah", - "vrata", - "vrba", - "vrcholek", - "vrhat", - "vrstva", - "vrtule", - "vsadit", - "vstoupit", - "vstup", - "vtip", - "vybavit", - "vybrat", - "vychovat", - "vydat", - "vydra", - "vyfotit", - "vyhledat", - "vyhnout", - "vyhodit", - "vyhradit", - "vyhubit", - "vyjasnit", - "vyjet", - "vyjmout", - "vyklopit", - "vykonat", - "vylekat", - "vymazat", - "vymezit", - "vymizet", - "vymyslet", - "vynechat", - "vynikat", - "vynutit", - "vypadat", - "vyplatit", - "vypravit", - "vypustit", - "vyrazit", - "vyrovnat", - "vyrvat", - "vyslovit", - "vysoko", - "vystavit", - "vysunout", - "vysypat", - "vytasit", - "vytesat", - "vytratit", - "vyvinout", - "vyvolat", - "vyvrhel", - "vyzdobit", - "vyznat", - "vzadu", - "vzbudit", - "vzchopit", - "vzdor", - "vzduch", - "vzdychat", - "vzestup", - "vzhledem", - "vzkaz", - "vzlykat", - "vznik", - "vzorek", - "vzpoura", - "vztah", - "vztek", - "xylofon", - "zabrat", - "zabydlet", - "zachovat", - "zadarmo", - "zadusit", - "zafoukat", - "zahltit", - "zahodit", - "zahrada", - "zahynout", - "zajatec", - "zajet", - "zajistit", - "zaklepat", - "zakoupit", - "zalepit", - "zamezit", - "zamotat", - "zamyslet", - "zanechat", - "zanikat", - "zaplatit", - "zapojit", - "zapsat", - "zarazit", - "zastavit", - "zasunout", - "zatajit", - "zatemnit", - "zatknout", - "zaujmout", - "zavalit", - "zavelet", - "zavinit", - "zavolat", - "zavrtat", - "zazvonit", - "zbavit", - "zbrusu", - "zbudovat", - "zbytek", - "zdaleka", - "zdarma", - "zdatnost", - "zdivo", - "zdobit", - "zdroj", - "zdvih", - "zdymadlo", - "zelenina", - "zeman", - "zemina", - "zeptat", - "zezadu", - "zezdola", - "zhatit", - "zhltnout", - "zhluboka", - "zhotovit", - "zhruba", - "zima", - "zimnice", - "zjemnit", - "zklamat", - "zkoumat", - "zkratka", - "zkumavka", - "zlato", - "zlehka", - "zloba", - "zlom", - "zlost", - "zlozvyk", - "zmapovat", - "zmar", - "zmatek", - "zmije", - "zmizet", - "zmocnit", - "zmodrat", - "zmrzlina", - "zmutovat", - "znak", - "znalost", - "znamenat", - "znovu", - "zobrazit", - "zotavit", - "zoubek", - "zoufale", - "zplodit", - "zpomalit", - "zprava", - "zprostit", - "zprudka", - "zprvu", - "zrada", - "zranit", - "zrcadlo", - "zrnitost", - "zrno", - "zrovna", - "zrychlit", - "zrzavost", - "zticha", - "ztratit", - "zubovina", - "zubr", - "zvednout", - "zvenku", - "zvesela", - "zvon", - "zvrat", - "zvukovod", - "zvyk" -]; + get id () { + return this.toString(); + } -var require$$1 = [ - "的", - "一", - "是", - "在", - "不", - "了", - "有", - "和", - "人", - "这", - "中", - "大", - "为", - "上", - "个", - "国", - "我", - "以", - "要", - "他", - "时", - "来", - "用", - "们", - "生", - "到", - "作", - "地", - "于", - "出", - "就", - "分", - "对", - "成", - "会", - "可", - "主", - "发", - "年", - "动", - "同", - "工", - "也", - "能", - "下", - "过", - "子", - "说", - "产", - "种", - "面", - "而", - "方", - "后", - "多", - "定", - "行", - "学", - "法", - "所", - "民", - "得", - "经", - "十", - "三", - "之", - "进", - "着", - "等", - "部", - "度", - "家", - "电", - "力", - "里", - "如", - "水", - "化", - "高", - "自", - "二", - "理", - "起", - "小", - "物", - "现", - "实", - "加", - "量", - "都", - "两", - "体", - "制", - "机", - "当", - "使", - "点", - "从", - "业", - "本", - "去", - "把", - "性", - "好", - "应", - "开", - "它", - "合", - "还", - "因", - "由", - "其", - "些", - "然", - "前", - "外", - "天", - "政", - "四", - "日", - "那", - "社", - "义", - "事", - "平", - "形", - "相", - "全", - "表", - "间", - "样", - "与", - "关", - "各", - "重", - "新", - "线", - "内", - "数", - "正", - "心", - "反", - "你", - "明", - "看", - "原", - "又", - "么", - "利", - "比", - "或", - "但", - "质", - "气", - "第", - "向", - "道", - "命", - "此", - "变", - "条", - "只", - "没", - "结", - "解", - "问", - "意", - "建", - "月", - "公", - "无", - "系", - "军", - "很", - "情", - "者", - "最", - "立", - "代", - "想", - "已", - "通", - "并", - "提", - "直", - "题", - "党", - "程", - "展", - "五", - "果", - "料", - "象", - "员", - "革", - "位", - "入", - "常", - "文", - "总", - "次", - "品", - "式", - "活", - "设", - "及", - "管", - "特", - "件", - "长", - "求", - "老", - "头", - "基", - "资", - "边", - "流", - "路", - "级", - "少", - "图", - "山", - "统", - "接", - "知", - "较", - "将", - "组", - "见", - "计", - "别", - "她", - "手", - "角", - "期", - "根", - "论", - "运", - "农", - "指", - "几", - "九", - "区", - "强", - "放", - "决", - "西", - "被", - "干", - "做", - "必", - "战", - "先", - "回", - "则", - "任", - "取", - "据", - "处", - "队", - "南", - "给", - "色", - "光", - "门", - "即", - "保", - "治", - "北", - "造", - "百", - "规", - "热", - "领", - "七", - "海", - "口", - "东", - "导", - "器", - "压", - "志", - "世", - "金", - "增", - "争", - "济", - "阶", - "油", - "思", - "术", - "极", - "交", - "受", - "联", - "什", - "认", - "六", - "共", - "权", - "收", - "证", - "改", - "清", - "美", - "再", - "采", - "转", - "更", - "单", - "风", - "切", - "打", - "白", - "教", - "速", - "花", - "带", - "安", - "场", - "身", - "车", - "例", - "真", - "务", - "具", - "万", - "每", - "目", - "至", - "达", - "走", - "积", - "示", - "议", - "声", - "报", - "斗", - "完", - "类", - "八", - "离", - "华", - "名", - "确", - "才", - "科", - "张", - "信", - "马", - "节", - "话", - "米", - "整", - "空", - "元", - "况", - "今", - "集", - "温", - "传", - "土", - "许", - "步", - "群", - "广", - "石", - "记", - "需", - "段", - "研", - "界", - "拉", - "林", - "律", - "叫", - "且", - "究", - "观", - "越", - "织", - "装", - "影", - "算", - "低", - "持", - "音", - "众", - "书", - "布", - "复", - "容", - "儿", - "须", - "际", - "商", - "非", - "验", - "连", - "断", - "深", - "难", - "近", - "矿", - "千", - "周", - "委", - "素", - "技", - "备", - "半", - "办", - "青", - "省", - "列", - "习", - "响", - "约", - "支", - "般", - "史", - "感", - "劳", - "便", - "团", - "往", - "酸", - "历", - "市", - "克", - "何", - "除", - "消", - "构", - "府", - "称", - "太", - "准", - "精", - "值", - "号", - "率", - "族", - "维", - "划", - "选", - "标", - "写", - "存", - "候", - "毛", - "亲", - "快", - "效", - "斯", - "院", - "查", - "江", - "型", - "眼", - "王", - "按", - "格", - "养", - "易", - "置", - "派", - "层", - "片", - "始", - "却", - "专", - "状", - "育", - "厂", - "京", - "识", - "适", - "属", - "圆", - "包", - "火", - "住", - "调", - "满", - "县", - "局", - "照", - "参", - "红", - "细", - "引", - "听", - "该", - "铁", - "价", - "严", - "首", - "底", - "液", - "官", - "德", - "随", - "病", - "苏", - "失", - "尔", - "死", - "讲", - "配", - "女", - "黄", - "推", - "显", - "谈", - "罪", - "神", - "艺", - "呢", - "席", - "含", - "企", - "望", - "密", - "批", - "营", - "项", - "防", - "举", - "球", - "英", - "氧", - "势", - "告", - "李", - "台", - "落", - "木", - "帮", - "轮", - "破", - "亚", - "师", - "围", - "注", - "远", - "字", - "材", - "排", - "供", - "河", - "态", - "封", - "另", - "施", - "减", - "树", - "溶", - "怎", - "止", - "案", - "言", - "士", - "均", - "武", - "固", - "叶", - "鱼", - "波", - "视", - "仅", - "费", - "紧", - "爱", - "左", - "章", - "早", - "朝", - "害", - "续", - "轻", - "服", - "试", - "食", - "充", - "兵", - "源", - "判", - "护", - "司", - "足", - "某", - "练", - "差", - "致", - "板", - "田", - "降", - "黑", - "犯", - "负", - "击", - "范", - "继", - "兴", - "似", - "余", - "坚", - "曲", - "输", - "修", - "故", - "城", - "夫", - "够", - "送", - "笔", - "船", - "占", - "右", - "财", - "吃", - "富", - "春", - "职", - "觉", - "汉", - "画", - "功", - "巴", - "跟", - "虽", - "杂", - "飞", - "检", - "吸", - "助", - "升", - "阳", - "互", - "初", - "创", - "抗", - "考", - "投", - "坏", - "策", - "古", - "径", - "换", - "未", - "跑", - "留", - "钢", - "曾", - "端", - "责", - "站", - "简", - "述", - "钱", - "副", - "尽", - "帝", - "射", - "草", - "冲", - "承", - "独", - "令", - "限", - "阿", - "宣", - "环", - "双", - "请", - "超", - "微", - "让", - "控", - "州", - "良", - "轴", - "找", - "否", - "纪", - "益", - "依", - "优", - "顶", - "础", - "载", - "倒", - "房", - "突", - "坐", - "粉", - "敌", - "略", - "客", - "袁", - "冷", - "胜", - "绝", - "析", - "块", - "剂", - "测", - "丝", - "协", - "诉", - "念", - "陈", - "仍", - "罗", - "盐", - "友", - "洋", - "错", - "苦", - "夜", - "刑", - "移", - "频", - "逐", - "靠", - "混", - "母", - "短", - "皮", - "终", - "聚", - "汽", - "村", - "云", - "哪", - "既", - "距", - "卫", - "停", - "烈", - "央", - "察", - "烧", - "迅", - "境", - "若", - "印", - "洲", - "刻", - "括", - "激", - "孔", - "搞", - "甚", - "室", - "待", - "核", - "校", - "散", - "侵", - "吧", - "甲", - "游", - "久", - "菜", - "味", - "旧", - "模", - "湖", - "货", - "损", - "预", - "阻", - "毫", - "普", - "稳", - "乙", - "妈", - "植", - "息", - "扩", - "银", - "语", - "挥", - "酒", - "守", - "拿", - "序", - "纸", - "医", - "缺", - "雨", - "吗", - "针", - "刘", - "啊", - "急", - "唱", - "误", - "训", - "愿", - "审", - "附", - "获", - "茶", - "鲜", - "粮", - "斤", - "孩", - "脱", - "硫", - "肥", - "善", - "龙", - "演", - "父", - "渐", - "血", - "欢", - "械", - "掌", - "歌", - "沙", - "刚", - "攻", - "谓", - "盾", - "讨", - "晚", - "粒", - "乱", - "燃", - "矛", - "乎", - "杀", - "药", - "宁", - "鲁", - "贵", - "钟", - "煤", - "读", - "班", - "伯", - "香", - "介", - "迫", - "句", - "丰", - "培", - "握", - "兰", - "担", - "弦", - "蛋", - "沉", - "假", - "穿", - "执", - "答", - "乐", - "谁", - "顺", - "烟", - "缩", - "征", - "脸", - "喜", - "松", - "脚", - "困", - "异", - "免", - "背", - "星", - "福", - "买", - "染", - "井", - "概", - "慢", - "怕", - "磁", - "倍", - "祖", - "皇", - "促", - "静", - "补", - "评", - "翻", - "肉", - "践", - "尼", - "衣", - "宽", - "扬", - "棉", - "希", - "伤", - "操", - "垂", - "秋", - "宜", - "氢", - "套", - "督", - "振", - "架", - "亮", - "末", - "宪", - "庆", - "编", - "牛", - "触", - "映", - "雷", - "销", - "诗", - "座", - "居", - "抓", - "裂", - "胞", - "呼", - "娘", - "景", - "威", - "绿", - "晶", - "厚", - "盟", - "衡", - "鸡", - "孙", - "延", - "危", - "胶", - "屋", - "乡", - "临", - "陆", - "顾", - "掉", - "呀", - "灯", - "岁", - "措", - "束", - "耐", - "剧", - "玉", - "赵", - "跳", - "哥", - "季", - "课", - "凯", - "胡", - "额", - "款", - "绍", - "卷", - "齐", - "伟", - "蒸", - "殖", - "永", - "宗", - "苗", - "川", - "炉", - "岩", - "弱", - "零", - "杨", - "奏", - "沿", - "露", - "杆", - "探", - "滑", - "镇", - "饭", - "浓", - "航", - "怀", - "赶", - "库", - "夺", - "伊", - "灵", - "税", - "途", - "灭", - "赛", - "归", - "召", - "鼓", - "播", - "盘", - "裁", - "险", - "康", - "唯", - "录", - "菌", - "纯", - "借", - "糖", - "盖", - "横", - "符", - "私", - "努", - "堂", - "域", - "枪", - "润", - "幅", - "哈", - "竟", - "熟", - "虫", - "泽", - "脑", - "壤", - "碳", - "欧", - "遍", - "侧", - "寨", - "敢", - "彻", - "虑", - "斜", - "薄", - "庭", - "纳", - "弹", - "饲", - "伸", - "折", - "麦", - "湿", - "暗", - "荷", - "瓦", - "塞", - "床", - "筑", - "恶", - "户", - "访", - "塔", - "奇", - "透", - "梁", - "刀", - "旋", - "迹", - "卡", - "氯", - "遇", - "份", - "毒", - "泥", - "退", - "洗", - "摆", - "灰", - "彩", - "卖", - "耗", - "夏", - "择", - "忙", - "铜", - "献", - "硬", - "予", - "繁", - "圈", - "雪", - "函", - "亦", - "抽", - "篇", - "阵", - "阴", - "丁", - "尺", - "追", - "堆", - "雄", - "迎", - "泛", - "爸", - "楼", - "避", - "谋", - "吨", - "野", - "猪", - "旗", - "累", - "偏", - "典", - "馆", - "索", - "秦", - "脂", - "潮", - "爷", - "豆", - "忽", - "托", - "惊", - "塑", - "遗", - "愈", - "朱", - "替", - "纤", - "粗", - "倾", - "尚", - "痛", - "楚", - "谢", - "奋", - "购", - "磨", - "君", - "池", - "旁", - "碎", - "骨", - "监", - "捕", - "弟", - "暴", - "割", - "贯", - "殊", - "释", - "词", - "亡", - "壁", - "顿", - "宝", - "午", - "尘", - "闻", - "揭", - "炮", - "残", - "冬", - "桥", - "妇", - "警", - "综", - "招", - "吴", - "付", - "浮", - "遭", - "徐", - "您", - "摇", - "谷", - "赞", - "箱", - "隔", - "订", - "男", - "吹", - "园", - "纷", - "唐", - "败", - "宋", - "玻", - "巨", - "耕", - "坦", - "荣", - "闭", - "湾", - "键", - "凡", - "驻", - "锅", - "救", - "恩", - "剥", - "凝", - "碱", - "齿", - "截", - "炼", - "麻", - "纺", - "禁", - "废", - "盛", - "版", - "缓", - "净", - "睛", - "昌", - "婚", - "涉", - "筒", - "嘴", - "插", - "岸", - "朗", - "庄", - "街", - "藏", - "姑", - "贸", - "腐", - "奴", - "啦", - "惯", - "乘", - "伙", - "恢", - "匀", - "纱", - "扎", - "辩", - "耳", - "彪", - "臣", - "亿", - "璃", - "抵", - "脉", - "秀", - "萨", - "俄", - "网", - "舞", - "店", - "喷", - "纵", - "寸", - "汗", - "挂", - "洪", - "贺", - "闪", - "柬", - "爆", - "烯", - "津", - "稻", - "墙", - "软", - "勇", - "像", - "滚", - "厘", - "蒙", - "芳", - "肯", - "坡", - "柱", - "荡", - "腿", - "仪", - "旅", - "尾", - "轧", - "冰", - "贡", - "登", - "黎", - "削", - "钻", - "勒", - "逃", - "障", - "氨", - "郭", - "峰", - "币", - "港", - "伏", - "轨", - "亩", - "毕", - "擦", - "莫", - "刺", - "浪", - "秘", - "援", - "株", - "健", - "售", - "股", - "岛", - "甘", - "泡", - "睡", - "童", - "铸", - "汤", - "阀", - "休", - "汇", - "舍", - "牧", - "绕", - "炸", - "哲", - "磷", - "绩", - "朋", - "淡", - "尖", - "启", - "陷", - "柴", - "呈", - "徒", - "颜", - "泪", - "稍", - "忘", - "泵", - "蓝", - "拖", - "洞", - "授", - "镜", - "辛", - "壮", - "锋", - "贫", - "虚", - "弯", - "摩", - "泰", - "幼", - "廷", - "尊", - "窗", - "纲", - "弄", - "隶", - "疑", - "氏", - "宫", - "姐", - "震", - "瑞", - "怪", - "尤", - "琴", - "循", - "描", - "膜", - "违", - "夹", - "腰", - "缘", - "珠", - "穷", - "森", - "枝", - "竹", - "沟", - "催", - "绳", - "忆", - "邦", - "剩", - "幸", - "浆", - "栏", - "拥", - "牙", - "贮", - "礼", - "滤", - "钠", - "纹", - "罢", - "拍", - "咱", - "喊", - "袖", - "埃", - "勤", - "罚", - "焦", - "潜", - "伍", - "墨", - "欲", - "缝", - "姓", - "刊", - "饱", - "仿", - "奖", - "铝", - "鬼", - "丽", - "跨", - "默", - "挖", - "链", - "扫", - "喝", - "袋", - "炭", - "污", - "幕", - "诸", - "弧", - "励", - "梅", - "奶", - "洁", - "灾", - "舟", - "鉴", - "苯", - "讼", - "抱", - "毁", - "懂", - "寒", - "智", - "埔", - "寄", - "届", - "跃", - "渡", - "挑", - "丹", - "艰", - "贝", - "碰", - "拔", - "爹", - "戴", - "码", - "梦", - "芽", - "熔", - "赤", - "渔", - "哭", - "敬", - "颗", - "奔", - "铅", - "仲", - "虎", - "稀", - "妹", - "乏", - "珍", - "申", - "桌", - "遵", - "允", - "隆", - "螺", - "仓", - "魏", - "锐", - "晓", - "氮", - "兼", - "隐", - "碍", - "赫", - "拨", - "忠", - "肃", - "缸", - "牵", - "抢", - "博", - "巧", - "壳", - "兄", - "杜", - "讯", - "诚", - "碧", - "祥", - "柯", - "页", - "巡", - "矩", - "悲", - "灌", - "龄", - "伦", - "票", - "寻", - "桂", - "铺", - "圣", - "恐", - "恰", - "郑", - "趣", - "抬", - "荒", - "腾", - "贴", - "柔", - "滴", - "猛", - "阔", - "辆", - "妻", - "填", - "撤", - "储", - "签", - "闹", - "扰", - "紫", - "砂", - "递", - "戏", - "吊", - "陶", - "伐", - "喂", - "疗", - "瓶", - "婆", - "抚", - "臂", - "摸", - "忍", - "虾", - "蜡", - "邻", - "胸", - "巩", - "挤", - "偶", - "弃", - "槽", - "劲", - "乳", - "邓", - "吉", - "仁", - "烂", - "砖", - "租", - "乌", - "舰", - "伴", - "瓜", - "浅", - "丙", - "暂", - "燥", - "橡", - "柳", - "迷", - "暖", - "牌", - "秧", - "胆", - "详", - "簧", - "踏", - "瓷", - "谱", - "呆", - "宾", - "糊", - "洛", - "辉", - "愤", - "竞", - "隙", - "怒", - "粘", - "乃", - "绪", - "肩", - "籍", - "敏", - "涂", - "熙", - "皆", - "侦", - "悬", - "掘", - "享", - "纠", - "醒", - "狂", - "锁", - "淀", - "恨", - "牲", - "霸", - "爬", - "赏", - "逆", - "玩", - "陵", - "祝", - "秒", - "浙", - "貌", - "役", - "彼", - "悉", - "鸭", - "趋", - "凤", - "晨", - "畜", - "辈", - "秩", - "卵", - "署", - "梯", - "炎", - "滩", - "棋", - "驱", - "筛", - "峡", - "冒", - "啥", - "寿", - "译", - "浸", - "泉", - "帽", - "迟", - "硅", - "疆", - "贷", - "漏", - "稿", - "冠", - "嫩", - "胁", - "芯", - "牢", - "叛", - "蚀", - "奥", - "鸣", - "岭", - "羊", - "凭", - "串", - "塘", - "绘", - "酵", - "融", - "盆", - "锡", - "庙", - "筹", - "冻", - "辅", - "摄", - "袭", - "筋", - "拒", - "僚", - "旱", - "钾", - "鸟", - "漆", - "沈", - "眉", - "疏", - "添", - "棒", - "穗", - "硝", - "韩", - "逼", - "扭", - "侨", - "凉", - "挺", - "碗", - "栽", - "炒", - "杯", - "患", - "馏", - "劝", - "豪", - "辽", - "勃", - "鸿", - "旦", - "吏", - "拜", - "狗", - "埋", - "辊", - "掩", - "饮", - "搬", - "骂", - "辞", - "勾", - "扣", - "估", - "蒋", - "绒", - "雾", - "丈", - "朵", - "姆", - "拟", - "宇", - "辑", - "陕", - "雕", - "偿", - "蓄", - "崇", - "剪", - "倡", - "厅", - "咬", - "驶", - "薯", - "刷", - "斥", - "番", - "赋", - "奉", - "佛", - "浇", - "漫", - "曼", - "扇", - "钙", - "桃", - "扶", - "仔", - "返", - "俗", - "亏", - "腔", - "鞋", - "棱", - "覆", - "框", - "悄", - "叔", - "撞", - "骗", - "勘", - "旺", - "沸", - "孤", - "吐", - "孟", - "渠", - "屈", - "疾", - "妙", - "惜", - "仰", - "狠", - "胀", - "谐", - "抛", - "霉", - "桑", - "岗", - "嘛", - "衰", - "盗", - "渗", - "脏", - "赖", - "涌", - "甜", - "曹", - "阅", - "肌", - "哩", - "厉", - "烃", - "纬", - "毅", - "昨", - "伪", - "症", - "煮", - "叹", - "钉", - "搭", - "茎", - "笼", - "酷", - "偷", - "弓", - "锥", - "恒", - "杰", - "坑", - "鼻", - "翼", - "纶", - "叙", - "狱", - "逮", - "罐", - "络", - "棚", - "抑", - "膨", - "蔬", - "寺", - "骤", - "穆", - "冶", - "枯", - "册", - "尸", - "凸", - "绅", - "坯", - "牺", - "焰", - "轰", - "欣", - "晋", - "瘦", - "御", - "锭", - "锦", - "丧", - "旬", - "锻", - "垄", - "搜", - "扑", - "邀", - "亭", - "酯", - "迈", - "舒", - "脆", - "酶", - "闲", - "忧", - "酚", - "顽", - "羽", - "涨", - "卸", - "仗", - "陪", - "辟", - "惩", - "杭", - "姚", - "肚", - "捉", - "飘", - "漂", - "昆", - "欺", - "吾", - "郎", - "烷", - "汁", - "呵", - "饰", - "萧", - "雅", - "邮", - "迁", - "燕", - "撒", - "姻", - "赴", - "宴", - "烦", - "债", - "帐", - "斑", - "铃", - "旨", - "醇", - "董", - "饼", - "雏", - "姿", - "拌", - "傅", - "腹", - "妥", - "揉", - "贤", - "拆", - "歪", - "葡", - "胺", - "丢", - "浩", - "徽", - "昂", - "垫", - "挡", - "览", - "贪", - "慰", - "缴", - "汪", - "慌", - "冯", - "诺", - "姜", - "谊", - "凶", - "劣", - "诬", - "耀", - "昏", - "躺", - "盈", - "骑", - "乔", - "溪", - "丛", - "卢", - "抹", - "闷", - "咨", - "刮", - "驾", - "缆", - "悟", - "摘", - "铒", - "掷", - "颇", - "幻", - "柄", - "惠", - "惨", - "佳", - "仇", - "腊", - "窝", - "涤", - "剑", - "瞧", - "堡", - "泼", - "葱", - "罩", - "霍", - "捞", - "胎", - "苍", - "滨", - "俩", - "捅", - "湘", - "砍", - "霞", - "邵", - "萄", - "疯", - "淮", - "遂", - "熊", - "粪", - "烘", - "宿", - "档", - "戈", - "驳", - "嫂", - "裕", - "徙", - "箭", - "捐", - "肠", - "撑", - "晒", - "辨", - "殿", - "莲", - "摊", - "搅", - "酱", - "屏", - "疫", - "哀", - "蔡", - "堵", - "沫", - "皱", - "畅", - "叠", - "阁", - "莱", - "敲", - "辖", - "钩", - "痕", - "坝", - "巷", - "饿", - "祸", - "丘", - "玄", - "溜", - "曰", - "逻", - "彭", - "尝", - "卿", - "妨", - "艇", - "吞", - "韦", - "怨", - "矮", - "歇" -]; + get index () { + return this._state.content.index; + } -var require$$2 = [ - "的", - "一", - "是", - "在", - "不", - "了", - "有", - "和", - "人", - "這", - "中", - "大", - "為", - "上", - "個", - "國", - "我", - "以", - "要", - "他", - "時", - "來", - "用", - "們", - "生", - "到", - "作", - "地", - "於", - "出", - "就", - "分", - "對", - "成", - "會", - "可", - "主", - "發", - "年", - "動", - "同", - "工", - "也", - "能", - "下", - "過", - "子", - "說", - "產", - "種", - "面", - "而", - "方", - "後", - "多", - "定", - "行", - "學", - "法", - "所", - "民", - "得", - "經", - "十", - "三", - "之", - "進", - "著", - "等", - "部", - "度", - "家", - "電", - "力", - "裡", - "如", - "水", - "化", - "高", - "自", - "二", - "理", - "起", - "小", - "物", - "現", - "實", - "加", - "量", - "都", - "兩", - "體", - "制", - "機", - "當", - "使", - "點", - "從", - "業", - "本", - "去", - "把", - "性", - "好", - "應", - "開", - "它", - "合", - "還", - "因", - "由", - "其", - "些", - "然", - "前", - "外", - "天", - "政", - "四", - "日", - "那", - "社", - "義", - "事", - "平", - "形", - "相", - "全", - "表", - "間", - "樣", - "與", - "關", - "各", - "重", - "新", - "線", - "內", - "數", - "正", - "心", - "反", - "你", - "明", - "看", - "原", - "又", - "麼", - "利", - "比", - "或", - "但", - "質", - "氣", - "第", - "向", - "道", - "命", - "此", - "變", - "條", - "只", - "沒", - "結", - "解", - "問", - "意", - "建", - "月", - "公", - "無", - "系", - "軍", - "很", - "情", - "者", - "最", - "立", - "代", - "想", - "已", - "通", - "並", - "提", - "直", - "題", - "黨", - "程", - "展", - "五", - "果", - "料", - "象", - "員", - "革", - "位", - "入", - "常", - "文", - "總", - "次", - "品", - "式", - "活", - "設", - "及", - "管", - "特", - "件", - "長", - "求", - "老", - "頭", - "基", - "資", - "邊", - "流", - "路", - "級", - "少", - "圖", - "山", - "統", - "接", - "知", - "較", - "將", - "組", - "見", - "計", - "別", - "她", - "手", - "角", - "期", - "根", - "論", - "運", - "農", - "指", - "幾", - "九", - "區", - "強", - "放", - "決", - "西", - "被", - "幹", - "做", - "必", - "戰", - "先", - "回", - "則", - "任", - "取", - "據", - "處", - "隊", - "南", - "給", - "色", - "光", - "門", - "即", - "保", - "治", - "北", - "造", - "百", - "規", - "熱", - "領", - "七", - "海", - "口", - "東", - "導", - "器", - "壓", - "志", - "世", - "金", - "增", - "爭", - "濟", - "階", - "油", - "思", - "術", - "極", - "交", - "受", - "聯", - "什", - "認", - "六", - "共", - "權", - "收", - "證", - "改", - "清", - "美", - "再", - "採", - "轉", - "更", - "單", - "風", - "切", - "打", - "白", - "教", - "速", - "花", - "帶", - "安", - "場", - "身", - "車", - "例", - "真", - "務", - "具", - "萬", - "每", - "目", - "至", - "達", - "走", - "積", - "示", - "議", - "聲", - "報", - "鬥", - "完", - "類", - "八", - "離", - "華", - "名", - "確", - "才", - "科", - "張", - "信", - "馬", - "節", - "話", - "米", - "整", - "空", - "元", - "況", - "今", - "集", - "溫", - "傳", - "土", - "許", - "步", - "群", - "廣", - "石", - "記", - "需", - "段", - "研", - "界", - "拉", - "林", - "律", - "叫", - "且", - "究", - "觀", - "越", - "織", - "裝", - "影", - "算", - "低", - "持", - "音", - "眾", - "書", - "布", - "复", - "容", - "兒", - "須", - "際", - "商", - "非", - "驗", - "連", - "斷", - "深", - "難", - "近", - "礦", - "千", - "週", - "委", - "素", - "技", - "備", - "半", - "辦", - "青", - "省", - "列", - "習", - "響", - "約", - "支", - "般", - "史", - "感", - "勞", - "便", - "團", - "往", - "酸", - "歷", - "市", - "克", - "何", - "除", - "消", - "構", - "府", - "稱", - "太", - "準", - "精", - "值", - "號", - "率", - "族", - "維", - "劃", - "選", - "標", - "寫", - "存", - "候", - "毛", - "親", - "快", - "效", - "斯", - "院", - "查", - "江", - "型", - "眼", - "王", - "按", - "格", - "養", - "易", - "置", - "派", - "層", - "片", - "始", - "卻", - "專", - "狀", - "育", - "廠", - "京", - "識", - "適", - "屬", - "圓", - "包", - "火", - "住", - "調", - "滿", - "縣", - "局", - "照", - "參", - "紅", - "細", - "引", - "聽", - "該", - "鐵", - "價", - "嚴", - "首", - "底", - "液", - "官", - "德", - "隨", - "病", - "蘇", - "失", - "爾", - "死", - "講", - "配", - "女", - "黃", - "推", - "顯", - "談", - "罪", - "神", - "藝", - "呢", - "席", - "含", - "企", - "望", - "密", - "批", - "營", - "項", - "防", - "舉", - "球", - "英", - "氧", - "勢", - "告", - "李", - "台", - "落", - "木", - "幫", - "輪", - "破", - "亞", - "師", - "圍", - "注", - "遠", - "字", - "材", - "排", - "供", - "河", - "態", - "封", - "另", - "施", - "減", - "樹", - "溶", - "怎", - "止", - "案", - "言", - "士", - "均", - "武", - "固", - "葉", - "魚", - "波", - "視", - "僅", - "費", - "緊", - "愛", - "左", - "章", - "早", - "朝", - "害", - "續", - "輕", - "服", - "試", - "食", - "充", - "兵", - "源", - "判", - "護", - "司", - "足", - "某", - "練", - "差", - "致", - "板", - "田", - "降", - "黑", - "犯", - "負", - "擊", - "范", - "繼", - "興", - "似", - "餘", - "堅", - "曲", - "輸", - "修", - "故", - "城", - "夫", - "夠", - "送", - "筆", - "船", - "佔", - "右", - "財", - "吃", - "富", - "春", - "職", - "覺", - "漢", - "畫", - "功", - "巴", - "跟", - "雖", - "雜", - "飛", - "檢", - "吸", - "助", - "昇", - "陽", - "互", - "初", - "創", - "抗", - "考", - "投", - "壞", - "策", - "古", - "徑", - "換", - "未", - "跑", - "留", - "鋼", - "曾", - "端", - "責", - "站", - "簡", - "述", - "錢", - "副", - "盡", - "帝", - "射", - "草", - "衝", - "承", - "獨", - "令", - "限", - "阿", - "宣", - "環", - "雙", - "請", - "超", - "微", - "讓", - "控", - "州", - "良", - "軸", - "找", - "否", - "紀", - "益", - "依", - "優", - "頂", - "礎", - "載", - "倒", - "房", - "突", - "坐", - "粉", - "敵", - "略", - "客", - "袁", - "冷", - "勝", - "絕", - "析", - "塊", - "劑", - "測", - "絲", - "協", - "訴", - "念", - "陳", - "仍", - "羅", - "鹽", - "友", - "洋", - "錯", - "苦", - "夜", - "刑", - "移", - "頻", - "逐", - "靠", - "混", - "母", - "短", - "皮", - "終", - "聚", - "汽", - "村", - "雲", - "哪", - "既", - "距", - "衛", - "停", - "烈", - "央", - "察", - "燒", - "迅", - "境", - "若", - "印", - "洲", - "刻", - "括", - "激", - "孔", - "搞", - "甚", - "室", - "待", - "核", - "校", - "散", - "侵", - "吧", - "甲", - "遊", - "久", - "菜", - "味", - "舊", - "模", - "湖", - "貨", - "損", - "預", - "阻", - "毫", - "普", - "穩", - "乙", - "媽", - "植", - "息", - "擴", - "銀", - "語", - "揮", - "酒", - "守", - "拿", - "序", - "紙", - "醫", - "缺", - "雨", - "嗎", - "針", - "劉", - "啊", - "急", - "唱", - "誤", - "訓", - "願", - "審", - "附", - "獲", - "茶", - "鮮", - "糧", - "斤", - "孩", - "脫", - "硫", - "肥", - "善", - "龍", - "演", - "父", - "漸", - "血", - "歡", - "械", - "掌", - "歌", - "沙", - "剛", - "攻", - "謂", - "盾", - "討", - "晚", - "粒", - "亂", - "燃", - "矛", - "乎", - "殺", - "藥", - "寧", - "魯", - "貴", - "鐘", - "煤", - "讀", - "班", - "伯", - "香", - "介", - "迫", - "句", - "豐", - "培", - "握", - "蘭", - "擔", - "弦", - "蛋", - "沉", - "假", - "穿", - "執", - "答", - "樂", - "誰", - "順", - "煙", - "縮", - "徵", - "臉", - "喜", - "松", - "腳", - "困", - "異", - "免", - "背", - "星", - "福", - "買", - "染", - "井", - "概", - "慢", - "怕", - "磁", - "倍", - "祖", - "皇", - "促", - "靜", - "補", - "評", - "翻", - "肉", - "踐", - "尼", - "衣", - "寬", - "揚", - "棉", - "希", - "傷", - "操", - "垂", - "秋", - "宜", - "氫", - "套", - "督", - "振", - "架", - "亮", - "末", - "憲", - "慶", - "編", - "牛", - "觸", - "映", - "雷", - "銷", - "詩", - "座", - "居", - "抓", - "裂", - "胞", - "呼", - "娘", - "景", - "威", - "綠", - "晶", - "厚", - "盟", - "衡", - "雞", - "孫", - "延", - "危", - "膠", - "屋", - "鄉", - "臨", - "陸", - "顧", - "掉", - "呀", - "燈", - "歲", - "措", - "束", - "耐", - "劇", - "玉", - "趙", - "跳", - "哥", - "季", - "課", - "凱", - "胡", - "額", - "款", - "紹", - "卷", - "齊", - "偉", - "蒸", - "殖", - "永", - "宗", - "苗", - "川", - "爐", - "岩", - "弱", - "零", - "楊", - "奏", - "沿", - "露", - "桿", - "探", - "滑", - "鎮", - "飯", - "濃", - "航", - "懷", - "趕", - "庫", - "奪", - "伊", - "靈", - "稅", - "途", - "滅", - "賽", - "歸", - "召", - "鼓", - "播", - "盤", - "裁", - "險", - "康", - "唯", - "錄", - "菌", - "純", - "借", - "糖", - "蓋", - "橫", - "符", - "私", - "努", - "堂", - "域", - "槍", - "潤", - "幅", - "哈", - "竟", - "熟", - "蟲", - "澤", - "腦", - "壤", - "碳", - "歐", - "遍", - "側", - "寨", - "敢", - "徹", - "慮", - "斜", - "薄", - "庭", - "納", - "彈", - "飼", - "伸", - "折", - "麥", - "濕", - "暗", - "荷", - "瓦", - "塞", - "床", - "築", - "惡", - "戶", - "訪", - "塔", - "奇", - "透", - "梁", - "刀", - "旋", - "跡", - "卡", - "氯", - "遇", - "份", - "毒", - "泥", - "退", - "洗", - "擺", - "灰", - "彩", - "賣", - "耗", - "夏", - "擇", - "忙", - "銅", - "獻", - "硬", - "予", - "繁", - "圈", - "雪", - "函", - "亦", - "抽", - "篇", - "陣", - "陰", - "丁", - "尺", - "追", - "堆", - "雄", - "迎", - "泛", - "爸", - "樓", - "避", - "謀", - "噸", - "野", - "豬", - "旗", - "累", - "偏", - "典", - "館", - "索", - "秦", - "脂", - "潮", - "爺", - "豆", - "忽", - "托", - "驚", - "塑", - "遺", - "愈", - "朱", - "替", - "纖", - "粗", - "傾", - "尚", - "痛", - "楚", - "謝", - "奮", - "購", - "磨", - "君", - "池", - "旁", - "碎", - "骨", - "監", - "捕", - "弟", - "暴", - "割", - "貫", - "殊", - "釋", - "詞", - "亡", - "壁", - "頓", - "寶", - "午", - "塵", - "聞", - "揭", - "炮", - "殘", - "冬", - "橋", - "婦", - "警", - "綜", - "招", - "吳", - "付", - "浮", - "遭", - "徐", - "您", - "搖", - "谷", - "贊", - "箱", - "隔", - "訂", - "男", - "吹", - "園", - "紛", - "唐", - "敗", - "宋", - "玻", - "巨", - "耕", - "坦", - "榮", - "閉", - "灣", - "鍵", - "凡", - "駐", - "鍋", - "救", - "恩", - "剝", - "凝", - "鹼", - "齒", - "截", - "煉", - "麻", - "紡", - "禁", - "廢", - "盛", - "版", - "緩", - "淨", - "睛", - "昌", - "婚", - "涉", - "筒", - "嘴", - "插", - "岸", - "朗", - "莊", - "街", - "藏", - "姑", - "貿", - "腐", - "奴", - "啦", - "慣", - "乘", - "夥", - "恢", - "勻", - "紗", - "扎", - "辯", - "耳", - "彪", - "臣", - "億", - "璃", - "抵", - "脈", - "秀", - "薩", - "俄", - "網", - "舞", - "店", - "噴", - "縱", - "寸", - "汗", - "掛", - "洪", - "賀", - "閃", - "柬", - "爆", - "烯", - "津", - "稻", - "牆", - "軟", - "勇", - "像", - "滾", - "厘", - "蒙", - "芳", - "肯", - "坡", - "柱", - "盪", - "腿", - "儀", - "旅", - "尾", - "軋", - "冰", - "貢", - "登", - "黎", - "削", - "鑽", - "勒", - "逃", - "障", - "氨", - "郭", - "峰", - "幣", - "港", - "伏", - "軌", - "畝", - "畢", - "擦", - "莫", - "刺", - "浪", - "秘", - "援", - "株", - "健", - "售", - "股", - "島", - "甘", - "泡", - "睡", - "童", - "鑄", - "湯", - "閥", - "休", - "匯", - "舍", - "牧", - "繞", - "炸", - "哲", - "磷", - "績", - "朋", - "淡", - "尖", - "啟", - "陷", - "柴", - "呈", - "徒", - "顏", - "淚", - "稍", - "忘", - "泵", - "藍", - "拖", - "洞", - "授", - "鏡", - "辛", - "壯", - "鋒", - "貧", - "虛", - "彎", - "摩", - "泰", - "幼", - "廷", - "尊", - "窗", - "綱", - "弄", - "隸", - "疑", - "氏", - "宮", - "姐", - "震", - "瑞", - "怪", - "尤", - "琴", - "循", - "描", - "膜", - "違", - "夾", - "腰", - "緣", - "珠", - "窮", - "森", - "枝", - "竹", - "溝", - "催", - "繩", - "憶", - "邦", - "剩", - "幸", - "漿", - "欄", - "擁", - "牙", - "貯", - "禮", - "濾", - "鈉", - "紋", - "罷", - "拍", - "咱", - "喊", - "袖", - "埃", - "勤", - "罰", - "焦", - "潛", - "伍", - "墨", - "欲", - "縫", - "姓", - "刊", - "飽", - "仿", - "獎", - "鋁", - "鬼", - "麗", - "跨", - "默", - "挖", - "鏈", - "掃", - "喝", - "袋", - "炭", - "污", - "幕", - "諸", - "弧", - "勵", - "梅", - "奶", - "潔", - "災", - "舟", - "鑑", - "苯", - "訟", - "抱", - "毀", - "懂", - "寒", - "智", - "埔", - "寄", - "屆", - "躍", - "渡", - "挑", - "丹", - "艱", - "貝", - "碰", - "拔", - "爹", - "戴", - "碼", - "夢", - "芽", - "熔", - "赤", - "漁", - "哭", - "敬", - "顆", - "奔", - "鉛", - "仲", - "虎", - "稀", - "妹", - "乏", - "珍", - "申", - "桌", - "遵", - "允", - "隆", - "螺", - "倉", - "魏", - "銳", - "曉", - "氮", - "兼", - "隱", - "礙", - "赫", - "撥", - "忠", - "肅", - "缸", - "牽", - "搶", - "博", - "巧", - "殼", - "兄", - "杜", - "訊", - "誠", - "碧", - "祥", - "柯", - "頁", - "巡", - "矩", - "悲", - "灌", - "齡", - "倫", - "票", - "尋", - "桂", - "鋪", - "聖", - "恐", - "恰", - "鄭", - "趣", - "抬", - "荒", - "騰", - "貼", - "柔", - "滴", - "猛", - "闊", - "輛", - "妻", - "填", - "撤", - "儲", - "簽", - "鬧", - "擾", - "紫", - "砂", - "遞", - "戲", - "吊", - "陶", - "伐", - "餵", - "療", - "瓶", - "婆", - "撫", - "臂", - "摸", - "忍", - "蝦", - "蠟", - "鄰", - "胸", - "鞏", - "擠", - "偶", - "棄", - "槽", - "勁", - "乳", - "鄧", - "吉", - "仁", - "爛", - "磚", - "租", - "烏", - "艦", - "伴", - "瓜", - "淺", - "丙", - "暫", - "燥", - "橡", - "柳", - "迷", - "暖", - "牌", - "秧", - "膽", - "詳", - "簧", - "踏", - "瓷", - "譜", - "呆", - "賓", - "糊", - "洛", - "輝", - "憤", - "競", - "隙", - "怒", - "粘", - "乃", - "緒", - "肩", - "籍", - "敏", - "塗", - "熙", - "皆", - "偵", - "懸", - "掘", - "享", - "糾", - "醒", - "狂", - "鎖", - "淀", - "恨", - "牲", - "霸", - "爬", - "賞", - "逆", - "玩", - "陵", - "祝", - "秒", - "浙", - "貌", - "役", - "彼", - "悉", - "鴨", - "趨", - "鳳", - "晨", - "畜", - "輩", - "秩", - "卵", - "署", - "梯", - "炎", - "灘", - "棋", - "驅", - "篩", - "峽", - "冒", - "啥", - "壽", - "譯", - "浸", - "泉", - "帽", - "遲", - "矽", - "疆", - "貸", - "漏", - "稿", - "冠", - "嫩", - "脅", - "芯", - "牢", - "叛", - "蝕", - "奧", - "鳴", - "嶺", - "羊", - "憑", - "串", - "塘", - "繪", - "酵", - "融", - "盆", - "錫", - "廟", - "籌", - "凍", - "輔", - "攝", - "襲", - "筋", - "拒", - "僚", - "旱", - "鉀", - "鳥", - "漆", - "沈", - "眉", - "疏", - "添", - "棒", - "穗", - "硝", - "韓", - "逼", - "扭", - "僑", - "涼", - "挺", - "碗", - "栽", - "炒", - "杯", - "患", - "餾", - "勸", - "豪", - "遼", - "勃", - "鴻", - "旦", - "吏", - "拜", - "狗", - "埋", - "輥", - "掩", - "飲", - "搬", - "罵", - "辭", - "勾", - "扣", - "估", - "蔣", - "絨", - "霧", - "丈", - "朵", - "姆", - "擬", - "宇", - "輯", - "陝", - "雕", - "償", - "蓄", - "崇", - "剪", - "倡", - "廳", - "咬", - "駛", - "薯", - "刷", - "斥", - "番", - "賦", - "奉", - "佛", - "澆", - "漫", - "曼", - "扇", - "鈣", - "桃", - "扶", - "仔", - "返", - "俗", - "虧", - "腔", - "鞋", - "棱", - "覆", - "框", - "悄", - "叔", - "撞", - "騙", - "勘", - "旺", - "沸", - "孤", - "吐", - "孟", - "渠", - "屈", - "疾", - "妙", - "惜", - "仰", - "狠", - "脹", - "諧", - "拋", - "黴", - "桑", - "崗", - "嘛", - "衰", - "盜", - "滲", - "臟", - "賴", - "湧", - "甜", - "曹", - "閱", - "肌", - "哩", - "厲", - "烴", - "緯", - "毅", - "昨", - "偽", - "症", - "煮", - "嘆", - "釘", - "搭", - "莖", - "籠", - "酷", - "偷", - "弓", - "錐", - "恆", - "傑", - "坑", - "鼻", - "翼", - "綸", - "敘", - "獄", - "逮", - "罐", - "絡", - "棚", - "抑", - "膨", - "蔬", - "寺", - "驟", - "穆", - "冶", - "枯", - "冊", - "屍", - "凸", - "紳", - "坯", - "犧", - "焰", - "轟", - "欣", - "晉", - "瘦", - "禦", - "錠", - "錦", - "喪", - "旬", - "鍛", - "壟", - "搜", - "撲", - "邀", - "亭", - "酯", - "邁", - "舒", - "脆", - "酶", - "閒", - "憂", - "酚", - "頑", - "羽", - "漲", - "卸", - "仗", - "陪", - "闢", - "懲", - "杭", - "姚", - "肚", - "捉", - "飄", - "漂", - "昆", - "欺", - "吾", - "郎", - "烷", - "汁", - "呵", - "飾", - "蕭", - "雅", - "郵", - "遷", - "燕", - "撒", - "姻", - "赴", - "宴", - "煩", - "債", - "帳", - "斑", - "鈴", - "旨", - "醇", - "董", - "餅", - "雛", - "姿", - "拌", - "傅", - "腹", - "妥", - "揉", - "賢", - "拆", - "歪", - "葡", - "胺", - "丟", - "浩", - "徽", - "昂", - "墊", - "擋", - "覽", - "貪", - "慰", - "繳", - "汪", - "慌", - "馮", - "諾", - "姜", - "誼", - "兇", - "劣", - "誣", - "耀", - "昏", - "躺", - "盈", - "騎", - "喬", - "溪", - "叢", - "盧", - "抹", - "悶", - "諮", - "刮", - "駕", - "纜", - "悟", - "摘", - "鉺", - "擲", - "頗", - "幻", - "柄", - "惠", - "慘", - "佳", - "仇", - "臘", - "窩", - "滌", - "劍", - "瞧", - "堡", - "潑", - "蔥", - "罩", - "霍", - "撈", - "胎", - "蒼", - "濱", - "倆", - "捅", - "湘", - "砍", - "霞", - "邵", - "萄", - "瘋", - "淮", - "遂", - "熊", - "糞", - "烘", - "宿", - "檔", - "戈", - "駁", - "嫂", - "裕", - "徙", - "箭", - "捐", - "腸", - "撐", - "曬", - "辨", - "殿", - "蓮", - "攤", - "攪", - "醬", - "屏", - "疫", - "哀", - "蔡", - "堵", - "沫", - "皺", - "暢", - "疊", - "閣", - "萊", - "敲", - "轄", - "鉤", - "痕", - "壩", - "巷", - "餓", - "禍", - "丘", - "玄", - "溜", - "曰", - "邏", - "彭", - "嘗", - "卿", - "妨", - "艇", - "吞", - "韋", - "怨", - "矮", - "歇" -]; + get master () { + return this.key; + } -var require$$3 = [ - "가격", - "가끔", - "가난", - "가능", - "가득", - "가르침", - "가뭄", - "가방", - "가상", - "가슴", - "가운데", - "가을", - "가이드", - "가입", - "가장", - "가정", - "가족", - "가죽", - "각오", - "각자", - "간격", - "간부", - "간섭", - "간장", - "간접", - "간판", - "갈등", - "갈비", - "갈색", - "갈증", - "감각", - "감기", - "감소", - "감수성", - "감자", - "감정", - "갑자기", - "강남", - "강당", - "강도", - "강력히", - "강변", - "강북", - "강사", - "강수량", - "강아지", - "강원도", - "강의", - "강제", - "강조", - "같이", - "개구리", - "개나리", - "개방", - "개별", - "개선", - "개성", - "개인", - "객관적", - "거실", - "거액", - "거울", - "거짓", - "거품", - "걱정", - "건강", - "건물", - "건설", - "건조", - "건축", - "걸음", - "검사", - "검토", - "게시판", - "게임", - "겨울", - "견해", - "결과", - "결국", - "결론", - "결석", - "결승", - "결심", - "결정", - "결혼", - "경계", - "경고", - "경기", - "경력", - "경복궁", - "경비", - "경상도", - "경영", - "경우", - "경쟁", - "경제", - "경주", - "경찰", - "경치", - "경향", - "경험", - "계곡", - "계단", - "계란", - "계산", - "계속", - "계약", - "계절", - "계층", - "계획", - "고객", - "고구려", - "고궁", - "고급", - "고등학생", - "고무신", - "고민", - "고양이", - "고장", - "고전", - "고집", - "고춧가루", - "고통", - "고향", - "곡식", - "골목", - "골짜기", - "골프", - "공간", - "공개", - "공격", - "공군", - "공급", - "공기", - "공동", - "공무원", - "공부", - "공사", - "공식", - "공업", - "공연", - "공원", - "공장", - "공짜", - "공책", - "공통", - "공포", - "공항", - "공휴일", - "과목", - "과일", - "과장", - "과정", - "과학", - "관객", - "관계", - "관광", - "관념", - "관람", - "관련", - "관리", - "관습", - "관심", - "관점", - "관찰", - "광경", - "광고", - "광장", - "광주", - "괴로움", - "굉장히", - "교과서", - "교문", - "교복", - "교실", - "교양", - "교육", - "교장", - "교직", - "교통", - "교환", - "교훈", - "구경", - "구름", - "구멍", - "구별", - "구분", - "구석", - "구성", - "구속", - "구역", - "구입", - "구청", - "구체적", - "국가", - "국기", - "국내", - "국립", - "국물", - "국민", - "국수", - "국어", - "국왕", - "국적", - "국제", - "국회", - "군대", - "군사", - "군인", - "궁극적", - "권리", - "권위", - "권투", - "귀국", - "귀신", - "규정", - "규칙", - "균형", - "그날", - "그냥", - "그늘", - "그러나", - "그룹", - "그릇", - "그림", - "그제서야", - "그토록", - "극복", - "극히", - "근거", - "근교", - "근래", - "근로", - "근무", - "근본", - "근원", - "근육", - "근처", - "글씨", - "글자", - "금강산", - "금고", - "금년", - "금메달", - "금액", - "금연", - "금요일", - "금지", - "긍정적", - "기간", - "기관", - "기념", - "기능", - "기독교", - "기둥", - "기록", - "기름", - "기법", - "기본", - "기분", - "기쁨", - "기숙사", - "기술", - "기억", - "기업", - "기온", - "기운", - "기원", - "기적", - "기준", - "기침", - "기혼", - "기획", - "긴급", - "긴장", - "길이", - "김밥", - "김치", - "김포공항", - "깍두기", - "깜빡", - "깨달음", - "깨소금", - "껍질", - "꼭대기", - "꽃잎", - "나들이", - "나란히", - "나머지", - "나물", - "나침반", - "나흘", - "낙엽", - "난방", - "날개", - "날씨", - "날짜", - "남녀", - "남대문", - "남매", - "남산", - "남자", - "남편", - "남학생", - "낭비", - "낱말", - "내년", - "내용", - "내일", - "냄비", - "냄새", - "냇물", - "냉동", - "냉면", - "냉방", - "냉장고", - "넥타이", - "넷째", - "노동", - "노란색", - "노력", - "노인", - "녹음", - "녹차", - "녹화", - "논리", - "논문", - "논쟁", - "놀이", - "농구", - "농담", - "농민", - "농부", - "농업", - "농장", - "농촌", - "높이", - "눈동자", - "눈물", - "눈썹", - "뉴욕", - "느낌", - "늑대", - "능동적", - "능력", - "다방", - "다양성", - "다음", - "다이어트", - "다행", - "단계", - "단골", - "단독", - "단맛", - "단순", - "단어", - "단위", - "단점", - "단체", - "단추", - "단편", - "단풍", - "달걀", - "달러", - "달력", - "달리", - "닭고기", - "담당", - "담배", - "담요", - "담임", - "답변", - "답장", - "당근", - "당분간", - "당연히", - "당장", - "대규모", - "대낮", - "대단히", - "대답", - "대도시", - "대략", - "대량", - "대륙", - "대문", - "대부분", - "대신", - "대응", - "대장", - "대전", - "대접", - "대중", - "대책", - "대출", - "대충", - "대통령", - "대학", - "대한민국", - "대합실", - "대형", - "덩어리", - "데이트", - "도대체", - "도덕", - "도둑", - "도망", - "도서관", - "도심", - "도움", - "도입", - "도자기", - "도저히", - "도전", - "도중", - "도착", - "독감", - "독립", - "독서", - "독일", - "독창적", - "동화책", - "뒷모습", - "뒷산", - "딸아이", - "마누라", - "마늘", - "마당", - "마라톤", - "마련", - "마무리", - "마사지", - "마약", - "마요네즈", - "마을", - "마음", - "마이크", - "마중", - "마지막", - "마찬가지", - "마찰", - "마흔", - "막걸리", - "막내", - "막상", - "만남", - "만두", - "만세", - "만약", - "만일", - "만점", - "만족", - "만화", - "많이", - "말기", - "말씀", - "말투", - "맘대로", - "망원경", - "매년", - "매달", - "매력", - "매번", - "매스컴", - "매일", - "매장", - "맥주", - "먹이", - "먼저", - "먼지", - "멀리", - "메일", - "며느리", - "며칠", - "면담", - "멸치", - "명단", - "명령", - "명예", - "명의", - "명절", - "명칭", - "명함", - "모금", - "모니터", - "모델", - "모든", - "모범", - "모습", - "모양", - "모임", - "모조리", - "모집", - "모퉁이", - "목걸이", - "목록", - "목사", - "목소리", - "목숨", - "목적", - "목표", - "몰래", - "몸매", - "몸무게", - "몸살", - "몸속", - "몸짓", - "몸통", - "몹시", - "무관심", - "무궁화", - "무더위", - "무덤", - "무릎", - "무슨", - "무엇", - "무역", - "무용", - "무조건", - "무지개", - "무척", - "문구", - "문득", - "문법", - "문서", - "문제", - "문학", - "문화", - "물가", - "물건", - "물결", - "물고기", - "물론", - "물리학", - "물음", - "물질", - "물체", - "미국", - "미디어", - "미사일", - "미술", - "미역", - "미용실", - "미움", - "미인", - "미팅", - "미혼", - "민간", - "민족", - "민주", - "믿음", - "밀가루", - "밀리미터", - "밑바닥", - "바가지", - "바구니", - "바나나", - "바늘", - "바닥", - "바닷가", - "바람", - "바이러스", - "바탕", - "박물관", - "박사", - "박수", - "반대", - "반드시", - "반말", - "반발", - "반성", - "반응", - "반장", - "반죽", - "반지", - "반찬", - "받침", - "발가락", - "발걸음", - "발견", - "발달", - "발레", - "발목", - "발바닥", - "발생", - "발음", - "발자국", - "발전", - "발톱", - "발표", - "밤하늘", - "밥그릇", - "밥맛", - "밥상", - "밥솥", - "방금", - "방면", - "방문", - "방바닥", - "방법", - "방송", - "방식", - "방안", - "방울", - "방지", - "방학", - "방해", - "방향", - "배경", - "배꼽", - "배달", - "배드민턴", - "백두산", - "백색", - "백성", - "백인", - "백제", - "백화점", - "버릇", - "버섯", - "버튼", - "번개", - "번역", - "번지", - "번호", - "벌금", - "벌레", - "벌써", - "범위", - "범인", - "범죄", - "법률", - "법원", - "법적", - "법칙", - "베이징", - "벨트", - "변경", - "변동", - "변명", - "변신", - "변호사", - "변화", - "별도", - "별명", - "별일", - "병실", - "병아리", - "병원", - "보관", - "보너스", - "보라색", - "보람", - "보름", - "보상", - "보안", - "보자기", - "보장", - "보전", - "보존", - "보통", - "보편적", - "보험", - "복도", - "복사", - "복숭아", - "복습", - "볶음", - "본격적", - "본래", - "본부", - "본사", - "본성", - "본인", - "본질", - "볼펜", - "봉사", - "봉지", - "봉투", - "부근", - "부끄러움", - "부담", - "부동산", - "부문", - "부분", - "부산", - "부상", - "부엌", - "부인", - "부작용", - "부장", - "부정", - "부족", - "부지런히", - "부친", - "부탁", - "부품", - "부회장", - "북부", - "북한", - "분노", - "분량", - "분리", - "분명", - "분석", - "분야", - "분위기", - "분필", - "분홍색", - "불고기", - "불과", - "불교", - "불꽃", - "불만", - "불법", - "불빛", - "불안", - "불이익", - "불행", - "브랜드", - "비극", - "비난", - "비닐", - "비둘기", - "비디오", - "비로소", - "비만", - "비명", - "비밀", - "비바람", - "비빔밥", - "비상", - "비용", - "비율", - "비중", - "비타민", - "비판", - "빌딩", - "빗물", - "빗방울", - "빗줄기", - "빛깔", - "빨간색", - "빨래", - "빨리", - "사건", - "사계절", - "사나이", - "사냥", - "사람", - "사랑", - "사립", - "사모님", - "사물", - "사방", - "사상", - "사생활", - "사설", - "사슴", - "사실", - "사업", - "사용", - "사월", - "사장", - "사전", - "사진", - "사촌", - "사춘기", - "사탕", - "사투리", - "사흘", - "산길", - "산부인과", - "산업", - "산책", - "살림", - "살인", - "살짝", - "삼계탕", - "삼국", - "삼십", - "삼월", - "삼촌", - "상관", - "상금", - "상대", - "상류", - "상반기", - "상상", - "상식", - "상업", - "상인", - "상자", - "상점", - "상처", - "상추", - "상태", - "상표", - "상품", - "상황", - "새벽", - "색깔", - "색연필", - "생각", - "생명", - "생물", - "생방송", - "생산", - "생선", - "생신", - "생일", - "생활", - "서랍", - "서른", - "서명", - "서민", - "서비스", - "서양", - "서울", - "서적", - "서점", - "서쪽", - "서클", - "석사", - "석유", - "선거", - "선물", - "선배", - "선생", - "선수", - "선원", - "선장", - "선전", - "선택", - "선풍기", - "설거지", - "설날", - "설렁탕", - "설명", - "설문", - "설사", - "설악산", - "설치", - "설탕", - "섭씨", - "성공", - "성당", - "성명", - "성별", - "성인", - "성장", - "성적", - "성질", - "성함", - "세금", - "세미나", - "세상", - "세월", - "세종대왕", - "세탁", - "센터", - "센티미터", - "셋째", - "소규모", - "소극적", - "소금", - "소나기", - "소년", - "소득", - "소망", - "소문", - "소설", - "소속", - "소아과", - "소용", - "소원", - "소음", - "소중히", - "소지품", - "소질", - "소풍", - "소형", - "속담", - "속도", - "속옷", - "손가락", - "손길", - "손녀", - "손님", - "손등", - "손목", - "손뼉", - "손실", - "손질", - "손톱", - "손해", - "솔직히", - "솜씨", - "송아지", - "송이", - "송편", - "쇠고기", - "쇼핑", - "수건", - "수년", - "수단", - "수돗물", - "수동적", - "수면", - "수명", - "수박", - "수상", - "수석", - "수술", - "수시로", - "수업", - "수염", - "수영", - "수입", - "수준", - "수집", - "수출", - "수컷", - "수필", - "수학", - "수험생", - "수화기", - "숙녀", - "숙소", - "숙제", - "순간", - "순서", - "순수", - "순식간", - "순위", - "숟가락", - "술병", - "술집", - "숫자", - "스님", - "스물", - "스스로", - "스승", - "스웨터", - "스위치", - "스케이트", - "스튜디오", - "스트레스", - "스포츠", - "슬쩍", - "슬픔", - "습관", - "습기", - "승객", - "승리", - "승부", - "승용차", - "승진", - "시각", - "시간", - "시골", - "시금치", - "시나리오", - "시댁", - "시리즈", - "시멘트", - "시민", - "시부모", - "시선", - "시설", - "시스템", - "시아버지", - "시어머니", - "시월", - "시인", - "시일", - "시작", - "시장", - "시절", - "시점", - "시중", - "시즌", - "시집", - "시청", - "시합", - "시험", - "식구", - "식기", - "식당", - "식량", - "식료품", - "식물", - "식빵", - "식사", - "식생활", - "식초", - "식탁", - "식품", - "신고", - "신규", - "신념", - "신문", - "신발", - "신비", - "신사", - "신세", - "신용", - "신제품", - "신청", - "신체", - "신화", - "실감", - "실내", - "실력", - "실례", - "실망", - "실수", - "실습", - "실시", - "실장", - "실정", - "실질적", - "실천", - "실체", - "실컷", - "실태", - "실패", - "실험", - "실현", - "심리", - "심부름", - "심사", - "심장", - "심정", - "심판", - "쌍둥이", - "씨름", - "씨앗", - "아가씨", - "아나운서", - "아드님", - "아들", - "아쉬움", - "아스팔트", - "아시아", - "아울러", - "아저씨", - "아줌마", - "아직", - "아침", - "아파트", - "아프리카", - "아픔", - "아홉", - "아흔", - "악기", - "악몽", - "악수", - "안개", - "안경", - "안과", - "안내", - "안녕", - "안동", - "안방", - "안부", - "안주", - "알루미늄", - "알코올", - "암시", - "암컷", - "압력", - "앞날", - "앞문", - "애인", - "애정", - "액수", - "앨범", - "야간", - "야단", - "야옹", - "약간", - "약국", - "약속", - "약수", - "약점", - "약품", - "약혼녀", - "양념", - "양력", - "양말", - "양배추", - "양주", - "양파", - "어둠", - "어려움", - "어른", - "어젯밤", - "어쨌든", - "어쩌다가", - "어쩐지", - "언니", - "언덕", - "언론", - "언어", - "얼굴", - "얼른", - "얼음", - "얼핏", - "엄마", - "업무", - "업종", - "업체", - "엉덩이", - "엉망", - "엉터리", - "엊그제", - "에너지", - "에어컨", - "엔진", - "여건", - "여고생", - "여관", - "여군", - "여권", - "여대생", - "여덟", - "여동생", - "여든", - "여론", - "여름", - "여섯", - "여성", - "여왕", - "여인", - "여전히", - "여직원", - "여학생", - "여행", - "역사", - "역시", - "역할", - "연결", - "연구", - "연극", - "연기", - "연락", - "연설", - "연세", - "연속", - "연습", - "연애", - "연예인", - "연인", - "연장", - "연주", - "연출", - "연필", - "연합", - "연휴", - "열기", - "열매", - "열쇠", - "열심히", - "열정", - "열차", - "열흘", - "염려", - "엽서", - "영국", - "영남", - "영상", - "영양", - "영역", - "영웅", - "영원히", - "영하", - "영향", - "영혼", - "영화", - "옆구리", - "옆방", - "옆집", - "예감", - "예금", - "예방", - "예산", - "예상", - "예선", - "예술", - "예습", - "예식장", - "예약", - "예전", - "예절", - "예정", - "예컨대", - "옛날", - "오늘", - "오락", - "오랫동안", - "오렌지", - "오로지", - "오른발", - "오븐", - "오십", - "오염", - "오월", - "오전", - "오직", - "오징어", - "오페라", - "오피스텔", - "오히려", - "옥상", - "옥수수", - "온갖", - "온라인", - "온몸", - "온종일", - "온통", - "올가을", - "올림픽", - "올해", - "옷차림", - "와이셔츠", - "와인", - "완성", - "완전", - "왕비", - "왕자", - "왜냐하면", - "왠지", - "외갓집", - "외국", - "외로움", - "외삼촌", - "외출", - "외침", - "외할머니", - "왼발", - "왼손", - "왼쪽", - "요금", - "요일", - "요즘", - "요청", - "용기", - "용서", - "용어", - "우산", - "우선", - "우승", - "우연히", - "우정", - "우체국", - "우편", - "운동", - "운명", - "운반", - "운전", - "운행", - "울산", - "울음", - "움직임", - "웃어른", - "웃음", - "워낙", - "원고", - "원래", - "원서", - "원숭이", - "원인", - "원장", - "원피스", - "월급", - "월드컵", - "월세", - "월요일", - "웨이터", - "위반", - "위법", - "위성", - "위원", - "위험", - "위협", - "윗사람", - "유난히", - "유럽", - "유명", - "유물", - "유산", - "유적", - "유치원", - "유학", - "유행", - "유형", - "육군", - "육상", - "육십", - "육체", - "은행", - "음력", - "음료", - "음반", - "음성", - "음식", - "음악", - "음주", - "의견", - "의논", - "의문", - "의복", - "의식", - "의심", - "의외로", - "의욕", - "의원", - "의학", - "이것", - "이곳", - "이념", - "이놈", - "이달", - "이대로", - "이동", - "이렇게", - "이력서", - "이론적", - "이름", - "이민", - "이발소", - "이별", - "이불", - "이빨", - "이상", - "이성", - "이슬", - "이야기", - "이용", - "이웃", - "이월", - "이윽고", - "이익", - "이전", - "이중", - "이튿날", - "이틀", - "이혼", - "인간", - "인격", - "인공", - "인구", - "인근", - "인기", - "인도", - "인류", - "인물", - "인생", - "인쇄", - "인연", - "인원", - "인재", - "인종", - "인천", - "인체", - "인터넷", - "인하", - "인형", - "일곱", - "일기", - "일단", - "일대", - "일등", - "일반", - "일본", - "일부", - "일상", - "일생", - "일손", - "일요일", - "일월", - "일정", - "일종", - "일주일", - "일찍", - "일체", - "일치", - "일행", - "일회용", - "임금", - "임무", - "입대", - "입력", - "입맛", - "입사", - "입술", - "입시", - "입원", - "입장", - "입학", - "자가용", - "자격", - "자극", - "자동", - "자랑", - "자부심", - "자식", - "자신", - "자연", - "자원", - "자율", - "자전거", - "자정", - "자존심", - "자판", - "작가", - "작년", - "작성", - "작업", - "작용", - "작은딸", - "작품", - "잔디", - "잔뜩", - "잔치", - "잘못", - "잠깐", - "잠수함", - "잠시", - "잠옷", - "잠자리", - "잡지", - "장관", - "장군", - "장기간", - "장래", - "장례", - "장르", - "장마", - "장면", - "장모", - "장미", - "장비", - "장사", - "장소", - "장식", - "장애인", - "장인", - "장점", - "장차", - "장학금", - "재능", - "재빨리", - "재산", - "재생", - "재작년", - "재정", - "재채기", - "재판", - "재학", - "재활용", - "저것", - "저고리", - "저곳", - "저녁", - "저런", - "저렇게", - "저번", - "저울", - "저절로", - "저축", - "적극", - "적당히", - "적성", - "적용", - "적응", - "전개", - "전공", - "전기", - "전달", - "전라도", - "전망", - "전문", - "전반", - "전부", - "전세", - "전시", - "전용", - "전자", - "전쟁", - "전주", - "전철", - "전체", - "전통", - "전혀", - "전후", - "절대", - "절망", - "절반", - "절약", - "절차", - "점검", - "점수", - "점심", - "점원", - "점점", - "점차", - "접근", - "접시", - "접촉", - "젓가락", - "정거장", - "정도", - "정류장", - "정리", - "정말", - "정면", - "정문", - "정반대", - "정보", - "정부", - "정비", - "정상", - "정성", - "정오", - "정원", - "정장", - "정지", - "정치", - "정확히", - "제공", - "제과점", - "제대로", - "제목", - "제발", - "제법", - "제삿날", - "제안", - "제일", - "제작", - "제주도", - "제출", - "제품", - "제한", - "조각", - "조건", - "조금", - "조깅", - "조명", - "조미료", - "조상", - "조선", - "조용히", - "조절", - "조정", - "조직", - "존댓말", - "존재", - "졸업", - "졸음", - "종교", - "종로", - "종류", - "종소리", - "종업원", - "종종", - "종합", - "좌석", - "죄인", - "주관적", - "주름", - "주말", - "주머니", - "주먹", - "주문", - "주민", - "주방", - "주변", - "주식", - "주인", - "주일", - "주장", - "주전자", - "주택", - "준비", - "줄거리", - "줄기", - "줄무늬", - "중간", - "중계방송", - "중국", - "중년", - "중단", - "중독", - "중반", - "중부", - "중세", - "중소기업", - "중순", - "중앙", - "중요", - "중학교", - "즉석", - "즉시", - "즐거움", - "증가", - "증거", - "증권", - "증상", - "증세", - "지각", - "지갑", - "지경", - "지극히", - "지금", - "지급", - "지능", - "지름길", - "지리산", - "지방", - "지붕", - "지식", - "지역", - "지우개", - "지원", - "지적", - "지점", - "지진", - "지출", - "직선", - "직업", - "직원", - "직장", - "진급", - "진동", - "진로", - "진료", - "진리", - "진짜", - "진찰", - "진출", - "진통", - "진행", - "질문", - "질병", - "질서", - "짐작", - "집단", - "집안", - "집중", - "짜증", - "찌꺼기", - "차남", - "차라리", - "차량", - "차림", - "차별", - "차선", - "차츰", - "착각", - "찬물", - "찬성", - "참가", - "참기름", - "참새", - "참석", - "참여", - "참외", - "참조", - "찻잔", - "창가", - "창고", - "창구", - "창문", - "창밖", - "창작", - "창조", - "채널", - "채점", - "책가방", - "책방", - "책상", - "책임", - "챔피언", - "처벌", - "처음", - "천국", - "천둥", - "천장", - "천재", - "천천히", - "철도", - "철저히", - "철학", - "첫날", - "첫째", - "청년", - "청바지", - "청소", - "청춘", - "체계", - "체력", - "체온", - "체육", - "체중", - "체험", - "초등학생", - "초반", - "초밥", - "초상화", - "초순", - "초여름", - "초원", - "초저녁", - "초점", - "초청", - "초콜릿", - "촛불", - "총각", - "총리", - "총장", - "촬영", - "최근", - "최상", - "최선", - "최신", - "최악", - "최종", - "추석", - "추억", - "추진", - "추천", - "추측", - "축구", - "축소", - "축제", - "축하", - "출근", - "출발", - "출산", - "출신", - "출연", - "출입", - "출장", - "출판", - "충격", - "충고", - "충돌", - "충분히", - "충청도", - "취업", - "취직", - "취향", - "치약", - "친구", - "친척", - "칠십", - "칠월", - "칠판", - "침대", - "침묵", - "침실", - "칫솔", - "칭찬", - "카메라", - "카운터", - "칼국수", - "캐릭터", - "캠퍼스", - "캠페인", - "커튼", - "컨디션", - "컬러", - "컴퓨터", - "코끼리", - "코미디", - "콘서트", - "콜라", - "콤플렉스", - "콩나물", - "쾌감", - "쿠데타", - "크림", - "큰길", - "큰딸", - "큰소리", - "큰아들", - "큰어머니", - "큰일", - "큰절", - "클래식", - "클럽", - "킬로", - "타입", - "타자기", - "탁구", - "탁자", - "탄생", - "태권도", - "태양", - "태풍", - "택시", - "탤런트", - "터널", - "터미널", - "테니스", - "테스트", - "테이블", - "텔레비전", - "토론", - "토마토", - "토요일", - "통계", - "통과", - "통로", - "통신", - "통역", - "통일", - "통장", - "통제", - "통증", - "통합", - "통화", - "퇴근", - "퇴원", - "퇴직금", - "튀김", - "트럭", - "특급", - "특별", - "특성", - "특수", - "특징", - "특히", - "튼튼히", - "티셔츠", - "파란색", - "파일", - "파출소", - "판결", - "판단", - "판매", - "판사", - "팔십", - "팔월", - "팝송", - "패션", - "팩스", - "팩시밀리", - "팬티", - "퍼센트", - "페인트", - "편견", - "편의", - "편지", - "편히", - "평가", - "평균", - "평생", - "평소", - "평양", - "평일", - "평화", - "포스터", - "포인트", - "포장", - "포함", - "표면", - "표정", - "표준", - "표현", - "품목", - "품질", - "풍경", - "풍속", - "풍습", - "프랑스", - "프린터", - "플라스틱", - "피곤", - "피망", - "피아노", - "필름", - "필수", - "필요", - "필자", - "필통", - "핑계", - "하느님", - "하늘", - "하드웨어", - "하룻밤", - "하반기", - "하숙집", - "하순", - "하여튼", - "하지만", - "하천", - "하품", - "하필", - "학과", - "학교", - "학급", - "학기", - "학년", - "학력", - "학번", - "학부모", - "학비", - "학생", - "학술", - "학습", - "학용품", - "학원", - "학위", - "학자", - "학점", - "한계", - "한글", - "한꺼번에", - "한낮", - "한눈", - "한동안", - "한때", - "한라산", - "한마디", - "한문", - "한번", - "한복", - "한식", - "한여름", - "한쪽", - "할머니", - "할아버지", - "할인", - "함께", - "함부로", - "합격", - "합리적", - "항공", - "항구", - "항상", - "항의", - "해결", - "해군", - "해답", - "해당", - "해물", - "해석", - "해설", - "해수욕장", - "해안", - "핵심", - "핸드백", - "햄버거", - "햇볕", - "햇살", - "행동", - "행복", - "행사", - "행운", - "행위", - "향기", - "향상", - "향수", - "허락", - "허용", - "헬기", - "현관", - "현금", - "현대", - "현상", - "현실", - "현장", - "현재", - "현지", - "혈액", - "협력", - "형부", - "형사", - "형수", - "형식", - "형제", - "형태", - "형편", - "혜택", - "호기심", - "호남", - "호랑이", - "호박", - "호텔", - "호흡", - "혹시", - "홀로", - "홈페이지", - "홍보", - "홍수", - "홍차", - "화면", - "화분", - "화살", - "화요일", - "화장", - "화학", - "확보", - "확인", - "확장", - "확정", - "환갑", - "환경", - "환영", - "환율", - "환자", - "활기", - "활동", - "활발히", - "활용", - "활짝", - "회견", - "회관", - "회복", - "회색", - "회원", - "회장", - "회전", - "횟수", - "횡단보도", - "효율적", - "후반", - "후춧가루", - "훈련", - "훨씬", - "휴식", - "휴일", - "흉내", - "흐름", - "흑백", - "흑인", - "흔적", - "흔히", - "흥미", - "흥분", - "희곡", - "희망", - "희생", - "흰색", - "힘껏" -]; + get pubkey () { + return this.key.public.x.toString('hex'); + } -var require$$4 = [ - "abaisser", - "abandon", - "abdiquer", - "abeille", - "abolir", - "aborder", - "aboutir", - "aboyer", - "abrasif", - "abreuver", - "abriter", - "abroger", - "abrupt", - "absence", - "absolu", - "absurde", - "abusif", - "abyssal", - "académie", - "acajou", - "acarien", - "accabler", - "accepter", - "acclamer", - "accolade", - "accroche", - "accuser", - "acerbe", - "achat", - "acheter", - "aciduler", - "acier", - "acompte", - "acquérir", - "acronyme", - "acteur", - "actif", - "actuel", - "adepte", - "adéquat", - "adhésif", - "adjectif", - "adjuger", - "admettre", - "admirer", - "adopter", - "adorer", - "adoucir", - "adresse", - "adroit", - "adulte", - "adverbe", - "aérer", - "aéronef", - "affaire", - "affecter", - "affiche", - "affreux", - "affubler", - "agacer", - "agencer", - "agile", - "agiter", - "agrafer", - "agréable", - "agrume", - "aider", - "aiguille", - "ailier", - "aimable", - "aisance", - "ajouter", - "ajuster", - "alarmer", - "alchimie", - "alerte", - "algèbre", - "algue", - "aliéner", - "aliment", - "alléger", - "alliage", - "allouer", - "allumer", - "alourdir", - "alpaga", - "altesse", - "alvéole", - "amateur", - "ambigu", - "ambre", - "aménager", - "amertume", - "amidon", - "amiral", - "amorcer", - "amour", - "amovible", - "amphibie", - "ampleur", - "amusant", - "analyse", - "anaphore", - "anarchie", - "anatomie", - "ancien", - "anéantir", - "angle", - "angoisse", - "anguleux", - "animal", - "annexer", - "annonce", - "annuel", - "anodin", - "anomalie", - "anonyme", - "anormal", - "antenne", - "antidote", - "anxieux", - "apaiser", - "apéritif", - "aplanir", - "apologie", - "appareil", - "appeler", - "apporter", - "appuyer", - "aquarium", - "aqueduc", - "arbitre", - "arbuste", - "ardeur", - "ardoise", - "argent", - "arlequin", - "armature", - "armement", - "armoire", - "armure", - "arpenter", - "arracher", - "arriver", - "arroser", - "arsenic", - "artériel", - "article", - "aspect", - "asphalte", - "aspirer", - "assaut", - "asservir", - "assiette", - "associer", - "assurer", - "asticot", - "astre", - "astuce", - "atelier", - "atome", - "atrium", - "atroce", - "attaque", - "attentif", - "attirer", - "attraper", - "aubaine", - "auberge", - "audace", - "audible", - "augurer", - "aurore", - "automne", - "autruche", - "avaler", - "avancer", - "avarice", - "avenir", - "averse", - "aveugle", - "aviateur", - "avide", - "avion", - "aviser", - "avoine", - "avouer", - "avril", - "axial", - "axiome", - "badge", - "bafouer", - "bagage", - "baguette", - "baignade", - "balancer", - "balcon", - "baleine", - "balisage", - "bambin", - "bancaire", - "bandage", - "banlieue", - "bannière", - "banquier", - "barbier", - "baril", - "baron", - "barque", - "barrage", - "bassin", - "bastion", - "bataille", - "bateau", - "batterie", - "baudrier", - "bavarder", - "belette", - "bélier", - "belote", - "bénéfice", - "berceau", - "berger", - "berline", - "bermuda", - "besace", - "besogne", - "bétail", - "beurre", - "biberon", - "bicycle", - "bidule", - "bijou", - "bilan", - "bilingue", - "billard", - "binaire", - "biologie", - "biopsie", - "biotype", - "biscuit", - "bison", - "bistouri", - "bitume", - "bizarre", - "blafard", - "blague", - "blanchir", - "blessant", - "blinder", - "blond", - "bloquer", - "blouson", - "bobard", - "bobine", - "boire", - "boiser", - "bolide", - "bonbon", - "bondir", - "bonheur", - "bonifier", - "bonus", - "bordure", - "borne", - "botte", - "boucle", - "boueux", - "bougie", - "boulon", - "bouquin", - "bourse", - "boussole", - "boutique", - "boxeur", - "branche", - "brasier", - "brave", - "brebis", - "brèche", - "breuvage", - "bricoler", - "brigade", - "brillant", - "brioche", - "brique", - "brochure", - "broder", - "bronzer", - "brousse", - "broyeur", - "brume", - "brusque", - "brutal", - "bruyant", - "buffle", - "buisson", - "bulletin", - "bureau", - "burin", - "bustier", - "butiner", - "butoir", - "buvable", - "buvette", - "cabanon", - "cabine", - "cachette", - "cadeau", - "cadre", - "caféine", - "caillou", - "caisson", - "calculer", - "calepin", - "calibre", - "calmer", - "calomnie", - "calvaire", - "camarade", - "caméra", - "camion", - "campagne", - "canal", - "caneton", - "canon", - "cantine", - "canular", - "capable", - "caporal", - "caprice", - "capsule", - "capter", - "capuche", - "carabine", - "carbone", - "caresser", - "caribou", - "carnage", - "carotte", - "carreau", - "carton", - "cascade", - "casier", - "casque", - "cassure", - "causer", - "caution", - "cavalier", - "caverne", - "caviar", - "cédille", - "ceinture", - "céleste", - "cellule", - "cendrier", - "censurer", - "central", - "cercle", - "cérébral", - "cerise", - "cerner", - "cerveau", - "cesser", - "chagrin", - "chaise", - "chaleur", - "chambre", - "chance", - "chapitre", - "charbon", - "chasseur", - "chaton", - "chausson", - "chavirer", - "chemise", - "chenille", - "chéquier", - "chercher", - "cheval", - "chien", - "chiffre", - "chignon", - "chimère", - "chiot", - "chlorure", - "chocolat", - "choisir", - "chose", - "chouette", - "chrome", - "chute", - "cigare", - "cigogne", - "cimenter", - "cinéma", - "cintrer", - "circuler", - "cirer", - "cirque", - "citerne", - "citoyen", - "citron", - "civil", - "clairon", - "clameur", - "claquer", - "classe", - "clavier", - "client", - "cligner", - "climat", - "clivage", - "cloche", - "clonage", - "cloporte", - "cobalt", - "cobra", - "cocasse", - "cocotier", - "coder", - "codifier", - "coffre", - "cogner", - "cohésion", - "coiffer", - "coincer", - "colère", - "colibri", - "colline", - "colmater", - "colonel", - "combat", - "comédie", - "commande", - "compact", - "concert", - "conduire", - "confier", - "congeler", - "connoter", - "consonne", - "contact", - "convexe", - "copain", - "copie", - "corail", - "corbeau", - "cordage", - "corniche", - "corpus", - "correct", - "cortège", - "cosmique", - "costume", - "coton", - "coude", - "coupure", - "courage", - "couteau", - "couvrir", - "coyote", - "crabe", - "crainte", - "cravate", - "crayon", - "créature", - "créditer", - "crémeux", - "creuser", - "crevette", - "cribler", - "crier", - "cristal", - "critère", - "croire", - "croquer", - "crotale", - "crucial", - "cruel", - "crypter", - "cubique", - "cueillir", - "cuillère", - "cuisine", - "cuivre", - "culminer", - "cultiver", - "cumuler", - "cupide", - "curatif", - "curseur", - "cyanure", - "cycle", - "cylindre", - "cynique", - "daigner", - "damier", - "danger", - "danseur", - "dauphin", - "débattre", - "débiter", - "déborder", - "débrider", - "débutant", - "décaler", - "décembre", - "déchirer", - "décider", - "déclarer", - "décorer", - "décrire", - "décupler", - "dédale", - "déductif", - "déesse", - "défensif", - "défiler", - "défrayer", - "dégager", - "dégivrer", - "déglutir", - "dégrafer", - "déjeuner", - "délice", - "déloger", - "demander", - "demeurer", - "démolir", - "dénicher", - "dénouer", - "dentelle", - "dénuder", - "départ", - "dépenser", - "déphaser", - "déplacer", - "déposer", - "déranger", - "dérober", - "désastre", - "descente", - "désert", - "désigner", - "désobéir", - "dessiner", - "destrier", - "détacher", - "détester", - "détourer", - "détresse", - "devancer", - "devenir", - "deviner", - "devoir", - "diable", - "dialogue", - "diamant", - "dicter", - "différer", - "digérer", - "digital", - "digne", - "diluer", - "dimanche", - "diminuer", - "dioxyde", - "directif", - "diriger", - "discuter", - "disposer", - "dissiper", - "distance", - "divertir", - "diviser", - "docile", - "docteur", - "dogme", - "doigt", - "domaine", - "domicile", - "dompter", - "donateur", - "donjon", - "donner", - "dopamine", - "dortoir", - "dorure", - "dosage", - "doseur", - "dossier", - "dotation", - "douanier", - "double", - "douceur", - "douter", - "doyen", - "dragon", - "draper", - "dresser", - "dribbler", - "droiture", - "duperie", - "duplexe", - "durable", - "durcir", - "dynastie", - "éblouir", - "écarter", - "écharpe", - "échelle", - "éclairer", - "éclipse", - "éclore", - "écluse", - "école", - "économie", - "écorce", - "écouter", - "écraser", - "écrémer", - "écrivain", - "écrou", - "écume", - "écureuil", - "édifier", - "éduquer", - "effacer", - "effectif", - "effigie", - "effort", - "effrayer", - "effusion", - "égaliser", - "égarer", - "éjecter", - "élaborer", - "élargir", - "électron", - "élégant", - "éléphant", - "élève", - "éligible", - "élitisme", - "éloge", - "élucider", - "éluder", - "emballer", - "embellir", - "embryon", - "émeraude", - "émission", - "emmener", - "émotion", - "émouvoir", - "empereur", - "employer", - "emporter", - "emprise", - "émulsion", - "encadrer", - "enchère", - "enclave", - "encoche", - "endiguer", - "endosser", - "endroit", - "enduire", - "énergie", - "enfance", - "enfermer", - "enfouir", - "engager", - "engin", - "englober", - "énigme", - "enjamber", - "enjeu", - "enlever", - "ennemi", - "ennuyeux", - "enrichir", - "enrobage", - "enseigne", - "entasser", - "entendre", - "entier", - "entourer", - "entraver", - "énumérer", - "envahir", - "enviable", - "envoyer", - "enzyme", - "éolien", - "épaissir", - "épargne", - "épatant", - "épaule", - "épicerie", - "épidémie", - "épier", - "épilogue", - "épine", - "épisode", - "épitaphe", - "époque", - "épreuve", - "éprouver", - "épuisant", - "équerre", - "équipe", - "ériger", - "érosion", - "erreur", - "éruption", - "escalier", - "espadon", - "espèce", - "espiègle", - "espoir", - "esprit", - "esquiver", - "essayer", - "essence", - "essieu", - "essorer", - "estime", - "estomac", - "estrade", - "étagère", - "étaler", - "étanche", - "étatique", - "éteindre", - "étendoir", - "éternel", - "éthanol", - "éthique", - "ethnie", - "étirer", - "étoffer", - "étoile", - "étonnant", - "étourdir", - "étrange", - "étroit", - "étude", - "euphorie", - "évaluer", - "évasion", - "éventail", - "évidence", - "éviter", - "évolutif", - "évoquer", - "exact", - "exagérer", - "exaucer", - "exceller", - "excitant", - "exclusif", - "excuse", - "exécuter", - "exemple", - "exercer", - "exhaler", - "exhorter", - "exigence", - "exiler", - "exister", - "exotique", - "expédier", - "explorer", - "exposer", - "exprimer", - "exquis", - "extensif", - "extraire", - "exulter", - "fable", - "fabuleux", - "facette", - "facile", - "facture", - "faiblir", - "falaise", - "fameux", - "famille", - "farceur", - "farfelu", - "farine", - "farouche", - "fasciner", - "fatal", - "fatigue", - "faucon", - "fautif", - "faveur", - "favori", - "fébrile", - "féconder", - "fédérer", - "félin", - "femme", - "fémur", - "fendoir", - "féodal", - "fermer", - "féroce", - "ferveur", - "festival", - "feuille", - "feutre", - "février", - "fiasco", - "ficeler", - "fictif", - "fidèle", - "figure", - "filature", - "filetage", - "filière", - "filleul", - "filmer", - "filou", - "filtrer", - "financer", - "finir", - "fiole", - "firme", - "fissure", - "fixer", - "flairer", - "flamme", - "flasque", - "flatteur", - "fléau", - "flèche", - "fleur", - "flexion", - "flocon", - "flore", - "fluctuer", - "fluide", - "fluvial", - "folie", - "fonderie", - "fongible", - "fontaine", - "forcer", - "forgeron", - "formuler", - "fortune", - "fossile", - "foudre", - "fougère", - "fouiller", - "foulure", - "fourmi", - "fragile", - "fraise", - "franchir", - "frapper", - "frayeur", - "frégate", - "freiner", - "frelon", - "frémir", - "frénésie", - "frère", - "friable", - "friction", - "frisson", - "frivole", - "froid", - "fromage", - "frontal", - "frotter", - "fruit", - "fugitif", - "fuite", - "fureur", - "furieux", - "furtif", - "fusion", - "futur", - "gagner", - "galaxie", - "galerie", - "gambader", - "garantir", - "gardien", - "garnir", - "garrigue", - "gazelle", - "gazon", - "géant", - "gélatine", - "gélule", - "gendarme", - "général", - "génie", - "genou", - "gentil", - "géologie", - "géomètre", - "géranium", - "germe", - "gestuel", - "geyser", - "gibier", - "gicler", - "girafe", - "givre", - "glace", - "glaive", - "glisser", - "globe", - "gloire", - "glorieux", - "golfeur", - "gomme", - "gonfler", - "gorge", - "gorille", - "goudron", - "gouffre", - "goulot", - "goupille", - "gourmand", - "goutte", - "graduel", - "graffiti", - "graine", - "grand", - "grappin", - "gratuit", - "gravir", - "grenat", - "griffure", - "griller", - "grimper", - "grogner", - "gronder", - "grotte", - "groupe", - "gruger", - "grutier", - "gruyère", - "guépard", - "guerrier", - "guide", - "guimauve", - "guitare", - "gustatif", - "gymnaste", - "gyrostat", - "habitude", - "hachoir", - "halte", - "hameau", - "hangar", - "hanneton", - "haricot", - "harmonie", - "harpon", - "hasard", - "hélium", - "hématome", - "herbe", - "hérisson", - "hermine", - "héron", - "hésiter", - "heureux", - "hiberner", - "hibou", - "hilarant", - "histoire", - "hiver", - "homard", - "hommage", - "homogène", - "honneur", - "honorer", - "honteux", - "horde", - "horizon", - "horloge", - "hormone", - "horrible", - "houleux", - "housse", - "hublot", - "huileux", - "humain", - "humble", - "humide", - "humour", - "hurler", - "hydromel", - "hygiène", - "hymne", - "hypnose", - "idylle", - "ignorer", - "iguane", - "illicite", - "illusion", - "image", - "imbiber", - "imiter", - "immense", - "immobile", - "immuable", - "impact", - "impérial", - "implorer", - "imposer", - "imprimer", - "imputer", - "incarner", - "incendie", - "incident", - "incliner", - "incolore", - "indexer", - "indice", - "inductif", - "inédit", - "ineptie", - "inexact", - "infini", - "infliger", - "informer", - "infusion", - "ingérer", - "inhaler", - "inhiber", - "injecter", - "injure", - "innocent", - "inoculer", - "inonder", - "inscrire", - "insecte", - "insigne", - "insolite", - "inspirer", - "instinct", - "insulter", - "intact", - "intense", - "intime", - "intrigue", - "intuitif", - "inutile", - "invasion", - "inventer", - "inviter", - "invoquer", - "ironique", - "irradier", - "irréel", - "irriter", - "isoler", - "ivoire", - "ivresse", - "jaguar", - "jaillir", - "jambe", - "janvier", - "jardin", - "jauger", - "jaune", - "javelot", - "jetable", - "jeton", - "jeudi", - "jeunesse", - "joindre", - "joncher", - "jongler", - "joueur", - "jouissif", - "journal", - "jovial", - "joyau", - "joyeux", - "jubiler", - "jugement", - "junior", - "jupon", - "juriste", - "justice", - "juteux", - "juvénile", - "kayak", - "kimono", - "kiosque", - "label", - "labial", - "labourer", - "lacérer", - "lactose", - "lagune", - "laine", - "laisser", - "laitier", - "lambeau", - "lamelle", - "lampe", - "lanceur", - "langage", - "lanterne", - "lapin", - "largeur", - "larme", - "laurier", - "lavabo", - "lavoir", - "lecture", - "légal", - "léger", - "légume", - "lessive", - "lettre", - "levier", - "lexique", - "lézard", - "liasse", - "libérer", - "libre", - "licence", - "licorne", - "liège", - "lièvre", - "ligature", - "ligoter", - "ligue", - "limer", - "limite", - "limonade", - "limpide", - "linéaire", - "lingot", - "lionceau", - "liquide", - "lisière", - "lister", - "lithium", - "litige", - "littoral", - "livreur", - "logique", - "lointain", - "loisir", - "lombric", - "loterie", - "louer", - "lourd", - "loutre", - "louve", - "loyal", - "lubie", - "lucide", - "lucratif", - "lueur", - "lugubre", - "luisant", - "lumière", - "lunaire", - "lundi", - "luron", - "lutter", - "luxueux", - "machine", - "magasin", - "magenta", - "magique", - "maigre", - "maillon", - "maintien", - "mairie", - "maison", - "majorer", - "malaxer", - "maléfice", - "malheur", - "malice", - "mallette", - "mammouth", - "mandater", - "maniable", - "manquant", - "manteau", - "manuel", - "marathon", - "marbre", - "marchand", - "mardi", - "maritime", - "marqueur", - "marron", - "marteler", - "mascotte", - "massif", - "matériel", - "matière", - "matraque", - "maudire", - "maussade", - "mauve", - "maximal", - "méchant", - "méconnu", - "médaille", - "médecin", - "méditer", - "méduse", - "meilleur", - "mélange", - "mélodie", - "membre", - "mémoire", - "menacer", - "mener", - "menhir", - "mensonge", - "mentor", - "mercredi", - "mérite", - "merle", - "messager", - "mesure", - "métal", - "météore", - "méthode", - "métier", - "meuble", - "miauler", - "microbe", - "miette", - "mignon", - "migrer", - "milieu", - "million", - "mimique", - "mince", - "minéral", - "minimal", - "minorer", - "minute", - "miracle", - "miroiter", - "missile", - "mixte", - "mobile", - "moderne", - "moelleux", - "mondial", - "moniteur", - "monnaie", - "monotone", - "monstre", - "montagne", - "monument", - "moqueur", - "morceau", - "morsure", - "mortier", - "moteur", - "motif", - "mouche", - "moufle", - "moulin", - "mousson", - "mouton", - "mouvant", - "multiple", - "munition", - "muraille", - "murène", - "murmure", - "muscle", - "muséum", - "musicien", - "mutation", - "muter", - "mutuel", - "myriade", - "myrtille", - "mystère", - "mythique", - "nageur", - "nappe", - "narquois", - "narrer", - "natation", - "nation", - "nature", - "naufrage", - "nautique", - "navire", - "nébuleux", - "nectar", - "néfaste", - "négation", - "négliger", - "négocier", - "neige", - "nerveux", - "nettoyer", - "neurone", - "neutron", - "neveu", - "niche", - "nickel", - "nitrate", - "niveau", - "noble", - "nocif", - "nocturne", - "noirceur", - "noisette", - "nomade", - "nombreux", - "nommer", - "normatif", - "notable", - "notifier", - "notoire", - "nourrir", - "nouveau", - "novateur", - "novembre", - "novice", - "nuage", - "nuancer", - "nuire", - "nuisible", - "numéro", - "nuptial", - "nuque", - "nutritif", - "obéir", - "objectif", - "obliger", - "obscur", - "observer", - "obstacle", - "obtenir", - "obturer", - "occasion", - "occuper", - "océan", - "octobre", - "octroyer", - "octupler", - "oculaire", - "odeur", - "odorant", - "offenser", - "officier", - "offrir", - "ogive", - "oiseau", - "oisillon", - "olfactif", - "olivier", - "ombrage", - "omettre", - "onctueux", - "onduler", - "onéreux", - "onirique", - "opale", - "opaque", - "opérer", - "opinion", - "opportun", - "opprimer", - "opter", - "optique", - "orageux", - "orange", - "orbite", - "ordonner", - "oreille", - "organe", - "orgueil", - "orifice", - "ornement", - "orque", - "ortie", - "osciller", - "osmose", - "ossature", - "otarie", - "ouragan", - "ourson", - "outil", - "outrager", - "ouvrage", - "ovation", - "oxyde", - "oxygène", - "ozone", - "paisible", - "palace", - "palmarès", - "palourde", - "palper", - "panache", - "panda", - "pangolin", - "paniquer", - "panneau", - "panorama", - "pantalon", - "papaye", - "papier", - "papoter", - "papyrus", - "paradoxe", - "parcelle", - "paresse", - "parfumer", - "parler", - "parole", - "parrain", - "parsemer", - "partager", - "parure", - "parvenir", - "passion", - "pastèque", - "paternel", - "patience", - "patron", - "pavillon", - "pavoiser", - "payer", - "paysage", - "peigne", - "peintre", - "pelage", - "pélican", - "pelle", - "pelouse", - "peluche", - "pendule", - "pénétrer", - "pénible", - "pensif", - "pénurie", - "pépite", - "péplum", - "perdrix", - "perforer", - "période", - "permuter", - "perplexe", - "persil", - "perte", - "peser", - "pétale", - "petit", - "pétrir", - "peuple", - "pharaon", - "phobie", - "phoque", - "photon", - "phrase", - "physique", - "piano", - "pictural", - "pièce", - "pierre", - "pieuvre", - "pilote", - "pinceau", - "pipette", - "piquer", - "pirogue", - "piscine", - "piston", - "pivoter", - "pixel", - "pizza", - "placard", - "plafond", - "plaisir", - "planer", - "plaque", - "plastron", - "plateau", - "pleurer", - "plexus", - "pliage", - "plomb", - "plonger", - "pluie", - "plumage", - "pochette", - "poésie", - "poète", - "pointe", - "poirier", - "poisson", - "poivre", - "polaire", - "policier", - "pollen", - "polygone", - "pommade", - "pompier", - "ponctuel", - "pondérer", - "poney", - "portique", - "position", - "posséder", - "posture", - "potager", - "poteau", - "potion", - "pouce", - "poulain", - "poumon", - "pourpre", - "poussin", - "pouvoir", - "prairie", - "pratique", - "précieux", - "prédire", - "préfixe", - "prélude", - "prénom", - "présence", - "prétexte", - "prévoir", - "primitif", - "prince", - "prison", - "priver", - "problème", - "procéder", - "prodige", - "profond", - "progrès", - "proie", - "projeter", - "prologue", - "promener", - "propre", - "prospère", - "protéger", - "prouesse", - "proverbe", - "prudence", - "pruneau", - "psychose", - "public", - "puceron", - "puiser", - "pulpe", - "pulsar", - "punaise", - "punitif", - "pupitre", - "purifier", - "puzzle", - "pyramide", - "quasar", - "querelle", - "question", - "quiétude", - "quitter", - "quotient", - "racine", - "raconter", - "radieux", - "ragondin", - "raideur", - "raisin", - "ralentir", - "rallonge", - "ramasser", - "rapide", - "rasage", - "ratisser", - "ravager", - "ravin", - "rayonner", - "réactif", - "réagir", - "réaliser", - "réanimer", - "recevoir", - "réciter", - "réclamer", - "récolter", - "recruter", - "reculer", - "recycler", - "rédiger", - "redouter", - "refaire", - "réflexe", - "réformer", - "refrain", - "refuge", - "régalien", - "région", - "réglage", - "régulier", - "réitérer", - "rejeter", - "rejouer", - "relatif", - "relever", - "relief", - "remarque", - "remède", - "remise", - "remonter", - "remplir", - "remuer", - "renard", - "renfort", - "renifler", - "renoncer", - "rentrer", - "renvoi", - "replier", - "reporter", - "reprise", - "reptile", - "requin", - "réserve", - "résineux", - "résoudre", - "respect", - "rester", - "résultat", - "rétablir", - "retenir", - "réticule", - "retomber", - "retracer", - "réunion", - "réussir", - "revanche", - "revivre", - "révolte", - "révulsif", - "richesse", - "rideau", - "rieur", - "rigide", - "rigoler", - "rincer", - "riposter", - "risible", - "risque", - "rituel", - "rival", - "rivière", - "rocheux", - "romance", - "rompre", - "ronce", - "rondin", - "roseau", - "rosier", - "rotatif", - "rotor", - "rotule", - "rouge", - "rouille", - "rouleau", - "routine", - "royaume", - "ruban", - "rubis", - "ruche", - "ruelle", - "rugueux", - "ruiner", - "ruisseau", - "ruser", - "rustique", - "rythme", - "sabler", - "saboter", - "sabre", - "sacoche", - "safari", - "sagesse", - "saisir", - "salade", - "salive", - "salon", - "saluer", - "samedi", - "sanction", - "sanglier", - "sarcasme", - "sardine", - "saturer", - "saugrenu", - "saumon", - "sauter", - "sauvage", - "savant", - "savonner", - "scalpel", - "scandale", - "scélérat", - "scénario", - "sceptre", - "schéma", - "science", - "scinder", - "score", - "scrutin", - "sculpter", - "séance", - "sécable", - "sécher", - "secouer", - "sécréter", - "sédatif", - "séduire", - "seigneur", - "séjour", - "sélectif", - "semaine", - "sembler", - "semence", - "séminal", - "sénateur", - "sensible", - "sentence", - "séparer", - "séquence", - "serein", - "sergent", - "sérieux", - "serrure", - "sérum", - "service", - "sésame", - "sévir", - "sevrage", - "sextuple", - "sidéral", - "siècle", - "siéger", - "siffler", - "sigle", - "signal", - "silence", - "silicium", - "simple", - "sincère", - "sinistre", - "siphon", - "sirop", - "sismique", - "situer", - "skier", - "social", - "socle", - "sodium", - "soigneux", - "soldat", - "soleil", - "solitude", - "soluble", - "sombre", - "sommeil", - "somnoler", - "sonde", - "songeur", - "sonnette", - "sonore", - "sorcier", - "sortir", - "sosie", - "sottise", - "soucieux", - "soudure", - "souffle", - "soulever", - "soupape", - "source", - "soutirer", - "souvenir", - "spacieux", - "spatial", - "spécial", - "sphère", - "spiral", - "stable", - "station", - "sternum", - "stimulus", - "stipuler", - "strict", - "studieux", - "stupeur", - "styliste", - "sublime", - "substrat", - "subtil", - "subvenir", - "succès", - "sucre", - "suffixe", - "suggérer", - "suiveur", - "sulfate", - "superbe", - "supplier", - "surface", - "suricate", - "surmener", - "surprise", - "sursaut", - "survie", - "suspect", - "syllabe", - "symbole", - "symétrie", - "synapse", - "syntaxe", - "système", - "tabac", - "tablier", - "tactile", - "tailler", - "talent", - "talisman", - "talonner", - "tambour", - "tamiser", - "tangible", - "tapis", - "taquiner", - "tarder", - "tarif", - "tartine", - "tasse", - "tatami", - "tatouage", - "taupe", - "taureau", - "taxer", - "témoin", - "temporel", - "tenaille", - "tendre", - "teneur", - "tenir", - "tension", - "terminer", - "terne", - "terrible", - "tétine", - "texte", - "thème", - "théorie", - "thérapie", - "thorax", - "tibia", - "tiède", - "timide", - "tirelire", - "tiroir", - "tissu", - "titane", - "titre", - "tituber", - "toboggan", - "tolérant", - "tomate", - "tonique", - "tonneau", - "toponyme", - "torche", - "tordre", - "tornade", - "torpille", - "torrent", - "torse", - "tortue", - "totem", - "toucher", - "tournage", - "tousser", - "toxine", - "traction", - "trafic", - "tragique", - "trahir", - "train", - "trancher", - "travail", - "trèfle", - "tremper", - "trésor", - "treuil", - "triage", - "tribunal", - "tricoter", - "trilogie", - "triomphe", - "tripler", - "triturer", - "trivial", - "trombone", - "tronc", - "tropical", - "troupeau", - "tuile", - "tulipe", - "tumulte", - "tunnel", - "turbine", - "tuteur", - "tutoyer", - "tuyau", - "tympan", - "typhon", - "typique", - "tyran", - "ubuesque", - "ultime", - "ultrason", - "unanime", - "unifier", - "union", - "unique", - "unitaire", - "univers", - "uranium", - "urbain", - "urticant", - "usage", - "usine", - "usuel", - "usure", - "utile", - "utopie", - "vacarme", - "vaccin", - "vagabond", - "vague", - "vaillant", - "vaincre", - "vaisseau", - "valable", - "valise", - "vallon", - "valve", - "vampire", - "vanille", - "vapeur", - "varier", - "vaseux", - "vassal", - "vaste", - "vecteur", - "vedette", - "végétal", - "véhicule", - "veinard", - "véloce", - "vendredi", - "vénérer", - "venger", - "venimeux", - "ventouse", - "verdure", - "vérin", - "vernir", - "verrou", - "verser", - "vertu", - "veston", - "vétéran", - "vétuste", - "vexant", - "vexer", - "viaduc", - "viande", - "victoire", - "vidange", - "vidéo", - "vignette", - "vigueur", - "vilain", - "village", - "vinaigre", - "violon", - "vipère", - "virement", - "virtuose", - "virus", - "visage", - "viseur", - "vision", - "visqueux", - "visuel", - "vital", - "vitesse", - "viticole", - "vitrine", - "vivace", - "vivipare", - "vocation", - "voguer", - "voile", - "voisin", - "voiture", - "volaille", - "volcan", - "voltiger", - "volume", - "vorace", - "vortex", - "voter", - "vouloir", - "voyage", - "voyelle", - "wagon", - "xénon", - "yacht", - "zèbre", - "zénith", - "zeste", - "zoologie" -]; + get pubkeyhash () { + const input = Buffer.from(this.pubkey, 'hex'); + return Hash256.digest(input); + } -var require$$5 = [ - "abaco", - "abbaglio", - "abbinato", - "abete", - "abisso", - "abolire", - "abrasivo", - "abrogato", - "accadere", - "accenno", - "accusato", - "acetone", - "achille", - "acido", - "acqua", - "acre", - "acrilico", - "acrobata", - "acuto", - "adagio", - "addebito", - "addome", - "adeguato", - "aderire", - "adipe", - "adottare", - "adulare", - "affabile", - "affetto", - "affisso", - "affranto", - "aforisma", - "afoso", - "africano", - "agave", - "agente", - "agevole", - "aggancio", - "agire", - "agitare", - "agonismo", - "agricolo", - "agrumeto", - "aguzzo", - "alabarda", - "alato", - "albatro", - "alberato", - "albo", - "albume", - "alce", - "alcolico", - "alettone", - "alfa", - "algebra", - "aliante", - "alibi", - "alimento", - "allagato", - "allegro", - "allievo", - "allodola", - "allusivo", - "almeno", - "alogeno", - "alpaca", - "alpestre", - "altalena", - "alterno", - "alticcio", - "altrove", - "alunno", - "alveolo", - "alzare", - "amalgama", - "amanita", - "amarena", - "ambito", - "ambrato", - "ameba", - "america", - "ametista", - "amico", - "ammasso", - "ammenda", - "ammirare", - "ammonito", - "amore", - "ampio", - "ampliare", - "amuleto", - "anacardo", - "anagrafe", - "analista", - "anarchia", - "anatra", - "anca", - "ancella", - "ancora", - "andare", - "andrea", - "anello", - "angelo", - "angolare", - "angusto", - "anima", - "annegare", - "annidato", - "anno", - "annuncio", - "anonimo", - "anticipo", - "anzi", - "apatico", - "apertura", - "apode", - "apparire", - "appetito", - "appoggio", - "approdo", - "appunto", - "aprile", - "arabica", - "arachide", - "aragosta", - "araldica", - "arancio", - "aratura", - "arazzo", - "arbitro", - "archivio", - "ardito", - "arenile", - "argento", - "argine", - "arguto", - "aria", - "armonia", - "arnese", - "arredato", - "arringa", - "arrosto", - "arsenico", - "arso", - "artefice", - "arzillo", - "asciutto", - "ascolto", - "asepsi", - "asettico", - "asfalto", - "asino", - "asola", - "aspirato", - "aspro", - "assaggio", - "asse", - "assoluto", - "assurdo", - "asta", - "astenuto", - "astice", - "astratto", - "atavico", - "ateismo", - "atomico", - "atono", - "attesa", - "attivare", - "attorno", - "attrito", - "attuale", - "ausilio", - "austria", - "autista", - "autonomo", - "autunno", - "avanzato", - "avere", - "avvenire", - "avviso", - "avvolgere", - "azione", - "azoto", - "azzimo", - "azzurro", - "babele", - "baccano", - "bacino", - "baco", - "badessa", - "badilata", - "bagnato", - "baita", - "balcone", - "baldo", - "balena", - "ballata", - "balzano", - "bambino", - "bandire", - "baraonda", - "barbaro", - "barca", - "baritono", - "barlume", - "barocco", - "basilico", - "basso", - "batosta", - "battuto", - "baule", - "bava", - "bavosa", - "becco", - "beffa", - "belgio", - "belva", - "benda", - "benevole", - "benigno", - "benzina", - "bere", - "berlina", - "beta", - "bibita", - "bici", - "bidone", - "bifido", - "biga", - "bilancia", - "bimbo", - "binocolo", - "biologo", - "bipede", - "bipolare", - "birbante", - "birra", - "biscotto", - "bisesto", - "bisnonno", - "bisonte", - "bisturi", - "bizzarro", - "blando", - "blatta", - "bollito", - "bonifico", - "bordo", - "bosco", - "botanico", - "bottino", - "bozzolo", - "braccio", - "bradipo", - "brama", - "branca", - "bravura", - "bretella", - "brevetto", - "brezza", - "briglia", - "brillante", - "brindare", - "broccolo", - "brodo", - "bronzina", - "brullo", - "bruno", - "bubbone", - "buca", - "budino", - "buffone", - "buio", - "bulbo", - "buono", - "burlone", - "burrasca", - "bussola", - "busta", - "cadetto", - "caduco", - "calamaro", - "calcolo", - "calesse", - "calibro", - "calmo", - "caloria", - "cambusa", - "camerata", - "camicia", - "cammino", - "camola", - "campale", - "canapa", - "candela", - "cane", - "canino", - "canotto", - "cantina", - "capace", - "capello", - "capitolo", - "capogiro", - "cappero", - "capra", - "capsula", - "carapace", - "carcassa", - "cardo", - "carisma", - "carovana", - "carretto", - "cartolina", - "casaccio", - "cascata", - "caserma", - "caso", - "cassone", - "castello", - "casuale", - "catasta", - "catena", - "catrame", - "cauto", - "cavillo", - "cedibile", - "cedrata", - "cefalo", - "celebre", - "cellulare", - "cena", - "cenone", - "centesimo", - "ceramica", - "cercare", - "certo", - "cerume", - "cervello", - "cesoia", - "cespo", - "ceto", - "chela", - "chiaro", - "chicca", - "chiedere", - "chimera", - "china", - "chirurgo", - "chitarra", - "ciao", - "ciclismo", - "cifrare", - "cigno", - "cilindro", - "ciottolo", - "circa", - "cirrosi", - "citrico", - "cittadino", - "ciuffo", - "civetta", - "civile", - "classico", - "clinica", - "cloro", - "cocco", - "codardo", - "codice", - "coerente", - "cognome", - "collare", - "colmato", - "colore", - "colposo", - "coltivato", - "colza", - "coma", - "cometa", - "commando", - "comodo", - "computer", - "comune", - "conciso", - "condurre", - "conferma", - "congelare", - "coniuge", - "connesso", - "conoscere", - "consumo", - "continuo", - "convegno", - "coperto", - "copione", - "coppia", - "copricapo", - "corazza", - "cordata", - "coricato", - "cornice", - "corolla", - "corpo", - "corredo", - "corsia", - "cortese", - "cosmico", - "costante", - "cottura", - "covato", - "cratere", - "cravatta", - "creato", - "credere", - "cremoso", - "crescita", - "creta", - "criceto", - "crinale", - "crisi", - "critico", - "croce", - "cronaca", - "crostata", - "cruciale", - "crusca", - "cucire", - "cuculo", - "cugino", - "cullato", - "cupola", - "curatore", - "cursore", - "curvo", - "cuscino", - "custode", - "dado", - "daino", - "dalmata", - "damerino", - "daniela", - "dannoso", - "danzare", - "datato", - "davanti", - "davvero", - "debutto", - "decennio", - "deciso", - "declino", - "decollo", - "decreto", - "dedicato", - "definito", - "deforme", - "degno", - "delegare", - "delfino", - "delirio", - "delta", - "demenza", - "denotato", - "dentro", - "deposito", - "derapata", - "derivare", - "deroga", - "descritto", - "deserto", - "desiderio", - "desumere", - "detersivo", - "devoto", - "diametro", - "dicembre", - "diedro", - "difeso", - "diffuso", - "digerire", - "digitale", - "diluvio", - "dinamico", - "dinnanzi", - "dipinto", - "diploma", - "dipolo", - "diradare", - "dire", - "dirotto", - "dirupo", - "disagio", - "discreto", - "disfare", - "disgelo", - "disposto", - "distanza", - "disumano", - "dito", - "divano", - "divelto", - "dividere", - "divorato", - "doblone", - "docente", - "doganale", - "dogma", - "dolce", - "domato", - "domenica", - "dominare", - "dondolo", - "dono", - "dormire", - "dote", - "dottore", - "dovuto", - "dozzina", - "drago", - "druido", - "dubbio", - "dubitare", - "ducale", - "duna", - "duomo", - "duplice", - "duraturo", - "ebano", - "eccesso", - "ecco", - "eclissi", - "economia", - "edera", - "edicola", - "edile", - "editoria", - "educare", - "egemonia", - "egli", - "egoismo", - "egregio", - "elaborato", - "elargire", - "elegante", - "elencato", - "eletto", - "elevare", - "elfico", - "elica", - "elmo", - "elsa", - "eluso", - "emanato", - "emblema", - "emesso", - "emiro", - "emotivo", - "emozione", - "empirico", - "emulo", - "endemico", - "enduro", - "energia", - "enfasi", - "enoteca", - "entrare", - "enzima", - "epatite", - "epilogo", - "episodio", - "epocale", - "eppure", - "equatore", - "erario", - "erba", - "erboso", - "erede", - "eremita", - "erigere", - "ermetico", - "eroe", - "erosivo", - "errante", - "esagono", - "esame", - "esanime", - "esaudire", - "esca", - "esempio", - "esercito", - "esibito", - "esigente", - "esistere", - "esito", - "esofago", - "esortato", - "esoso", - "espanso", - "espresso", - "essenza", - "esso", - "esteso", - "estimare", - "estonia", - "estroso", - "esultare", - "etilico", - "etnico", - "etrusco", - "etto", - "euclideo", - "europa", - "evaso", - "evidenza", - "evitato", - "evoluto", - "evviva", - "fabbrica", - "faccenda", - "fachiro", - "falco", - "famiglia", - "fanale", - "fanfara", - "fango", - "fantasma", - "fare", - "farfalla", - "farinoso", - "farmaco", - "fascia", - "fastoso", - "fasullo", - "faticare", - "fato", - "favoloso", - "febbre", - "fecola", - "fede", - "fegato", - "felpa", - "feltro", - "femmina", - "fendere", - "fenomeno", - "fermento", - "ferro", - "fertile", - "fessura", - "festivo", - "fetta", - "feudo", - "fiaba", - "fiducia", - "fifa", - "figurato", - "filo", - "finanza", - "finestra", - "finire", - "fiore", - "fiscale", - "fisico", - "fiume", - "flacone", - "flamenco", - "flebo", - "flemma", - "florido", - "fluente", - "fluoro", - "fobico", - "focaccia", - "focoso", - "foderato", - "foglio", - "folata", - "folclore", - "folgore", - "fondente", - "fonetico", - "fonia", - "fontana", - "forbito", - "forchetta", - "foresta", - "formica", - "fornaio", - "foro", - "fortezza", - "forzare", - "fosfato", - "fosso", - "fracasso", - "frana", - "frassino", - "fratello", - "freccetta", - "frenata", - "fresco", - "frigo", - "frollino", - "fronde", - "frugale", - "frutta", - "fucilata", - "fucsia", - "fuggente", - "fulmine", - "fulvo", - "fumante", - "fumetto", - "fumoso", - "fune", - "funzione", - "fuoco", - "furbo", - "furgone", - "furore", - "fuso", - "futile", - "gabbiano", - "gaffe", - "galateo", - "gallina", - "galoppo", - "gambero", - "gamma", - "garanzia", - "garbo", - "garofano", - "garzone", - "gasdotto", - "gasolio", - "gastrico", - "gatto", - "gaudio", - "gazebo", - "gazzella", - "geco", - "gelatina", - "gelso", - "gemello", - "gemmato", - "gene", - "genitore", - "gennaio", - "genotipo", - "gergo", - "ghepardo", - "ghiaccio", - "ghisa", - "giallo", - "gilda", - "ginepro", - "giocare", - "gioiello", - "giorno", - "giove", - "girato", - "girone", - "gittata", - "giudizio", - "giurato", - "giusto", - "globulo", - "glutine", - "gnomo", - "gobba", - "golf", - "gomito", - "gommone", - "gonfio", - "gonna", - "governo", - "gracile", - "grado", - "grafico", - "grammo", - "grande", - "grattare", - "gravoso", - "grazia", - "greca", - "gregge", - "grifone", - "grigio", - "grinza", - "grotta", - "gruppo", - "guadagno", - "guaio", - "guanto", - "guardare", - "gufo", - "guidare", - "ibernato", - "icona", - "identico", - "idillio", - "idolo", - "idra", - "idrico", - "idrogeno", - "igiene", - "ignaro", - "ignorato", - "ilare", - "illeso", - "illogico", - "illudere", - "imballo", - "imbevuto", - "imbocco", - "imbuto", - "immane", - "immerso", - "immolato", - "impacco", - "impeto", - "impiego", - "importo", - "impronta", - "inalare", - "inarcare", - "inattivo", - "incanto", - "incendio", - "inchino", - "incisivo", - "incluso", - "incontro", - "incrocio", - "incubo", - "indagine", - "india", - "indole", - "inedito", - "infatti", - "infilare", - "inflitto", - "ingaggio", - "ingegno", - "inglese", - "ingordo", - "ingrosso", - "innesco", - "inodore", - "inoltrare", - "inondato", - "insano", - "insetto", - "insieme", - "insonnia", - "insulina", - "intasato", - "intero", - "intonaco", - "intuito", - "inumidire", - "invalido", - "invece", - "invito", - "iperbole", - "ipnotico", - "ipotesi", - "ippica", - "iride", - "irlanda", - "ironico", - "irrigato", - "irrorare", - "isolato", - "isotopo", - "isterico", - "istituto", - "istrice", - "italia", - "iterare", - "labbro", - "labirinto", - "lacca", - "lacerato", - "lacrima", - "lacuna", - "laddove", - "lago", - "lampo", - "lancetta", - "lanterna", - "lardoso", - "larga", - "laringe", - "lastra", - "latenza", - "latino", - "lattuga", - "lavagna", - "lavoro", - "legale", - "leggero", - "lembo", - "lentezza", - "lenza", - "leone", - "lepre", - "lesivo", - "lessato", - "lesto", - "letterale", - "leva", - "levigato", - "libero", - "lido", - "lievito", - "lilla", - "limatura", - "limitare", - "limpido", - "lineare", - "lingua", - "liquido", - "lira", - "lirica", - "lisca", - "lite", - "litigio", - "livrea", - "locanda", - "lode", - "logica", - "lombare", - "londra", - "longevo", - "loquace", - "lorenzo", - "loto", - "lotteria", - "luce", - "lucidato", - "lumaca", - "luminoso", - "lungo", - "lupo", - "luppolo", - "lusinga", - "lusso", - "lutto", - "macabro", - "macchina", - "macero", - "macinato", - "madama", - "magico", - "maglia", - "magnete", - "magro", - "maiolica", - "malafede", - "malgrado", - "malinteso", - "malsano", - "malto", - "malumore", - "mana", - "mancia", - "mandorla", - "mangiare", - "manifesto", - "mannaro", - "manovra", - "mansarda", - "mantide", - "manubrio", - "mappa", - "maratona", - "marcire", - "maretta", - "marmo", - "marsupio", - "maschera", - "massaia", - "mastino", - "materasso", - "matricola", - "mattone", - "maturo", - "mazurca", - "meandro", - "meccanico", - "mecenate", - "medesimo", - "meditare", - "mega", - "melassa", - "melis", - "melodia", - "meninge", - "meno", - "mensola", - "mercurio", - "merenda", - "merlo", - "meschino", - "mese", - "messere", - "mestolo", - "metallo", - "metodo", - "mettere", - "miagolare", - "mica", - "micelio", - "michele", - "microbo", - "midollo", - "miele", - "migliore", - "milano", - "milite", - "mimosa", - "minerale", - "mini", - "minore", - "mirino", - "mirtillo", - "miscela", - "missiva", - "misto", - "misurare", - "mitezza", - "mitigare", - "mitra", - "mittente", - "mnemonico", - "modello", - "modifica", - "modulo", - "mogano", - "mogio", - "mole", - "molosso", - "monastero", - "monco", - "mondina", - "monetario", - "monile", - "monotono", - "monsone", - "montato", - "monviso", - "mora", - "mordere", - "morsicato", - "mostro", - "motivato", - "motosega", - "motto", - "movenza", - "movimento", - "mozzo", - "mucca", - "mucosa", - "muffa", - "mughetto", - "mugnaio", - "mulatto", - "mulinello", - "multiplo", - "mummia", - "munto", - "muovere", - "murale", - "musa", - "muscolo", - "musica", - "mutevole", - "muto", - "nababbo", - "nafta", - "nanometro", - "narciso", - "narice", - "narrato", - "nascere", - "nastrare", - "naturale", - "nautica", - "naviglio", - "nebulosa", - "necrosi", - "negativo", - "negozio", - "nemmeno", - "neofita", - "neretto", - "nervo", - "nessuno", - "nettuno", - "neutrale", - "neve", - "nevrotico", - "nicchia", - "ninfa", - "nitido", - "nobile", - "nocivo", - "nodo", - "nome", - "nomina", - "nordico", - "normale", - "norvegese", - "nostrano", - "notare", - "notizia", - "notturno", - "novella", - "nucleo", - "nulla", - "numero", - "nuovo", - "nutrire", - "nuvola", - "nuziale", - "oasi", - "obbedire", - "obbligo", - "obelisco", - "oblio", - "obolo", - "obsoleto", - "occasione", - "occhio", - "occidente", - "occorrere", - "occultare", - "ocra", - "oculato", - "odierno", - "odorare", - "offerta", - "offrire", - "offuscato", - "oggetto", - "oggi", - "ognuno", - "olandese", - "olfatto", - "oliato", - "oliva", - "ologramma", - "oltre", - "omaggio", - "ombelico", - "ombra", - "omega", - "omissione", - "ondoso", - "onere", - "onice", - "onnivoro", - "onorevole", - "onta", - "operato", - "opinione", - "opposto", - "oracolo", - "orafo", - "ordine", - "orecchino", - "orefice", - "orfano", - "organico", - "origine", - "orizzonte", - "orma", - "ormeggio", - "ornativo", - "orologio", - "orrendo", - "orribile", - "ortensia", - "ortica", - "orzata", - "orzo", - "osare", - "oscurare", - "osmosi", - "ospedale", - "ospite", - "ossa", - "ossidare", - "ostacolo", - "oste", - "otite", - "otre", - "ottagono", - "ottimo", - "ottobre", - "ovale", - "ovest", - "ovino", - "oviparo", - "ovocito", - "ovunque", - "ovviare", - "ozio", - "pacchetto", - "pace", - "pacifico", - "padella", - "padrone", - "paese", - "paga", - "pagina", - "palazzina", - "palesare", - "pallido", - "palo", - "palude", - "pandoro", - "pannello", - "paolo", - "paonazzo", - "paprica", - "parabola", - "parcella", - "parere", - "pargolo", - "pari", - "parlato", - "parola", - "partire", - "parvenza", - "parziale", - "passivo", - "pasticca", - "patacca", - "patologia", - "pattume", - "pavone", - "peccato", - "pedalare", - "pedonale", - "peggio", - "peloso", - "penare", - "pendice", - "penisola", - "pennuto", - "penombra", - "pensare", - "pentola", - "pepe", - "pepita", - "perbene", - "percorso", - "perdonato", - "perforare", - "pergamena", - "periodo", - "permesso", - "perno", - "perplesso", - "persuaso", - "pertugio", - "pervaso", - "pesatore", - "pesista", - "peso", - "pestifero", - "petalo", - "pettine", - "petulante", - "pezzo", - "piacere", - "pianta", - "piattino", - "piccino", - "picozza", - "piega", - "pietra", - "piffero", - "pigiama", - "pigolio", - "pigro", - "pila", - "pilifero", - "pillola", - "pilota", - "pimpante", - "pineta", - "pinna", - "pinolo", - "pioggia", - "piombo", - "piramide", - "piretico", - "pirite", - "pirolisi", - "pitone", - "pizzico", - "placebo", - "planare", - "plasma", - "platano", - "plenario", - "pochezza", - "poderoso", - "podismo", - "poesia", - "poggiare", - "polenta", - "poligono", - "pollice", - "polmonite", - "polpetta", - "polso", - "poltrona", - "polvere", - "pomice", - "pomodoro", - "ponte", - "popoloso", - "porfido", - "poroso", - "porpora", - "porre", - "portata", - "posa", - "positivo", - "possesso", - "postulato", - "potassio", - "potere", - "pranzo", - "prassi", - "pratica", - "precluso", - "predica", - "prefisso", - "pregiato", - "prelievo", - "premere", - "prenotare", - "preparato", - "presenza", - "pretesto", - "prevalso", - "prima", - "principe", - "privato", - "problema", - "procura", - "produrre", - "profumo", - "progetto", - "prolunga", - "promessa", - "pronome", - "proposta", - "proroga", - "proteso", - "prova", - "prudente", - "prugna", - "prurito", - "psiche", - "pubblico", - "pudica", - "pugilato", - "pugno", - "pulce", - "pulito", - "pulsante", - "puntare", - "pupazzo", - "pupilla", - "puro", - "quadro", - "qualcosa", - "quasi", - "querela", - "quota", - "raccolto", - "raddoppio", - "radicale", - "radunato", - "raffica", - "ragazzo", - "ragione", - "ragno", - "ramarro", - "ramingo", - "ramo", - "randagio", - "rantolare", - "rapato", - "rapina", - "rappreso", - "rasatura", - "raschiato", - "rasente", - "rassegna", - "rastrello", - "rata", - "ravveduto", - "reale", - "recepire", - "recinto", - "recluta", - "recondito", - "recupero", - "reddito", - "redimere", - "regalato", - "registro", - "regola", - "regresso", - "relazione", - "remare", - "remoto", - "renna", - "replica", - "reprimere", - "reputare", - "resa", - "residente", - "responso", - "restauro", - "rete", - "retina", - "retorica", - "rettifica", - "revocato", - "riassunto", - "ribadire", - "ribelle", - "ribrezzo", - "ricarica", - "ricco", - "ricevere", - "riciclato", - "ricordo", - "ricreduto", - "ridicolo", - "ridurre", - "rifasare", - "riflesso", - "riforma", - "rifugio", - "rigare", - "rigettato", - "righello", - "rilassato", - "rilevato", - "rimanere", - "rimbalzo", - "rimedio", - "rimorchio", - "rinascita", - "rincaro", - "rinforzo", - "rinnovo", - "rinomato", - "rinsavito", - "rintocco", - "rinuncia", - "rinvenire", - "riparato", - "ripetuto", - "ripieno", - "riportare", - "ripresa", - "ripulire", - "risata", - "rischio", - "riserva", - "risibile", - "riso", - "rispetto", - "ristoro", - "risultato", - "risvolto", - "ritardo", - "ritegno", - "ritmico", - "ritrovo", - "riunione", - "riva", - "riverso", - "rivincita", - "rivolto", - "rizoma", - "roba", - "robotico", - "robusto", - "roccia", - "roco", - "rodaggio", - "rodere", - "roditore", - "rogito", - "rollio", - "romantico", - "rompere", - "ronzio", - "rosolare", - "rospo", - "rotante", - "rotondo", - "rotula", - "rovescio", - "rubizzo", - "rubrica", - "ruga", - "rullino", - "rumine", - "rumoroso", - "ruolo", - "rupe", - "russare", - "rustico", - "sabato", - "sabbiare", - "sabotato", - "sagoma", - "salasso", - "saldatura", - "salgemma", - "salivare", - "salmone", - "salone", - "saltare", - "saluto", - "salvo", - "sapere", - "sapido", - "saporito", - "saraceno", - "sarcasmo", - "sarto", - "sassoso", - "satellite", - "satira", - "satollo", - "saturno", - "savana", - "savio", - "saziato", - "sbadiglio", - "sbalzo", - "sbancato", - "sbarra", - "sbattere", - "sbavare", - "sbendare", - "sbirciare", - "sbloccato", - "sbocciato", - "sbrinare", - "sbruffone", - "sbuffare", - "scabroso", - "scadenza", - "scala", - "scambiare", - "scandalo", - "scapola", - "scarso", - "scatenare", - "scavato", - "scelto", - "scenico", - "scettro", - "scheda", - "schiena", - "sciarpa", - "scienza", - "scindere", - "scippo", - "sciroppo", - "scivolo", - "sclerare", - "scodella", - "scolpito", - "scomparto", - "sconforto", - "scoprire", - "scorta", - "scossone", - "scozzese", - "scriba", - "scrollare", - "scrutinio", - "scuderia", - "scultore", - "scuola", - "scuro", - "scusare", - "sdebitare", - "sdoganare", - "seccatura", - "secondo", - "sedano", - "seggiola", - "segnalato", - "segregato", - "seguito", - "selciato", - "selettivo", - "sella", - "selvaggio", - "semaforo", - "sembrare", - "seme", - "seminato", - "sempre", - "senso", - "sentire", - "sepolto", - "sequenza", - "serata", - "serbato", - "sereno", - "serio", - "serpente", - "serraglio", - "servire", - "sestina", - "setola", - "settimana", - "sfacelo", - "sfaldare", - "sfamato", - "sfarzoso", - "sfaticato", - "sfera", - "sfida", - "sfilato", - "sfinge", - "sfocato", - "sfoderare", - "sfogo", - "sfoltire", - "sforzato", - "sfratto", - "sfruttato", - "sfuggito", - "sfumare", - "sfuso", - "sgabello", - "sgarbato", - "sgonfiare", - "sgorbio", - "sgrassato", - "sguardo", - "sibilo", - "siccome", - "sierra", - "sigla", - "signore", - "silenzio", - "sillaba", - "simbolo", - "simpatico", - "simulato", - "sinfonia", - "singolo", - "sinistro", - "sino", - "sintesi", - "sinusoide", - "sipario", - "sisma", - "sistole", - "situato", - "slitta", - "slogatura", - "sloveno", - "smarrito", - "smemorato", - "smentito", - "smeraldo", - "smilzo", - "smontare", - "smottato", - "smussato", - "snellire", - "snervato", - "snodo", - "sobbalzo", - "sobrio", - "soccorso", - "sociale", - "sodale", - "soffitto", - "sogno", - "soldato", - "solenne", - "solido", - "sollazzo", - "solo", - "solubile", - "solvente", - "somatico", - "somma", - "sonda", - "sonetto", - "sonnifero", - "sopire", - "soppeso", - "sopra", - "sorgere", - "sorpasso", - "sorriso", - "sorso", - "sorteggio", - "sorvolato", - "sospiro", - "sosta", - "sottile", - "spada", - "spalla", - "spargere", - "spatola", - "spavento", - "spazzola", - "specie", - "spedire", - "spegnere", - "spelatura", - "speranza", - "spessore", - "spettrale", - "spezzato", - "spia", - "spigoloso", - "spillato", - "spinoso", - "spirale", - "splendido", - "sportivo", - "sposo", - "spranga", - "sprecare", - "spronato", - "spruzzo", - "spuntino", - "squillo", - "sradicare", - "srotolato", - "stabile", - "stacco", - "staffa", - "stagnare", - "stampato", - "stantio", - "starnuto", - "stasera", - "statuto", - "stelo", - "steppa", - "sterzo", - "stiletto", - "stima", - "stirpe", - "stivale", - "stizzoso", - "stonato", - "storico", - "strappo", - "stregato", - "stridulo", - "strozzare", - "strutto", - "stuccare", - "stufo", - "stupendo", - "subentro", - "succoso", - "sudore", - "suggerito", - "sugo", - "sultano", - "suonare", - "superbo", - "supporto", - "surgelato", - "surrogato", - "sussurro", - "sutura", - "svagare", - "svedese", - "sveglio", - "svelare", - "svenuto", - "svezia", - "sviluppo", - "svista", - "svizzera", - "svolta", - "svuotare", - "tabacco", - "tabulato", - "tacciare", - "taciturno", - "tale", - "talismano", - "tampone", - "tannino", - "tara", - "tardivo", - "targato", - "tariffa", - "tarpare", - "tartaruga", - "tasto", - "tattico", - "taverna", - "tavolata", - "tazza", - "teca", - "tecnico", - "telefono", - "temerario", - "tempo", - "temuto", - "tendone", - "tenero", - "tensione", - "tentacolo", - "teorema", - "terme", - "terrazzo", - "terzetto", - "tesi", - "tesserato", - "testato", - "tetro", - "tettoia", - "tifare", - "tigella", - "timbro", - "tinto", - "tipico", - "tipografo", - "tiraggio", - "tiro", - "titanio", - "titolo", - "titubante", - "tizio", - "tizzone", - "toccare", - "tollerare", - "tolto", - "tombola", - "tomo", - "tonfo", - "tonsilla", - "topazio", - "topologia", - "toppa", - "torba", - "tornare", - "torrone", - "tortora", - "toscano", - "tossire", - "tostatura", - "totano", - "trabocco", - "trachea", - "trafila", - "tragedia", - "tralcio", - "tramonto", - "transito", - "trapano", - "trarre", - "trasloco", - "trattato", - "trave", - "treccia", - "tremolio", - "trespolo", - "tributo", - "tricheco", - "trifoglio", - "trillo", - "trincea", - "trio", - "tristezza", - "triturato", - "trivella", - "tromba", - "trono", - "troppo", - "trottola", - "trovare", - "truccato", - "tubatura", - "tuffato", - "tulipano", - "tumulto", - "tunisia", - "turbare", - "turchino", - "tuta", - "tutela", - "ubicato", - "uccello", - "uccisore", - "udire", - "uditivo", - "uffa", - "ufficio", - "uguale", - "ulisse", - "ultimato", - "umano", - "umile", - "umorismo", - "uncinetto", - "ungere", - "ungherese", - "unicorno", - "unificato", - "unisono", - "unitario", - "unte", - "uovo", - "upupa", - "uragano", - "urgenza", - "urlo", - "usanza", - "usato", - "uscito", - "usignolo", - "usuraio", - "utensile", - "utilizzo", - "utopia", - "vacante", - "vaccinato", - "vagabondo", - "vagliato", - "valanga", - "valgo", - "valico", - "valletta", - "valoroso", - "valutare", - "valvola", - "vampata", - "vangare", - "vanitoso", - "vano", - "vantaggio", - "vanvera", - "vapore", - "varano", - "varcato", - "variante", - "vasca", - "vedetta", - "vedova", - "veduto", - "vegetale", - "veicolo", - "velcro", - "velina", - "velluto", - "veloce", - "venato", - "vendemmia", - "vento", - "verace", - "verbale", - "vergogna", - "verifica", - "vero", - "verruca", - "verticale", - "vescica", - "vessillo", - "vestale", - "veterano", - "vetrina", - "vetusto", - "viandante", - "vibrante", - "vicenda", - "vichingo", - "vicinanza", - "vidimare", - "vigilia", - "vigneto", - "vigore", - "vile", - "villano", - "vimini", - "vincitore", - "viola", - "vipera", - "virgola", - "virologo", - "virulento", - "viscoso", - "visione", - "vispo", - "vissuto", - "visura", - "vita", - "vitello", - "vittima", - "vivanda", - "vivido", - "viziare", - "voce", - "voga", - "volatile", - "volere", - "volpe", - "voragine", - "vulcano", - "zampogna", - "zanna", - "zappato", - "zattera", - "zavorra", - "zefiro", - "zelante", - "zelo", - "zenzero", - "zerbino", - "zibetto", - "zinco", - "zircone", - "zitto", - "zolla", - "zotico", - "zucchero", - "zufolo", - "zulu", - "zuppa" -]; + static fromString (input = '') { + const parsed = Bech32.decode(input); + return { + content: parsed.content.toString('hex') + }; + } -var require$$6 = [ - "ábaco", - "abdomen", - "abeja", - "abierto", - "abogado", - "abono", - "aborto", - "abrazo", - "abrir", - "abuelo", - "abuso", - "acabar", - "academia", - "acceso", - "acción", - "aceite", - "acelga", - "acento", - "aceptar", - "ácido", - "aclarar", - "acné", - "acoger", - "acoso", - "activo", - "acto", - "actriz", - "actuar", - "acudir", - "acuerdo", - "acusar", - "adicto", - "admitir", - "adoptar", - "adorno", - "aduana", - "adulto", - "aéreo", - "afectar", - "afición", - "afinar", - "afirmar", - "ágil", - "agitar", - "agonía", - "agosto", - "agotar", - "agregar", - "agrio", - "agua", - "agudo", - "águila", - "aguja", - "ahogo", - "ahorro", - "aire", - "aislar", - "ajedrez", - "ajeno", - "ajuste", - "alacrán", - "alambre", - "alarma", - "alba", - "álbum", - "alcalde", - "aldea", - "alegre", - "alejar", - "alerta", - "aleta", - "alfiler", - "alga", - "algodón", - "aliado", - "aliento", - "alivio", - "alma", - "almeja", - "almíbar", - "altar", - "alteza", - "altivo", - "alto", - "altura", - "alumno", - "alzar", - "amable", - "amante", - "amapola", - "amargo", - "amasar", - "ámbar", - "ámbito", - "ameno", - "amigo", - "amistad", - "amor", - "amparo", - "amplio", - "ancho", - "anciano", - "ancla", - "andar", - "andén", - "anemia", - "ángulo", - "anillo", - "ánimo", - "anís", - "anotar", - "antena", - "antiguo", - "antojo", - "anual", - "anular", - "anuncio", - "añadir", - "añejo", - "año", - "apagar", - "aparato", - "apetito", - "apio", - "aplicar", - "apodo", - "aporte", - "apoyo", - "aprender", - "aprobar", - "apuesta", - "apuro", - "arado", - "araña", - "arar", - "árbitro", - "árbol", - "arbusto", - "archivo", - "arco", - "arder", - "ardilla", - "arduo", - "área", - "árido", - "aries", - "armonía", - "arnés", - "aroma", - "arpa", - "arpón", - "arreglo", - "arroz", - "arruga", - "arte", - "artista", - "asa", - "asado", - "asalto", - "ascenso", - "asegurar", - "aseo", - "asesor", - "asiento", - "asilo", - "asistir", - "asno", - "asombro", - "áspero", - "astilla", - "astro", - "astuto", - "asumir", - "asunto", - "atajo", - "ataque", - "atar", - "atento", - "ateo", - "ático", - "atleta", - "átomo", - "atraer", - "atroz", - "atún", - "audaz", - "audio", - "auge", - "aula", - "aumento", - "ausente", - "autor", - "aval", - "avance", - "avaro", - "ave", - "avellana", - "avena", - "avestruz", - "avión", - "aviso", - "ayer", - "ayuda", - "ayuno", - "azafrán", - "azar", - "azote", - "azúcar", - "azufre", - "azul", - "baba", - "babor", - "bache", - "bahía", - "baile", - "bajar", - "balanza", - "balcón", - "balde", - "bambú", - "banco", - "banda", - "baño", - "barba", - "barco", - "barniz", - "barro", - "báscula", - "bastón", - "basura", - "batalla", - "batería", - "batir", - "batuta", - "baúl", - "bazar", - "bebé", - "bebida", - "bello", - "besar", - "beso", - "bestia", - "bicho", - "bien", - "bingo", - "blanco", - "bloque", - "blusa", - "boa", - "bobina", - "bobo", - "boca", - "bocina", - "boda", - "bodega", - "boina", - "bola", - "bolero", - "bolsa", - "bomba", - "bondad", - "bonito", - "bono", - "bonsái", - "borde", - "borrar", - "bosque", - "bote", - "botín", - "bóveda", - "bozal", - "bravo", - "brazo", - "brecha", - "breve", - "brillo", - "brinco", - "brisa", - "broca", - "broma", - "bronce", - "brote", - "bruja", - "brusco", - "bruto", - "buceo", - "bucle", - "bueno", - "buey", - "bufanda", - "bufón", - "búho", - "buitre", - "bulto", - "burbuja", - "burla", - "burro", - "buscar", - "butaca", - "buzón", - "caballo", - "cabeza", - "cabina", - "cabra", - "cacao", - "cadáver", - "cadena", - "caer", - "café", - "caída", - "caimán", - "caja", - "cajón", - "cal", - "calamar", - "calcio", - "caldo", - "calidad", - "calle", - "calma", - "calor", - "calvo", - "cama", - "cambio", - "camello", - "camino", - "campo", - "cáncer", - "candil", - "canela", - "canguro", - "canica", - "canto", - "caña", - "cañón", - "caoba", - "caos", - "capaz", - "capitán", - "capote", - "captar", - "capucha", - "cara", - "carbón", - "cárcel", - "careta", - "carga", - "cariño", - "carne", - "carpeta", - "carro", - "carta", - "casa", - "casco", - "casero", - "caspa", - "castor", - "catorce", - "catre", - "caudal", - "causa", - "cazo", - "cebolla", - "ceder", - "cedro", - "celda", - "célebre", - "celoso", - "célula", - "cemento", - "ceniza", - "centro", - "cerca", - "cerdo", - "cereza", - "cero", - "cerrar", - "certeza", - "césped", - "cetro", - "chacal", - "chaleco", - "champú", - "chancla", - "chapa", - "charla", - "chico", - "chiste", - "chivo", - "choque", - "choza", - "chuleta", - "chupar", - "ciclón", - "ciego", - "cielo", - "cien", - "cierto", - "cifra", - "cigarro", - "cima", - "cinco", - "cine", - "cinta", - "ciprés", - "circo", - "ciruela", - "cisne", - "cita", - "ciudad", - "clamor", - "clan", - "claro", - "clase", - "clave", - "cliente", - "clima", - "clínica", - "cobre", - "cocción", - "cochino", - "cocina", - "coco", - "código", - "codo", - "cofre", - "coger", - "cohete", - "cojín", - "cojo", - "cola", - "colcha", - "colegio", - "colgar", - "colina", - "collar", - "colmo", - "columna", - "combate", - "comer", - "comida", - "cómodo", - "compra", - "conde", - "conejo", - "conga", - "conocer", - "consejo", - "contar", - "copa", - "copia", - "corazón", - "corbata", - "corcho", - "cordón", - "corona", - "correr", - "coser", - "cosmos", - "costa", - "cráneo", - "cráter", - "crear", - "crecer", - "creído", - "crema", - "cría", - "crimen", - "cripta", - "crisis", - "cromo", - "crónica", - "croqueta", - "crudo", - "cruz", - "cuadro", - "cuarto", - "cuatro", - "cubo", - "cubrir", - "cuchara", - "cuello", - "cuento", - "cuerda", - "cuesta", - "cueva", - "cuidar", - "culebra", - "culpa", - "culto", - "cumbre", - "cumplir", - "cuna", - "cuneta", - "cuota", - "cupón", - "cúpula", - "curar", - "curioso", - "curso", - "curva", - "cutis", - "dama", - "danza", - "dar", - "dardo", - "dátil", - "deber", - "débil", - "década", - "decir", - "dedo", - "defensa", - "definir", - "dejar", - "delfín", - "delgado", - "delito", - "demora", - "denso", - "dental", - "deporte", - "derecho", - "derrota", - "desayuno", - "deseo", - "desfile", - "desnudo", - "destino", - "desvío", - "detalle", - "detener", - "deuda", - "día", - "diablo", - "diadema", - "diamante", - "diana", - "diario", - "dibujo", - "dictar", - "diente", - "dieta", - "diez", - "difícil", - "digno", - "dilema", - "diluir", - "dinero", - "directo", - "dirigir", - "disco", - "diseño", - "disfraz", - "diva", - "divino", - "doble", - "doce", - "dolor", - "domingo", - "don", - "donar", - "dorado", - "dormir", - "dorso", - "dos", - "dosis", - "dragón", - "droga", - "ducha", - "duda", - "duelo", - "dueño", - "dulce", - "dúo", - "duque", - "durar", - "dureza", - "duro", - "ébano", - "ebrio", - "echar", - "eco", - "ecuador", - "edad", - "edición", - "edificio", - "editor", - "educar", - "efecto", - "eficaz", - "eje", - "ejemplo", - "elefante", - "elegir", - "elemento", - "elevar", - "elipse", - "élite", - "elixir", - "elogio", - "eludir", - "embudo", - "emitir", - "emoción", - "empate", - "empeño", - "empleo", - "empresa", - "enano", - "encargo", - "enchufe", - "encía", - "enemigo", - "enero", - "enfado", - "enfermo", - "engaño", - "enigma", - "enlace", - "enorme", - "enredo", - "ensayo", - "enseñar", - "entero", - "entrar", - "envase", - "envío", - "época", - "equipo", - "erizo", - "escala", - "escena", - "escolar", - "escribir", - "escudo", - "esencia", - "esfera", - "esfuerzo", - "espada", - "espejo", - "espía", - "esposa", - "espuma", - "esquí", - "estar", - "este", - "estilo", - "estufa", - "etapa", - "eterno", - "ética", - "etnia", - "evadir", - "evaluar", - "evento", - "evitar", - "exacto", - "examen", - "exceso", - "excusa", - "exento", - "exigir", - "exilio", - "existir", - "éxito", - "experto", - "explicar", - "exponer", - "extremo", - "fábrica", - "fábula", - "fachada", - "fácil", - "factor", - "faena", - "faja", - "falda", - "fallo", - "falso", - "faltar", - "fama", - "familia", - "famoso", - "faraón", - "farmacia", - "farol", - "farsa", - "fase", - "fatiga", - "fauna", - "favor", - "fax", - "febrero", - "fecha", - "feliz", - "feo", - "feria", - "feroz", - "fértil", - "fervor", - "festín", - "fiable", - "fianza", - "fiar", - "fibra", - "ficción", - "ficha", - "fideo", - "fiebre", - "fiel", - "fiera", - "fiesta", - "figura", - "fijar", - "fijo", - "fila", - "filete", - "filial", - "filtro", - "fin", - "finca", - "fingir", - "finito", - "firma", - "flaco", - "flauta", - "flecha", - "flor", - "flota", - "fluir", - "flujo", - "flúor", - "fobia", - "foca", - "fogata", - "fogón", - "folio", - "folleto", - "fondo", - "forma", - "forro", - "fortuna", - "forzar", - "fosa", - "foto", - "fracaso", - "frágil", - "franja", - "frase", - "fraude", - "freír", - "freno", - "fresa", - "frío", - "frito", - "fruta", - "fuego", - "fuente", - "fuerza", - "fuga", - "fumar", - "función", - "funda", - "furgón", - "furia", - "fusil", - "fútbol", - "futuro", - "gacela", - "gafas", - "gaita", - "gajo", - "gala", - "galería", - "gallo", - "gamba", - "ganar", - "gancho", - "ganga", - "ganso", - "garaje", - "garza", - "gasolina", - "gastar", - "gato", - "gavilán", - "gemelo", - "gemir", - "gen", - "género", - "genio", - "gente", - "geranio", - "gerente", - "germen", - "gesto", - "gigante", - "gimnasio", - "girar", - "giro", - "glaciar", - "globo", - "gloria", - "gol", - "golfo", - "goloso", - "golpe", - "goma", - "gordo", - "gorila", - "gorra", - "gota", - "goteo", - "gozar", - "grada", - "gráfico", - "grano", - "grasa", - "gratis", - "grave", - "grieta", - "grillo", - "gripe", - "gris", - "grito", - "grosor", - "grúa", - "grueso", - "grumo", - "grupo", - "guante", - "guapo", - "guardia", - "guerra", - "guía", - "guiño", - "guion", - "guiso", - "guitarra", - "gusano", - "gustar", - "haber", - "hábil", - "hablar", - "hacer", - "hacha", - "hada", - "hallar", - "hamaca", - "harina", - "haz", - "hazaña", - "hebilla", - "hebra", - "hecho", - "helado", - "helio", - "hembra", - "herir", - "hermano", - "héroe", - "hervir", - "hielo", - "hierro", - "hígado", - "higiene", - "hijo", - "himno", - "historia", - "hocico", - "hogar", - "hoguera", - "hoja", - "hombre", - "hongo", - "honor", - "honra", - "hora", - "hormiga", - "horno", - "hostil", - "hoyo", - "hueco", - "huelga", - "huerta", - "hueso", - "huevo", - "huida", - "huir", - "humano", - "húmedo", - "humilde", - "humo", - "hundir", - "huracán", - "hurto", - "icono", - "ideal", - "idioma", - "ídolo", - "iglesia", - "iglú", - "igual", - "ilegal", - "ilusión", - "imagen", - "imán", - "imitar", - "impar", - "imperio", - "imponer", - "impulso", - "incapaz", - "índice", - "inerte", - "infiel", - "informe", - "ingenio", - "inicio", - "inmenso", - "inmune", - "innato", - "insecto", - "instante", - "interés", - "íntimo", - "intuir", - "inútil", - "invierno", - "ira", - "iris", - "ironía", - "isla", - "islote", - "jabalí", - "jabón", - "jamón", - "jarabe", - "jardín", - "jarra", - "jaula", - "jazmín", - "jefe", - "jeringa", - "jinete", - "jornada", - "joroba", - "joven", - "joya", - "juerga", - "jueves", - "juez", - "jugador", - "jugo", - "juguete", - "juicio", - "junco", - "jungla", - "junio", - "juntar", - "júpiter", - "jurar", - "justo", - "juvenil", - "juzgar", - "kilo", - "koala", - "labio", - "lacio", - "lacra", - "lado", - "ladrón", - "lagarto", - "lágrima", - "laguna", - "laico", - "lamer", - "lámina", - "lámpara", - "lana", - "lancha", - "langosta", - "lanza", - "lápiz", - "largo", - "larva", - "lástima", - "lata", - "látex", - "latir", - "laurel", - "lavar", - "lazo", - "leal", - "lección", - "leche", - "lector", - "leer", - "legión", - "legumbre", - "lejano", - "lengua", - "lento", - "leña", - "león", - "leopardo", - "lesión", - "letal", - "letra", - "leve", - "leyenda", - "libertad", - "libro", - "licor", - "líder", - "lidiar", - "lienzo", - "liga", - "ligero", - "lima", - "límite", - "limón", - "limpio", - "lince", - "lindo", - "línea", - "lingote", - "lino", - "linterna", - "líquido", - "liso", - "lista", - "litera", - "litio", - "litro", - "llaga", - "llama", - "llanto", - "llave", - "llegar", - "llenar", - "llevar", - "llorar", - "llover", - "lluvia", - "lobo", - "loción", - "loco", - "locura", - "lógica", - "logro", - "lombriz", - "lomo", - "lonja", - "lote", - "lucha", - "lucir", - "lugar", - "lujo", - "luna", - "lunes", - "lupa", - "lustro", - "luto", - "luz", - "maceta", - "macho", - "madera", - "madre", - "maduro", - "maestro", - "mafia", - "magia", - "mago", - "maíz", - "maldad", - "maleta", - "malla", - "malo", - "mamá", - "mambo", - "mamut", - "manco", - "mando", - "manejar", - "manga", - "maniquí", - "manjar", - "mano", - "manso", - "manta", - "mañana", - "mapa", - "máquina", - "mar", - "marco", - "marea", - "marfil", - "margen", - "marido", - "mármol", - "marrón", - "martes", - "marzo", - "masa", - "máscara", - "masivo", - "matar", - "materia", - "matiz", - "matriz", - "máximo", - "mayor", - "mazorca", - "mecha", - "medalla", - "medio", - "médula", - "mejilla", - "mejor", - "melena", - "melón", - "memoria", - "menor", - "mensaje", - "mente", - "menú", - "mercado", - "merengue", - "mérito", - "mes", - "mesón", - "meta", - "meter", - "método", - "metro", - "mezcla", - "miedo", - "miel", - "miembro", - "miga", - "mil", - "milagro", - "militar", - "millón", - "mimo", - "mina", - "minero", - "mínimo", - "minuto", - "miope", - "mirar", - "misa", - "miseria", - "misil", - "mismo", - "mitad", - "mito", - "mochila", - "moción", - "moda", - "modelo", - "moho", - "mojar", - "molde", - "moler", - "molino", - "momento", - "momia", - "monarca", - "moneda", - "monja", - "monto", - "moño", - "morada", - "morder", - "moreno", - "morir", - "morro", - "morsa", - "mortal", - "mosca", - "mostrar", - "motivo", - "mover", - "móvil", - "mozo", - "mucho", - "mudar", - "mueble", - "muela", - "muerte", - "muestra", - "mugre", - "mujer", - "mula", - "muleta", - "multa", - "mundo", - "muñeca", - "mural", - "muro", - "músculo", - "museo", - "musgo", - "música", - "muslo", - "nácar", - "nación", - "nadar", - "naipe", - "naranja", - "nariz", - "narrar", - "nasal", - "natal", - "nativo", - "natural", - "náusea", - "naval", - "nave", - "navidad", - "necio", - "néctar", - "negar", - "negocio", - "negro", - "neón", - "nervio", - "neto", - "neutro", - "nevar", - "nevera", - "nicho", - "nido", - "niebla", - "nieto", - "niñez", - "niño", - "nítido", - "nivel", - "nobleza", - "noche", - "nómina", - "noria", - "norma", - "norte", - "nota", - "noticia", - "novato", - "novela", - "novio", - "nube", - "nuca", - "núcleo", - "nudillo", - "nudo", - "nuera", - "nueve", - "nuez", - "nulo", - "número", - "nutria", - "oasis", - "obeso", - "obispo", - "objeto", - "obra", - "obrero", - "observar", - "obtener", - "obvio", - "oca", - "ocaso", - "océano", - "ochenta", - "ocho", - "ocio", - "ocre", - "octavo", - "octubre", - "oculto", - "ocupar", - "ocurrir", - "odiar", - "odio", - "odisea", - "oeste", - "ofensa", - "oferta", - "oficio", - "ofrecer", - "ogro", - "oído", - "oír", - "ojo", - "ola", - "oleada", - "olfato", - "olivo", - "olla", - "olmo", - "olor", - "olvido", - "ombligo", - "onda", - "onza", - "opaco", - "opción", - "ópera", - "opinar", - "oponer", - "optar", - "óptica", - "opuesto", - "oración", - "orador", - "oral", - "órbita", - "orca", - "orden", - "oreja", - "órgano", - "orgía", - "orgullo", - "oriente", - "origen", - "orilla", - "oro", - "orquesta", - "oruga", - "osadía", - "oscuro", - "osezno", - "oso", - "ostra", - "otoño", - "otro", - "oveja", - "óvulo", - "óxido", - "oxígeno", - "oyente", - "ozono", - "pacto", - "padre", - "paella", - "página", - "pago", - "país", - "pájaro", - "palabra", - "palco", - "paleta", - "pálido", - "palma", - "paloma", - "palpar", - "pan", - "panal", - "pánico", - "pantera", - "pañuelo", - "papá", - "papel", - "papilla", - "paquete", - "parar", - "parcela", - "pared", - "parir", - "paro", - "párpado", - "parque", - "párrafo", - "parte", - "pasar", - "paseo", - "pasión", - "paso", - "pasta", - "pata", - "patio", - "patria", - "pausa", - "pauta", - "pavo", - "payaso", - "peatón", - "pecado", - "pecera", - "pecho", - "pedal", - "pedir", - "pegar", - "peine", - "pelar", - "peldaño", - "pelea", - "peligro", - "pellejo", - "pelo", - "peluca", - "pena", - "pensar", - "peñón", - "peón", - "peor", - "pepino", - "pequeño", - "pera", - "percha", - "perder", - "pereza", - "perfil", - "perico", - "perla", - "permiso", - "perro", - "persona", - "pesa", - "pesca", - "pésimo", - "pestaña", - "pétalo", - "petróleo", - "pez", - "pezuña", - "picar", - "pichón", - "pie", - "piedra", - "pierna", - "pieza", - "pijama", - "pilar", - "piloto", - "pimienta", - "pino", - "pintor", - "pinza", - "piña", - "piojo", - "pipa", - "pirata", - "pisar", - "piscina", - "piso", - "pista", - "pitón", - "pizca", - "placa", - "plan", - "plata", - "playa", - "plaza", - "pleito", - "pleno", - "plomo", - "pluma", - "plural", - "pobre", - "poco", - "poder", - "podio", - "poema", - "poesía", - "poeta", - "polen", - "policía", - "pollo", - "polvo", - "pomada", - "pomelo", - "pomo", - "pompa", - "poner", - "porción", - "portal", - "posada", - "poseer", - "posible", - "poste", - "potencia", - "potro", - "pozo", - "prado", - "precoz", - "pregunta", - "premio", - "prensa", - "preso", - "previo", - "primo", - "príncipe", - "prisión", - "privar", - "proa", - "probar", - "proceso", - "producto", - "proeza", - "profesor", - "programa", - "prole", - "promesa", - "pronto", - "propio", - "próximo", - "prueba", - "público", - "puchero", - "pudor", - "pueblo", - "puerta", - "puesto", - "pulga", - "pulir", - "pulmón", - "pulpo", - "pulso", - "puma", - "punto", - "puñal", - "puño", - "pupa", - "pupila", - "puré", - "quedar", - "queja", - "quemar", - "querer", - "queso", - "quieto", - "química", - "quince", - "quitar", - "rábano", - "rabia", - "rabo", - "ración", - "radical", - "raíz", - "rama", - "rampa", - "rancho", - "rango", - "rapaz", - "rápido", - "rapto", - "rasgo", - "raspa", - "rato", - "rayo", - "raza", - "razón", - "reacción", - "realidad", - "rebaño", - "rebote", - "recaer", - "receta", - "rechazo", - "recoger", - "recreo", - "recto", - "recurso", - "red", - "redondo", - "reducir", - "reflejo", - "reforma", - "refrán", - "refugio", - "regalo", - "regir", - "regla", - "regreso", - "rehén", - "reino", - "reír", - "reja", - "relato", - "relevo", - "relieve", - "relleno", - "reloj", - "remar", - "remedio", - "remo", - "rencor", - "rendir", - "renta", - "reparto", - "repetir", - "reposo", - "reptil", - "res", - "rescate", - "resina", - "respeto", - "resto", - "resumen", - "retiro", - "retorno", - "retrato", - "reunir", - "revés", - "revista", - "rey", - "rezar", - "rico", - "riego", - "rienda", - "riesgo", - "rifa", - "rígido", - "rigor", - "rincón", - "riñón", - "río", - "riqueza", - "risa", - "ritmo", - "rito", - "rizo", - "roble", - "roce", - "rociar", - "rodar", - "rodeo", - "rodilla", - "roer", - "rojizo", - "rojo", - "romero", - "romper", - "ron", - "ronco", - "ronda", - "ropa", - "ropero", - "rosa", - "rosca", - "rostro", - "rotar", - "rubí", - "rubor", - "rudo", - "rueda", - "rugir", - "ruido", - "ruina", - "ruleta", - "rulo", - "rumbo", - "rumor", - "ruptura", - "ruta", - "rutina", - "sábado", - "saber", - "sabio", - "sable", - "sacar", - "sagaz", - "sagrado", - "sala", - "saldo", - "salero", - "salir", - "salmón", - "salón", - "salsa", - "salto", - "salud", - "salvar", - "samba", - "sanción", - "sandía", - "sanear", - "sangre", - "sanidad", - "sano", - "santo", - "sapo", - "saque", - "sardina", - "sartén", - "sastre", - "satán", - "sauna", - "saxofón", - "sección", - "seco", - "secreto", - "secta", - "sed", - "seguir", - "seis", - "sello", - "selva", - "semana", - "semilla", - "senda", - "sensor", - "señal", - "señor", - "separar", - "sepia", - "sequía", - "ser", - "serie", - "sermón", - "servir", - "sesenta", - "sesión", - "seta", - "setenta", - "severo", - "sexo", - "sexto", - "sidra", - "siesta", - "siete", - "siglo", - "signo", - "sílaba", - "silbar", - "silencio", - "silla", - "símbolo", - "simio", - "sirena", - "sistema", - "sitio", - "situar", - "sobre", - "socio", - "sodio", - "sol", - "solapa", - "soldado", - "soledad", - "sólido", - "soltar", - "solución", - "sombra", - "sondeo", - "sonido", - "sonoro", - "sonrisa", - "sopa", - "soplar", - "soporte", - "sordo", - "sorpresa", - "sorteo", - "sostén", - "sótano", - "suave", - "subir", - "suceso", - "sudor", - "suegra", - "suelo", - "sueño", - "suerte", - "sufrir", - "sujeto", - "sultán", - "sumar", - "superar", - "suplir", - "suponer", - "supremo", - "sur", - "surco", - "sureño", - "surgir", - "susto", - "sutil", - "tabaco", - "tabique", - "tabla", - "tabú", - "taco", - "tacto", - "tajo", - "talar", - "talco", - "talento", - "talla", - "talón", - "tamaño", - "tambor", - "tango", - "tanque", - "tapa", - "tapete", - "tapia", - "tapón", - "taquilla", - "tarde", - "tarea", - "tarifa", - "tarjeta", - "tarot", - "tarro", - "tarta", - "tatuaje", - "tauro", - "taza", - "tazón", - "teatro", - "techo", - "tecla", - "técnica", - "tejado", - "tejer", - "tejido", - "tela", - "teléfono", - "tema", - "temor", - "templo", - "tenaz", - "tender", - "tener", - "tenis", - "tenso", - "teoría", - "terapia", - "terco", - "término", - "ternura", - "terror", - "tesis", - "tesoro", - "testigo", - "tetera", - "texto", - "tez", - "tibio", - "tiburón", - "tiempo", - "tienda", - "tierra", - "tieso", - "tigre", - "tijera", - "tilde", - "timbre", - "tímido", - "timo", - "tinta", - "tío", - "típico", - "tipo", - "tira", - "tirón", - "titán", - "títere", - "título", - "tiza", - "toalla", - "tobillo", - "tocar", - "tocino", - "todo", - "toga", - "toldo", - "tomar", - "tono", - "tonto", - "topar", - "tope", - "toque", - "tórax", - "torero", - "tormenta", - "torneo", - "toro", - "torpedo", - "torre", - "torso", - "tortuga", - "tos", - "tosco", - "toser", - "tóxico", - "trabajo", - "tractor", - "traer", - "tráfico", - "trago", - "traje", - "tramo", - "trance", - "trato", - "trauma", - "trazar", - "trébol", - "tregua", - "treinta", - "tren", - "trepar", - "tres", - "tribu", - "trigo", - "tripa", - "triste", - "triunfo", - "trofeo", - "trompa", - "tronco", - "tropa", - "trote", - "trozo", - "truco", - "trueno", - "trufa", - "tubería", - "tubo", - "tuerto", - "tumba", - "tumor", - "túnel", - "túnica", - "turbina", - "turismo", - "turno", - "tutor", - "ubicar", - "úlcera", - "umbral", - "unidad", - "unir", - "universo", - "uno", - "untar", - "uña", - "urbano", - "urbe", - "urgente", - "urna", - "usar", - "usuario", - "útil", - "utopía", - "uva", - "vaca", - "vacío", - "vacuna", - "vagar", - "vago", - "vaina", - "vajilla", - "vale", - "válido", - "valle", - "valor", - "válvula", - "vampiro", - "vara", - "variar", - "varón", - "vaso", - "vecino", - "vector", - "vehículo", - "veinte", - "vejez", - "vela", - "velero", - "veloz", - "vena", - "vencer", - "venda", - "veneno", - "vengar", - "venir", - "venta", - "venus", - "ver", - "verano", - "verbo", - "verde", - "vereda", - "verja", - "verso", - "verter", - "vía", - "viaje", - "vibrar", - "vicio", - "víctima", - "vida", - "vídeo", - "vidrio", - "viejo", - "viernes", - "vigor", - "vil", - "villa", - "vinagre", - "vino", - "viñedo", - "violín", - "viral", - "virgo", - "virtud", - "visor", - "víspera", - "vista", - "vitamina", - "viudo", - "vivaz", - "vivero", - "vivir", - "vivo", - "volcán", - "volumen", - "volver", - "voraz", - "votar", - "voto", - "voz", - "vuelo", - "vulgar", - "yacer", - "yate", - "yegua", - "yema", - "yerno", - "yeso", - "yodo", - "yoga", - "yogur", - "zafiro", - "zanja", - "zapato", - "zarza", - "zona", - "zorro", - "zumo", - "zurdo" -]; + loadAccountByID (id = 0) { + this._state.content.accountID = id; + return this; + } -var require$$7 = [ - "あいこくしん", - "あいさつ", - "あいだ", - "あおぞら", - "あかちゃん", - "あきる", - "あけがた", - "あける", - "あこがれる", - "あさい", - "あさひ", - "あしあと", - "あじわう", - "あずかる", - "あずき", - "あそぶ", - "あたえる", - "あたためる", - "あたりまえ", - "あたる", - "あつい", - "あつかう", - "あっしゅく", - "あつまり", - "あつめる", - "あてな", - "あてはまる", - "あひる", - "あぶら", - "あぶる", - "あふれる", - "あまい", - "あまど", - "あまやかす", - "あまり", - "あみもの", - "あめりか", - "あやまる", - "あゆむ", - "あらいぐま", - "あらし", - "あらすじ", - "あらためる", - "あらゆる", - "あらわす", - "ありがとう", - "あわせる", - "あわてる", - "あんい", - "あんがい", - "あんこ", - "あんぜん", - "あんてい", - "あんない", - "あんまり", - "いいだす", - "いおん", - "いがい", - "いがく", - "いきおい", - "いきなり", - "いきもの", - "いきる", - "いくじ", - "いくぶん", - "いけばな", - "いけん", - "いこう", - "いこく", - "いこつ", - "いさましい", - "いさん", - "いしき", - "いじゅう", - "いじょう", - "いじわる", - "いずみ", - "いずれ", - "いせい", - "いせえび", - "いせかい", - "いせき", - "いぜん", - "いそうろう", - "いそがしい", - "いだい", - "いだく", - "いたずら", - "いたみ", - "いたりあ", - "いちおう", - "いちじ", - "いちど", - "いちば", - "いちぶ", - "いちりゅう", - "いつか", - "いっしゅん", - "いっせい", - "いっそう", - "いったん", - "いっち", - "いってい", - "いっぽう", - "いてざ", - "いてん", - "いどう", - "いとこ", - "いない", - "いなか", - "いねむり", - "いのち", - "いのる", - "いはつ", - "いばる", - "いはん", - "いびき", - "いひん", - "いふく", - "いへん", - "いほう", - "いみん", - "いもうと", - "いもたれ", - "いもり", - "いやがる", - "いやす", - "いよかん", - "いよく", - "いらい", - "いらすと", - "いりぐち", - "いりょう", - "いれい", - "いれもの", - "いれる", - "いろえんぴつ", - "いわい", - "いわう", - "いわかん", - "いわば", - "いわゆる", - "いんげんまめ", - "いんさつ", - "いんしょう", - "いんよう", - "うえき", - "うえる", - "うおざ", - "うがい", - "うかぶ", - "うかべる", - "うきわ", - "うくらいな", - "うくれれ", - "うけたまわる", - "うけつけ", - "うけとる", - "うけもつ", - "うける", - "うごかす", - "うごく", - "うこん", - "うさぎ", - "うしなう", - "うしろがみ", - "うすい", - "うすぎ", - "うすぐらい", - "うすめる", - "うせつ", - "うちあわせ", - "うちがわ", - "うちき", - "うちゅう", - "うっかり", - "うつくしい", - "うったえる", - "うつる", - "うどん", - "うなぎ", - "うなじ", - "うなずく", - "うなる", - "うねる", - "うのう", - "うぶげ", - "うぶごえ", - "うまれる", - "うめる", - "うもう", - "うやまう", - "うよく", - "うらがえす", - "うらぐち", - "うらない", - "うりあげ", - "うりきれ", - "うるさい", - "うれしい", - "うれゆき", - "うれる", - "うろこ", - "うわき", - "うわさ", - "うんこう", - "うんちん", - "うんてん", - "うんどう", - "えいえん", - "えいが", - "えいきょう", - "えいご", - "えいせい", - "えいぶん", - "えいよう", - "えいわ", - "えおり", - "えがお", - "えがく", - "えきたい", - "えくせる", - "えしゃく", - "えすて", - "えつらん", - "えのぐ", - "えほうまき", - "えほん", - "えまき", - "えもじ", - "えもの", - "えらい", - "えらぶ", - "えりあ", - "えんえん", - "えんかい", - "えんぎ", - "えんげき", - "えんしゅう", - "えんぜつ", - "えんそく", - "えんちょう", - "えんとつ", - "おいかける", - "おいこす", - "おいしい", - "おいつく", - "おうえん", - "おうさま", - "おうじ", - "おうせつ", - "おうたい", - "おうふく", - "おうべい", - "おうよう", - "おえる", - "おおい", - "おおう", - "おおどおり", - "おおや", - "おおよそ", - "おかえり", - "おかず", - "おがむ", - "おかわり", - "おぎなう", - "おきる", - "おくさま", - "おくじょう", - "おくりがな", - "おくる", - "おくれる", - "おこす", - "おこなう", - "おこる", - "おさえる", - "おさない", - "おさめる", - "おしいれ", - "おしえる", - "おじぎ", - "おじさん", - "おしゃれ", - "おそらく", - "おそわる", - "おたがい", - "おたく", - "おだやか", - "おちつく", - "おっと", - "おつり", - "おでかけ", - "おとしもの", - "おとなしい", - "おどり", - "おどろかす", - "おばさん", - "おまいり", - "おめでとう", - "おもいで", - "おもう", - "おもたい", - "おもちゃ", - "おやつ", - "おやゆび", - "およぼす", - "おらんだ", - "おろす", - "おんがく", - "おんけい", - "おんしゃ", - "おんせん", - "おんだん", - "おんちゅう", - "おんどけい", - "かあつ", - "かいが", - "がいき", - "がいけん", - "がいこう", - "かいさつ", - "かいしゃ", - "かいすいよく", - "かいぜん", - "かいぞうど", - "かいつう", - "かいてん", - "かいとう", - "かいふく", - "がいへき", - "かいほう", - "かいよう", - "がいらい", - "かいわ", - "かえる", - "かおり", - "かかえる", - "かがく", - "かがし", - "かがみ", - "かくご", - "かくとく", - "かざる", - "がぞう", - "かたい", - "かたち", - "がちょう", - "がっきゅう", - "がっこう", - "がっさん", - "がっしょう", - "かなざわし", - "かのう", - "がはく", - "かぶか", - "かほう", - "かほご", - "かまう", - "かまぼこ", - "かめれおん", - "かゆい", - "かようび", - "からい", - "かるい", - "かろう", - "かわく", - "かわら", - "がんか", - "かんけい", - "かんこう", - "かんしゃ", - "かんそう", - "かんたん", - "かんち", - "がんばる", - "きあい", - "きあつ", - "きいろ", - "ぎいん", - "きうい", - "きうん", - "きえる", - "きおう", - "きおく", - "きおち", - "きおん", - "きかい", - "きかく", - "きかんしゃ", - "ききて", - "きくばり", - "きくらげ", - "きけんせい", - "きこう", - "きこえる", - "きこく", - "きさい", - "きさく", - "きさま", - "きさらぎ", - "ぎじかがく", - "ぎしき", - "ぎじたいけん", - "ぎじにってい", - "ぎじゅつしゃ", - "きすう", - "きせい", - "きせき", - "きせつ", - "きそう", - "きぞく", - "きぞん", - "きたえる", - "きちょう", - "きつえん", - "ぎっちり", - "きつつき", - "きつね", - "きてい", - "きどう", - "きどく", - "きない", - "きなが", - "きなこ", - "きぬごし", - "きねん", - "きのう", - "きのした", - "きはく", - "きびしい", - "きひん", - "きふく", - "きぶん", - "きぼう", - "きほん", - "きまる", - "きみつ", - "きむずかしい", - "きめる", - "きもだめし", - "きもち", - "きもの", - "きゃく", - "きやく", - "ぎゅうにく", - "きよう", - "きょうりゅう", - "きらい", - "きらく", - "きりん", - "きれい", - "きれつ", - "きろく", - "ぎろん", - "きわめる", - "ぎんいろ", - "きんかくじ", - "きんじょ", - "きんようび", - "ぐあい", - "くいず", - "くうかん", - "くうき", - "くうぐん", - "くうこう", - "ぐうせい", - "くうそう", - "ぐうたら", - "くうふく", - "くうぼ", - "くかん", - "くきょう", - "くげん", - "ぐこう", - "くさい", - "くさき", - "くさばな", - "くさる", - "くしゃみ", - "くしょう", - "くすのき", - "くすりゆび", - "くせげ", - "くせん", - "ぐたいてき", - "くださる", - "くたびれる", - "くちこみ", - "くちさき", - "くつした", - "ぐっすり", - "くつろぐ", - "くとうてん", - "くどく", - "くなん", - "くねくね", - "くのう", - "くふう", - "くみあわせ", - "くみたてる", - "くめる", - "くやくしょ", - "くらす", - "くらべる", - "くるま", - "くれる", - "くろう", - "くわしい", - "ぐんかん", - "ぐんしょく", - "ぐんたい", - "ぐんて", - "けあな", - "けいかく", - "けいけん", - "けいこ", - "けいさつ", - "げいじゅつ", - "けいたい", - "げいのうじん", - "けいれき", - "けいろ", - "けおとす", - "けおりもの", - "げきか", - "げきげん", - "げきだん", - "げきちん", - "げきとつ", - "げきは", - "げきやく", - "げこう", - "げこくじょう", - "げざい", - "けさき", - "げざん", - "けしき", - "けしごむ", - "けしょう", - "げすと", - "けたば", - "けちゃっぷ", - "けちらす", - "けつあつ", - "けつい", - "けつえき", - "けっこん", - "けつじょ", - "けっせき", - "けってい", - "けつまつ", - "げつようび", - "げつれい", - "けつろん", - "げどく", - "けとばす", - "けとる", - "けなげ", - "けなす", - "けなみ", - "けぬき", - "げねつ", - "けねん", - "けはい", - "げひん", - "けぶかい", - "げぼく", - "けまり", - "けみかる", - "けむし", - "けむり", - "けもの", - "けらい", - "けろけろ", - "けわしい", - "けんい", - "けんえつ", - "けんお", - "けんか", - "げんき", - "けんげん", - "けんこう", - "けんさく", - "けんしゅう", - "けんすう", - "げんそう", - "けんちく", - "けんてい", - "けんとう", - "けんない", - "けんにん", - "げんぶつ", - "けんま", - "けんみん", - "けんめい", - "けんらん", - "けんり", - "こあくま", - "こいぬ", - "こいびと", - "ごうい", - "こうえん", - "こうおん", - "こうかん", - "ごうきゅう", - "ごうけい", - "こうこう", - "こうさい", - "こうじ", - "こうすい", - "ごうせい", - "こうそく", - "こうたい", - "こうちゃ", - "こうつう", - "こうてい", - "こうどう", - "こうない", - "こうはい", - "ごうほう", - "ごうまん", - "こうもく", - "こうりつ", - "こえる", - "こおり", - "ごかい", - "ごがつ", - "ごかん", - "こくご", - "こくさい", - "こくとう", - "こくない", - "こくはく", - "こぐま", - "こけい", - "こける", - "ここのか", - "こころ", - "こさめ", - "こしつ", - "こすう", - "こせい", - "こせき", - "こぜん", - "こそだて", - "こたい", - "こたえる", - "こたつ", - "こちょう", - "こっか", - "こつこつ", - "こつばん", - "こつぶ", - "こてい", - "こてん", - "ことがら", - "ことし", - "ことば", - "ことり", - "こなごな", - "こねこね", - "このまま", - "このみ", - "このよ", - "ごはん", - "こひつじ", - "こふう", - "こふん", - "こぼれる", - "ごまあぶら", - "こまかい", - "ごますり", - "こまつな", - "こまる", - "こむぎこ", - "こもじ", - "こもち", - "こもの", - "こもん", - "こやく", - "こやま", - "こゆう", - "こゆび", - "こよい", - "こよう", - "こりる", - "これくしょん", - "ころっけ", - "こわもて", - "こわれる", - "こんいん", - "こんかい", - "こんき", - "こんしゅう", - "こんすい", - "こんだて", - "こんとん", - "こんなん", - "こんびに", - "こんぽん", - "こんまけ", - "こんや", - "こんれい", - "こんわく", - "ざいえき", - "さいかい", - "さいきん", - "ざいげん", - "ざいこ", - "さいしょ", - "さいせい", - "ざいたく", - "ざいちゅう", - "さいてき", - "ざいりょう", - "さうな", - "さかいし", - "さがす", - "さかな", - "さかみち", - "さがる", - "さぎょう", - "さくし", - "さくひん", - "さくら", - "さこく", - "さこつ", - "さずかる", - "ざせき", - "さたん", - "さつえい", - "ざつおん", - "ざっか", - "ざつがく", - "さっきょく", - "ざっし", - "さつじん", - "ざっそう", - "さつたば", - "さつまいも", - "さてい", - "さといも", - "さとう", - "さとおや", - "さとし", - "さとる", - "さのう", - "さばく", - "さびしい", - "さべつ", - "さほう", - "さほど", - "さます", - "さみしい", - "さみだれ", - "さむけ", - "さめる", - "さやえんどう", - "さゆう", - "さよう", - "さよく", - "さらだ", - "ざるそば", - "さわやか", - "さわる", - "さんいん", - "さんか", - "さんきゃく", - "さんこう", - "さんさい", - "ざんしょ", - "さんすう", - "さんせい", - "さんそ", - "さんち", - "さんま", - "さんみ", - "さんらん", - "しあい", - "しあげ", - "しあさって", - "しあわせ", - "しいく", - "しいん", - "しうち", - "しえい", - "しおけ", - "しかい", - "しかく", - "じかん", - "しごと", - "しすう", - "じだい", - "したうけ", - "したぎ", - "したて", - "したみ", - "しちょう", - "しちりん", - "しっかり", - "しつじ", - "しつもん", - "してい", - "してき", - "してつ", - "じてん", - "じどう", - "しなぎれ", - "しなもの", - "しなん", - "しねま", - "しねん", - "しのぐ", - "しのぶ", - "しはい", - "しばかり", - "しはつ", - "しはらい", - "しはん", - "しひょう", - "しふく", - "じぶん", - "しへい", - "しほう", - "しほん", - "しまう", - "しまる", - "しみん", - "しむける", - "じむしょ", - "しめい", - "しめる", - "しもん", - "しゃいん", - "しゃうん", - "しゃおん", - "じゃがいも", - "しやくしょ", - "しゃくほう", - "しゃけん", - "しゃこ", - "しゃざい", - "しゃしん", - "しゃせん", - "しゃそう", - "しゃたい", - "しゃちょう", - "しゃっきん", - "じゃま", - "しゃりん", - "しゃれい", - "じゆう", - "じゅうしょ", - "しゅくはく", - "じゅしん", - "しゅっせき", - "しゅみ", - "しゅらば", - "じゅんばん", - "しょうかい", - "しょくたく", - "しょっけん", - "しょどう", - "しょもつ", - "しらせる", - "しらべる", - "しんか", - "しんこう", - "じんじゃ", - "しんせいじ", - "しんちく", - "しんりん", - "すあげ", - "すあし", - "すあな", - "ずあん", - "すいえい", - "すいか", - "すいとう", - "ずいぶん", - "すいようび", - "すうがく", - "すうじつ", - "すうせん", - "すおどり", - "すきま", - "すくう", - "すくない", - "すける", - "すごい", - "すこし", - "ずさん", - "すずしい", - "すすむ", - "すすめる", - "すっかり", - "ずっしり", - "ずっと", - "すてき", - "すてる", - "すねる", - "すのこ", - "すはだ", - "すばらしい", - "ずひょう", - "ずぶぬれ", - "すぶり", - "すふれ", - "すべて", - "すべる", - "ずほう", - "すぼん", - "すまい", - "すめし", - "すもう", - "すやき", - "すらすら", - "するめ", - "すれちがう", - "すろっと", - "すわる", - "すんぜん", - "すんぽう", - "せあぶら", - "せいかつ", - "せいげん", - "せいじ", - "せいよう", - "せおう", - "せかいかん", - "せきにん", - "せきむ", - "せきゆ", - "せきらんうん", - "せけん", - "せこう", - "せすじ", - "せたい", - "せたけ", - "せっかく", - "せっきゃく", - "ぜっく", - "せっけん", - "せっこつ", - "せっさたくま", - "せつぞく", - "せつだん", - "せつでん", - "せっぱん", - "せつび", - "せつぶん", - "せつめい", - "せつりつ", - "せなか", - "せのび", - "せはば", - "せびろ", - "せぼね", - "せまい", - "せまる", - "せめる", - "せもたれ", - "せりふ", - "ぜんあく", - "せんい", - "せんえい", - "せんか", - "せんきょ", - "せんく", - "せんげん", - "ぜんご", - "せんさい", - "せんしゅ", - "せんすい", - "せんせい", - "せんぞ", - "せんたく", - "せんちょう", - "せんてい", - "せんとう", - "せんぬき", - "せんねん", - "せんぱい", - "ぜんぶ", - "ぜんぽう", - "せんむ", - "せんめんじょ", - "せんもん", - "せんやく", - "せんゆう", - "せんよう", - "ぜんら", - "ぜんりゃく", - "せんれい", - "せんろ", - "そあく", - "そいとげる", - "そいね", - "そうがんきょう", - "そうき", - "そうご", - "そうしん", - "そうだん", - "そうなん", - "そうび", - "そうめん", - "そうり", - "そえもの", - "そえん", - "そがい", - "そげき", - "そこう", - "そこそこ", - "そざい", - "そしな", - "そせい", - "そせん", - "そそぐ", - "そだてる", - "そつう", - "そつえん", - "そっかん", - "そつぎょう", - "そっけつ", - "そっこう", - "そっせん", - "そっと", - "そとがわ", - "そとづら", - "そなえる", - "そなた", - "そふぼ", - "そぼく", - "そぼろ", - "そまつ", - "そまる", - "そむく", - "そむりえ", - "そめる", - "そもそも", - "そよかぜ", - "そらまめ", - "そろう", - "そんかい", - "そんけい", - "そんざい", - "そんしつ", - "そんぞく", - "そんちょう", - "ぞんび", - "ぞんぶん", - "そんみん", - "たあい", - "たいいん", - "たいうん", - "たいえき", - "たいおう", - "だいがく", - "たいき", - "たいぐう", - "たいけん", - "たいこ", - "たいざい", - "だいじょうぶ", - "だいすき", - "たいせつ", - "たいそう", - "だいたい", - "たいちょう", - "たいてい", - "だいどころ", - "たいない", - "たいねつ", - "たいのう", - "たいはん", - "だいひょう", - "たいふう", - "たいへん", - "たいほ", - "たいまつばな", - "たいみんぐ", - "たいむ", - "たいめん", - "たいやき", - "たいよう", - "たいら", - "たいりょく", - "たいる", - "たいわん", - "たうえ", - "たえる", - "たおす", - "たおる", - "たおれる", - "たかい", - "たかね", - "たきび", - "たくさん", - "たこく", - "たこやき", - "たさい", - "たしざん", - "だじゃれ", - "たすける", - "たずさわる", - "たそがれ", - "たたかう", - "たたく", - "ただしい", - "たたみ", - "たちばな", - "だっかい", - "だっきゃく", - "だっこ", - "だっしゅつ", - "だったい", - "たてる", - "たとえる", - "たなばた", - "たにん", - "たぬき", - "たのしみ", - "たはつ", - "たぶん", - "たべる", - "たぼう", - "たまご", - "たまる", - "だむる", - "ためいき", - "ためす", - "ためる", - "たもつ", - "たやすい", - "たよる", - "たらす", - "たりきほんがん", - "たりょう", - "たりる", - "たると", - "たれる", - "たれんと", - "たろっと", - "たわむれる", - "だんあつ", - "たんい", - "たんおん", - "たんか", - "たんき", - "たんけん", - "たんご", - "たんさん", - "たんじょうび", - "だんせい", - "たんそく", - "たんたい", - "だんち", - "たんてい", - "たんとう", - "だんな", - "たんにん", - "だんねつ", - "たんのう", - "たんぴん", - "だんぼう", - "たんまつ", - "たんめい", - "だんれつ", - "だんろ", - "だんわ", - "ちあい", - "ちあん", - "ちいき", - "ちいさい", - "ちえん", - "ちかい", - "ちから", - "ちきゅう", - "ちきん", - "ちけいず", - "ちけん", - "ちこく", - "ちさい", - "ちしき", - "ちしりょう", - "ちせい", - "ちそう", - "ちたい", - "ちたん", - "ちちおや", - "ちつじょ", - "ちてき", - "ちてん", - "ちぬき", - "ちぬり", - "ちのう", - "ちひょう", - "ちへいせん", - "ちほう", - "ちまた", - "ちみつ", - "ちみどろ", - "ちめいど", - "ちゃんこなべ", - "ちゅうい", - "ちゆりょく", - "ちょうし", - "ちょさくけん", - "ちらし", - "ちらみ", - "ちりがみ", - "ちりょう", - "ちるど", - "ちわわ", - "ちんたい", - "ちんもく", - "ついか", - "ついたち", - "つうか", - "つうじょう", - "つうはん", - "つうわ", - "つかう", - "つかれる", - "つくね", - "つくる", - "つけね", - "つける", - "つごう", - "つたえる", - "つづく", - "つつじ", - "つつむ", - "つとめる", - "つながる", - "つなみ", - "つねづね", - "つのる", - "つぶす", - "つまらない", - "つまる", - "つみき", - "つめたい", - "つもり", - "つもる", - "つよい", - "つるぼ", - "つるみく", - "つわもの", - "つわり", - "てあし", - "てあて", - "てあみ", - "ていおん", - "ていか", - "ていき", - "ていけい", - "ていこく", - "ていさつ", - "ていし", - "ていせい", - "ていたい", - "ていど", - "ていねい", - "ていひょう", - "ていへん", - "ていぼう", - "てうち", - "ておくれ", - "てきとう", - "てくび", - "でこぼこ", - "てさぎょう", - "てさげ", - "てすり", - "てそう", - "てちがい", - "てちょう", - "てつがく", - "てつづき", - "でっぱ", - "てつぼう", - "てつや", - "でぬかえ", - "てぬき", - "てぬぐい", - "てのひら", - "てはい", - "てぶくろ", - "てふだ", - "てほどき", - "てほん", - "てまえ", - "てまきずし", - "てみじか", - "てみやげ", - "てらす", - "てれび", - "てわけ", - "てわたし", - "でんあつ", - "てんいん", - "てんかい", - "てんき", - "てんぐ", - "てんけん", - "てんごく", - "てんさい", - "てんし", - "てんすう", - "でんち", - "てんてき", - "てんとう", - "てんない", - "てんぷら", - "てんぼうだい", - "てんめつ", - "てんらんかい", - "でんりょく", - "でんわ", - "どあい", - "といれ", - "どうかん", - "とうきゅう", - "どうぐ", - "とうし", - "とうむぎ", - "とおい", - "とおか", - "とおく", - "とおす", - "とおる", - "とかい", - "とかす", - "ときおり", - "ときどき", - "とくい", - "とくしゅう", - "とくてん", - "とくに", - "とくべつ", - "とけい", - "とける", - "とこや", - "とさか", - "としょかん", - "とそう", - "とたん", - "とちゅう", - "とっきゅう", - "とっくん", - "とつぜん", - "とつにゅう", - "とどける", - "ととのえる", - "とない", - "となえる", - "となり", - "とのさま", - "とばす", - "どぶがわ", - "とほう", - "とまる", - "とめる", - "ともだち", - "ともる", - "どようび", - "とらえる", - "とんかつ", - "どんぶり", - "ないかく", - "ないこう", - "ないしょ", - "ないす", - "ないせん", - "ないそう", - "なおす", - "ながい", - "なくす", - "なげる", - "なこうど", - "なさけ", - "なたでここ", - "なっとう", - "なつやすみ", - "ななおし", - "なにごと", - "なにもの", - "なにわ", - "なのか", - "なふだ", - "なまいき", - "なまえ", - "なまみ", - "なみだ", - "なめらか", - "なめる", - "なやむ", - "ならう", - "ならび", - "ならぶ", - "なれる", - "なわとび", - "なわばり", - "にあう", - "にいがた", - "にうけ", - "におい", - "にかい", - "にがて", - "にきび", - "にくしみ", - "にくまん", - "にげる", - "にさんかたんそ", - "にしき", - "にせもの", - "にちじょう", - "にちようび", - "にっか", - "にっき", - "にっけい", - "にっこう", - "にっさん", - "にっしょく", - "にっすう", - "にっせき", - "にってい", - "になう", - "にほん", - "にまめ", - "にもつ", - "にやり", - "にゅういん", - "にりんしゃ", - "にわとり", - "にんい", - "にんか", - "にんき", - "にんげん", - "にんしき", - "にんずう", - "にんそう", - "にんたい", - "にんち", - "にんてい", - "にんにく", - "にんぷ", - "にんまり", - "にんむ", - "にんめい", - "にんよう", - "ぬいくぎ", - "ぬかす", - "ぬぐいとる", - "ぬぐう", - "ぬくもり", - "ぬすむ", - "ぬまえび", - "ぬめり", - "ぬらす", - "ぬんちゃく", - "ねあげ", - "ねいき", - "ねいる", - "ねいろ", - "ねぐせ", - "ねくたい", - "ねくら", - "ねこぜ", - "ねこむ", - "ねさげ", - "ねすごす", - "ねそべる", - "ねだん", - "ねつい", - "ねっしん", - "ねつぞう", - "ねったいぎょ", - "ねぶそく", - "ねふだ", - "ねぼう", - "ねほりはほり", - "ねまき", - "ねまわし", - "ねみみ", - "ねむい", - "ねむたい", - "ねもと", - "ねらう", - "ねわざ", - "ねんいり", - "ねんおし", - "ねんかん", - "ねんきん", - "ねんぐ", - "ねんざ", - "ねんし", - "ねんちゃく", - "ねんど", - "ねんぴ", - "ねんぶつ", - "ねんまつ", - "ねんりょう", - "ねんれい", - "のいず", - "のおづま", - "のがす", - "のきなみ", - "のこぎり", - "のこす", - "のこる", - "のせる", - "のぞく", - "のぞむ", - "のたまう", - "のちほど", - "のっく", - "のばす", - "のはら", - "のべる", - "のぼる", - "のみもの", - "のやま", - "のらいぬ", - "のらねこ", - "のりもの", - "のりゆき", - "のれん", - "のんき", - "ばあい", - "はあく", - "ばあさん", - "ばいか", - "ばいく", - "はいけん", - "はいご", - "はいしん", - "はいすい", - "はいせん", - "はいそう", - "はいち", - "ばいばい", - "はいれつ", - "はえる", - "はおる", - "はかい", - "ばかり", - "はかる", - "はくしゅ", - "はけん", - "はこぶ", - "はさみ", - "はさん", - "はしご", - "ばしょ", - "はしる", - "はせる", - "ぱそこん", - "はそん", - "はたん", - "はちみつ", - "はつおん", - "はっかく", - "はづき", - "はっきり", - "はっくつ", - "はっけん", - "はっこう", - "はっさん", - "はっしん", - "はったつ", - "はっちゅう", - "はってん", - "はっぴょう", - "はっぽう", - "はなす", - "はなび", - "はにかむ", - "はぶらし", - "はみがき", - "はむかう", - "はめつ", - "はやい", - "はやし", - "はらう", - "はろうぃん", - "はわい", - "はんい", - "はんえい", - "はんおん", - "はんかく", - "はんきょう", - "ばんぐみ", - "はんこ", - "はんしゃ", - "はんすう", - "はんだん", - "ぱんち", - "ぱんつ", - "はんてい", - "はんとし", - "はんのう", - "はんぱ", - "はんぶん", - "はんぺん", - "はんぼうき", - "はんめい", - "はんらん", - "はんろん", - "ひいき", - "ひうん", - "ひえる", - "ひかく", - "ひかり", - "ひかる", - "ひかん", - "ひくい", - "ひけつ", - "ひこうき", - "ひこく", - "ひさい", - "ひさしぶり", - "ひさん", - "びじゅつかん", - "ひしょ", - "ひそか", - "ひそむ", - "ひたむき", - "ひだり", - "ひたる", - "ひつぎ", - "ひっこし", - "ひっし", - "ひつじゅひん", - "ひっす", - "ひつぜん", - "ぴったり", - "ぴっちり", - "ひつよう", - "ひてい", - "ひとごみ", - "ひなまつり", - "ひなん", - "ひねる", - "ひはん", - "ひびく", - "ひひょう", - "ひほう", - "ひまわり", - "ひまん", - "ひみつ", - "ひめい", - "ひめじし", - "ひやけ", - "ひやす", - "ひよう", - "びょうき", - "ひらがな", - "ひらく", - "ひりつ", - "ひりょう", - "ひるま", - "ひるやすみ", - "ひれい", - "ひろい", - "ひろう", - "ひろき", - "ひろゆき", - "ひんかく", - "ひんけつ", - "ひんこん", - "ひんしゅ", - "ひんそう", - "ぴんち", - "ひんぱん", - "びんぼう", - "ふあん", - "ふいうち", - "ふうけい", - "ふうせん", - "ぷうたろう", - "ふうとう", - "ふうふ", - "ふえる", - "ふおん", - "ふかい", - "ふきん", - "ふくざつ", - "ふくぶくろ", - "ふこう", - "ふさい", - "ふしぎ", - "ふじみ", - "ふすま", - "ふせい", - "ふせぐ", - "ふそく", - "ぶたにく", - "ふたん", - "ふちょう", - "ふつう", - "ふつか", - "ふっかつ", - "ふっき", - "ふっこく", - "ぶどう", - "ふとる", - "ふとん", - "ふのう", - "ふはい", - "ふひょう", - "ふへん", - "ふまん", - "ふみん", - "ふめつ", - "ふめん", - "ふよう", - "ふりこ", - "ふりる", - "ふるい", - "ふんいき", - "ぶんがく", - "ぶんぐ", - "ふんしつ", - "ぶんせき", - "ふんそう", - "ぶんぽう", - "へいあん", - "へいおん", - "へいがい", - "へいき", - "へいげん", - "へいこう", - "へいさ", - "へいしゃ", - "へいせつ", - "へいそ", - "へいたく", - "へいてん", - "へいねつ", - "へいわ", - "へきが", - "へこむ", - "べにいろ", - "べにしょうが", - "へらす", - "へんかん", - "べんきょう", - "べんごし", - "へんさい", - "へんたい", - "べんり", - "ほあん", - "ほいく", - "ぼうぎょ", - "ほうこく", - "ほうそう", - "ほうほう", - "ほうもん", - "ほうりつ", - "ほえる", - "ほおん", - "ほかん", - "ほきょう", - "ぼきん", - "ほくろ", - "ほけつ", - "ほけん", - "ほこう", - "ほこる", - "ほしい", - "ほしつ", - "ほしゅ", - "ほしょう", - "ほせい", - "ほそい", - "ほそく", - "ほたて", - "ほたる", - "ぽちぶくろ", - "ほっきょく", - "ほっさ", - "ほったん", - "ほとんど", - "ほめる", - "ほんい", - "ほんき", - "ほんけ", - "ほんしつ", - "ほんやく", - "まいにち", - "まかい", - "まかせる", - "まがる", - "まける", - "まこと", - "まさつ", - "まじめ", - "ますく", - "まぜる", - "まつり", - "まとめ", - "まなぶ", - "まぬけ", - "まねく", - "まほう", - "まもる", - "まゆげ", - "まよう", - "まろやか", - "まわす", - "まわり", - "まわる", - "まんが", - "まんきつ", - "まんぞく", - "まんなか", - "みいら", - "みうち", - "みえる", - "みがく", - "みかた", - "みかん", - "みけん", - "みこん", - "みじかい", - "みすい", - "みすえる", - "みせる", - "みっか", - "みつかる", - "みつける", - "みてい", - "みとめる", - "みなと", - "みなみかさい", - "みねらる", - "みのう", - "みのがす", - "みほん", - "みもと", - "みやげ", - "みらい", - "みりょく", - "みわく", - "みんか", - "みんぞく", - "むいか", - "むえき", - "むえん", - "むかい", - "むかう", - "むかえ", - "むかし", - "むぎちゃ", - "むける", - "むげん", - "むさぼる", - "むしあつい", - "むしば", - "むじゅん", - "むしろ", - "むすう", - "むすこ", - "むすぶ", - "むすめ", - "むせる", - "むせん", - "むちゅう", - "むなしい", - "むのう", - "むやみ", - "むよう", - "むらさき", - "むりょう", - "むろん", - "めいあん", - "めいうん", - "めいえん", - "めいかく", - "めいきょく", - "めいさい", - "めいし", - "めいそう", - "めいぶつ", - "めいれい", - "めいわく", - "めぐまれる", - "めざす", - "めした", - "めずらしい", - "めだつ", - "めまい", - "めやす", - "めんきょ", - "めんせき", - "めんどう", - "もうしあげる", - "もうどうけん", - "もえる", - "もくし", - "もくてき", - "もくようび", - "もちろん", - "もどる", - "もらう", - "もんく", - "もんだい", - "やおや", - "やける", - "やさい", - "やさしい", - "やすい", - "やすたろう", - "やすみ", - "やせる", - "やそう", - "やたい", - "やちん", - "やっと", - "やっぱり", - "やぶる", - "やめる", - "ややこしい", - "やよい", - "やわらかい", - "ゆうき", - "ゆうびんきょく", - "ゆうべ", - "ゆうめい", - "ゆけつ", - "ゆしゅつ", - "ゆせん", - "ゆそう", - "ゆたか", - "ゆちゃく", - "ゆでる", - "ゆにゅう", - "ゆびわ", - "ゆらい", - "ゆれる", - "ようい", - "ようか", - "ようきゅう", - "ようじ", - "ようす", - "ようちえん", - "よかぜ", - "よかん", - "よきん", - "よくせい", - "よくぼう", - "よけい", - "よごれる", - "よさん", - "よしゅう", - "よそう", - "よそく", - "よっか", - "よてい", - "よどがわく", - "よねつ", - "よやく", - "よゆう", - "よろこぶ", - "よろしい", - "らいう", - "らくがき", - "らくご", - "らくさつ", - "らくだ", - "らしんばん", - "らせん", - "らぞく", - "らたい", - "らっか", - "られつ", - "りえき", - "りかい", - "りきさく", - "りきせつ", - "りくぐん", - "りくつ", - "りけん", - "りこう", - "りせい", - "りそう", - "りそく", - "りてん", - "りねん", - "りゆう", - "りゅうがく", - "りよう", - "りょうり", - "りょかん", - "りょくちゃ", - "りょこう", - "りりく", - "りれき", - "りろん", - "りんご", - "るいけい", - "るいさい", - "るいじ", - "るいせき", - "るすばん", - "るりがわら", - "れいかん", - "れいぎ", - "れいせい", - "れいぞうこ", - "れいとう", - "れいぼう", - "れきし", - "れきだい", - "れんあい", - "れんけい", - "れんこん", - "れんさい", - "れんしゅう", - "れんぞく", - "れんらく", - "ろうか", - "ろうご", - "ろうじん", - "ろうそく", - "ろくが", - "ろこつ", - "ろじうら", - "ろしゅつ", - "ろせん", - "ろてん", - "ろめん", - "ろれつ", - "ろんぎ", - "ろんぱ", - "ろんぶん", - "ろんり", - "わかす", - "わかめ", - "わかやま", - "わかれる", - "わしつ", - "わじまし", - "わすれもの", - "わらう", - "われる" -]; + toString () { + if (this.settings.debug) console.log('master key:', this.key.master.publicKey); + if (this.settings.debug) console.log('pubkey for id:', this.pubkey); -var require$$8 = [ - "abacate", - "abaixo", - "abalar", - "abater", - "abduzir", - "abelha", - "aberto", - "abismo", - "abotoar", - "abranger", - "abreviar", - "abrigar", - "abrupto", - "absinto", - "absoluto", - "absurdo", - "abutre", - "acabado", - "acalmar", - "acampar", - "acanhar", - "acaso", - "aceitar", - "acelerar", - "acenar", - "acervo", - "acessar", - "acetona", - "achatar", - "acidez", - "acima", - "acionado", - "acirrar", - "aclamar", - "aclive", - "acolhida", - "acomodar", - "acoplar", - "acordar", - "acumular", - "acusador", - "adaptar", - "adega", - "adentro", - "adepto", - "adequar", - "aderente", - "adesivo", - "adeus", - "adiante", - "aditivo", - "adjetivo", - "adjunto", - "admirar", - "adorar", - "adquirir", - "adubo", - "adverso", - "advogado", - "aeronave", - "afastar", - "aferir", - "afetivo", - "afinador", - "afivelar", - "aflito", - "afluente", - "afrontar", - "agachar", - "agarrar", - "agasalho", - "agenciar", - "agilizar", - "agiota", - "agitado", - "agora", - "agradar", - "agreste", - "agrupar", - "aguardar", - "agulha", - "ajoelhar", - "ajudar", - "ajustar", - "alameda", - "alarme", - "alastrar", - "alavanca", - "albergue", - "albino", - "alcatra", - "aldeia", - "alecrim", - "alegria", - "alertar", - "alface", - "alfinete", - "algum", - "alheio", - "aliar", - "alicate", - "alienar", - "alinhar", - "aliviar", - "almofada", - "alocar", - "alpiste", - "alterar", - "altitude", - "alucinar", - "alugar", - "aluno", - "alusivo", - "alvo", - "amaciar", - "amador", - "amarelo", - "amassar", - "ambas", - "ambiente", - "ameixa", - "amenizar", - "amido", - "amistoso", - "amizade", - "amolador", - "amontoar", - "amoroso", - "amostra", - "amparar", - "ampliar", - "ampola", - "anagrama", - "analisar", - "anarquia", - "anatomia", - "andaime", - "anel", - "anexo", - "angular", - "animar", - "anjo", - "anomalia", - "anotado", - "ansioso", - "anterior", - "anuidade", - "anunciar", - "anzol", - "apagador", - "apalpar", - "apanhado", - "apego", - "apelido", - "apertada", - "apesar", - "apetite", - "apito", - "aplauso", - "aplicada", - "apoio", - "apontar", - "aposta", - "aprendiz", - "aprovar", - "aquecer", - "arame", - "aranha", - "arara", - "arcada", - "ardente", - "areia", - "arejar", - "arenito", - "aresta", - "argiloso", - "argola", - "arma", - "arquivo", - "arraial", - "arrebate", - "arriscar", - "arroba", - "arrumar", - "arsenal", - "arterial", - "artigo", - "arvoredo", - "asfaltar", - "asilado", - "aspirar", - "assador", - "assinar", - "assoalho", - "assunto", - "astral", - "atacado", - "atadura", - "atalho", - "atarefar", - "atear", - "atender", - "aterro", - "ateu", - "atingir", - "atirador", - "ativo", - "atoleiro", - "atracar", - "atrevido", - "atriz", - "atual", - "atum", - "auditor", - "aumentar", - "aura", - "aurora", - "autismo", - "autoria", - "autuar", - "avaliar", - "avante", - "avaria", - "avental", - "avesso", - "aviador", - "avisar", - "avulso", - "axila", - "azarar", - "azedo", - "azeite", - "azulejo", - "babar", - "babosa", - "bacalhau", - "bacharel", - "bacia", - "bagagem", - "baiano", - "bailar", - "baioneta", - "bairro", - "baixista", - "bajular", - "baleia", - "baliza", - "balsa", - "banal", - "bandeira", - "banho", - "banir", - "banquete", - "barato", - "barbado", - "baronesa", - "barraca", - "barulho", - "baseado", - "bastante", - "batata", - "batedor", - "batida", - "batom", - "batucar", - "baunilha", - "beber", - "beijo", - "beirada", - "beisebol", - "beldade", - "beleza", - "belga", - "beliscar", - "bendito", - "bengala", - "benzer", - "berimbau", - "berlinda", - "berro", - "besouro", - "bexiga", - "bezerro", - "bico", - "bicudo", - "bienal", - "bifocal", - "bifurcar", - "bigorna", - "bilhete", - "bimestre", - "bimotor", - "biologia", - "biombo", - "biosfera", - "bipolar", - "birrento", - "biscoito", - "bisneto", - "bispo", - "bissexto", - "bitola", - "bizarro", - "blindado", - "bloco", - "bloquear", - "boato", - "bobagem", - "bocado", - "bocejo", - "bochecha", - "boicotar", - "bolada", - "boletim", - "bolha", - "bolo", - "bombeiro", - "bonde", - "boneco", - "bonita", - "borbulha", - "borda", - "boreal", - "borracha", - "bovino", - "boxeador", - "branco", - "brasa", - "braveza", - "breu", - "briga", - "brilho", - "brincar", - "broa", - "brochura", - "bronzear", - "broto", - "bruxo", - "bucha", - "budismo", - "bufar", - "bule", - "buraco", - "busca", - "busto", - "buzina", - "cabana", - "cabelo", - "cabide", - "cabo", - "cabrito", - "cacau", - "cacetada", - "cachorro", - "cacique", - "cadastro", - "cadeado", - "cafezal", - "caiaque", - "caipira", - "caixote", - "cajado", - "caju", - "calafrio", - "calcular", - "caldeira", - "calibrar", - "calmante", - "calota", - "camada", - "cambista", - "camisa", - "camomila", - "campanha", - "camuflar", - "canavial", - "cancelar", - "caneta", - "canguru", - "canhoto", - "canivete", - "canoa", - "cansado", - "cantar", - "canudo", - "capacho", - "capela", - "capinar", - "capotar", - "capricho", - "captador", - "capuz", - "caracol", - "carbono", - "cardeal", - "careca", - "carimbar", - "carneiro", - "carpete", - "carreira", - "cartaz", - "carvalho", - "casaco", - "casca", - "casebre", - "castelo", - "casulo", - "catarata", - "cativar", - "caule", - "causador", - "cautelar", - "cavalo", - "caverna", - "cebola", - "cedilha", - "cegonha", - "celebrar", - "celular", - "cenoura", - "censo", - "centeio", - "cercar", - "cerrado", - "certeiro", - "cerveja", - "cetim", - "cevada", - "chacota", - "chaleira", - "chamado", - "chapada", - "charme", - "chatice", - "chave", - "chefe", - "chegada", - "cheiro", - "cheque", - "chicote", - "chifre", - "chinelo", - "chocalho", - "chover", - "chumbo", - "chutar", - "chuva", - "cicatriz", - "ciclone", - "cidade", - "cidreira", - "ciente", - "cigana", - "cimento", - "cinto", - "cinza", - "ciranda", - "circuito", - "cirurgia", - "citar", - "clareza", - "clero", - "clicar", - "clone", - "clube", - "coado", - "coagir", - "cobaia", - "cobertor", - "cobrar", - "cocada", - "coelho", - "coentro", - "coeso", - "cogumelo", - "coibir", - "coifa", - "coiote", - "colar", - "coleira", - "colher", - "colidir", - "colmeia", - "colono", - "coluna", - "comando", - "combinar", - "comentar", - "comitiva", - "comover", - "complexo", - "comum", - "concha", - "condor", - "conectar", - "confuso", - "congelar", - "conhecer", - "conjugar", - "consumir", - "contrato", - "convite", - "cooperar", - "copeiro", - "copiador", - "copo", - "coquetel", - "coragem", - "cordial", - "corneta", - "coronha", - "corporal", - "correio", - "cortejo", - "coruja", - "corvo", - "cosseno", - "costela", - "cotonete", - "couro", - "couve", - "covil", - "cozinha", - "cratera", - "cravo", - "creche", - "credor", - "creme", - "crer", - "crespo", - "criada", - "criminal", - "crioulo", - "crise", - "criticar", - "crosta", - "crua", - "cruzeiro", - "cubano", - "cueca", - "cuidado", - "cujo", - "culatra", - "culminar", - "culpar", - "cultura", - "cumprir", - "cunhado", - "cupido", - "curativo", - "curral", - "cursar", - "curto", - "cuspir", - "custear", - "cutelo", - "damasco", - "datar", - "debater", - "debitar", - "deboche", - "debulhar", - "decalque", - "decimal", - "declive", - "decote", - "decretar", - "dedal", - "dedicado", - "deduzir", - "defesa", - "defumar", - "degelo", - "degrau", - "degustar", - "deitado", - "deixar", - "delator", - "delegado", - "delinear", - "delonga", - "demanda", - "demitir", - "demolido", - "dentista", - "depenado", - "depilar", - "depois", - "depressa", - "depurar", - "deriva", - "derramar", - "desafio", - "desbotar", - "descanso", - "desenho", - "desfiado", - "desgaste", - "desigual", - "deslize", - "desmamar", - "desova", - "despesa", - "destaque", - "desviar", - "detalhar", - "detentor", - "detonar", - "detrito", - "deusa", - "dever", - "devido", - "devotado", - "dezena", - "diagrama", - "dialeto", - "didata", - "difuso", - "digitar", - "dilatado", - "diluente", - "diminuir", - "dinastia", - "dinheiro", - "diocese", - "direto", - "discreta", - "disfarce", - "disparo", - "disquete", - "dissipar", - "distante", - "ditador", - "diurno", - "diverso", - "divisor", - "divulgar", - "dizer", - "dobrador", - "dolorido", - "domador", - "dominado", - "donativo", - "donzela", - "dormente", - "dorsal", - "dosagem", - "dourado", - "doutor", - "drenagem", - "drible", - "drogaria", - "duelar", - "duende", - "dueto", - "duplo", - "duquesa", - "durante", - "duvidoso", - "eclodir", - "ecoar", - "ecologia", - "edificar", - "edital", - "educado", - "efeito", - "efetivar", - "ejetar", - "elaborar", - "eleger", - "eleitor", - "elenco", - "elevador", - "eliminar", - "elogiar", - "embargo", - "embolado", - "embrulho", - "embutido", - "emenda", - "emergir", - "emissor", - "empatia", - "empenho", - "empinado", - "empolgar", - "emprego", - "empurrar", - "emulador", - "encaixe", - "encenado", - "enchente", - "encontro", - "endeusar", - "endossar", - "enfaixar", - "enfeite", - "enfim", - "engajado", - "engenho", - "englobar", - "engomado", - "engraxar", - "enguia", - "enjoar", - "enlatar", - "enquanto", - "enraizar", - "enrolado", - "enrugar", - "ensaio", - "enseada", - "ensino", - "ensopado", - "entanto", - "enteado", - "entidade", - "entortar", - "entrada", - "entulho", - "envergar", - "enviado", - "envolver", - "enxame", - "enxerto", - "enxofre", - "enxuto", - "epiderme", - "equipar", - "ereto", - "erguido", - "errata", - "erva", - "ervilha", - "esbanjar", - "esbelto", - "escama", - "escola", - "escrita", - "escuta", - "esfinge", - "esfolar", - "esfregar", - "esfumado", - "esgrima", - "esmalte", - "espanto", - "espelho", - "espiga", - "esponja", - "espreita", - "espumar", - "esquerda", - "estaca", - "esteira", - "esticar", - "estofado", - "estrela", - "estudo", - "esvaziar", - "etanol", - "etiqueta", - "euforia", - "europeu", - "evacuar", - "evaporar", - "evasivo", - "eventual", - "evidente", - "evoluir", - "exagero", - "exalar", - "examinar", - "exato", - "exausto", - "excesso", - "excitar", - "exclamar", - "executar", - "exemplo", - "exibir", - "exigente", - "exonerar", - "expandir", - "expelir", - "expirar", - "explanar", - "exposto", - "expresso", - "expulsar", - "externo", - "extinto", - "extrato", - "fabricar", - "fabuloso", - "faceta", - "facial", - "fada", - "fadiga", - "faixa", - "falar", - "falta", - "familiar", - "fandango", - "fanfarra", - "fantoche", - "fardado", - "farelo", - "farinha", - "farofa", - "farpa", - "fartura", - "fatia", - "fator", - "favorita", - "faxina", - "fazenda", - "fechado", - "feijoada", - "feirante", - "felino", - "feminino", - "fenda", - "feno", - "fera", - "feriado", - "ferrugem", - "ferver", - "festejar", - "fetal", - "feudal", - "fiapo", - "fibrose", - "ficar", - "ficheiro", - "figurado", - "fileira", - "filho", - "filme", - "filtrar", - "firmeza", - "fisgada", - "fissura", - "fita", - "fivela", - "fixador", - "fixo", - "flacidez", - "flamingo", - "flanela", - "flechada", - "flora", - "flutuar", - "fluxo", - "focal", - "focinho", - "fofocar", - "fogo", - "foguete", - "foice", - "folgado", - "folheto", - "forjar", - "formiga", - "forno", - "forte", - "fosco", - "fossa", - "fragata", - "fralda", - "frango", - "frasco", - "fraterno", - "freira", - "frente", - "fretar", - "frieza", - "friso", - "fritura", - "fronha", - "frustrar", - "fruteira", - "fugir", - "fulano", - "fuligem", - "fundar", - "fungo", - "funil", - "furador", - "furioso", - "futebol", - "gabarito", - "gabinete", - "gado", - "gaiato", - "gaiola", - "gaivota", - "galega", - "galho", - "galinha", - "galocha", - "ganhar", - "garagem", - "garfo", - "gargalo", - "garimpo", - "garoupa", - "garrafa", - "gasoduto", - "gasto", - "gata", - "gatilho", - "gaveta", - "gazela", - "gelado", - "geleia", - "gelo", - "gemada", - "gemer", - "gemido", - "generoso", - "gengiva", - "genial", - "genoma", - "genro", - "geologia", - "gerador", - "germinar", - "gesso", - "gestor", - "ginasta", - "gincana", - "gingado", - "girafa", - "girino", - "glacial", - "glicose", - "global", - "glorioso", - "goela", - "goiaba", - "golfe", - "golpear", - "gordura", - "gorjeta", - "gorro", - "gostoso", - "goteira", - "governar", - "gracejo", - "gradual", - "grafite", - "gralha", - "grampo", - "granada", - "gratuito", - "graveto", - "graxa", - "grego", - "grelhar", - "greve", - "grilo", - "grisalho", - "gritaria", - "grosso", - "grotesco", - "grudado", - "grunhido", - "gruta", - "guache", - "guarani", - "guaxinim", - "guerrear", - "guiar", - "guincho", - "guisado", - "gula", - "guloso", - "guru", - "habitar", - "harmonia", - "haste", - "haver", - "hectare", - "herdar", - "heresia", - "hesitar", - "hiato", - "hibernar", - "hidratar", - "hiena", - "hino", - "hipismo", - "hipnose", - "hipoteca", - "hoje", - "holofote", - "homem", - "honesto", - "honrado", - "hormonal", - "hospedar", - "humorado", - "iate", - "ideia", - "idoso", - "ignorado", - "igreja", - "iguana", - "ileso", - "ilha", - "iludido", - "iluminar", - "ilustrar", - "imagem", - "imediato", - "imenso", - "imersivo", - "iminente", - "imitador", - "imortal", - "impacto", - "impedir", - "implante", - "impor", - "imprensa", - "impune", - "imunizar", - "inalador", - "inapto", - "inativo", - "incenso", - "inchar", - "incidir", - "incluir", - "incolor", - "indeciso", - "indireto", - "indutor", - "ineficaz", - "inerente", - "infantil", - "infestar", - "infinito", - "inflamar", - "informal", - "infrator", - "ingerir", - "inibido", - "inicial", - "inimigo", - "injetar", - "inocente", - "inodoro", - "inovador", - "inox", - "inquieto", - "inscrito", - "inseto", - "insistir", - "inspetor", - "instalar", - "insulto", - "intacto", - "integral", - "intimar", - "intocado", - "intriga", - "invasor", - "inverno", - "invicto", - "invocar", - "iogurte", - "iraniano", - "ironizar", - "irreal", - "irritado", - "isca", - "isento", - "isolado", - "isqueiro", - "italiano", - "janeiro", - "jangada", - "janta", - "jararaca", - "jardim", - "jarro", - "jasmim", - "jato", - "javali", - "jazida", - "jejum", - "joaninha", - "joelhada", - "jogador", - "joia", - "jornal", - "jorrar", - "jovem", - "juba", - "judeu", - "judoca", - "juiz", - "julgador", - "julho", - "jurado", - "jurista", - "juro", - "justa", - "labareda", - "laboral", - "lacre", - "lactante", - "ladrilho", - "lagarta", - "lagoa", - "laje", - "lamber", - "lamentar", - "laminar", - "lampejo", - "lanche", - "lapidar", - "lapso", - "laranja", - "lareira", - "largura", - "lasanha", - "lastro", - "lateral", - "latido", - "lavanda", - "lavoura", - "lavrador", - "laxante", - "lazer", - "lealdade", - "lebre", - "legado", - "legendar", - "legista", - "leigo", - "leiloar", - "leitura", - "lembrete", - "leme", - "lenhador", - "lentilha", - "leoa", - "lesma", - "leste", - "letivo", - "letreiro", - "levar", - "leveza", - "levitar", - "liberal", - "libido", - "liderar", - "ligar", - "ligeiro", - "limitar", - "limoeiro", - "limpador", - "linda", - "linear", - "linhagem", - "liquidez", - "listagem", - "lisura", - "litoral", - "livro", - "lixa", - "lixeira", - "locador", - "locutor", - "lojista", - "lombo", - "lona", - "longe", - "lontra", - "lorde", - "lotado", - "loteria", - "loucura", - "lousa", - "louvar", - "luar", - "lucidez", - "lucro", - "luneta", - "lustre", - "lutador", - "luva", - "macaco", - "macete", - "machado", - "macio", - "madeira", - "madrinha", - "magnata", - "magreza", - "maior", - "mais", - "malandro", - "malha", - "malote", - "maluco", - "mamilo", - "mamoeiro", - "mamute", - "manada", - "mancha", - "mandato", - "manequim", - "manhoso", - "manivela", - "manobrar", - "mansa", - "manter", - "manusear", - "mapeado", - "maquinar", - "marcador", - "maresia", - "marfim", - "margem", - "marinho", - "marmita", - "maroto", - "marquise", - "marreco", - "martelo", - "marujo", - "mascote", - "masmorra", - "massagem", - "mastigar", - "matagal", - "materno", - "matinal", - "matutar", - "maxilar", - "medalha", - "medida", - "medusa", - "megafone", - "meiga", - "melancia", - "melhor", - "membro", - "memorial", - "menino", - "menos", - "mensagem", - "mental", - "merecer", - "mergulho", - "mesada", - "mesclar", - "mesmo", - "mesquita", - "mestre", - "metade", - "meteoro", - "metragem", - "mexer", - "mexicano", - "micro", - "migalha", - "migrar", - "milagre", - "milenar", - "milhar", - "mimado", - "minerar", - "minhoca", - "ministro", - "minoria", - "miolo", - "mirante", - "mirtilo", - "misturar", - "mocidade", - "moderno", - "modular", - "moeda", - "moer", - "moinho", - "moita", - "moldura", - "moleza", - "molho", - "molinete", - "molusco", - "montanha", - "moqueca", - "morango", - "morcego", - "mordomo", - "morena", - "mosaico", - "mosquete", - "mostarda", - "motel", - "motim", - "moto", - "motriz", - "muda", - "muito", - "mulata", - "mulher", - "multar", - "mundial", - "munido", - "muralha", - "murcho", - "muscular", - "museu", - "musical", - "nacional", - "nadador", - "naja", - "namoro", - "narina", - "narrado", - "nascer", - "nativa", - "natureza", - "navalha", - "navegar", - "navio", - "neblina", - "nebuloso", - "negativa", - "negociar", - "negrito", - "nervoso", - "neta", - "neural", - "nevasca", - "nevoeiro", - "ninar", - "ninho", - "nitidez", - "nivelar", - "nobreza", - "noite", - "noiva", - "nomear", - "nominal", - "nordeste", - "nortear", - "notar", - "noticiar", - "noturno", - "novelo", - "novilho", - "novo", - "nublado", - "nudez", - "numeral", - "nupcial", - "nutrir", - "nuvem", - "obcecado", - "obedecer", - "objetivo", - "obrigado", - "obscuro", - "obstetra", - "obter", - "obturar", - "ocidente", - "ocioso", - "ocorrer", - "oculista", - "ocupado", - "ofegante", - "ofensiva", - "oferenda", - "oficina", - "ofuscado", - "ogiva", - "olaria", - "oleoso", - "olhar", - "oliveira", - "ombro", - "omelete", - "omisso", - "omitir", - "ondulado", - "oneroso", - "ontem", - "opcional", - "operador", - "oponente", - "oportuno", - "oposto", - "orar", - "orbitar", - "ordem", - "ordinal", - "orfanato", - "orgasmo", - "orgulho", - "oriental", - "origem", - "oriundo", - "orla", - "ortodoxo", - "orvalho", - "oscilar", - "ossada", - "osso", - "ostentar", - "otimismo", - "ousadia", - "outono", - "outubro", - "ouvido", - "ovelha", - "ovular", - "oxidar", - "oxigenar", - "pacato", - "paciente", - "pacote", - "pactuar", - "padaria", - "padrinho", - "pagar", - "pagode", - "painel", - "pairar", - "paisagem", - "palavra", - "palestra", - "palheta", - "palito", - "palmada", - "palpitar", - "pancada", - "panela", - "panfleto", - "panqueca", - "pantanal", - "papagaio", - "papelada", - "papiro", - "parafina", - "parcial", - "pardal", - "parede", - "partida", - "pasmo", - "passado", - "pastel", - "patamar", - "patente", - "patinar", - "patrono", - "paulada", - "pausar", - "peculiar", - "pedalar", - "pedestre", - "pediatra", - "pedra", - "pegada", - "peitoral", - "peixe", - "pele", - "pelicano", - "penca", - "pendurar", - "peneira", - "penhasco", - "pensador", - "pente", - "perceber", - "perfeito", - "pergunta", - "perito", - "permitir", - "perna", - "perplexo", - "persiana", - "pertence", - "peruca", - "pescado", - "pesquisa", - "pessoa", - "petiscar", - "piada", - "picado", - "piedade", - "pigmento", - "pilastra", - "pilhado", - "pilotar", - "pimenta", - "pincel", - "pinguim", - "pinha", - "pinote", - "pintar", - "pioneiro", - "pipoca", - "piquete", - "piranha", - "pires", - "pirueta", - "piscar", - "pistola", - "pitanga", - "pivete", - "planta", - "plaqueta", - "platina", - "plebeu", - "plumagem", - "pluvial", - "pneu", - "poda", - "poeira", - "poetisa", - "polegada", - "policiar", - "poluente", - "polvilho", - "pomar", - "pomba", - "ponderar", - "pontaria", - "populoso", - "porta", - "possuir", - "postal", - "pote", - "poupar", - "pouso", - "povoar", - "praia", - "prancha", - "prato", - "praxe", - "prece", - "predador", - "prefeito", - "premiar", - "prensar", - "preparar", - "presilha", - "pretexto", - "prevenir", - "prezar", - "primata", - "princesa", - "prisma", - "privado", - "processo", - "produto", - "profeta", - "proibido", - "projeto", - "prometer", - "propagar", - "prosa", - "protetor", - "provador", - "publicar", - "pudim", - "pular", - "pulmonar", - "pulseira", - "punhal", - "punir", - "pupilo", - "pureza", - "puxador", - "quadra", - "quantia", - "quarto", - "quase", - "quebrar", - "queda", - "queijo", - "quente", - "querido", - "quimono", - "quina", - "quiosque", - "rabanada", - "rabisco", - "rachar", - "racionar", - "radial", - "raiar", - "rainha", - "raio", - "raiva", - "rajada", - "ralado", - "ramal", - "ranger", - "ranhura", - "rapadura", - "rapel", - "rapidez", - "raposa", - "raquete", - "raridade", - "rasante", - "rascunho", - "rasgar", - "raspador", - "rasteira", - "rasurar", - "ratazana", - "ratoeira", - "realeza", - "reanimar", - "reaver", - "rebaixar", - "rebelde", - "rebolar", - "recado", - "recente", - "recheio", - "recibo", - "recordar", - "recrutar", - "recuar", - "rede", - "redimir", - "redonda", - "reduzida", - "reenvio", - "refinar", - "refletir", - "refogar", - "refresco", - "refugiar", - "regalia", - "regime", - "regra", - "reinado", - "reitor", - "rejeitar", - "relativo", - "remador", - "remendo", - "remorso", - "renovado", - "reparo", - "repelir", - "repleto", - "repolho", - "represa", - "repudiar", - "requerer", - "resenha", - "resfriar", - "resgatar", - "residir", - "resolver", - "respeito", - "ressaca", - "restante", - "resumir", - "retalho", - "reter", - "retirar", - "retomada", - "retratar", - "revelar", - "revisor", - "revolta", - "riacho", - "rica", - "rigidez", - "rigoroso", - "rimar", - "ringue", - "risada", - "risco", - "risonho", - "robalo", - "rochedo", - "rodada", - "rodeio", - "rodovia", - "roedor", - "roleta", - "romano", - "roncar", - "rosado", - "roseira", - "rosto", - "rota", - "roteiro", - "rotina", - "rotular", - "rouco", - "roupa", - "roxo", - "rubro", - "rugido", - "rugoso", - "ruivo", - "rumo", - "rupestre", - "russo", - "sabor", - "saciar", - "sacola", - "sacudir", - "sadio", - "safira", - "saga", - "sagrada", - "saibro", - "salada", - "saleiro", - "salgado", - "saliva", - "salpicar", - "salsicha", - "saltar", - "salvador", - "sambar", - "samurai", - "sanar", - "sanfona", - "sangue", - "sanidade", - "sapato", - "sarda", - "sargento", - "sarjeta", - "saturar", - "saudade", - "saxofone", - "sazonal", - "secar", - "secular", - "seda", - "sedento", - "sediado", - "sedoso", - "sedutor", - "segmento", - "segredo", - "segundo", - "seiva", - "seleto", - "selvagem", - "semanal", - "semente", - "senador", - "senhor", - "sensual", - "sentado", - "separado", - "sereia", - "seringa", - "serra", - "servo", - "setembro", - "setor", - "sigilo", - "silhueta", - "silicone", - "simetria", - "simpatia", - "simular", - "sinal", - "sincero", - "singular", - "sinopse", - "sintonia", - "sirene", - "siri", - "situado", - "soberano", - "sobra", - "socorro", - "sogro", - "soja", - "solda", - "soletrar", - "solteiro", - "sombrio", - "sonata", - "sondar", - "sonegar", - "sonhador", - "sono", - "soprano", - "soquete", - "sorrir", - "sorteio", - "sossego", - "sotaque", - "soterrar", - "sovado", - "sozinho", - "suavizar", - "subida", - "submerso", - "subsolo", - "subtrair", - "sucata", - "sucesso", - "suco", - "sudeste", - "sufixo", - "sugador", - "sugerir", - "sujeito", - "sulfato", - "sumir", - "suor", - "superior", - "suplicar", - "suposto", - "suprimir", - "surdina", - "surfista", - "surpresa", - "surreal", - "surtir", - "suspiro", - "sustento", - "tabela", - "tablete", - "tabuada", - "tacho", - "tagarela", - "talher", - "talo", - "talvez", - "tamanho", - "tamborim", - "tampa", - "tangente", - "tanto", - "tapar", - "tapioca", - "tardio", - "tarefa", - "tarja", - "tarraxa", - "tatuagem", - "taurino", - "taxativo", - "taxista", - "teatral", - "tecer", - "tecido", - "teclado", - "tedioso", - "teia", - "teimar", - "telefone", - "telhado", - "tempero", - "tenente", - "tensor", - "tentar", - "termal", - "terno", - "terreno", - "tese", - "tesoura", - "testado", - "teto", - "textura", - "texugo", - "tiara", - "tigela", - "tijolo", - "timbrar", - "timidez", - "tingido", - "tinteiro", - "tiragem", - "titular", - "toalha", - "tocha", - "tolerar", - "tolice", - "tomada", - "tomilho", - "tonel", - "tontura", - "topete", - "tora", - "torcido", - "torneio", - "torque", - "torrada", - "torto", - "tostar", - "touca", - "toupeira", - "toxina", - "trabalho", - "tracejar", - "tradutor", - "trafegar", - "trajeto", - "trama", - "trancar", - "trapo", - "traseiro", - "tratador", - "travar", - "treino", - "tremer", - "trepidar", - "trevo", - "triagem", - "tribo", - "triciclo", - "tridente", - "trilogia", - "trindade", - "triplo", - "triturar", - "triunfal", - "trocar", - "trombeta", - "trova", - "trunfo", - "truque", - "tubular", - "tucano", - "tudo", - "tulipa", - "tupi", - "turbo", - "turma", - "turquesa", - "tutelar", - "tutorial", - "uivar", - "umbigo", - "unha", - "unidade", - "uniforme", - "urologia", - "urso", - "urtiga", - "urubu", - "usado", - "usina", - "usufruir", - "vacina", - "vadiar", - "vagaroso", - "vaidoso", - "vala", - "valente", - "validade", - "valores", - "vantagem", - "vaqueiro", - "varanda", - "vareta", - "varrer", - "vascular", - "vasilha", - "vassoura", - "vazar", - "vazio", - "veado", - "vedar", - "vegetar", - "veicular", - "veleiro", - "velhice", - "veludo", - "vencedor", - "vendaval", - "venerar", - "ventre", - "verbal", - "verdade", - "vereador", - "vergonha", - "vermelho", - "verniz", - "versar", - "vertente", - "vespa", - "vestido", - "vetorial", - "viaduto", - "viagem", - "viajar", - "viatura", - "vibrador", - "videira", - "vidraria", - "viela", - "viga", - "vigente", - "vigiar", - "vigorar", - "vilarejo", - "vinco", - "vinheta", - "vinil", - "violeta", - "virada", - "virtude", - "visitar", - "visto", - "vitral", - "viveiro", - "vizinho", - "voador", - "voar", - "vogal", - "volante", - "voleibol", - "voltagem", - "volumoso", - "vontade", - "vulto", - "vuvuzela", - "xadrez", - "xarope", - "xeque", - "xeretar", - "xerife", - "xingar", - "zangado", - "zarpar", - "zebu", - "zelador", - "zombar", - "zoologia", - "zumbido" -]; + const bech32 = new Bech32({ + hrp: 'id', + content: this.pubkeyhash + }); -var require$$9 = [ - "abandon", - "ability", - "able", - "about", - "above", - "absent", - "absorb", - "abstract", - "absurd", - "abuse", - "access", - "accident", - "account", - "accuse", - "achieve", - "acid", - "acoustic", - "acquire", - "across", - "act", - "action", - "actor", - "actress", - "actual", - "adapt", - "add", - "addict", - "address", - "adjust", - "admit", - "adult", - "advance", - "advice", - "aerobic", - "affair", - "afford", - "afraid", - "again", - "age", - "agent", - "agree", - "ahead", - "aim", - "air", - "airport", - "aisle", - "alarm", - "album", - "alcohol", - "alert", - "alien", - "all", - "alley", - "allow", - "almost", - "alone", - "alpha", - "already", - "also", - "alter", - "always", - "amateur", - "amazing", - "among", - "amount", - "amused", - "analyst", - "anchor", - "ancient", - "anger", - "angle", - "angry", - "animal", - "ankle", - "announce", - "annual", - "another", - "answer", - "antenna", - "antique", - "anxiety", - "any", - "apart", - "apology", - "appear", - "apple", - "approve", - "april", - "arch", - "arctic", - "area", - "arena", - "argue", - "arm", - "armed", - "armor", - "army", - "around", - "arrange", - "arrest", - "arrive", - "arrow", - "art", - "artefact", - "artist", - "artwork", - "ask", - "aspect", - "assault", - "asset", - "assist", - "assume", - "asthma", - "athlete", - "atom", - "attack", - "attend", - "attitude", - "attract", - "auction", - "audit", - "august", - "aunt", - "author", - "auto", - "autumn", - "average", - "avocado", - "avoid", - "awake", - "aware", - "away", - "awesome", - "awful", - "awkward", - "axis", - "baby", - "bachelor", - "bacon", - "badge", - "bag", - "balance", - "balcony", - "ball", - "bamboo", - "banana", - "banner", - "bar", - "barely", - "bargain", - "barrel", - "base", - "basic", - "basket", - "battle", - "beach", - "bean", - "beauty", - "because", - "become", - "beef", - "before", - "begin", - "behave", - "behind", - "believe", - "below", - "belt", - "bench", - "benefit", - "best", - "betray", - "better", - "between", - "beyond", - "bicycle", - "bid", - "bike", - "bind", - "biology", - "bird", - "birth", - "bitter", - "black", - "blade", - "blame", - "blanket", - "blast", - "bleak", - "bless", - "blind", - "blood", - "blossom", - "blouse", - "blue", - "blur", - "blush", - "board", - "boat", - "body", - "boil", - "bomb", - "bone", - "bonus", - "book", - "boost", - "border", - "boring", - "borrow", - "boss", - "bottom", - "bounce", - "box", - "boy", - "bracket", - "brain", - "brand", - "brass", - "brave", - "bread", - "breeze", - "brick", - "bridge", - "brief", - "bright", - "bring", - "brisk", - "broccoli", - "broken", - "bronze", - "broom", - "brother", - "brown", - "brush", - "bubble", - "buddy", - "budget", - "buffalo", - "build", - "bulb", - "bulk", - "bullet", - "bundle", - "bunker", - "burden", - "burger", - "burst", - "bus", - "business", - "busy", - "butter", - "buyer", - "buzz", - "cabbage", - "cabin", - "cable", - "cactus", - "cage", - "cake", - "call", - "calm", - "camera", - "camp", - "can", - "canal", - "cancel", - "candy", - "cannon", - "canoe", - "canvas", - "canyon", - "capable", - "capital", - "captain", - "car", - "carbon", - "card", - "cargo", - "carpet", - "carry", - "cart", - "case", - "cash", - "casino", - "castle", - "casual", - "cat", - "catalog", - "catch", - "category", - "cattle", - "caught", - "cause", - "caution", - "cave", - "ceiling", - "celery", - "cement", - "census", - "century", - "cereal", - "certain", - "chair", - "chalk", - "champion", - "change", - "chaos", - "chapter", - "charge", - "chase", - "chat", - "cheap", - "check", - "cheese", - "chef", - "cherry", - "chest", - "chicken", - "chief", - "child", - "chimney", - "choice", - "choose", - "chronic", - "chuckle", - "chunk", - "churn", - "cigar", - "cinnamon", - "circle", - "citizen", - "city", - "civil", - "claim", - "clap", - "clarify", - "claw", - "clay", - "clean", - "clerk", - "clever", - "click", - "client", - "cliff", - "climb", - "clinic", - "clip", - "clock", - "clog", - "close", - "cloth", - "cloud", - "clown", - "club", - "clump", - "cluster", - "clutch", - "coach", - "coast", - "coconut", - "code", - "coffee", - "coil", - "coin", - "collect", - "color", - "column", - "combine", - "come", - "comfort", - "comic", - "common", - "company", - "concert", - "conduct", - "confirm", - "congress", - "connect", - "consider", - "control", - "convince", - "cook", - "cool", - "copper", - "copy", - "coral", - "core", - "corn", - "correct", - "cost", - "cotton", - "couch", - "country", - "couple", - "course", - "cousin", - "cover", - "coyote", - "crack", - "cradle", - "craft", - "cram", - "crane", - "crash", - "crater", - "crawl", - "crazy", - "cream", - "credit", - "creek", - "crew", - "cricket", - "crime", - "crisp", - "critic", - "crop", - "cross", - "crouch", - "crowd", - "crucial", - "cruel", - "cruise", - "crumble", - "crunch", - "crush", - "cry", - "crystal", - "cube", - "culture", - "cup", - "cupboard", - "curious", - "current", - "curtain", - "curve", - "cushion", - "custom", - "cute", - "cycle", - "dad", - "damage", - "damp", - "dance", - "danger", - "daring", - "dash", - "daughter", - "dawn", - "day", - "deal", - "debate", - "debris", - "decade", - "december", - "decide", - "decline", - "decorate", - "decrease", - "deer", - "defense", - "define", - "defy", - "degree", - "delay", - "deliver", - "demand", - "demise", - "denial", - "dentist", - "deny", - "depart", - "depend", - "deposit", - "depth", - "deputy", - "derive", - "describe", - "desert", - "design", - "desk", - "despair", - "destroy", - "detail", - "detect", - "develop", - "device", - "devote", - "diagram", - "dial", - "diamond", - "diary", - "dice", - "diesel", - "diet", - "differ", - "digital", - "dignity", - "dilemma", - "dinner", - "dinosaur", - "direct", - "dirt", - "disagree", - "discover", - "disease", - "dish", - "dismiss", - "disorder", - "display", - "distance", - "divert", - "divide", - "divorce", - "dizzy", - "doctor", - "document", - "dog", - "doll", - "dolphin", - "domain", - "donate", - "donkey", - "donor", - "door", - "dose", - "double", - "dove", - "draft", - "dragon", - "drama", - "drastic", - "draw", - "dream", - "dress", - "drift", - "drill", - "drink", - "drip", - "drive", - "drop", - "drum", - "dry", - "duck", - "dumb", - "dune", - "during", - "dust", - "dutch", - "duty", - "dwarf", - "dynamic", - "eager", - "eagle", - "early", - "earn", - "earth", - "easily", - "east", - "easy", - "echo", - "ecology", - "economy", - "edge", - "edit", - "educate", - "effort", - "egg", - "eight", - "either", - "elbow", - "elder", - "electric", - "elegant", - "element", - "elephant", - "elevator", - "elite", - "else", - "embark", - "embody", - "embrace", - "emerge", - "emotion", - "employ", - "empower", - "empty", - "enable", - "enact", - "end", - "endless", - "endorse", - "enemy", - "energy", - "enforce", - "engage", - "engine", - "enhance", - "enjoy", - "enlist", - "enough", - "enrich", - "enroll", - "ensure", - "enter", - "entire", - "entry", - "envelope", - "episode", - "equal", - "equip", - "era", - "erase", - "erode", - "erosion", - "error", - "erupt", - "escape", - "essay", - "essence", - "estate", - "eternal", - "ethics", - "evidence", - "evil", - "evoke", - "evolve", - "exact", - "example", - "excess", - "exchange", - "excite", - "exclude", - "excuse", - "execute", - "exercise", - "exhaust", - "exhibit", - "exile", - "exist", - "exit", - "exotic", - "expand", - "expect", - "expire", - "explain", - "expose", - "express", - "extend", - "extra", - "eye", - "eyebrow", - "fabric", - "face", - "faculty", - "fade", - "faint", - "faith", - "fall", - "false", - "fame", - "family", - "famous", - "fan", - "fancy", - "fantasy", - "farm", - "fashion", - "fat", - "fatal", - "father", - "fatigue", - "fault", - "favorite", - "feature", - "february", - "federal", - "fee", - "feed", - "feel", - "female", - "fence", - "festival", - "fetch", - "fever", - "few", - "fiber", - "fiction", - "field", - "figure", - "file", - "film", - "filter", - "final", - "find", - "fine", - "finger", - "finish", - "fire", - "firm", - "first", - "fiscal", - "fish", - "fit", - "fitness", - "fix", - "flag", - "flame", - "flash", - "flat", - "flavor", - "flee", - "flight", - "flip", - "float", - "flock", - "floor", - "flower", - "fluid", - "flush", - "fly", - "foam", - "focus", - "fog", - "foil", - "fold", - "follow", - "food", - "foot", - "force", - "forest", - "forget", - "fork", - "fortune", - "forum", - "forward", - "fossil", - "foster", - "found", - "fox", - "fragile", - "frame", - "frequent", - "fresh", - "friend", - "fringe", - "frog", - "front", - "frost", - "frown", - "frozen", - "fruit", - "fuel", - "fun", - "funny", - "furnace", - "fury", - "future", - "gadget", - "gain", - "galaxy", - "gallery", - "game", - "gap", - "garage", - "garbage", - "garden", - "garlic", - "garment", - "gas", - "gasp", - "gate", - "gather", - "gauge", - "gaze", - "general", - "genius", - "genre", - "gentle", - "genuine", - "gesture", - "ghost", - "giant", - "gift", - "giggle", - "ginger", - "giraffe", - "girl", - "give", - "glad", - "glance", - "glare", - "glass", - "glide", - "glimpse", - "globe", - "gloom", - "glory", - "glove", - "glow", - "glue", - "goat", - "goddess", - "gold", - "good", - "goose", - "gorilla", - "gospel", - "gossip", - "govern", - "gown", - "grab", - "grace", - "grain", - "grant", - "grape", - "grass", - "gravity", - "great", - "green", - "grid", - "grief", - "grit", - "grocery", - "group", - "grow", - "grunt", - "guard", - "guess", - "guide", - "guilt", - "guitar", - "gun", - "gym", - "habit", - "hair", - "half", - "hammer", - "hamster", - "hand", - "happy", - "harbor", - "hard", - "harsh", - "harvest", - "hat", - "have", - "hawk", - "hazard", - "head", - "health", - "heart", - "heavy", - "hedgehog", - "height", - "hello", - "helmet", - "help", - "hen", - "hero", - "hidden", - "high", - "hill", - "hint", - "hip", - "hire", - "history", - "hobby", - "hockey", - "hold", - "hole", - "holiday", - "hollow", - "home", - "honey", - "hood", - "hope", - "horn", - "horror", - "horse", - "hospital", - "host", - "hotel", - "hour", - "hover", - "hub", - "huge", - "human", - "humble", - "humor", - "hundred", - "hungry", - "hunt", - "hurdle", - "hurry", - "hurt", - "husband", - "hybrid", - "ice", - "icon", - "idea", - "identify", - "idle", - "ignore", - "ill", - "illegal", - "illness", - "image", - "imitate", - "immense", - "immune", - "impact", - "impose", - "improve", - "impulse", - "inch", - "include", - "income", - "increase", - "index", - "indicate", - "indoor", - "industry", - "infant", - "inflict", - "inform", - "inhale", - "inherit", - "initial", - "inject", - "injury", - "inmate", - "inner", - "innocent", - "input", - "inquiry", - "insane", - "insect", - "inside", - "inspire", - "install", - "intact", - "interest", - "into", - "invest", - "invite", - "involve", - "iron", - "island", - "isolate", - "issue", - "item", - "ivory", - "jacket", - "jaguar", - "jar", - "jazz", - "jealous", - "jeans", - "jelly", - "jewel", - "job", - "join", - "joke", - "journey", - "joy", - "judge", - "juice", - "jump", - "jungle", - "junior", - "junk", - "just", - "kangaroo", - "keen", - "keep", - "ketchup", - "key", - "kick", - "kid", - "kidney", - "kind", - "kingdom", - "kiss", - "kit", - "kitchen", - "kite", - "kitten", - "kiwi", - "knee", - "knife", - "knock", - "know", - "lab", - "label", - "labor", - "ladder", - "lady", - "lake", - "lamp", - "language", - "laptop", - "large", - "later", - "latin", - "laugh", - "laundry", - "lava", - "law", - "lawn", - "lawsuit", - "layer", - "lazy", - "leader", - "leaf", - "learn", - "leave", - "lecture", - "left", - "leg", - "legal", - "legend", - "leisure", - "lemon", - "lend", - "length", - "lens", - "leopard", - "lesson", - "letter", - "level", - "liar", - "liberty", - "library", - "license", - "life", - "lift", - "light", - "like", - "limb", - "limit", - "link", - "lion", - "liquid", - "list", - "little", - "live", - "lizard", - "load", - "loan", - "lobster", - "local", - "lock", - "logic", - "lonely", - "long", - "loop", - "lottery", - "loud", - "lounge", - "love", - "loyal", - "lucky", - "luggage", - "lumber", - "lunar", - "lunch", - "luxury", - "lyrics", - "machine", - "mad", - "magic", - "magnet", - "maid", - "mail", - "main", - "major", - "make", - "mammal", - "man", - "manage", - "mandate", - "mango", - "mansion", - "manual", - "maple", - "marble", - "march", - "margin", - "marine", - "market", - "marriage", - "mask", - "mass", - "master", - "match", - "material", - "math", - "matrix", - "matter", - "maximum", - "maze", - "meadow", - "mean", - "measure", - "meat", - "mechanic", - "medal", - "media", - "melody", - "melt", - "member", - "memory", - "mention", - "menu", - "mercy", - "merge", - "merit", - "merry", - "mesh", - "message", - "metal", - "method", - "middle", - "midnight", - "milk", - "million", - "mimic", - "mind", - "minimum", - "minor", - "minute", - "miracle", - "mirror", - "misery", - "miss", - "mistake", - "mix", - "mixed", - "mixture", - "mobile", - "model", - "modify", - "mom", - "moment", - "monitor", - "monkey", - "monster", - "month", - "moon", - "moral", - "more", - "morning", - "mosquito", - "mother", - "motion", - "motor", - "mountain", - "mouse", - "move", - "movie", - "much", - "muffin", - "mule", - "multiply", - "muscle", - "museum", - "mushroom", - "music", - "must", - "mutual", - "myself", - "mystery", - "myth", - "naive", - "name", - "napkin", - "narrow", - "nasty", - "nation", - "nature", - "near", - "neck", - "need", - "negative", - "neglect", - "neither", - "nephew", - "nerve", - "nest", - "net", - "network", - "neutral", - "never", - "news", - "next", - "nice", - "night", - "noble", - "noise", - "nominee", - "noodle", - "normal", - "north", - "nose", - "notable", - "note", - "nothing", - "notice", - "novel", - "now", - "nuclear", - "number", - "nurse", - "nut", - "oak", - "obey", - "object", - "oblige", - "obscure", - "observe", - "obtain", - "obvious", - "occur", - "ocean", - "october", - "odor", - "off", - "offer", - "office", - "often", - "oil", - "okay", - "old", - "olive", - "olympic", - "omit", - "once", - "one", - "onion", - "online", - "only", - "open", - "opera", - "opinion", - "oppose", - "option", - "orange", - "orbit", - "orchard", - "order", - "ordinary", - "organ", - "orient", - "original", - "orphan", - "ostrich", - "other", - "outdoor", - "outer", - "output", - "outside", - "oval", - "oven", - "over", - "own", - "owner", - "oxygen", - "oyster", - "ozone", - "pact", - "paddle", - "page", - "pair", - "palace", - "palm", - "panda", - "panel", - "panic", - "panther", - "paper", - "parade", - "parent", - "park", - "parrot", - "party", - "pass", - "patch", - "path", - "patient", - "patrol", - "pattern", - "pause", - "pave", - "payment", - "peace", - "peanut", - "pear", - "peasant", - "pelican", - "pen", - "penalty", - "pencil", - "people", - "pepper", - "perfect", - "permit", - "person", - "pet", - "phone", - "photo", - "phrase", - "physical", - "piano", - "picnic", - "picture", - "piece", - "pig", - "pigeon", - "pill", - "pilot", - "pink", - "pioneer", - "pipe", - "pistol", - "pitch", - "pizza", - "place", - "planet", - "plastic", - "plate", - "play", - "please", - "pledge", - "pluck", - "plug", - "plunge", - "poem", - "poet", - "point", - "polar", - "pole", - "police", - "pond", - "pony", - "pool", - "popular", - "portion", - "position", - "possible", - "post", - "potato", - "pottery", - "poverty", - "powder", - "power", - "practice", - "praise", - "predict", - "prefer", - "prepare", - "present", - "pretty", - "prevent", - "price", - "pride", - "primary", - "print", - "priority", - "prison", - "private", - "prize", - "problem", - "process", - "produce", - "profit", - "program", - "project", - "promote", - "proof", - "property", - "prosper", - "protect", - "proud", - "provide", - "public", - "pudding", - "pull", - "pulp", - "pulse", - "pumpkin", - "punch", - "pupil", - "puppy", - "purchase", - "purity", - "purpose", - "purse", - "push", - "put", - "puzzle", - "pyramid", - "quality", - "quantum", - "quarter", - "question", - "quick", - "quit", - "quiz", - "quote", - "rabbit", - "raccoon", - "race", - "rack", - "radar", - "radio", - "rail", - "rain", - "raise", - "rally", - "ramp", - "ranch", - "random", - "range", - "rapid", - "rare", - "rate", - "rather", - "raven", - "raw", - "razor", - "ready", - "real", - "reason", - "rebel", - "rebuild", - "recall", - "receive", - "recipe", - "record", - "recycle", - "reduce", - "reflect", - "reform", - "refuse", - "region", - "regret", - "regular", - "reject", - "relax", - "release", - "relief", - "rely", - "remain", - "remember", - "remind", - "remove", - "render", - "renew", - "rent", - "reopen", - "repair", - "repeat", - "replace", - "report", - "require", - "rescue", - "resemble", - "resist", - "resource", - "response", - "result", - "retire", - "retreat", - "return", - "reunion", - "reveal", - "review", - "reward", - "rhythm", - "rib", - "ribbon", - "rice", - "rich", - "ride", - "ridge", - "rifle", - "right", - "rigid", - "ring", - "riot", - "ripple", - "risk", - "ritual", - "rival", - "river", - "road", - "roast", - "robot", - "robust", - "rocket", - "romance", - "roof", - "rookie", - "room", - "rose", - "rotate", - "rough", - "round", - "route", - "royal", - "rubber", - "rude", - "rug", - "rule", - "run", - "runway", - "rural", - "sad", - "saddle", - "sadness", - "safe", - "sail", - "salad", - "salmon", - "salon", - "salt", - "salute", - "same", - "sample", - "sand", - "satisfy", - "satoshi", - "sauce", - "sausage", - "save", - "say", - "scale", - "scan", - "scare", - "scatter", - "scene", - "scheme", - "school", - "science", - "scissors", - "scorpion", - "scout", - "scrap", - "screen", - "script", - "scrub", - "sea", - "search", - "season", - "seat", - "second", - "secret", - "section", - "security", - "seed", - "seek", - "segment", - "select", - "sell", - "seminar", - "senior", - "sense", - "sentence", - "series", - "service", - "session", - "settle", - "setup", - "seven", - "shadow", - "shaft", - "shallow", - "share", - "shed", - "shell", - "sheriff", - "shield", - "shift", - "shine", - "ship", - "shiver", - "shock", - "shoe", - "shoot", - "shop", - "short", - "shoulder", - "shove", - "shrimp", - "shrug", - "shuffle", - "shy", - "sibling", - "sick", - "side", - "siege", - "sight", - "sign", - "silent", - "silk", - "silly", - "silver", - "similar", - "simple", - "since", - "sing", - "siren", - "sister", - "situate", - "six", - "size", - "skate", - "sketch", - "ski", - "skill", - "skin", - "skirt", - "skull", - "slab", - "slam", - "sleep", - "slender", - "slice", - "slide", - "slight", - "slim", - "slogan", - "slot", - "slow", - "slush", - "small", - "smart", - "smile", - "smoke", - "smooth", - "snack", - "snake", - "snap", - "sniff", - "snow", - "soap", - "soccer", - "social", - "sock", - "soda", - "soft", - "solar", - "soldier", - "solid", - "solution", - "solve", - "someone", - "song", - "soon", - "sorry", - "sort", - "soul", - "sound", - "soup", - "source", - "south", - "space", - "spare", - "spatial", - "spawn", - "speak", - "special", - "speed", - "spell", - "spend", - "sphere", - "spice", - "spider", - "spike", - "spin", - "spirit", - "split", - "spoil", - "sponsor", - "spoon", - "sport", - "spot", - "spray", - "spread", - "spring", - "spy", - "square", - "squeeze", - "squirrel", - "stable", - "stadium", - "staff", - "stage", - "stairs", - "stamp", - "stand", - "start", - "state", - "stay", - "steak", - "steel", - "stem", - "step", - "stereo", - "stick", - "still", - "sting", - "stock", - "stomach", - "stone", - "stool", - "story", - "stove", - "strategy", - "street", - "strike", - "strong", - "struggle", - "student", - "stuff", - "stumble", - "style", - "subject", - "submit", - "subway", - "success", - "such", - "sudden", - "suffer", - "sugar", - "suggest", - "suit", - "summer", - "sun", - "sunny", - "sunset", - "super", - "supply", - "supreme", - "sure", - "surface", - "surge", - "surprise", - "surround", - "survey", - "suspect", - "sustain", - "swallow", - "swamp", - "swap", - "swarm", - "swear", - "sweet", - "swift", - "swim", - "swing", - "switch", - "sword", - "symbol", - "symptom", - "syrup", - "system", - "table", - "tackle", - "tag", - "tail", - "talent", - "talk", - "tank", - "tape", - "target", - "task", - "taste", - "tattoo", - "taxi", - "teach", - "team", - "tell", - "ten", - "tenant", - "tennis", - "tent", - "term", - "test", - "text", - "thank", - "that", - "theme", - "then", - "theory", - "there", - "they", - "thing", - "this", - "thought", - "three", - "thrive", - "throw", - "thumb", - "thunder", - "ticket", - "tide", - "tiger", - "tilt", - "timber", - "time", - "tiny", - "tip", - "tired", - "tissue", - "title", - "toast", - "tobacco", - "today", - "toddler", - "toe", - "together", - "toilet", - "token", - "tomato", - "tomorrow", - "tone", - "tongue", - "tonight", - "tool", - "tooth", - "top", - "topic", - "topple", - "torch", - "tornado", - "tortoise", - "toss", - "total", - "tourist", - "toward", - "tower", - "town", - "toy", - "track", - "trade", - "traffic", - "tragic", - "train", - "transfer", - "trap", - "trash", - "travel", - "tray", - "treat", - "tree", - "trend", - "trial", - "tribe", - "trick", - "trigger", - "trim", - "trip", - "trophy", - "trouble", - "truck", - "true", - "truly", - "trumpet", - "trust", - "truth", - "try", - "tube", - "tuition", - "tumble", - "tuna", - "tunnel", - "turkey", - "turn", - "turtle", - "twelve", - "twenty", - "twice", - "twin", - "twist", - "two", - "type", - "typical", - "ugly", - "umbrella", - "unable", - "unaware", - "uncle", - "uncover", - "under", - "undo", - "unfair", - "unfold", - "unhappy", - "uniform", - "unique", - "unit", - "universe", - "unknown", - "unlock", - "until", - "unusual", - "unveil", - "update", - "upgrade", - "uphold", - "upon", - "upper", - "upset", - "urban", - "urge", - "usage", - "use", - "used", - "useful", - "useless", - "usual", - "utility", - "vacant", - "vacuum", - "vague", - "valid", - "valley", - "valve", - "van", - "vanish", - "vapor", - "various", - "vast", - "vault", - "vehicle", - "velvet", - "vendor", - "venture", - "venue", - "verb", - "verify", - "version", - "very", - "vessel", - "veteran", - "viable", - "vibrant", - "vicious", - "victory", - "video", - "view", - "village", - "vintage", - "violin", - "virtual", - "virus", - "visa", - "visit", - "visual", - "vital", - "vivid", - "vocal", - "voice", - "void", - "volcano", - "volume", - "vote", - "voyage", - "wage", - "wagon", - "wait", - "walk", - "wall", - "walnut", - "want", - "warfare", - "warm", - "warrior", - "wash", - "wasp", - "waste", - "water", - "wave", - "way", - "wealth", - "weapon", - "wear", - "weasel", - "weather", - "web", - "wedding", - "weekend", - "weird", - "welcome", - "west", - "wet", - "whale", - "what", - "wheat", - "wheel", - "when", - "where", - "whip", - "whisper", - "wide", - "width", - "wife", - "wild", - "will", - "win", - "window", - "wine", - "wing", - "wink", - "winner", - "winter", - "wire", - "wisdom", - "wise", - "wish", - "witness", - "wolf", - "woman", - "wonder", - "wood", - "wool", - "word", - "work", - "world", - "worry", - "worth", - "wrap", - "wreck", - "wrestle", - "wrist", - "write", - "wrong", - "yard", - "year", - "yellow", - "you", - "young", - "youth", - "zebra", - "zero", - "zone", - "zoo" -]; + if (this.settings.debug) console.log('bech32:', bech32); -Object.defineProperty(_wordlists, "__esModule", { value: true }); -// browserify by default only pulls in files that are hard coded in requires -// In order of last to first in this file, the default wordlist will be chosen -// based on what is present. (Bundles may remove wordlists they don't need) -const wordlists$1 = {}; -_wordlists.wordlists = wordlists$1; -let _default; -var _default_1 = _wordlists._default = _default; -try { - _default_1 = _wordlists._default = _default = require$$0; - wordlists$1.czech = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$1; - wordlists$1.chinese_simplified = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$2; - wordlists$1.chinese_traditional = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$3; - wordlists$1.korean = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$4; - wordlists$1.french = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$5; - wordlists$1.italian = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$6; - wordlists$1.spanish = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$7; - wordlists$1.japanese = _default; - wordlists$1.JA = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$8; - wordlists$1.portuguese = _default; -} -catch (err) { } -try { - _default_1 = _wordlists._default = _default = require$$9; - wordlists$1.english = _default; - wordlists$1.EN = _default; + return bech32.toString(); + } } -catch (err) { } -Object.defineProperty(src, "__esModule", { value: true }); -const createHash = createHash$1; -const pbkdf2_1 = pbkdf2; -const randomBytes = randombytes; -const _wordlists_1 = _wordlists; -let DEFAULT_WORDLIST = _wordlists_1._default; -const INVALID_MNEMONIC = 'Invalid mnemonic'; -const INVALID_ENTROPY = 'Invalid entropy'; -const INVALID_CHECKSUM = 'Invalid mnemonic checksum'; -const WORDLIST_REQUIRED = 'A wordlist is required but a default could not be found.\n' + - 'Please pass a 2048 word array explicitly.'; -function pbkdf2Promise(password, saltMixin, iterations, keylen, digest) { - return Promise.resolve().then(() => new Promise((resolve, reject) => { - const callback = (err, derivedKey) => { - if (err) { - return reject(err); - } - else { - return resolve(derivedKey); - } - }; - pbkdf2_1.pbkdf2(password, saltMixin, iterations, keylen, digest, callback); - })); -} -function normalize(str) { - return (str || '').normalize('NFKD'); -} -function lpad(str, padString, length) { - while (str.length < length) { - str = padString + str; - } - return str; -} -function binaryToByte(bin) { - return parseInt(bin, 2); -} -function bytesToBinary(bytes) { - return bytes.map((x) => lpad(x.toString(2), '0', 8)).join(''); -} -function deriveChecksumBits(entropyBuffer) { - const ENT = entropyBuffer.length * 8; - const CS = ENT / 32; - const hash = createHash('sha256') - .update(entropyBuffer) - .digest(); - return bytesToBinary(Array.from(hash)).slice(0, CS); -} -function salt(password) { - return 'mnemonic' + (password || ''); -} -function mnemonicToSeedSync(mnemonic, password) { - const mnemonicBuffer = Buffer.from(normalize(mnemonic), 'utf8'); - const saltBuffer = Buffer.from(salt(normalize(password)), 'utf8'); - return pbkdf2_1.pbkdf2Sync(mnemonicBuffer, saltBuffer, 2048, 64, 'sha512'); -} -src.mnemonicToSeedSync = mnemonicToSeedSync; -function mnemonicToSeed(mnemonic, password) { - return Promise.resolve().then(() => { - const mnemonicBuffer = Buffer.from(normalize(mnemonic), 'utf8'); - const saltBuffer = Buffer.from(salt(normalize(password)), 'utf8'); - return pbkdf2Promise(mnemonicBuffer, saltBuffer, 2048, 64, 'sha512'); - }); -} -src.mnemonicToSeed = mnemonicToSeed; -function mnemonicToEntropy(mnemonic, wordlist) { - wordlist = wordlist || DEFAULT_WORDLIST; - if (!wordlist) { - throw new Error(WORDLIST_REQUIRED); - } - const words = normalize(mnemonic).split(' '); - if (words.length % 3 !== 0) { - throw new Error(INVALID_MNEMONIC); - } - // convert word indices to 11 bit binary strings - const bits = words - .map((word) => { - const index = wordlist.indexOf(word); - if (index === -1) { - throw new Error(INVALID_MNEMONIC); - } - return lpad(index.toString(2), '0', 11); - }) - .join(''); - // split the binary string into ENT/CS - const dividerIndex = Math.floor(bits.length / 33) * 32; - const entropyBits = bits.slice(0, dividerIndex); - const checksumBits = bits.slice(dividerIndex); - // calculate the checksum and compare - const entropyBytes = entropyBits.match(/(.{1,8})/g).map(binaryToByte); - if (entropyBytes.length < 16) { - throw new Error(INVALID_ENTROPY); - } - if (entropyBytes.length > 32) { - throw new Error(INVALID_ENTROPY); - } - if (entropyBytes.length % 4 !== 0) { - throw new Error(INVALID_ENTROPY); - } - const entropy = Buffer.from(entropyBytes); - const newChecksum = deriveChecksumBits(entropy); - if (newChecksum !== checksumBits) { - throw new Error(INVALID_CHECKSUM); - } - return entropy.toString('hex'); -} -src.mnemonicToEntropy = mnemonicToEntropy; -function entropyToMnemonic(entropy, wordlist) { - if (!Buffer.isBuffer(entropy)) { - entropy = Buffer.from(entropy, 'hex'); - } - wordlist = wordlist || DEFAULT_WORDLIST; - if (!wordlist) { - throw new Error(WORDLIST_REQUIRED); - } - // 128 <= ENT <= 256 - if (entropy.length < 16) { - throw new TypeError(INVALID_ENTROPY); - } - if (entropy.length > 32) { - throw new TypeError(INVALID_ENTROPY); - } - if (entropy.length % 4 !== 0) { - throw new TypeError(INVALID_ENTROPY); - } - const entropyBits = bytesToBinary(Array.from(entropy)); - const checksumBits = deriveChecksumBits(entropy); - const bits = entropyBits + checksumBits; - const chunks = bits.match(/(.{1,11})/g); - const words = chunks.map((binary) => { - const index = binaryToByte(binary); - return wordlist[index]; - }); - return wordlist[0] === '\u3042\u3044\u3053\u304f\u3057\u3093' // Japanese wordlist - ? words.join('\u3000') - : words.join(' '); -} -src.entropyToMnemonic = entropyToMnemonic; -function generateMnemonic(strength, rng, wordlist) { - strength = strength || 128; - if (strength % 32 !== 0) { - throw new TypeError(INVALID_ENTROPY); - } - rng = rng || randomBytes; - return entropyToMnemonic(rng(strength / 8), wordlist); -} -src.generateMnemonic = generateMnemonic; -function validateMnemonic(mnemonic, wordlist) { - try { - mnemonicToEntropy(mnemonic, wordlist); - } - catch (e) { - return false; - } - return true; -} -src.validateMnemonic = validateMnemonic; -function setDefaultWordlist(language) { - const result = _wordlists_1.wordlists[language]; - if (result) { - DEFAULT_WORDLIST = result; - } - else { - throw new Error('Could not find wordlist for language "' + language + '"'); - } -} -src.setDefaultWordlist = setDefaultWordlist; -function getDefaultWordlist() { - if (!DEFAULT_WORDLIST) { - throw new Error('No Default Wordlist set'); - } - return Object.keys(_wordlists_1.wordlists).filter((lang) => { - if (lang === 'JA' || lang === 'EN') { - return false; - } - return _wordlists_1.wordlists[lang].every((word, index) => word === DEFAULT_WORDLIST[index]); - })[0]; -} -src.getDefaultWordlist = getDefaultWordlist; -var _wordlists_2 = _wordlists; -var wordlists = src.wordlists = _wordlists_2.wordlists; +var identity = Identity; var SeedEntryForm = /*#__PURE__*/function (_Component) { _inherits(SeedEntryForm, _Component); @@ -24052,10 +103450,10 @@ var SeedEntryForm = /*#__PURE__*/function (_Component) { function SeedEntryForm(props) { var _this; - _classCallCheck(this, SeedEntryForm); + _classCallCheck$1(this, SeedEntryForm); _this = _super.call(this, props); - _this.settings = merge({ + _this.settings = merge__default["default"]({ network: 'regtest' }, props); /* this.wallet = new Wallet({ @@ -24075,10 +103473,10 @@ var SeedEntryForm = /*#__PURE__*/function (_Component) { return _this; } - _createClass(SeedEntryForm, [{ + _createClass$1(SeedEntryForm, [{ key: "_seedWords", get: function get() { - return wordlists.english.map(function (x, i) { + return require$$8__namespace.wordlists.english.map(function (x, i) { return { key: i, text: x, @@ -24179,7 +103577,7 @@ var SeedEntryForm = /*#__PURE__*/function (_Component) { return SeedEntryForm; }(React.Component); -var FabricIdentity = /*#__PURE__*/function (_Component) { +var FabricIdentity$1 = /*#__PURE__*/function (_Component) { _inherits(FabricIdentity, _Component); var _super = _createSuper(FabricIdentity); @@ -24187,27 +103585,26 @@ var FabricIdentity = /*#__PURE__*/function (_Component) { function FabricIdentity(props) { var _this; - _classCallCheck(this, FabricIdentity); + _classCallCheck$1(this, FabricIdentity); _this = _super.call(this, props); - _this.settings = merge({ + _this.settings = Object.assign({ explain: false, modalOpen: false, keys: [] - }, props); // TODO: prepare Fabric - // i.e., use _state here, then import from getter and apply properties - // _from_ @react + }, props); + _this.identity = new identity(_this.settings); // TODO: prepare Fabric - _this.state = { + _this._state = { explain: true, - identity: null, - integrity: 'sha256-deadbeefbabe', + handle: _this.identity.id, + identity: _this.identity.toObject(), status: 'PAUSED' }; return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); } - _createClass(FabricIdentity, [{ + _createClass$1(FabricIdentity, [{ key: "handleChange", value: function handleChange(e, v) { console.log('change:', e, v); // this.setState({ seed: e }); @@ -24228,7 +103625,7 @@ var FabricIdentity = /*#__PURE__*/function (_Component) { icon: true, onClick: this._handleCardClick.bind(this), labelPosition: "left" - }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("code", null, this.state.identity || 'anonymous')), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { + }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("code", null, this._state.handle || 'anonymous')), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { name: "user" }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal, { open: this.state.modalOpen, @@ -24289,18 +103686,25 @@ var FabricIdentity = /*#__PURE__*/function (_Component) { return FabricIdentity; }(React.Component); +var FabricIdentity$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': FabricIdentity$1 +}); + +var require$$1 = /*@__PURE__*/getAugmentedNamespace(FabricIdentity$2); + var IdentityPicker = /*#__PURE__*/function (_Component) { _inherits(IdentityPicker, _Component); var _super = _createSuper(IdentityPicker); function IdentityPicker() { - _classCallCheck(this, IdentityPicker); + _classCallCheck$1(this, IdentityPicker); return _super.apply(this, arguments); } - _createClass(IdentityPicker, [{ + _createClass$1(IdentityPicker, [{ key: "render", value: function render() { this.props.values; @@ -24375,7 +103779,7 @@ var IdentityPicker = /*#__PURE__*/function (_Component) { return IdentityPicker; }(React.Component); -var FabricIdentityManager = /*#__PURE__*/function (_Component) { +var FabricIdentityManager$1 = /*#__PURE__*/function (_Component) { _inherits(FabricIdentityManager, _Component); var _super = _createSuper(FabricIdentityManager); @@ -24383,7 +103787,7 @@ var FabricIdentityManager = /*#__PURE__*/function (_Component) { function FabricIdentityManager(props) { var _this; - _classCallCheck(this, FabricIdentityManager); + _classCallCheck$1(this, FabricIdentityManager); _this = _super.call(this, props); @@ -24393,7 +103797,7 @@ var FabricIdentityManager = /*#__PURE__*/function (_Component) { }; }); - _this.settings = merge({ + _this.settings = merge__default["default"]({ explain: false, keys: [] }, props); // TODO: prepare Fabric @@ -24411,7 +103815,7 @@ var FabricIdentityManager = /*#__PURE__*/function (_Component) { return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); } - _createClass(FabricIdentityManager, [{ + _createClass$1(FabricIdentityManager, [{ key: "setStep", value: function setStep() { var step = this.state.step; @@ -24540,10 +103944,24 @@ var FabricIdentityManager = /*#__PURE__*/function (_Component) { return FabricIdentityManager; }(React.Component); -var module$1 = { - FabricBridge: FabricBridge, - FabricIdentity: FabricIdentity, - FabricIdentityManager: FabricIdentityManager -}; +var FabricIdentityManager$2 = /*#__PURE__*/Object.freeze({ + __proto__: null, + 'default': FabricIdentityManager$1 +}); + +var require$$2 = /*@__PURE__*/getAugmentedNamespace(FabricIdentityManager$2); + +var FabricBridge = require$$0$1; + +var FabricIdentity = require$$1; + +var FabricIdentityManager = require$$2; + +var FabricBridge_1 = components.FabricBridge = FabricBridge; +var FabricIdentity_1 = components.FabricIdentity = FabricIdentity; +var FabricIdentityManager_1 = components.FabricIdentityManager = FabricIdentityManager; -module.exports = module$1; +exports.FabricBridge = FabricBridge_1; +exports.FabricIdentity = FabricIdentity_1; +exports.FabricIdentityManager = FabricIdentityManager_1; +exports["default"] = components; diff --git a/package.json b/package.json index 7c676cc..5307c7a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "Fabric integration for React", "main": "index.js", - "module": "module.js", + "module": "assets/fabric.react.js", "type": "module", "scripts": { "build": "rollup -c", diff --git a/rollup.config.js b/rollup.config.js index 12365bd..92890d1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -6,14 +6,13 @@ import commonjs from '@rollup/plugin-commonjs'; // import minify from 'rollup-plugin-minify' import resolve from '@rollup/plugin-node-resolve'; import babel from '@rollup/plugin-babel'; -import pkg from './package.json'; export default [{ input: 'components/index.js', output: [ { name: 'FabricReact', - file: pkg.main, + file: "assets/fabric.react.js", format: 'cjs', globals: { 'buffer': 'buffer', From 59402f1358fdbcd8f16956080eb8e54bfd9c4c7c Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 20:55:56 -0400 Subject: [PATCH 09/16] style: update main in package.json --- index.js | 103967 ------------------------------------------------ package.json | 3 +- 2 files changed, 1 insertion(+), 103969 deletions(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index 292b293..0000000 --- a/index.js +++ /dev/null @@ -1,103967 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, '__esModule', { value: true }); - -var React = require('react'); -var merge = require('lodash.merge'); -var semanticUiReact = require('semantic-ui-react'); -var require$$0$2 = require('crypto'); -var http$2 = require('http'); -var require$$2$1 = require('https'); -var require$$3 = require('querystring'); -var Stream = require('stream'); -var Url = require('url'); -var require$$0$3 = require('punycode'); -var zlib$1 = require('zlib'); -var require$$0$4 = require('events'); -var require$$4$1 = require('net'); -var require$$5$1 = require('tls'); -var fs = require('fs'); -var require$$0$5 = require('buffer'); -var require$$8 = require('bip39'); -var TrezorConnect = require('trezor-connect'); - -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } - -function _interopNamespace(e) { - if (e && e.__esModule) return e; - var n = Object.create(null); - if (e) { - Object.keys(e).forEach(function (k) { - if (k !== 'default') { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - } - n["default"] = e; - return Object.freeze(n); -} - -function _mergeNamespaces(n, m) { - m.forEach(function (e) { - e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) { - if (k !== 'default' && !(k in n)) { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - }); - return Object.freeze(n); -} - -var React__default = /*#__PURE__*/_interopDefaultLegacy(React); -var merge__default = /*#__PURE__*/_interopDefaultLegacy(merge); -var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0$2); -var http__default = /*#__PURE__*/_interopDefaultLegacy(http$2); -var require$$2__default = /*#__PURE__*/_interopDefaultLegacy(require$$2$1); -var require$$3__default = /*#__PURE__*/_interopDefaultLegacy(require$$3); -var Stream__default = /*#__PURE__*/_interopDefaultLegacy(Stream); -var Url__default = /*#__PURE__*/_interopDefaultLegacy(Url); -var require$$0__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$0$3); -var zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib$1); -var require$$0__default$2 = /*#__PURE__*/_interopDefaultLegacy(require$$0$4); -var require$$4__default = /*#__PURE__*/_interopDefaultLegacy(require$$4$1); -var require$$5__default = /*#__PURE__*/_interopDefaultLegacy(require$$5$1); -var require$$0__default$3 = /*#__PURE__*/_interopDefaultLegacy(require$$0$5); -var require$$8__default = /*#__PURE__*/_interopDefaultLegacy(require$$8); -var require$$8__namespace = /*#__PURE__*/_interopNamespace(require$$8); -var TrezorConnect__default = /*#__PURE__*/_interopDefaultLegacy(TrezorConnect); - -var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; - -function getAugmentedNamespace(n) { - var f = n.default; - if (typeof f == "function") { - var a = function () { - return f.apply(this, arguments); - }; - a.prototype = f.prototype; - } else a = {}; - Object.defineProperty(a, '__esModule', {value: true}); - Object.keys(n).forEach(function (k) { - var d = Object.getOwnPropertyDescriptor(n, k); - Object.defineProperty(a, k, d.get ? d : { - enumerable: true, - get: function () { - return n[k]; - } - }); - }); - return a; -} - -var components = {}; - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - enumerableOnly && (symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - })), keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = null != arguments[i] ? arguments[i] : {}; - i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { - _defineProperty(target, key, source[key]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - - return target; -} - -function _regeneratorRuntime() { - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - - _regeneratorRuntime = function () { - return exports; - }; - - var exports = {}, - Op = Object.prototype, - hasOwn = Op.hasOwnProperty, - $Symbol = "function" == typeof Symbol ? Symbol : {}, - iteratorSymbol = $Symbol.iterator || "@@iterator", - asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", - toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - function define(obj, key, value) { - return Object.defineProperty(obj, key, { - value: value, - enumerable: !0, - configurable: !0, - writable: !0 - }), obj[key]; - } - - try { - define({}, ""); - } catch (err) { - define = function (obj, key, value) { - return obj[key] = value; - }; - } - - function wrap(innerFn, outerFn, self, tryLocsList) { - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, - generator = Object.create(protoGenerator.prototype), - context = new Context(tryLocsList || []); - return generator._invoke = function (innerFn, self, context) { - var state = "suspendedStart"; - return function (method, arg) { - if ("executing" === state) throw new Error("Generator is already running"); - - if ("completed" === state) { - if ("throw" === method) throw arg; - return doneResult(); - } - - for (context.method = method, context.arg = arg;;) { - var delegate = context.delegate; - - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - - if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { - if ("suspendedStart" === state) throw state = "completed", context.arg; - context.dispatchException(context.arg); - } else "return" === context.method && context.abrupt("return", context.arg); - state = "executing"; - var record = tryCatch(innerFn, self, context); - - if ("normal" === record.type) { - if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; - return { - value: record.arg, - done: context.done - }; - } - - "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); - } - }; - }(innerFn, self, context), generator; - } - - function tryCatch(fn, obj, arg) { - try { - return { - type: "normal", - arg: fn.call(obj, arg) - }; - } catch (err) { - return { - type: "throw", - arg: err - }; - } - } - - exports.wrap = wrap; - var ContinueSentinel = {}; - - function Generator() {} - - function GeneratorFunction() {} - - function GeneratorFunctionPrototype() {} - - var IteratorPrototype = {}; - define(IteratorPrototype, iteratorSymbol, function () { - return this; - }); - var getProto = Object.getPrototypeOf, - NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); - var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); - - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function (method) { - define(prototype, method, function (arg) { - return this._invoke(method, arg); - }); - }); - } - - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - - if ("throw" !== record.type) { - var result = record.arg, - value = result.value; - return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { - invoke("next", value, resolve, reject); - }, function (err) { - invoke("throw", err, resolve, reject); - }) : PromiseImpl.resolve(value).then(function (unwrapped) { - result.value = unwrapped, resolve(result); - }, function (error) { - return invoke("throw", error, resolve, reject); - }); - } - - reject(record.arg); - } - - var previousPromise; - - this._invoke = function (method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function (resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - - return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - }; - } - - function maybeInvokeDelegate(delegate, context) { - var method = delegate.iterator[context.method]; - - if (undefined === method) { - if (context.delegate = null, "throw" === context.method) { - if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; - context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); - } - - return ContinueSentinel; - } - - var record = tryCatch(method, delegate.iterator, context.arg); - if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; - var info = record.arg; - return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); - } - - function pushTryEntry(locs) { - var entry = { - tryLoc: locs[0] - }; - 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); - } - - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal", delete record.arg, entry.completion = record; - } - - function Context(tryLocsList) { - this.tryEntries = [{ - tryLoc: "root" - }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); - } - - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) return iteratorMethod.call(iterable); - if ("function" == typeof iterable.next) return iterable; - - if (!isNaN(iterable.length)) { - var i = -1, - next = function next() { - for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; - - return next.value = undefined, next.done = !0, next; - }; - - return next.next = next; - } - } - - return { - next: doneResult - }; - } - - function doneResult() { - return { - value: undefined, - done: !0 - }; - } - - return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { - var ctor = "function" == typeof genFun && genFun.constructor; - return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); - }, exports.mark = function (genFun) { - return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; - }, exports.awrap = function (arg) { - return { - __await: arg - }; - }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { - return this; - }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { - void 0 === PromiseImpl && (PromiseImpl = Promise); - var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); - return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { - return result.done ? result.value : iter.next(); - }); - }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { - return this; - }), define(Gp, "toString", function () { - return "[object Generator]"; - }), exports.keys = function (object) { - var keys = []; - - for (var key in object) keys.push(key); - - return keys.reverse(), function next() { - for (; keys.length;) { - var key = keys.pop(); - if (key in object) return next.value = key, next.done = !1, next; - } - - return next.done = !0, next; - }; - }, exports.values = values, Context.prototype = { - constructor: Context, - reset: function (skipTempReset) { - if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); - }, - stop: function () { - this.done = !0; - var rootRecord = this.tryEntries[0].completion; - if ("throw" === rootRecord.type) throw rootRecord.arg; - return this.rval; - }, - dispatchException: function (exception) { - if (this.done) throw exception; - var context = this; - - function handle(loc, caught) { - return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; - } - - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i], - record = entry.completion; - if ("root" === entry.tryLoc) return handle("end"); - - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"), - hasFinally = hasOwn.call(entry, "finallyLoc"); - - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } else if (hasCatch) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - } else { - if (!hasFinally) throw new Error("try statement without catch or finally"); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } - } - } - }, - abrupt: function (type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - - finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); - var record = finallyEntry ? finallyEntry.completion : {}; - return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); - }, - complete: function (record, afterLoc) { - if ("throw" === record.type) throw record.arg; - return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; - }, - finish: function (finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; - } - }, - catch: function (tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - - if ("throw" === record.type) { - var thrown = record.arg; - resetTryEntry(entry); - } - - return thrown; - } - } - - throw new Error("illegal catch attempt"); - }, - delegateYield: function (iterable, resultName, nextLoc) { - return this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }, "next" === this.method && (this.arg = undefined), ContinueSentinel; - } - }, exports; -} - -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} - -function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - - _next(undefined); - }); - }; -} - -function _classCallCheck$1(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -function _defineProperties$1(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass$1(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); - if (staticProps) _defineProperties$1(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, "prototype", { - writable: false - }); - if (superClass) _setPrototypeOf(subClass, superClass); -} - -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - return _setPrototypeOf(o, p); -} - -function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } -} - -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return self; -} - -function _possibleConstructorReturn(self, call) { - if (call && (typeof call === "object" || typeof call === "function")) { - return call; - } else if (call !== void 0) { - throw new TypeError("Derived constructors may only return object or undefined"); - } - - return _assertThisInitialized(self); -} - -function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - - return _possibleConstructorReturn(this, result); - }; -} - -/* - Fabric Core Constants. - --- - Author: Fabric Labs - Copyright: All Rights Reserved. - */ - -// Dependencies -const crypto$a = require$$0__default["default"]; - -// Networking and Environment -const PEER_PORT = 9999; -const MAX_PEERS = 32; -const PRECISION = 100; - -// Fabric Core -const BITCOIN_GENESIS = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f'; -const BITCOIN_GENESIS_ROOT = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b'; -const FABRIC_KEY_DERIVATION_PATH$1 = "m/44'/0'/0'/0/0"; - -// Message Constants -const MAGIC_BYTES$1 = 0xC0D3F33D; -const VERSION_NUMBER$1 = 0x00; // 0 for development, pre-alpha, 1 for production -const HEADER_SIZE$1 = 144; // [4], [4], [32], [4], [4], [32], [64] bytes -const LARGE_COLLECTION_SIZE = 10; // TODO: test with 1,000,000 -const MAX_MESSAGE_SIZE$1 = 4096 - HEADER_SIZE$1; - -// Stacks and Frames -const MAX_STACK_HEIGHT = 32; // max height of stack (number of elements) -const MAX_FRAME_SIZE = 32; // max size of a stack frame in bytes -const MAX_MEMORY_ALLOC = MAX_STACK_HEIGHT * MAX_FRAME_SIZE; -const MAX_TX_PER_BLOCK = 100; -const MAX_CHANNEL_VALUE = 100000000; - -// Machine Constraints -const MACHINE_MAX_MEMORY = MAX_MEMORY_ALLOC * MAX_MESSAGE_SIZE$1; -const MAX_CHAT_MESSAGE_LENGTH = 2048; - -// FABRIC ONLY -const GENERIC_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericMessage').digest('hex').slice(0, 4), 16); -const LOG_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericLogMessage').digest('hex').slice(0, 4), 16); -const GENERIC_LIST_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericList').digest('hex').slice(0, 4), 16); -const DOCUMENT_PUBLISH_TYPE$1 = 998; -const DOCUMENT_REQUEST_TYPE$1 = 999; - -// Opcodes -const OP_CYCLE$1 = '00'; -const OP_DONE = 'ff'; - -// Bitcoin -const OP_0 = '00'; -const OP_36 = '24'; -const OP_CHECKSIG = 'ac'; -const OP_DUP = '76'; -const OP_EQUAL = '87'; -const OP_SHA256 = 'a8'; -const OP_HASH160 = 'a9'; -const OP_PUSHDATA1 = '4c'; -const OP_RETURN = '6a'; -const OP_EQUALVERIFY = '88'; -const OP_SEPARATOR = 'ab'; - -const P2P_GENERIC$1 = 0x80; // 128 in decimal -const P2P_IDENT_REQUEST$1 = 0x01; // 1, or the identity -const P2P_IDENT_RESPONSE$1 = 0x11; -const P2P_ROOT$1 = 0x00000000; -const P2P_PING$1 = 0x00000012; // same ID as Lightning (18) -const P2P_PONG$1 = 0x00000013; // same ID as Lightning (19) -const P2P_INSTRUCTION$1 = 0x00000020; // TODO: select w/ no overlap -const P2P_START_CHAIN$1 = 0x00000021; -const P2P_STATE_REQUEST$1 = 0x00000029; // TODO: select w/ no overlap -const P2P_STATE_ROOT$1 = 0x00000030; // TODO: select w/ no overlap -const P2P_BASE_MESSAGE$1 = 0x00000031; // TODO: select w/ no overlap -const P2P_STATE_COMMITTMENT$1 = 0x00000032; // TODO: select w/ no overlap -const P2P_STATE_CHANGE$1 = 0x00000033; // TODO: select w/ no overlap -const P2P_TRANSACTION$1 = 0x00000039; // TODO: select w/ no overlap -const P2P_CALL$2 = 0x00000042; -const P2P_CHAIN_SYNC_REQUEST$1 = 0x55; -const P2P_SESSION_ACK = 0x4200; -const P2P_MUSIG_START = 0x4220; -const P2P_MUSIG_ACCEPT = 0x4221; -const P2P_MUSIG_RECEIVE_COUNTER = 0x4222; -const P2P_MUSIG_SEND_PROPOSAL = 0x4223; -const P2P_MUSIG_REPLY_TO_PROPOSAL = 0x4224; -const P2P_MUSIG_ACCEPT_PROPOSAL = 0x4225; - -const PEER_CANDIDATE$1 = 0x09; -// TODO: should be 0x02 for Bitcoin P2P -const BLOCK_CANDIDATE$1 = 0x03; - -const SESSION_START$1 = 0x02; -const CHAT_MESSAGE$1 = 0x67; - -// Lightning -const LIGHTNING_TEST_HEADER = 'D0520C6E'; -const LIGHTNING_PROTOCOL_H_INIT = 'Noise_XK_secp256k1_ChaChaPoly_SHA256'; -const LIGHTNING_PROTOCOL_PROLOGUE = 'lightning'; - -// Lightning BMM -const LIGHTNING_BMM_HEADER = 'D0520C6E'; -const LIGHTNING_SIDECHAIN_NUM = 0xFF; // 1-byte - sidechain number - -const LIGHTNING_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; // 32-bytes -const LIGHTNING_PARENT_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; // 32-bytes - -const ZERO_LENGTH_PLAINTEXT = ''; - -var constants$1 = { - PEER_PORT, - MAX_PEERS, - PRECISION, - BITCOIN_GENESIS, - BITCOIN_GENESIS_ROOT, - FABRIC_KEY_DERIVATION_PATH: FABRIC_KEY_DERIVATION_PATH$1, - HEADER_SIZE: HEADER_SIZE$1, - GENERIC_MESSAGE_TYPE: GENERIC_MESSAGE_TYPE$1, - LOG_MESSAGE_TYPE: LOG_MESSAGE_TYPE$1, - GENERIC_LIST_TYPE: GENERIC_LIST_TYPE$1, - LARGE_COLLECTION_SIZE, - BLOCK_CANDIDATE: BLOCK_CANDIDATE$1, - CHAT_MESSAGE: CHAT_MESSAGE$1, - ZERO_LENGTH_PLAINTEXT, - LIGHTNING_TEST_HEADER, - LIGHTNING_PROTOCOL_H_INIT, - LIGHTNING_PROTOCOL_PROLOGUE, - LIGHTNING_BMM_HEADER, - LIGHTNING_SIDECHAIN_NUM, - LIGHTNING_SIDEBLOCK_HASH, - LIGHTNING_PARENT_SIDEBLOCK_HASH, - MAGIC_BYTES: MAGIC_BYTES$1, - MAX_FRAME_SIZE, - MAX_MEMORY_ALLOC, - MAX_MESSAGE_SIZE: MAX_MESSAGE_SIZE$1, - MAX_STACK_HEIGHT, - MAX_CHANNEL_VALUE, - MAX_CHAT_MESSAGE_LENGTH, - MAX_TX_PER_BLOCK, - MACHINE_MAX_MEMORY, - OP_CYCLE: OP_CYCLE$1, - OP_DONE, - OP_0, - OP_36, - OP_CHECKSIG, - OP_DUP, - OP_EQUAL, - OP_SHA256, - OP_HASH160, - OP_PUSHDATA1, - OP_RETURN, - OP_EQUALVERIFY, - OP_SEPARATOR, - P2P_GENERIC: P2P_GENERIC$1, - P2P_IDENT_REQUEST: P2P_IDENT_REQUEST$1, - P2P_IDENT_RESPONSE: P2P_IDENT_RESPONSE$1, - P2P_CHAIN_SYNC_REQUEST: P2P_CHAIN_SYNC_REQUEST$1, - P2P_ROOT: P2P_ROOT$1, - P2P_PING: P2P_PING$1, - P2P_PONG: P2P_PONG$1, - P2P_START_CHAIN: P2P_START_CHAIN$1, - P2P_INSTRUCTION: P2P_INSTRUCTION$1, - P2P_BASE_MESSAGE: P2P_BASE_MESSAGE$1, - P2P_STATE_ROOT: P2P_STATE_ROOT$1, - P2P_STATE_COMMITTMENT: P2P_STATE_COMMITTMENT$1, - P2P_STATE_CHANGE: P2P_STATE_CHANGE$1, - P2P_STATE_REQUEST: P2P_STATE_REQUEST$1, - P2P_TRANSACTION: P2P_TRANSACTION$1, - P2P_CALL: P2P_CALL$2, - P2P_SESSION_ACK, - P2P_MUSIG_START, - P2P_MUSIG_ACCEPT, - P2P_MUSIG_RECEIVE_COUNTER, - P2P_MUSIG_SEND_PROPOSAL, - P2P_MUSIG_REPLY_TO_PROPOSAL, - P2P_MUSIG_ACCEPT_PROPOSAL, - PEER_CANDIDATE: PEER_CANDIDATE$1, - DOCUMENT_PUBLISH_TYPE: DOCUMENT_PUBLISH_TYPE$1, - DOCUMENT_REQUEST_TYPE: DOCUMENT_REQUEST_TYPE$1, - SESSION_START: SESSION_START$1, - VERSION_NUMBER: VERSION_NUMBER$1 -}; - -var publicApi = {}; - -var URL$2 = {exports: {}}; - -var conversions = {}; -var lib$3 = conversions; - -function sign$1(x) { - return x < 0 ? -1 : 1; -} - -function evenRound(x) { - // Round x to the nearest integer, choosing the even integer if it lies halfway between two. - if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor) - return Math.floor(x); - } else { - return Math.round(x); - } -} - -function createNumberConversion(bitLength, typeOpts) { - if (!typeOpts.unsigned) { - --bitLength; - } - const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); - const upperBound = Math.pow(2, bitLength) - 1; - - const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); - const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); - - return function(V, opts) { - if (!opts) opts = {}; - - let x = +V; - - if (opts.enforceRange) { - if (!Number.isFinite(x)) { - throw new TypeError("Argument is not a finite number"); - } - - x = sign$1(x) * Math.floor(Math.abs(x)); - if (x < lowerBound || x > upperBound) { - throw new TypeError("Argument is not in byte range"); - } - - return x; - } - - if (!isNaN(x) && opts.clamp) { - x = evenRound(x); - - if (x < lowerBound) x = lowerBound; - if (x > upperBound) x = upperBound; - return x; - } - - if (!Number.isFinite(x) || x === 0) { - return 0; - } - - x = sign$1(x) * Math.floor(Math.abs(x)); - x = x % moduloVal; - - if (!typeOpts.unsigned && x >= moduloBound) { - return x - moduloVal; - } else if (typeOpts.unsigned) { - if (x < 0) { - x += moduloVal; - } else if (x === -0) { // don't return negative zero - return 0; - } - } - - return x; - } -} - -conversions["void"] = function () { - return undefined; -}; - -conversions["boolean"] = function (val) { - return !!val; -}; - -conversions["byte"] = createNumberConversion(8, { unsigned: false }); -conversions["octet"] = createNumberConversion(8, { unsigned: true }); - -conversions["short"] = createNumberConversion(16, { unsigned: false }); -conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); - -conversions["long"] = createNumberConversion(32, { unsigned: false }); -conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); - -conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); -conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); - -conversions["double"] = function (V) { - const x = +V; - - if (!Number.isFinite(x)) { - throw new TypeError("Argument is not a finite floating-point value"); - } - - return x; -}; - -conversions["unrestricted double"] = function (V) { - const x = +V; - - if (isNaN(x)) { - throw new TypeError("Argument is NaN"); - } - - return x; -}; - -// not quite valid, but good enough for JS -conversions["float"] = conversions["double"]; -conversions["unrestricted float"] = conversions["unrestricted double"]; - -conversions["DOMString"] = function (V, opts) { - if (!opts) opts = {}; - - if (opts.treatNullAsEmptyString && V === null) { - return ""; - } - - return String(V); -}; - -conversions["ByteString"] = function (V, opts) { - const x = String(V); - let c = undefined; - for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) { - if (c > 255) { - throw new TypeError("Argument is not a valid bytestring"); - } - } - - return x; -}; - -conversions["USVString"] = function (V) { - const S = String(V); - const n = S.length; - const U = []; - for (let i = 0; i < n; ++i) { - const c = S.charCodeAt(i); - if (c < 0xD800 || c > 0xDFFF) { - U.push(String.fromCodePoint(c)); - } else if (0xDC00 <= c && c <= 0xDFFF) { - U.push(String.fromCodePoint(0xFFFD)); - } else { - if (i === n - 1) { - U.push(String.fromCodePoint(0xFFFD)); - } else { - const d = S.charCodeAt(i + 1); - if (0xDC00 <= d && d <= 0xDFFF) { - const a = c & 0x3FF; - const b = d & 0x3FF; - U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b)); - ++i; - } else { - U.push(String.fromCodePoint(0xFFFD)); - } - } - } - } - - return U.join(''); -}; - -conversions["Date"] = function (V, opts) { - if (!(V instanceof Date)) { - throw new TypeError("Argument is not a Date object"); - } - if (isNaN(V)) { - return undefined; - } - - return V; -}; - -conversions["RegExp"] = function (V, opts) { - if (!(V instanceof RegExp)) { - V = new RegExp(V); - } - - return V; -}; - -var utils$n = {exports: {}}; - -(function (module) { - - module.exports.mixin = function mixin(target, source) { - const keys = Object.getOwnPropertyNames(source); - for (let i = 0; i < keys.length; ++i) { - Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); - } - }; - - module.exports.wrapperSymbol = Symbol("wrapper"); - module.exports.implSymbol = Symbol("impl"); - - module.exports.wrapperForImpl = function (impl) { - return impl[module.exports.wrapperSymbol]; - }; - - module.exports.implForWrapper = function (wrapper) { - return wrapper[module.exports.implSymbol]; - }; -} (utils$n)); - -var URLImpl = {}; - -var urlStateMachine = {exports: {}}; - -var tr46 = {}; - -var require$$1$1 = [ - [ - [ - 0, - 44 - ], - "disallowed_STD3_valid" - ], - [ - [ - 45, - 46 - ], - "valid" - ], - [ - [ - 47, - 47 - ], - "disallowed_STD3_valid" - ], - [ - [ - 48, - 57 - ], - "valid" - ], - [ - [ - 58, - 64 - ], - "disallowed_STD3_valid" - ], - [ - [ - 65, - 65 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 66, - 66 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 67, - 67 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 68, - 68 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 69, - 69 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 70, - 70 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 71, - 71 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 72, - 72 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 73, - 73 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 74, - 74 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 75, - 75 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 76, - 76 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 77, - 77 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 78, - 78 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 79, - 79 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 80, - 80 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 81, - 81 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 82, - 82 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 83, - 83 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 84, - 84 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 85, - 85 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 86, - 86 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 87, - 87 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 88, - 88 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 89, - 89 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 90, - 90 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 91, - 96 - ], - "disallowed_STD3_valid" - ], - [ - [ - 97, - 122 - ], - "valid" - ], - [ - [ - 123, - 127 - ], - "disallowed_STD3_valid" - ], - [ - [ - 128, - 159 - ], - "disallowed" - ], - [ - [ - 160, - 160 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 161, - 167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 168, - 168 - ], - "disallowed_STD3_mapped", - [ - 32, - 776 - ] - ], - [ - [ - 169, - 169 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 170, - 170 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 171, - 172 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 173, - 173 - ], - "ignored" - ], - [ - [ - 174, - 174 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 175, - 175 - ], - "disallowed_STD3_mapped", - [ - 32, - 772 - ] - ], - [ - [ - 176, - 177 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 178, - 178 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 179, - 179 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 180, - 180 - ], - "disallowed_STD3_mapped", - [ - 32, - 769 - ] - ], - [ - [ - 181, - 181 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 182, - 182 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 183, - 183 - ], - "valid" - ], - [ - [ - 184, - 184 - ], - "disallowed_STD3_mapped", - [ - 32, - 807 - ] - ], - [ - [ - 185, - 185 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 186, - 186 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 187, - 187 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 188, - 188 - ], - "mapped", - [ - 49, - 8260, - 52 - ] - ], - [ - [ - 189, - 189 - ], - "mapped", - [ - 49, - 8260, - 50 - ] - ], - [ - [ - 190, - 190 - ], - "mapped", - [ - 51, - 8260, - 52 - ] - ], - [ - [ - 191, - 191 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 192, - 192 - ], - "mapped", - [ - 224 - ] - ], - [ - [ - 193, - 193 - ], - "mapped", - [ - 225 - ] - ], - [ - [ - 194, - 194 - ], - "mapped", - [ - 226 - ] - ], - [ - [ - 195, - 195 - ], - "mapped", - [ - 227 - ] - ], - [ - [ - 196, - 196 - ], - "mapped", - [ - 228 - ] - ], - [ - [ - 197, - 197 - ], - "mapped", - [ - 229 - ] - ], - [ - [ - 198, - 198 - ], - "mapped", - [ - 230 - ] - ], - [ - [ - 199, - 199 - ], - "mapped", - [ - 231 - ] - ], - [ - [ - 200, - 200 - ], - "mapped", - [ - 232 - ] - ], - [ - [ - 201, - 201 - ], - "mapped", - [ - 233 - ] - ], - [ - [ - 202, - 202 - ], - "mapped", - [ - 234 - ] - ], - [ - [ - 203, - 203 - ], - "mapped", - [ - 235 - ] - ], - [ - [ - 204, - 204 - ], - "mapped", - [ - 236 - ] - ], - [ - [ - 205, - 205 - ], - "mapped", - [ - 237 - ] - ], - [ - [ - 206, - 206 - ], - "mapped", - [ - 238 - ] - ], - [ - [ - 207, - 207 - ], - "mapped", - [ - 239 - ] - ], - [ - [ - 208, - 208 - ], - "mapped", - [ - 240 - ] - ], - [ - [ - 209, - 209 - ], - "mapped", - [ - 241 - ] - ], - [ - [ - 210, - 210 - ], - "mapped", - [ - 242 - ] - ], - [ - [ - 211, - 211 - ], - "mapped", - [ - 243 - ] - ], - [ - [ - 212, - 212 - ], - "mapped", - [ - 244 - ] - ], - [ - [ - 213, - 213 - ], - "mapped", - [ - 245 - ] - ], - [ - [ - 214, - 214 - ], - "mapped", - [ - 246 - ] - ], - [ - [ - 215, - 215 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 216, - 216 - ], - "mapped", - [ - 248 - ] - ], - [ - [ - 217, - 217 - ], - "mapped", - [ - 249 - ] - ], - [ - [ - 218, - 218 - ], - "mapped", - [ - 250 - ] - ], - [ - [ - 219, - 219 - ], - "mapped", - [ - 251 - ] - ], - [ - [ - 220, - 220 - ], - "mapped", - [ - 252 - ] - ], - [ - [ - 221, - 221 - ], - "mapped", - [ - 253 - ] - ], - [ - [ - 222, - 222 - ], - "mapped", - [ - 254 - ] - ], - [ - [ - 223, - 223 - ], - "deviation", - [ - 115, - 115 - ] - ], - [ - [ - 224, - 246 - ], - "valid" - ], - [ - [ - 247, - 247 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 248, - 255 - ], - "valid" - ], - [ - [ - 256, - 256 - ], - "mapped", - [ - 257 - ] - ], - [ - [ - 257, - 257 - ], - "valid" - ], - [ - [ - 258, - 258 - ], - "mapped", - [ - 259 - ] - ], - [ - [ - 259, - 259 - ], - "valid" - ], - [ - [ - 260, - 260 - ], - "mapped", - [ - 261 - ] - ], - [ - [ - 261, - 261 - ], - "valid" - ], - [ - [ - 262, - 262 - ], - "mapped", - [ - 263 - ] - ], - [ - [ - 263, - 263 - ], - "valid" - ], - [ - [ - 264, - 264 - ], - "mapped", - [ - 265 - ] - ], - [ - [ - 265, - 265 - ], - "valid" - ], - [ - [ - 266, - 266 - ], - "mapped", - [ - 267 - ] - ], - [ - [ - 267, - 267 - ], - "valid" - ], - [ - [ - 268, - 268 - ], - "mapped", - [ - 269 - ] - ], - [ - [ - 269, - 269 - ], - "valid" - ], - [ - [ - 270, - 270 - ], - "mapped", - [ - 271 - ] - ], - [ - [ - 271, - 271 - ], - "valid" - ], - [ - [ - 272, - 272 - ], - "mapped", - [ - 273 - ] - ], - [ - [ - 273, - 273 - ], - "valid" - ], - [ - [ - 274, - 274 - ], - "mapped", - [ - 275 - ] - ], - [ - [ - 275, - 275 - ], - "valid" - ], - [ - [ - 276, - 276 - ], - "mapped", - [ - 277 - ] - ], - [ - [ - 277, - 277 - ], - "valid" - ], - [ - [ - 278, - 278 - ], - "mapped", - [ - 279 - ] - ], - [ - [ - 279, - 279 - ], - "valid" - ], - [ - [ - 280, - 280 - ], - "mapped", - [ - 281 - ] - ], - [ - [ - 281, - 281 - ], - "valid" - ], - [ - [ - 282, - 282 - ], - "mapped", - [ - 283 - ] - ], - [ - [ - 283, - 283 - ], - "valid" - ], - [ - [ - 284, - 284 - ], - "mapped", - [ - 285 - ] - ], - [ - [ - 285, - 285 - ], - "valid" - ], - [ - [ - 286, - 286 - ], - "mapped", - [ - 287 - ] - ], - [ - [ - 287, - 287 - ], - "valid" - ], - [ - [ - 288, - 288 - ], - "mapped", - [ - 289 - ] - ], - [ - [ - 289, - 289 - ], - "valid" - ], - [ - [ - 290, - 290 - ], - "mapped", - [ - 291 - ] - ], - [ - [ - 291, - 291 - ], - "valid" - ], - [ - [ - 292, - 292 - ], - "mapped", - [ - 293 - ] - ], - [ - [ - 293, - 293 - ], - "valid" - ], - [ - [ - 294, - 294 - ], - "mapped", - [ - 295 - ] - ], - [ - [ - 295, - 295 - ], - "valid" - ], - [ - [ - 296, - 296 - ], - "mapped", - [ - 297 - ] - ], - [ - [ - 297, - 297 - ], - "valid" - ], - [ - [ - 298, - 298 - ], - "mapped", - [ - 299 - ] - ], - [ - [ - 299, - 299 - ], - "valid" - ], - [ - [ - 300, - 300 - ], - "mapped", - [ - 301 - ] - ], - [ - [ - 301, - 301 - ], - "valid" - ], - [ - [ - 302, - 302 - ], - "mapped", - [ - 303 - ] - ], - [ - [ - 303, - 303 - ], - "valid" - ], - [ - [ - 304, - 304 - ], - "mapped", - [ - 105, - 775 - ] - ], - [ - [ - 305, - 305 - ], - "valid" - ], - [ - [ - 306, - 307 - ], - "mapped", - [ - 105, - 106 - ] - ], - [ - [ - 308, - 308 - ], - "mapped", - [ - 309 - ] - ], - [ - [ - 309, - 309 - ], - "valid" - ], - [ - [ - 310, - 310 - ], - "mapped", - [ - 311 - ] - ], - [ - [ - 311, - 312 - ], - "valid" - ], - [ - [ - 313, - 313 - ], - "mapped", - [ - 314 - ] - ], - [ - [ - 314, - 314 - ], - "valid" - ], - [ - [ - 315, - 315 - ], - "mapped", - [ - 316 - ] - ], - [ - [ - 316, - 316 - ], - "valid" - ], - [ - [ - 317, - 317 - ], - "mapped", - [ - 318 - ] - ], - [ - [ - 318, - 318 - ], - "valid" - ], - [ - [ - 319, - 320 - ], - "mapped", - [ - 108, - 183 - ] - ], - [ - [ - 321, - 321 - ], - "mapped", - [ - 322 - ] - ], - [ - [ - 322, - 322 - ], - "valid" - ], - [ - [ - 323, - 323 - ], - "mapped", - [ - 324 - ] - ], - [ - [ - 324, - 324 - ], - "valid" - ], - [ - [ - 325, - 325 - ], - "mapped", - [ - 326 - ] - ], - [ - [ - 326, - 326 - ], - "valid" - ], - [ - [ - 327, - 327 - ], - "mapped", - [ - 328 - ] - ], - [ - [ - 328, - 328 - ], - "valid" - ], - [ - [ - 329, - 329 - ], - "mapped", - [ - 700, - 110 - ] - ], - [ - [ - 330, - 330 - ], - "mapped", - [ - 331 - ] - ], - [ - [ - 331, - 331 - ], - "valid" - ], - [ - [ - 332, - 332 - ], - "mapped", - [ - 333 - ] - ], - [ - [ - 333, - 333 - ], - "valid" - ], - [ - [ - 334, - 334 - ], - "mapped", - [ - 335 - ] - ], - [ - [ - 335, - 335 - ], - "valid" - ], - [ - [ - 336, - 336 - ], - "mapped", - [ - 337 - ] - ], - [ - [ - 337, - 337 - ], - "valid" - ], - [ - [ - 338, - 338 - ], - "mapped", - [ - 339 - ] - ], - [ - [ - 339, - 339 - ], - "valid" - ], - [ - [ - 340, - 340 - ], - "mapped", - [ - 341 - ] - ], - [ - [ - 341, - 341 - ], - "valid" - ], - [ - [ - 342, - 342 - ], - "mapped", - [ - 343 - ] - ], - [ - [ - 343, - 343 - ], - "valid" - ], - [ - [ - 344, - 344 - ], - "mapped", - [ - 345 - ] - ], - [ - [ - 345, - 345 - ], - "valid" - ], - [ - [ - 346, - 346 - ], - "mapped", - [ - 347 - ] - ], - [ - [ - 347, - 347 - ], - "valid" - ], - [ - [ - 348, - 348 - ], - "mapped", - [ - 349 - ] - ], - [ - [ - 349, - 349 - ], - "valid" - ], - [ - [ - 350, - 350 - ], - "mapped", - [ - 351 - ] - ], - [ - [ - 351, - 351 - ], - "valid" - ], - [ - [ - 352, - 352 - ], - "mapped", - [ - 353 - ] - ], - [ - [ - 353, - 353 - ], - "valid" - ], - [ - [ - 354, - 354 - ], - "mapped", - [ - 355 - ] - ], - [ - [ - 355, - 355 - ], - "valid" - ], - [ - [ - 356, - 356 - ], - "mapped", - [ - 357 - ] - ], - [ - [ - 357, - 357 - ], - "valid" - ], - [ - [ - 358, - 358 - ], - "mapped", - [ - 359 - ] - ], - [ - [ - 359, - 359 - ], - "valid" - ], - [ - [ - 360, - 360 - ], - "mapped", - [ - 361 - ] - ], - [ - [ - 361, - 361 - ], - "valid" - ], - [ - [ - 362, - 362 - ], - "mapped", - [ - 363 - ] - ], - [ - [ - 363, - 363 - ], - "valid" - ], - [ - [ - 364, - 364 - ], - "mapped", - [ - 365 - ] - ], - [ - [ - 365, - 365 - ], - "valid" - ], - [ - [ - 366, - 366 - ], - "mapped", - [ - 367 - ] - ], - [ - [ - 367, - 367 - ], - "valid" - ], - [ - [ - 368, - 368 - ], - "mapped", - [ - 369 - ] - ], - [ - [ - 369, - 369 - ], - "valid" - ], - [ - [ - 370, - 370 - ], - "mapped", - [ - 371 - ] - ], - [ - [ - 371, - 371 - ], - "valid" - ], - [ - [ - 372, - 372 - ], - "mapped", - [ - 373 - ] - ], - [ - [ - 373, - 373 - ], - "valid" - ], - [ - [ - 374, - 374 - ], - "mapped", - [ - 375 - ] - ], - [ - [ - 375, - 375 - ], - "valid" - ], - [ - [ - 376, - 376 - ], - "mapped", - [ - 255 - ] - ], - [ - [ - 377, - 377 - ], - "mapped", - [ - 378 - ] - ], - [ - [ - 378, - 378 - ], - "valid" - ], - [ - [ - 379, - 379 - ], - "mapped", - [ - 380 - ] - ], - [ - [ - 380, - 380 - ], - "valid" - ], - [ - [ - 381, - 381 - ], - "mapped", - [ - 382 - ] - ], - [ - [ - 382, - 382 - ], - "valid" - ], - [ - [ - 383, - 383 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 384, - 384 - ], - "valid" - ], - [ - [ - 385, - 385 - ], - "mapped", - [ - 595 - ] - ], - [ - [ - 386, - 386 - ], - "mapped", - [ - 387 - ] - ], - [ - [ - 387, - 387 - ], - "valid" - ], - [ - [ - 388, - 388 - ], - "mapped", - [ - 389 - ] - ], - [ - [ - 389, - 389 - ], - "valid" - ], - [ - [ - 390, - 390 - ], - "mapped", - [ - 596 - ] - ], - [ - [ - 391, - 391 - ], - "mapped", - [ - 392 - ] - ], - [ - [ - 392, - 392 - ], - "valid" - ], - [ - [ - 393, - 393 - ], - "mapped", - [ - 598 - ] - ], - [ - [ - 394, - 394 - ], - "mapped", - [ - 599 - ] - ], - [ - [ - 395, - 395 - ], - "mapped", - [ - 396 - ] - ], - [ - [ - 396, - 397 - ], - "valid" - ], - [ - [ - 398, - 398 - ], - "mapped", - [ - 477 - ] - ], - [ - [ - 399, - 399 - ], - "mapped", - [ - 601 - ] - ], - [ - [ - 400, - 400 - ], - "mapped", - [ - 603 - ] - ], - [ - [ - 401, - 401 - ], - "mapped", - [ - 402 - ] - ], - [ - [ - 402, - 402 - ], - "valid" - ], - [ - [ - 403, - 403 - ], - "mapped", - [ - 608 - ] - ], - [ - [ - 404, - 404 - ], - "mapped", - [ - 611 - ] - ], - [ - [ - 405, - 405 - ], - "valid" - ], - [ - [ - 406, - 406 - ], - "mapped", - [ - 617 - ] - ], - [ - [ - 407, - 407 - ], - "mapped", - [ - 616 - ] - ], - [ - [ - 408, - 408 - ], - "mapped", - [ - 409 - ] - ], - [ - [ - 409, - 411 - ], - "valid" - ], - [ - [ - 412, - 412 - ], - "mapped", - [ - 623 - ] - ], - [ - [ - 413, - 413 - ], - "mapped", - [ - 626 - ] - ], - [ - [ - 414, - 414 - ], - "valid" - ], - [ - [ - 415, - 415 - ], - "mapped", - [ - 629 - ] - ], - [ - [ - 416, - 416 - ], - "mapped", - [ - 417 - ] - ], - [ - [ - 417, - 417 - ], - "valid" - ], - [ - [ - 418, - 418 - ], - "mapped", - [ - 419 - ] - ], - [ - [ - 419, - 419 - ], - "valid" - ], - [ - [ - 420, - 420 - ], - "mapped", - [ - 421 - ] - ], - [ - [ - 421, - 421 - ], - "valid" - ], - [ - [ - 422, - 422 - ], - "mapped", - [ - 640 - ] - ], - [ - [ - 423, - 423 - ], - "mapped", - [ - 424 - ] - ], - [ - [ - 424, - 424 - ], - "valid" - ], - [ - [ - 425, - 425 - ], - "mapped", - [ - 643 - ] - ], - [ - [ - 426, - 427 - ], - "valid" - ], - [ - [ - 428, - 428 - ], - "mapped", - [ - 429 - ] - ], - [ - [ - 429, - 429 - ], - "valid" - ], - [ - [ - 430, - 430 - ], - "mapped", - [ - 648 - ] - ], - [ - [ - 431, - 431 - ], - "mapped", - [ - 432 - ] - ], - [ - [ - 432, - 432 - ], - "valid" - ], - [ - [ - 433, - 433 - ], - "mapped", - [ - 650 - ] - ], - [ - [ - 434, - 434 - ], - "mapped", - [ - 651 - ] - ], - [ - [ - 435, - 435 - ], - "mapped", - [ - 436 - ] - ], - [ - [ - 436, - 436 - ], - "valid" - ], - [ - [ - 437, - 437 - ], - "mapped", - [ - 438 - ] - ], - [ - [ - 438, - 438 - ], - "valid" - ], - [ - [ - 439, - 439 - ], - "mapped", - [ - 658 - ] - ], - [ - [ - 440, - 440 - ], - "mapped", - [ - 441 - ] - ], - [ - [ - 441, - 443 - ], - "valid" - ], - [ - [ - 444, - 444 - ], - "mapped", - [ - 445 - ] - ], - [ - [ - 445, - 451 - ], - "valid" - ], - [ - [ - 452, - 454 - ], - "mapped", - [ - 100, - 382 - ] - ], - [ - [ - 455, - 457 - ], - "mapped", - [ - 108, - 106 - ] - ], - [ - [ - 458, - 460 - ], - "mapped", - [ - 110, - 106 - ] - ], - [ - [ - 461, - 461 - ], - "mapped", - [ - 462 - ] - ], - [ - [ - 462, - 462 - ], - "valid" - ], - [ - [ - 463, - 463 - ], - "mapped", - [ - 464 - ] - ], - [ - [ - 464, - 464 - ], - "valid" - ], - [ - [ - 465, - 465 - ], - "mapped", - [ - 466 - ] - ], - [ - [ - 466, - 466 - ], - "valid" - ], - [ - [ - 467, - 467 - ], - "mapped", - [ - 468 - ] - ], - [ - [ - 468, - 468 - ], - "valid" - ], - [ - [ - 469, - 469 - ], - "mapped", - [ - 470 - ] - ], - [ - [ - 470, - 470 - ], - "valid" - ], - [ - [ - 471, - 471 - ], - "mapped", - [ - 472 - ] - ], - [ - [ - 472, - 472 - ], - "valid" - ], - [ - [ - 473, - 473 - ], - "mapped", - [ - 474 - ] - ], - [ - [ - 474, - 474 - ], - "valid" - ], - [ - [ - 475, - 475 - ], - "mapped", - [ - 476 - ] - ], - [ - [ - 476, - 477 - ], - "valid" - ], - [ - [ - 478, - 478 - ], - "mapped", - [ - 479 - ] - ], - [ - [ - 479, - 479 - ], - "valid" - ], - [ - [ - 480, - 480 - ], - "mapped", - [ - 481 - ] - ], - [ - [ - 481, - 481 - ], - "valid" - ], - [ - [ - 482, - 482 - ], - "mapped", - [ - 483 - ] - ], - [ - [ - 483, - 483 - ], - "valid" - ], - [ - [ - 484, - 484 - ], - "mapped", - [ - 485 - ] - ], - [ - [ - 485, - 485 - ], - "valid" - ], - [ - [ - 486, - 486 - ], - "mapped", - [ - 487 - ] - ], - [ - [ - 487, - 487 - ], - "valid" - ], - [ - [ - 488, - 488 - ], - "mapped", - [ - 489 - ] - ], - [ - [ - 489, - 489 - ], - "valid" - ], - [ - [ - 490, - 490 - ], - "mapped", - [ - 491 - ] - ], - [ - [ - 491, - 491 - ], - "valid" - ], - [ - [ - 492, - 492 - ], - "mapped", - [ - 493 - ] - ], - [ - [ - 493, - 493 - ], - "valid" - ], - [ - [ - 494, - 494 - ], - "mapped", - [ - 495 - ] - ], - [ - [ - 495, - 496 - ], - "valid" - ], - [ - [ - 497, - 499 - ], - "mapped", - [ - 100, - 122 - ] - ], - [ - [ - 500, - 500 - ], - "mapped", - [ - 501 - ] - ], - [ - [ - 501, - 501 - ], - "valid" - ], - [ - [ - 502, - 502 - ], - "mapped", - [ - 405 - ] - ], - [ - [ - 503, - 503 - ], - "mapped", - [ - 447 - ] - ], - [ - [ - 504, - 504 - ], - "mapped", - [ - 505 - ] - ], - [ - [ - 505, - 505 - ], - "valid" - ], - [ - [ - 506, - 506 - ], - "mapped", - [ - 507 - ] - ], - [ - [ - 507, - 507 - ], - "valid" - ], - [ - [ - 508, - 508 - ], - "mapped", - [ - 509 - ] - ], - [ - [ - 509, - 509 - ], - "valid" - ], - [ - [ - 510, - 510 - ], - "mapped", - [ - 511 - ] - ], - [ - [ - 511, - 511 - ], - "valid" - ], - [ - [ - 512, - 512 - ], - "mapped", - [ - 513 - ] - ], - [ - [ - 513, - 513 - ], - "valid" - ], - [ - [ - 514, - 514 - ], - "mapped", - [ - 515 - ] - ], - [ - [ - 515, - 515 - ], - "valid" - ], - [ - [ - 516, - 516 - ], - "mapped", - [ - 517 - ] - ], - [ - [ - 517, - 517 - ], - "valid" - ], - [ - [ - 518, - 518 - ], - "mapped", - [ - 519 - ] - ], - [ - [ - 519, - 519 - ], - "valid" - ], - [ - [ - 520, - 520 - ], - "mapped", - [ - 521 - ] - ], - [ - [ - 521, - 521 - ], - "valid" - ], - [ - [ - 522, - 522 - ], - "mapped", - [ - 523 - ] - ], - [ - [ - 523, - 523 - ], - "valid" - ], - [ - [ - 524, - 524 - ], - "mapped", - [ - 525 - ] - ], - [ - [ - 525, - 525 - ], - "valid" - ], - [ - [ - 526, - 526 - ], - "mapped", - [ - 527 - ] - ], - [ - [ - 527, - 527 - ], - "valid" - ], - [ - [ - 528, - 528 - ], - "mapped", - [ - 529 - ] - ], - [ - [ - 529, - 529 - ], - "valid" - ], - [ - [ - 530, - 530 - ], - "mapped", - [ - 531 - ] - ], - [ - [ - 531, - 531 - ], - "valid" - ], - [ - [ - 532, - 532 - ], - "mapped", - [ - 533 - ] - ], - [ - [ - 533, - 533 - ], - "valid" - ], - [ - [ - 534, - 534 - ], - "mapped", - [ - 535 - ] - ], - [ - [ - 535, - 535 - ], - "valid" - ], - [ - [ - 536, - 536 - ], - "mapped", - [ - 537 - ] - ], - [ - [ - 537, - 537 - ], - "valid" - ], - [ - [ - 538, - 538 - ], - "mapped", - [ - 539 - ] - ], - [ - [ - 539, - 539 - ], - "valid" - ], - [ - [ - 540, - 540 - ], - "mapped", - [ - 541 - ] - ], - [ - [ - 541, - 541 - ], - "valid" - ], - [ - [ - 542, - 542 - ], - "mapped", - [ - 543 - ] - ], - [ - [ - 543, - 543 - ], - "valid" - ], - [ - [ - 544, - 544 - ], - "mapped", - [ - 414 - ] - ], - [ - [ - 545, - 545 - ], - "valid" - ], - [ - [ - 546, - 546 - ], - "mapped", - [ - 547 - ] - ], - [ - [ - 547, - 547 - ], - "valid" - ], - [ - [ - 548, - 548 - ], - "mapped", - [ - 549 - ] - ], - [ - [ - 549, - 549 - ], - "valid" - ], - [ - [ - 550, - 550 - ], - "mapped", - [ - 551 - ] - ], - [ - [ - 551, - 551 - ], - "valid" - ], - [ - [ - 552, - 552 - ], - "mapped", - [ - 553 - ] - ], - [ - [ - 553, - 553 - ], - "valid" - ], - [ - [ - 554, - 554 - ], - "mapped", - [ - 555 - ] - ], - [ - [ - 555, - 555 - ], - "valid" - ], - [ - [ - 556, - 556 - ], - "mapped", - [ - 557 - ] - ], - [ - [ - 557, - 557 - ], - "valid" - ], - [ - [ - 558, - 558 - ], - "mapped", - [ - 559 - ] - ], - [ - [ - 559, - 559 - ], - "valid" - ], - [ - [ - 560, - 560 - ], - "mapped", - [ - 561 - ] - ], - [ - [ - 561, - 561 - ], - "valid" - ], - [ - [ - 562, - 562 - ], - "mapped", - [ - 563 - ] - ], - [ - [ - 563, - 563 - ], - "valid" - ], - [ - [ - 564, - 566 - ], - "valid" - ], - [ - [ - 567, - 569 - ], - "valid" - ], - [ - [ - 570, - 570 - ], - "mapped", - [ - 11365 - ] - ], - [ - [ - 571, - 571 - ], - "mapped", - [ - 572 - ] - ], - [ - [ - 572, - 572 - ], - "valid" - ], - [ - [ - 573, - 573 - ], - "mapped", - [ - 410 - ] - ], - [ - [ - 574, - 574 - ], - "mapped", - [ - 11366 - ] - ], - [ - [ - 575, - 576 - ], - "valid" - ], - [ - [ - 577, - 577 - ], - "mapped", - [ - 578 - ] - ], - [ - [ - 578, - 578 - ], - "valid" - ], - [ - [ - 579, - 579 - ], - "mapped", - [ - 384 - ] - ], - [ - [ - 580, - 580 - ], - "mapped", - [ - 649 - ] - ], - [ - [ - 581, - 581 - ], - "mapped", - [ - 652 - ] - ], - [ - [ - 582, - 582 - ], - "mapped", - [ - 583 - ] - ], - [ - [ - 583, - 583 - ], - "valid" - ], - [ - [ - 584, - 584 - ], - "mapped", - [ - 585 - ] - ], - [ - [ - 585, - 585 - ], - "valid" - ], - [ - [ - 586, - 586 - ], - "mapped", - [ - 587 - ] - ], - [ - [ - 587, - 587 - ], - "valid" - ], - [ - [ - 588, - 588 - ], - "mapped", - [ - 589 - ] - ], - [ - [ - 589, - 589 - ], - "valid" - ], - [ - [ - 590, - 590 - ], - "mapped", - [ - 591 - ] - ], - [ - [ - 591, - 591 - ], - "valid" - ], - [ - [ - 592, - 680 - ], - "valid" - ], - [ - [ - 681, - 685 - ], - "valid" - ], - [ - [ - 686, - 687 - ], - "valid" - ], - [ - [ - 688, - 688 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 689, - 689 - ], - "mapped", - [ - 614 - ] - ], - [ - [ - 690, - 690 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 691, - 691 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 692, - 692 - ], - "mapped", - [ - 633 - ] - ], - [ - [ - 693, - 693 - ], - "mapped", - [ - 635 - ] - ], - [ - [ - 694, - 694 - ], - "mapped", - [ - 641 - ] - ], - [ - [ - 695, - 695 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 696, - 696 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 697, - 705 - ], - "valid" - ], - [ - [ - 706, - 709 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 710, - 721 - ], - "valid" - ], - [ - [ - 722, - 727 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 728, - 728 - ], - "disallowed_STD3_mapped", - [ - 32, - 774 - ] - ], - [ - [ - 729, - 729 - ], - "disallowed_STD3_mapped", - [ - 32, - 775 - ] - ], - [ - [ - 730, - 730 - ], - "disallowed_STD3_mapped", - [ - 32, - 778 - ] - ], - [ - [ - 731, - 731 - ], - "disallowed_STD3_mapped", - [ - 32, - 808 - ] - ], - [ - [ - 732, - 732 - ], - "disallowed_STD3_mapped", - [ - 32, - 771 - ] - ], - [ - [ - 733, - 733 - ], - "disallowed_STD3_mapped", - [ - 32, - 779 - ] - ], - [ - [ - 734, - 734 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 735, - 735 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 736, - 736 - ], - "mapped", - [ - 611 - ] - ], - [ - [ - 737, - 737 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 738, - 738 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 739, - 739 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 740, - 740 - ], - "mapped", - [ - 661 - ] - ], - [ - [ - 741, - 745 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 746, - 747 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 748, - 748 - ], - "valid" - ], - [ - [ - 749, - 749 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 750, - 750 - ], - "valid" - ], - [ - [ - 751, - 767 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 768, - 831 - ], - "valid" - ], - [ - [ - 832, - 832 - ], - "mapped", - [ - 768 - ] - ], - [ - [ - 833, - 833 - ], - "mapped", - [ - 769 - ] - ], - [ - [ - 834, - 834 - ], - "valid" - ], - [ - [ - 835, - 835 - ], - "mapped", - [ - 787 - ] - ], - [ - [ - 836, - 836 - ], - "mapped", - [ - 776, - 769 - ] - ], - [ - [ - 837, - 837 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 838, - 846 - ], - "valid" - ], - [ - [ - 847, - 847 - ], - "ignored" - ], - [ - [ - 848, - 855 - ], - "valid" - ], - [ - [ - 856, - 860 - ], - "valid" - ], - [ - [ - 861, - 863 - ], - "valid" - ], - [ - [ - 864, - 865 - ], - "valid" - ], - [ - [ - 866, - 866 - ], - "valid" - ], - [ - [ - 867, - 879 - ], - "valid" - ], - [ - [ - 880, - 880 - ], - "mapped", - [ - 881 - ] - ], - [ - [ - 881, - 881 - ], - "valid" - ], - [ - [ - 882, - 882 - ], - "mapped", - [ - 883 - ] - ], - [ - [ - 883, - 883 - ], - "valid" - ], - [ - [ - 884, - 884 - ], - "mapped", - [ - 697 - ] - ], - [ - [ - 885, - 885 - ], - "valid" - ], - [ - [ - 886, - 886 - ], - "mapped", - [ - 887 - ] - ], - [ - [ - 887, - 887 - ], - "valid" - ], - [ - [ - 888, - 889 - ], - "disallowed" - ], - [ - [ - 890, - 890 - ], - "disallowed_STD3_mapped", - [ - 32, - 953 - ] - ], - [ - [ - 891, - 893 - ], - "valid" - ], - [ - [ - 894, - 894 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 895, - 895 - ], - "mapped", - [ - 1011 - ] - ], - [ - [ - 896, - 899 - ], - "disallowed" - ], - [ - [ - 900, - 900 - ], - "disallowed_STD3_mapped", - [ - 32, - 769 - ] - ], - [ - [ - 901, - 901 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 769 - ] - ], - [ - [ - 902, - 902 - ], - "mapped", - [ - 940 - ] - ], - [ - [ - 903, - 903 - ], - "mapped", - [ - 183 - ] - ], - [ - [ - 904, - 904 - ], - "mapped", - [ - 941 - ] - ], - [ - [ - 905, - 905 - ], - "mapped", - [ - 942 - ] - ], - [ - [ - 906, - 906 - ], - "mapped", - [ - 943 - ] - ], - [ - [ - 907, - 907 - ], - "disallowed" - ], - [ - [ - 908, - 908 - ], - "mapped", - [ - 972 - ] - ], - [ - [ - 909, - 909 - ], - "disallowed" - ], - [ - [ - 910, - 910 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 911, - 911 - ], - "mapped", - [ - 974 - ] - ], - [ - [ - 912, - 912 - ], - "valid" - ], - [ - [ - 913, - 913 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 914, - 914 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 915, - 915 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 916, - 916 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 917, - 917 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 918, - 918 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 919, - 919 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 920, - 920 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 921, - 921 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 922, - 922 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 923, - 923 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 924, - 924 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 925, - 925 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 926, - 926 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 927, - 927 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 928, - 928 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 929, - 929 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 930, - 930 - ], - "disallowed" - ], - [ - [ - 931, - 931 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 932, - 932 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 933, - 933 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 934, - 934 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 935, - 935 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 936, - 936 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 937, - 937 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 938, - 938 - ], - "mapped", - [ - 970 - ] - ], - [ - [ - 939, - 939 - ], - "mapped", - [ - 971 - ] - ], - [ - [ - 940, - 961 - ], - "valid" - ], - [ - [ - 962, - 962 - ], - "deviation", - [ - 963 - ] - ], - [ - [ - 963, - 974 - ], - "valid" - ], - [ - [ - 975, - 975 - ], - "mapped", - [ - 983 - ] - ], - [ - [ - 976, - 976 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 977, - 977 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 978, - 978 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 979, - 979 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 980, - 980 - ], - "mapped", - [ - 971 - ] - ], - [ - [ - 981, - 981 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 982, - 982 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 983, - 983 - ], - "valid" - ], - [ - [ - 984, - 984 - ], - "mapped", - [ - 985 - ] - ], - [ - [ - 985, - 985 - ], - "valid" - ], - [ - [ - 986, - 986 - ], - "mapped", - [ - 987 - ] - ], - [ - [ - 987, - 987 - ], - "valid" - ], - [ - [ - 988, - 988 - ], - "mapped", - [ - 989 - ] - ], - [ - [ - 989, - 989 - ], - "valid" - ], - [ - [ - 990, - 990 - ], - "mapped", - [ - 991 - ] - ], - [ - [ - 991, - 991 - ], - "valid" - ], - [ - [ - 992, - 992 - ], - "mapped", - [ - 993 - ] - ], - [ - [ - 993, - 993 - ], - "valid" - ], - [ - [ - 994, - 994 - ], - "mapped", - [ - 995 - ] - ], - [ - [ - 995, - 995 - ], - "valid" - ], - [ - [ - 996, - 996 - ], - "mapped", - [ - 997 - ] - ], - [ - [ - 997, - 997 - ], - "valid" - ], - [ - [ - 998, - 998 - ], - "mapped", - [ - 999 - ] - ], - [ - [ - 999, - 999 - ], - "valid" - ], - [ - [ - 1000, - 1000 - ], - "mapped", - [ - 1001 - ] - ], - [ - [ - 1001, - 1001 - ], - "valid" - ], - [ - [ - 1002, - 1002 - ], - "mapped", - [ - 1003 - ] - ], - [ - [ - 1003, - 1003 - ], - "valid" - ], - [ - [ - 1004, - 1004 - ], - "mapped", - [ - 1005 - ] - ], - [ - [ - 1005, - 1005 - ], - "valid" - ], - [ - [ - 1006, - 1006 - ], - "mapped", - [ - 1007 - ] - ], - [ - [ - 1007, - 1007 - ], - "valid" - ], - [ - [ - 1008, - 1008 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 1009, - 1009 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 1010, - 1010 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 1011, - 1011 - ], - "valid" - ], - [ - [ - 1012, - 1012 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 1013, - 1013 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 1014, - 1014 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1015, - 1015 - ], - "mapped", - [ - 1016 - ] - ], - [ - [ - 1016, - 1016 - ], - "valid" - ], - [ - [ - 1017, - 1017 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 1018, - 1018 - ], - "mapped", - [ - 1019 - ] - ], - [ - [ - 1019, - 1019 - ], - "valid" - ], - [ - [ - 1020, - 1020 - ], - "valid" - ], - [ - [ - 1021, - 1021 - ], - "mapped", - [ - 891 - ] - ], - [ - [ - 1022, - 1022 - ], - "mapped", - [ - 892 - ] - ], - [ - [ - 1023, - 1023 - ], - "mapped", - [ - 893 - ] - ], - [ - [ - 1024, - 1024 - ], - "mapped", - [ - 1104 - ] - ], - [ - [ - 1025, - 1025 - ], - "mapped", - [ - 1105 - ] - ], - [ - [ - 1026, - 1026 - ], - "mapped", - [ - 1106 - ] - ], - [ - [ - 1027, - 1027 - ], - "mapped", - [ - 1107 - ] - ], - [ - [ - 1028, - 1028 - ], - "mapped", - [ - 1108 - ] - ], - [ - [ - 1029, - 1029 - ], - "mapped", - [ - 1109 - ] - ], - [ - [ - 1030, - 1030 - ], - "mapped", - [ - 1110 - ] - ], - [ - [ - 1031, - 1031 - ], - "mapped", - [ - 1111 - ] - ], - [ - [ - 1032, - 1032 - ], - "mapped", - [ - 1112 - ] - ], - [ - [ - 1033, - 1033 - ], - "mapped", - [ - 1113 - ] - ], - [ - [ - 1034, - 1034 - ], - "mapped", - [ - 1114 - ] - ], - [ - [ - 1035, - 1035 - ], - "mapped", - [ - 1115 - ] - ], - [ - [ - 1036, - 1036 - ], - "mapped", - [ - 1116 - ] - ], - [ - [ - 1037, - 1037 - ], - "mapped", - [ - 1117 - ] - ], - [ - [ - 1038, - 1038 - ], - "mapped", - [ - 1118 - ] - ], - [ - [ - 1039, - 1039 - ], - "mapped", - [ - 1119 - ] - ], - [ - [ - 1040, - 1040 - ], - "mapped", - [ - 1072 - ] - ], - [ - [ - 1041, - 1041 - ], - "mapped", - [ - 1073 - ] - ], - [ - [ - 1042, - 1042 - ], - "mapped", - [ - 1074 - ] - ], - [ - [ - 1043, - 1043 - ], - "mapped", - [ - 1075 - ] - ], - [ - [ - 1044, - 1044 - ], - "mapped", - [ - 1076 - ] - ], - [ - [ - 1045, - 1045 - ], - "mapped", - [ - 1077 - ] - ], - [ - [ - 1046, - 1046 - ], - "mapped", - [ - 1078 - ] - ], - [ - [ - 1047, - 1047 - ], - "mapped", - [ - 1079 - ] - ], - [ - [ - 1048, - 1048 - ], - "mapped", - [ - 1080 - ] - ], - [ - [ - 1049, - 1049 - ], - "mapped", - [ - 1081 - ] - ], - [ - [ - 1050, - 1050 - ], - "mapped", - [ - 1082 - ] - ], - [ - [ - 1051, - 1051 - ], - "mapped", - [ - 1083 - ] - ], - [ - [ - 1052, - 1052 - ], - "mapped", - [ - 1084 - ] - ], - [ - [ - 1053, - 1053 - ], - "mapped", - [ - 1085 - ] - ], - [ - [ - 1054, - 1054 - ], - "mapped", - [ - 1086 - ] - ], - [ - [ - 1055, - 1055 - ], - "mapped", - [ - 1087 - ] - ], - [ - [ - 1056, - 1056 - ], - "mapped", - [ - 1088 - ] - ], - [ - [ - 1057, - 1057 - ], - "mapped", - [ - 1089 - ] - ], - [ - [ - 1058, - 1058 - ], - "mapped", - [ - 1090 - ] - ], - [ - [ - 1059, - 1059 - ], - "mapped", - [ - 1091 - ] - ], - [ - [ - 1060, - 1060 - ], - "mapped", - [ - 1092 - ] - ], - [ - [ - 1061, - 1061 - ], - "mapped", - [ - 1093 - ] - ], - [ - [ - 1062, - 1062 - ], - "mapped", - [ - 1094 - ] - ], - [ - [ - 1063, - 1063 - ], - "mapped", - [ - 1095 - ] - ], - [ - [ - 1064, - 1064 - ], - "mapped", - [ - 1096 - ] - ], - [ - [ - 1065, - 1065 - ], - "mapped", - [ - 1097 - ] - ], - [ - [ - 1066, - 1066 - ], - "mapped", - [ - 1098 - ] - ], - [ - [ - 1067, - 1067 - ], - "mapped", - [ - 1099 - ] - ], - [ - [ - 1068, - 1068 - ], - "mapped", - [ - 1100 - ] - ], - [ - [ - 1069, - 1069 - ], - "mapped", - [ - 1101 - ] - ], - [ - [ - 1070, - 1070 - ], - "mapped", - [ - 1102 - ] - ], - [ - [ - 1071, - 1071 - ], - "mapped", - [ - 1103 - ] - ], - [ - [ - 1072, - 1103 - ], - "valid" - ], - [ - [ - 1104, - 1104 - ], - "valid" - ], - [ - [ - 1105, - 1116 - ], - "valid" - ], - [ - [ - 1117, - 1117 - ], - "valid" - ], - [ - [ - 1118, - 1119 - ], - "valid" - ], - [ - [ - 1120, - 1120 - ], - "mapped", - [ - 1121 - ] - ], - [ - [ - 1121, - 1121 - ], - "valid" - ], - [ - [ - 1122, - 1122 - ], - "mapped", - [ - 1123 - ] - ], - [ - [ - 1123, - 1123 - ], - "valid" - ], - [ - [ - 1124, - 1124 - ], - "mapped", - [ - 1125 - ] - ], - [ - [ - 1125, - 1125 - ], - "valid" - ], - [ - [ - 1126, - 1126 - ], - "mapped", - [ - 1127 - ] - ], - [ - [ - 1127, - 1127 - ], - "valid" - ], - [ - [ - 1128, - 1128 - ], - "mapped", - [ - 1129 - ] - ], - [ - [ - 1129, - 1129 - ], - "valid" - ], - [ - [ - 1130, - 1130 - ], - "mapped", - [ - 1131 - ] - ], - [ - [ - 1131, - 1131 - ], - "valid" - ], - [ - [ - 1132, - 1132 - ], - "mapped", - [ - 1133 - ] - ], - [ - [ - 1133, - 1133 - ], - "valid" - ], - [ - [ - 1134, - 1134 - ], - "mapped", - [ - 1135 - ] - ], - [ - [ - 1135, - 1135 - ], - "valid" - ], - [ - [ - 1136, - 1136 - ], - "mapped", - [ - 1137 - ] - ], - [ - [ - 1137, - 1137 - ], - "valid" - ], - [ - [ - 1138, - 1138 - ], - "mapped", - [ - 1139 - ] - ], - [ - [ - 1139, - 1139 - ], - "valid" - ], - [ - [ - 1140, - 1140 - ], - "mapped", - [ - 1141 - ] - ], - [ - [ - 1141, - 1141 - ], - "valid" - ], - [ - [ - 1142, - 1142 - ], - "mapped", - [ - 1143 - ] - ], - [ - [ - 1143, - 1143 - ], - "valid" - ], - [ - [ - 1144, - 1144 - ], - "mapped", - [ - 1145 - ] - ], - [ - [ - 1145, - 1145 - ], - "valid" - ], - [ - [ - 1146, - 1146 - ], - "mapped", - [ - 1147 - ] - ], - [ - [ - 1147, - 1147 - ], - "valid" - ], - [ - [ - 1148, - 1148 - ], - "mapped", - [ - 1149 - ] - ], - [ - [ - 1149, - 1149 - ], - "valid" - ], - [ - [ - 1150, - 1150 - ], - "mapped", - [ - 1151 - ] - ], - [ - [ - 1151, - 1151 - ], - "valid" - ], - [ - [ - 1152, - 1152 - ], - "mapped", - [ - 1153 - ] - ], - [ - [ - 1153, - 1153 - ], - "valid" - ], - [ - [ - 1154, - 1154 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1155, - 1158 - ], - "valid" - ], - [ - [ - 1159, - 1159 - ], - "valid" - ], - [ - [ - 1160, - 1161 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1162, - 1162 - ], - "mapped", - [ - 1163 - ] - ], - [ - [ - 1163, - 1163 - ], - "valid" - ], - [ - [ - 1164, - 1164 - ], - "mapped", - [ - 1165 - ] - ], - [ - [ - 1165, - 1165 - ], - "valid" - ], - [ - [ - 1166, - 1166 - ], - "mapped", - [ - 1167 - ] - ], - [ - [ - 1167, - 1167 - ], - "valid" - ], - [ - [ - 1168, - 1168 - ], - "mapped", - [ - 1169 - ] - ], - [ - [ - 1169, - 1169 - ], - "valid" - ], - [ - [ - 1170, - 1170 - ], - "mapped", - [ - 1171 - ] - ], - [ - [ - 1171, - 1171 - ], - "valid" - ], - [ - [ - 1172, - 1172 - ], - "mapped", - [ - 1173 - ] - ], - [ - [ - 1173, - 1173 - ], - "valid" - ], - [ - [ - 1174, - 1174 - ], - "mapped", - [ - 1175 - ] - ], - [ - [ - 1175, - 1175 - ], - "valid" - ], - [ - [ - 1176, - 1176 - ], - "mapped", - [ - 1177 - ] - ], - [ - [ - 1177, - 1177 - ], - "valid" - ], - [ - [ - 1178, - 1178 - ], - "mapped", - [ - 1179 - ] - ], - [ - [ - 1179, - 1179 - ], - "valid" - ], - [ - [ - 1180, - 1180 - ], - "mapped", - [ - 1181 - ] - ], - [ - [ - 1181, - 1181 - ], - "valid" - ], - [ - [ - 1182, - 1182 - ], - "mapped", - [ - 1183 - ] - ], - [ - [ - 1183, - 1183 - ], - "valid" - ], - [ - [ - 1184, - 1184 - ], - "mapped", - [ - 1185 - ] - ], - [ - [ - 1185, - 1185 - ], - "valid" - ], - [ - [ - 1186, - 1186 - ], - "mapped", - [ - 1187 - ] - ], - [ - [ - 1187, - 1187 - ], - "valid" - ], - [ - [ - 1188, - 1188 - ], - "mapped", - [ - 1189 - ] - ], - [ - [ - 1189, - 1189 - ], - "valid" - ], - [ - [ - 1190, - 1190 - ], - "mapped", - [ - 1191 - ] - ], - [ - [ - 1191, - 1191 - ], - "valid" - ], - [ - [ - 1192, - 1192 - ], - "mapped", - [ - 1193 - ] - ], - [ - [ - 1193, - 1193 - ], - "valid" - ], - [ - [ - 1194, - 1194 - ], - "mapped", - [ - 1195 - ] - ], - [ - [ - 1195, - 1195 - ], - "valid" - ], - [ - [ - 1196, - 1196 - ], - "mapped", - [ - 1197 - ] - ], - [ - [ - 1197, - 1197 - ], - "valid" - ], - [ - [ - 1198, - 1198 - ], - "mapped", - [ - 1199 - ] - ], - [ - [ - 1199, - 1199 - ], - "valid" - ], - [ - [ - 1200, - 1200 - ], - "mapped", - [ - 1201 - ] - ], - [ - [ - 1201, - 1201 - ], - "valid" - ], - [ - [ - 1202, - 1202 - ], - "mapped", - [ - 1203 - ] - ], - [ - [ - 1203, - 1203 - ], - "valid" - ], - [ - [ - 1204, - 1204 - ], - "mapped", - [ - 1205 - ] - ], - [ - [ - 1205, - 1205 - ], - "valid" - ], - [ - [ - 1206, - 1206 - ], - "mapped", - [ - 1207 - ] - ], - [ - [ - 1207, - 1207 - ], - "valid" - ], - [ - [ - 1208, - 1208 - ], - "mapped", - [ - 1209 - ] - ], - [ - [ - 1209, - 1209 - ], - "valid" - ], - [ - [ - 1210, - 1210 - ], - "mapped", - [ - 1211 - ] - ], - [ - [ - 1211, - 1211 - ], - "valid" - ], - [ - [ - 1212, - 1212 - ], - "mapped", - [ - 1213 - ] - ], - [ - [ - 1213, - 1213 - ], - "valid" - ], - [ - [ - 1214, - 1214 - ], - "mapped", - [ - 1215 - ] - ], - [ - [ - 1215, - 1215 - ], - "valid" - ], - [ - [ - 1216, - 1216 - ], - "disallowed" - ], - [ - [ - 1217, - 1217 - ], - "mapped", - [ - 1218 - ] - ], - [ - [ - 1218, - 1218 - ], - "valid" - ], - [ - [ - 1219, - 1219 - ], - "mapped", - [ - 1220 - ] - ], - [ - [ - 1220, - 1220 - ], - "valid" - ], - [ - [ - 1221, - 1221 - ], - "mapped", - [ - 1222 - ] - ], - [ - [ - 1222, - 1222 - ], - "valid" - ], - [ - [ - 1223, - 1223 - ], - "mapped", - [ - 1224 - ] - ], - [ - [ - 1224, - 1224 - ], - "valid" - ], - [ - [ - 1225, - 1225 - ], - "mapped", - [ - 1226 - ] - ], - [ - [ - 1226, - 1226 - ], - "valid" - ], - [ - [ - 1227, - 1227 - ], - "mapped", - [ - 1228 - ] - ], - [ - [ - 1228, - 1228 - ], - "valid" - ], - [ - [ - 1229, - 1229 - ], - "mapped", - [ - 1230 - ] - ], - [ - [ - 1230, - 1230 - ], - "valid" - ], - [ - [ - 1231, - 1231 - ], - "valid" - ], - [ - [ - 1232, - 1232 - ], - "mapped", - [ - 1233 - ] - ], - [ - [ - 1233, - 1233 - ], - "valid" - ], - [ - [ - 1234, - 1234 - ], - "mapped", - [ - 1235 - ] - ], - [ - [ - 1235, - 1235 - ], - "valid" - ], - [ - [ - 1236, - 1236 - ], - "mapped", - [ - 1237 - ] - ], - [ - [ - 1237, - 1237 - ], - "valid" - ], - [ - [ - 1238, - 1238 - ], - "mapped", - [ - 1239 - ] - ], - [ - [ - 1239, - 1239 - ], - "valid" - ], - [ - [ - 1240, - 1240 - ], - "mapped", - [ - 1241 - ] - ], - [ - [ - 1241, - 1241 - ], - "valid" - ], - [ - [ - 1242, - 1242 - ], - "mapped", - [ - 1243 - ] - ], - [ - [ - 1243, - 1243 - ], - "valid" - ], - [ - [ - 1244, - 1244 - ], - "mapped", - [ - 1245 - ] - ], - [ - [ - 1245, - 1245 - ], - "valid" - ], - [ - [ - 1246, - 1246 - ], - "mapped", - [ - 1247 - ] - ], - [ - [ - 1247, - 1247 - ], - "valid" - ], - [ - [ - 1248, - 1248 - ], - "mapped", - [ - 1249 - ] - ], - [ - [ - 1249, - 1249 - ], - "valid" - ], - [ - [ - 1250, - 1250 - ], - "mapped", - [ - 1251 - ] - ], - [ - [ - 1251, - 1251 - ], - "valid" - ], - [ - [ - 1252, - 1252 - ], - "mapped", - [ - 1253 - ] - ], - [ - [ - 1253, - 1253 - ], - "valid" - ], - [ - [ - 1254, - 1254 - ], - "mapped", - [ - 1255 - ] - ], - [ - [ - 1255, - 1255 - ], - "valid" - ], - [ - [ - 1256, - 1256 - ], - "mapped", - [ - 1257 - ] - ], - [ - [ - 1257, - 1257 - ], - "valid" - ], - [ - [ - 1258, - 1258 - ], - "mapped", - [ - 1259 - ] - ], - [ - [ - 1259, - 1259 - ], - "valid" - ], - [ - [ - 1260, - 1260 - ], - "mapped", - [ - 1261 - ] - ], - [ - [ - 1261, - 1261 - ], - "valid" - ], - [ - [ - 1262, - 1262 - ], - "mapped", - [ - 1263 - ] - ], - [ - [ - 1263, - 1263 - ], - "valid" - ], - [ - [ - 1264, - 1264 - ], - "mapped", - [ - 1265 - ] - ], - [ - [ - 1265, - 1265 - ], - "valid" - ], - [ - [ - 1266, - 1266 - ], - "mapped", - [ - 1267 - ] - ], - [ - [ - 1267, - 1267 - ], - "valid" - ], - [ - [ - 1268, - 1268 - ], - "mapped", - [ - 1269 - ] - ], - [ - [ - 1269, - 1269 - ], - "valid" - ], - [ - [ - 1270, - 1270 - ], - "mapped", - [ - 1271 - ] - ], - [ - [ - 1271, - 1271 - ], - "valid" - ], - [ - [ - 1272, - 1272 - ], - "mapped", - [ - 1273 - ] - ], - [ - [ - 1273, - 1273 - ], - "valid" - ], - [ - [ - 1274, - 1274 - ], - "mapped", - [ - 1275 - ] - ], - [ - [ - 1275, - 1275 - ], - "valid" - ], - [ - [ - 1276, - 1276 - ], - "mapped", - [ - 1277 - ] - ], - [ - [ - 1277, - 1277 - ], - "valid" - ], - [ - [ - 1278, - 1278 - ], - "mapped", - [ - 1279 - ] - ], - [ - [ - 1279, - 1279 - ], - "valid" - ], - [ - [ - 1280, - 1280 - ], - "mapped", - [ - 1281 - ] - ], - [ - [ - 1281, - 1281 - ], - "valid" - ], - [ - [ - 1282, - 1282 - ], - "mapped", - [ - 1283 - ] - ], - [ - [ - 1283, - 1283 - ], - "valid" - ], - [ - [ - 1284, - 1284 - ], - "mapped", - [ - 1285 - ] - ], - [ - [ - 1285, - 1285 - ], - "valid" - ], - [ - [ - 1286, - 1286 - ], - "mapped", - [ - 1287 - ] - ], - [ - [ - 1287, - 1287 - ], - "valid" - ], - [ - [ - 1288, - 1288 - ], - "mapped", - [ - 1289 - ] - ], - [ - [ - 1289, - 1289 - ], - "valid" - ], - [ - [ - 1290, - 1290 - ], - "mapped", - [ - 1291 - ] - ], - [ - [ - 1291, - 1291 - ], - "valid" - ], - [ - [ - 1292, - 1292 - ], - "mapped", - [ - 1293 - ] - ], - [ - [ - 1293, - 1293 - ], - "valid" - ], - [ - [ - 1294, - 1294 - ], - "mapped", - [ - 1295 - ] - ], - [ - [ - 1295, - 1295 - ], - "valid" - ], - [ - [ - 1296, - 1296 - ], - "mapped", - [ - 1297 - ] - ], - [ - [ - 1297, - 1297 - ], - "valid" - ], - [ - [ - 1298, - 1298 - ], - "mapped", - [ - 1299 - ] - ], - [ - [ - 1299, - 1299 - ], - "valid" - ], - [ - [ - 1300, - 1300 - ], - "mapped", - [ - 1301 - ] - ], - [ - [ - 1301, - 1301 - ], - "valid" - ], - [ - [ - 1302, - 1302 - ], - "mapped", - [ - 1303 - ] - ], - [ - [ - 1303, - 1303 - ], - "valid" - ], - [ - [ - 1304, - 1304 - ], - "mapped", - [ - 1305 - ] - ], - [ - [ - 1305, - 1305 - ], - "valid" - ], - [ - [ - 1306, - 1306 - ], - "mapped", - [ - 1307 - ] - ], - [ - [ - 1307, - 1307 - ], - "valid" - ], - [ - [ - 1308, - 1308 - ], - "mapped", - [ - 1309 - ] - ], - [ - [ - 1309, - 1309 - ], - "valid" - ], - [ - [ - 1310, - 1310 - ], - "mapped", - [ - 1311 - ] - ], - [ - [ - 1311, - 1311 - ], - "valid" - ], - [ - [ - 1312, - 1312 - ], - "mapped", - [ - 1313 - ] - ], - [ - [ - 1313, - 1313 - ], - "valid" - ], - [ - [ - 1314, - 1314 - ], - "mapped", - [ - 1315 - ] - ], - [ - [ - 1315, - 1315 - ], - "valid" - ], - [ - [ - 1316, - 1316 - ], - "mapped", - [ - 1317 - ] - ], - [ - [ - 1317, - 1317 - ], - "valid" - ], - [ - [ - 1318, - 1318 - ], - "mapped", - [ - 1319 - ] - ], - [ - [ - 1319, - 1319 - ], - "valid" - ], - [ - [ - 1320, - 1320 - ], - "mapped", - [ - 1321 - ] - ], - [ - [ - 1321, - 1321 - ], - "valid" - ], - [ - [ - 1322, - 1322 - ], - "mapped", - [ - 1323 - ] - ], - [ - [ - 1323, - 1323 - ], - "valid" - ], - [ - [ - 1324, - 1324 - ], - "mapped", - [ - 1325 - ] - ], - [ - [ - 1325, - 1325 - ], - "valid" - ], - [ - [ - 1326, - 1326 - ], - "mapped", - [ - 1327 - ] - ], - [ - [ - 1327, - 1327 - ], - "valid" - ], - [ - [ - 1328, - 1328 - ], - "disallowed" - ], - [ - [ - 1329, - 1329 - ], - "mapped", - [ - 1377 - ] - ], - [ - [ - 1330, - 1330 - ], - "mapped", - [ - 1378 - ] - ], - [ - [ - 1331, - 1331 - ], - "mapped", - [ - 1379 - ] - ], - [ - [ - 1332, - 1332 - ], - "mapped", - [ - 1380 - ] - ], - [ - [ - 1333, - 1333 - ], - "mapped", - [ - 1381 - ] - ], - [ - [ - 1334, - 1334 - ], - "mapped", - [ - 1382 - ] - ], - [ - [ - 1335, - 1335 - ], - "mapped", - [ - 1383 - ] - ], - [ - [ - 1336, - 1336 - ], - "mapped", - [ - 1384 - ] - ], - [ - [ - 1337, - 1337 - ], - "mapped", - [ - 1385 - ] - ], - [ - [ - 1338, - 1338 - ], - "mapped", - [ - 1386 - ] - ], - [ - [ - 1339, - 1339 - ], - "mapped", - [ - 1387 - ] - ], - [ - [ - 1340, - 1340 - ], - "mapped", - [ - 1388 - ] - ], - [ - [ - 1341, - 1341 - ], - "mapped", - [ - 1389 - ] - ], - [ - [ - 1342, - 1342 - ], - "mapped", - [ - 1390 - ] - ], - [ - [ - 1343, - 1343 - ], - "mapped", - [ - 1391 - ] - ], - [ - [ - 1344, - 1344 - ], - "mapped", - [ - 1392 - ] - ], - [ - [ - 1345, - 1345 - ], - "mapped", - [ - 1393 - ] - ], - [ - [ - 1346, - 1346 - ], - "mapped", - [ - 1394 - ] - ], - [ - [ - 1347, - 1347 - ], - "mapped", - [ - 1395 - ] - ], - [ - [ - 1348, - 1348 - ], - "mapped", - [ - 1396 - ] - ], - [ - [ - 1349, - 1349 - ], - "mapped", - [ - 1397 - ] - ], - [ - [ - 1350, - 1350 - ], - "mapped", - [ - 1398 - ] - ], - [ - [ - 1351, - 1351 - ], - "mapped", - [ - 1399 - ] - ], - [ - [ - 1352, - 1352 - ], - "mapped", - [ - 1400 - ] - ], - [ - [ - 1353, - 1353 - ], - "mapped", - [ - 1401 - ] - ], - [ - [ - 1354, - 1354 - ], - "mapped", - [ - 1402 - ] - ], - [ - [ - 1355, - 1355 - ], - "mapped", - [ - 1403 - ] - ], - [ - [ - 1356, - 1356 - ], - "mapped", - [ - 1404 - ] - ], - [ - [ - 1357, - 1357 - ], - "mapped", - [ - 1405 - ] - ], - [ - [ - 1358, - 1358 - ], - "mapped", - [ - 1406 - ] - ], - [ - [ - 1359, - 1359 - ], - "mapped", - [ - 1407 - ] - ], - [ - [ - 1360, - 1360 - ], - "mapped", - [ - 1408 - ] - ], - [ - [ - 1361, - 1361 - ], - "mapped", - [ - 1409 - ] - ], - [ - [ - 1362, - 1362 - ], - "mapped", - [ - 1410 - ] - ], - [ - [ - 1363, - 1363 - ], - "mapped", - [ - 1411 - ] - ], - [ - [ - 1364, - 1364 - ], - "mapped", - [ - 1412 - ] - ], - [ - [ - 1365, - 1365 - ], - "mapped", - [ - 1413 - ] - ], - [ - [ - 1366, - 1366 - ], - "mapped", - [ - 1414 - ] - ], - [ - [ - 1367, - 1368 - ], - "disallowed" - ], - [ - [ - 1369, - 1369 - ], - "valid" - ], - [ - [ - 1370, - 1375 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1376, - 1376 - ], - "disallowed" - ], - [ - [ - 1377, - 1414 - ], - "valid" - ], - [ - [ - 1415, - 1415 - ], - "mapped", - [ - 1381, - 1410 - ] - ], - [ - [ - 1416, - 1416 - ], - "disallowed" - ], - [ - [ - 1417, - 1417 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1418, - 1418 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1419, - 1420 - ], - "disallowed" - ], - [ - [ - 1421, - 1422 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1423, - 1423 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1424, - 1424 - ], - "disallowed" - ], - [ - [ - 1425, - 1441 - ], - "valid" - ], - [ - [ - 1442, - 1442 - ], - "valid" - ], - [ - [ - 1443, - 1455 - ], - "valid" - ], - [ - [ - 1456, - 1465 - ], - "valid" - ], - [ - [ - 1466, - 1466 - ], - "valid" - ], - [ - [ - 1467, - 1469 - ], - "valid" - ], - [ - [ - 1470, - 1470 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1471, - 1471 - ], - "valid" - ], - [ - [ - 1472, - 1472 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1473, - 1474 - ], - "valid" - ], - [ - [ - 1475, - 1475 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1476, - 1476 - ], - "valid" - ], - [ - [ - 1477, - 1477 - ], - "valid" - ], - [ - [ - 1478, - 1478 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1479, - 1479 - ], - "valid" - ], - [ - [ - 1480, - 1487 - ], - "disallowed" - ], - [ - [ - 1488, - 1514 - ], - "valid" - ], - [ - [ - 1515, - 1519 - ], - "disallowed" - ], - [ - [ - 1520, - 1524 - ], - "valid" - ], - [ - [ - 1525, - 1535 - ], - "disallowed" - ], - [ - [ - 1536, - 1539 - ], - "disallowed" - ], - [ - [ - 1540, - 1540 - ], - "disallowed" - ], - [ - [ - 1541, - 1541 - ], - "disallowed" - ], - [ - [ - 1542, - 1546 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1547, - 1547 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1548, - 1548 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1549, - 1551 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1552, - 1557 - ], - "valid" - ], - [ - [ - 1558, - 1562 - ], - "valid" - ], - [ - [ - 1563, - 1563 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1564, - 1564 - ], - "disallowed" - ], - [ - [ - 1565, - 1565 - ], - "disallowed" - ], - [ - [ - 1566, - 1566 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1567, - 1567 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1568, - 1568 - ], - "valid" - ], - [ - [ - 1569, - 1594 - ], - "valid" - ], - [ - [ - 1595, - 1599 - ], - "valid" - ], - [ - [ - 1600, - 1600 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1601, - 1618 - ], - "valid" - ], - [ - [ - 1619, - 1621 - ], - "valid" - ], - [ - [ - 1622, - 1624 - ], - "valid" - ], - [ - [ - 1625, - 1630 - ], - "valid" - ], - [ - [ - 1631, - 1631 - ], - "valid" - ], - [ - [ - 1632, - 1641 - ], - "valid" - ], - [ - [ - 1642, - 1645 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1646, - 1647 - ], - "valid" - ], - [ - [ - 1648, - 1652 - ], - "valid" - ], - [ - [ - 1653, - 1653 - ], - "mapped", - [ - 1575, - 1652 - ] - ], - [ - [ - 1654, - 1654 - ], - "mapped", - [ - 1608, - 1652 - ] - ], - [ - [ - 1655, - 1655 - ], - "mapped", - [ - 1735, - 1652 - ] - ], - [ - [ - 1656, - 1656 - ], - "mapped", - [ - 1610, - 1652 - ] - ], - [ - [ - 1657, - 1719 - ], - "valid" - ], - [ - [ - 1720, - 1721 - ], - "valid" - ], - [ - [ - 1722, - 1726 - ], - "valid" - ], - [ - [ - 1727, - 1727 - ], - "valid" - ], - [ - [ - 1728, - 1742 - ], - "valid" - ], - [ - [ - 1743, - 1743 - ], - "valid" - ], - [ - [ - 1744, - 1747 - ], - "valid" - ], - [ - [ - 1748, - 1748 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1749, - 1756 - ], - "valid" - ], - [ - [ - 1757, - 1757 - ], - "disallowed" - ], - [ - [ - 1758, - 1758 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1759, - 1768 - ], - "valid" - ], - [ - [ - 1769, - 1769 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1770, - 1773 - ], - "valid" - ], - [ - [ - 1774, - 1775 - ], - "valid" - ], - [ - [ - 1776, - 1785 - ], - "valid" - ], - [ - [ - 1786, - 1790 - ], - "valid" - ], - [ - [ - 1791, - 1791 - ], - "valid" - ], - [ - [ - 1792, - 1805 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1806, - 1806 - ], - "disallowed" - ], - [ - [ - 1807, - 1807 - ], - "disallowed" - ], - [ - [ - 1808, - 1836 - ], - "valid" - ], - [ - [ - 1837, - 1839 - ], - "valid" - ], - [ - [ - 1840, - 1866 - ], - "valid" - ], - [ - [ - 1867, - 1868 - ], - "disallowed" - ], - [ - [ - 1869, - 1871 - ], - "valid" - ], - [ - [ - 1872, - 1901 - ], - "valid" - ], - [ - [ - 1902, - 1919 - ], - "valid" - ], - [ - [ - 1920, - 1968 - ], - "valid" - ], - [ - [ - 1969, - 1969 - ], - "valid" - ], - [ - [ - 1970, - 1983 - ], - "disallowed" - ], - [ - [ - 1984, - 2037 - ], - "valid" - ], - [ - [ - 2038, - 2042 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2043, - 2047 - ], - "disallowed" - ], - [ - [ - 2048, - 2093 - ], - "valid" - ], - [ - [ - 2094, - 2095 - ], - "disallowed" - ], - [ - [ - 2096, - 2110 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2111, - 2111 - ], - "disallowed" - ], - [ - [ - 2112, - 2139 - ], - "valid" - ], - [ - [ - 2140, - 2141 - ], - "disallowed" - ], - [ - [ - 2142, - 2142 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2143, - 2207 - ], - "disallowed" - ], - [ - [ - 2208, - 2208 - ], - "valid" - ], - [ - [ - 2209, - 2209 - ], - "valid" - ], - [ - [ - 2210, - 2220 - ], - "valid" - ], - [ - [ - 2221, - 2226 - ], - "valid" - ], - [ - [ - 2227, - 2228 - ], - "valid" - ], - [ - [ - 2229, - 2274 - ], - "disallowed" - ], - [ - [ - 2275, - 2275 - ], - "valid" - ], - [ - [ - 2276, - 2302 - ], - "valid" - ], - [ - [ - 2303, - 2303 - ], - "valid" - ], - [ - [ - 2304, - 2304 - ], - "valid" - ], - [ - [ - 2305, - 2307 - ], - "valid" - ], - [ - [ - 2308, - 2308 - ], - "valid" - ], - [ - [ - 2309, - 2361 - ], - "valid" - ], - [ - [ - 2362, - 2363 - ], - "valid" - ], - [ - [ - 2364, - 2381 - ], - "valid" - ], - [ - [ - 2382, - 2382 - ], - "valid" - ], - [ - [ - 2383, - 2383 - ], - "valid" - ], - [ - [ - 2384, - 2388 - ], - "valid" - ], - [ - [ - 2389, - 2389 - ], - "valid" - ], - [ - [ - 2390, - 2391 - ], - "valid" - ], - [ - [ - 2392, - 2392 - ], - "mapped", - [ - 2325, - 2364 - ] - ], - [ - [ - 2393, - 2393 - ], - "mapped", - [ - 2326, - 2364 - ] - ], - [ - [ - 2394, - 2394 - ], - "mapped", - [ - 2327, - 2364 - ] - ], - [ - [ - 2395, - 2395 - ], - "mapped", - [ - 2332, - 2364 - ] - ], - [ - [ - 2396, - 2396 - ], - "mapped", - [ - 2337, - 2364 - ] - ], - [ - [ - 2397, - 2397 - ], - "mapped", - [ - 2338, - 2364 - ] - ], - [ - [ - 2398, - 2398 - ], - "mapped", - [ - 2347, - 2364 - ] - ], - [ - [ - 2399, - 2399 - ], - "mapped", - [ - 2351, - 2364 - ] - ], - [ - [ - 2400, - 2403 - ], - "valid" - ], - [ - [ - 2404, - 2405 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2406, - 2415 - ], - "valid" - ], - [ - [ - 2416, - 2416 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2417, - 2418 - ], - "valid" - ], - [ - [ - 2419, - 2423 - ], - "valid" - ], - [ - [ - 2424, - 2424 - ], - "valid" - ], - [ - [ - 2425, - 2426 - ], - "valid" - ], - [ - [ - 2427, - 2428 - ], - "valid" - ], - [ - [ - 2429, - 2429 - ], - "valid" - ], - [ - [ - 2430, - 2431 - ], - "valid" - ], - [ - [ - 2432, - 2432 - ], - "valid" - ], - [ - [ - 2433, - 2435 - ], - "valid" - ], - [ - [ - 2436, - 2436 - ], - "disallowed" - ], - [ - [ - 2437, - 2444 - ], - "valid" - ], - [ - [ - 2445, - 2446 - ], - "disallowed" - ], - [ - [ - 2447, - 2448 - ], - "valid" - ], - [ - [ - 2449, - 2450 - ], - "disallowed" - ], - [ - [ - 2451, - 2472 - ], - "valid" - ], - [ - [ - 2473, - 2473 - ], - "disallowed" - ], - [ - [ - 2474, - 2480 - ], - "valid" - ], - [ - [ - 2481, - 2481 - ], - "disallowed" - ], - [ - [ - 2482, - 2482 - ], - "valid" - ], - [ - [ - 2483, - 2485 - ], - "disallowed" - ], - [ - [ - 2486, - 2489 - ], - "valid" - ], - [ - [ - 2490, - 2491 - ], - "disallowed" - ], - [ - [ - 2492, - 2492 - ], - "valid" - ], - [ - [ - 2493, - 2493 - ], - "valid" - ], - [ - [ - 2494, - 2500 - ], - "valid" - ], - [ - [ - 2501, - 2502 - ], - "disallowed" - ], - [ - [ - 2503, - 2504 - ], - "valid" - ], - [ - [ - 2505, - 2506 - ], - "disallowed" - ], - [ - [ - 2507, - 2509 - ], - "valid" - ], - [ - [ - 2510, - 2510 - ], - "valid" - ], - [ - [ - 2511, - 2518 - ], - "disallowed" - ], - [ - [ - 2519, - 2519 - ], - "valid" - ], - [ - [ - 2520, - 2523 - ], - "disallowed" - ], - [ - [ - 2524, - 2524 - ], - "mapped", - [ - 2465, - 2492 - ] - ], - [ - [ - 2525, - 2525 - ], - "mapped", - [ - 2466, - 2492 - ] - ], - [ - [ - 2526, - 2526 - ], - "disallowed" - ], - [ - [ - 2527, - 2527 - ], - "mapped", - [ - 2479, - 2492 - ] - ], - [ - [ - 2528, - 2531 - ], - "valid" - ], - [ - [ - 2532, - 2533 - ], - "disallowed" - ], - [ - [ - 2534, - 2545 - ], - "valid" - ], - [ - [ - 2546, - 2554 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2555, - 2555 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2556, - 2560 - ], - "disallowed" - ], - [ - [ - 2561, - 2561 - ], - "valid" - ], - [ - [ - 2562, - 2562 - ], - "valid" - ], - [ - [ - 2563, - 2563 - ], - "valid" - ], - [ - [ - 2564, - 2564 - ], - "disallowed" - ], - [ - [ - 2565, - 2570 - ], - "valid" - ], - [ - [ - 2571, - 2574 - ], - "disallowed" - ], - [ - [ - 2575, - 2576 - ], - "valid" - ], - [ - [ - 2577, - 2578 - ], - "disallowed" - ], - [ - [ - 2579, - 2600 - ], - "valid" - ], - [ - [ - 2601, - 2601 - ], - "disallowed" - ], - [ - [ - 2602, - 2608 - ], - "valid" - ], - [ - [ - 2609, - 2609 - ], - "disallowed" - ], - [ - [ - 2610, - 2610 - ], - "valid" - ], - [ - [ - 2611, - 2611 - ], - "mapped", - [ - 2610, - 2620 - ] - ], - [ - [ - 2612, - 2612 - ], - "disallowed" - ], - [ - [ - 2613, - 2613 - ], - "valid" - ], - [ - [ - 2614, - 2614 - ], - "mapped", - [ - 2616, - 2620 - ] - ], - [ - [ - 2615, - 2615 - ], - "disallowed" - ], - [ - [ - 2616, - 2617 - ], - "valid" - ], - [ - [ - 2618, - 2619 - ], - "disallowed" - ], - [ - [ - 2620, - 2620 - ], - "valid" - ], - [ - [ - 2621, - 2621 - ], - "disallowed" - ], - [ - [ - 2622, - 2626 - ], - "valid" - ], - [ - [ - 2627, - 2630 - ], - "disallowed" - ], - [ - [ - 2631, - 2632 - ], - "valid" - ], - [ - [ - 2633, - 2634 - ], - "disallowed" - ], - [ - [ - 2635, - 2637 - ], - "valid" - ], - [ - [ - 2638, - 2640 - ], - "disallowed" - ], - [ - [ - 2641, - 2641 - ], - "valid" - ], - [ - [ - 2642, - 2648 - ], - "disallowed" - ], - [ - [ - 2649, - 2649 - ], - "mapped", - [ - 2582, - 2620 - ] - ], - [ - [ - 2650, - 2650 - ], - "mapped", - [ - 2583, - 2620 - ] - ], - [ - [ - 2651, - 2651 - ], - "mapped", - [ - 2588, - 2620 - ] - ], - [ - [ - 2652, - 2652 - ], - "valid" - ], - [ - [ - 2653, - 2653 - ], - "disallowed" - ], - [ - [ - 2654, - 2654 - ], - "mapped", - [ - 2603, - 2620 - ] - ], - [ - [ - 2655, - 2661 - ], - "disallowed" - ], - [ - [ - 2662, - 2676 - ], - "valid" - ], - [ - [ - 2677, - 2677 - ], - "valid" - ], - [ - [ - 2678, - 2688 - ], - "disallowed" - ], - [ - [ - 2689, - 2691 - ], - "valid" - ], - [ - [ - 2692, - 2692 - ], - "disallowed" - ], - [ - [ - 2693, - 2699 - ], - "valid" - ], - [ - [ - 2700, - 2700 - ], - "valid" - ], - [ - [ - 2701, - 2701 - ], - "valid" - ], - [ - [ - 2702, - 2702 - ], - "disallowed" - ], - [ - [ - 2703, - 2705 - ], - "valid" - ], - [ - [ - 2706, - 2706 - ], - "disallowed" - ], - [ - [ - 2707, - 2728 - ], - "valid" - ], - [ - [ - 2729, - 2729 - ], - "disallowed" - ], - [ - [ - 2730, - 2736 - ], - "valid" - ], - [ - [ - 2737, - 2737 - ], - "disallowed" - ], - [ - [ - 2738, - 2739 - ], - "valid" - ], - [ - [ - 2740, - 2740 - ], - "disallowed" - ], - [ - [ - 2741, - 2745 - ], - "valid" - ], - [ - [ - 2746, - 2747 - ], - "disallowed" - ], - [ - [ - 2748, - 2757 - ], - "valid" - ], - [ - [ - 2758, - 2758 - ], - "disallowed" - ], - [ - [ - 2759, - 2761 - ], - "valid" - ], - [ - [ - 2762, - 2762 - ], - "disallowed" - ], - [ - [ - 2763, - 2765 - ], - "valid" - ], - [ - [ - 2766, - 2767 - ], - "disallowed" - ], - [ - [ - 2768, - 2768 - ], - "valid" - ], - [ - [ - 2769, - 2783 - ], - "disallowed" - ], - [ - [ - 2784, - 2784 - ], - "valid" - ], - [ - [ - 2785, - 2787 - ], - "valid" - ], - [ - [ - 2788, - 2789 - ], - "disallowed" - ], - [ - [ - 2790, - 2799 - ], - "valid" - ], - [ - [ - 2800, - 2800 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2801, - 2801 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2802, - 2808 - ], - "disallowed" - ], - [ - [ - 2809, - 2809 - ], - "valid" - ], - [ - [ - 2810, - 2816 - ], - "disallowed" - ], - [ - [ - 2817, - 2819 - ], - "valid" - ], - [ - [ - 2820, - 2820 - ], - "disallowed" - ], - [ - [ - 2821, - 2828 - ], - "valid" - ], - [ - [ - 2829, - 2830 - ], - "disallowed" - ], - [ - [ - 2831, - 2832 - ], - "valid" - ], - [ - [ - 2833, - 2834 - ], - "disallowed" - ], - [ - [ - 2835, - 2856 - ], - "valid" - ], - [ - [ - 2857, - 2857 - ], - "disallowed" - ], - [ - [ - 2858, - 2864 - ], - "valid" - ], - [ - [ - 2865, - 2865 - ], - "disallowed" - ], - [ - [ - 2866, - 2867 - ], - "valid" - ], - [ - [ - 2868, - 2868 - ], - "disallowed" - ], - [ - [ - 2869, - 2869 - ], - "valid" - ], - [ - [ - 2870, - 2873 - ], - "valid" - ], - [ - [ - 2874, - 2875 - ], - "disallowed" - ], - [ - [ - 2876, - 2883 - ], - "valid" - ], - [ - [ - 2884, - 2884 - ], - "valid" - ], - [ - [ - 2885, - 2886 - ], - "disallowed" - ], - [ - [ - 2887, - 2888 - ], - "valid" - ], - [ - [ - 2889, - 2890 - ], - "disallowed" - ], - [ - [ - 2891, - 2893 - ], - "valid" - ], - [ - [ - 2894, - 2901 - ], - "disallowed" - ], - [ - [ - 2902, - 2903 - ], - "valid" - ], - [ - [ - 2904, - 2907 - ], - "disallowed" - ], - [ - [ - 2908, - 2908 - ], - "mapped", - [ - 2849, - 2876 - ] - ], - [ - [ - 2909, - 2909 - ], - "mapped", - [ - 2850, - 2876 - ] - ], - [ - [ - 2910, - 2910 - ], - "disallowed" - ], - [ - [ - 2911, - 2913 - ], - "valid" - ], - [ - [ - 2914, - 2915 - ], - "valid" - ], - [ - [ - 2916, - 2917 - ], - "disallowed" - ], - [ - [ - 2918, - 2927 - ], - "valid" - ], - [ - [ - 2928, - 2928 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2929, - 2929 - ], - "valid" - ], - [ - [ - 2930, - 2935 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2936, - 2945 - ], - "disallowed" - ], - [ - [ - 2946, - 2947 - ], - "valid" - ], - [ - [ - 2948, - 2948 - ], - "disallowed" - ], - [ - [ - 2949, - 2954 - ], - "valid" - ], - [ - [ - 2955, - 2957 - ], - "disallowed" - ], - [ - [ - 2958, - 2960 - ], - "valid" - ], - [ - [ - 2961, - 2961 - ], - "disallowed" - ], - [ - [ - 2962, - 2965 - ], - "valid" - ], - [ - [ - 2966, - 2968 - ], - "disallowed" - ], - [ - [ - 2969, - 2970 - ], - "valid" - ], - [ - [ - 2971, - 2971 - ], - "disallowed" - ], - [ - [ - 2972, - 2972 - ], - "valid" - ], - [ - [ - 2973, - 2973 - ], - "disallowed" - ], - [ - [ - 2974, - 2975 - ], - "valid" - ], - [ - [ - 2976, - 2978 - ], - "disallowed" - ], - [ - [ - 2979, - 2980 - ], - "valid" - ], - [ - [ - 2981, - 2983 - ], - "disallowed" - ], - [ - [ - 2984, - 2986 - ], - "valid" - ], - [ - [ - 2987, - 2989 - ], - "disallowed" - ], - [ - [ - 2990, - 2997 - ], - "valid" - ], - [ - [ - 2998, - 2998 - ], - "valid" - ], - [ - [ - 2999, - 3001 - ], - "valid" - ], - [ - [ - 3002, - 3005 - ], - "disallowed" - ], - [ - [ - 3006, - 3010 - ], - "valid" - ], - [ - [ - 3011, - 3013 - ], - "disallowed" - ], - [ - [ - 3014, - 3016 - ], - "valid" - ], - [ - [ - 3017, - 3017 - ], - "disallowed" - ], - [ - [ - 3018, - 3021 - ], - "valid" - ], - [ - [ - 3022, - 3023 - ], - "disallowed" - ], - [ - [ - 3024, - 3024 - ], - "valid" - ], - [ - [ - 3025, - 3030 - ], - "disallowed" - ], - [ - [ - 3031, - 3031 - ], - "valid" - ], - [ - [ - 3032, - 3045 - ], - "disallowed" - ], - [ - [ - 3046, - 3046 - ], - "valid" - ], - [ - [ - 3047, - 3055 - ], - "valid" - ], - [ - [ - 3056, - 3058 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3059, - 3066 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3067, - 3071 - ], - "disallowed" - ], - [ - [ - 3072, - 3072 - ], - "valid" - ], - [ - [ - 3073, - 3075 - ], - "valid" - ], - [ - [ - 3076, - 3076 - ], - "disallowed" - ], - [ - [ - 3077, - 3084 - ], - "valid" - ], - [ - [ - 3085, - 3085 - ], - "disallowed" - ], - [ - [ - 3086, - 3088 - ], - "valid" - ], - [ - [ - 3089, - 3089 - ], - "disallowed" - ], - [ - [ - 3090, - 3112 - ], - "valid" - ], - [ - [ - 3113, - 3113 - ], - "disallowed" - ], - [ - [ - 3114, - 3123 - ], - "valid" - ], - [ - [ - 3124, - 3124 - ], - "valid" - ], - [ - [ - 3125, - 3129 - ], - "valid" - ], - [ - [ - 3130, - 3132 - ], - "disallowed" - ], - [ - [ - 3133, - 3133 - ], - "valid" - ], - [ - [ - 3134, - 3140 - ], - "valid" - ], - [ - [ - 3141, - 3141 - ], - "disallowed" - ], - [ - [ - 3142, - 3144 - ], - "valid" - ], - [ - [ - 3145, - 3145 - ], - "disallowed" - ], - [ - [ - 3146, - 3149 - ], - "valid" - ], - [ - [ - 3150, - 3156 - ], - "disallowed" - ], - [ - [ - 3157, - 3158 - ], - "valid" - ], - [ - [ - 3159, - 3159 - ], - "disallowed" - ], - [ - [ - 3160, - 3161 - ], - "valid" - ], - [ - [ - 3162, - 3162 - ], - "valid" - ], - [ - [ - 3163, - 3167 - ], - "disallowed" - ], - [ - [ - 3168, - 3169 - ], - "valid" - ], - [ - [ - 3170, - 3171 - ], - "valid" - ], - [ - [ - 3172, - 3173 - ], - "disallowed" - ], - [ - [ - 3174, - 3183 - ], - "valid" - ], - [ - [ - 3184, - 3191 - ], - "disallowed" - ], - [ - [ - 3192, - 3199 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3200, - 3200 - ], - "disallowed" - ], - [ - [ - 3201, - 3201 - ], - "valid" - ], - [ - [ - 3202, - 3203 - ], - "valid" - ], - [ - [ - 3204, - 3204 - ], - "disallowed" - ], - [ - [ - 3205, - 3212 - ], - "valid" - ], - [ - [ - 3213, - 3213 - ], - "disallowed" - ], - [ - [ - 3214, - 3216 - ], - "valid" - ], - [ - [ - 3217, - 3217 - ], - "disallowed" - ], - [ - [ - 3218, - 3240 - ], - "valid" - ], - [ - [ - 3241, - 3241 - ], - "disallowed" - ], - [ - [ - 3242, - 3251 - ], - "valid" - ], - [ - [ - 3252, - 3252 - ], - "disallowed" - ], - [ - [ - 3253, - 3257 - ], - "valid" - ], - [ - [ - 3258, - 3259 - ], - "disallowed" - ], - [ - [ - 3260, - 3261 - ], - "valid" - ], - [ - [ - 3262, - 3268 - ], - "valid" - ], - [ - [ - 3269, - 3269 - ], - "disallowed" - ], - [ - [ - 3270, - 3272 - ], - "valid" - ], - [ - [ - 3273, - 3273 - ], - "disallowed" - ], - [ - [ - 3274, - 3277 - ], - "valid" - ], - [ - [ - 3278, - 3284 - ], - "disallowed" - ], - [ - [ - 3285, - 3286 - ], - "valid" - ], - [ - [ - 3287, - 3293 - ], - "disallowed" - ], - [ - [ - 3294, - 3294 - ], - "valid" - ], - [ - [ - 3295, - 3295 - ], - "disallowed" - ], - [ - [ - 3296, - 3297 - ], - "valid" - ], - [ - [ - 3298, - 3299 - ], - "valid" - ], - [ - [ - 3300, - 3301 - ], - "disallowed" - ], - [ - [ - 3302, - 3311 - ], - "valid" - ], - [ - [ - 3312, - 3312 - ], - "disallowed" - ], - [ - [ - 3313, - 3314 - ], - "valid" - ], - [ - [ - 3315, - 3328 - ], - "disallowed" - ], - [ - [ - 3329, - 3329 - ], - "valid" - ], - [ - [ - 3330, - 3331 - ], - "valid" - ], - [ - [ - 3332, - 3332 - ], - "disallowed" - ], - [ - [ - 3333, - 3340 - ], - "valid" - ], - [ - [ - 3341, - 3341 - ], - "disallowed" - ], - [ - [ - 3342, - 3344 - ], - "valid" - ], - [ - [ - 3345, - 3345 - ], - "disallowed" - ], - [ - [ - 3346, - 3368 - ], - "valid" - ], - [ - [ - 3369, - 3369 - ], - "valid" - ], - [ - [ - 3370, - 3385 - ], - "valid" - ], - [ - [ - 3386, - 3386 - ], - "valid" - ], - [ - [ - 3387, - 3388 - ], - "disallowed" - ], - [ - [ - 3389, - 3389 - ], - "valid" - ], - [ - [ - 3390, - 3395 - ], - "valid" - ], - [ - [ - 3396, - 3396 - ], - "valid" - ], - [ - [ - 3397, - 3397 - ], - "disallowed" - ], - [ - [ - 3398, - 3400 - ], - "valid" - ], - [ - [ - 3401, - 3401 - ], - "disallowed" - ], - [ - [ - 3402, - 3405 - ], - "valid" - ], - [ - [ - 3406, - 3406 - ], - "valid" - ], - [ - [ - 3407, - 3414 - ], - "disallowed" - ], - [ - [ - 3415, - 3415 - ], - "valid" - ], - [ - [ - 3416, - 3422 - ], - "disallowed" - ], - [ - [ - 3423, - 3423 - ], - "valid" - ], - [ - [ - 3424, - 3425 - ], - "valid" - ], - [ - [ - 3426, - 3427 - ], - "valid" - ], - [ - [ - 3428, - 3429 - ], - "disallowed" - ], - [ - [ - 3430, - 3439 - ], - "valid" - ], - [ - [ - 3440, - 3445 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3446, - 3448 - ], - "disallowed" - ], - [ - [ - 3449, - 3449 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3450, - 3455 - ], - "valid" - ], - [ - [ - 3456, - 3457 - ], - "disallowed" - ], - [ - [ - 3458, - 3459 - ], - "valid" - ], - [ - [ - 3460, - 3460 - ], - "disallowed" - ], - [ - [ - 3461, - 3478 - ], - "valid" - ], - [ - [ - 3479, - 3481 - ], - "disallowed" - ], - [ - [ - 3482, - 3505 - ], - "valid" - ], - [ - [ - 3506, - 3506 - ], - "disallowed" - ], - [ - [ - 3507, - 3515 - ], - "valid" - ], - [ - [ - 3516, - 3516 - ], - "disallowed" - ], - [ - [ - 3517, - 3517 - ], - "valid" - ], - [ - [ - 3518, - 3519 - ], - "disallowed" - ], - [ - [ - 3520, - 3526 - ], - "valid" - ], - [ - [ - 3527, - 3529 - ], - "disallowed" - ], - [ - [ - 3530, - 3530 - ], - "valid" - ], - [ - [ - 3531, - 3534 - ], - "disallowed" - ], - [ - [ - 3535, - 3540 - ], - "valid" - ], - [ - [ - 3541, - 3541 - ], - "disallowed" - ], - [ - [ - 3542, - 3542 - ], - "valid" - ], - [ - [ - 3543, - 3543 - ], - "disallowed" - ], - [ - [ - 3544, - 3551 - ], - "valid" - ], - [ - [ - 3552, - 3557 - ], - "disallowed" - ], - [ - [ - 3558, - 3567 - ], - "valid" - ], - [ - [ - 3568, - 3569 - ], - "disallowed" - ], - [ - [ - 3570, - 3571 - ], - "valid" - ], - [ - [ - 3572, - 3572 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3573, - 3584 - ], - "disallowed" - ], - [ - [ - 3585, - 3634 - ], - "valid" - ], - [ - [ - 3635, - 3635 - ], - "mapped", - [ - 3661, - 3634 - ] - ], - [ - [ - 3636, - 3642 - ], - "valid" - ], - [ - [ - 3643, - 3646 - ], - "disallowed" - ], - [ - [ - 3647, - 3647 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3648, - 3662 - ], - "valid" - ], - [ - [ - 3663, - 3663 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3664, - 3673 - ], - "valid" - ], - [ - [ - 3674, - 3675 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3676, - 3712 - ], - "disallowed" - ], - [ - [ - 3713, - 3714 - ], - "valid" - ], - [ - [ - 3715, - 3715 - ], - "disallowed" - ], - [ - [ - 3716, - 3716 - ], - "valid" - ], - [ - [ - 3717, - 3718 - ], - "disallowed" - ], - [ - [ - 3719, - 3720 - ], - "valid" - ], - [ - [ - 3721, - 3721 - ], - "disallowed" - ], - [ - [ - 3722, - 3722 - ], - "valid" - ], - [ - [ - 3723, - 3724 - ], - "disallowed" - ], - [ - [ - 3725, - 3725 - ], - "valid" - ], - [ - [ - 3726, - 3731 - ], - "disallowed" - ], - [ - [ - 3732, - 3735 - ], - "valid" - ], - [ - [ - 3736, - 3736 - ], - "disallowed" - ], - [ - [ - 3737, - 3743 - ], - "valid" - ], - [ - [ - 3744, - 3744 - ], - "disallowed" - ], - [ - [ - 3745, - 3747 - ], - "valid" - ], - [ - [ - 3748, - 3748 - ], - "disallowed" - ], - [ - [ - 3749, - 3749 - ], - "valid" - ], - [ - [ - 3750, - 3750 - ], - "disallowed" - ], - [ - [ - 3751, - 3751 - ], - "valid" - ], - [ - [ - 3752, - 3753 - ], - "disallowed" - ], - [ - [ - 3754, - 3755 - ], - "valid" - ], - [ - [ - 3756, - 3756 - ], - "disallowed" - ], - [ - [ - 3757, - 3762 - ], - "valid" - ], - [ - [ - 3763, - 3763 - ], - "mapped", - [ - 3789, - 3762 - ] - ], - [ - [ - 3764, - 3769 - ], - "valid" - ], - [ - [ - 3770, - 3770 - ], - "disallowed" - ], - [ - [ - 3771, - 3773 - ], - "valid" - ], - [ - [ - 3774, - 3775 - ], - "disallowed" - ], - [ - [ - 3776, - 3780 - ], - "valid" - ], - [ - [ - 3781, - 3781 - ], - "disallowed" - ], - [ - [ - 3782, - 3782 - ], - "valid" - ], - [ - [ - 3783, - 3783 - ], - "disallowed" - ], - [ - [ - 3784, - 3789 - ], - "valid" - ], - [ - [ - 3790, - 3791 - ], - "disallowed" - ], - [ - [ - 3792, - 3801 - ], - "valid" - ], - [ - [ - 3802, - 3803 - ], - "disallowed" - ], - [ - [ - 3804, - 3804 - ], - "mapped", - [ - 3755, - 3737 - ] - ], - [ - [ - 3805, - 3805 - ], - "mapped", - [ - 3755, - 3745 - ] - ], - [ - [ - 3806, - 3807 - ], - "valid" - ], - [ - [ - 3808, - 3839 - ], - "disallowed" - ], - [ - [ - 3840, - 3840 - ], - "valid" - ], - [ - [ - 3841, - 3850 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3851, - 3851 - ], - "valid" - ], - [ - [ - 3852, - 3852 - ], - "mapped", - [ - 3851 - ] - ], - [ - [ - 3853, - 3863 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3864, - 3865 - ], - "valid" - ], - [ - [ - 3866, - 3871 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3872, - 3881 - ], - "valid" - ], - [ - [ - 3882, - 3892 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3893, - 3893 - ], - "valid" - ], - [ - [ - 3894, - 3894 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3895, - 3895 - ], - "valid" - ], - [ - [ - 3896, - 3896 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3897, - 3897 - ], - "valid" - ], - [ - [ - 3898, - 3901 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3902, - 3906 - ], - "valid" - ], - [ - [ - 3907, - 3907 - ], - "mapped", - [ - 3906, - 4023 - ] - ], - [ - [ - 3908, - 3911 - ], - "valid" - ], - [ - [ - 3912, - 3912 - ], - "disallowed" - ], - [ - [ - 3913, - 3916 - ], - "valid" - ], - [ - [ - 3917, - 3917 - ], - "mapped", - [ - 3916, - 4023 - ] - ], - [ - [ - 3918, - 3921 - ], - "valid" - ], - [ - [ - 3922, - 3922 - ], - "mapped", - [ - 3921, - 4023 - ] - ], - [ - [ - 3923, - 3926 - ], - "valid" - ], - [ - [ - 3927, - 3927 - ], - "mapped", - [ - 3926, - 4023 - ] - ], - [ - [ - 3928, - 3931 - ], - "valid" - ], - [ - [ - 3932, - 3932 - ], - "mapped", - [ - 3931, - 4023 - ] - ], - [ - [ - 3933, - 3944 - ], - "valid" - ], - [ - [ - 3945, - 3945 - ], - "mapped", - [ - 3904, - 4021 - ] - ], - [ - [ - 3946, - 3946 - ], - "valid" - ], - [ - [ - 3947, - 3948 - ], - "valid" - ], - [ - [ - 3949, - 3952 - ], - "disallowed" - ], - [ - [ - 3953, - 3954 - ], - "valid" - ], - [ - [ - 3955, - 3955 - ], - "mapped", - [ - 3953, - 3954 - ] - ], - [ - [ - 3956, - 3956 - ], - "valid" - ], - [ - [ - 3957, - 3957 - ], - "mapped", - [ - 3953, - 3956 - ] - ], - [ - [ - 3958, - 3958 - ], - "mapped", - [ - 4018, - 3968 - ] - ], - [ - [ - 3959, - 3959 - ], - "mapped", - [ - 4018, - 3953, - 3968 - ] - ], - [ - [ - 3960, - 3960 - ], - "mapped", - [ - 4019, - 3968 - ] - ], - [ - [ - 3961, - 3961 - ], - "mapped", - [ - 4019, - 3953, - 3968 - ] - ], - [ - [ - 3962, - 3968 - ], - "valid" - ], - [ - [ - 3969, - 3969 - ], - "mapped", - [ - 3953, - 3968 - ] - ], - [ - [ - 3970, - 3972 - ], - "valid" - ], - [ - [ - 3973, - 3973 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3974, - 3979 - ], - "valid" - ], - [ - [ - 3980, - 3983 - ], - "valid" - ], - [ - [ - 3984, - 3986 - ], - "valid" - ], - [ - [ - 3987, - 3987 - ], - "mapped", - [ - 3986, - 4023 - ] - ], - [ - [ - 3988, - 3989 - ], - "valid" - ], - [ - [ - 3990, - 3990 - ], - "valid" - ], - [ - [ - 3991, - 3991 - ], - "valid" - ], - [ - [ - 3992, - 3992 - ], - "disallowed" - ], - [ - [ - 3993, - 3996 - ], - "valid" - ], - [ - [ - 3997, - 3997 - ], - "mapped", - [ - 3996, - 4023 - ] - ], - [ - [ - 3998, - 4001 - ], - "valid" - ], - [ - [ - 4002, - 4002 - ], - "mapped", - [ - 4001, - 4023 - ] - ], - [ - [ - 4003, - 4006 - ], - "valid" - ], - [ - [ - 4007, - 4007 - ], - "mapped", - [ - 4006, - 4023 - ] - ], - [ - [ - 4008, - 4011 - ], - "valid" - ], - [ - [ - 4012, - 4012 - ], - "mapped", - [ - 4011, - 4023 - ] - ], - [ - [ - 4013, - 4013 - ], - "valid" - ], - [ - [ - 4014, - 4016 - ], - "valid" - ], - [ - [ - 4017, - 4023 - ], - "valid" - ], - [ - [ - 4024, - 4024 - ], - "valid" - ], - [ - [ - 4025, - 4025 - ], - "mapped", - [ - 3984, - 4021 - ] - ], - [ - [ - 4026, - 4028 - ], - "valid" - ], - [ - [ - 4029, - 4029 - ], - "disallowed" - ], - [ - [ - 4030, - 4037 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4038, - 4038 - ], - "valid" - ], - [ - [ - 4039, - 4044 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4045, - 4045 - ], - "disallowed" - ], - [ - [ - 4046, - 4046 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4047, - 4047 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4048, - 4049 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4050, - 4052 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4053, - 4056 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4057, - 4058 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4059, - 4095 - ], - "disallowed" - ], - [ - [ - 4096, - 4129 - ], - "valid" - ], - [ - [ - 4130, - 4130 - ], - "valid" - ], - [ - [ - 4131, - 4135 - ], - "valid" - ], - [ - [ - 4136, - 4136 - ], - "valid" - ], - [ - [ - 4137, - 4138 - ], - "valid" - ], - [ - [ - 4139, - 4139 - ], - "valid" - ], - [ - [ - 4140, - 4146 - ], - "valid" - ], - [ - [ - 4147, - 4149 - ], - "valid" - ], - [ - [ - 4150, - 4153 - ], - "valid" - ], - [ - [ - 4154, - 4159 - ], - "valid" - ], - [ - [ - 4160, - 4169 - ], - "valid" - ], - [ - [ - 4170, - 4175 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4176, - 4185 - ], - "valid" - ], - [ - [ - 4186, - 4249 - ], - "valid" - ], - [ - [ - 4250, - 4253 - ], - "valid" - ], - [ - [ - 4254, - 4255 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4256, - 4293 - ], - "disallowed" - ], - [ - [ - 4294, - 4294 - ], - "disallowed" - ], - [ - [ - 4295, - 4295 - ], - "mapped", - [ - 11559 - ] - ], - [ - [ - 4296, - 4300 - ], - "disallowed" - ], - [ - [ - 4301, - 4301 - ], - "mapped", - [ - 11565 - ] - ], - [ - [ - 4302, - 4303 - ], - "disallowed" - ], - [ - [ - 4304, - 4342 - ], - "valid" - ], - [ - [ - 4343, - 4344 - ], - "valid" - ], - [ - [ - 4345, - 4346 - ], - "valid" - ], - [ - [ - 4347, - 4347 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4348, - 4348 - ], - "mapped", - [ - 4316 - ] - ], - [ - [ - 4349, - 4351 - ], - "valid" - ], - [ - [ - 4352, - 4441 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4442, - 4446 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4447, - 4448 - ], - "disallowed" - ], - [ - [ - 4449, - 4514 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4515, - 4519 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4520, - 4601 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4602, - 4607 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4608, - 4614 - ], - "valid" - ], - [ - [ - 4615, - 4615 - ], - "valid" - ], - [ - [ - 4616, - 4678 - ], - "valid" - ], - [ - [ - 4679, - 4679 - ], - "valid" - ], - [ - [ - 4680, - 4680 - ], - "valid" - ], - [ - [ - 4681, - 4681 - ], - "disallowed" - ], - [ - [ - 4682, - 4685 - ], - "valid" - ], - [ - [ - 4686, - 4687 - ], - "disallowed" - ], - [ - [ - 4688, - 4694 - ], - "valid" - ], - [ - [ - 4695, - 4695 - ], - "disallowed" - ], - [ - [ - 4696, - 4696 - ], - "valid" - ], - [ - [ - 4697, - 4697 - ], - "disallowed" - ], - [ - [ - 4698, - 4701 - ], - "valid" - ], - [ - [ - 4702, - 4703 - ], - "disallowed" - ], - [ - [ - 4704, - 4742 - ], - "valid" - ], - [ - [ - 4743, - 4743 - ], - "valid" - ], - [ - [ - 4744, - 4744 - ], - "valid" - ], - [ - [ - 4745, - 4745 - ], - "disallowed" - ], - [ - [ - 4746, - 4749 - ], - "valid" - ], - [ - [ - 4750, - 4751 - ], - "disallowed" - ], - [ - [ - 4752, - 4782 - ], - "valid" - ], - [ - [ - 4783, - 4783 - ], - "valid" - ], - [ - [ - 4784, - 4784 - ], - "valid" - ], - [ - [ - 4785, - 4785 - ], - "disallowed" - ], - [ - [ - 4786, - 4789 - ], - "valid" - ], - [ - [ - 4790, - 4791 - ], - "disallowed" - ], - [ - [ - 4792, - 4798 - ], - "valid" - ], - [ - [ - 4799, - 4799 - ], - "disallowed" - ], - [ - [ - 4800, - 4800 - ], - "valid" - ], - [ - [ - 4801, - 4801 - ], - "disallowed" - ], - [ - [ - 4802, - 4805 - ], - "valid" - ], - [ - [ - 4806, - 4807 - ], - "disallowed" - ], - [ - [ - 4808, - 4814 - ], - "valid" - ], - [ - [ - 4815, - 4815 - ], - "valid" - ], - [ - [ - 4816, - 4822 - ], - "valid" - ], - [ - [ - 4823, - 4823 - ], - "disallowed" - ], - [ - [ - 4824, - 4846 - ], - "valid" - ], - [ - [ - 4847, - 4847 - ], - "valid" - ], - [ - [ - 4848, - 4878 - ], - "valid" - ], - [ - [ - 4879, - 4879 - ], - "valid" - ], - [ - [ - 4880, - 4880 - ], - "valid" - ], - [ - [ - 4881, - 4881 - ], - "disallowed" - ], - [ - [ - 4882, - 4885 - ], - "valid" - ], - [ - [ - 4886, - 4887 - ], - "disallowed" - ], - [ - [ - 4888, - 4894 - ], - "valid" - ], - [ - [ - 4895, - 4895 - ], - "valid" - ], - [ - [ - 4896, - 4934 - ], - "valid" - ], - [ - [ - 4935, - 4935 - ], - "valid" - ], - [ - [ - 4936, - 4954 - ], - "valid" - ], - [ - [ - 4955, - 4956 - ], - "disallowed" - ], - [ - [ - 4957, - 4958 - ], - "valid" - ], - [ - [ - 4959, - 4959 - ], - "valid" - ], - [ - [ - 4960, - 4960 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4961, - 4988 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4989, - 4991 - ], - "disallowed" - ], - [ - [ - 4992, - 5007 - ], - "valid" - ], - [ - [ - 5008, - 5017 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5018, - 5023 - ], - "disallowed" - ], - [ - [ - 5024, - 5108 - ], - "valid" - ], - [ - [ - 5109, - 5109 - ], - "valid" - ], - [ - [ - 5110, - 5111 - ], - "disallowed" - ], - [ - [ - 5112, - 5112 - ], - "mapped", - [ - 5104 - ] - ], - [ - [ - 5113, - 5113 - ], - "mapped", - [ - 5105 - ] - ], - [ - [ - 5114, - 5114 - ], - "mapped", - [ - 5106 - ] - ], - [ - [ - 5115, - 5115 - ], - "mapped", - [ - 5107 - ] - ], - [ - [ - 5116, - 5116 - ], - "mapped", - [ - 5108 - ] - ], - [ - [ - 5117, - 5117 - ], - "mapped", - [ - 5109 - ] - ], - [ - [ - 5118, - 5119 - ], - "disallowed" - ], - [ - [ - 5120, - 5120 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5121, - 5740 - ], - "valid" - ], - [ - [ - 5741, - 5742 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5743, - 5750 - ], - "valid" - ], - [ - [ - 5751, - 5759 - ], - "valid" - ], - [ - [ - 5760, - 5760 - ], - "disallowed" - ], - [ - [ - 5761, - 5786 - ], - "valid" - ], - [ - [ - 5787, - 5788 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5789, - 5791 - ], - "disallowed" - ], - [ - [ - 5792, - 5866 - ], - "valid" - ], - [ - [ - 5867, - 5872 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5873, - 5880 - ], - "valid" - ], - [ - [ - 5881, - 5887 - ], - "disallowed" - ], - [ - [ - 5888, - 5900 - ], - "valid" - ], - [ - [ - 5901, - 5901 - ], - "disallowed" - ], - [ - [ - 5902, - 5908 - ], - "valid" - ], - [ - [ - 5909, - 5919 - ], - "disallowed" - ], - [ - [ - 5920, - 5940 - ], - "valid" - ], - [ - [ - 5941, - 5942 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5943, - 5951 - ], - "disallowed" - ], - [ - [ - 5952, - 5971 - ], - "valid" - ], - [ - [ - 5972, - 5983 - ], - "disallowed" - ], - [ - [ - 5984, - 5996 - ], - "valid" - ], - [ - [ - 5997, - 5997 - ], - "disallowed" - ], - [ - [ - 5998, - 6000 - ], - "valid" - ], - [ - [ - 6001, - 6001 - ], - "disallowed" - ], - [ - [ - 6002, - 6003 - ], - "valid" - ], - [ - [ - 6004, - 6015 - ], - "disallowed" - ], - [ - [ - 6016, - 6067 - ], - "valid" - ], - [ - [ - 6068, - 6069 - ], - "disallowed" - ], - [ - [ - 6070, - 6099 - ], - "valid" - ], - [ - [ - 6100, - 6102 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6103, - 6103 - ], - "valid" - ], - [ - [ - 6104, - 6107 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6108, - 6108 - ], - "valid" - ], - [ - [ - 6109, - 6109 - ], - "valid" - ], - [ - [ - 6110, - 6111 - ], - "disallowed" - ], - [ - [ - 6112, - 6121 - ], - "valid" - ], - [ - [ - 6122, - 6127 - ], - "disallowed" - ], - [ - [ - 6128, - 6137 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6138, - 6143 - ], - "disallowed" - ], - [ - [ - 6144, - 6149 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6150, - 6150 - ], - "disallowed" - ], - [ - [ - 6151, - 6154 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6155, - 6157 - ], - "ignored" - ], - [ - [ - 6158, - 6158 - ], - "disallowed" - ], - [ - [ - 6159, - 6159 - ], - "disallowed" - ], - [ - [ - 6160, - 6169 - ], - "valid" - ], - [ - [ - 6170, - 6175 - ], - "disallowed" - ], - [ - [ - 6176, - 6263 - ], - "valid" - ], - [ - [ - 6264, - 6271 - ], - "disallowed" - ], - [ - [ - 6272, - 6313 - ], - "valid" - ], - [ - [ - 6314, - 6314 - ], - "valid" - ], - [ - [ - 6315, - 6319 - ], - "disallowed" - ], - [ - [ - 6320, - 6389 - ], - "valid" - ], - [ - [ - 6390, - 6399 - ], - "disallowed" - ], - [ - [ - 6400, - 6428 - ], - "valid" - ], - [ - [ - 6429, - 6430 - ], - "valid" - ], - [ - [ - 6431, - 6431 - ], - "disallowed" - ], - [ - [ - 6432, - 6443 - ], - "valid" - ], - [ - [ - 6444, - 6447 - ], - "disallowed" - ], - [ - [ - 6448, - 6459 - ], - "valid" - ], - [ - [ - 6460, - 6463 - ], - "disallowed" - ], - [ - [ - 6464, - 6464 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6465, - 6467 - ], - "disallowed" - ], - [ - [ - 6468, - 6469 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6470, - 6509 - ], - "valid" - ], - [ - [ - 6510, - 6511 - ], - "disallowed" - ], - [ - [ - 6512, - 6516 - ], - "valid" - ], - [ - [ - 6517, - 6527 - ], - "disallowed" - ], - [ - [ - 6528, - 6569 - ], - "valid" - ], - [ - [ - 6570, - 6571 - ], - "valid" - ], - [ - [ - 6572, - 6575 - ], - "disallowed" - ], - [ - [ - 6576, - 6601 - ], - "valid" - ], - [ - [ - 6602, - 6607 - ], - "disallowed" - ], - [ - [ - 6608, - 6617 - ], - "valid" - ], - [ - [ - 6618, - 6618 - ], - "valid", - [ - ], - "XV8" - ], - [ - [ - 6619, - 6621 - ], - "disallowed" - ], - [ - [ - 6622, - 6623 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6624, - 6655 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6656, - 6683 - ], - "valid" - ], - [ - [ - 6684, - 6685 - ], - "disallowed" - ], - [ - [ - 6686, - 6687 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6688, - 6750 - ], - "valid" - ], - [ - [ - 6751, - 6751 - ], - "disallowed" - ], - [ - [ - 6752, - 6780 - ], - "valid" - ], - [ - [ - 6781, - 6782 - ], - "disallowed" - ], - [ - [ - 6783, - 6793 - ], - "valid" - ], - [ - [ - 6794, - 6799 - ], - "disallowed" - ], - [ - [ - 6800, - 6809 - ], - "valid" - ], - [ - [ - 6810, - 6815 - ], - "disallowed" - ], - [ - [ - 6816, - 6822 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6823, - 6823 - ], - "valid" - ], - [ - [ - 6824, - 6829 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6830, - 6831 - ], - "disallowed" - ], - [ - [ - 6832, - 6845 - ], - "valid" - ], - [ - [ - 6846, - 6846 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6847, - 6911 - ], - "disallowed" - ], - [ - [ - 6912, - 6987 - ], - "valid" - ], - [ - [ - 6988, - 6991 - ], - "disallowed" - ], - [ - [ - 6992, - 7001 - ], - "valid" - ], - [ - [ - 7002, - 7018 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7019, - 7027 - ], - "valid" - ], - [ - [ - 7028, - 7036 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7037, - 7039 - ], - "disallowed" - ], - [ - [ - 7040, - 7082 - ], - "valid" - ], - [ - [ - 7083, - 7085 - ], - "valid" - ], - [ - [ - 7086, - 7097 - ], - "valid" - ], - [ - [ - 7098, - 7103 - ], - "valid" - ], - [ - [ - 7104, - 7155 - ], - "valid" - ], - [ - [ - 7156, - 7163 - ], - "disallowed" - ], - [ - [ - 7164, - 7167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7168, - 7223 - ], - "valid" - ], - [ - [ - 7224, - 7226 - ], - "disallowed" - ], - [ - [ - 7227, - 7231 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7232, - 7241 - ], - "valid" - ], - [ - [ - 7242, - 7244 - ], - "disallowed" - ], - [ - [ - 7245, - 7293 - ], - "valid" - ], - [ - [ - 7294, - 7295 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7296, - 7359 - ], - "disallowed" - ], - [ - [ - 7360, - 7367 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7368, - 7375 - ], - "disallowed" - ], - [ - [ - 7376, - 7378 - ], - "valid" - ], - [ - [ - 7379, - 7379 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7380, - 7410 - ], - "valid" - ], - [ - [ - 7411, - 7414 - ], - "valid" - ], - [ - [ - 7415, - 7415 - ], - "disallowed" - ], - [ - [ - 7416, - 7417 - ], - "valid" - ], - [ - [ - 7418, - 7423 - ], - "disallowed" - ], - [ - [ - 7424, - 7467 - ], - "valid" - ], - [ - [ - 7468, - 7468 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 7469, - 7469 - ], - "mapped", - [ - 230 - ] - ], - [ - [ - 7470, - 7470 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 7471, - 7471 - ], - "valid" - ], - [ - [ - 7472, - 7472 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 7473, - 7473 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 7474, - 7474 - ], - "mapped", - [ - 477 - ] - ], - [ - [ - 7475, - 7475 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 7476, - 7476 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 7477, - 7477 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 7478, - 7478 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 7479, - 7479 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 7480, - 7480 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 7481, - 7481 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 7482, - 7482 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 7483, - 7483 - ], - "valid" - ], - [ - [ - 7484, - 7484 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 7485, - 7485 - ], - "mapped", - [ - 547 - ] - ], - [ - [ - 7486, - 7486 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 7487, - 7487 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 7488, - 7488 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 7489, - 7489 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 7490, - 7490 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 7491, - 7491 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 7492, - 7492 - ], - "mapped", - [ - 592 - ] - ], - [ - [ - 7493, - 7493 - ], - "mapped", - [ - 593 - ] - ], - [ - [ - 7494, - 7494 - ], - "mapped", - [ - 7426 - ] - ], - [ - [ - 7495, - 7495 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 7496, - 7496 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 7497, - 7497 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 7498, - 7498 - ], - "mapped", - [ - 601 - ] - ], - [ - [ - 7499, - 7499 - ], - "mapped", - [ - 603 - ] - ], - [ - [ - 7500, - 7500 - ], - "mapped", - [ - 604 - ] - ], - [ - [ - 7501, - 7501 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 7502, - 7502 - ], - "valid" - ], - [ - [ - 7503, - 7503 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 7504, - 7504 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 7505, - 7505 - ], - "mapped", - [ - 331 - ] - ], - [ - [ - 7506, - 7506 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 7507, - 7507 - ], - "mapped", - [ - 596 - ] - ], - [ - [ - 7508, - 7508 - ], - "mapped", - [ - 7446 - ] - ], - [ - [ - 7509, - 7509 - ], - "mapped", - [ - 7447 - ] - ], - [ - [ - 7510, - 7510 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 7511, - 7511 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 7512, - 7512 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 7513, - 7513 - ], - "mapped", - [ - 7453 - ] - ], - [ - [ - 7514, - 7514 - ], - "mapped", - [ - 623 - ] - ], - [ - [ - 7515, - 7515 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 7516, - 7516 - ], - "mapped", - [ - 7461 - ] - ], - [ - [ - 7517, - 7517 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 7518, - 7518 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 7519, - 7519 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 7520, - 7520 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 7521, - 7521 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 7522, - 7522 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 7523, - 7523 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 7524, - 7524 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 7525, - 7525 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 7526, - 7526 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 7527, - 7527 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 7528, - 7528 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 7529, - 7529 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 7530, - 7530 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 7531, - 7531 - ], - "valid" - ], - [ - [ - 7532, - 7543 - ], - "valid" - ], - [ - [ - 7544, - 7544 - ], - "mapped", - [ - 1085 - ] - ], - [ - [ - 7545, - 7578 - ], - "valid" - ], - [ - [ - 7579, - 7579 - ], - "mapped", - [ - 594 - ] - ], - [ - [ - 7580, - 7580 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 7581, - 7581 - ], - "mapped", - [ - 597 - ] - ], - [ - [ - 7582, - 7582 - ], - "mapped", - [ - 240 - ] - ], - [ - [ - 7583, - 7583 - ], - "mapped", - [ - 604 - ] - ], - [ - [ - 7584, - 7584 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 7585, - 7585 - ], - "mapped", - [ - 607 - ] - ], - [ - [ - 7586, - 7586 - ], - "mapped", - [ - 609 - ] - ], - [ - [ - 7587, - 7587 - ], - "mapped", - [ - 613 - ] - ], - [ - [ - 7588, - 7588 - ], - "mapped", - [ - 616 - ] - ], - [ - [ - 7589, - 7589 - ], - "mapped", - [ - 617 - ] - ], - [ - [ - 7590, - 7590 - ], - "mapped", - [ - 618 - ] - ], - [ - [ - 7591, - 7591 - ], - "mapped", - [ - 7547 - ] - ], - [ - [ - 7592, - 7592 - ], - "mapped", - [ - 669 - ] - ], - [ - [ - 7593, - 7593 - ], - "mapped", - [ - 621 - ] - ], - [ - [ - 7594, - 7594 - ], - "mapped", - [ - 7557 - ] - ], - [ - [ - 7595, - 7595 - ], - "mapped", - [ - 671 - ] - ], - [ - [ - 7596, - 7596 - ], - "mapped", - [ - 625 - ] - ], - [ - [ - 7597, - 7597 - ], - "mapped", - [ - 624 - ] - ], - [ - [ - 7598, - 7598 - ], - "mapped", - [ - 626 - ] - ], - [ - [ - 7599, - 7599 - ], - "mapped", - [ - 627 - ] - ], - [ - [ - 7600, - 7600 - ], - "mapped", - [ - 628 - ] - ], - [ - [ - 7601, - 7601 - ], - "mapped", - [ - 629 - ] - ], - [ - [ - 7602, - 7602 - ], - "mapped", - [ - 632 - ] - ], - [ - [ - 7603, - 7603 - ], - "mapped", - [ - 642 - ] - ], - [ - [ - 7604, - 7604 - ], - "mapped", - [ - 643 - ] - ], - [ - [ - 7605, - 7605 - ], - "mapped", - [ - 427 - ] - ], - [ - [ - 7606, - 7606 - ], - "mapped", - [ - 649 - ] - ], - [ - [ - 7607, - 7607 - ], - "mapped", - [ - 650 - ] - ], - [ - [ - 7608, - 7608 - ], - "mapped", - [ - 7452 - ] - ], - [ - [ - 7609, - 7609 - ], - "mapped", - [ - 651 - ] - ], - [ - [ - 7610, - 7610 - ], - "mapped", - [ - 652 - ] - ], - [ - [ - 7611, - 7611 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 7612, - 7612 - ], - "mapped", - [ - 656 - ] - ], - [ - [ - 7613, - 7613 - ], - "mapped", - [ - 657 - ] - ], - [ - [ - 7614, - 7614 - ], - "mapped", - [ - 658 - ] - ], - [ - [ - 7615, - 7615 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 7616, - 7619 - ], - "valid" - ], - [ - [ - 7620, - 7626 - ], - "valid" - ], - [ - [ - 7627, - 7654 - ], - "valid" - ], - [ - [ - 7655, - 7669 - ], - "valid" - ], - [ - [ - 7670, - 7675 - ], - "disallowed" - ], - [ - [ - 7676, - 7676 - ], - "valid" - ], - [ - [ - 7677, - 7677 - ], - "valid" - ], - [ - [ - 7678, - 7679 - ], - "valid" - ], - [ - [ - 7680, - 7680 - ], - "mapped", - [ - 7681 - ] - ], - [ - [ - 7681, - 7681 - ], - "valid" - ], - [ - [ - 7682, - 7682 - ], - "mapped", - [ - 7683 - ] - ], - [ - [ - 7683, - 7683 - ], - "valid" - ], - [ - [ - 7684, - 7684 - ], - "mapped", - [ - 7685 - ] - ], - [ - [ - 7685, - 7685 - ], - "valid" - ], - [ - [ - 7686, - 7686 - ], - "mapped", - [ - 7687 - ] - ], - [ - [ - 7687, - 7687 - ], - "valid" - ], - [ - [ - 7688, - 7688 - ], - "mapped", - [ - 7689 - ] - ], - [ - [ - 7689, - 7689 - ], - "valid" - ], - [ - [ - 7690, - 7690 - ], - "mapped", - [ - 7691 - ] - ], - [ - [ - 7691, - 7691 - ], - "valid" - ], - [ - [ - 7692, - 7692 - ], - "mapped", - [ - 7693 - ] - ], - [ - [ - 7693, - 7693 - ], - "valid" - ], - [ - [ - 7694, - 7694 - ], - "mapped", - [ - 7695 - ] - ], - [ - [ - 7695, - 7695 - ], - "valid" - ], - [ - [ - 7696, - 7696 - ], - "mapped", - [ - 7697 - ] - ], - [ - [ - 7697, - 7697 - ], - "valid" - ], - [ - [ - 7698, - 7698 - ], - "mapped", - [ - 7699 - ] - ], - [ - [ - 7699, - 7699 - ], - "valid" - ], - [ - [ - 7700, - 7700 - ], - "mapped", - [ - 7701 - ] - ], - [ - [ - 7701, - 7701 - ], - "valid" - ], - [ - [ - 7702, - 7702 - ], - "mapped", - [ - 7703 - ] - ], - [ - [ - 7703, - 7703 - ], - "valid" - ], - [ - [ - 7704, - 7704 - ], - "mapped", - [ - 7705 - ] - ], - [ - [ - 7705, - 7705 - ], - "valid" - ], - [ - [ - 7706, - 7706 - ], - "mapped", - [ - 7707 - ] - ], - [ - [ - 7707, - 7707 - ], - "valid" - ], - [ - [ - 7708, - 7708 - ], - "mapped", - [ - 7709 - ] - ], - [ - [ - 7709, - 7709 - ], - "valid" - ], - [ - [ - 7710, - 7710 - ], - "mapped", - [ - 7711 - ] - ], - [ - [ - 7711, - 7711 - ], - "valid" - ], - [ - [ - 7712, - 7712 - ], - "mapped", - [ - 7713 - ] - ], - [ - [ - 7713, - 7713 - ], - "valid" - ], - [ - [ - 7714, - 7714 - ], - "mapped", - [ - 7715 - ] - ], - [ - [ - 7715, - 7715 - ], - "valid" - ], - [ - [ - 7716, - 7716 - ], - "mapped", - [ - 7717 - ] - ], - [ - [ - 7717, - 7717 - ], - "valid" - ], - [ - [ - 7718, - 7718 - ], - "mapped", - [ - 7719 - ] - ], - [ - [ - 7719, - 7719 - ], - "valid" - ], - [ - [ - 7720, - 7720 - ], - "mapped", - [ - 7721 - ] - ], - [ - [ - 7721, - 7721 - ], - "valid" - ], - [ - [ - 7722, - 7722 - ], - "mapped", - [ - 7723 - ] - ], - [ - [ - 7723, - 7723 - ], - "valid" - ], - [ - [ - 7724, - 7724 - ], - "mapped", - [ - 7725 - ] - ], - [ - [ - 7725, - 7725 - ], - "valid" - ], - [ - [ - 7726, - 7726 - ], - "mapped", - [ - 7727 - ] - ], - [ - [ - 7727, - 7727 - ], - "valid" - ], - [ - [ - 7728, - 7728 - ], - "mapped", - [ - 7729 - ] - ], - [ - [ - 7729, - 7729 - ], - "valid" - ], - [ - [ - 7730, - 7730 - ], - "mapped", - [ - 7731 - ] - ], - [ - [ - 7731, - 7731 - ], - "valid" - ], - [ - [ - 7732, - 7732 - ], - "mapped", - [ - 7733 - ] - ], - [ - [ - 7733, - 7733 - ], - "valid" - ], - [ - [ - 7734, - 7734 - ], - "mapped", - [ - 7735 - ] - ], - [ - [ - 7735, - 7735 - ], - "valid" - ], - [ - [ - 7736, - 7736 - ], - "mapped", - [ - 7737 - ] - ], - [ - [ - 7737, - 7737 - ], - "valid" - ], - [ - [ - 7738, - 7738 - ], - "mapped", - [ - 7739 - ] - ], - [ - [ - 7739, - 7739 - ], - "valid" - ], - [ - [ - 7740, - 7740 - ], - "mapped", - [ - 7741 - ] - ], - [ - [ - 7741, - 7741 - ], - "valid" - ], - [ - [ - 7742, - 7742 - ], - "mapped", - [ - 7743 - ] - ], - [ - [ - 7743, - 7743 - ], - "valid" - ], - [ - [ - 7744, - 7744 - ], - "mapped", - [ - 7745 - ] - ], - [ - [ - 7745, - 7745 - ], - "valid" - ], - [ - [ - 7746, - 7746 - ], - "mapped", - [ - 7747 - ] - ], - [ - [ - 7747, - 7747 - ], - "valid" - ], - [ - [ - 7748, - 7748 - ], - "mapped", - [ - 7749 - ] - ], - [ - [ - 7749, - 7749 - ], - "valid" - ], - [ - [ - 7750, - 7750 - ], - "mapped", - [ - 7751 - ] - ], - [ - [ - 7751, - 7751 - ], - "valid" - ], - [ - [ - 7752, - 7752 - ], - "mapped", - [ - 7753 - ] - ], - [ - [ - 7753, - 7753 - ], - "valid" - ], - [ - [ - 7754, - 7754 - ], - "mapped", - [ - 7755 - ] - ], - [ - [ - 7755, - 7755 - ], - "valid" - ], - [ - [ - 7756, - 7756 - ], - "mapped", - [ - 7757 - ] - ], - [ - [ - 7757, - 7757 - ], - "valid" - ], - [ - [ - 7758, - 7758 - ], - "mapped", - [ - 7759 - ] - ], - [ - [ - 7759, - 7759 - ], - "valid" - ], - [ - [ - 7760, - 7760 - ], - "mapped", - [ - 7761 - ] - ], - [ - [ - 7761, - 7761 - ], - "valid" - ], - [ - [ - 7762, - 7762 - ], - "mapped", - [ - 7763 - ] - ], - [ - [ - 7763, - 7763 - ], - "valid" - ], - [ - [ - 7764, - 7764 - ], - "mapped", - [ - 7765 - ] - ], - [ - [ - 7765, - 7765 - ], - "valid" - ], - [ - [ - 7766, - 7766 - ], - "mapped", - [ - 7767 - ] - ], - [ - [ - 7767, - 7767 - ], - "valid" - ], - [ - [ - 7768, - 7768 - ], - "mapped", - [ - 7769 - ] - ], - [ - [ - 7769, - 7769 - ], - "valid" - ], - [ - [ - 7770, - 7770 - ], - "mapped", - [ - 7771 - ] - ], - [ - [ - 7771, - 7771 - ], - "valid" - ], - [ - [ - 7772, - 7772 - ], - "mapped", - [ - 7773 - ] - ], - [ - [ - 7773, - 7773 - ], - "valid" - ], - [ - [ - 7774, - 7774 - ], - "mapped", - [ - 7775 - ] - ], - [ - [ - 7775, - 7775 - ], - "valid" - ], - [ - [ - 7776, - 7776 - ], - "mapped", - [ - 7777 - ] - ], - [ - [ - 7777, - 7777 - ], - "valid" - ], - [ - [ - 7778, - 7778 - ], - "mapped", - [ - 7779 - ] - ], - [ - [ - 7779, - 7779 - ], - "valid" - ], - [ - [ - 7780, - 7780 - ], - "mapped", - [ - 7781 - ] - ], - [ - [ - 7781, - 7781 - ], - "valid" - ], - [ - [ - 7782, - 7782 - ], - "mapped", - [ - 7783 - ] - ], - [ - [ - 7783, - 7783 - ], - "valid" - ], - [ - [ - 7784, - 7784 - ], - "mapped", - [ - 7785 - ] - ], - [ - [ - 7785, - 7785 - ], - "valid" - ], - [ - [ - 7786, - 7786 - ], - "mapped", - [ - 7787 - ] - ], - [ - [ - 7787, - 7787 - ], - "valid" - ], - [ - [ - 7788, - 7788 - ], - "mapped", - [ - 7789 - ] - ], - [ - [ - 7789, - 7789 - ], - "valid" - ], - [ - [ - 7790, - 7790 - ], - "mapped", - [ - 7791 - ] - ], - [ - [ - 7791, - 7791 - ], - "valid" - ], - [ - [ - 7792, - 7792 - ], - "mapped", - [ - 7793 - ] - ], - [ - [ - 7793, - 7793 - ], - "valid" - ], - [ - [ - 7794, - 7794 - ], - "mapped", - [ - 7795 - ] - ], - [ - [ - 7795, - 7795 - ], - "valid" - ], - [ - [ - 7796, - 7796 - ], - "mapped", - [ - 7797 - ] - ], - [ - [ - 7797, - 7797 - ], - "valid" - ], - [ - [ - 7798, - 7798 - ], - "mapped", - [ - 7799 - ] - ], - [ - [ - 7799, - 7799 - ], - "valid" - ], - [ - [ - 7800, - 7800 - ], - "mapped", - [ - 7801 - ] - ], - [ - [ - 7801, - 7801 - ], - "valid" - ], - [ - [ - 7802, - 7802 - ], - "mapped", - [ - 7803 - ] - ], - [ - [ - 7803, - 7803 - ], - "valid" - ], - [ - [ - 7804, - 7804 - ], - "mapped", - [ - 7805 - ] - ], - [ - [ - 7805, - 7805 - ], - "valid" - ], - [ - [ - 7806, - 7806 - ], - "mapped", - [ - 7807 - ] - ], - [ - [ - 7807, - 7807 - ], - "valid" - ], - [ - [ - 7808, - 7808 - ], - "mapped", - [ - 7809 - ] - ], - [ - [ - 7809, - 7809 - ], - "valid" - ], - [ - [ - 7810, - 7810 - ], - "mapped", - [ - 7811 - ] - ], - [ - [ - 7811, - 7811 - ], - "valid" - ], - [ - [ - 7812, - 7812 - ], - "mapped", - [ - 7813 - ] - ], - [ - [ - 7813, - 7813 - ], - "valid" - ], - [ - [ - 7814, - 7814 - ], - "mapped", - [ - 7815 - ] - ], - [ - [ - 7815, - 7815 - ], - "valid" - ], - [ - [ - 7816, - 7816 - ], - "mapped", - [ - 7817 - ] - ], - [ - [ - 7817, - 7817 - ], - "valid" - ], - [ - [ - 7818, - 7818 - ], - "mapped", - [ - 7819 - ] - ], - [ - [ - 7819, - 7819 - ], - "valid" - ], - [ - [ - 7820, - 7820 - ], - "mapped", - [ - 7821 - ] - ], - [ - [ - 7821, - 7821 - ], - "valid" - ], - [ - [ - 7822, - 7822 - ], - "mapped", - [ - 7823 - ] - ], - [ - [ - 7823, - 7823 - ], - "valid" - ], - [ - [ - 7824, - 7824 - ], - "mapped", - [ - 7825 - ] - ], - [ - [ - 7825, - 7825 - ], - "valid" - ], - [ - [ - 7826, - 7826 - ], - "mapped", - [ - 7827 - ] - ], - [ - [ - 7827, - 7827 - ], - "valid" - ], - [ - [ - 7828, - 7828 - ], - "mapped", - [ - 7829 - ] - ], - [ - [ - 7829, - 7833 - ], - "valid" - ], - [ - [ - 7834, - 7834 - ], - "mapped", - [ - 97, - 702 - ] - ], - [ - [ - 7835, - 7835 - ], - "mapped", - [ - 7777 - ] - ], - [ - [ - 7836, - 7837 - ], - "valid" - ], - [ - [ - 7838, - 7838 - ], - "mapped", - [ - 115, - 115 - ] - ], - [ - [ - 7839, - 7839 - ], - "valid" - ], - [ - [ - 7840, - 7840 - ], - "mapped", - [ - 7841 - ] - ], - [ - [ - 7841, - 7841 - ], - "valid" - ], - [ - [ - 7842, - 7842 - ], - "mapped", - [ - 7843 - ] - ], - [ - [ - 7843, - 7843 - ], - "valid" - ], - [ - [ - 7844, - 7844 - ], - "mapped", - [ - 7845 - ] - ], - [ - [ - 7845, - 7845 - ], - "valid" - ], - [ - [ - 7846, - 7846 - ], - "mapped", - [ - 7847 - ] - ], - [ - [ - 7847, - 7847 - ], - "valid" - ], - [ - [ - 7848, - 7848 - ], - "mapped", - [ - 7849 - ] - ], - [ - [ - 7849, - 7849 - ], - "valid" - ], - [ - [ - 7850, - 7850 - ], - "mapped", - [ - 7851 - ] - ], - [ - [ - 7851, - 7851 - ], - "valid" - ], - [ - [ - 7852, - 7852 - ], - "mapped", - [ - 7853 - ] - ], - [ - [ - 7853, - 7853 - ], - "valid" - ], - [ - [ - 7854, - 7854 - ], - "mapped", - [ - 7855 - ] - ], - [ - [ - 7855, - 7855 - ], - "valid" - ], - [ - [ - 7856, - 7856 - ], - "mapped", - [ - 7857 - ] - ], - [ - [ - 7857, - 7857 - ], - "valid" - ], - [ - [ - 7858, - 7858 - ], - "mapped", - [ - 7859 - ] - ], - [ - [ - 7859, - 7859 - ], - "valid" - ], - [ - [ - 7860, - 7860 - ], - "mapped", - [ - 7861 - ] - ], - [ - [ - 7861, - 7861 - ], - "valid" - ], - [ - [ - 7862, - 7862 - ], - "mapped", - [ - 7863 - ] - ], - [ - [ - 7863, - 7863 - ], - "valid" - ], - [ - [ - 7864, - 7864 - ], - "mapped", - [ - 7865 - ] - ], - [ - [ - 7865, - 7865 - ], - "valid" - ], - [ - [ - 7866, - 7866 - ], - "mapped", - [ - 7867 - ] - ], - [ - [ - 7867, - 7867 - ], - "valid" - ], - [ - [ - 7868, - 7868 - ], - "mapped", - [ - 7869 - ] - ], - [ - [ - 7869, - 7869 - ], - "valid" - ], - [ - [ - 7870, - 7870 - ], - "mapped", - [ - 7871 - ] - ], - [ - [ - 7871, - 7871 - ], - "valid" - ], - [ - [ - 7872, - 7872 - ], - "mapped", - [ - 7873 - ] - ], - [ - [ - 7873, - 7873 - ], - "valid" - ], - [ - [ - 7874, - 7874 - ], - "mapped", - [ - 7875 - ] - ], - [ - [ - 7875, - 7875 - ], - "valid" - ], - [ - [ - 7876, - 7876 - ], - "mapped", - [ - 7877 - ] - ], - [ - [ - 7877, - 7877 - ], - "valid" - ], - [ - [ - 7878, - 7878 - ], - "mapped", - [ - 7879 - ] - ], - [ - [ - 7879, - 7879 - ], - "valid" - ], - [ - [ - 7880, - 7880 - ], - "mapped", - [ - 7881 - ] - ], - [ - [ - 7881, - 7881 - ], - "valid" - ], - [ - [ - 7882, - 7882 - ], - "mapped", - [ - 7883 - ] - ], - [ - [ - 7883, - 7883 - ], - "valid" - ], - [ - [ - 7884, - 7884 - ], - "mapped", - [ - 7885 - ] - ], - [ - [ - 7885, - 7885 - ], - "valid" - ], - [ - [ - 7886, - 7886 - ], - "mapped", - [ - 7887 - ] - ], - [ - [ - 7887, - 7887 - ], - "valid" - ], - [ - [ - 7888, - 7888 - ], - "mapped", - [ - 7889 - ] - ], - [ - [ - 7889, - 7889 - ], - "valid" - ], - [ - [ - 7890, - 7890 - ], - "mapped", - [ - 7891 - ] - ], - [ - [ - 7891, - 7891 - ], - "valid" - ], - [ - [ - 7892, - 7892 - ], - "mapped", - [ - 7893 - ] - ], - [ - [ - 7893, - 7893 - ], - "valid" - ], - [ - [ - 7894, - 7894 - ], - "mapped", - [ - 7895 - ] - ], - [ - [ - 7895, - 7895 - ], - "valid" - ], - [ - [ - 7896, - 7896 - ], - "mapped", - [ - 7897 - ] - ], - [ - [ - 7897, - 7897 - ], - "valid" - ], - [ - [ - 7898, - 7898 - ], - "mapped", - [ - 7899 - ] - ], - [ - [ - 7899, - 7899 - ], - "valid" - ], - [ - [ - 7900, - 7900 - ], - "mapped", - [ - 7901 - ] - ], - [ - [ - 7901, - 7901 - ], - "valid" - ], - [ - [ - 7902, - 7902 - ], - "mapped", - [ - 7903 - ] - ], - [ - [ - 7903, - 7903 - ], - "valid" - ], - [ - [ - 7904, - 7904 - ], - "mapped", - [ - 7905 - ] - ], - [ - [ - 7905, - 7905 - ], - "valid" - ], - [ - [ - 7906, - 7906 - ], - "mapped", - [ - 7907 - ] - ], - [ - [ - 7907, - 7907 - ], - "valid" - ], - [ - [ - 7908, - 7908 - ], - "mapped", - [ - 7909 - ] - ], - [ - [ - 7909, - 7909 - ], - "valid" - ], - [ - [ - 7910, - 7910 - ], - "mapped", - [ - 7911 - ] - ], - [ - [ - 7911, - 7911 - ], - "valid" - ], - [ - [ - 7912, - 7912 - ], - "mapped", - [ - 7913 - ] - ], - [ - [ - 7913, - 7913 - ], - "valid" - ], - [ - [ - 7914, - 7914 - ], - "mapped", - [ - 7915 - ] - ], - [ - [ - 7915, - 7915 - ], - "valid" - ], - [ - [ - 7916, - 7916 - ], - "mapped", - [ - 7917 - ] - ], - [ - [ - 7917, - 7917 - ], - "valid" - ], - [ - [ - 7918, - 7918 - ], - "mapped", - [ - 7919 - ] - ], - [ - [ - 7919, - 7919 - ], - "valid" - ], - [ - [ - 7920, - 7920 - ], - "mapped", - [ - 7921 - ] - ], - [ - [ - 7921, - 7921 - ], - "valid" - ], - [ - [ - 7922, - 7922 - ], - "mapped", - [ - 7923 - ] - ], - [ - [ - 7923, - 7923 - ], - "valid" - ], - [ - [ - 7924, - 7924 - ], - "mapped", - [ - 7925 - ] - ], - [ - [ - 7925, - 7925 - ], - "valid" - ], - [ - [ - 7926, - 7926 - ], - "mapped", - [ - 7927 - ] - ], - [ - [ - 7927, - 7927 - ], - "valid" - ], - [ - [ - 7928, - 7928 - ], - "mapped", - [ - 7929 - ] - ], - [ - [ - 7929, - 7929 - ], - "valid" - ], - [ - [ - 7930, - 7930 - ], - "mapped", - [ - 7931 - ] - ], - [ - [ - 7931, - 7931 - ], - "valid" - ], - [ - [ - 7932, - 7932 - ], - "mapped", - [ - 7933 - ] - ], - [ - [ - 7933, - 7933 - ], - "valid" - ], - [ - [ - 7934, - 7934 - ], - "mapped", - [ - 7935 - ] - ], - [ - [ - 7935, - 7935 - ], - "valid" - ], - [ - [ - 7936, - 7943 - ], - "valid" - ], - [ - [ - 7944, - 7944 - ], - "mapped", - [ - 7936 - ] - ], - [ - [ - 7945, - 7945 - ], - "mapped", - [ - 7937 - ] - ], - [ - [ - 7946, - 7946 - ], - "mapped", - [ - 7938 - ] - ], - [ - [ - 7947, - 7947 - ], - "mapped", - [ - 7939 - ] - ], - [ - [ - 7948, - 7948 - ], - "mapped", - [ - 7940 - ] - ], - [ - [ - 7949, - 7949 - ], - "mapped", - [ - 7941 - ] - ], - [ - [ - 7950, - 7950 - ], - "mapped", - [ - 7942 - ] - ], - [ - [ - 7951, - 7951 - ], - "mapped", - [ - 7943 - ] - ], - [ - [ - 7952, - 7957 - ], - "valid" - ], - [ - [ - 7958, - 7959 - ], - "disallowed" - ], - [ - [ - 7960, - 7960 - ], - "mapped", - [ - 7952 - ] - ], - [ - [ - 7961, - 7961 - ], - "mapped", - [ - 7953 - ] - ], - [ - [ - 7962, - 7962 - ], - "mapped", - [ - 7954 - ] - ], - [ - [ - 7963, - 7963 - ], - "mapped", - [ - 7955 - ] - ], - [ - [ - 7964, - 7964 - ], - "mapped", - [ - 7956 - ] - ], - [ - [ - 7965, - 7965 - ], - "mapped", - [ - 7957 - ] - ], - [ - [ - 7966, - 7967 - ], - "disallowed" - ], - [ - [ - 7968, - 7975 - ], - "valid" - ], - [ - [ - 7976, - 7976 - ], - "mapped", - [ - 7968 - ] - ], - [ - [ - 7977, - 7977 - ], - "mapped", - [ - 7969 - ] - ], - [ - [ - 7978, - 7978 - ], - "mapped", - [ - 7970 - ] - ], - [ - [ - 7979, - 7979 - ], - "mapped", - [ - 7971 - ] - ], - [ - [ - 7980, - 7980 - ], - "mapped", - [ - 7972 - ] - ], - [ - [ - 7981, - 7981 - ], - "mapped", - [ - 7973 - ] - ], - [ - [ - 7982, - 7982 - ], - "mapped", - [ - 7974 - ] - ], - [ - [ - 7983, - 7983 - ], - "mapped", - [ - 7975 - ] - ], - [ - [ - 7984, - 7991 - ], - "valid" - ], - [ - [ - 7992, - 7992 - ], - "mapped", - [ - 7984 - ] - ], - [ - [ - 7993, - 7993 - ], - "mapped", - [ - 7985 - ] - ], - [ - [ - 7994, - 7994 - ], - "mapped", - [ - 7986 - ] - ], - [ - [ - 7995, - 7995 - ], - "mapped", - [ - 7987 - ] - ], - [ - [ - 7996, - 7996 - ], - "mapped", - [ - 7988 - ] - ], - [ - [ - 7997, - 7997 - ], - "mapped", - [ - 7989 - ] - ], - [ - [ - 7998, - 7998 - ], - "mapped", - [ - 7990 - ] - ], - [ - [ - 7999, - 7999 - ], - "mapped", - [ - 7991 - ] - ], - [ - [ - 8000, - 8005 - ], - "valid" - ], - [ - [ - 8006, - 8007 - ], - "disallowed" - ], - [ - [ - 8008, - 8008 - ], - "mapped", - [ - 8000 - ] - ], - [ - [ - 8009, - 8009 - ], - "mapped", - [ - 8001 - ] - ], - [ - [ - 8010, - 8010 - ], - "mapped", - [ - 8002 - ] - ], - [ - [ - 8011, - 8011 - ], - "mapped", - [ - 8003 - ] - ], - [ - [ - 8012, - 8012 - ], - "mapped", - [ - 8004 - ] - ], - [ - [ - 8013, - 8013 - ], - "mapped", - [ - 8005 - ] - ], - [ - [ - 8014, - 8015 - ], - "disallowed" - ], - [ - [ - 8016, - 8023 - ], - "valid" - ], - [ - [ - 8024, - 8024 - ], - "disallowed" - ], - [ - [ - 8025, - 8025 - ], - "mapped", - [ - 8017 - ] - ], - [ - [ - 8026, - 8026 - ], - "disallowed" - ], - [ - [ - 8027, - 8027 - ], - "mapped", - [ - 8019 - ] - ], - [ - [ - 8028, - 8028 - ], - "disallowed" - ], - [ - [ - 8029, - 8029 - ], - "mapped", - [ - 8021 - ] - ], - [ - [ - 8030, - 8030 - ], - "disallowed" - ], - [ - [ - 8031, - 8031 - ], - "mapped", - [ - 8023 - ] - ], - [ - [ - 8032, - 8039 - ], - "valid" - ], - [ - [ - 8040, - 8040 - ], - "mapped", - [ - 8032 - ] - ], - [ - [ - 8041, - 8041 - ], - "mapped", - [ - 8033 - ] - ], - [ - [ - 8042, - 8042 - ], - "mapped", - [ - 8034 - ] - ], - [ - [ - 8043, - 8043 - ], - "mapped", - [ - 8035 - ] - ], - [ - [ - 8044, - 8044 - ], - "mapped", - [ - 8036 - ] - ], - [ - [ - 8045, - 8045 - ], - "mapped", - [ - 8037 - ] - ], - [ - [ - 8046, - 8046 - ], - "mapped", - [ - 8038 - ] - ], - [ - [ - 8047, - 8047 - ], - "mapped", - [ - 8039 - ] - ], - [ - [ - 8048, - 8048 - ], - "valid" - ], - [ - [ - 8049, - 8049 - ], - "mapped", - [ - 940 - ] - ], - [ - [ - 8050, - 8050 - ], - "valid" - ], - [ - [ - 8051, - 8051 - ], - "mapped", - [ - 941 - ] - ], - [ - [ - 8052, - 8052 - ], - "valid" - ], - [ - [ - 8053, - 8053 - ], - "mapped", - [ - 942 - ] - ], - [ - [ - 8054, - 8054 - ], - "valid" - ], - [ - [ - 8055, - 8055 - ], - "mapped", - [ - 943 - ] - ], - [ - [ - 8056, - 8056 - ], - "valid" - ], - [ - [ - 8057, - 8057 - ], - "mapped", - [ - 972 - ] - ], - [ - [ - 8058, - 8058 - ], - "valid" - ], - [ - [ - 8059, - 8059 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 8060, - 8060 - ], - "valid" - ], - [ - [ - 8061, - 8061 - ], - "mapped", - [ - 974 - ] - ], - [ - [ - 8062, - 8063 - ], - "disallowed" - ], - [ - [ - 8064, - 8064 - ], - "mapped", - [ - 7936, - 953 - ] - ], - [ - [ - 8065, - 8065 - ], - "mapped", - [ - 7937, - 953 - ] - ], - [ - [ - 8066, - 8066 - ], - "mapped", - [ - 7938, - 953 - ] - ], - [ - [ - 8067, - 8067 - ], - "mapped", - [ - 7939, - 953 - ] - ], - [ - [ - 8068, - 8068 - ], - "mapped", - [ - 7940, - 953 - ] - ], - [ - [ - 8069, - 8069 - ], - "mapped", - [ - 7941, - 953 - ] - ], - [ - [ - 8070, - 8070 - ], - "mapped", - [ - 7942, - 953 - ] - ], - [ - [ - 8071, - 8071 - ], - "mapped", - [ - 7943, - 953 - ] - ], - [ - [ - 8072, - 8072 - ], - "mapped", - [ - 7936, - 953 - ] - ], - [ - [ - 8073, - 8073 - ], - "mapped", - [ - 7937, - 953 - ] - ], - [ - [ - 8074, - 8074 - ], - "mapped", - [ - 7938, - 953 - ] - ], - [ - [ - 8075, - 8075 - ], - "mapped", - [ - 7939, - 953 - ] - ], - [ - [ - 8076, - 8076 - ], - "mapped", - [ - 7940, - 953 - ] - ], - [ - [ - 8077, - 8077 - ], - "mapped", - [ - 7941, - 953 - ] - ], - [ - [ - 8078, - 8078 - ], - "mapped", - [ - 7942, - 953 - ] - ], - [ - [ - 8079, - 8079 - ], - "mapped", - [ - 7943, - 953 - ] - ], - [ - [ - 8080, - 8080 - ], - "mapped", - [ - 7968, - 953 - ] - ], - [ - [ - 8081, - 8081 - ], - "mapped", - [ - 7969, - 953 - ] - ], - [ - [ - 8082, - 8082 - ], - "mapped", - [ - 7970, - 953 - ] - ], - [ - [ - 8083, - 8083 - ], - "mapped", - [ - 7971, - 953 - ] - ], - [ - [ - 8084, - 8084 - ], - "mapped", - [ - 7972, - 953 - ] - ], - [ - [ - 8085, - 8085 - ], - "mapped", - [ - 7973, - 953 - ] - ], - [ - [ - 8086, - 8086 - ], - "mapped", - [ - 7974, - 953 - ] - ], - [ - [ - 8087, - 8087 - ], - "mapped", - [ - 7975, - 953 - ] - ], - [ - [ - 8088, - 8088 - ], - "mapped", - [ - 7968, - 953 - ] - ], - [ - [ - 8089, - 8089 - ], - "mapped", - [ - 7969, - 953 - ] - ], - [ - [ - 8090, - 8090 - ], - "mapped", - [ - 7970, - 953 - ] - ], - [ - [ - 8091, - 8091 - ], - "mapped", - [ - 7971, - 953 - ] - ], - [ - [ - 8092, - 8092 - ], - "mapped", - [ - 7972, - 953 - ] - ], - [ - [ - 8093, - 8093 - ], - "mapped", - [ - 7973, - 953 - ] - ], - [ - [ - 8094, - 8094 - ], - "mapped", - [ - 7974, - 953 - ] - ], - [ - [ - 8095, - 8095 - ], - "mapped", - [ - 7975, - 953 - ] - ], - [ - [ - 8096, - 8096 - ], - "mapped", - [ - 8032, - 953 - ] - ], - [ - [ - 8097, - 8097 - ], - "mapped", - [ - 8033, - 953 - ] - ], - [ - [ - 8098, - 8098 - ], - "mapped", - [ - 8034, - 953 - ] - ], - [ - [ - 8099, - 8099 - ], - "mapped", - [ - 8035, - 953 - ] - ], - [ - [ - 8100, - 8100 - ], - "mapped", - [ - 8036, - 953 - ] - ], - [ - [ - 8101, - 8101 - ], - "mapped", - [ - 8037, - 953 - ] - ], - [ - [ - 8102, - 8102 - ], - "mapped", - [ - 8038, - 953 - ] - ], - [ - [ - 8103, - 8103 - ], - "mapped", - [ - 8039, - 953 - ] - ], - [ - [ - 8104, - 8104 - ], - "mapped", - [ - 8032, - 953 - ] - ], - [ - [ - 8105, - 8105 - ], - "mapped", - [ - 8033, - 953 - ] - ], - [ - [ - 8106, - 8106 - ], - "mapped", - [ - 8034, - 953 - ] - ], - [ - [ - 8107, - 8107 - ], - "mapped", - [ - 8035, - 953 - ] - ], - [ - [ - 8108, - 8108 - ], - "mapped", - [ - 8036, - 953 - ] - ], - [ - [ - 8109, - 8109 - ], - "mapped", - [ - 8037, - 953 - ] - ], - [ - [ - 8110, - 8110 - ], - "mapped", - [ - 8038, - 953 - ] - ], - [ - [ - 8111, - 8111 - ], - "mapped", - [ - 8039, - 953 - ] - ], - [ - [ - 8112, - 8113 - ], - "valid" - ], - [ - [ - 8114, - 8114 - ], - "mapped", - [ - 8048, - 953 - ] - ], - [ - [ - 8115, - 8115 - ], - "mapped", - [ - 945, - 953 - ] - ], - [ - [ - 8116, - 8116 - ], - "mapped", - [ - 940, - 953 - ] - ], - [ - [ - 8117, - 8117 - ], - "disallowed" - ], - [ - [ - 8118, - 8118 - ], - "valid" - ], - [ - [ - 8119, - 8119 - ], - "mapped", - [ - 8118, - 953 - ] - ], - [ - [ - 8120, - 8120 - ], - "mapped", - [ - 8112 - ] - ], - [ - [ - 8121, - 8121 - ], - "mapped", - [ - 8113 - ] - ], - [ - [ - 8122, - 8122 - ], - "mapped", - [ - 8048 - ] - ], - [ - [ - 8123, - 8123 - ], - "mapped", - [ - 940 - ] - ], - [ - [ - 8124, - 8124 - ], - "mapped", - [ - 945, - 953 - ] - ], - [ - [ - 8125, - 8125 - ], - "disallowed_STD3_mapped", - [ - 32, - 787 - ] - ], - [ - [ - 8126, - 8126 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 8127, - 8127 - ], - "disallowed_STD3_mapped", - [ - 32, - 787 - ] - ], - [ - [ - 8128, - 8128 - ], - "disallowed_STD3_mapped", - [ - 32, - 834 - ] - ], - [ - [ - 8129, - 8129 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 834 - ] - ], - [ - [ - 8130, - 8130 - ], - "mapped", - [ - 8052, - 953 - ] - ], - [ - [ - 8131, - 8131 - ], - "mapped", - [ - 951, - 953 - ] - ], - [ - [ - 8132, - 8132 - ], - "mapped", - [ - 942, - 953 - ] - ], - [ - [ - 8133, - 8133 - ], - "disallowed" - ], - [ - [ - 8134, - 8134 - ], - "valid" - ], - [ - [ - 8135, - 8135 - ], - "mapped", - [ - 8134, - 953 - ] - ], - [ - [ - 8136, - 8136 - ], - "mapped", - [ - 8050 - ] - ], - [ - [ - 8137, - 8137 - ], - "mapped", - [ - 941 - ] - ], - [ - [ - 8138, - 8138 - ], - "mapped", - [ - 8052 - ] - ], - [ - [ - 8139, - 8139 - ], - "mapped", - [ - 942 - ] - ], - [ - [ - 8140, - 8140 - ], - "mapped", - [ - 951, - 953 - ] - ], - [ - [ - 8141, - 8141 - ], - "disallowed_STD3_mapped", - [ - 32, - 787, - 768 - ] - ], - [ - [ - 8142, - 8142 - ], - "disallowed_STD3_mapped", - [ - 32, - 787, - 769 - ] - ], - [ - [ - 8143, - 8143 - ], - "disallowed_STD3_mapped", - [ - 32, - 787, - 834 - ] - ], - [ - [ - 8144, - 8146 - ], - "valid" - ], - [ - [ - 8147, - 8147 - ], - "mapped", - [ - 912 - ] - ], - [ - [ - 8148, - 8149 - ], - "disallowed" - ], - [ - [ - 8150, - 8151 - ], - "valid" - ], - [ - [ - 8152, - 8152 - ], - "mapped", - [ - 8144 - ] - ], - [ - [ - 8153, - 8153 - ], - "mapped", - [ - 8145 - ] - ], - [ - [ - 8154, - 8154 - ], - "mapped", - [ - 8054 - ] - ], - [ - [ - 8155, - 8155 - ], - "mapped", - [ - 943 - ] - ], - [ - [ - 8156, - 8156 - ], - "disallowed" - ], - [ - [ - 8157, - 8157 - ], - "disallowed_STD3_mapped", - [ - 32, - 788, - 768 - ] - ], - [ - [ - 8158, - 8158 - ], - "disallowed_STD3_mapped", - [ - 32, - 788, - 769 - ] - ], - [ - [ - 8159, - 8159 - ], - "disallowed_STD3_mapped", - [ - 32, - 788, - 834 - ] - ], - [ - [ - 8160, - 8162 - ], - "valid" - ], - [ - [ - 8163, - 8163 - ], - "mapped", - [ - 944 - ] - ], - [ - [ - 8164, - 8167 - ], - "valid" - ], - [ - [ - 8168, - 8168 - ], - "mapped", - [ - 8160 - ] - ], - [ - [ - 8169, - 8169 - ], - "mapped", - [ - 8161 - ] - ], - [ - [ - 8170, - 8170 - ], - "mapped", - [ - 8058 - ] - ], - [ - [ - 8171, - 8171 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 8172, - 8172 - ], - "mapped", - [ - 8165 - ] - ], - [ - [ - 8173, - 8173 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 768 - ] - ], - [ - [ - 8174, - 8174 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 769 - ] - ], - [ - [ - 8175, - 8175 - ], - "disallowed_STD3_mapped", - [ - 96 - ] - ], - [ - [ - 8176, - 8177 - ], - "disallowed" - ], - [ - [ - 8178, - 8178 - ], - "mapped", - [ - 8060, - 953 - ] - ], - [ - [ - 8179, - 8179 - ], - "mapped", - [ - 969, - 953 - ] - ], - [ - [ - 8180, - 8180 - ], - "mapped", - [ - 974, - 953 - ] - ], - [ - [ - 8181, - 8181 - ], - "disallowed" - ], - [ - [ - 8182, - 8182 - ], - "valid" - ], - [ - [ - 8183, - 8183 - ], - "mapped", - [ - 8182, - 953 - ] - ], - [ - [ - 8184, - 8184 - ], - "mapped", - [ - 8056 - ] - ], - [ - [ - 8185, - 8185 - ], - "mapped", - [ - 972 - ] - ], - [ - [ - 8186, - 8186 - ], - "mapped", - [ - 8060 - ] - ], - [ - [ - 8187, - 8187 - ], - "mapped", - [ - 974 - ] - ], - [ - [ - 8188, - 8188 - ], - "mapped", - [ - 969, - 953 - ] - ], - [ - [ - 8189, - 8189 - ], - "disallowed_STD3_mapped", - [ - 32, - 769 - ] - ], - [ - [ - 8190, - 8190 - ], - "disallowed_STD3_mapped", - [ - 32, - 788 - ] - ], - [ - [ - 8191, - 8191 - ], - "disallowed" - ], - [ - [ - 8192, - 8202 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 8203, - 8203 - ], - "ignored" - ], - [ - [ - 8204, - 8205 - ], - "deviation", - [ - ] - ], - [ - [ - 8206, - 8207 - ], - "disallowed" - ], - [ - [ - 8208, - 8208 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8209, - 8209 - ], - "mapped", - [ - 8208 - ] - ], - [ - [ - 8210, - 8214 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8215, - 8215 - ], - "disallowed_STD3_mapped", - [ - 32, - 819 - ] - ], - [ - [ - 8216, - 8227 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8228, - 8230 - ], - "disallowed" - ], - [ - [ - 8231, - 8231 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8232, - 8238 - ], - "disallowed" - ], - [ - [ - 8239, - 8239 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 8240, - 8242 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8243, - 8243 - ], - "mapped", - [ - 8242, - 8242 - ] - ], - [ - [ - 8244, - 8244 - ], - "mapped", - [ - 8242, - 8242, - 8242 - ] - ], - [ - [ - 8245, - 8245 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8246, - 8246 - ], - "mapped", - [ - 8245, - 8245 - ] - ], - [ - [ - 8247, - 8247 - ], - "mapped", - [ - 8245, - 8245, - 8245 - ] - ], - [ - [ - 8248, - 8251 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8252, - 8252 - ], - "disallowed_STD3_mapped", - [ - 33, - 33 - ] - ], - [ - [ - 8253, - 8253 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8254, - 8254 - ], - "disallowed_STD3_mapped", - [ - 32, - 773 - ] - ], - [ - [ - 8255, - 8262 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8263, - 8263 - ], - "disallowed_STD3_mapped", - [ - 63, - 63 - ] - ], - [ - [ - 8264, - 8264 - ], - "disallowed_STD3_mapped", - [ - 63, - 33 - ] - ], - [ - [ - 8265, - 8265 - ], - "disallowed_STD3_mapped", - [ - 33, - 63 - ] - ], - [ - [ - 8266, - 8269 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8270, - 8274 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8275, - 8276 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8277, - 8278 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8279, - 8279 - ], - "mapped", - [ - 8242, - 8242, - 8242, - 8242 - ] - ], - [ - [ - 8280, - 8286 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8287, - 8287 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 8288, - 8288 - ], - "ignored" - ], - [ - [ - 8289, - 8291 - ], - "disallowed" - ], - [ - [ - 8292, - 8292 - ], - "ignored" - ], - [ - [ - 8293, - 8293 - ], - "disallowed" - ], - [ - [ - 8294, - 8297 - ], - "disallowed" - ], - [ - [ - 8298, - 8303 - ], - "disallowed" - ], - [ - [ - 8304, - 8304 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 8305, - 8305 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8306, - 8307 - ], - "disallowed" - ], - [ - [ - 8308, - 8308 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 8309, - 8309 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 8310, - 8310 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 8311, - 8311 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 8312, - 8312 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 8313, - 8313 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 8314, - 8314 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 8315, - 8315 - ], - "mapped", - [ - 8722 - ] - ], - [ - [ - 8316, - 8316 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 8317, - 8317 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 8318, - 8318 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 8319, - 8319 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 8320, - 8320 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 8321, - 8321 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 8322, - 8322 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 8323, - 8323 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 8324, - 8324 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 8325, - 8325 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 8326, - 8326 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 8327, - 8327 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 8328, - 8328 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 8329, - 8329 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 8330, - 8330 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 8331, - 8331 - ], - "mapped", - [ - 8722 - ] - ], - [ - [ - 8332, - 8332 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 8333, - 8333 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 8334, - 8334 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 8335, - 8335 - ], - "disallowed" - ], - [ - [ - 8336, - 8336 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 8337, - 8337 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 8338, - 8338 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 8339, - 8339 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 8340, - 8340 - ], - "mapped", - [ - 601 - ] - ], - [ - [ - 8341, - 8341 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 8342, - 8342 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 8343, - 8343 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8344, - 8344 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8345, - 8345 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 8346, - 8346 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 8347, - 8347 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 8348, - 8348 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 8349, - 8351 - ], - "disallowed" - ], - [ - [ - 8352, - 8359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8360, - 8360 - ], - "mapped", - [ - 114, - 115 - ] - ], - [ - [ - 8361, - 8362 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8363, - 8363 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8364, - 8364 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8365, - 8367 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8368, - 8369 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8370, - 8373 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8374, - 8376 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8377, - 8377 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8378, - 8378 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8379, - 8381 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8382, - 8382 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8383, - 8399 - ], - "disallowed" - ], - [ - [ - 8400, - 8417 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8418, - 8419 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8420, - 8426 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8427, - 8427 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8428, - 8431 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8432, - 8432 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8433, - 8447 - ], - "disallowed" - ], - [ - [ - 8448, - 8448 - ], - "disallowed_STD3_mapped", - [ - 97, - 47, - 99 - ] - ], - [ - [ - 8449, - 8449 - ], - "disallowed_STD3_mapped", - [ - 97, - 47, - 115 - ] - ], - [ - [ - 8450, - 8450 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8451, - 8451 - ], - "mapped", - [ - 176, - 99 - ] - ], - [ - [ - 8452, - 8452 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8453, - 8453 - ], - "disallowed_STD3_mapped", - [ - 99, - 47, - 111 - ] - ], - [ - [ - 8454, - 8454 - ], - "disallowed_STD3_mapped", - [ - 99, - 47, - 117 - ] - ], - [ - [ - 8455, - 8455 - ], - "mapped", - [ - 603 - ] - ], - [ - [ - 8456, - 8456 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8457, - 8457 - ], - "mapped", - [ - 176, - 102 - ] - ], - [ - [ - 8458, - 8458 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 8459, - 8462 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 8463, - 8463 - ], - "mapped", - [ - 295 - ] - ], - [ - [ - 8464, - 8465 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8466, - 8467 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8468, - 8468 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8469, - 8469 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 8470, - 8470 - ], - "mapped", - [ - 110, - 111 - ] - ], - [ - [ - 8471, - 8472 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8473, - 8473 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 8474, - 8474 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 8475, - 8477 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 8478, - 8479 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8480, - 8480 - ], - "mapped", - [ - 115, - 109 - ] - ], - [ - [ - 8481, - 8481 - ], - "mapped", - [ - 116, - 101, - 108 - ] - ], - [ - [ - 8482, - 8482 - ], - "mapped", - [ - 116, - 109 - ] - ], - [ - [ - 8483, - 8483 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8484, - 8484 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 8485, - 8485 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8486, - 8486 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 8487, - 8487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8488, - 8488 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 8489, - 8489 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8490, - 8490 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 8491, - 8491 - ], - "mapped", - [ - 229 - ] - ], - [ - [ - 8492, - 8492 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 8493, - 8493 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8494, - 8494 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8495, - 8496 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 8497, - 8497 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 8498, - 8498 - ], - "disallowed" - ], - [ - [ - 8499, - 8499 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8500, - 8500 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 8501, - 8501 - ], - "mapped", - [ - 1488 - ] - ], - [ - [ - 8502, - 8502 - ], - "mapped", - [ - 1489 - ] - ], - [ - [ - 8503, - 8503 - ], - "mapped", - [ - 1490 - ] - ], - [ - [ - 8504, - 8504 - ], - "mapped", - [ - 1491 - ] - ], - [ - [ - 8505, - 8505 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8506, - 8506 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8507, - 8507 - ], - "mapped", - [ - 102, - 97, - 120 - ] - ], - [ - [ - 8508, - 8508 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 8509, - 8510 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 8511, - 8511 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 8512, - 8512 - ], - "mapped", - [ - 8721 - ] - ], - [ - [ - 8513, - 8516 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8517, - 8518 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 8519, - 8519 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 8520, - 8520 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8521, - 8521 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 8522, - 8523 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8524, - 8524 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8525, - 8525 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8526, - 8526 - ], - "valid" - ], - [ - [ - 8527, - 8527 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8528, - 8528 - ], - "mapped", - [ - 49, - 8260, - 55 - ] - ], - [ - [ - 8529, - 8529 - ], - "mapped", - [ - 49, - 8260, - 57 - ] - ], - [ - [ - 8530, - 8530 - ], - "mapped", - [ - 49, - 8260, - 49, - 48 - ] - ], - [ - [ - 8531, - 8531 - ], - "mapped", - [ - 49, - 8260, - 51 - ] - ], - [ - [ - 8532, - 8532 - ], - "mapped", - [ - 50, - 8260, - 51 - ] - ], - [ - [ - 8533, - 8533 - ], - "mapped", - [ - 49, - 8260, - 53 - ] - ], - [ - [ - 8534, - 8534 - ], - "mapped", - [ - 50, - 8260, - 53 - ] - ], - [ - [ - 8535, - 8535 - ], - "mapped", - [ - 51, - 8260, - 53 - ] - ], - [ - [ - 8536, - 8536 - ], - "mapped", - [ - 52, - 8260, - 53 - ] - ], - [ - [ - 8537, - 8537 - ], - "mapped", - [ - 49, - 8260, - 54 - ] - ], - [ - [ - 8538, - 8538 - ], - "mapped", - [ - 53, - 8260, - 54 - ] - ], - [ - [ - 8539, - 8539 - ], - "mapped", - [ - 49, - 8260, - 56 - ] - ], - [ - [ - 8540, - 8540 - ], - "mapped", - [ - 51, - 8260, - 56 - ] - ], - [ - [ - 8541, - 8541 - ], - "mapped", - [ - 53, - 8260, - 56 - ] - ], - [ - [ - 8542, - 8542 - ], - "mapped", - [ - 55, - 8260, - 56 - ] - ], - [ - [ - 8543, - 8543 - ], - "mapped", - [ - 49, - 8260 - ] - ], - [ - [ - 8544, - 8544 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8545, - 8545 - ], - "mapped", - [ - 105, - 105 - ] - ], - [ - [ - 8546, - 8546 - ], - "mapped", - [ - 105, - 105, - 105 - ] - ], - [ - [ - 8547, - 8547 - ], - "mapped", - [ - 105, - 118 - ] - ], - [ - [ - 8548, - 8548 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 8549, - 8549 - ], - "mapped", - [ - 118, - 105 - ] - ], - [ - [ - 8550, - 8550 - ], - "mapped", - [ - 118, - 105, - 105 - ] - ], - [ - [ - 8551, - 8551 - ], - "mapped", - [ - 118, - 105, - 105, - 105 - ] - ], - [ - [ - 8552, - 8552 - ], - "mapped", - [ - 105, - 120 - ] - ], - [ - [ - 8553, - 8553 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 8554, - 8554 - ], - "mapped", - [ - 120, - 105 - ] - ], - [ - [ - 8555, - 8555 - ], - "mapped", - [ - 120, - 105, - 105 - ] - ], - [ - [ - 8556, - 8556 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8557, - 8557 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8558, - 8558 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 8559, - 8559 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8560, - 8560 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8561, - 8561 - ], - "mapped", - [ - 105, - 105 - ] - ], - [ - [ - 8562, - 8562 - ], - "mapped", - [ - 105, - 105, - 105 - ] - ], - [ - [ - 8563, - 8563 - ], - "mapped", - [ - 105, - 118 - ] - ], - [ - [ - 8564, - 8564 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 8565, - 8565 - ], - "mapped", - [ - 118, - 105 - ] - ], - [ - [ - 8566, - 8566 - ], - "mapped", - [ - 118, - 105, - 105 - ] - ], - [ - [ - 8567, - 8567 - ], - "mapped", - [ - 118, - 105, - 105, - 105 - ] - ], - [ - [ - 8568, - 8568 - ], - "mapped", - [ - 105, - 120 - ] - ], - [ - [ - 8569, - 8569 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 8570, - 8570 - ], - "mapped", - [ - 120, - 105 - ] - ], - [ - [ - 8571, - 8571 - ], - "mapped", - [ - 120, - 105, - 105 - ] - ], - [ - [ - 8572, - 8572 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8573, - 8573 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8574, - 8574 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 8575, - 8575 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8576, - 8578 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8579, - 8579 - ], - "disallowed" - ], - [ - [ - 8580, - 8580 - ], - "valid" - ], - [ - [ - 8581, - 8584 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8585, - 8585 - ], - "mapped", - [ - 48, - 8260, - 51 - ] - ], - [ - [ - 8586, - 8587 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8588, - 8591 - ], - "disallowed" - ], - [ - [ - 8592, - 8682 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8683, - 8691 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8692, - 8703 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8704, - 8747 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8748, - 8748 - ], - "mapped", - [ - 8747, - 8747 - ] - ], - [ - [ - 8749, - 8749 - ], - "mapped", - [ - 8747, - 8747, - 8747 - ] - ], - [ - [ - 8750, - 8750 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8751, - 8751 - ], - "mapped", - [ - 8750, - 8750 - ] - ], - [ - [ - 8752, - 8752 - ], - "mapped", - [ - 8750, - 8750, - 8750 - ] - ], - [ - [ - 8753, - 8799 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8800, - 8800 - ], - "disallowed_STD3_valid" - ], - [ - [ - 8801, - 8813 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8814, - 8815 - ], - "disallowed_STD3_valid" - ], - [ - [ - 8816, - 8945 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8946, - 8959 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8960, - 8960 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8961, - 8961 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8962, - 9000 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9001, - 9001 - ], - "mapped", - [ - 12296 - ] - ], - [ - [ - 9002, - 9002 - ], - "mapped", - [ - 12297 - ] - ], - [ - [ - 9003, - 9082 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9083, - 9083 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9084, - 9084 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9085, - 9114 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9115, - 9166 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9167, - 9168 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9169, - 9179 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9180, - 9191 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9192, - 9192 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9193, - 9203 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9204, - 9210 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9211, - 9215 - ], - "disallowed" - ], - [ - [ - 9216, - 9252 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9253, - 9254 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9255, - 9279 - ], - "disallowed" - ], - [ - [ - 9280, - 9290 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9291, - 9311 - ], - "disallowed" - ], - [ - [ - 9312, - 9312 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 9313, - 9313 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 9314, - 9314 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 9315, - 9315 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 9316, - 9316 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 9317, - 9317 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 9318, - 9318 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 9319, - 9319 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 9320, - 9320 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 9321, - 9321 - ], - "mapped", - [ - 49, - 48 - ] - ], - [ - [ - 9322, - 9322 - ], - "mapped", - [ - 49, - 49 - ] - ], - [ - [ - 9323, - 9323 - ], - "mapped", - [ - 49, - 50 - ] - ], - [ - [ - 9324, - 9324 - ], - "mapped", - [ - 49, - 51 - ] - ], - [ - [ - 9325, - 9325 - ], - "mapped", - [ - 49, - 52 - ] - ], - [ - [ - 9326, - 9326 - ], - "mapped", - [ - 49, - 53 - ] - ], - [ - [ - 9327, - 9327 - ], - "mapped", - [ - 49, - 54 - ] - ], - [ - [ - 9328, - 9328 - ], - "mapped", - [ - 49, - 55 - ] - ], - [ - [ - 9329, - 9329 - ], - "mapped", - [ - 49, - 56 - ] - ], - [ - [ - 9330, - 9330 - ], - "mapped", - [ - 49, - 57 - ] - ], - [ - [ - 9331, - 9331 - ], - "mapped", - [ - 50, - 48 - ] - ], - [ - [ - 9332, - 9332 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 41 - ] - ], - [ - [ - 9333, - 9333 - ], - "disallowed_STD3_mapped", - [ - 40, - 50, - 41 - ] - ], - [ - [ - 9334, - 9334 - ], - "disallowed_STD3_mapped", - [ - 40, - 51, - 41 - ] - ], - [ - [ - 9335, - 9335 - ], - "disallowed_STD3_mapped", - [ - 40, - 52, - 41 - ] - ], - [ - [ - 9336, - 9336 - ], - "disallowed_STD3_mapped", - [ - 40, - 53, - 41 - ] - ], - [ - [ - 9337, - 9337 - ], - "disallowed_STD3_mapped", - [ - 40, - 54, - 41 - ] - ], - [ - [ - 9338, - 9338 - ], - "disallowed_STD3_mapped", - [ - 40, - 55, - 41 - ] - ], - [ - [ - 9339, - 9339 - ], - "disallowed_STD3_mapped", - [ - 40, - 56, - 41 - ] - ], - [ - [ - 9340, - 9340 - ], - "disallowed_STD3_mapped", - [ - 40, - 57, - 41 - ] - ], - [ - [ - 9341, - 9341 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 48, - 41 - ] - ], - [ - [ - 9342, - 9342 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 49, - 41 - ] - ], - [ - [ - 9343, - 9343 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 50, - 41 - ] - ], - [ - [ - 9344, - 9344 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 51, - 41 - ] - ], - [ - [ - 9345, - 9345 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 52, - 41 - ] - ], - [ - [ - 9346, - 9346 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 53, - 41 - ] - ], - [ - [ - 9347, - 9347 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 54, - 41 - ] - ], - [ - [ - 9348, - 9348 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 55, - 41 - ] - ], - [ - [ - 9349, - 9349 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 56, - 41 - ] - ], - [ - [ - 9350, - 9350 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 57, - 41 - ] - ], - [ - [ - 9351, - 9351 - ], - "disallowed_STD3_mapped", - [ - 40, - 50, - 48, - 41 - ] - ], - [ - [ - 9352, - 9371 - ], - "disallowed" - ], - [ - [ - 9372, - 9372 - ], - "disallowed_STD3_mapped", - [ - 40, - 97, - 41 - ] - ], - [ - [ - 9373, - 9373 - ], - "disallowed_STD3_mapped", - [ - 40, - 98, - 41 - ] - ], - [ - [ - 9374, - 9374 - ], - "disallowed_STD3_mapped", - [ - 40, - 99, - 41 - ] - ], - [ - [ - 9375, - 9375 - ], - "disallowed_STD3_mapped", - [ - 40, - 100, - 41 - ] - ], - [ - [ - 9376, - 9376 - ], - "disallowed_STD3_mapped", - [ - 40, - 101, - 41 - ] - ], - [ - [ - 9377, - 9377 - ], - "disallowed_STD3_mapped", - [ - 40, - 102, - 41 - ] - ], - [ - [ - 9378, - 9378 - ], - "disallowed_STD3_mapped", - [ - 40, - 103, - 41 - ] - ], - [ - [ - 9379, - 9379 - ], - "disallowed_STD3_mapped", - [ - 40, - 104, - 41 - ] - ], - [ - [ - 9380, - 9380 - ], - "disallowed_STD3_mapped", - [ - 40, - 105, - 41 - ] - ], - [ - [ - 9381, - 9381 - ], - "disallowed_STD3_mapped", - [ - 40, - 106, - 41 - ] - ], - [ - [ - 9382, - 9382 - ], - "disallowed_STD3_mapped", - [ - 40, - 107, - 41 - ] - ], - [ - [ - 9383, - 9383 - ], - "disallowed_STD3_mapped", - [ - 40, - 108, - 41 - ] - ], - [ - [ - 9384, - 9384 - ], - "disallowed_STD3_mapped", - [ - 40, - 109, - 41 - ] - ], - [ - [ - 9385, - 9385 - ], - "disallowed_STD3_mapped", - [ - 40, - 110, - 41 - ] - ], - [ - [ - 9386, - 9386 - ], - "disallowed_STD3_mapped", - [ - 40, - 111, - 41 - ] - ], - [ - [ - 9387, - 9387 - ], - "disallowed_STD3_mapped", - [ - 40, - 112, - 41 - ] - ], - [ - [ - 9388, - 9388 - ], - "disallowed_STD3_mapped", - [ - 40, - 113, - 41 - ] - ], - [ - [ - 9389, - 9389 - ], - "disallowed_STD3_mapped", - [ - 40, - 114, - 41 - ] - ], - [ - [ - 9390, - 9390 - ], - "disallowed_STD3_mapped", - [ - 40, - 115, - 41 - ] - ], - [ - [ - 9391, - 9391 - ], - "disallowed_STD3_mapped", - [ - 40, - 116, - 41 - ] - ], - [ - [ - 9392, - 9392 - ], - "disallowed_STD3_mapped", - [ - 40, - 117, - 41 - ] - ], - [ - [ - 9393, - 9393 - ], - "disallowed_STD3_mapped", - [ - 40, - 118, - 41 - ] - ], - [ - [ - 9394, - 9394 - ], - "disallowed_STD3_mapped", - [ - 40, - 119, - 41 - ] - ], - [ - [ - 9395, - 9395 - ], - "disallowed_STD3_mapped", - [ - 40, - 120, - 41 - ] - ], - [ - [ - 9396, - 9396 - ], - "disallowed_STD3_mapped", - [ - 40, - 121, - 41 - ] - ], - [ - [ - 9397, - 9397 - ], - "disallowed_STD3_mapped", - [ - 40, - 122, - 41 - ] - ], - [ - [ - 9398, - 9398 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 9399, - 9399 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 9400, - 9400 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 9401, - 9401 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 9402, - 9402 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 9403, - 9403 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 9404, - 9404 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 9405, - 9405 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 9406, - 9406 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 9407, - 9407 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 9408, - 9408 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 9409, - 9409 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 9410, - 9410 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 9411, - 9411 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 9412, - 9412 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 9413, - 9413 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 9414, - 9414 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 9415, - 9415 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 9416, - 9416 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 9417, - 9417 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 9418, - 9418 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 9419, - 9419 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 9420, - 9420 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 9421, - 9421 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 9422, - 9422 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 9423, - 9423 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 9424, - 9424 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 9425, - 9425 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 9426, - 9426 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 9427, - 9427 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 9428, - 9428 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 9429, - 9429 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 9430, - 9430 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 9431, - 9431 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 9432, - 9432 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 9433, - 9433 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 9434, - 9434 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 9435, - 9435 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 9436, - 9436 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 9437, - 9437 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 9438, - 9438 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 9439, - 9439 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 9440, - 9440 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 9441, - 9441 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 9442, - 9442 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 9443, - 9443 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 9444, - 9444 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 9445, - 9445 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 9446, - 9446 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 9447, - 9447 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 9448, - 9448 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 9449, - 9449 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 9450, - 9450 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 9451, - 9470 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9471, - 9471 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9472, - 9621 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9622, - 9631 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9632, - 9711 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9712, - 9719 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9720, - 9727 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9728, - 9747 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9748, - 9749 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9750, - 9751 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9752, - 9752 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9753, - 9753 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9754, - 9839 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9840, - 9841 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9842, - 9853 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9854, - 9855 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9856, - 9865 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9866, - 9873 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9874, - 9884 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9885, - 9885 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9886, - 9887 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9888, - 9889 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9890, - 9905 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9906, - 9906 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9907, - 9916 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9917, - 9919 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9920, - 9923 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9924, - 9933 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9934, - 9934 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9935, - 9953 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9954, - 9954 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9955, - 9955 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9956, - 9959 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9960, - 9983 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9984, - 9984 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9985, - 9988 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9989, - 9989 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9990, - 9993 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9994, - 9995 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9996, - 10023 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10024, - 10024 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10025, - 10059 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10060, - 10060 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10061, - 10061 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10062, - 10062 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10063, - 10066 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10067, - 10069 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10070, - 10070 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10071, - 10071 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10072, - 10078 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10079, - 10080 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10081, - 10087 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10088, - 10101 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10102, - 10132 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10133, - 10135 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10136, - 10159 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10160, - 10160 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10161, - 10174 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10175, - 10175 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10176, - 10182 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10183, - 10186 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10187, - 10187 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10188, - 10188 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10189, - 10189 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10190, - 10191 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10192, - 10219 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10220, - 10223 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10224, - 10239 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10240, - 10495 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10496, - 10763 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10764, - 10764 - ], - "mapped", - [ - 8747, - 8747, - 8747, - 8747 - ] - ], - [ - [ - 10765, - 10867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10868, - 10868 - ], - "disallowed_STD3_mapped", - [ - 58, - 58, - 61 - ] - ], - [ - [ - 10869, - 10869 - ], - "disallowed_STD3_mapped", - [ - 61, - 61 - ] - ], - [ - [ - 10870, - 10870 - ], - "disallowed_STD3_mapped", - [ - 61, - 61, - 61 - ] - ], - [ - [ - 10871, - 10971 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10972, - 10972 - ], - "mapped", - [ - 10973, - 824 - ] - ], - [ - [ - 10973, - 11007 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11008, - 11021 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11022, - 11027 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11028, - 11034 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11035, - 11039 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11040, - 11043 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11044, - 11084 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11085, - 11087 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11088, - 11092 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11093, - 11097 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11098, - 11123 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11124, - 11125 - ], - "disallowed" - ], - [ - [ - 11126, - 11157 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11158, - 11159 - ], - "disallowed" - ], - [ - [ - 11160, - 11193 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11194, - 11196 - ], - "disallowed" - ], - [ - [ - 11197, - 11208 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11209, - 11209 - ], - "disallowed" - ], - [ - [ - 11210, - 11217 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11218, - 11243 - ], - "disallowed" - ], - [ - [ - 11244, - 11247 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11248, - 11263 - ], - "disallowed" - ], - [ - [ - 11264, - 11264 - ], - "mapped", - [ - 11312 - ] - ], - [ - [ - 11265, - 11265 - ], - "mapped", - [ - 11313 - ] - ], - [ - [ - 11266, - 11266 - ], - "mapped", - [ - 11314 - ] - ], - [ - [ - 11267, - 11267 - ], - "mapped", - [ - 11315 - ] - ], - [ - [ - 11268, - 11268 - ], - "mapped", - [ - 11316 - ] - ], - [ - [ - 11269, - 11269 - ], - "mapped", - [ - 11317 - ] - ], - [ - [ - 11270, - 11270 - ], - "mapped", - [ - 11318 - ] - ], - [ - [ - 11271, - 11271 - ], - "mapped", - [ - 11319 - ] - ], - [ - [ - 11272, - 11272 - ], - "mapped", - [ - 11320 - ] - ], - [ - [ - 11273, - 11273 - ], - "mapped", - [ - 11321 - ] - ], - [ - [ - 11274, - 11274 - ], - "mapped", - [ - 11322 - ] - ], - [ - [ - 11275, - 11275 - ], - "mapped", - [ - 11323 - ] - ], - [ - [ - 11276, - 11276 - ], - "mapped", - [ - 11324 - ] - ], - [ - [ - 11277, - 11277 - ], - "mapped", - [ - 11325 - ] - ], - [ - [ - 11278, - 11278 - ], - "mapped", - [ - 11326 - ] - ], - [ - [ - 11279, - 11279 - ], - "mapped", - [ - 11327 - ] - ], - [ - [ - 11280, - 11280 - ], - "mapped", - [ - 11328 - ] - ], - [ - [ - 11281, - 11281 - ], - "mapped", - [ - 11329 - ] - ], - [ - [ - 11282, - 11282 - ], - "mapped", - [ - 11330 - ] - ], - [ - [ - 11283, - 11283 - ], - "mapped", - [ - 11331 - ] - ], - [ - [ - 11284, - 11284 - ], - "mapped", - [ - 11332 - ] - ], - [ - [ - 11285, - 11285 - ], - "mapped", - [ - 11333 - ] - ], - [ - [ - 11286, - 11286 - ], - "mapped", - [ - 11334 - ] - ], - [ - [ - 11287, - 11287 - ], - "mapped", - [ - 11335 - ] - ], - [ - [ - 11288, - 11288 - ], - "mapped", - [ - 11336 - ] - ], - [ - [ - 11289, - 11289 - ], - "mapped", - [ - 11337 - ] - ], - [ - [ - 11290, - 11290 - ], - "mapped", - [ - 11338 - ] - ], - [ - [ - 11291, - 11291 - ], - "mapped", - [ - 11339 - ] - ], - [ - [ - 11292, - 11292 - ], - "mapped", - [ - 11340 - ] - ], - [ - [ - 11293, - 11293 - ], - "mapped", - [ - 11341 - ] - ], - [ - [ - 11294, - 11294 - ], - "mapped", - [ - 11342 - ] - ], - [ - [ - 11295, - 11295 - ], - "mapped", - [ - 11343 - ] - ], - [ - [ - 11296, - 11296 - ], - "mapped", - [ - 11344 - ] - ], - [ - [ - 11297, - 11297 - ], - "mapped", - [ - 11345 - ] - ], - [ - [ - 11298, - 11298 - ], - "mapped", - [ - 11346 - ] - ], - [ - [ - 11299, - 11299 - ], - "mapped", - [ - 11347 - ] - ], - [ - [ - 11300, - 11300 - ], - "mapped", - [ - 11348 - ] - ], - [ - [ - 11301, - 11301 - ], - "mapped", - [ - 11349 - ] - ], - [ - [ - 11302, - 11302 - ], - "mapped", - [ - 11350 - ] - ], - [ - [ - 11303, - 11303 - ], - "mapped", - [ - 11351 - ] - ], - [ - [ - 11304, - 11304 - ], - "mapped", - [ - 11352 - ] - ], - [ - [ - 11305, - 11305 - ], - "mapped", - [ - 11353 - ] - ], - [ - [ - 11306, - 11306 - ], - "mapped", - [ - 11354 - ] - ], - [ - [ - 11307, - 11307 - ], - "mapped", - [ - 11355 - ] - ], - [ - [ - 11308, - 11308 - ], - "mapped", - [ - 11356 - ] - ], - [ - [ - 11309, - 11309 - ], - "mapped", - [ - 11357 - ] - ], - [ - [ - 11310, - 11310 - ], - "mapped", - [ - 11358 - ] - ], - [ - [ - 11311, - 11311 - ], - "disallowed" - ], - [ - [ - 11312, - 11358 - ], - "valid" - ], - [ - [ - 11359, - 11359 - ], - "disallowed" - ], - [ - [ - 11360, - 11360 - ], - "mapped", - [ - 11361 - ] - ], - [ - [ - 11361, - 11361 - ], - "valid" - ], - [ - [ - 11362, - 11362 - ], - "mapped", - [ - 619 - ] - ], - [ - [ - 11363, - 11363 - ], - "mapped", - [ - 7549 - ] - ], - [ - [ - 11364, - 11364 - ], - "mapped", - [ - 637 - ] - ], - [ - [ - 11365, - 11366 - ], - "valid" - ], - [ - [ - 11367, - 11367 - ], - "mapped", - [ - 11368 - ] - ], - [ - [ - 11368, - 11368 - ], - "valid" - ], - [ - [ - 11369, - 11369 - ], - "mapped", - [ - 11370 - ] - ], - [ - [ - 11370, - 11370 - ], - "valid" - ], - [ - [ - 11371, - 11371 - ], - "mapped", - [ - 11372 - ] - ], - [ - [ - 11372, - 11372 - ], - "valid" - ], - [ - [ - 11373, - 11373 - ], - "mapped", - [ - 593 - ] - ], - [ - [ - 11374, - 11374 - ], - "mapped", - [ - 625 - ] - ], - [ - [ - 11375, - 11375 - ], - "mapped", - [ - 592 - ] - ], - [ - [ - 11376, - 11376 - ], - "mapped", - [ - 594 - ] - ], - [ - [ - 11377, - 11377 - ], - "valid" - ], - [ - [ - 11378, - 11378 - ], - "mapped", - [ - 11379 - ] - ], - [ - [ - 11379, - 11379 - ], - "valid" - ], - [ - [ - 11380, - 11380 - ], - "valid" - ], - [ - [ - 11381, - 11381 - ], - "mapped", - [ - 11382 - ] - ], - [ - [ - 11382, - 11383 - ], - "valid" - ], - [ - [ - 11384, - 11387 - ], - "valid" - ], - [ - [ - 11388, - 11388 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 11389, - 11389 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 11390, - 11390 - ], - "mapped", - [ - 575 - ] - ], - [ - [ - 11391, - 11391 - ], - "mapped", - [ - 576 - ] - ], - [ - [ - 11392, - 11392 - ], - "mapped", - [ - 11393 - ] - ], - [ - [ - 11393, - 11393 - ], - "valid" - ], - [ - [ - 11394, - 11394 - ], - "mapped", - [ - 11395 - ] - ], - [ - [ - 11395, - 11395 - ], - "valid" - ], - [ - [ - 11396, - 11396 - ], - "mapped", - [ - 11397 - ] - ], - [ - [ - 11397, - 11397 - ], - "valid" - ], - [ - [ - 11398, - 11398 - ], - "mapped", - [ - 11399 - ] - ], - [ - [ - 11399, - 11399 - ], - "valid" - ], - [ - [ - 11400, - 11400 - ], - "mapped", - [ - 11401 - ] - ], - [ - [ - 11401, - 11401 - ], - "valid" - ], - [ - [ - 11402, - 11402 - ], - "mapped", - [ - 11403 - ] - ], - [ - [ - 11403, - 11403 - ], - "valid" - ], - [ - [ - 11404, - 11404 - ], - "mapped", - [ - 11405 - ] - ], - [ - [ - 11405, - 11405 - ], - "valid" - ], - [ - [ - 11406, - 11406 - ], - "mapped", - [ - 11407 - ] - ], - [ - [ - 11407, - 11407 - ], - "valid" - ], - [ - [ - 11408, - 11408 - ], - "mapped", - [ - 11409 - ] - ], - [ - [ - 11409, - 11409 - ], - "valid" - ], - [ - [ - 11410, - 11410 - ], - "mapped", - [ - 11411 - ] - ], - [ - [ - 11411, - 11411 - ], - "valid" - ], - [ - [ - 11412, - 11412 - ], - "mapped", - [ - 11413 - ] - ], - [ - [ - 11413, - 11413 - ], - "valid" - ], - [ - [ - 11414, - 11414 - ], - "mapped", - [ - 11415 - ] - ], - [ - [ - 11415, - 11415 - ], - "valid" - ], - [ - [ - 11416, - 11416 - ], - "mapped", - [ - 11417 - ] - ], - [ - [ - 11417, - 11417 - ], - "valid" - ], - [ - [ - 11418, - 11418 - ], - "mapped", - [ - 11419 - ] - ], - [ - [ - 11419, - 11419 - ], - "valid" - ], - [ - [ - 11420, - 11420 - ], - "mapped", - [ - 11421 - ] - ], - [ - [ - 11421, - 11421 - ], - "valid" - ], - [ - [ - 11422, - 11422 - ], - "mapped", - [ - 11423 - ] - ], - [ - [ - 11423, - 11423 - ], - "valid" - ], - [ - [ - 11424, - 11424 - ], - "mapped", - [ - 11425 - ] - ], - [ - [ - 11425, - 11425 - ], - "valid" - ], - [ - [ - 11426, - 11426 - ], - "mapped", - [ - 11427 - ] - ], - [ - [ - 11427, - 11427 - ], - "valid" - ], - [ - [ - 11428, - 11428 - ], - "mapped", - [ - 11429 - ] - ], - [ - [ - 11429, - 11429 - ], - "valid" - ], - [ - [ - 11430, - 11430 - ], - "mapped", - [ - 11431 - ] - ], - [ - [ - 11431, - 11431 - ], - "valid" - ], - [ - [ - 11432, - 11432 - ], - "mapped", - [ - 11433 - ] - ], - [ - [ - 11433, - 11433 - ], - "valid" - ], - [ - [ - 11434, - 11434 - ], - "mapped", - [ - 11435 - ] - ], - [ - [ - 11435, - 11435 - ], - "valid" - ], - [ - [ - 11436, - 11436 - ], - "mapped", - [ - 11437 - ] - ], - [ - [ - 11437, - 11437 - ], - "valid" - ], - [ - [ - 11438, - 11438 - ], - "mapped", - [ - 11439 - ] - ], - [ - [ - 11439, - 11439 - ], - "valid" - ], - [ - [ - 11440, - 11440 - ], - "mapped", - [ - 11441 - ] - ], - [ - [ - 11441, - 11441 - ], - "valid" - ], - [ - [ - 11442, - 11442 - ], - "mapped", - [ - 11443 - ] - ], - [ - [ - 11443, - 11443 - ], - "valid" - ], - [ - [ - 11444, - 11444 - ], - "mapped", - [ - 11445 - ] - ], - [ - [ - 11445, - 11445 - ], - "valid" - ], - [ - [ - 11446, - 11446 - ], - "mapped", - [ - 11447 - ] - ], - [ - [ - 11447, - 11447 - ], - "valid" - ], - [ - [ - 11448, - 11448 - ], - "mapped", - [ - 11449 - ] - ], - [ - [ - 11449, - 11449 - ], - "valid" - ], - [ - [ - 11450, - 11450 - ], - "mapped", - [ - 11451 - ] - ], - [ - [ - 11451, - 11451 - ], - "valid" - ], - [ - [ - 11452, - 11452 - ], - "mapped", - [ - 11453 - ] - ], - [ - [ - 11453, - 11453 - ], - "valid" - ], - [ - [ - 11454, - 11454 - ], - "mapped", - [ - 11455 - ] - ], - [ - [ - 11455, - 11455 - ], - "valid" - ], - [ - [ - 11456, - 11456 - ], - "mapped", - [ - 11457 - ] - ], - [ - [ - 11457, - 11457 - ], - "valid" - ], - [ - [ - 11458, - 11458 - ], - "mapped", - [ - 11459 - ] - ], - [ - [ - 11459, - 11459 - ], - "valid" - ], - [ - [ - 11460, - 11460 - ], - "mapped", - [ - 11461 - ] - ], - [ - [ - 11461, - 11461 - ], - "valid" - ], - [ - [ - 11462, - 11462 - ], - "mapped", - [ - 11463 - ] - ], - [ - [ - 11463, - 11463 - ], - "valid" - ], - [ - [ - 11464, - 11464 - ], - "mapped", - [ - 11465 - ] - ], - [ - [ - 11465, - 11465 - ], - "valid" - ], - [ - [ - 11466, - 11466 - ], - "mapped", - [ - 11467 - ] - ], - [ - [ - 11467, - 11467 - ], - "valid" - ], - [ - [ - 11468, - 11468 - ], - "mapped", - [ - 11469 - ] - ], - [ - [ - 11469, - 11469 - ], - "valid" - ], - [ - [ - 11470, - 11470 - ], - "mapped", - [ - 11471 - ] - ], - [ - [ - 11471, - 11471 - ], - "valid" - ], - [ - [ - 11472, - 11472 - ], - "mapped", - [ - 11473 - ] - ], - [ - [ - 11473, - 11473 - ], - "valid" - ], - [ - [ - 11474, - 11474 - ], - "mapped", - [ - 11475 - ] - ], - [ - [ - 11475, - 11475 - ], - "valid" - ], - [ - [ - 11476, - 11476 - ], - "mapped", - [ - 11477 - ] - ], - [ - [ - 11477, - 11477 - ], - "valid" - ], - [ - [ - 11478, - 11478 - ], - "mapped", - [ - 11479 - ] - ], - [ - [ - 11479, - 11479 - ], - "valid" - ], - [ - [ - 11480, - 11480 - ], - "mapped", - [ - 11481 - ] - ], - [ - [ - 11481, - 11481 - ], - "valid" - ], - [ - [ - 11482, - 11482 - ], - "mapped", - [ - 11483 - ] - ], - [ - [ - 11483, - 11483 - ], - "valid" - ], - [ - [ - 11484, - 11484 - ], - "mapped", - [ - 11485 - ] - ], - [ - [ - 11485, - 11485 - ], - "valid" - ], - [ - [ - 11486, - 11486 - ], - "mapped", - [ - 11487 - ] - ], - [ - [ - 11487, - 11487 - ], - "valid" - ], - [ - [ - 11488, - 11488 - ], - "mapped", - [ - 11489 - ] - ], - [ - [ - 11489, - 11489 - ], - "valid" - ], - [ - [ - 11490, - 11490 - ], - "mapped", - [ - 11491 - ] - ], - [ - [ - 11491, - 11492 - ], - "valid" - ], - [ - [ - 11493, - 11498 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11499, - 11499 - ], - "mapped", - [ - 11500 - ] - ], - [ - [ - 11500, - 11500 - ], - "valid" - ], - [ - [ - 11501, - 11501 - ], - "mapped", - [ - 11502 - ] - ], - [ - [ - 11502, - 11505 - ], - "valid" - ], - [ - [ - 11506, - 11506 - ], - "mapped", - [ - 11507 - ] - ], - [ - [ - 11507, - 11507 - ], - "valid" - ], - [ - [ - 11508, - 11512 - ], - "disallowed" - ], - [ - [ - 11513, - 11519 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11520, - 11557 - ], - "valid" - ], - [ - [ - 11558, - 11558 - ], - "disallowed" - ], - [ - [ - 11559, - 11559 - ], - "valid" - ], - [ - [ - 11560, - 11564 - ], - "disallowed" - ], - [ - [ - 11565, - 11565 - ], - "valid" - ], - [ - [ - 11566, - 11567 - ], - "disallowed" - ], - [ - [ - 11568, - 11621 - ], - "valid" - ], - [ - [ - 11622, - 11623 - ], - "valid" - ], - [ - [ - 11624, - 11630 - ], - "disallowed" - ], - [ - [ - 11631, - 11631 - ], - "mapped", - [ - 11617 - ] - ], - [ - [ - 11632, - 11632 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11633, - 11646 - ], - "disallowed" - ], - [ - [ - 11647, - 11647 - ], - "valid" - ], - [ - [ - 11648, - 11670 - ], - "valid" - ], - [ - [ - 11671, - 11679 - ], - "disallowed" - ], - [ - [ - 11680, - 11686 - ], - "valid" - ], - [ - [ - 11687, - 11687 - ], - "disallowed" - ], - [ - [ - 11688, - 11694 - ], - "valid" - ], - [ - [ - 11695, - 11695 - ], - "disallowed" - ], - [ - [ - 11696, - 11702 - ], - "valid" - ], - [ - [ - 11703, - 11703 - ], - "disallowed" - ], - [ - [ - 11704, - 11710 - ], - "valid" - ], - [ - [ - 11711, - 11711 - ], - "disallowed" - ], - [ - [ - 11712, - 11718 - ], - "valid" - ], - [ - [ - 11719, - 11719 - ], - "disallowed" - ], - [ - [ - 11720, - 11726 - ], - "valid" - ], - [ - [ - 11727, - 11727 - ], - "disallowed" - ], - [ - [ - 11728, - 11734 - ], - "valid" - ], - [ - [ - 11735, - 11735 - ], - "disallowed" - ], - [ - [ - 11736, - 11742 - ], - "valid" - ], - [ - [ - 11743, - 11743 - ], - "disallowed" - ], - [ - [ - 11744, - 11775 - ], - "valid" - ], - [ - [ - 11776, - 11799 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11800, - 11803 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11804, - 11805 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11806, - 11822 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11823, - 11823 - ], - "valid" - ], - [ - [ - 11824, - 11824 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11825, - 11825 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11826, - 11835 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11836, - 11842 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11843, - 11903 - ], - "disallowed" - ], - [ - [ - 11904, - 11929 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11930, - 11930 - ], - "disallowed" - ], - [ - [ - 11931, - 11934 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11935, - 11935 - ], - "mapped", - [ - 27597 - ] - ], - [ - [ - 11936, - 12018 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12019, - 12019 - ], - "mapped", - [ - 40863 - ] - ], - [ - [ - 12020, - 12031 - ], - "disallowed" - ], - [ - [ - 12032, - 12032 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 12033, - 12033 - ], - "mapped", - [ - 20008 - ] - ], - [ - [ - 12034, - 12034 - ], - "mapped", - [ - 20022 - ] - ], - [ - [ - 12035, - 12035 - ], - "mapped", - [ - 20031 - ] - ], - [ - [ - 12036, - 12036 - ], - "mapped", - [ - 20057 - ] - ], - [ - [ - 12037, - 12037 - ], - "mapped", - [ - 20101 - ] - ], - [ - [ - 12038, - 12038 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 12039, - 12039 - ], - "mapped", - [ - 20128 - ] - ], - [ - [ - 12040, - 12040 - ], - "mapped", - [ - 20154 - ] - ], - [ - [ - 12041, - 12041 - ], - "mapped", - [ - 20799 - ] - ], - [ - [ - 12042, - 12042 - ], - "mapped", - [ - 20837 - ] - ], - [ - [ - 12043, - 12043 - ], - "mapped", - [ - 20843 - ] - ], - [ - [ - 12044, - 12044 - ], - "mapped", - [ - 20866 - ] - ], - [ - [ - 12045, - 12045 - ], - "mapped", - [ - 20886 - ] - ], - [ - [ - 12046, - 12046 - ], - "mapped", - [ - 20907 - ] - ], - [ - [ - 12047, - 12047 - ], - "mapped", - [ - 20960 - ] - ], - [ - [ - 12048, - 12048 - ], - "mapped", - [ - 20981 - ] - ], - [ - [ - 12049, - 12049 - ], - "mapped", - [ - 20992 - ] - ], - [ - [ - 12050, - 12050 - ], - "mapped", - [ - 21147 - ] - ], - [ - [ - 12051, - 12051 - ], - "mapped", - [ - 21241 - ] - ], - [ - [ - 12052, - 12052 - ], - "mapped", - [ - 21269 - ] - ], - [ - [ - 12053, - 12053 - ], - "mapped", - [ - 21274 - ] - ], - [ - [ - 12054, - 12054 - ], - "mapped", - [ - 21304 - ] - ], - [ - [ - 12055, - 12055 - ], - "mapped", - [ - 21313 - ] - ], - [ - [ - 12056, - 12056 - ], - "mapped", - [ - 21340 - ] - ], - [ - [ - 12057, - 12057 - ], - "mapped", - [ - 21353 - ] - ], - [ - [ - 12058, - 12058 - ], - "mapped", - [ - 21378 - ] - ], - [ - [ - 12059, - 12059 - ], - "mapped", - [ - 21430 - ] - ], - [ - [ - 12060, - 12060 - ], - "mapped", - [ - 21448 - ] - ], - [ - [ - 12061, - 12061 - ], - "mapped", - [ - 21475 - ] - ], - [ - [ - 12062, - 12062 - ], - "mapped", - [ - 22231 - ] - ], - [ - [ - 12063, - 12063 - ], - "mapped", - [ - 22303 - ] - ], - [ - [ - 12064, - 12064 - ], - "mapped", - [ - 22763 - ] - ], - [ - [ - 12065, - 12065 - ], - "mapped", - [ - 22786 - ] - ], - [ - [ - 12066, - 12066 - ], - "mapped", - [ - 22794 - ] - ], - [ - [ - 12067, - 12067 - ], - "mapped", - [ - 22805 - ] - ], - [ - [ - 12068, - 12068 - ], - "mapped", - [ - 22823 - ] - ], - [ - [ - 12069, - 12069 - ], - "mapped", - [ - 22899 - ] - ], - [ - [ - 12070, - 12070 - ], - "mapped", - [ - 23376 - ] - ], - [ - [ - 12071, - 12071 - ], - "mapped", - [ - 23424 - ] - ], - [ - [ - 12072, - 12072 - ], - "mapped", - [ - 23544 - ] - ], - [ - [ - 12073, - 12073 - ], - "mapped", - [ - 23567 - ] - ], - [ - [ - 12074, - 12074 - ], - "mapped", - [ - 23586 - ] - ], - [ - [ - 12075, - 12075 - ], - "mapped", - [ - 23608 - ] - ], - [ - [ - 12076, - 12076 - ], - "mapped", - [ - 23662 - ] - ], - [ - [ - 12077, - 12077 - ], - "mapped", - [ - 23665 - ] - ], - [ - [ - 12078, - 12078 - ], - "mapped", - [ - 24027 - ] - ], - [ - [ - 12079, - 12079 - ], - "mapped", - [ - 24037 - ] - ], - [ - [ - 12080, - 12080 - ], - "mapped", - [ - 24049 - ] - ], - [ - [ - 12081, - 12081 - ], - "mapped", - [ - 24062 - ] - ], - [ - [ - 12082, - 12082 - ], - "mapped", - [ - 24178 - ] - ], - [ - [ - 12083, - 12083 - ], - "mapped", - [ - 24186 - ] - ], - [ - [ - 12084, - 12084 - ], - "mapped", - [ - 24191 - ] - ], - [ - [ - 12085, - 12085 - ], - "mapped", - [ - 24308 - ] - ], - [ - [ - 12086, - 12086 - ], - "mapped", - [ - 24318 - ] - ], - [ - [ - 12087, - 12087 - ], - "mapped", - [ - 24331 - ] - ], - [ - [ - 12088, - 12088 - ], - "mapped", - [ - 24339 - ] - ], - [ - [ - 12089, - 12089 - ], - "mapped", - [ - 24400 - ] - ], - [ - [ - 12090, - 12090 - ], - "mapped", - [ - 24417 - ] - ], - [ - [ - 12091, - 12091 - ], - "mapped", - [ - 24435 - ] - ], - [ - [ - 12092, - 12092 - ], - "mapped", - [ - 24515 - ] - ], - [ - [ - 12093, - 12093 - ], - "mapped", - [ - 25096 - ] - ], - [ - [ - 12094, - 12094 - ], - "mapped", - [ - 25142 - ] - ], - [ - [ - 12095, - 12095 - ], - "mapped", - [ - 25163 - ] - ], - [ - [ - 12096, - 12096 - ], - "mapped", - [ - 25903 - ] - ], - [ - [ - 12097, - 12097 - ], - "mapped", - [ - 25908 - ] - ], - [ - [ - 12098, - 12098 - ], - "mapped", - [ - 25991 - ] - ], - [ - [ - 12099, - 12099 - ], - "mapped", - [ - 26007 - ] - ], - [ - [ - 12100, - 12100 - ], - "mapped", - [ - 26020 - ] - ], - [ - [ - 12101, - 12101 - ], - "mapped", - [ - 26041 - ] - ], - [ - [ - 12102, - 12102 - ], - "mapped", - [ - 26080 - ] - ], - [ - [ - 12103, - 12103 - ], - "mapped", - [ - 26085 - ] - ], - [ - [ - 12104, - 12104 - ], - "mapped", - [ - 26352 - ] - ], - [ - [ - 12105, - 12105 - ], - "mapped", - [ - 26376 - ] - ], - [ - [ - 12106, - 12106 - ], - "mapped", - [ - 26408 - ] - ], - [ - [ - 12107, - 12107 - ], - "mapped", - [ - 27424 - ] - ], - [ - [ - 12108, - 12108 - ], - "mapped", - [ - 27490 - ] - ], - [ - [ - 12109, - 12109 - ], - "mapped", - [ - 27513 - ] - ], - [ - [ - 12110, - 12110 - ], - "mapped", - [ - 27571 - ] - ], - [ - [ - 12111, - 12111 - ], - "mapped", - [ - 27595 - ] - ], - [ - [ - 12112, - 12112 - ], - "mapped", - [ - 27604 - ] - ], - [ - [ - 12113, - 12113 - ], - "mapped", - [ - 27611 - ] - ], - [ - [ - 12114, - 12114 - ], - "mapped", - [ - 27663 - ] - ], - [ - [ - 12115, - 12115 - ], - "mapped", - [ - 27668 - ] - ], - [ - [ - 12116, - 12116 - ], - "mapped", - [ - 27700 - ] - ], - [ - [ - 12117, - 12117 - ], - "mapped", - [ - 28779 - ] - ], - [ - [ - 12118, - 12118 - ], - "mapped", - [ - 29226 - ] - ], - [ - [ - 12119, - 12119 - ], - "mapped", - [ - 29238 - ] - ], - [ - [ - 12120, - 12120 - ], - "mapped", - [ - 29243 - ] - ], - [ - [ - 12121, - 12121 - ], - "mapped", - [ - 29247 - ] - ], - [ - [ - 12122, - 12122 - ], - "mapped", - [ - 29255 - ] - ], - [ - [ - 12123, - 12123 - ], - "mapped", - [ - 29273 - ] - ], - [ - [ - 12124, - 12124 - ], - "mapped", - [ - 29275 - ] - ], - [ - [ - 12125, - 12125 - ], - "mapped", - [ - 29356 - ] - ], - [ - [ - 12126, - 12126 - ], - "mapped", - [ - 29572 - ] - ], - [ - [ - 12127, - 12127 - ], - "mapped", - [ - 29577 - ] - ], - [ - [ - 12128, - 12128 - ], - "mapped", - [ - 29916 - ] - ], - [ - [ - 12129, - 12129 - ], - "mapped", - [ - 29926 - ] - ], - [ - [ - 12130, - 12130 - ], - "mapped", - [ - 29976 - ] - ], - [ - [ - 12131, - 12131 - ], - "mapped", - [ - 29983 - ] - ], - [ - [ - 12132, - 12132 - ], - "mapped", - [ - 29992 - ] - ], - [ - [ - 12133, - 12133 - ], - "mapped", - [ - 30000 - ] - ], - [ - [ - 12134, - 12134 - ], - "mapped", - [ - 30091 - ] - ], - [ - [ - 12135, - 12135 - ], - "mapped", - [ - 30098 - ] - ], - [ - [ - 12136, - 12136 - ], - "mapped", - [ - 30326 - ] - ], - [ - [ - 12137, - 12137 - ], - "mapped", - [ - 30333 - ] - ], - [ - [ - 12138, - 12138 - ], - "mapped", - [ - 30382 - ] - ], - [ - [ - 12139, - 12139 - ], - "mapped", - [ - 30399 - ] - ], - [ - [ - 12140, - 12140 - ], - "mapped", - [ - 30446 - ] - ], - [ - [ - 12141, - 12141 - ], - "mapped", - [ - 30683 - ] - ], - [ - [ - 12142, - 12142 - ], - "mapped", - [ - 30690 - ] - ], - [ - [ - 12143, - 12143 - ], - "mapped", - [ - 30707 - ] - ], - [ - [ - 12144, - 12144 - ], - "mapped", - [ - 31034 - ] - ], - [ - [ - 12145, - 12145 - ], - "mapped", - [ - 31160 - ] - ], - [ - [ - 12146, - 12146 - ], - "mapped", - [ - 31166 - ] - ], - [ - [ - 12147, - 12147 - ], - "mapped", - [ - 31348 - ] - ], - [ - [ - 12148, - 12148 - ], - "mapped", - [ - 31435 - ] - ], - [ - [ - 12149, - 12149 - ], - "mapped", - [ - 31481 - ] - ], - [ - [ - 12150, - 12150 - ], - "mapped", - [ - 31859 - ] - ], - [ - [ - 12151, - 12151 - ], - "mapped", - [ - 31992 - ] - ], - [ - [ - 12152, - 12152 - ], - "mapped", - [ - 32566 - ] - ], - [ - [ - 12153, - 12153 - ], - "mapped", - [ - 32593 - ] - ], - [ - [ - 12154, - 12154 - ], - "mapped", - [ - 32650 - ] - ], - [ - [ - 12155, - 12155 - ], - "mapped", - [ - 32701 - ] - ], - [ - [ - 12156, - 12156 - ], - "mapped", - [ - 32769 - ] - ], - [ - [ - 12157, - 12157 - ], - "mapped", - [ - 32780 - ] - ], - [ - [ - 12158, - 12158 - ], - "mapped", - [ - 32786 - ] - ], - [ - [ - 12159, - 12159 - ], - "mapped", - [ - 32819 - ] - ], - [ - [ - 12160, - 12160 - ], - "mapped", - [ - 32895 - ] - ], - [ - [ - 12161, - 12161 - ], - "mapped", - [ - 32905 - ] - ], - [ - [ - 12162, - 12162 - ], - "mapped", - [ - 33251 - ] - ], - [ - [ - 12163, - 12163 - ], - "mapped", - [ - 33258 - ] - ], - [ - [ - 12164, - 12164 - ], - "mapped", - [ - 33267 - ] - ], - [ - [ - 12165, - 12165 - ], - "mapped", - [ - 33276 - ] - ], - [ - [ - 12166, - 12166 - ], - "mapped", - [ - 33292 - ] - ], - [ - [ - 12167, - 12167 - ], - "mapped", - [ - 33307 - ] - ], - [ - [ - 12168, - 12168 - ], - "mapped", - [ - 33311 - ] - ], - [ - [ - 12169, - 12169 - ], - "mapped", - [ - 33390 - ] - ], - [ - [ - 12170, - 12170 - ], - "mapped", - [ - 33394 - ] - ], - [ - [ - 12171, - 12171 - ], - "mapped", - [ - 33400 - ] - ], - [ - [ - 12172, - 12172 - ], - "mapped", - [ - 34381 - ] - ], - [ - [ - 12173, - 12173 - ], - "mapped", - [ - 34411 - ] - ], - [ - [ - 12174, - 12174 - ], - "mapped", - [ - 34880 - ] - ], - [ - [ - 12175, - 12175 - ], - "mapped", - [ - 34892 - ] - ], - [ - [ - 12176, - 12176 - ], - "mapped", - [ - 34915 - ] - ], - [ - [ - 12177, - 12177 - ], - "mapped", - [ - 35198 - ] - ], - [ - [ - 12178, - 12178 - ], - "mapped", - [ - 35211 - ] - ], - [ - [ - 12179, - 12179 - ], - "mapped", - [ - 35282 - ] - ], - [ - [ - 12180, - 12180 - ], - "mapped", - [ - 35328 - ] - ], - [ - [ - 12181, - 12181 - ], - "mapped", - [ - 35895 - ] - ], - [ - [ - 12182, - 12182 - ], - "mapped", - [ - 35910 - ] - ], - [ - [ - 12183, - 12183 - ], - "mapped", - [ - 35925 - ] - ], - [ - [ - 12184, - 12184 - ], - "mapped", - [ - 35960 - ] - ], - [ - [ - 12185, - 12185 - ], - "mapped", - [ - 35997 - ] - ], - [ - [ - 12186, - 12186 - ], - "mapped", - [ - 36196 - ] - ], - [ - [ - 12187, - 12187 - ], - "mapped", - [ - 36208 - ] - ], - [ - [ - 12188, - 12188 - ], - "mapped", - [ - 36275 - ] - ], - [ - [ - 12189, - 12189 - ], - "mapped", - [ - 36523 - ] - ], - [ - [ - 12190, - 12190 - ], - "mapped", - [ - 36554 - ] - ], - [ - [ - 12191, - 12191 - ], - "mapped", - [ - 36763 - ] - ], - [ - [ - 12192, - 12192 - ], - "mapped", - [ - 36784 - ] - ], - [ - [ - 12193, - 12193 - ], - "mapped", - [ - 36789 - ] - ], - [ - [ - 12194, - 12194 - ], - "mapped", - [ - 37009 - ] - ], - [ - [ - 12195, - 12195 - ], - "mapped", - [ - 37193 - ] - ], - [ - [ - 12196, - 12196 - ], - "mapped", - [ - 37318 - ] - ], - [ - [ - 12197, - 12197 - ], - "mapped", - [ - 37324 - ] - ], - [ - [ - 12198, - 12198 - ], - "mapped", - [ - 37329 - ] - ], - [ - [ - 12199, - 12199 - ], - "mapped", - [ - 38263 - ] - ], - [ - [ - 12200, - 12200 - ], - "mapped", - [ - 38272 - ] - ], - [ - [ - 12201, - 12201 - ], - "mapped", - [ - 38428 - ] - ], - [ - [ - 12202, - 12202 - ], - "mapped", - [ - 38582 - ] - ], - [ - [ - 12203, - 12203 - ], - "mapped", - [ - 38585 - ] - ], - [ - [ - 12204, - 12204 - ], - "mapped", - [ - 38632 - ] - ], - [ - [ - 12205, - 12205 - ], - "mapped", - [ - 38737 - ] - ], - [ - [ - 12206, - 12206 - ], - "mapped", - [ - 38750 - ] - ], - [ - [ - 12207, - 12207 - ], - "mapped", - [ - 38754 - ] - ], - [ - [ - 12208, - 12208 - ], - "mapped", - [ - 38761 - ] - ], - [ - [ - 12209, - 12209 - ], - "mapped", - [ - 38859 - ] - ], - [ - [ - 12210, - 12210 - ], - "mapped", - [ - 38893 - ] - ], - [ - [ - 12211, - 12211 - ], - "mapped", - [ - 38899 - ] - ], - [ - [ - 12212, - 12212 - ], - "mapped", - [ - 38913 - ] - ], - [ - [ - 12213, - 12213 - ], - "mapped", - [ - 39080 - ] - ], - [ - [ - 12214, - 12214 - ], - "mapped", - [ - 39131 - ] - ], - [ - [ - 12215, - 12215 - ], - "mapped", - [ - 39135 - ] - ], - [ - [ - 12216, - 12216 - ], - "mapped", - [ - 39318 - ] - ], - [ - [ - 12217, - 12217 - ], - "mapped", - [ - 39321 - ] - ], - [ - [ - 12218, - 12218 - ], - "mapped", - [ - 39340 - ] - ], - [ - [ - 12219, - 12219 - ], - "mapped", - [ - 39592 - ] - ], - [ - [ - 12220, - 12220 - ], - "mapped", - [ - 39640 - ] - ], - [ - [ - 12221, - 12221 - ], - "mapped", - [ - 39647 - ] - ], - [ - [ - 12222, - 12222 - ], - "mapped", - [ - 39717 - ] - ], - [ - [ - 12223, - 12223 - ], - "mapped", - [ - 39727 - ] - ], - [ - [ - 12224, - 12224 - ], - "mapped", - [ - 39730 - ] - ], - [ - [ - 12225, - 12225 - ], - "mapped", - [ - 39740 - ] - ], - [ - [ - 12226, - 12226 - ], - "mapped", - [ - 39770 - ] - ], - [ - [ - 12227, - 12227 - ], - "mapped", - [ - 40165 - ] - ], - [ - [ - 12228, - 12228 - ], - "mapped", - [ - 40565 - ] - ], - [ - [ - 12229, - 12229 - ], - "mapped", - [ - 40575 - ] - ], - [ - [ - 12230, - 12230 - ], - "mapped", - [ - 40613 - ] - ], - [ - [ - 12231, - 12231 - ], - "mapped", - [ - 40635 - ] - ], - [ - [ - 12232, - 12232 - ], - "mapped", - [ - 40643 - ] - ], - [ - [ - 12233, - 12233 - ], - "mapped", - [ - 40653 - ] - ], - [ - [ - 12234, - 12234 - ], - "mapped", - [ - 40657 - ] - ], - [ - [ - 12235, - 12235 - ], - "mapped", - [ - 40697 - ] - ], - [ - [ - 12236, - 12236 - ], - "mapped", - [ - 40701 - ] - ], - [ - [ - 12237, - 12237 - ], - "mapped", - [ - 40718 - ] - ], - [ - [ - 12238, - 12238 - ], - "mapped", - [ - 40723 - ] - ], - [ - [ - 12239, - 12239 - ], - "mapped", - [ - 40736 - ] - ], - [ - [ - 12240, - 12240 - ], - "mapped", - [ - 40763 - ] - ], - [ - [ - 12241, - 12241 - ], - "mapped", - [ - 40778 - ] - ], - [ - [ - 12242, - 12242 - ], - "mapped", - [ - 40786 - ] - ], - [ - [ - 12243, - 12243 - ], - "mapped", - [ - 40845 - ] - ], - [ - [ - 12244, - 12244 - ], - "mapped", - [ - 40860 - ] - ], - [ - [ - 12245, - 12245 - ], - "mapped", - [ - 40864 - ] - ], - [ - [ - 12246, - 12271 - ], - "disallowed" - ], - [ - [ - 12272, - 12283 - ], - "disallowed" - ], - [ - [ - 12284, - 12287 - ], - "disallowed" - ], - [ - [ - 12288, - 12288 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 12289, - 12289 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12290, - 12290 - ], - "mapped", - [ - 46 - ] - ], - [ - [ - 12291, - 12292 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12293, - 12295 - ], - "valid" - ], - [ - [ - 12296, - 12329 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12330, - 12333 - ], - "valid" - ], - [ - [ - 12334, - 12341 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12342, - 12342 - ], - "mapped", - [ - 12306 - ] - ], - [ - [ - 12343, - 12343 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12344, - 12344 - ], - "mapped", - [ - 21313 - ] - ], - [ - [ - 12345, - 12345 - ], - "mapped", - [ - 21316 - ] - ], - [ - [ - 12346, - 12346 - ], - "mapped", - [ - 21317 - ] - ], - [ - [ - 12347, - 12347 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12348, - 12348 - ], - "valid" - ], - [ - [ - 12349, - 12349 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12350, - 12350 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12351, - 12351 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12352, - 12352 - ], - "disallowed" - ], - [ - [ - 12353, - 12436 - ], - "valid" - ], - [ - [ - 12437, - 12438 - ], - "valid" - ], - [ - [ - 12439, - 12440 - ], - "disallowed" - ], - [ - [ - 12441, - 12442 - ], - "valid" - ], - [ - [ - 12443, - 12443 - ], - "disallowed_STD3_mapped", - [ - 32, - 12441 - ] - ], - [ - [ - 12444, - 12444 - ], - "disallowed_STD3_mapped", - [ - 32, - 12442 - ] - ], - [ - [ - 12445, - 12446 - ], - "valid" - ], - [ - [ - 12447, - 12447 - ], - "mapped", - [ - 12424, - 12426 - ] - ], - [ - [ - 12448, - 12448 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12449, - 12542 - ], - "valid" - ], - [ - [ - 12543, - 12543 - ], - "mapped", - [ - 12467, - 12488 - ] - ], - [ - [ - 12544, - 12548 - ], - "disallowed" - ], - [ - [ - 12549, - 12588 - ], - "valid" - ], - [ - [ - 12589, - 12589 - ], - "valid" - ], - [ - [ - 12590, - 12592 - ], - "disallowed" - ], - [ - [ - 12593, - 12593 - ], - "mapped", - [ - 4352 - ] - ], - [ - [ - 12594, - 12594 - ], - "mapped", - [ - 4353 - ] - ], - [ - [ - 12595, - 12595 - ], - "mapped", - [ - 4522 - ] - ], - [ - [ - 12596, - 12596 - ], - "mapped", - [ - 4354 - ] - ], - [ - [ - 12597, - 12597 - ], - "mapped", - [ - 4524 - ] - ], - [ - [ - 12598, - 12598 - ], - "mapped", - [ - 4525 - ] - ], - [ - [ - 12599, - 12599 - ], - "mapped", - [ - 4355 - ] - ], - [ - [ - 12600, - 12600 - ], - "mapped", - [ - 4356 - ] - ], - [ - [ - 12601, - 12601 - ], - "mapped", - [ - 4357 - ] - ], - [ - [ - 12602, - 12602 - ], - "mapped", - [ - 4528 - ] - ], - [ - [ - 12603, - 12603 - ], - "mapped", - [ - 4529 - ] - ], - [ - [ - 12604, - 12604 - ], - "mapped", - [ - 4530 - ] - ], - [ - [ - 12605, - 12605 - ], - "mapped", - [ - 4531 - ] - ], - [ - [ - 12606, - 12606 - ], - "mapped", - [ - 4532 - ] - ], - [ - [ - 12607, - 12607 - ], - "mapped", - [ - 4533 - ] - ], - [ - [ - 12608, - 12608 - ], - "mapped", - [ - 4378 - ] - ], - [ - [ - 12609, - 12609 - ], - "mapped", - [ - 4358 - ] - ], - [ - [ - 12610, - 12610 - ], - "mapped", - [ - 4359 - ] - ], - [ - [ - 12611, - 12611 - ], - "mapped", - [ - 4360 - ] - ], - [ - [ - 12612, - 12612 - ], - "mapped", - [ - 4385 - ] - ], - [ - [ - 12613, - 12613 - ], - "mapped", - [ - 4361 - ] - ], - [ - [ - 12614, - 12614 - ], - "mapped", - [ - 4362 - ] - ], - [ - [ - 12615, - 12615 - ], - "mapped", - [ - 4363 - ] - ], - [ - [ - 12616, - 12616 - ], - "mapped", - [ - 4364 - ] - ], - [ - [ - 12617, - 12617 - ], - "mapped", - [ - 4365 - ] - ], - [ - [ - 12618, - 12618 - ], - "mapped", - [ - 4366 - ] - ], - [ - [ - 12619, - 12619 - ], - "mapped", - [ - 4367 - ] - ], - [ - [ - 12620, - 12620 - ], - "mapped", - [ - 4368 - ] - ], - [ - [ - 12621, - 12621 - ], - "mapped", - [ - 4369 - ] - ], - [ - [ - 12622, - 12622 - ], - "mapped", - [ - 4370 - ] - ], - [ - [ - 12623, - 12623 - ], - "mapped", - [ - 4449 - ] - ], - [ - [ - 12624, - 12624 - ], - "mapped", - [ - 4450 - ] - ], - [ - [ - 12625, - 12625 - ], - "mapped", - [ - 4451 - ] - ], - [ - [ - 12626, - 12626 - ], - "mapped", - [ - 4452 - ] - ], - [ - [ - 12627, - 12627 - ], - "mapped", - [ - 4453 - ] - ], - [ - [ - 12628, - 12628 - ], - "mapped", - [ - 4454 - ] - ], - [ - [ - 12629, - 12629 - ], - "mapped", - [ - 4455 - ] - ], - [ - [ - 12630, - 12630 - ], - "mapped", - [ - 4456 - ] - ], - [ - [ - 12631, - 12631 - ], - "mapped", - [ - 4457 - ] - ], - [ - [ - 12632, - 12632 - ], - "mapped", - [ - 4458 - ] - ], - [ - [ - 12633, - 12633 - ], - "mapped", - [ - 4459 - ] - ], - [ - [ - 12634, - 12634 - ], - "mapped", - [ - 4460 - ] - ], - [ - [ - 12635, - 12635 - ], - "mapped", - [ - 4461 - ] - ], - [ - [ - 12636, - 12636 - ], - "mapped", - [ - 4462 - ] - ], - [ - [ - 12637, - 12637 - ], - "mapped", - [ - 4463 - ] - ], - [ - [ - 12638, - 12638 - ], - "mapped", - [ - 4464 - ] - ], - [ - [ - 12639, - 12639 - ], - "mapped", - [ - 4465 - ] - ], - [ - [ - 12640, - 12640 - ], - "mapped", - [ - 4466 - ] - ], - [ - [ - 12641, - 12641 - ], - "mapped", - [ - 4467 - ] - ], - [ - [ - 12642, - 12642 - ], - "mapped", - [ - 4468 - ] - ], - [ - [ - 12643, - 12643 - ], - "mapped", - [ - 4469 - ] - ], - [ - [ - 12644, - 12644 - ], - "disallowed" - ], - [ - [ - 12645, - 12645 - ], - "mapped", - [ - 4372 - ] - ], - [ - [ - 12646, - 12646 - ], - "mapped", - [ - 4373 - ] - ], - [ - [ - 12647, - 12647 - ], - "mapped", - [ - 4551 - ] - ], - [ - [ - 12648, - 12648 - ], - "mapped", - [ - 4552 - ] - ], - [ - [ - 12649, - 12649 - ], - "mapped", - [ - 4556 - ] - ], - [ - [ - 12650, - 12650 - ], - "mapped", - [ - 4558 - ] - ], - [ - [ - 12651, - 12651 - ], - "mapped", - [ - 4563 - ] - ], - [ - [ - 12652, - 12652 - ], - "mapped", - [ - 4567 - ] - ], - [ - [ - 12653, - 12653 - ], - "mapped", - [ - 4569 - ] - ], - [ - [ - 12654, - 12654 - ], - "mapped", - [ - 4380 - ] - ], - [ - [ - 12655, - 12655 - ], - "mapped", - [ - 4573 - ] - ], - [ - [ - 12656, - 12656 - ], - "mapped", - [ - 4575 - ] - ], - [ - [ - 12657, - 12657 - ], - "mapped", - [ - 4381 - ] - ], - [ - [ - 12658, - 12658 - ], - "mapped", - [ - 4382 - ] - ], - [ - [ - 12659, - 12659 - ], - "mapped", - [ - 4384 - ] - ], - [ - [ - 12660, - 12660 - ], - "mapped", - [ - 4386 - ] - ], - [ - [ - 12661, - 12661 - ], - "mapped", - [ - 4387 - ] - ], - [ - [ - 12662, - 12662 - ], - "mapped", - [ - 4391 - ] - ], - [ - [ - 12663, - 12663 - ], - "mapped", - [ - 4393 - ] - ], - [ - [ - 12664, - 12664 - ], - "mapped", - [ - 4395 - ] - ], - [ - [ - 12665, - 12665 - ], - "mapped", - [ - 4396 - ] - ], - [ - [ - 12666, - 12666 - ], - "mapped", - [ - 4397 - ] - ], - [ - [ - 12667, - 12667 - ], - "mapped", - [ - 4398 - ] - ], - [ - [ - 12668, - 12668 - ], - "mapped", - [ - 4399 - ] - ], - [ - [ - 12669, - 12669 - ], - "mapped", - [ - 4402 - ] - ], - [ - [ - 12670, - 12670 - ], - "mapped", - [ - 4406 - ] - ], - [ - [ - 12671, - 12671 - ], - "mapped", - [ - 4416 - ] - ], - [ - [ - 12672, - 12672 - ], - "mapped", - [ - 4423 - ] - ], - [ - [ - 12673, - 12673 - ], - "mapped", - [ - 4428 - ] - ], - [ - [ - 12674, - 12674 - ], - "mapped", - [ - 4593 - ] - ], - [ - [ - 12675, - 12675 - ], - "mapped", - [ - 4594 - ] - ], - [ - [ - 12676, - 12676 - ], - "mapped", - [ - 4439 - ] - ], - [ - [ - 12677, - 12677 - ], - "mapped", - [ - 4440 - ] - ], - [ - [ - 12678, - 12678 - ], - "mapped", - [ - 4441 - ] - ], - [ - [ - 12679, - 12679 - ], - "mapped", - [ - 4484 - ] - ], - [ - [ - 12680, - 12680 - ], - "mapped", - [ - 4485 - ] - ], - [ - [ - 12681, - 12681 - ], - "mapped", - [ - 4488 - ] - ], - [ - [ - 12682, - 12682 - ], - "mapped", - [ - 4497 - ] - ], - [ - [ - 12683, - 12683 - ], - "mapped", - [ - 4498 - ] - ], - [ - [ - 12684, - 12684 - ], - "mapped", - [ - 4500 - ] - ], - [ - [ - 12685, - 12685 - ], - "mapped", - [ - 4510 - ] - ], - [ - [ - 12686, - 12686 - ], - "mapped", - [ - 4513 - ] - ], - [ - [ - 12687, - 12687 - ], - "disallowed" - ], - [ - [ - 12688, - 12689 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12690, - 12690 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 12691, - 12691 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 12692, - 12692 - ], - "mapped", - [ - 19977 - ] - ], - [ - [ - 12693, - 12693 - ], - "mapped", - [ - 22235 - ] - ], - [ - [ - 12694, - 12694 - ], - "mapped", - [ - 19978 - ] - ], - [ - [ - 12695, - 12695 - ], - "mapped", - [ - 20013 - ] - ], - [ - [ - 12696, - 12696 - ], - "mapped", - [ - 19979 - ] - ], - [ - [ - 12697, - 12697 - ], - "mapped", - [ - 30002 - ] - ], - [ - [ - 12698, - 12698 - ], - "mapped", - [ - 20057 - ] - ], - [ - [ - 12699, - 12699 - ], - "mapped", - [ - 19993 - ] - ], - [ - [ - 12700, - 12700 - ], - "mapped", - [ - 19969 - ] - ], - [ - [ - 12701, - 12701 - ], - "mapped", - [ - 22825 - ] - ], - [ - [ - 12702, - 12702 - ], - "mapped", - [ - 22320 - ] - ], - [ - [ - 12703, - 12703 - ], - "mapped", - [ - 20154 - ] - ], - [ - [ - 12704, - 12727 - ], - "valid" - ], - [ - [ - 12728, - 12730 - ], - "valid" - ], - [ - [ - 12731, - 12735 - ], - "disallowed" - ], - [ - [ - 12736, - 12751 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12752, - 12771 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12772, - 12783 - ], - "disallowed" - ], - [ - [ - 12784, - 12799 - ], - "valid" - ], - [ - [ - 12800, - 12800 - ], - "disallowed_STD3_mapped", - [ - 40, - 4352, - 41 - ] - ], - [ - [ - 12801, - 12801 - ], - "disallowed_STD3_mapped", - [ - 40, - 4354, - 41 - ] - ], - [ - [ - 12802, - 12802 - ], - "disallowed_STD3_mapped", - [ - 40, - 4355, - 41 - ] - ], - [ - [ - 12803, - 12803 - ], - "disallowed_STD3_mapped", - [ - 40, - 4357, - 41 - ] - ], - [ - [ - 12804, - 12804 - ], - "disallowed_STD3_mapped", - [ - 40, - 4358, - 41 - ] - ], - [ - [ - 12805, - 12805 - ], - "disallowed_STD3_mapped", - [ - 40, - 4359, - 41 - ] - ], - [ - [ - 12806, - 12806 - ], - "disallowed_STD3_mapped", - [ - 40, - 4361, - 41 - ] - ], - [ - [ - 12807, - 12807 - ], - "disallowed_STD3_mapped", - [ - 40, - 4363, - 41 - ] - ], - [ - [ - 12808, - 12808 - ], - "disallowed_STD3_mapped", - [ - 40, - 4364, - 41 - ] - ], - [ - [ - 12809, - 12809 - ], - "disallowed_STD3_mapped", - [ - 40, - 4366, - 41 - ] - ], - [ - [ - 12810, - 12810 - ], - "disallowed_STD3_mapped", - [ - 40, - 4367, - 41 - ] - ], - [ - [ - 12811, - 12811 - ], - "disallowed_STD3_mapped", - [ - 40, - 4368, - 41 - ] - ], - [ - [ - 12812, - 12812 - ], - "disallowed_STD3_mapped", - [ - 40, - 4369, - 41 - ] - ], - [ - [ - 12813, - 12813 - ], - "disallowed_STD3_mapped", - [ - 40, - 4370, - 41 - ] - ], - [ - [ - 12814, - 12814 - ], - "disallowed_STD3_mapped", - [ - 40, - 44032, - 41 - ] - ], - [ - [ - 12815, - 12815 - ], - "disallowed_STD3_mapped", - [ - 40, - 45208, - 41 - ] - ], - [ - [ - 12816, - 12816 - ], - "disallowed_STD3_mapped", - [ - 40, - 45796, - 41 - ] - ], - [ - [ - 12817, - 12817 - ], - "disallowed_STD3_mapped", - [ - 40, - 46972, - 41 - ] - ], - [ - [ - 12818, - 12818 - ], - "disallowed_STD3_mapped", - [ - 40, - 47560, - 41 - ] - ], - [ - [ - 12819, - 12819 - ], - "disallowed_STD3_mapped", - [ - 40, - 48148, - 41 - ] - ], - [ - [ - 12820, - 12820 - ], - "disallowed_STD3_mapped", - [ - 40, - 49324, - 41 - ] - ], - [ - [ - 12821, - 12821 - ], - "disallowed_STD3_mapped", - [ - 40, - 50500, - 41 - ] - ], - [ - [ - 12822, - 12822 - ], - "disallowed_STD3_mapped", - [ - 40, - 51088, - 41 - ] - ], - [ - [ - 12823, - 12823 - ], - "disallowed_STD3_mapped", - [ - 40, - 52264, - 41 - ] - ], - [ - [ - 12824, - 12824 - ], - "disallowed_STD3_mapped", - [ - 40, - 52852, - 41 - ] - ], - [ - [ - 12825, - 12825 - ], - "disallowed_STD3_mapped", - [ - 40, - 53440, - 41 - ] - ], - [ - [ - 12826, - 12826 - ], - "disallowed_STD3_mapped", - [ - 40, - 54028, - 41 - ] - ], - [ - [ - 12827, - 12827 - ], - "disallowed_STD3_mapped", - [ - 40, - 54616, - 41 - ] - ], - [ - [ - 12828, - 12828 - ], - "disallowed_STD3_mapped", - [ - 40, - 51452, - 41 - ] - ], - [ - [ - 12829, - 12829 - ], - "disallowed_STD3_mapped", - [ - 40, - 50724, - 51204, - 41 - ] - ], - [ - [ - 12830, - 12830 - ], - "disallowed_STD3_mapped", - [ - 40, - 50724, - 54980, - 41 - ] - ], - [ - [ - 12831, - 12831 - ], - "disallowed" - ], - [ - [ - 12832, - 12832 - ], - "disallowed_STD3_mapped", - [ - 40, - 19968, - 41 - ] - ], - [ - [ - 12833, - 12833 - ], - "disallowed_STD3_mapped", - [ - 40, - 20108, - 41 - ] - ], - [ - [ - 12834, - 12834 - ], - "disallowed_STD3_mapped", - [ - 40, - 19977, - 41 - ] - ], - [ - [ - 12835, - 12835 - ], - "disallowed_STD3_mapped", - [ - 40, - 22235, - 41 - ] - ], - [ - [ - 12836, - 12836 - ], - "disallowed_STD3_mapped", - [ - 40, - 20116, - 41 - ] - ], - [ - [ - 12837, - 12837 - ], - "disallowed_STD3_mapped", - [ - 40, - 20845, - 41 - ] - ], - [ - [ - 12838, - 12838 - ], - "disallowed_STD3_mapped", - [ - 40, - 19971, - 41 - ] - ], - [ - [ - 12839, - 12839 - ], - "disallowed_STD3_mapped", - [ - 40, - 20843, - 41 - ] - ], - [ - [ - 12840, - 12840 - ], - "disallowed_STD3_mapped", - [ - 40, - 20061, - 41 - ] - ], - [ - [ - 12841, - 12841 - ], - "disallowed_STD3_mapped", - [ - 40, - 21313, - 41 - ] - ], - [ - [ - 12842, - 12842 - ], - "disallowed_STD3_mapped", - [ - 40, - 26376, - 41 - ] - ], - [ - [ - 12843, - 12843 - ], - "disallowed_STD3_mapped", - [ - 40, - 28779, - 41 - ] - ], - [ - [ - 12844, - 12844 - ], - "disallowed_STD3_mapped", - [ - 40, - 27700, - 41 - ] - ], - [ - [ - 12845, - 12845 - ], - "disallowed_STD3_mapped", - [ - 40, - 26408, - 41 - ] - ], - [ - [ - 12846, - 12846 - ], - "disallowed_STD3_mapped", - [ - 40, - 37329, - 41 - ] - ], - [ - [ - 12847, - 12847 - ], - "disallowed_STD3_mapped", - [ - 40, - 22303, - 41 - ] - ], - [ - [ - 12848, - 12848 - ], - "disallowed_STD3_mapped", - [ - 40, - 26085, - 41 - ] - ], - [ - [ - 12849, - 12849 - ], - "disallowed_STD3_mapped", - [ - 40, - 26666, - 41 - ] - ], - [ - [ - 12850, - 12850 - ], - "disallowed_STD3_mapped", - [ - 40, - 26377, - 41 - ] - ], - [ - [ - 12851, - 12851 - ], - "disallowed_STD3_mapped", - [ - 40, - 31038, - 41 - ] - ], - [ - [ - 12852, - 12852 - ], - "disallowed_STD3_mapped", - [ - 40, - 21517, - 41 - ] - ], - [ - [ - 12853, - 12853 - ], - "disallowed_STD3_mapped", - [ - 40, - 29305, - 41 - ] - ], - [ - [ - 12854, - 12854 - ], - "disallowed_STD3_mapped", - [ - 40, - 36001, - 41 - ] - ], - [ - [ - 12855, - 12855 - ], - "disallowed_STD3_mapped", - [ - 40, - 31069, - 41 - ] - ], - [ - [ - 12856, - 12856 - ], - "disallowed_STD3_mapped", - [ - 40, - 21172, - 41 - ] - ], - [ - [ - 12857, - 12857 - ], - "disallowed_STD3_mapped", - [ - 40, - 20195, - 41 - ] - ], - [ - [ - 12858, - 12858 - ], - "disallowed_STD3_mapped", - [ - 40, - 21628, - 41 - ] - ], - [ - [ - 12859, - 12859 - ], - "disallowed_STD3_mapped", - [ - 40, - 23398, - 41 - ] - ], - [ - [ - 12860, - 12860 - ], - "disallowed_STD3_mapped", - [ - 40, - 30435, - 41 - ] - ], - [ - [ - 12861, - 12861 - ], - "disallowed_STD3_mapped", - [ - 40, - 20225, - 41 - ] - ], - [ - [ - 12862, - 12862 - ], - "disallowed_STD3_mapped", - [ - 40, - 36039, - 41 - ] - ], - [ - [ - 12863, - 12863 - ], - "disallowed_STD3_mapped", - [ - 40, - 21332, - 41 - ] - ], - [ - [ - 12864, - 12864 - ], - "disallowed_STD3_mapped", - [ - 40, - 31085, - 41 - ] - ], - [ - [ - 12865, - 12865 - ], - "disallowed_STD3_mapped", - [ - 40, - 20241, - 41 - ] - ], - [ - [ - 12866, - 12866 - ], - "disallowed_STD3_mapped", - [ - 40, - 33258, - 41 - ] - ], - [ - [ - 12867, - 12867 - ], - "disallowed_STD3_mapped", - [ - 40, - 33267, - 41 - ] - ], - [ - [ - 12868, - 12868 - ], - "mapped", - [ - 21839 - ] - ], - [ - [ - 12869, - 12869 - ], - "mapped", - [ - 24188 - ] - ], - [ - [ - 12870, - 12870 - ], - "mapped", - [ - 25991 - ] - ], - [ - [ - 12871, - 12871 - ], - "mapped", - [ - 31631 - ] - ], - [ - [ - 12872, - 12879 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12880, - 12880 - ], - "mapped", - [ - 112, - 116, - 101 - ] - ], - [ - [ - 12881, - 12881 - ], - "mapped", - [ - 50, - 49 - ] - ], - [ - [ - 12882, - 12882 - ], - "mapped", - [ - 50, - 50 - ] - ], - [ - [ - 12883, - 12883 - ], - "mapped", - [ - 50, - 51 - ] - ], - [ - [ - 12884, - 12884 - ], - "mapped", - [ - 50, - 52 - ] - ], - [ - [ - 12885, - 12885 - ], - "mapped", - [ - 50, - 53 - ] - ], - [ - [ - 12886, - 12886 - ], - "mapped", - [ - 50, - 54 - ] - ], - [ - [ - 12887, - 12887 - ], - "mapped", - [ - 50, - 55 - ] - ], - [ - [ - 12888, - 12888 - ], - "mapped", - [ - 50, - 56 - ] - ], - [ - [ - 12889, - 12889 - ], - "mapped", - [ - 50, - 57 - ] - ], - [ - [ - 12890, - 12890 - ], - "mapped", - [ - 51, - 48 - ] - ], - [ - [ - 12891, - 12891 - ], - "mapped", - [ - 51, - 49 - ] - ], - [ - [ - 12892, - 12892 - ], - "mapped", - [ - 51, - 50 - ] - ], - [ - [ - 12893, - 12893 - ], - "mapped", - [ - 51, - 51 - ] - ], - [ - [ - 12894, - 12894 - ], - "mapped", - [ - 51, - 52 - ] - ], - [ - [ - 12895, - 12895 - ], - "mapped", - [ - 51, - 53 - ] - ], - [ - [ - 12896, - 12896 - ], - "mapped", - [ - 4352 - ] - ], - [ - [ - 12897, - 12897 - ], - "mapped", - [ - 4354 - ] - ], - [ - [ - 12898, - 12898 - ], - "mapped", - [ - 4355 - ] - ], - [ - [ - 12899, - 12899 - ], - "mapped", - [ - 4357 - ] - ], - [ - [ - 12900, - 12900 - ], - "mapped", - [ - 4358 - ] - ], - [ - [ - 12901, - 12901 - ], - "mapped", - [ - 4359 - ] - ], - [ - [ - 12902, - 12902 - ], - "mapped", - [ - 4361 - ] - ], - [ - [ - 12903, - 12903 - ], - "mapped", - [ - 4363 - ] - ], - [ - [ - 12904, - 12904 - ], - "mapped", - [ - 4364 - ] - ], - [ - [ - 12905, - 12905 - ], - "mapped", - [ - 4366 - ] - ], - [ - [ - 12906, - 12906 - ], - "mapped", - [ - 4367 - ] - ], - [ - [ - 12907, - 12907 - ], - "mapped", - [ - 4368 - ] - ], - [ - [ - 12908, - 12908 - ], - "mapped", - [ - 4369 - ] - ], - [ - [ - 12909, - 12909 - ], - "mapped", - [ - 4370 - ] - ], - [ - [ - 12910, - 12910 - ], - "mapped", - [ - 44032 - ] - ], - [ - [ - 12911, - 12911 - ], - "mapped", - [ - 45208 - ] - ], - [ - [ - 12912, - 12912 - ], - "mapped", - [ - 45796 - ] - ], - [ - [ - 12913, - 12913 - ], - "mapped", - [ - 46972 - ] - ], - [ - [ - 12914, - 12914 - ], - "mapped", - [ - 47560 - ] - ], - [ - [ - 12915, - 12915 - ], - "mapped", - [ - 48148 - ] - ], - [ - [ - 12916, - 12916 - ], - "mapped", - [ - 49324 - ] - ], - [ - [ - 12917, - 12917 - ], - "mapped", - [ - 50500 - ] - ], - [ - [ - 12918, - 12918 - ], - "mapped", - [ - 51088 - ] - ], - [ - [ - 12919, - 12919 - ], - "mapped", - [ - 52264 - ] - ], - [ - [ - 12920, - 12920 - ], - "mapped", - [ - 52852 - ] - ], - [ - [ - 12921, - 12921 - ], - "mapped", - [ - 53440 - ] - ], - [ - [ - 12922, - 12922 - ], - "mapped", - [ - 54028 - ] - ], - [ - [ - 12923, - 12923 - ], - "mapped", - [ - 54616 - ] - ], - [ - [ - 12924, - 12924 - ], - "mapped", - [ - 52280, - 44256 - ] - ], - [ - [ - 12925, - 12925 - ], - "mapped", - [ - 51452, - 51032 - ] - ], - [ - [ - 12926, - 12926 - ], - "mapped", - [ - 50864 - ] - ], - [ - [ - 12927, - 12927 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12928, - 12928 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 12929, - 12929 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 12930, - 12930 - ], - "mapped", - [ - 19977 - ] - ], - [ - [ - 12931, - 12931 - ], - "mapped", - [ - 22235 - ] - ], - [ - [ - 12932, - 12932 - ], - "mapped", - [ - 20116 - ] - ], - [ - [ - 12933, - 12933 - ], - "mapped", - [ - 20845 - ] - ], - [ - [ - 12934, - 12934 - ], - "mapped", - [ - 19971 - ] - ], - [ - [ - 12935, - 12935 - ], - "mapped", - [ - 20843 - ] - ], - [ - [ - 12936, - 12936 - ], - "mapped", - [ - 20061 - ] - ], - [ - [ - 12937, - 12937 - ], - "mapped", - [ - 21313 - ] - ], - [ - [ - 12938, - 12938 - ], - "mapped", - [ - 26376 - ] - ], - [ - [ - 12939, - 12939 - ], - "mapped", - [ - 28779 - ] - ], - [ - [ - 12940, - 12940 - ], - "mapped", - [ - 27700 - ] - ], - [ - [ - 12941, - 12941 - ], - "mapped", - [ - 26408 - ] - ], - [ - [ - 12942, - 12942 - ], - "mapped", - [ - 37329 - ] - ], - [ - [ - 12943, - 12943 - ], - "mapped", - [ - 22303 - ] - ], - [ - [ - 12944, - 12944 - ], - "mapped", - [ - 26085 - ] - ], - [ - [ - 12945, - 12945 - ], - "mapped", - [ - 26666 - ] - ], - [ - [ - 12946, - 12946 - ], - "mapped", - [ - 26377 - ] - ], - [ - [ - 12947, - 12947 - ], - "mapped", - [ - 31038 - ] - ], - [ - [ - 12948, - 12948 - ], - "mapped", - [ - 21517 - ] - ], - [ - [ - 12949, - 12949 - ], - "mapped", - [ - 29305 - ] - ], - [ - [ - 12950, - 12950 - ], - "mapped", - [ - 36001 - ] - ], - [ - [ - 12951, - 12951 - ], - "mapped", - [ - 31069 - ] - ], - [ - [ - 12952, - 12952 - ], - "mapped", - [ - 21172 - ] - ], - [ - [ - 12953, - 12953 - ], - "mapped", - [ - 31192 - ] - ], - [ - [ - 12954, - 12954 - ], - "mapped", - [ - 30007 - ] - ], - [ - [ - 12955, - 12955 - ], - "mapped", - [ - 22899 - ] - ], - [ - [ - 12956, - 12956 - ], - "mapped", - [ - 36969 - ] - ], - [ - [ - 12957, - 12957 - ], - "mapped", - [ - 20778 - ] - ], - [ - [ - 12958, - 12958 - ], - "mapped", - [ - 21360 - ] - ], - [ - [ - 12959, - 12959 - ], - "mapped", - [ - 27880 - ] - ], - [ - [ - 12960, - 12960 - ], - "mapped", - [ - 38917 - ] - ], - [ - [ - 12961, - 12961 - ], - "mapped", - [ - 20241 - ] - ], - [ - [ - 12962, - 12962 - ], - "mapped", - [ - 20889 - ] - ], - [ - [ - 12963, - 12963 - ], - "mapped", - [ - 27491 - ] - ], - [ - [ - 12964, - 12964 - ], - "mapped", - [ - 19978 - ] - ], - [ - [ - 12965, - 12965 - ], - "mapped", - [ - 20013 - ] - ], - [ - [ - 12966, - 12966 - ], - "mapped", - [ - 19979 - ] - ], - [ - [ - 12967, - 12967 - ], - "mapped", - [ - 24038 - ] - ], - [ - [ - 12968, - 12968 - ], - "mapped", - [ - 21491 - ] - ], - [ - [ - 12969, - 12969 - ], - "mapped", - [ - 21307 - ] - ], - [ - [ - 12970, - 12970 - ], - "mapped", - [ - 23447 - ] - ], - [ - [ - 12971, - 12971 - ], - "mapped", - [ - 23398 - ] - ], - [ - [ - 12972, - 12972 - ], - "mapped", - [ - 30435 - ] - ], - [ - [ - 12973, - 12973 - ], - "mapped", - [ - 20225 - ] - ], - [ - [ - 12974, - 12974 - ], - "mapped", - [ - 36039 - ] - ], - [ - [ - 12975, - 12975 - ], - "mapped", - [ - 21332 - ] - ], - [ - [ - 12976, - 12976 - ], - "mapped", - [ - 22812 - ] - ], - [ - [ - 12977, - 12977 - ], - "mapped", - [ - 51, - 54 - ] - ], - [ - [ - 12978, - 12978 - ], - "mapped", - [ - 51, - 55 - ] - ], - [ - [ - 12979, - 12979 - ], - "mapped", - [ - 51, - 56 - ] - ], - [ - [ - 12980, - 12980 - ], - "mapped", - [ - 51, - 57 - ] - ], - [ - [ - 12981, - 12981 - ], - "mapped", - [ - 52, - 48 - ] - ], - [ - [ - 12982, - 12982 - ], - "mapped", - [ - 52, - 49 - ] - ], - [ - [ - 12983, - 12983 - ], - "mapped", - [ - 52, - 50 - ] - ], - [ - [ - 12984, - 12984 - ], - "mapped", - [ - 52, - 51 - ] - ], - [ - [ - 12985, - 12985 - ], - "mapped", - [ - 52, - 52 - ] - ], - [ - [ - 12986, - 12986 - ], - "mapped", - [ - 52, - 53 - ] - ], - [ - [ - 12987, - 12987 - ], - "mapped", - [ - 52, - 54 - ] - ], - [ - [ - 12988, - 12988 - ], - "mapped", - [ - 52, - 55 - ] - ], - [ - [ - 12989, - 12989 - ], - "mapped", - [ - 52, - 56 - ] - ], - [ - [ - 12990, - 12990 - ], - "mapped", - [ - 52, - 57 - ] - ], - [ - [ - 12991, - 12991 - ], - "mapped", - [ - 53, - 48 - ] - ], - [ - [ - 12992, - 12992 - ], - "mapped", - [ - 49, - 26376 - ] - ], - [ - [ - 12993, - 12993 - ], - "mapped", - [ - 50, - 26376 - ] - ], - [ - [ - 12994, - 12994 - ], - "mapped", - [ - 51, - 26376 - ] - ], - [ - [ - 12995, - 12995 - ], - "mapped", - [ - 52, - 26376 - ] - ], - [ - [ - 12996, - 12996 - ], - "mapped", - [ - 53, - 26376 - ] - ], - [ - [ - 12997, - 12997 - ], - "mapped", - [ - 54, - 26376 - ] - ], - [ - [ - 12998, - 12998 - ], - "mapped", - [ - 55, - 26376 - ] - ], - [ - [ - 12999, - 12999 - ], - "mapped", - [ - 56, - 26376 - ] - ], - [ - [ - 13000, - 13000 - ], - "mapped", - [ - 57, - 26376 - ] - ], - [ - [ - 13001, - 13001 - ], - "mapped", - [ - 49, - 48, - 26376 - ] - ], - [ - [ - 13002, - 13002 - ], - "mapped", - [ - 49, - 49, - 26376 - ] - ], - [ - [ - 13003, - 13003 - ], - "mapped", - [ - 49, - 50, - 26376 - ] - ], - [ - [ - 13004, - 13004 - ], - "mapped", - [ - 104, - 103 - ] - ], - [ - [ - 13005, - 13005 - ], - "mapped", - [ - 101, - 114, - 103 - ] - ], - [ - [ - 13006, - 13006 - ], - "mapped", - [ - 101, - 118 - ] - ], - [ - [ - 13007, - 13007 - ], - "mapped", - [ - 108, - 116, - 100 - ] - ], - [ - [ - 13008, - 13008 - ], - "mapped", - [ - 12450 - ] - ], - [ - [ - 13009, - 13009 - ], - "mapped", - [ - 12452 - ] - ], - [ - [ - 13010, - 13010 - ], - "mapped", - [ - 12454 - ] - ], - [ - [ - 13011, - 13011 - ], - "mapped", - [ - 12456 - ] - ], - [ - [ - 13012, - 13012 - ], - "mapped", - [ - 12458 - ] - ], - [ - [ - 13013, - 13013 - ], - "mapped", - [ - 12459 - ] - ], - [ - [ - 13014, - 13014 - ], - "mapped", - [ - 12461 - ] - ], - [ - [ - 13015, - 13015 - ], - "mapped", - [ - 12463 - ] - ], - [ - [ - 13016, - 13016 - ], - "mapped", - [ - 12465 - ] - ], - [ - [ - 13017, - 13017 - ], - "mapped", - [ - 12467 - ] - ], - [ - [ - 13018, - 13018 - ], - "mapped", - [ - 12469 - ] - ], - [ - [ - 13019, - 13019 - ], - "mapped", - [ - 12471 - ] - ], - [ - [ - 13020, - 13020 - ], - "mapped", - [ - 12473 - ] - ], - [ - [ - 13021, - 13021 - ], - "mapped", - [ - 12475 - ] - ], - [ - [ - 13022, - 13022 - ], - "mapped", - [ - 12477 - ] - ], - [ - [ - 13023, - 13023 - ], - "mapped", - [ - 12479 - ] - ], - [ - [ - 13024, - 13024 - ], - "mapped", - [ - 12481 - ] - ], - [ - [ - 13025, - 13025 - ], - "mapped", - [ - 12484 - ] - ], - [ - [ - 13026, - 13026 - ], - "mapped", - [ - 12486 - ] - ], - [ - [ - 13027, - 13027 - ], - "mapped", - [ - 12488 - ] - ], - [ - [ - 13028, - 13028 - ], - "mapped", - [ - 12490 - ] - ], - [ - [ - 13029, - 13029 - ], - "mapped", - [ - 12491 - ] - ], - [ - [ - 13030, - 13030 - ], - "mapped", - [ - 12492 - ] - ], - [ - [ - 13031, - 13031 - ], - "mapped", - [ - 12493 - ] - ], - [ - [ - 13032, - 13032 - ], - "mapped", - [ - 12494 - ] - ], - [ - [ - 13033, - 13033 - ], - "mapped", - [ - 12495 - ] - ], - [ - [ - 13034, - 13034 - ], - "mapped", - [ - 12498 - ] - ], - [ - [ - 13035, - 13035 - ], - "mapped", - [ - 12501 - ] - ], - [ - [ - 13036, - 13036 - ], - "mapped", - [ - 12504 - ] - ], - [ - [ - 13037, - 13037 - ], - "mapped", - [ - 12507 - ] - ], - [ - [ - 13038, - 13038 - ], - "mapped", - [ - 12510 - ] - ], - [ - [ - 13039, - 13039 - ], - "mapped", - [ - 12511 - ] - ], - [ - [ - 13040, - 13040 - ], - "mapped", - [ - 12512 - ] - ], - [ - [ - 13041, - 13041 - ], - "mapped", - [ - 12513 - ] - ], - [ - [ - 13042, - 13042 - ], - "mapped", - [ - 12514 - ] - ], - [ - [ - 13043, - 13043 - ], - "mapped", - [ - 12516 - ] - ], - [ - [ - 13044, - 13044 - ], - "mapped", - [ - 12518 - ] - ], - [ - [ - 13045, - 13045 - ], - "mapped", - [ - 12520 - ] - ], - [ - [ - 13046, - 13046 - ], - "mapped", - [ - 12521 - ] - ], - [ - [ - 13047, - 13047 - ], - "mapped", - [ - 12522 - ] - ], - [ - [ - 13048, - 13048 - ], - "mapped", - [ - 12523 - ] - ], - [ - [ - 13049, - 13049 - ], - "mapped", - [ - 12524 - ] - ], - [ - [ - 13050, - 13050 - ], - "mapped", - [ - 12525 - ] - ], - [ - [ - 13051, - 13051 - ], - "mapped", - [ - 12527 - ] - ], - [ - [ - 13052, - 13052 - ], - "mapped", - [ - 12528 - ] - ], - [ - [ - 13053, - 13053 - ], - "mapped", - [ - 12529 - ] - ], - [ - [ - 13054, - 13054 - ], - "mapped", - [ - 12530 - ] - ], - [ - [ - 13055, - 13055 - ], - "disallowed" - ], - [ - [ - 13056, - 13056 - ], - "mapped", - [ - 12450, - 12497, - 12540, - 12488 - ] - ], - [ - [ - 13057, - 13057 - ], - "mapped", - [ - 12450, - 12523, - 12501, - 12449 - ] - ], - [ - [ - 13058, - 13058 - ], - "mapped", - [ - 12450, - 12531, - 12506, - 12450 - ] - ], - [ - [ - 13059, - 13059 - ], - "mapped", - [ - 12450, - 12540, - 12523 - ] - ], - [ - [ - 13060, - 13060 - ], - "mapped", - [ - 12452, - 12491, - 12531, - 12464 - ] - ], - [ - [ - 13061, - 13061 - ], - "mapped", - [ - 12452, - 12531, - 12481 - ] - ], - [ - [ - 13062, - 13062 - ], - "mapped", - [ - 12454, - 12457, - 12531 - ] - ], - [ - [ - 13063, - 13063 - ], - "mapped", - [ - 12456, - 12473, - 12463, - 12540, - 12489 - ] - ], - [ - [ - 13064, - 13064 - ], - "mapped", - [ - 12456, - 12540, - 12459, - 12540 - ] - ], - [ - [ - 13065, - 13065 - ], - "mapped", - [ - 12458, - 12531, - 12473 - ] - ], - [ - [ - 13066, - 13066 - ], - "mapped", - [ - 12458, - 12540, - 12512 - ] - ], - [ - [ - 13067, - 13067 - ], - "mapped", - [ - 12459, - 12452, - 12522 - ] - ], - [ - [ - 13068, - 13068 - ], - "mapped", - [ - 12459, - 12521, - 12483, - 12488 - ] - ], - [ - [ - 13069, - 13069 - ], - "mapped", - [ - 12459, - 12525, - 12522, - 12540 - ] - ], - [ - [ - 13070, - 13070 - ], - "mapped", - [ - 12460, - 12525, - 12531 - ] - ], - [ - [ - 13071, - 13071 - ], - "mapped", - [ - 12460, - 12531, - 12510 - ] - ], - [ - [ - 13072, - 13072 - ], - "mapped", - [ - 12462, - 12460 - ] - ], - [ - [ - 13073, - 13073 - ], - "mapped", - [ - 12462, - 12491, - 12540 - ] - ], - [ - [ - 13074, - 13074 - ], - "mapped", - [ - 12461, - 12517, - 12522, - 12540 - ] - ], - [ - [ - 13075, - 13075 - ], - "mapped", - [ - 12462, - 12523, - 12480, - 12540 - ] - ], - [ - [ - 13076, - 13076 - ], - "mapped", - [ - 12461, - 12525 - ] - ], - [ - [ - 13077, - 13077 - ], - "mapped", - [ - 12461, - 12525, - 12464, - 12521, - 12512 - ] - ], - [ - [ - 13078, - 13078 - ], - "mapped", - [ - 12461, - 12525, - 12513, - 12540, - 12488, - 12523 - ] - ], - [ - [ - 13079, - 13079 - ], - "mapped", - [ - 12461, - 12525, - 12527, - 12483, - 12488 - ] - ], - [ - [ - 13080, - 13080 - ], - "mapped", - [ - 12464, - 12521, - 12512 - ] - ], - [ - [ - 13081, - 13081 - ], - "mapped", - [ - 12464, - 12521, - 12512, - 12488, - 12531 - ] - ], - [ - [ - 13082, - 13082 - ], - "mapped", - [ - 12463, - 12523, - 12476, - 12452, - 12525 - ] - ], - [ - [ - 13083, - 13083 - ], - "mapped", - [ - 12463, - 12525, - 12540, - 12493 - ] - ], - [ - [ - 13084, - 13084 - ], - "mapped", - [ - 12465, - 12540, - 12473 - ] - ], - [ - [ - 13085, - 13085 - ], - "mapped", - [ - 12467, - 12523, - 12490 - ] - ], - [ - [ - 13086, - 13086 - ], - "mapped", - [ - 12467, - 12540, - 12509 - ] - ], - [ - [ - 13087, - 13087 - ], - "mapped", - [ - 12469, - 12452, - 12463, - 12523 - ] - ], - [ - [ - 13088, - 13088 - ], - "mapped", - [ - 12469, - 12531, - 12481, - 12540, - 12512 - ] - ], - [ - [ - 13089, - 13089 - ], - "mapped", - [ - 12471, - 12522, - 12531, - 12464 - ] - ], - [ - [ - 13090, - 13090 - ], - "mapped", - [ - 12475, - 12531, - 12481 - ] - ], - [ - [ - 13091, - 13091 - ], - "mapped", - [ - 12475, - 12531, - 12488 - ] - ], - [ - [ - 13092, - 13092 - ], - "mapped", - [ - 12480, - 12540, - 12473 - ] - ], - [ - [ - 13093, - 13093 - ], - "mapped", - [ - 12487, - 12471 - ] - ], - [ - [ - 13094, - 13094 - ], - "mapped", - [ - 12489, - 12523 - ] - ], - [ - [ - 13095, - 13095 - ], - "mapped", - [ - 12488, - 12531 - ] - ], - [ - [ - 13096, - 13096 - ], - "mapped", - [ - 12490, - 12494 - ] - ], - [ - [ - 13097, - 13097 - ], - "mapped", - [ - 12494, - 12483, - 12488 - ] - ], - [ - [ - 13098, - 13098 - ], - "mapped", - [ - 12495, - 12452, - 12484 - ] - ], - [ - [ - 13099, - 13099 - ], - "mapped", - [ - 12497, - 12540, - 12475, - 12531, - 12488 - ] - ], - [ - [ - 13100, - 13100 - ], - "mapped", - [ - 12497, - 12540, - 12484 - ] - ], - [ - [ - 13101, - 13101 - ], - "mapped", - [ - 12496, - 12540, - 12524, - 12523 - ] - ], - [ - [ - 13102, - 13102 - ], - "mapped", - [ - 12500, - 12450, - 12473, - 12488, - 12523 - ] - ], - [ - [ - 13103, - 13103 - ], - "mapped", - [ - 12500, - 12463, - 12523 - ] - ], - [ - [ - 13104, - 13104 - ], - "mapped", - [ - 12500, - 12467 - ] - ], - [ - [ - 13105, - 13105 - ], - "mapped", - [ - 12499, - 12523 - ] - ], - [ - [ - 13106, - 13106 - ], - "mapped", - [ - 12501, - 12449, - 12521, - 12483, - 12489 - ] - ], - [ - [ - 13107, - 13107 - ], - "mapped", - [ - 12501, - 12451, - 12540, - 12488 - ] - ], - [ - [ - 13108, - 13108 - ], - "mapped", - [ - 12502, - 12483, - 12471, - 12455, - 12523 - ] - ], - [ - [ - 13109, - 13109 - ], - "mapped", - [ - 12501, - 12521, - 12531 - ] - ], - [ - [ - 13110, - 13110 - ], - "mapped", - [ - 12504, - 12463, - 12479, - 12540, - 12523 - ] - ], - [ - [ - 13111, - 13111 - ], - "mapped", - [ - 12506, - 12477 - ] - ], - [ - [ - 13112, - 13112 - ], - "mapped", - [ - 12506, - 12491, - 12498 - ] - ], - [ - [ - 13113, - 13113 - ], - "mapped", - [ - 12504, - 12523, - 12484 - ] - ], - [ - [ - 13114, - 13114 - ], - "mapped", - [ - 12506, - 12531, - 12473 - ] - ], - [ - [ - 13115, - 13115 - ], - "mapped", - [ - 12506, - 12540, - 12472 - ] - ], - [ - [ - 13116, - 13116 - ], - "mapped", - [ - 12505, - 12540, - 12479 - ] - ], - [ - [ - 13117, - 13117 - ], - "mapped", - [ - 12509, - 12452, - 12531, - 12488 - ] - ], - [ - [ - 13118, - 13118 - ], - "mapped", - [ - 12508, - 12523, - 12488 - ] - ], - [ - [ - 13119, - 13119 - ], - "mapped", - [ - 12507, - 12531 - ] - ], - [ - [ - 13120, - 13120 - ], - "mapped", - [ - 12509, - 12531, - 12489 - ] - ], - [ - [ - 13121, - 13121 - ], - "mapped", - [ - 12507, - 12540, - 12523 - ] - ], - [ - [ - 13122, - 13122 - ], - "mapped", - [ - 12507, - 12540, - 12531 - ] - ], - [ - [ - 13123, - 13123 - ], - "mapped", - [ - 12510, - 12452, - 12463, - 12525 - ] - ], - [ - [ - 13124, - 13124 - ], - "mapped", - [ - 12510, - 12452, - 12523 - ] - ], - [ - [ - 13125, - 13125 - ], - "mapped", - [ - 12510, - 12483, - 12495 - ] - ], - [ - [ - 13126, - 13126 - ], - "mapped", - [ - 12510, - 12523, - 12463 - ] - ], - [ - [ - 13127, - 13127 - ], - "mapped", - [ - 12510, - 12531, - 12471, - 12519, - 12531 - ] - ], - [ - [ - 13128, - 13128 - ], - "mapped", - [ - 12511, - 12463, - 12525, - 12531 - ] - ], - [ - [ - 13129, - 13129 - ], - "mapped", - [ - 12511, - 12522 - ] - ], - [ - [ - 13130, - 13130 - ], - "mapped", - [ - 12511, - 12522, - 12496, - 12540, - 12523 - ] - ], - [ - [ - 13131, - 13131 - ], - "mapped", - [ - 12513, - 12460 - ] - ], - [ - [ - 13132, - 13132 - ], - "mapped", - [ - 12513, - 12460, - 12488, - 12531 - ] - ], - [ - [ - 13133, - 13133 - ], - "mapped", - [ - 12513, - 12540, - 12488, - 12523 - ] - ], - [ - [ - 13134, - 13134 - ], - "mapped", - [ - 12516, - 12540, - 12489 - ] - ], - [ - [ - 13135, - 13135 - ], - "mapped", - [ - 12516, - 12540, - 12523 - ] - ], - [ - [ - 13136, - 13136 - ], - "mapped", - [ - 12518, - 12450, - 12531 - ] - ], - [ - [ - 13137, - 13137 - ], - "mapped", - [ - 12522, - 12483, - 12488, - 12523 - ] - ], - [ - [ - 13138, - 13138 - ], - "mapped", - [ - 12522, - 12521 - ] - ], - [ - [ - 13139, - 13139 - ], - "mapped", - [ - 12523, - 12500, - 12540 - ] - ], - [ - [ - 13140, - 13140 - ], - "mapped", - [ - 12523, - 12540, - 12502, - 12523 - ] - ], - [ - [ - 13141, - 13141 - ], - "mapped", - [ - 12524, - 12512 - ] - ], - [ - [ - 13142, - 13142 - ], - "mapped", - [ - 12524, - 12531, - 12488, - 12466, - 12531 - ] - ], - [ - [ - 13143, - 13143 - ], - "mapped", - [ - 12527, - 12483, - 12488 - ] - ], - [ - [ - 13144, - 13144 - ], - "mapped", - [ - 48, - 28857 - ] - ], - [ - [ - 13145, - 13145 - ], - "mapped", - [ - 49, - 28857 - ] - ], - [ - [ - 13146, - 13146 - ], - "mapped", - [ - 50, - 28857 - ] - ], - [ - [ - 13147, - 13147 - ], - "mapped", - [ - 51, - 28857 - ] - ], - [ - [ - 13148, - 13148 - ], - "mapped", - [ - 52, - 28857 - ] - ], - [ - [ - 13149, - 13149 - ], - "mapped", - [ - 53, - 28857 - ] - ], - [ - [ - 13150, - 13150 - ], - "mapped", - [ - 54, - 28857 - ] - ], - [ - [ - 13151, - 13151 - ], - "mapped", - [ - 55, - 28857 - ] - ], - [ - [ - 13152, - 13152 - ], - "mapped", - [ - 56, - 28857 - ] - ], - [ - [ - 13153, - 13153 - ], - "mapped", - [ - 57, - 28857 - ] - ], - [ - [ - 13154, - 13154 - ], - "mapped", - [ - 49, - 48, - 28857 - ] - ], - [ - [ - 13155, - 13155 - ], - "mapped", - [ - 49, - 49, - 28857 - ] - ], - [ - [ - 13156, - 13156 - ], - "mapped", - [ - 49, - 50, - 28857 - ] - ], - [ - [ - 13157, - 13157 - ], - "mapped", - [ - 49, - 51, - 28857 - ] - ], - [ - [ - 13158, - 13158 - ], - "mapped", - [ - 49, - 52, - 28857 - ] - ], - [ - [ - 13159, - 13159 - ], - "mapped", - [ - 49, - 53, - 28857 - ] - ], - [ - [ - 13160, - 13160 - ], - "mapped", - [ - 49, - 54, - 28857 - ] - ], - [ - [ - 13161, - 13161 - ], - "mapped", - [ - 49, - 55, - 28857 - ] - ], - [ - [ - 13162, - 13162 - ], - "mapped", - [ - 49, - 56, - 28857 - ] - ], - [ - [ - 13163, - 13163 - ], - "mapped", - [ - 49, - 57, - 28857 - ] - ], - [ - [ - 13164, - 13164 - ], - "mapped", - [ - 50, - 48, - 28857 - ] - ], - [ - [ - 13165, - 13165 - ], - "mapped", - [ - 50, - 49, - 28857 - ] - ], - [ - [ - 13166, - 13166 - ], - "mapped", - [ - 50, - 50, - 28857 - ] - ], - [ - [ - 13167, - 13167 - ], - "mapped", - [ - 50, - 51, - 28857 - ] - ], - [ - [ - 13168, - 13168 - ], - "mapped", - [ - 50, - 52, - 28857 - ] - ], - [ - [ - 13169, - 13169 - ], - "mapped", - [ - 104, - 112, - 97 - ] - ], - [ - [ - 13170, - 13170 - ], - "mapped", - [ - 100, - 97 - ] - ], - [ - [ - 13171, - 13171 - ], - "mapped", - [ - 97, - 117 - ] - ], - [ - [ - 13172, - 13172 - ], - "mapped", - [ - 98, - 97, - 114 - ] - ], - [ - [ - 13173, - 13173 - ], - "mapped", - [ - 111, - 118 - ] - ], - [ - [ - 13174, - 13174 - ], - "mapped", - [ - 112, - 99 - ] - ], - [ - [ - 13175, - 13175 - ], - "mapped", - [ - 100, - 109 - ] - ], - [ - [ - 13176, - 13176 - ], - "mapped", - [ - 100, - 109, - 50 - ] - ], - [ - [ - 13177, - 13177 - ], - "mapped", - [ - 100, - 109, - 51 - ] - ], - [ - [ - 13178, - 13178 - ], - "mapped", - [ - 105, - 117 - ] - ], - [ - [ - 13179, - 13179 - ], - "mapped", - [ - 24179, - 25104 - ] - ], - [ - [ - 13180, - 13180 - ], - "mapped", - [ - 26157, - 21644 - ] - ], - [ - [ - 13181, - 13181 - ], - "mapped", - [ - 22823, - 27491 - ] - ], - [ - [ - 13182, - 13182 - ], - "mapped", - [ - 26126, - 27835 - ] - ], - [ - [ - 13183, - 13183 - ], - "mapped", - [ - 26666, - 24335, - 20250, - 31038 - ] - ], - [ - [ - 13184, - 13184 - ], - "mapped", - [ - 112, - 97 - ] - ], - [ - [ - 13185, - 13185 - ], - "mapped", - [ - 110, - 97 - ] - ], - [ - [ - 13186, - 13186 - ], - "mapped", - [ - 956, - 97 - ] - ], - [ - [ - 13187, - 13187 - ], - "mapped", - [ - 109, - 97 - ] - ], - [ - [ - 13188, - 13188 - ], - "mapped", - [ - 107, - 97 - ] - ], - [ - [ - 13189, - 13189 - ], - "mapped", - [ - 107, - 98 - ] - ], - [ - [ - 13190, - 13190 - ], - "mapped", - [ - 109, - 98 - ] - ], - [ - [ - 13191, - 13191 - ], - "mapped", - [ - 103, - 98 - ] - ], - [ - [ - 13192, - 13192 - ], - "mapped", - [ - 99, - 97, - 108 - ] - ], - [ - [ - 13193, - 13193 - ], - "mapped", - [ - 107, - 99, - 97, - 108 - ] - ], - [ - [ - 13194, - 13194 - ], - "mapped", - [ - 112, - 102 - ] - ], - [ - [ - 13195, - 13195 - ], - "mapped", - [ - 110, - 102 - ] - ], - [ - [ - 13196, - 13196 - ], - "mapped", - [ - 956, - 102 - ] - ], - [ - [ - 13197, - 13197 - ], - "mapped", - [ - 956, - 103 - ] - ], - [ - [ - 13198, - 13198 - ], - "mapped", - [ - 109, - 103 - ] - ], - [ - [ - 13199, - 13199 - ], - "mapped", - [ - 107, - 103 - ] - ], - [ - [ - 13200, - 13200 - ], - "mapped", - [ - 104, - 122 - ] - ], - [ - [ - 13201, - 13201 - ], - "mapped", - [ - 107, - 104, - 122 - ] - ], - [ - [ - 13202, - 13202 - ], - "mapped", - [ - 109, - 104, - 122 - ] - ], - [ - [ - 13203, - 13203 - ], - "mapped", - [ - 103, - 104, - 122 - ] - ], - [ - [ - 13204, - 13204 - ], - "mapped", - [ - 116, - 104, - 122 - ] - ], - [ - [ - 13205, - 13205 - ], - "mapped", - [ - 956, - 108 - ] - ], - [ - [ - 13206, - 13206 - ], - "mapped", - [ - 109, - 108 - ] - ], - [ - [ - 13207, - 13207 - ], - "mapped", - [ - 100, - 108 - ] - ], - [ - [ - 13208, - 13208 - ], - "mapped", - [ - 107, - 108 - ] - ], - [ - [ - 13209, - 13209 - ], - "mapped", - [ - 102, - 109 - ] - ], - [ - [ - 13210, - 13210 - ], - "mapped", - [ - 110, - 109 - ] - ], - [ - [ - 13211, - 13211 - ], - "mapped", - [ - 956, - 109 - ] - ], - [ - [ - 13212, - 13212 - ], - "mapped", - [ - 109, - 109 - ] - ], - [ - [ - 13213, - 13213 - ], - "mapped", - [ - 99, - 109 - ] - ], - [ - [ - 13214, - 13214 - ], - "mapped", - [ - 107, - 109 - ] - ], - [ - [ - 13215, - 13215 - ], - "mapped", - [ - 109, - 109, - 50 - ] - ], - [ - [ - 13216, - 13216 - ], - "mapped", - [ - 99, - 109, - 50 - ] - ], - [ - [ - 13217, - 13217 - ], - "mapped", - [ - 109, - 50 - ] - ], - [ - [ - 13218, - 13218 - ], - "mapped", - [ - 107, - 109, - 50 - ] - ], - [ - [ - 13219, - 13219 - ], - "mapped", - [ - 109, - 109, - 51 - ] - ], - [ - [ - 13220, - 13220 - ], - "mapped", - [ - 99, - 109, - 51 - ] - ], - [ - [ - 13221, - 13221 - ], - "mapped", - [ - 109, - 51 - ] - ], - [ - [ - 13222, - 13222 - ], - "mapped", - [ - 107, - 109, - 51 - ] - ], - [ - [ - 13223, - 13223 - ], - "mapped", - [ - 109, - 8725, - 115 - ] - ], - [ - [ - 13224, - 13224 - ], - "mapped", - [ - 109, - 8725, - 115, - 50 - ] - ], - [ - [ - 13225, - 13225 - ], - "mapped", - [ - 112, - 97 - ] - ], - [ - [ - 13226, - 13226 - ], - "mapped", - [ - 107, - 112, - 97 - ] - ], - [ - [ - 13227, - 13227 - ], - "mapped", - [ - 109, - 112, - 97 - ] - ], - [ - [ - 13228, - 13228 - ], - "mapped", - [ - 103, - 112, - 97 - ] - ], - [ - [ - 13229, - 13229 - ], - "mapped", - [ - 114, - 97, - 100 - ] - ], - [ - [ - 13230, - 13230 - ], - "mapped", - [ - 114, - 97, - 100, - 8725, - 115 - ] - ], - [ - [ - 13231, - 13231 - ], - "mapped", - [ - 114, - 97, - 100, - 8725, - 115, - 50 - ] - ], - [ - [ - 13232, - 13232 - ], - "mapped", - [ - 112, - 115 - ] - ], - [ - [ - 13233, - 13233 - ], - "mapped", - [ - 110, - 115 - ] - ], - [ - [ - 13234, - 13234 - ], - "mapped", - [ - 956, - 115 - ] - ], - [ - [ - 13235, - 13235 - ], - "mapped", - [ - 109, - 115 - ] - ], - [ - [ - 13236, - 13236 - ], - "mapped", - [ - 112, - 118 - ] - ], - [ - [ - 13237, - 13237 - ], - "mapped", - [ - 110, - 118 - ] - ], - [ - [ - 13238, - 13238 - ], - "mapped", - [ - 956, - 118 - ] - ], - [ - [ - 13239, - 13239 - ], - "mapped", - [ - 109, - 118 - ] - ], - [ - [ - 13240, - 13240 - ], - "mapped", - [ - 107, - 118 - ] - ], - [ - [ - 13241, - 13241 - ], - "mapped", - [ - 109, - 118 - ] - ], - [ - [ - 13242, - 13242 - ], - "mapped", - [ - 112, - 119 - ] - ], - [ - [ - 13243, - 13243 - ], - "mapped", - [ - 110, - 119 - ] - ], - [ - [ - 13244, - 13244 - ], - "mapped", - [ - 956, - 119 - ] - ], - [ - [ - 13245, - 13245 - ], - "mapped", - [ - 109, - 119 - ] - ], - [ - [ - 13246, - 13246 - ], - "mapped", - [ - 107, - 119 - ] - ], - [ - [ - 13247, - 13247 - ], - "mapped", - [ - 109, - 119 - ] - ], - [ - [ - 13248, - 13248 - ], - "mapped", - [ - 107, - 969 - ] - ], - [ - [ - 13249, - 13249 - ], - "mapped", - [ - 109, - 969 - ] - ], - [ - [ - 13250, - 13250 - ], - "disallowed" - ], - [ - [ - 13251, - 13251 - ], - "mapped", - [ - 98, - 113 - ] - ], - [ - [ - 13252, - 13252 - ], - "mapped", - [ - 99, - 99 - ] - ], - [ - [ - 13253, - 13253 - ], - "mapped", - [ - 99, - 100 - ] - ], - [ - [ - 13254, - 13254 - ], - "mapped", - [ - 99, - 8725, - 107, - 103 - ] - ], - [ - [ - 13255, - 13255 - ], - "disallowed" - ], - [ - [ - 13256, - 13256 - ], - "mapped", - [ - 100, - 98 - ] - ], - [ - [ - 13257, - 13257 - ], - "mapped", - [ - 103, - 121 - ] - ], - [ - [ - 13258, - 13258 - ], - "mapped", - [ - 104, - 97 - ] - ], - [ - [ - 13259, - 13259 - ], - "mapped", - [ - 104, - 112 - ] - ], - [ - [ - 13260, - 13260 - ], - "mapped", - [ - 105, - 110 - ] - ], - [ - [ - 13261, - 13261 - ], - "mapped", - [ - 107, - 107 - ] - ], - [ - [ - 13262, - 13262 - ], - "mapped", - [ - 107, - 109 - ] - ], - [ - [ - 13263, - 13263 - ], - "mapped", - [ - 107, - 116 - ] - ], - [ - [ - 13264, - 13264 - ], - "mapped", - [ - 108, - 109 - ] - ], - [ - [ - 13265, - 13265 - ], - "mapped", - [ - 108, - 110 - ] - ], - [ - [ - 13266, - 13266 - ], - "mapped", - [ - 108, - 111, - 103 - ] - ], - [ - [ - 13267, - 13267 - ], - "mapped", - [ - 108, - 120 - ] - ], - [ - [ - 13268, - 13268 - ], - "mapped", - [ - 109, - 98 - ] - ], - [ - [ - 13269, - 13269 - ], - "mapped", - [ - 109, - 105, - 108 - ] - ], - [ - [ - 13270, - 13270 - ], - "mapped", - [ - 109, - 111, - 108 - ] - ], - [ - [ - 13271, - 13271 - ], - "mapped", - [ - 112, - 104 - ] - ], - [ - [ - 13272, - 13272 - ], - "disallowed" - ], - [ - [ - 13273, - 13273 - ], - "mapped", - [ - 112, - 112, - 109 - ] - ], - [ - [ - 13274, - 13274 - ], - "mapped", - [ - 112, - 114 - ] - ], - [ - [ - 13275, - 13275 - ], - "mapped", - [ - 115, - 114 - ] - ], - [ - [ - 13276, - 13276 - ], - "mapped", - [ - 115, - 118 - ] - ], - [ - [ - 13277, - 13277 - ], - "mapped", - [ - 119, - 98 - ] - ], - [ - [ - 13278, - 13278 - ], - "mapped", - [ - 118, - 8725, - 109 - ] - ], - [ - [ - 13279, - 13279 - ], - "mapped", - [ - 97, - 8725, - 109 - ] - ], - [ - [ - 13280, - 13280 - ], - "mapped", - [ - 49, - 26085 - ] - ], - [ - [ - 13281, - 13281 - ], - "mapped", - [ - 50, - 26085 - ] - ], - [ - [ - 13282, - 13282 - ], - "mapped", - [ - 51, - 26085 - ] - ], - [ - [ - 13283, - 13283 - ], - "mapped", - [ - 52, - 26085 - ] - ], - [ - [ - 13284, - 13284 - ], - "mapped", - [ - 53, - 26085 - ] - ], - [ - [ - 13285, - 13285 - ], - "mapped", - [ - 54, - 26085 - ] - ], - [ - [ - 13286, - 13286 - ], - "mapped", - [ - 55, - 26085 - ] - ], - [ - [ - 13287, - 13287 - ], - "mapped", - [ - 56, - 26085 - ] - ], - [ - [ - 13288, - 13288 - ], - "mapped", - [ - 57, - 26085 - ] - ], - [ - [ - 13289, - 13289 - ], - "mapped", - [ - 49, - 48, - 26085 - ] - ], - [ - [ - 13290, - 13290 - ], - "mapped", - [ - 49, - 49, - 26085 - ] - ], - [ - [ - 13291, - 13291 - ], - "mapped", - [ - 49, - 50, - 26085 - ] - ], - [ - [ - 13292, - 13292 - ], - "mapped", - [ - 49, - 51, - 26085 - ] - ], - [ - [ - 13293, - 13293 - ], - "mapped", - [ - 49, - 52, - 26085 - ] - ], - [ - [ - 13294, - 13294 - ], - "mapped", - [ - 49, - 53, - 26085 - ] - ], - [ - [ - 13295, - 13295 - ], - "mapped", - [ - 49, - 54, - 26085 - ] - ], - [ - [ - 13296, - 13296 - ], - "mapped", - [ - 49, - 55, - 26085 - ] - ], - [ - [ - 13297, - 13297 - ], - "mapped", - [ - 49, - 56, - 26085 - ] - ], - [ - [ - 13298, - 13298 - ], - "mapped", - [ - 49, - 57, - 26085 - ] - ], - [ - [ - 13299, - 13299 - ], - "mapped", - [ - 50, - 48, - 26085 - ] - ], - [ - [ - 13300, - 13300 - ], - "mapped", - [ - 50, - 49, - 26085 - ] - ], - [ - [ - 13301, - 13301 - ], - "mapped", - [ - 50, - 50, - 26085 - ] - ], - [ - [ - 13302, - 13302 - ], - "mapped", - [ - 50, - 51, - 26085 - ] - ], - [ - [ - 13303, - 13303 - ], - "mapped", - [ - 50, - 52, - 26085 - ] - ], - [ - [ - 13304, - 13304 - ], - "mapped", - [ - 50, - 53, - 26085 - ] - ], - [ - [ - 13305, - 13305 - ], - "mapped", - [ - 50, - 54, - 26085 - ] - ], - [ - [ - 13306, - 13306 - ], - "mapped", - [ - 50, - 55, - 26085 - ] - ], - [ - [ - 13307, - 13307 - ], - "mapped", - [ - 50, - 56, - 26085 - ] - ], - [ - [ - 13308, - 13308 - ], - "mapped", - [ - 50, - 57, - 26085 - ] - ], - [ - [ - 13309, - 13309 - ], - "mapped", - [ - 51, - 48, - 26085 - ] - ], - [ - [ - 13310, - 13310 - ], - "mapped", - [ - 51, - 49, - 26085 - ] - ], - [ - [ - 13311, - 13311 - ], - "mapped", - [ - 103, - 97, - 108 - ] - ], - [ - [ - 13312, - 19893 - ], - "valid" - ], - [ - [ - 19894, - 19903 - ], - "disallowed" - ], - [ - [ - 19904, - 19967 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 19968, - 40869 - ], - "valid" - ], - [ - [ - 40870, - 40891 - ], - "valid" - ], - [ - [ - 40892, - 40899 - ], - "valid" - ], - [ - [ - 40900, - 40907 - ], - "valid" - ], - [ - [ - 40908, - 40908 - ], - "valid" - ], - [ - [ - 40909, - 40917 - ], - "valid" - ], - [ - [ - 40918, - 40959 - ], - "disallowed" - ], - [ - [ - 40960, - 42124 - ], - "valid" - ], - [ - [ - 42125, - 42127 - ], - "disallowed" - ], - [ - [ - 42128, - 42145 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42146, - 42147 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42148, - 42163 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42164, - 42164 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42165, - 42176 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42177, - 42177 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42178, - 42180 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42181, - 42181 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42182, - 42182 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42183, - 42191 - ], - "disallowed" - ], - [ - [ - 42192, - 42237 - ], - "valid" - ], - [ - [ - 42238, - 42239 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42240, - 42508 - ], - "valid" - ], - [ - [ - 42509, - 42511 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42512, - 42539 - ], - "valid" - ], - [ - [ - 42540, - 42559 - ], - "disallowed" - ], - [ - [ - 42560, - 42560 - ], - "mapped", - [ - 42561 - ] - ], - [ - [ - 42561, - 42561 - ], - "valid" - ], - [ - [ - 42562, - 42562 - ], - "mapped", - [ - 42563 - ] - ], - [ - [ - 42563, - 42563 - ], - "valid" - ], - [ - [ - 42564, - 42564 - ], - "mapped", - [ - 42565 - ] - ], - [ - [ - 42565, - 42565 - ], - "valid" - ], - [ - [ - 42566, - 42566 - ], - "mapped", - [ - 42567 - ] - ], - [ - [ - 42567, - 42567 - ], - "valid" - ], - [ - [ - 42568, - 42568 - ], - "mapped", - [ - 42569 - ] - ], - [ - [ - 42569, - 42569 - ], - "valid" - ], - [ - [ - 42570, - 42570 - ], - "mapped", - [ - 42571 - ] - ], - [ - [ - 42571, - 42571 - ], - "valid" - ], - [ - [ - 42572, - 42572 - ], - "mapped", - [ - 42573 - ] - ], - [ - [ - 42573, - 42573 - ], - "valid" - ], - [ - [ - 42574, - 42574 - ], - "mapped", - [ - 42575 - ] - ], - [ - [ - 42575, - 42575 - ], - "valid" - ], - [ - [ - 42576, - 42576 - ], - "mapped", - [ - 42577 - ] - ], - [ - [ - 42577, - 42577 - ], - "valid" - ], - [ - [ - 42578, - 42578 - ], - "mapped", - [ - 42579 - ] - ], - [ - [ - 42579, - 42579 - ], - "valid" - ], - [ - [ - 42580, - 42580 - ], - "mapped", - [ - 42581 - ] - ], - [ - [ - 42581, - 42581 - ], - "valid" - ], - [ - [ - 42582, - 42582 - ], - "mapped", - [ - 42583 - ] - ], - [ - [ - 42583, - 42583 - ], - "valid" - ], - [ - [ - 42584, - 42584 - ], - "mapped", - [ - 42585 - ] - ], - [ - [ - 42585, - 42585 - ], - "valid" - ], - [ - [ - 42586, - 42586 - ], - "mapped", - [ - 42587 - ] - ], - [ - [ - 42587, - 42587 - ], - "valid" - ], - [ - [ - 42588, - 42588 - ], - "mapped", - [ - 42589 - ] - ], - [ - [ - 42589, - 42589 - ], - "valid" - ], - [ - [ - 42590, - 42590 - ], - "mapped", - [ - 42591 - ] - ], - [ - [ - 42591, - 42591 - ], - "valid" - ], - [ - [ - 42592, - 42592 - ], - "mapped", - [ - 42593 - ] - ], - [ - [ - 42593, - 42593 - ], - "valid" - ], - [ - [ - 42594, - 42594 - ], - "mapped", - [ - 42595 - ] - ], - [ - [ - 42595, - 42595 - ], - "valid" - ], - [ - [ - 42596, - 42596 - ], - "mapped", - [ - 42597 - ] - ], - [ - [ - 42597, - 42597 - ], - "valid" - ], - [ - [ - 42598, - 42598 - ], - "mapped", - [ - 42599 - ] - ], - [ - [ - 42599, - 42599 - ], - "valid" - ], - [ - [ - 42600, - 42600 - ], - "mapped", - [ - 42601 - ] - ], - [ - [ - 42601, - 42601 - ], - "valid" - ], - [ - [ - 42602, - 42602 - ], - "mapped", - [ - 42603 - ] - ], - [ - [ - 42603, - 42603 - ], - "valid" - ], - [ - [ - 42604, - 42604 - ], - "mapped", - [ - 42605 - ] - ], - [ - [ - 42605, - 42607 - ], - "valid" - ], - [ - [ - 42608, - 42611 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42612, - 42619 - ], - "valid" - ], - [ - [ - 42620, - 42621 - ], - "valid" - ], - [ - [ - 42622, - 42622 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42623, - 42623 - ], - "valid" - ], - [ - [ - 42624, - 42624 - ], - "mapped", - [ - 42625 - ] - ], - [ - [ - 42625, - 42625 - ], - "valid" - ], - [ - [ - 42626, - 42626 - ], - "mapped", - [ - 42627 - ] - ], - [ - [ - 42627, - 42627 - ], - "valid" - ], - [ - [ - 42628, - 42628 - ], - "mapped", - [ - 42629 - ] - ], - [ - [ - 42629, - 42629 - ], - "valid" - ], - [ - [ - 42630, - 42630 - ], - "mapped", - [ - 42631 - ] - ], - [ - [ - 42631, - 42631 - ], - "valid" - ], - [ - [ - 42632, - 42632 - ], - "mapped", - [ - 42633 - ] - ], - [ - [ - 42633, - 42633 - ], - "valid" - ], - [ - [ - 42634, - 42634 - ], - "mapped", - [ - 42635 - ] - ], - [ - [ - 42635, - 42635 - ], - "valid" - ], - [ - [ - 42636, - 42636 - ], - "mapped", - [ - 42637 - ] - ], - [ - [ - 42637, - 42637 - ], - "valid" - ], - [ - [ - 42638, - 42638 - ], - "mapped", - [ - 42639 - ] - ], - [ - [ - 42639, - 42639 - ], - "valid" - ], - [ - [ - 42640, - 42640 - ], - "mapped", - [ - 42641 - ] - ], - [ - [ - 42641, - 42641 - ], - "valid" - ], - [ - [ - 42642, - 42642 - ], - "mapped", - [ - 42643 - ] - ], - [ - [ - 42643, - 42643 - ], - "valid" - ], - [ - [ - 42644, - 42644 - ], - "mapped", - [ - 42645 - ] - ], - [ - [ - 42645, - 42645 - ], - "valid" - ], - [ - [ - 42646, - 42646 - ], - "mapped", - [ - 42647 - ] - ], - [ - [ - 42647, - 42647 - ], - "valid" - ], - [ - [ - 42648, - 42648 - ], - "mapped", - [ - 42649 - ] - ], - [ - [ - 42649, - 42649 - ], - "valid" - ], - [ - [ - 42650, - 42650 - ], - "mapped", - [ - 42651 - ] - ], - [ - [ - 42651, - 42651 - ], - "valid" - ], - [ - [ - 42652, - 42652 - ], - "mapped", - [ - 1098 - ] - ], - [ - [ - 42653, - 42653 - ], - "mapped", - [ - 1100 - ] - ], - [ - [ - 42654, - 42654 - ], - "valid" - ], - [ - [ - 42655, - 42655 - ], - "valid" - ], - [ - [ - 42656, - 42725 - ], - "valid" - ], - [ - [ - 42726, - 42735 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42736, - 42737 - ], - "valid" - ], - [ - [ - 42738, - 42743 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42744, - 42751 - ], - "disallowed" - ], - [ - [ - 42752, - 42774 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42775, - 42778 - ], - "valid" - ], - [ - [ - 42779, - 42783 - ], - "valid" - ], - [ - [ - 42784, - 42785 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42786, - 42786 - ], - "mapped", - [ - 42787 - ] - ], - [ - [ - 42787, - 42787 - ], - "valid" - ], - [ - [ - 42788, - 42788 - ], - "mapped", - [ - 42789 - ] - ], - [ - [ - 42789, - 42789 - ], - "valid" - ], - [ - [ - 42790, - 42790 - ], - "mapped", - [ - 42791 - ] - ], - [ - [ - 42791, - 42791 - ], - "valid" - ], - [ - [ - 42792, - 42792 - ], - "mapped", - [ - 42793 - ] - ], - [ - [ - 42793, - 42793 - ], - "valid" - ], - [ - [ - 42794, - 42794 - ], - "mapped", - [ - 42795 - ] - ], - [ - [ - 42795, - 42795 - ], - "valid" - ], - [ - [ - 42796, - 42796 - ], - "mapped", - [ - 42797 - ] - ], - [ - [ - 42797, - 42797 - ], - "valid" - ], - [ - [ - 42798, - 42798 - ], - "mapped", - [ - 42799 - ] - ], - [ - [ - 42799, - 42801 - ], - "valid" - ], - [ - [ - 42802, - 42802 - ], - "mapped", - [ - 42803 - ] - ], - [ - [ - 42803, - 42803 - ], - "valid" - ], - [ - [ - 42804, - 42804 - ], - "mapped", - [ - 42805 - ] - ], - [ - [ - 42805, - 42805 - ], - "valid" - ], - [ - [ - 42806, - 42806 - ], - "mapped", - [ - 42807 - ] - ], - [ - [ - 42807, - 42807 - ], - "valid" - ], - [ - [ - 42808, - 42808 - ], - "mapped", - [ - 42809 - ] - ], - [ - [ - 42809, - 42809 - ], - "valid" - ], - [ - [ - 42810, - 42810 - ], - "mapped", - [ - 42811 - ] - ], - [ - [ - 42811, - 42811 - ], - "valid" - ], - [ - [ - 42812, - 42812 - ], - "mapped", - [ - 42813 - ] - ], - [ - [ - 42813, - 42813 - ], - "valid" - ], - [ - [ - 42814, - 42814 - ], - "mapped", - [ - 42815 - ] - ], - [ - [ - 42815, - 42815 - ], - "valid" - ], - [ - [ - 42816, - 42816 - ], - "mapped", - [ - 42817 - ] - ], - [ - [ - 42817, - 42817 - ], - "valid" - ], - [ - [ - 42818, - 42818 - ], - "mapped", - [ - 42819 - ] - ], - [ - [ - 42819, - 42819 - ], - "valid" - ], - [ - [ - 42820, - 42820 - ], - "mapped", - [ - 42821 - ] - ], - [ - [ - 42821, - 42821 - ], - "valid" - ], - [ - [ - 42822, - 42822 - ], - "mapped", - [ - 42823 - ] - ], - [ - [ - 42823, - 42823 - ], - "valid" - ], - [ - [ - 42824, - 42824 - ], - "mapped", - [ - 42825 - ] - ], - [ - [ - 42825, - 42825 - ], - "valid" - ], - [ - [ - 42826, - 42826 - ], - "mapped", - [ - 42827 - ] - ], - [ - [ - 42827, - 42827 - ], - "valid" - ], - [ - [ - 42828, - 42828 - ], - "mapped", - [ - 42829 - ] - ], - [ - [ - 42829, - 42829 - ], - "valid" - ], - [ - [ - 42830, - 42830 - ], - "mapped", - [ - 42831 - ] - ], - [ - [ - 42831, - 42831 - ], - "valid" - ], - [ - [ - 42832, - 42832 - ], - "mapped", - [ - 42833 - ] - ], - [ - [ - 42833, - 42833 - ], - "valid" - ], - [ - [ - 42834, - 42834 - ], - "mapped", - [ - 42835 - ] - ], - [ - [ - 42835, - 42835 - ], - "valid" - ], - [ - [ - 42836, - 42836 - ], - "mapped", - [ - 42837 - ] - ], - [ - [ - 42837, - 42837 - ], - "valid" - ], - [ - [ - 42838, - 42838 - ], - "mapped", - [ - 42839 - ] - ], - [ - [ - 42839, - 42839 - ], - "valid" - ], - [ - [ - 42840, - 42840 - ], - "mapped", - [ - 42841 - ] - ], - [ - [ - 42841, - 42841 - ], - "valid" - ], - [ - [ - 42842, - 42842 - ], - "mapped", - [ - 42843 - ] - ], - [ - [ - 42843, - 42843 - ], - "valid" - ], - [ - [ - 42844, - 42844 - ], - "mapped", - [ - 42845 - ] - ], - [ - [ - 42845, - 42845 - ], - "valid" - ], - [ - [ - 42846, - 42846 - ], - "mapped", - [ - 42847 - ] - ], - [ - [ - 42847, - 42847 - ], - "valid" - ], - [ - [ - 42848, - 42848 - ], - "mapped", - [ - 42849 - ] - ], - [ - [ - 42849, - 42849 - ], - "valid" - ], - [ - [ - 42850, - 42850 - ], - "mapped", - [ - 42851 - ] - ], - [ - [ - 42851, - 42851 - ], - "valid" - ], - [ - [ - 42852, - 42852 - ], - "mapped", - [ - 42853 - ] - ], - [ - [ - 42853, - 42853 - ], - "valid" - ], - [ - [ - 42854, - 42854 - ], - "mapped", - [ - 42855 - ] - ], - [ - [ - 42855, - 42855 - ], - "valid" - ], - [ - [ - 42856, - 42856 - ], - "mapped", - [ - 42857 - ] - ], - [ - [ - 42857, - 42857 - ], - "valid" - ], - [ - [ - 42858, - 42858 - ], - "mapped", - [ - 42859 - ] - ], - [ - [ - 42859, - 42859 - ], - "valid" - ], - [ - [ - 42860, - 42860 - ], - "mapped", - [ - 42861 - ] - ], - [ - [ - 42861, - 42861 - ], - "valid" - ], - [ - [ - 42862, - 42862 - ], - "mapped", - [ - 42863 - ] - ], - [ - [ - 42863, - 42863 - ], - "valid" - ], - [ - [ - 42864, - 42864 - ], - "mapped", - [ - 42863 - ] - ], - [ - [ - 42865, - 42872 - ], - "valid" - ], - [ - [ - 42873, - 42873 - ], - "mapped", - [ - 42874 - ] - ], - [ - [ - 42874, - 42874 - ], - "valid" - ], - [ - [ - 42875, - 42875 - ], - "mapped", - [ - 42876 - ] - ], - [ - [ - 42876, - 42876 - ], - "valid" - ], - [ - [ - 42877, - 42877 - ], - "mapped", - [ - 7545 - ] - ], - [ - [ - 42878, - 42878 - ], - "mapped", - [ - 42879 - ] - ], - [ - [ - 42879, - 42879 - ], - "valid" - ], - [ - [ - 42880, - 42880 - ], - "mapped", - [ - 42881 - ] - ], - [ - [ - 42881, - 42881 - ], - "valid" - ], - [ - [ - 42882, - 42882 - ], - "mapped", - [ - 42883 - ] - ], - [ - [ - 42883, - 42883 - ], - "valid" - ], - [ - [ - 42884, - 42884 - ], - "mapped", - [ - 42885 - ] - ], - [ - [ - 42885, - 42885 - ], - "valid" - ], - [ - [ - 42886, - 42886 - ], - "mapped", - [ - 42887 - ] - ], - [ - [ - 42887, - 42888 - ], - "valid" - ], - [ - [ - 42889, - 42890 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42891, - 42891 - ], - "mapped", - [ - 42892 - ] - ], - [ - [ - 42892, - 42892 - ], - "valid" - ], - [ - [ - 42893, - 42893 - ], - "mapped", - [ - 613 - ] - ], - [ - [ - 42894, - 42894 - ], - "valid" - ], - [ - [ - 42895, - 42895 - ], - "valid" - ], - [ - [ - 42896, - 42896 - ], - "mapped", - [ - 42897 - ] - ], - [ - [ - 42897, - 42897 - ], - "valid" - ], - [ - [ - 42898, - 42898 - ], - "mapped", - [ - 42899 - ] - ], - [ - [ - 42899, - 42899 - ], - "valid" - ], - [ - [ - 42900, - 42901 - ], - "valid" - ], - [ - [ - 42902, - 42902 - ], - "mapped", - [ - 42903 - ] - ], - [ - [ - 42903, - 42903 - ], - "valid" - ], - [ - [ - 42904, - 42904 - ], - "mapped", - [ - 42905 - ] - ], - [ - [ - 42905, - 42905 - ], - "valid" - ], - [ - [ - 42906, - 42906 - ], - "mapped", - [ - 42907 - ] - ], - [ - [ - 42907, - 42907 - ], - "valid" - ], - [ - [ - 42908, - 42908 - ], - "mapped", - [ - 42909 - ] - ], - [ - [ - 42909, - 42909 - ], - "valid" - ], - [ - [ - 42910, - 42910 - ], - "mapped", - [ - 42911 - ] - ], - [ - [ - 42911, - 42911 - ], - "valid" - ], - [ - [ - 42912, - 42912 - ], - "mapped", - [ - 42913 - ] - ], - [ - [ - 42913, - 42913 - ], - "valid" - ], - [ - [ - 42914, - 42914 - ], - "mapped", - [ - 42915 - ] - ], - [ - [ - 42915, - 42915 - ], - "valid" - ], - [ - [ - 42916, - 42916 - ], - "mapped", - [ - 42917 - ] - ], - [ - [ - 42917, - 42917 - ], - "valid" - ], - [ - [ - 42918, - 42918 - ], - "mapped", - [ - 42919 - ] - ], - [ - [ - 42919, - 42919 - ], - "valid" - ], - [ - [ - 42920, - 42920 - ], - "mapped", - [ - 42921 - ] - ], - [ - [ - 42921, - 42921 - ], - "valid" - ], - [ - [ - 42922, - 42922 - ], - "mapped", - [ - 614 - ] - ], - [ - [ - 42923, - 42923 - ], - "mapped", - [ - 604 - ] - ], - [ - [ - 42924, - 42924 - ], - "mapped", - [ - 609 - ] - ], - [ - [ - 42925, - 42925 - ], - "mapped", - [ - 620 - ] - ], - [ - [ - 42926, - 42927 - ], - "disallowed" - ], - [ - [ - 42928, - 42928 - ], - "mapped", - [ - 670 - ] - ], - [ - [ - 42929, - 42929 - ], - "mapped", - [ - 647 - ] - ], - [ - [ - 42930, - 42930 - ], - "mapped", - [ - 669 - ] - ], - [ - [ - 42931, - 42931 - ], - "mapped", - [ - 43859 - ] - ], - [ - [ - 42932, - 42932 - ], - "mapped", - [ - 42933 - ] - ], - [ - [ - 42933, - 42933 - ], - "valid" - ], - [ - [ - 42934, - 42934 - ], - "mapped", - [ - 42935 - ] - ], - [ - [ - 42935, - 42935 - ], - "valid" - ], - [ - [ - 42936, - 42998 - ], - "disallowed" - ], - [ - [ - 42999, - 42999 - ], - "valid" - ], - [ - [ - 43000, - 43000 - ], - "mapped", - [ - 295 - ] - ], - [ - [ - 43001, - 43001 - ], - "mapped", - [ - 339 - ] - ], - [ - [ - 43002, - 43002 - ], - "valid" - ], - [ - [ - 43003, - 43007 - ], - "valid" - ], - [ - [ - 43008, - 43047 - ], - "valid" - ], - [ - [ - 43048, - 43051 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43052, - 43055 - ], - "disallowed" - ], - [ - [ - 43056, - 43065 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43066, - 43071 - ], - "disallowed" - ], - [ - [ - 43072, - 43123 - ], - "valid" - ], - [ - [ - 43124, - 43127 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43128, - 43135 - ], - "disallowed" - ], - [ - [ - 43136, - 43204 - ], - "valid" - ], - [ - [ - 43205, - 43213 - ], - "disallowed" - ], - [ - [ - 43214, - 43215 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43216, - 43225 - ], - "valid" - ], - [ - [ - 43226, - 43231 - ], - "disallowed" - ], - [ - [ - 43232, - 43255 - ], - "valid" - ], - [ - [ - 43256, - 43258 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43259, - 43259 - ], - "valid" - ], - [ - [ - 43260, - 43260 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43261, - 43261 - ], - "valid" - ], - [ - [ - 43262, - 43263 - ], - "disallowed" - ], - [ - [ - 43264, - 43309 - ], - "valid" - ], - [ - [ - 43310, - 43311 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43312, - 43347 - ], - "valid" - ], - [ - [ - 43348, - 43358 - ], - "disallowed" - ], - [ - [ - 43359, - 43359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43360, - 43388 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43389, - 43391 - ], - "disallowed" - ], - [ - [ - 43392, - 43456 - ], - "valid" - ], - [ - [ - 43457, - 43469 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43470, - 43470 - ], - "disallowed" - ], - [ - [ - 43471, - 43481 - ], - "valid" - ], - [ - [ - 43482, - 43485 - ], - "disallowed" - ], - [ - [ - 43486, - 43487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43488, - 43518 - ], - "valid" - ], - [ - [ - 43519, - 43519 - ], - "disallowed" - ], - [ - [ - 43520, - 43574 - ], - "valid" - ], - [ - [ - 43575, - 43583 - ], - "disallowed" - ], - [ - [ - 43584, - 43597 - ], - "valid" - ], - [ - [ - 43598, - 43599 - ], - "disallowed" - ], - [ - [ - 43600, - 43609 - ], - "valid" - ], - [ - [ - 43610, - 43611 - ], - "disallowed" - ], - [ - [ - 43612, - 43615 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43616, - 43638 - ], - "valid" - ], - [ - [ - 43639, - 43641 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43642, - 43643 - ], - "valid" - ], - [ - [ - 43644, - 43647 - ], - "valid" - ], - [ - [ - 43648, - 43714 - ], - "valid" - ], - [ - [ - 43715, - 43738 - ], - "disallowed" - ], - [ - [ - 43739, - 43741 - ], - "valid" - ], - [ - [ - 43742, - 43743 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43744, - 43759 - ], - "valid" - ], - [ - [ - 43760, - 43761 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43762, - 43766 - ], - "valid" - ], - [ - [ - 43767, - 43776 - ], - "disallowed" - ], - [ - [ - 43777, - 43782 - ], - "valid" - ], - [ - [ - 43783, - 43784 - ], - "disallowed" - ], - [ - [ - 43785, - 43790 - ], - "valid" - ], - [ - [ - 43791, - 43792 - ], - "disallowed" - ], - [ - [ - 43793, - 43798 - ], - "valid" - ], - [ - [ - 43799, - 43807 - ], - "disallowed" - ], - [ - [ - 43808, - 43814 - ], - "valid" - ], - [ - [ - 43815, - 43815 - ], - "disallowed" - ], - [ - [ - 43816, - 43822 - ], - "valid" - ], - [ - [ - 43823, - 43823 - ], - "disallowed" - ], - [ - [ - 43824, - 43866 - ], - "valid" - ], - [ - [ - 43867, - 43867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43868, - 43868 - ], - "mapped", - [ - 42791 - ] - ], - [ - [ - 43869, - 43869 - ], - "mapped", - [ - 43831 - ] - ], - [ - [ - 43870, - 43870 - ], - "mapped", - [ - 619 - ] - ], - [ - [ - 43871, - 43871 - ], - "mapped", - [ - 43858 - ] - ], - [ - [ - 43872, - 43875 - ], - "valid" - ], - [ - [ - 43876, - 43877 - ], - "valid" - ], - [ - [ - 43878, - 43887 - ], - "disallowed" - ], - [ - [ - 43888, - 43888 - ], - "mapped", - [ - 5024 - ] - ], - [ - [ - 43889, - 43889 - ], - "mapped", - [ - 5025 - ] - ], - [ - [ - 43890, - 43890 - ], - "mapped", - [ - 5026 - ] - ], - [ - [ - 43891, - 43891 - ], - "mapped", - [ - 5027 - ] - ], - [ - [ - 43892, - 43892 - ], - "mapped", - [ - 5028 - ] - ], - [ - [ - 43893, - 43893 - ], - "mapped", - [ - 5029 - ] - ], - [ - [ - 43894, - 43894 - ], - "mapped", - [ - 5030 - ] - ], - [ - [ - 43895, - 43895 - ], - "mapped", - [ - 5031 - ] - ], - [ - [ - 43896, - 43896 - ], - "mapped", - [ - 5032 - ] - ], - [ - [ - 43897, - 43897 - ], - "mapped", - [ - 5033 - ] - ], - [ - [ - 43898, - 43898 - ], - "mapped", - [ - 5034 - ] - ], - [ - [ - 43899, - 43899 - ], - "mapped", - [ - 5035 - ] - ], - [ - [ - 43900, - 43900 - ], - "mapped", - [ - 5036 - ] - ], - [ - [ - 43901, - 43901 - ], - "mapped", - [ - 5037 - ] - ], - [ - [ - 43902, - 43902 - ], - "mapped", - [ - 5038 - ] - ], - [ - [ - 43903, - 43903 - ], - "mapped", - [ - 5039 - ] - ], - [ - [ - 43904, - 43904 - ], - "mapped", - [ - 5040 - ] - ], - [ - [ - 43905, - 43905 - ], - "mapped", - [ - 5041 - ] - ], - [ - [ - 43906, - 43906 - ], - "mapped", - [ - 5042 - ] - ], - [ - [ - 43907, - 43907 - ], - "mapped", - [ - 5043 - ] - ], - [ - [ - 43908, - 43908 - ], - "mapped", - [ - 5044 - ] - ], - [ - [ - 43909, - 43909 - ], - "mapped", - [ - 5045 - ] - ], - [ - [ - 43910, - 43910 - ], - "mapped", - [ - 5046 - ] - ], - [ - [ - 43911, - 43911 - ], - "mapped", - [ - 5047 - ] - ], - [ - [ - 43912, - 43912 - ], - "mapped", - [ - 5048 - ] - ], - [ - [ - 43913, - 43913 - ], - "mapped", - [ - 5049 - ] - ], - [ - [ - 43914, - 43914 - ], - "mapped", - [ - 5050 - ] - ], - [ - [ - 43915, - 43915 - ], - "mapped", - [ - 5051 - ] - ], - [ - [ - 43916, - 43916 - ], - "mapped", - [ - 5052 - ] - ], - [ - [ - 43917, - 43917 - ], - "mapped", - [ - 5053 - ] - ], - [ - [ - 43918, - 43918 - ], - "mapped", - [ - 5054 - ] - ], - [ - [ - 43919, - 43919 - ], - "mapped", - [ - 5055 - ] - ], - [ - [ - 43920, - 43920 - ], - "mapped", - [ - 5056 - ] - ], - [ - [ - 43921, - 43921 - ], - "mapped", - [ - 5057 - ] - ], - [ - [ - 43922, - 43922 - ], - "mapped", - [ - 5058 - ] - ], - [ - [ - 43923, - 43923 - ], - "mapped", - [ - 5059 - ] - ], - [ - [ - 43924, - 43924 - ], - "mapped", - [ - 5060 - ] - ], - [ - [ - 43925, - 43925 - ], - "mapped", - [ - 5061 - ] - ], - [ - [ - 43926, - 43926 - ], - "mapped", - [ - 5062 - ] - ], - [ - [ - 43927, - 43927 - ], - "mapped", - [ - 5063 - ] - ], - [ - [ - 43928, - 43928 - ], - "mapped", - [ - 5064 - ] - ], - [ - [ - 43929, - 43929 - ], - "mapped", - [ - 5065 - ] - ], - [ - [ - 43930, - 43930 - ], - "mapped", - [ - 5066 - ] - ], - [ - [ - 43931, - 43931 - ], - "mapped", - [ - 5067 - ] - ], - [ - [ - 43932, - 43932 - ], - "mapped", - [ - 5068 - ] - ], - [ - [ - 43933, - 43933 - ], - "mapped", - [ - 5069 - ] - ], - [ - [ - 43934, - 43934 - ], - "mapped", - [ - 5070 - ] - ], - [ - [ - 43935, - 43935 - ], - "mapped", - [ - 5071 - ] - ], - [ - [ - 43936, - 43936 - ], - "mapped", - [ - 5072 - ] - ], - [ - [ - 43937, - 43937 - ], - "mapped", - [ - 5073 - ] - ], - [ - [ - 43938, - 43938 - ], - "mapped", - [ - 5074 - ] - ], - [ - [ - 43939, - 43939 - ], - "mapped", - [ - 5075 - ] - ], - [ - [ - 43940, - 43940 - ], - "mapped", - [ - 5076 - ] - ], - [ - [ - 43941, - 43941 - ], - "mapped", - [ - 5077 - ] - ], - [ - [ - 43942, - 43942 - ], - "mapped", - [ - 5078 - ] - ], - [ - [ - 43943, - 43943 - ], - "mapped", - [ - 5079 - ] - ], - [ - [ - 43944, - 43944 - ], - "mapped", - [ - 5080 - ] - ], - [ - [ - 43945, - 43945 - ], - "mapped", - [ - 5081 - ] - ], - [ - [ - 43946, - 43946 - ], - "mapped", - [ - 5082 - ] - ], - [ - [ - 43947, - 43947 - ], - "mapped", - [ - 5083 - ] - ], - [ - [ - 43948, - 43948 - ], - "mapped", - [ - 5084 - ] - ], - [ - [ - 43949, - 43949 - ], - "mapped", - [ - 5085 - ] - ], - [ - [ - 43950, - 43950 - ], - "mapped", - [ - 5086 - ] - ], - [ - [ - 43951, - 43951 - ], - "mapped", - [ - 5087 - ] - ], - [ - [ - 43952, - 43952 - ], - "mapped", - [ - 5088 - ] - ], - [ - [ - 43953, - 43953 - ], - "mapped", - [ - 5089 - ] - ], - [ - [ - 43954, - 43954 - ], - "mapped", - [ - 5090 - ] - ], - [ - [ - 43955, - 43955 - ], - "mapped", - [ - 5091 - ] - ], - [ - [ - 43956, - 43956 - ], - "mapped", - [ - 5092 - ] - ], - [ - [ - 43957, - 43957 - ], - "mapped", - [ - 5093 - ] - ], - [ - [ - 43958, - 43958 - ], - "mapped", - [ - 5094 - ] - ], - [ - [ - 43959, - 43959 - ], - "mapped", - [ - 5095 - ] - ], - [ - [ - 43960, - 43960 - ], - "mapped", - [ - 5096 - ] - ], - [ - [ - 43961, - 43961 - ], - "mapped", - [ - 5097 - ] - ], - [ - [ - 43962, - 43962 - ], - "mapped", - [ - 5098 - ] - ], - [ - [ - 43963, - 43963 - ], - "mapped", - [ - 5099 - ] - ], - [ - [ - 43964, - 43964 - ], - "mapped", - [ - 5100 - ] - ], - [ - [ - 43965, - 43965 - ], - "mapped", - [ - 5101 - ] - ], - [ - [ - 43966, - 43966 - ], - "mapped", - [ - 5102 - ] - ], - [ - [ - 43967, - 43967 - ], - "mapped", - [ - 5103 - ] - ], - [ - [ - 43968, - 44010 - ], - "valid" - ], - [ - [ - 44011, - 44011 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 44012, - 44013 - ], - "valid" - ], - [ - [ - 44014, - 44015 - ], - "disallowed" - ], - [ - [ - 44016, - 44025 - ], - "valid" - ], - [ - [ - 44026, - 44031 - ], - "disallowed" - ], - [ - [ - 44032, - 55203 - ], - "valid" - ], - [ - [ - 55204, - 55215 - ], - "disallowed" - ], - [ - [ - 55216, - 55238 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 55239, - 55242 - ], - "disallowed" - ], - [ - [ - 55243, - 55291 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 55292, - 55295 - ], - "disallowed" - ], - [ - [ - 55296, - 57343 - ], - "disallowed" - ], - [ - [ - 57344, - 63743 - ], - "disallowed" - ], - [ - [ - 63744, - 63744 - ], - "mapped", - [ - 35912 - ] - ], - [ - [ - 63745, - 63745 - ], - "mapped", - [ - 26356 - ] - ], - [ - [ - 63746, - 63746 - ], - "mapped", - [ - 36554 - ] - ], - [ - [ - 63747, - 63747 - ], - "mapped", - [ - 36040 - ] - ], - [ - [ - 63748, - 63748 - ], - "mapped", - [ - 28369 - ] - ], - [ - [ - 63749, - 63749 - ], - "mapped", - [ - 20018 - ] - ], - [ - [ - 63750, - 63750 - ], - "mapped", - [ - 21477 - ] - ], - [ - [ - 63751, - 63752 - ], - "mapped", - [ - 40860 - ] - ], - [ - [ - 63753, - 63753 - ], - "mapped", - [ - 22865 - ] - ], - [ - [ - 63754, - 63754 - ], - "mapped", - [ - 37329 - ] - ], - [ - [ - 63755, - 63755 - ], - "mapped", - [ - 21895 - ] - ], - [ - [ - 63756, - 63756 - ], - "mapped", - [ - 22856 - ] - ], - [ - [ - 63757, - 63757 - ], - "mapped", - [ - 25078 - ] - ], - [ - [ - 63758, - 63758 - ], - "mapped", - [ - 30313 - ] - ], - [ - [ - 63759, - 63759 - ], - "mapped", - [ - 32645 - ] - ], - [ - [ - 63760, - 63760 - ], - "mapped", - [ - 34367 - ] - ], - [ - [ - 63761, - 63761 - ], - "mapped", - [ - 34746 - ] - ], - [ - [ - 63762, - 63762 - ], - "mapped", - [ - 35064 - ] - ], - [ - [ - 63763, - 63763 - ], - "mapped", - [ - 37007 - ] - ], - [ - [ - 63764, - 63764 - ], - "mapped", - [ - 27138 - ] - ], - [ - [ - 63765, - 63765 - ], - "mapped", - [ - 27931 - ] - ], - [ - [ - 63766, - 63766 - ], - "mapped", - [ - 28889 - ] - ], - [ - [ - 63767, - 63767 - ], - "mapped", - [ - 29662 - ] - ], - [ - [ - 63768, - 63768 - ], - "mapped", - [ - 33853 - ] - ], - [ - [ - 63769, - 63769 - ], - "mapped", - [ - 37226 - ] - ], - [ - [ - 63770, - 63770 - ], - "mapped", - [ - 39409 - ] - ], - [ - [ - 63771, - 63771 - ], - "mapped", - [ - 20098 - ] - ], - [ - [ - 63772, - 63772 - ], - "mapped", - [ - 21365 - ] - ], - [ - [ - 63773, - 63773 - ], - "mapped", - [ - 27396 - ] - ], - [ - [ - 63774, - 63774 - ], - "mapped", - [ - 29211 - ] - ], - [ - [ - 63775, - 63775 - ], - "mapped", - [ - 34349 - ] - ], - [ - [ - 63776, - 63776 - ], - "mapped", - [ - 40478 - ] - ], - [ - [ - 63777, - 63777 - ], - "mapped", - [ - 23888 - ] - ], - [ - [ - 63778, - 63778 - ], - "mapped", - [ - 28651 - ] - ], - [ - [ - 63779, - 63779 - ], - "mapped", - [ - 34253 - ] - ], - [ - [ - 63780, - 63780 - ], - "mapped", - [ - 35172 - ] - ], - [ - [ - 63781, - 63781 - ], - "mapped", - [ - 25289 - ] - ], - [ - [ - 63782, - 63782 - ], - "mapped", - [ - 33240 - ] - ], - [ - [ - 63783, - 63783 - ], - "mapped", - [ - 34847 - ] - ], - [ - [ - 63784, - 63784 - ], - "mapped", - [ - 24266 - ] - ], - [ - [ - 63785, - 63785 - ], - "mapped", - [ - 26391 - ] - ], - [ - [ - 63786, - 63786 - ], - "mapped", - [ - 28010 - ] - ], - [ - [ - 63787, - 63787 - ], - "mapped", - [ - 29436 - ] - ], - [ - [ - 63788, - 63788 - ], - "mapped", - [ - 37070 - ] - ], - [ - [ - 63789, - 63789 - ], - "mapped", - [ - 20358 - ] - ], - [ - [ - 63790, - 63790 - ], - "mapped", - [ - 20919 - ] - ], - [ - [ - 63791, - 63791 - ], - "mapped", - [ - 21214 - ] - ], - [ - [ - 63792, - 63792 - ], - "mapped", - [ - 25796 - ] - ], - [ - [ - 63793, - 63793 - ], - "mapped", - [ - 27347 - ] - ], - [ - [ - 63794, - 63794 - ], - "mapped", - [ - 29200 - ] - ], - [ - [ - 63795, - 63795 - ], - "mapped", - [ - 30439 - ] - ], - [ - [ - 63796, - 63796 - ], - "mapped", - [ - 32769 - ] - ], - [ - [ - 63797, - 63797 - ], - "mapped", - [ - 34310 - ] - ], - [ - [ - 63798, - 63798 - ], - "mapped", - [ - 34396 - ] - ], - [ - [ - 63799, - 63799 - ], - "mapped", - [ - 36335 - ] - ], - [ - [ - 63800, - 63800 - ], - "mapped", - [ - 38706 - ] - ], - [ - [ - 63801, - 63801 - ], - "mapped", - [ - 39791 - ] - ], - [ - [ - 63802, - 63802 - ], - "mapped", - [ - 40442 - ] - ], - [ - [ - 63803, - 63803 - ], - "mapped", - [ - 30860 - ] - ], - [ - [ - 63804, - 63804 - ], - "mapped", - [ - 31103 - ] - ], - [ - [ - 63805, - 63805 - ], - "mapped", - [ - 32160 - ] - ], - [ - [ - 63806, - 63806 - ], - "mapped", - [ - 33737 - ] - ], - [ - [ - 63807, - 63807 - ], - "mapped", - [ - 37636 - ] - ], - [ - [ - 63808, - 63808 - ], - "mapped", - [ - 40575 - ] - ], - [ - [ - 63809, - 63809 - ], - "mapped", - [ - 35542 - ] - ], - [ - [ - 63810, - 63810 - ], - "mapped", - [ - 22751 - ] - ], - [ - [ - 63811, - 63811 - ], - "mapped", - [ - 24324 - ] - ], - [ - [ - 63812, - 63812 - ], - "mapped", - [ - 31840 - ] - ], - [ - [ - 63813, - 63813 - ], - "mapped", - [ - 32894 - ] - ], - [ - [ - 63814, - 63814 - ], - "mapped", - [ - 29282 - ] - ], - [ - [ - 63815, - 63815 - ], - "mapped", - [ - 30922 - ] - ], - [ - [ - 63816, - 63816 - ], - "mapped", - [ - 36034 - ] - ], - [ - [ - 63817, - 63817 - ], - "mapped", - [ - 38647 - ] - ], - [ - [ - 63818, - 63818 - ], - "mapped", - [ - 22744 - ] - ], - [ - [ - 63819, - 63819 - ], - "mapped", - [ - 23650 - ] - ], - [ - [ - 63820, - 63820 - ], - "mapped", - [ - 27155 - ] - ], - [ - [ - 63821, - 63821 - ], - "mapped", - [ - 28122 - ] - ], - [ - [ - 63822, - 63822 - ], - "mapped", - [ - 28431 - ] - ], - [ - [ - 63823, - 63823 - ], - "mapped", - [ - 32047 - ] - ], - [ - [ - 63824, - 63824 - ], - "mapped", - [ - 32311 - ] - ], - [ - [ - 63825, - 63825 - ], - "mapped", - [ - 38475 - ] - ], - [ - [ - 63826, - 63826 - ], - "mapped", - [ - 21202 - ] - ], - [ - [ - 63827, - 63827 - ], - "mapped", - [ - 32907 - ] - ], - [ - [ - 63828, - 63828 - ], - "mapped", - [ - 20956 - ] - ], - [ - [ - 63829, - 63829 - ], - "mapped", - [ - 20940 - ] - ], - [ - [ - 63830, - 63830 - ], - "mapped", - [ - 31260 - ] - ], - [ - [ - 63831, - 63831 - ], - "mapped", - [ - 32190 - ] - ], - [ - [ - 63832, - 63832 - ], - "mapped", - [ - 33777 - ] - ], - [ - [ - 63833, - 63833 - ], - "mapped", - [ - 38517 - ] - ], - [ - [ - 63834, - 63834 - ], - "mapped", - [ - 35712 - ] - ], - [ - [ - 63835, - 63835 - ], - "mapped", - [ - 25295 - ] - ], - [ - [ - 63836, - 63836 - ], - "mapped", - [ - 27138 - ] - ], - [ - [ - 63837, - 63837 - ], - "mapped", - [ - 35582 - ] - ], - [ - [ - 63838, - 63838 - ], - "mapped", - [ - 20025 - ] - ], - [ - [ - 63839, - 63839 - ], - "mapped", - [ - 23527 - ] - ], - [ - [ - 63840, - 63840 - ], - "mapped", - [ - 24594 - ] - ], - [ - [ - 63841, - 63841 - ], - "mapped", - [ - 29575 - ] - ], - [ - [ - 63842, - 63842 - ], - "mapped", - [ - 30064 - ] - ], - [ - [ - 63843, - 63843 - ], - "mapped", - [ - 21271 - ] - ], - [ - [ - 63844, - 63844 - ], - "mapped", - [ - 30971 - ] - ], - [ - [ - 63845, - 63845 - ], - "mapped", - [ - 20415 - ] - ], - [ - [ - 63846, - 63846 - ], - "mapped", - [ - 24489 - ] - ], - [ - [ - 63847, - 63847 - ], - "mapped", - [ - 19981 - ] - ], - [ - [ - 63848, - 63848 - ], - "mapped", - [ - 27852 - ] - ], - [ - [ - 63849, - 63849 - ], - "mapped", - [ - 25976 - ] - ], - [ - [ - 63850, - 63850 - ], - "mapped", - [ - 32034 - ] - ], - [ - [ - 63851, - 63851 - ], - "mapped", - [ - 21443 - ] - ], - [ - [ - 63852, - 63852 - ], - "mapped", - [ - 22622 - ] - ], - [ - [ - 63853, - 63853 - ], - "mapped", - [ - 30465 - ] - ], - [ - [ - 63854, - 63854 - ], - "mapped", - [ - 33865 - ] - ], - [ - [ - 63855, - 63855 - ], - "mapped", - [ - 35498 - ] - ], - [ - [ - 63856, - 63856 - ], - "mapped", - [ - 27578 - ] - ], - [ - [ - 63857, - 63857 - ], - "mapped", - [ - 36784 - ] - ], - [ - [ - 63858, - 63858 - ], - "mapped", - [ - 27784 - ] - ], - [ - [ - 63859, - 63859 - ], - "mapped", - [ - 25342 - ] - ], - [ - [ - 63860, - 63860 - ], - "mapped", - [ - 33509 - ] - ], - [ - [ - 63861, - 63861 - ], - "mapped", - [ - 25504 - ] - ], - [ - [ - 63862, - 63862 - ], - "mapped", - [ - 30053 - ] - ], - [ - [ - 63863, - 63863 - ], - "mapped", - [ - 20142 - ] - ], - [ - [ - 63864, - 63864 - ], - "mapped", - [ - 20841 - ] - ], - [ - [ - 63865, - 63865 - ], - "mapped", - [ - 20937 - ] - ], - [ - [ - 63866, - 63866 - ], - "mapped", - [ - 26753 - ] - ], - [ - [ - 63867, - 63867 - ], - "mapped", - [ - 31975 - ] - ], - [ - [ - 63868, - 63868 - ], - "mapped", - [ - 33391 - ] - ], - [ - [ - 63869, - 63869 - ], - "mapped", - [ - 35538 - ] - ], - [ - [ - 63870, - 63870 - ], - "mapped", - [ - 37327 - ] - ], - [ - [ - 63871, - 63871 - ], - "mapped", - [ - 21237 - ] - ], - [ - [ - 63872, - 63872 - ], - "mapped", - [ - 21570 - ] - ], - [ - [ - 63873, - 63873 - ], - "mapped", - [ - 22899 - ] - ], - [ - [ - 63874, - 63874 - ], - "mapped", - [ - 24300 - ] - ], - [ - [ - 63875, - 63875 - ], - "mapped", - [ - 26053 - ] - ], - [ - [ - 63876, - 63876 - ], - "mapped", - [ - 28670 - ] - ], - [ - [ - 63877, - 63877 - ], - "mapped", - [ - 31018 - ] - ], - [ - [ - 63878, - 63878 - ], - "mapped", - [ - 38317 - ] - ], - [ - [ - 63879, - 63879 - ], - "mapped", - [ - 39530 - ] - ], - [ - [ - 63880, - 63880 - ], - "mapped", - [ - 40599 - ] - ], - [ - [ - 63881, - 63881 - ], - "mapped", - [ - 40654 - ] - ], - [ - [ - 63882, - 63882 - ], - "mapped", - [ - 21147 - ] - ], - [ - [ - 63883, - 63883 - ], - "mapped", - [ - 26310 - ] - ], - [ - [ - 63884, - 63884 - ], - "mapped", - [ - 27511 - ] - ], - [ - [ - 63885, - 63885 - ], - "mapped", - [ - 36706 - ] - ], - [ - [ - 63886, - 63886 - ], - "mapped", - [ - 24180 - ] - ], - [ - [ - 63887, - 63887 - ], - "mapped", - [ - 24976 - ] - ], - [ - [ - 63888, - 63888 - ], - "mapped", - [ - 25088 - ] - ], - [ - [ - 63889, - 63889 - ], - "mapped", - [ - 25754 - ] - ], - [ - [ - 63890, - 63890 - ], - "mapped", - [ - 28451 - ] - ], - [ - [ - 63891, - 63891 - ], - "mapped", - [ - 29001 - ] - ], - [ - [ - 63892, - 63892 - ], - "mapped", - [ - 29833 - ] - ], - [ - [ - 63893, - 63893 - ], - "mapped", - [ - 31178 - ] - ], - [ - [ - 63894, - 63894 - ], - "mapped", - [ - 32244 - ] - ], - [ - [ - 63895, - 63895 - ], - "mapped", - [ - 32879 - ] - ], - [ - [ - 63896, - 63896 - ], - "mapped", - [ - 36646 - ] - ], - [ - [ - 63897, - 63897 - ], - "mapped", - [ - 34030 - ] - ], - [ - [ - 63898, - 63898 - ], - "mapped", - [ - 36899 - ] - ], - [ - [ - 63899, - 63899 - ], - "mapped", - [ - 37706 - ] - ], - [ - [ - 63900, - 63900 - ], - "mapped", - [ - 21015 - ] - ], - [ - [ - 63901, - 63901 - ], - "mapped", - [ - 21155 - ] - ], - [ - [ - 63902, - 63902 - ], - "mapped", - [ - 21693 - ] - ], - [ - [ - 63903, - 63903 - ], - "mapped", - [ - 28872 - ] - ], - [ - [ - 63904, - 63904 - ], - "mapped", - [ - 35010 - ] - ], - [ - [ - 63905, - 63905 - ], - "mapped", - [ - 35498 - ] - ], - [ - [ - 63906, - 63906 - ], - "mapped", - [ - 24265 - ] - ], - [ - [ - 63907, - 63907 - ], - "mapped", - [ - 24565 - ] - ], - [ - [ - 63908, - 63908 - ], - "mapped", - [ - 25467 - ] - ], - [ - [ - 63909, - 63909 - ], - "mapped", - [ - 27566 - ] - ], - [ - [ - 63910, - 63910 - ], - "mapped", - [ - 31806 - ] - ], - [ - [ - 63911, - 63911 - ], - "mapped", - [ - 29557 - ] - ], - [ - [ - 63912, - 63912 - ], - "mapped", - [ - 20196 - ] - ], - [ - [ - 63913, - 63913 - ], - "mapped", - [ - 22265 - ] - ], - [ - [ - 63914, - 63914 - ], - "mapped", - [ - 23527 - ] - ], - [ - [ - 63915, - 63915 - ], - "mapped", - [ - 23994 - ] - ], - [ - [ - 63916, - 63916 - ], - "mapped", - [ - 24604 - ] - ], - [ - [ - 63917, - 63917 - ], - "mapped", - [ - 29618 - ] - ], - [ - [ - 63918, - 63918 - ], - "mapped", - [ - 29801 - ] - ], - [ - [ - 63919, - 63919 - ], - "mapped", - [ - 32666 - ] - ], - [ - [ - 63920, - 63920 - ], - "mapped", - [ - 32838 - ] - ], - [ - [ - 63921, - 63921 - ], - "mapped", - [ - 37428 - ] - ], - [ - [ - 63922, - 63922 - ], - "mapped", - [ - 38646 - ] - ], - [ - [ - 63923, - 63923 - ], - "mapped", - [ - 38728 - ] - ], - [ - [ - 63924, - 63924 - ], - "mapped", - [ - 38936 - ] - ], - [ - [ - 63925, - 63925 - ], - "mapped", - [ - 20363 - ] - ], - [ - [ - 63926, - 63926 - ], - "mapped", - [ - 31150 - ] - ], - [ - [ - 63927, - 63927 - ], - "mapped", - [ - 37300 - ] - ], - [ - [ - 63928, - 63928 - ], - "mapped", - [ - 38584 - ] - ], - [ - [ - 63929, - 63929 - ], - "mapped", - [ - 24801 - ] - ], - [ - [ - 63930, - 63930 - ], - "mapped", - [ - 20102 - ] - ], - [ - [ - 63931, - 63931 - ], - "mapped", - [ - 20698 - ] - ], - [ - [ - 63932, - 63932 - ], - "mapped", - [ - 23534 - ] - ], - [ - [ - 63933, - 63933 - ], - "mapped", - [ - 23615 - ] - ], - [ - [ - 63934, - 63934 - ], - "mapped", - [ - 26009 - ] - ], - [ - [ - 63935, - 63935 - ], - "mapped", - [ - 27138 - ] - ], - [ - [ - 63936, - 63936 - ], - "mapped", - [ - 29134 - ] - ], - [ - [ - 63937, - 63937 - ], - "mapped", - [ - 30274 - ] - ], - [ - [ - 63938, - 63938 - ], - "mapped", - [ - 34044 - ] - ], - [ - [ - 63939, - 63939 - ], - "mapped", - [ - 36988 - ] - ], - [ - [ - 63940, - 63940 - ], - "mapped", - [ - 40845 - ] - ], - [ - [ - 63941, - 63941 - ], - "mapped", - [ - 26248 - ] - ], - [ - [ - 63942, - 63942 - ], - "mapped", - [ - 38446 - ] - ], - [ - [ - 63943, - 63943 - ], - "mapped", - [ - 21129 - ] - ], - [ - [ - 63944, - 63944 - ], - "mapped", - [ - 26491 - ] - ], - [ - [ - 63945, - 63945 - ], - "mapped", - [ - 26611 - ] - ], - [ - [ - 63946, - 63946 - ], - "mapped", - [ - 27969 - ] - ], - [ - [ - 63947, - 63947 - ], - "mapped", - [ - 28316 - ] - ], - [ - [ - 63948, - 63948 - ], - "mapped", - [ - 29705 - ] - ], - [ - [ - 63949, - 63949 - ], - "mapped", - [ - 30041 - ] - ], - [ - [ - 63950, - 63950 - ], - "mapped", - [ - 30827 - ] - ], - [ - [ - 63951, - 63951 - ], - "mapped", - [ - 32016 - ] - ], - [ - [ - 63952, - 63952 - ], - "mapped", - [ - 39006 - ] - ], - [ - [ - 63953, - 63953 - ], - "mapped", - [ - 20845 - ] - ], - [ - [ - 63954, - 63954 - ], - "mapped", - [ - 25134 - ] - ], - [ - [ - 63955, - 63955 - ], - "mapped", - [ - 38520 - ] - ], - [ - [ - 63956, - 63956 - ], - "mapped", - [ - 20523 - ] - ], - [ - [ - 63957, - 63957 - ], - "mapped", - [ - 23833 - ] - ], - [ - [ - 63958, - 63958 - ], - "mapped", - [ - 28138 - ] - ], - [ - [ - 63959, - 63959 - ], - "mapped", - [ - 36650 - ] - ], - [ - [ - 63960, - 63960 - ], - "mapped", - [ - 24459 - ] - ], - [ - [ - 63961, - 63961 - ], - "mapped", - [ - 24900 - ] - ], - [ - [ - 63962, - 63962 - ], - "mapped", - [ - 26647 - ] - ], - [ - [ - 63963, - 63963 - ], - "mapped", - [ - 29575 - ] - ], - [ - [ - 63964, - 63964 - ], - "mapped", - [ - 38534 - ] - ], - [ - [ - 63965, - 63965 - ], - "mapped", - [ - 21033 - ] - ], - [ - [ - 63966, - 63966 - ], - "mapped", - [ - 21519 - ] - ], - [ - [ - 63967, - 63967 - ], - "mapped", - [ - 23653 - ] - ], - [ - [ - 63968, - 63968 - ], - "mapped", - [ - 26131 - ] - ], - [ - [ - 63969, - 63969 - ], - "mapped", - [ - 26446 - ] - ], - [ - [ - 63970, - 63970 - ], - "mapped", - [ - 26792 - ] - ], - [ - [ - 63971, - 63971 - ], - "mapped", - [ - 27877 - ] - ], - [ - [ - 63972, - 63972 - ], - "mapped", - [ - 29702 - ] - ], - [ - [ - 63973, - 63973 - ], - "mapped", - [ - 30178 - ] - ], - [ - [ - 63974, - 63974 - ], - "mapped", - [ - 32633 - ] - ], - [ - [ - 63975, - 63975 - ], - "mapped", - [ - 35023 - ] - ], - [ - [ - 63976, - 63976 - ], - "mapped", - [ - 35041 - ] - ], - [ - [ - 63977, - 63977 - ], - "mapped", - [ - 37324 - ] - ], - [ - [ - 63978, - 63978 - ], - "mapped", - [ - 38626 - ] - ], - [ - [ - 63979, - 63979 - ], - "mapped", - [ - 21311 - ] - ], - [ - [ - 63980, - 63980 - ], - "mapped", - [ - 28346 - ] - ], - [ - [ - 63981, - 63981 - ], - "mapped", - [ - 21533 - ] - ], - [ - [ - 63982, - 63982 - ], - "mapped", - [ - 29136 - ] - ], - [ - [ - 63983, - 63983 - ], - "mapped", - [ - 29848 - ] - ], - [ - [ - 63984, - 63984 - ], - "mapped", - [ - 34298 - ] - ], - [ - [ - 63985, - 63985 - ], - "mapped", - [ - 38563 - ] - ], - [ - [ - 63986, - 63986 - ], - "mapped", - [ - 40023 - ] - ], - [ - [ - 63987, - 63987 - ], - "mapped", - [ - 40607 - ] - ], - [ - [ - 63988, - 63988 - ], - "mapped", - [ - 26519 - ] - ], - [ - [ - 63989, - 63989 - ], - "mapped", - [ - 28107 - ] - ], - [ - [ - 63990, - 63990 - ], - "mapped", - [ - 33256 - ] - ], - [ - [ - 63991, - 63991 - ], - "mapped", - [ - 31435 - ] - ], - [ - [ - 63992, - 63992 - ], - "mapped", - [ - 31520 - ] - ], - [ - [ - 63993, - 63993 - ], - "mapped", - [ - 31890 - ] - ], - [ - [ - 63994, - 63994 - ], - "mapped", - [ - 29376 - ] - ], - [ - [ - 63995, - 63995 - ], - "mapped", - [ - 28825 - ] - ], - [ - [ - 63996, - 63996 - ], - "mapped", - [ - 35672 - ] - ], - [ - [ - 63997, - 63997 - ], - "mapped", - [ - 20160 - ] - ], - [ - [ - 63998, - 63998 - ], - "mapped", - [ - 33590 - ] - ], - [ - [ - 63999, - 63999 - ], - "mapped", - [ - 21050 - ] - ], - [ - [ - 64000, - 64000 - ], - "mapped", - [ - 20999 - ] - ], - [ - [ - 64001, - 64001 - ], - "mapped", - [ - 24230 - ] - ], - [ - [ - 64002, - 64002 - ], - "mapped", - [ - 25299 - ] - ], - [ - [ - 64003, - 64003 - ], - "mapped", - [ - 31958 - ] - ], - [ - [ - 64004, - 64004 - ], - "mapped", - [ - 23429 - ] - ], - [ - [ - 64005, - 64005 - ], - "mapped", - [ - 27934 - ] - ], - [ - [ - 64006, - 64006 - ], - "mapped", - [ - 26292 - ] - ], - [ - [ - 64007, - 64007 - ], - "mapped", - [ - 36667 - ] - ], - [ - [ - 64008, - 64008 - ], - "mapped", - [ - 34892 - ] - ], - [ - [ - 64009, - 64009 - ], - "mapped", - [ - 38477 - ] - ], - [ - [ - 64010, - 64010 - ], - "mapped", - [ - 35211 - ] - ], - [ - [ - 64011, - 64011 - ], - "mapped", - [ - 24275 - ] - ], - [ - [ - 64012, - 64012 - ], - "mapped", - [ - 20800 - ] - ], - [ - [ - 64013, - 64013 - ], - "mapped", - [ - 21952 - ] - ], - [ - [ - 64014, - 64015 - ], - "valid" - ], - [ - [ - 64016, - 64016 - ], - "mapped", - [ - 22618 - ] - ], - [ - [ - 64017, - 64017 - ], - "valid" - ], - [ - [ - 64018, - 64018 - ], - "mapped", - [ - 26228 - ] - ], - [ - [ - 64019, - 64020 - ], - "valid" - ], - [ - [ - 64021, - 64021 - ], - "mapped", - [ - 20958 - ] - ], - [ - [ - 64022, - 64022 - ], - "mapped", - [ - 29482 - ] - ], - [ - [ - 64023, - 64023 - ], - "mapped", - [ - 30410 - ] - ], - [ - [ - 64024, - 64024 - ], - "mapped", - [ - 31036 - ] - ], - [ - [ - 64025, - 64025 - ], - "mapped", - [ - 31070 - ] - ], - [ - [ - 64026, - 64026 - ], - "mapped", - [ - 31077 - ] - ], - [ - [ - 64027, - 64027 - ], - "mapped", - [ - 31119 - ] - ], - [ - [ - 64028, - 64028 - ], - "mapped", - [ - 38742 - ] - ], - [ - [ - 64029, - 64029 - ], - "mapped", - [ - 31934 - ] - ], - [ - [ - 64030, - 64030 - ], - "mapped", - [ - 32701 - ] - ], - [ - [ - 64031, - 64031 - ], - "valid" - ], - [ - [ - 64032, - 64032 - ], - "mapped", - [ - 34322 - ] - ], - [ - [ - 64033, - 64033 - ], - "valid" - ], - [ - [ - 64034, - 64034 - ], - "mapped", - [ - 35576 - ] - ], - [ - [ - 64035, - 64036 - ], - "valid" - ], - [ - [ - 64037, - 64037 - ], - "mapped", - [ - 36920 - ] - ], - [ - [ - 64038, - 64038 - ], - "mapped", - [ - 37117 - ] - ], - [ - [ - 64039, - 64041 - ], - "valid" - ], - [ - [ - 64042, - 64042 - ], - "mapped", - [ - 39151 - ] - ], - [ - [ - 64043, - 64043 - ], - "mapped", - [ - 39164 - ] - ], - [ - [ - 64044, - 64044 - ], - "mapped", - [ - 39208 - ] - ], - [ - [ - 64045, - 64045 - ], - "mapped", - [ - 40372 - ] - ], - [ - [ - 64046, - 64046 - ], - "mapped", - [ - 37086 - ] - ], - [ - [ - 64047, - 64047 - ], - "mapped", - [ - 38583 - ] - ], - [ - [ - 64048, - 64048 - ], - "mapped", - [ - 20398 - ] - ], - [ - [ - 64049, - 64049 - ], - "mapped", - [ - 20711 - ] - ], - [ - [ - 64050, - 64050 - ], - "mapped", - [ - 20813 - ] - ], - [ - [ - 64051, - 64051 - ], - "mapped", - [ - 21193 - ] - ], - [ - [ - 64052, - 64052 - ], - "mapped", - [ - 21220 - ] - ], - [ - [ - 64053, - 64053 - ], - "mapped", - [ - 21329 - ] - ], - [ - [ - 64054, - 64054 - ], - "mapped", - [ - 21917 - ] - ], - [ - [ - 64055, - 64055 - ], - "mapped", - [ - 22022 - ] - ], - [ - [ - 64056, - 64056 - ], - "mapped", - [ - 22120 - ] - ], - [ - [ - 64057, - 64057 - ], - "mapped", - [ - 22592 - ] - ], - [ - [ - 64058, - 64058 - ], - "mapped", - [ - 22696 - ] - ], - [ - [ - 64059, - 64059 - ], - "mapped", - [ - 23652 - ] - ], - [ - [ - 64060, - 64060 - ], - "mapped", - [ - 23662 - ] - ], - [ - [ - 64061, - 64061 - ], - "mapped", - [ - 24724 - ] - ], - [ - [ - 64062, - 64062 - ], - "mapped", - [ - 24936 - ] - ], - [ - [ - 64063, - 64063 - ], - "mapped", - [ - 24974 - ] - ], - [ - [ - 64064, - 64064 - ], - "mapped", - [ - 25074 - ] - ], - [ - [ - 64065, - 64065 - ], - "mapped", - [ - 25935 - ] - ], - [ - [ - 64066, - 64066 - ], - "mapped", - [ - 26082 - ] - ], - [ - [ - 64067, - 64067 - ], - "mapped", - [ - 26257 - ] - ], - [ - [ - 64068, - 64068 - ], - "mapped", - [ - 26757 - ] - ], - [ - [ - 64069, - 64069 - ], - "mapped", - [ - 28023 - ] - ], - [ - [ - 64070, - 64070 - ], - "mapped", - [ - 28186 - ] - ], - [ - [ - 64071, - 64071 - ], - "mapped", - [ - 28450 - ] - ], - [ - [ - 64072, - 64072 - ], - "mapped", - [ - 29038 - ] - ], - [ - [ - 64073, - 64073 - ], - "mapped", - [ - 29227 - ] - ], - [ - [ - 64074, - 64074 - ], - "mapped", - [ - 29730 - ] - ], - [ - [ - 64075, - 64075 - ], - "mapped", - [ - 30865 - ] - ], - [ - [ - 64076, - 64076 - ], - "mapped", - [ - 31038 - ] - ], - [ - [ - 64077, - 64077 - ], - "mapped", - [ - 31049 - ] - ], - [ - [ - 64078, - 64078 - ], - "mapped", - [ - 31048 - ] - ], - [ - [ - 64079, - 64079 - ], - "mapped", - [ - 31056 - ] - ], - [ - [ - 64080, - 64080 - ], - "mapped", - [ - 31062 - ] - ], - [ - [ - 64081, - 64081 - ], - "mapped", - [ - 31069 - ] - ], - [ - [ - 64082, - 64082 - ], - "mapped", - [ - 31117 - ] - ], - [ - [ - 64083, - 64083 - ], - "mapped", - [ - 31118 - ] - ], - [ - [ - 64084, - 64084 - ], - "mapped", - [ - 31296 - ] - ], - [ - [ - 64085, - 64085 - ], - "mapped", - [ - 31361 - ] - ], - [ - [ - 64086, - 64086 - ], - "mapped", - [ - 31680 - ] - ], - [ - [ - 64087, - 64087 - ], - "mapped", - [ - 32244 - ] - ], - [ - [ - 64088, - 64088 - ], - "mapped", - [ - 32265 - ] - ], - [ - [ - 64089, - 64089 - ], - "mapped", - [ - 32321 - ] - ], - [ - [ - 64090, - 64090 - ], - "mapped", - [ - 32626 - ] - ], - [ - [ - 64091, - 64091 - ], - "mapped", - [ - 32773 - ] - ], - [ - [ - 64092, - 64092 - ], - "mapped", - [ - 33261 - ] - ], - [ - [ - 64093, - 64094 - ], - "mapped", - [ - 33401 - ] - ], - [ - [ - 64095, - 64095 - ], - "mapped", - [ - 33879 - ] - ], - [ - [ - 64096, - 64096 - ], - "mapped", - [ - 35088 - ] - ], - [ - [ - 64097, - 64097 - ], - "mapped", - [ - 35222 - ] - ], - [ - [ - 64098, - 64098 - ], - "mapped", - [ - 35585 - ] - ], - [ - [ - 64099, - 64099 - ], - "mapped", - [ - 35641 - ] - ], - [ - [ - 64100, - 64100 - ], - "mapped", - [ - 36051 - ] - ], - [ - [ - 64101, - 64101 - ], - "mapped", - [ - 36104 - ] - ], - [ - [ - 64102, - 64102 - ], - "mapped", - [ - 36790 - ] - ], - [ - [ - 64103, - 64103 - ], - "mapped", - [ - 36920 - ] - ], - [ - [ - 64104, - 64104 - ], - "mapped", - [ - 38627 - ] - ], - [ - [ - 64105, - 64105 - ], - "mapped", - [ - 38911 - ] - ], - [ - [ - 64106, - 64106 - ], - "mapped", - [ - 38971 - ] - ], - [ - [ - 64107, - 64107 - ], - "mapped", - [ - 24693 - ] - ], - [ - [ - 64108, - 64108 - ], - "mapped", - [ - 148206 - ] - ], - [ - [ - 64109, - 64109 - ], - "mapped", - [ - 33304 - ] - ], - [ - [ - 64110, - 64111 - ], - "disallowed" - ], - [ - [ - 64112, - 64112 - ], - "mapped", - [ - 20006 - ] - ], - [ - [ - 64113, - 64113 - ], - "mapped", - [ - 20917 - ] - ], - [ - [ - 64114, - 64114 - ], - "mapped", - [ - 20840 - ] - ], - [ - [ - 64115, - 64115 - ], - "mapped", - [ - 20352 - ] - ], - [ - [ - 64116, - 64116 - ], - "mapped", - [ - 20805 - ] - ], - [ - [ - 64117, - 64117 - ], - "mapped", - [ - 20864 - ] - ], - [ - [ - 64118, - 64118 - ], - "mapped", - [ - 21191 - ] - ], - [ - [ - 64119, - 64119 - ], - "mapped", - [ - 21242 - ] - ], - [ - [ - 64120, - 64120 - ], - "mapped", - [ - 21917 - ] - ], - [ - [ - 64121, - 64121 - ], - "mapped", - [ - 21845 - ] - ], - [ - [ - 64122, - 64122 - ], - "mapped", - [ - 21913 - ] - ], - [ - [ - 64123, - 64123 - ], - "mapped", - [ - 21986 - ] - ], - [ - [ - 64124, - 64124 - ], - "mapped", - [ - 22618 - ] - ], - [ - [ - 64125, - 64125 - ], - "mapped", - [ - 22707 - ] - ], - [ - [ - 64126, - 64126 - ], - "mapped", - [ - 22852 - ] - ], - [ - [ - 64127, - 64127 - ], - "mapped", - [ - 22868 - ] - ], - [ - [ - 64128, - 64128 - ], - "mapped", - [ - 23138 - ] - ], - [ - [ - 64129, - 64129 - ], - "mapped", - [ - 23336 - ] - ], - [ - [ - 64130, - 64130 - ], - "mapped", - [ - 24274 - ] - ], - [ - [ - 64131, - 64131 - ], - "mapped", - [ - 24281 - ] - ], - [ - [ - 64132, - 64132 - ], - "mapped", - [ - 24425 - ] - ], - [ - [ - 64133, - 64133 - ], - "mapped", - [ - 24493 - ] - ], - [ - [ - 64134, - 64134 - ], - "mapped", - [ - 24792 - ] - ], - [ - [ - 64135, - 64135 - ], - "mapped", - [ - 24910 - ] - ], - [ - [ - 64136, - 64136 - ], - "mapped", - [ - 24840 - ] - ], - [ - [ - 64137, - 64137 - ], - "mapped", - [ - 24974 - ] - ], - [ - [ - 64138, - 64138 - ], - "mapped", - [ - 24928 - ] - ], - [ - [ - 64139, - 64139 - ], - "mapped", - [ - 25074 - ] - ], - [ - [ - 64140, - 64140 - ], - "mapped", - [ - 25140 - ] - ], - [ - [ - 64141, - 64141 - ], - "mapped", - [ - 25540 - ] - ], - [ - [ - 64142, - 64142 - ], - "mapped", - [ - 25628 - ] - ], - [ - [ - 64143, - 64143 - ], - "mapped", - [ - 25682 - ] - ], - [ - [ - 64144, - 64144 - ], - "mapped", - [ - 25942 - ] - ], - [ - [ - 64145, - 64145 - ], - "mapped", - [ - 26228 - ] - ], - [ - [ - 64146, - 64146 - ], - "mapped", - [ - 26391 - ] - ], - [ - [ - 64147, - 64147 - ], - "mapped", - [ - 26395 - ] - ], - [ - [ - 64148, - 64148 - ], - "mapped", - [ - 26454 - ] - ], - [ - [ - 64149, - 64149 - ], - "mapped", - [ - 27513 - ] - ], - [ - [ - 64150, - 64150 - ], - "mapped", - [ - 27578 - ] - ], - [ - [ - 64151, - 64151 - ], - "mapped", - [ - 27969 - ] - ], - [ - [ - 64152, - 64152 - ], - "mapped", - [ - 28379 - ] - ], - [ - [ - 64153, - 64153 - ], - "mapped", - [ - 28363 - ] - ], - [ - [ - 64154, - 64154 - ], - "mapped", - [ - 28450 - ] - ], - [ - [ - 64155, - 64155 - ], - "mapped", - [ - 28702 - ] - ], - [ - [ - 64156, - 64156 - ], - "mapped", - [ - 29038 - ] - ], - [ - [ - 64157, - 64157 - ], - "mapped", - [ - 30631 - ] - ], - [ - [ - 64158, - 64158 - ], - "mapped", - [ - 29237 - ] - ], - [ - [ - 64159, - 64159 - ], - "mapped", - [ - 29359 - ] - ], - [ - [ - 64160, - 64160 - ], - "mapped", - [ - 29482 - ] - ], - [ - [ - 64161, - 64161 - ], - "mapped", - [ - 29809 - ] - ], - [ - [ - 64162, - 64162 - ], - "mapped", - [ - 29958 - ] - ], - [ - [ - 64163, - 64163 - ], - "mapped", - [ - 30011 - ] - ], - [ - [ - 64164, - 64164 - ], - "mapped", - [ - 30237 - ] - ], - [ - [ - 64165, - 64165 - ], - "mapped", - [ - 30239 - ] - ], - [ - [ - 64166, - 64166 - ], - "mapped", - [ - 30410 - ] - ], - [ - [ - 64167, - 64167 - ], - "mapped", - [ - 30427 - ] - ], - [ - [ - 64168, - 64168 - ], - "mapped", - [ - 30452 - ] - ], - [ - [ - 64169, - 64169 - ], - "mapped", - [ - 30538 - ] - ], - [ - [ - 64170, - 64170 - ], - "mapped", - [ - 30528 - ] - ], - [ - [ - 64171, - 64171 - ], - "mapped", - [ - 30924 - ] - ], - [ - [ - 64172, - 64172 - ], - "mapped", - [ - 31409 - ] - ], - [ - [ - 64173, - 64173 - ], - "mapped", - [ - 31680 - ] - ], - [ - [ - 64174, - 64174 - ], - "mapped", - [ - 31867 - ] - ], - [ - [ - 64175, - 64175 - ], - "mapped", - [ - 32091 - ] - ], - [ - [ - 64176, - 64176 - ], - "mapped", - [ - 32244 - ] - ], - [ - [ - 64177, - 64177 - ], - "mapped", - [ - 32574 - ] - ], - [ - [ - 64178, - 64178 - ], - "mapped", - [ - 32773 - ] - ], - [ - [ - 64179, - 64179 - ], - "mapped", - [ - 33618 - ] - ], - [ - [ - 64180, - 64180 - ], - "mapped", - [ - 33775 - ] - ], - [ - [ - 64181, - 64181 - ], - "mapped", - [ - 34681 - ] - ], - [ - [ - 64182, - 64182 - ], - "mapped", - [ - 35137 - ] - ], - [ - [ - 64183, - 64183 - ], - "mapped", - [ - 35206 - ] - ], - [ - [ - 64184, - 64184 - ], - "mapped", - [ - 35222 - ] - ], - [ - [ - 64185, - 64185 - ], - "mapped", - [ - 35519 - ] - ], - [ - [ - 64186, - 64186 - ], - "mapped", - [ - 35576 - ] - ], - [ - [ - 64187, - 64187 - ], - "mapped", - [ - 35531 - ] - ], - [ - [ - 64188, - 64188 - ], - "mapped", - [ - 35585 - ] - ], - [ - [ - 64189, - 64189 - ], - "mapped", - [ - 35582 - ] - ], - [ - [ - 64190, - 64190 - ], - "mapped", - [ - 35565 - ] - ], - [ - [ - 64191, - 64191 - ], - "mapped", - [ - 35641 - ] - ], - [ - [ - 64192, - 64192 - ], - "mapped", - [ - 35722 - ] - ], - [ - [ - 64193, - 64193 - ], - "mapped", - [ - 36104 - ] - ], - [ - [ - 64194, - 64194 - ], - "mapped", - [ - 36664 - ] - ], - [ - [ - 64195, - 64195 - ], - "mapped", - [ - 36978 - ] - ], - [ - [ - 64196, - 64196 - ], - "mapped", - [ - 37273 - ] - ], - [ - [ - 64197, - 64197 - ], - "mapped", - [ - 37494 - ] - ], - [ - [ - 64198, - 64198 - ], - "mapped", - [ - 38524 - ] - ], - [ - [ - 64199, - 64199 - ], - "mapped", - [ - 38627 - ] - ], - [ - [ - 64200, - 64200 - ], - "mapped", - [ - 38742 - ] - ], - [ - [ - 64201, - 64201 - ], - "mapped", - [ - 38875 - ] - ], - [ - [ - 64202, - 64202 - ], - "mapped", - [ - 38911 - ] - ], - [ - [ - 64203, - 64203 - ], - "mapped", - [ - 38923 - ] - ], - [ - [ - 64204, - 64204 - ], - "mapped", - [ - 38971 - ] - ], - [ - [ - 64205, - 64205 - ], - "mapped", - [ - 39698 - ] - ], - [ - [ - 64206, - 64206 - ], - "mapped", - [ - 40860 - ] - ], - [ - [ - 64207, - 64207 - ], - "mapped", - [ - 141386 - ] - ], - [ - [ - 64208, - 64208 - ], - "mapped", - [ - 141380 - ] - ], - [ - [ - 64209, - 64209 - ], - "mapped", - [ - 144341 - ] - ], - [ - [ - 64210, - 64210 - ], - "mapped", - [ - 15261 - ] - ], - [ - [ - 64211, - 64211 - ], - "mapped", - [ - 16408 - ] - ], - [ - [ - 64212, - 64212 - ], - "mapped", - [ - 16441 - ] - ], - [ - [ - 64213, - 64213 - ], - "mapped", - [ - 152137 - ] - ], - [ - [ - 64214, - 64214 - ], - "mapped", - [ - 154832 - ] - ], - [ - [ - 64215, - 64215 - ], - "mapped", - [ - 163539 - ] - ], - [ - [ - 64216, - 64216 - ], - "mapped", - [ - 40771 - ] - ], - [ - [ - 64217, - 64217 - ], - "mapped", - [ - 40846 - ] - ], - [ - [ - 64218, - 64255 - ], - "disallowed" - ], - [ - [ - 64256, - 64256 - ], - "mapped", - [ - 102, - 102 - ] - ], - [ - [ - 64257, - 64257 - ], - "mapped", - [ - 102, - 105 - ] - ], - [ - [ - 64258, - 64258 - ], - "mapped", - [ - 102, - 108 - ] - ], - [ - [ - 64259, - 64259 - ], - "mapped", - [ - 102, - 102, - 105 - ] - ], - [ - [ - 64260, - 64260 - ], - "mapped", - [ - 102, - 102, - 108 - ] - ], - [ - [ - 64261, - 64262 - ], - "mapped", - [ - 115, - 116 - ] - ], - [ - [ - 64263, - 64274 - ], - "disallowed" - ], - [ - [ - 64275, - 64275 - ], - "mapped", - [ - 1396, - 1398 - ] - ], - [ - [ - 64276, - 64276 - ], - "mapped", - [ - 1396, - 1381 - ] - ], - [ - [ - 64277, - 64277 - ], - "mapped", - [ - 1396, - 1387 - ] - ], - [ - [ - 64278, - 64278 - ], - "mapped", - [ - 1406, - 1398 - ] - ], - [ - [ - 64279, - 64279 - ], - "mapped", - [ - 1396, - 1389 - ] - ], - [ - [ - 64280, - 64284 - ], - "disallowed" - ], - [ - [ - 64285, - 64285 - ], - "mapped", - [ - 1497, - 1460 - ] - ], - [ - [ - 64286, - 64286 - ], - "valid" - ], - [ - [ - 64287, - 64287 - ], - "mapped", - [ - 1522, - 1463 - ] - ], - [ - [ - 64288, - 64288 - ], - "mapped", - [ - 1506 - ] - ], - [ - [ - 64289, - 64289 - ], - "mapped", - [ - 1488 - ] - ], - [ - [ - 64290, - 64290 - ], - "mapped", - [ - 1491 - ] - ], - [ - [ - 64291, - 64291 - ], - "mapped", - [ - 1492 - ] - ], - [ - [ - 64292, - 64292 - ], - "mapped", - [ - 1499 - ] - ], - [ - [ - 64293, - 64293 - ], - "mapped", - [ - 1500 - ] - ], - [ - [ - 64294, - 64294 - ], - "mapped", - [ - 1501 - ] - ], - [ - [ - 64295, - 64295 - ], - "mapped", - [ - 1512 - ] - ], - [ - [ - 64296, - 64296 - ], - "mapped", - [ - 1514 - ] - ], - [ - [ - 64297, - 64297 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 64298, - 64298 - ], - "mapped", - [ - 1513, - 1473 - ] - ], - [ - [ - 64299, - 64299 - ], - "mapped", - [ - 1513, - 1474 - ] - ], - [ - [ - 64300, - 64300 - ], - "mapped", - [ - 1513, - 1468, - 1473 - ] - ], - [ - [ - 64301, - 64301 - ], - "mapped", - [ - 1513, - 1468, - 1474 - ] - ], - [ - [ - 64302, - 64302 - ], - "mapped", - [ - 1488, - 1463 - ] - ], - [ - [ - 64303, - 64303 - ], - "mapped", - [ - 1488, - 1464 - ] - ], - [ - [ - 64304, - 64304 - ], - "mapped", - [ - 1488, - 1468 - ] - ], - [ - [ - 64305, - 64305 - ], - "mapped", - [ - 1489, - 1468 - ] - ], - [ - [ - 64306, - 64306 - ], - "mapped", - [ - 1490, - 1468 - ] - ], - [ - [ - 64307, - 64307 - ], - "mapped", - [ - 1491, - 1468 - ] - ], - [ - [ - 64308, - 64308 - ], - "mapped", - [ - 1492, - 1468 - ] - ], - [ - [ - 64309, - 64309 - ], - "mapped", - [ - 1493, - 1468 - ] - ], - [ - [ - 64310, - 64310 - ], - "mapped", - [ - 1494, - 1468 - ] - ], - [ - [ - 64311, - 64311 - ], - "disallowed" - ], - [ - [ - 64312, - 64312 - ], - "mapped", - [ - 1496, - 1468 - ] - ], - [ - [ - 64313, - 64313 - ], - "mapped", - [ - 1497, - 1468 - ] - ], - [ - [ - 64314, - 64314 - ], - "mapped", - [ - 1498, - 1468 - ] - ], - [ - [ - 64315, - 64315 - ], - "mapped", - [ - 1499, - 1468 - ] - ], - [ - [ - 64316, - 64316 - ], - "mapped", - [ - 1500, - 1468 - ] - ], - [ - [ - 64317, - 64317 - ], - "disallowed" - ], - [ - [ - 64318, - 64318 - ], - "mapped", - [ - 1502, - 1468 - ] - ], - [ - [ - 64319, - 64319 - ], - "disallowed" - ], - [ - [ - 64320, - 64320 - ], - "mapped", - [ - 1504, - 1468 - ] - ], - [ - [ - 64321, - 64321 - ], - "mapped", - [ - 1505, - 1468 - ] - ], - [ - [ - 64322, - 64322 - ], - "disallowed" - ], - [ - [ - 64323, - 64323 - ], - "mapped", - [ - 1507, - 1468 - ] - ], - [ - [ - 64324, - 64324 - ], - "mapped", - [ - 1508, - 1468 - ] - ], - [ - [ - 64325, - 64325 - ], - "disallowed" - ], - [ - [ - 64326, - 64326 - ], - "mapped", - [ - 1510, - 1468 - ] - ], - [ - [ - 64327, - 64327 - ], - "mapped", - [ - 1511, - 1468 - ] - ], - [ - [ - 64328, - 64328 - ], - "mapped", - [ - 1512, - 1468 - ] - ], - [ - [ - 64329, - 64329 - ], - "mapped", - [ - 1513, - 1468 - ] - ], - [ - [ - 64330, - 64330 - ], - "mapped", - [ - 1514, - 1468 - ] - ], - [ - [ - 64331, - 64331 - ], - "mapped", - [ - 1493, - 1465 - ] - ], - [ - [ - 64332, - 64332 - ], - "mapped", - [ - 1489, - 1471 - ] - ], - [ - [ - 64333, - 64333 - ], - "mapped", - [ - 1499, - 1471 - ] - ], - [ - [ - 64334, - 64334 - ], - "mapped", - [ - 1508, - 1471 - ] - ], - [ - [ - 64335, - 64335 - ], - "mapped", - [ - 1488, - 1500 - ] - ], - [ - [ - 64336, - 64337 - ], - "mapped", - [ - 1649 - ] - ], - [ - [ - 64338, - 64341 - ], - "mapped", - [ - 1659 - ] - ], - [ - [ - 64342, - 64345 - ], - "mapped", - [ - 1662 - ] - ], - [ - [ - 64346, - 64349 - ], - "mapped", - [ - 1664 - ] - ], - [ - [ - 64350, - 64353 - ], - "mapped", - [ - 1658 - ] - ], - [ - [ - 64354, - 64357 - ], - "mapped", - [ - 1663 - ] - ], - [ - [ - 64358, - 64361 - ], - "mapped", - [ - 1657 - ] - ], - [ - [ - 64362, - 64365 - ], - "mapped", - [ - 1700 - ] - ], - [ - [ - 64366, - 64369 - ], - "mapped", - [ - 1702 - ] - ], - [ - [ - 64370, - 64373 - ], - "mapped", - [ - 1668 - ] - ], - [ - [ - 64374, - 64377 - ], - "mapped", - [ - 1667 - ] - ], - [ - [ - 64378, - 64381 - ], - "mapped", - [ - 1670 - ] - ], - [ - [ - 64382, - 64385 - ], - "mapped", - [ - 1671 - ] - ], - [ - [ - 64386, - 64387 - ], - "mapped", - [ - 1677 - ] - ], - [ - [ - 64388, - 64389 - ], - "mapped", - [ - 1676 - ] - ], - [ - [ - 64390, - 64391 - ], - "mapped", - [ - 1678 - ] - ], - [ - [ - 64392, - 64393 - ], - "mapped", - [ - 1672 - ] - ], - [ - [ - 64394, - 64395 - ], - "mapped", - [ - 1688 - ] - ], - [ - [ - 64396, - 64397 - ], - "mapped", - [ - 1681 - ] - ], - [ - [ - 64398, - 64401 - ], - "mapped", - [ - 1705 - ] - ], - [ - [ - 64402, - 64405 - ], - "mapped", - [ - 1711 - ] - ], - [ - [ - 64406, - 64409 - ], - "mapped", - [ - 1715 - ] - ], - [ - [ - 64410, - 64413 - ], - "mapped", - [ - 1713 - ] - ], - [ - [ - 64414, - 64415 - ], - "mapped", - [ - 1722 - ] - ], - [ - [ - 64416, - 64419 - ], - "mapped", - [ - 1723 - ] - ], - [ - [ - 64420, - 64421 - ], - "mapped", - [ - 1728 - ] - ], - [ - [ - 64422, - 64425 - ], - "mapped", - [ - 1729 - ] - ], - [ - [ - 64426, - 64429 - ], - "mapped", - [ - 1726 - ] - ], - [ - [ - 64430, - 64431 - ], - "mapped", - [ - 1746 - ] - ], - [ - [ - 64432, - 64433 - ], - "mapped", - [ - 1747 - ] - ], - [ - [ - 64434, - 64449 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 64450, - 64466 - ], - "disallowed" - ], - [ - [ - 64467, - 64470 - ], - "mapped", - [ - 1709 - ] - ], - [ - [ - 64471, - 64472 - ], - "mapped", - [ - 1735 - ] - ], - [ - [ - 64473, - 64474 - ], - "mapped", - [ - 1734 - ] - ], - [ - [ - 64475, - 64476 - ], - "mapped", - [ - 1736 - ] - ], - [ - [ - 64477, - 64477 - ], - "mapped", - [ - 1735, - 1652 - ] - ], - [ - [ - 64478, - 64479 - ], - "mapped", - [ - 1739 - ] - ], - [ - [ - 64480, - 64481 - ], - "mapped", - [ - 1733 - ] - ], - [ - [ - 64482, - 64483 - ], - "mapped", - [ - 1737 - ] - ], - [ - [ - 64484, - 64487 - ], - "mapped", - [ - 1744 - ] - ], - [ - [ - 64488, - 64489 - ], - "mapped", - [ - 1609 - ] - ], - [ - [ - 64490, - 64491 - ], - "mapped", - [ - 1574, - 1575 - ] - ], - [ - [ - 64492, - 64493 - ], - "mapped", - [ - 1574, - 1749 - ] - ], - [ - [ - 64494, - 64495 - ], - "mapped", - [ - 1574, - 1608 - ] - ], - [ - [ - 64496, - 64497 - ], - "mapped", - [ - 1574, - 1735 - ] - ], - [ - [ - 64498, - 64499 - ], - "mapped", - [ - 1574, - 1734 - ] - ], - [ - [ - 64500, - 64501 - ], - "mapped", - [ - 1574, - 1736 - ] - ], - [ - [ - 64502, - 64504 - ], - "mapped", - [ - 1574, - 1744 - ] - ], - [ - [ - 64505, - 64507 - ], - "mapped", - [ - 1574, - 1609 - ] - ], - [ - [ - 64508, - 64511 - ], - "mapped", - [ - 1740 - ] - ], - [ - [ - 64512, - 64512 - ], - "mapped", - [ - 1574, - 1580 - ] - ], - [ - [ - 64513, - 64513 - ], - "mapped", - [ - 1574, - 1581 - ] - ], - [ - [ - 64514, - 64514 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64515, - 64515 - ], - "mapped", - [ - 1574, - 1609 - ] - ], - [ - [ - 64516, - 64516 - ], - "mapped", - [ - 1574, - 1610 - ] - ], - [ - [ - 64517, - 64517 - ], - "mapped", - [ - 1576, - 1580 - ] - ], - [ - [ - 64518, - 64518 - ], - "mapped", - [ - 1576, - 1581 - ] - ], - [ - [ - 64519, - 64519 - ], - "mapped", - [ - 1576, - 1582 - ] - ], - [ - [ - 64520, - 64520 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64521, - 64521 - ], - "mapped", - [ - 1576, - 1609 - ] - ], - [ - [ - 64522, - 64522 - ], - "mapped", - [ - 1576, - 1610 - ] - ], - [ - [ - 64523, - 64523 - ], - "mapped", - [ - 1578, - 1580 - ] - ], - [ - [ - 64524, - 64524 - ], - "mapped", - [ - 1578, - 1581 - ] - ], - [ - [ - 64525, - 64525 - ], - "mapped", - [ - 1578, - 1582 - ] - ], - [ - [ - 64526, - 64526 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64527, - 64527 - ], - "mapped", - [ - 1578, - 1609 - ] - ], - [ - [ - 64528, - 64528 - ], - "mapped", - [ - 1578, - 1610 - ] - ], - [ - [ - 64529, - 64529 - ], - "mapped", - [ - 1579, - 1580 - ] - ], - [ - [ - 64530, - 64530 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64531, - 64531 - ], - "mapped", - [ - 1579, - 1609 - ] - ], - [ - [ - 64532, - 64532 - ], - "mapped", - [ - 1579, - 1610 - ] - ], - [ - [ - 64533, - 64533 - ], - "mapped", - [ - 1580, - 1581 - ] - ], - [ - [ - 64534, - 64534 - ], - "mapped", - [ - 1580, - 1605 - ] - ], - [ - [ - 64535, - 64535 - ], - "mapped", - [ - 1581, - 1580 - ] - ], - [ - [ - 64536, - 64536 - ], - "mapped", - [ - 1581, - 1605 - ] - ], - [ - [ - 64537, - 64537 - ], - "mapped", - [ - 1582, - 1580 - ] - ], - [ - [ - 64538, - 64538 - ], - "mapped", - [ - 1582, - 1581 - ] - ], - [ - [ - 64539, - 64539 - ], - "mapped", - [ - 1582, - 1605 - ] - ], - [ - [ - 64540, - 64540 - ], - "mapped", - [ - 1587, - 1580 - ] - ], - [ - [ - 64541, - 64541 - ], - "mapped", - [ - 1587, - 1581 - ] - ], - [ - [ - 64542, - 64542 - ], - "mapped", - [ - 1587, - 1582 - ] - ], - [ - [ - 64543, - 64543 - ], - "mapped", - [ - 1587, - 1605 - ] - ], - [ - [ - 64544, - 64544 - ], - "mapped", - [ - 1589, - 1581 - ] - ], - [ - [ - 64545, - 64545 - ], - "mapped", - [ - 1589, - 1605 - ] - ], - [ - [ - 64546, - 64546 - ], - "mapped", - [ - 1590, - 1580 - ] - ], - [ - [ - 64547, - 64547 - ], - "mapped", - [ - 1590, - 1581 - ] - ], - [ - [ - 64548, - 64548 - ], - "mapped", - [ - 1590, - 1582 - ] - ], - [ - [ - 64549, - 64549 - ], - "mapped", - [ - 1590, - 1605 - ] - ], - [ - [ - 64550, - 64550 - ], - "mapped", - [ - 1591, - 1581 - ] - ], - [ - [ - 64551, - 64551 - ], - "mapped", - [ - 1591, - 1605 - ] - ], - [ - [ - 64552, - 64552 - ], - "mapped", - [ - 1592, - 1605 - ] - ], - [ - [ - 64553, - 64553 - ], - "mapped", - [ - 1593, - 1580 - ] - ], - [ - [ - 64554, - 64554 - ], - "mapped", - [ - 1593, - 1605 - ] - ], - [ - [ - 64555, - 64555 - ], - "mapped", - [ - 1594, - 1580 - ] - ], - [ - [ - 64556, - 64556 - ], - "mapped", - [ - 1594, - 1605 - ] - ], - [ - [ - 64557, - 64557 - ], - "mapped", - [ - 1601, - 1580 - ] - ], - [ - [ - 64558, - 64558 - ], - "mapped", - [ - 1601, - 1581 - ] - ], - [ - [ - 64559, - 64559 - ], - "mapped", - [ - 1601, - 1582 - ] - ], - [ - [ - 64560, - 64560 - ], - "mapped", - [ - 1601, - 1605 - ] - ], - [ - [ - 64561, - 64561 - ], - "mapped", - [ - 1601, - 1609 - ] - ], - [ - [ - 64562, - 64562 - ], - "mapped", - [ - 1601, - 1610 - ] - ], - [ - [ - 64563, - 64563 - ], - "mapped", - [ - 1602, - 1581 - ] - ], - [ - [ - 64564, - 64564 - ], - "mapped", - [ - 1602, - 1605 - ] - ], - [ - [ - 64565, - 64565 - ], - "mapped", - [ - 1602, - 1609 - ] - ], - [ - [ - 64566, - 64566 - ], - "mapped", - [ - 1602, - 1610 - ] - ], - [ - [ - 64567, - 64567 - ], - "mapped", - [ - 1603, - 1575 - ] - ], - [ - [ - 64568, - 64568 - ], - "mapped", - [ - 1603, - 1580 - ] - ], - [ - [ - 64569, - 64569 - ], - "mapped", - [ - 1603, - 1581 - ] - ], - [ - [ - 64570, - 64570 - ], - "mapped", - [ - 1603, - 1582 - ] - ], - [ - [ - 64571, - 64571 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64572, - 64572 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64573, - 64573 - ], - "mapped", - [ - 1603, - 1609 - ] - ], - [ - [ - 64574, - 64574 - ], - "mapped", - [ - 1603, - 1610 - ] - ], - [ - [ - 64575, - 64575 - ], - "mapped", - [ - 1604, - 1580 - ] - ], - [ - [ - 64576, - 64576 - ], - "mapped", - [ - 1604, - 1581 - ] - ], - [ - [ - 64577, - 64577 - ], - "mapped", - [ - 1604, - 1582 - ] - ], - [ - [ - 64578, - 64578 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64579, - 64579 - ], - "mapped", - [ - 1604, - 1609 - ] - ], - [ - [ - 64580, - 64580 - ], - "mapped", - [ - 1604, - 1610 - ] - ], - [ - [ - 64581, - 64581 - ], - "mapped", - [ - 1605, - 1580 - ] - ], - [ - [ - 64582, - 64582 - ], - "mapped", - [ - 1605, - 1581 - ] - ], - [ - [ - 64583, - 64583 - ], - "mapped", - [ - 1605, - 1582 - ] - ], - [ - [ - 64584, - 64584 - ], - "mapped", - [ - 1605, - 1605 - ] - ], - [ - [ - 64585, - 64585 - ], - "mapped", - [ - 1605, - 1609 - ] - ], - [ - [ - 64586, - 64586 - ], - "mapped", - [ - 1605, - 1610 - ] - ], - [ - [ - 64587, - 64587 - ], - "mapped", - [ - 1606, - 1580 - ] - ], - [ - [ - 64588, - 64588 - ], - "mapped", - [ - 1606, - 1581 - ] - ], - [ - [ - 64589, - 64589 - ], - "mapped", - [ - 1606, - 1582 - ] - ], - [ - [ - 64590, - 64590 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64591, - 64591 - ], - "mapped", - [ - 1606, - 1609 - ] - ], - [ - [ - 64592, - 64592 - ], - "mapped", - [ - 1606, - 1610 - ] - ], - [ - [ - 64593, - 64593 - ], - "mapped", - [ - 1607, - 1580 - ] - ], - [ - [ - 64594, - 64594 - ], - "mapped", - [ - 1607, - 1605 - ] - ], - [ - [ - 64595, - 64595 - ], - "mapped", - [ - 1607, - 1609 - ] - ], - [ - [ - 64596, - 64596 - ], - "mapped", - [ - 1607, - 1610 - ] - ], - [ - [ - 64597, - 64597 - ], - "mapped", - [ - 1610, - 1580 - ] - ], - [ - [ - 64598, - 64598 - ], - "mapped", - [ - 1610, - 1581 - ] - ], - [ - [ - 64599, - 64599 - ], - "mapped", - [ - 1610, - 1582 - ] - ], - [ - [ - 64600, - 64600 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64601, - 64601 - ], - "mapped", - [ - 1610, - 1609 - ] - ], - [ - [ - 64602, - 64602 - ], - "mapped", - [ - 1610, - 1610 - ] - ], - [ - [ - 64603, - 64603 - ], - "mapped", - [ - 1584, - 1648 - ] - ], - [ - [ - 64604, - 64604 - ], - "mapped", - [ - 1585, - 1648 - ] - ], - [ - [ - 64605, - 64605 - ], - "mapped", - [ - 1609, - 1648 - ] - ], - [ - [ - 64606, - 64606 - ], - "disallowed_STD3_mapped", - [ - 32, - 1612, - 1617 - ] - ], - [ - [ - 64607, - 64607 - ], - "disallowed_STD3_mapped", - [ - 32, - 1613, - 1617 - ] - ], - [ - [ - 64608, - 64608 - ], - "disallowed_STD3_mapped", - [ - 32, - 1614, - 1617 - ] - ], - [ - [ - 64609, - 64609 - ], - "disallowed_STD3_mapped", - [ - 32, - 1615, - 1617 - ] - ], - [ - [ - 64610, - 64610 - ], - "disallowed_STD3_mapped", - [ - 32, - 1616, - 1617 - ] - ], - [ - [ - 64611, - 64611 - ], - "disallowed_STD3_mapped", - [ - 32, - 1617, - 1648 - ] - ], - [ - [ - 64612, - 64612 - ], - "mapped", - [ - 1574, - 1585 - ] - ], - [ - [ - 64613, - 64613 - ], - "mapped", - [ - 1574, - 1586 - ] - ], - [ - [ - 64614, - 64614 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64615, - 64615 - ], - "mapped", - [ - 1574, - 1606 - ] - ], - [ - [ - 64616, - 64616 - ], - "mapped", - [ - 1574, - 1609 - ] - ], - [ - [ - 64617, - 64617 - ], - "mapped", - [ - 1574, - 1610 - ] - ], - [ - [ - 64618, - 64618 - ], - "mapped", - [ - 1576, - 1585 - ] - ], - [ - [ - 64619, - 64619 - ], - "mapped", - [ - 1576, - 1586 - ] - ], - [ - [ - 64620, - 64620 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64621, - 64621 - ], - "mapped", - [ - 1576, - 1606 - ] - ], - [ - [ - 64622, - 64622 - ], - "mapped", - [ - 1576, - 1609 - ] - ], - [ - [ - 64623, - 64623 - ], - "mapped", - [ - 1576, - 1610 - ] - ], - [ - [ - 64624, - 64624 - ], - "mapped", - [ - 1578, - 1585 - ] - ], - [ - [ - 64625, - 64625 - ], - "mapped", - [ - 1578, - 1586 - ] - ], - [ - [ - 64626, - 64626 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64627, - 64627 - ], - "mapped", - [ - 1578, - 1606 - ] - ], - [ - [ - 64628, - 64628 - ], - "mapped", - [ - 1578, - 1609 - ] - ], - [ - [ - 64629, - 64629 - ], - "mapped", - [ - 1578, - 1610 - ] - ], - [ - [ - 64630, - 64630 - ], - "mapped", - [ - 1579, - 1585 - ] - ], - [ - [ - 64631, - 64631 - ], - "mapped", - [ - 1579, - 1586 - ] - ], - [ - [ - 64632, - 64632 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64633, - 64633 - ], - "mapped", - [ - 1579, - 1606 - ] - ], - [ - [ - 64634, - 64634 - ], - "mapped", - [ - 1579, - 1609 - ] - ], - [ - [ - 64635, - 64635 - ], - "mapped", - [ - 1579, - 1610 - ] - ], - [ - [ - 64636, - 64636 - ], - "mapped", - [ - 1601, - 1609 - ] - ], - [ - [ - 64637, - 64637 - ], - "mapped", - [ - 1601, - 1610 - ] - ], - [ - [ - 64638, - 64638 - ], - "mapped", - [ - 1602, - 1609 - ] - ], - [ - [ - 64639, - 64639 - ], - "mapped", - [ - 1602, - 1610 - ] - ], - [ - [ - 64640, - 64640 - ], - "mapped", - [ - 1603, - 1575 - ] - ], - [ - [ - 64641, - 64641 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64642, - 64642 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64643, - 64643 - ], - "mapped", - [ - 1603, - 1609 - ] - ], - [ - [ - 64644, - 64644 - ], - "mapped", - [ - 1603, - 1610 - ] - ], - [ - [ - 64645, - 64645 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64646, - 64646 - ], - "mapped", - [ - 1604, - 1609 - ] - ], - [ - [ - 64647, - 64647 - ], - "mapped", - [ - 1604, - 1610 - ] - ], - [ - [ - 64648, - 64648 - ], - "mapped", - [ - 1605, - 1575 - ] - ], - [ - [ - 64649, - 64649 - ], - "mapped", - [ - 1605, - 1605 - ] - ], - [ - [ - 64650, - 64650 - ], - "mapped", - [ - 1606, - 1585 - ] - ], - [ - [ - 64651, - 64651 - ], - "mapped", - [ - 1606, - 1586 - ] - ], - [ - [ - 64652, - 64652 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64653, - 64653 - ], - "mapped", - [ - 1606, - 1606 - ] - ], - [ - [ - 64654, - 64654 - ], - "mapped", - [ - 1606, - 1609 - ] - ], - [ - [ - 64655, - 64655 - ], - "mapped", - [ - 1606, - 1610 - ] - ], - [ - [ - 64656, - 64656 - ], - "mapped", - [ - 1609, - 1648 - ] - ], - [ - [ - 64657, - 64657 - ], - "mapped", - [ - 1610, - 1585 - ] - ], - [ - [ - 64658, - 64658 - ], - "mapped", - [ - 1610, - 1586 - ] - ], - [ - [ - 64659, - 64659 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64660, - 64660 - ], - "mapped", - [ - 1610, - 1606 - ] - ], - [ - [ - 64661, - 64661 - ], - "mapped", - [ - 1610, - 1609 - ] - ], - [ - [ - 64662, - 64662 - ], - "mapped", - [ - 1610, - 1610 - ] - ], - [ - [ - 64663, - 64663 - ], - "mapped", - [ - 1574, - 1580 - ] - ], - [ - [ - 64664, - 64664 - ], - "mapped", - [ - 1574, - 1581 - ] - ], - [ - [ - 64665, - 64665 - ], - "mapped", - [ - 1574, - 1582 - ] - ], - [ - [ - 64666, - 64666 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64667, - 64667 - ], - "mapped", - [ - 1574, - 1607 - ] - ], - [ - [ - 64668, - 64668 - ], - "mapped", - [ - 1576, - 1580 - ] - ], - [ - [ - 64669, - 64669 - ], - "mapped", - [ - 1576, - 1581 - ] - ], - [ - [ - 64670, - 64670 - ], - "mapped", - [ - 1576, - 1582 - ] - ], - [ - [ - 64671, - 64671 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64672, - 64672 - ], - "mapped", - [ - 1576, - 1607 - ] - ], - [ - [ - 64673, - 64673 - ], - "mapped", - [ - 1578, - 1580 - ] - ], - [ - [ - 64674, - 64674 - ], - "mapped", - [ - 1578, - 1581 - ] - ], - [ - [ - 64675, - 64675 - ], - "mapped", - [ - 1578, - 1582 - ] - ], - [ - [ - 64676, - 64676 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64677, - 64677 - ], - "mapped", - [ - 1578, - 1607 - ] - ], - [ - [ - 64678, - 64678 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64679, - 64679 - ], - "mapped", - [ - 1580, - 1581 - ] - ], - [ - [ - 64680, - 64680 - ], - "mapped", - [ - 1580, - 1605 - ] - ], - [ - [ - 64681, - 64681 - ], - "mapped", - [ - 1581, - 1580 - ] - ], - [ - [ - 64682, - 64682 - ], - "mapped", - [ - 1581, - 1605 - ] - ], - [ - [ - 64683, - 64683 - ], - "mapped", - [ - 1582, - 1580 - ] - ], - [ - [ - 64684, - 64684 - ], - "mapped", - [ - 1582, - 1605 - ] - ], - [ - [ - 64685, - 64685 - ], - "mapped", - [ - 1587, - 1580 - ] - ], - [ - [ - 64686, - 64686 - ], - "mapped", - [ - 1587, - 1581 - ] - ], - [ - [ - 64687, - 64687 - ], - "mapped", - [ - 1587, - 1582 - ] - ], - [ - [ - 64688, - 64688 - ], - "mapped", - [ - 1587, - 1605 - ] - ], - [ - [ - 64689, - 64689 - ], - "mapped", - [ - 1589, - 1581 - ] - ], - [ - [ - 64690, - 64690 - ], - "mapped", - [ - 1589, - 1582 - ] - ], - [ - [ - 64691, - 64691 - ], - "mapped", - [ - 1589, - 1605 - ] - ], - [ - [ - 64692, - 64692 - ], - "mapped", - [ - 1590, - 1580 - ] - ], - [ - [ - 64693, - 64693 - ], - "mapped", - [ - 1590, - 1581 - ] - ], - [ - [ - 64694, - 64694 - ], - "mapped", - [ - 1590, - 1582 - ] - ], - [ - [ - 64695, - 64695 - ], - "mapped", - [ - 1590, - 1605 - ] - ], - [ - [ - 64696, - 64696 - ], - "mapped", - [ - 1591, - 1581 - ] - ], - [ - [ - 64697, - 64697 - ], - "mapped", - [ - 1592, - 1605 - ] - ], - [ - [ - 64698, - 64698 - ], - "mapped", - [ - 1593, - 1580 - ] - ], - [ - [ - 64699, - 64699 - ], - "mapped", - [ - 1593, - 1605 - ] - ], - [ - [ - 64700, - 64700 - ], - "mapped", - [ - 1594, - 1580 - ] - ], - [ - [ - 64701, - 64701 - ], - "mapped", - [ - 1594, - 1605 - ] - ], - [ - [ - 64702, - 64702 - ], - "mapped", - [ - 1601, - 1580 - ] - ], - [ - [ - 64703, - 64703 - ], - "mapped", - [ - 1601, - 1581 - ] - ], - [ - [ - 64704, - 64704 - ], - "mapped", - [ - 1601, - 1582 - ] - ], - [ - [ - 64705, - 64705 - ], - "mapped", - [ - 1601, - 1605 - ] - ], - [ - [ - 64706, - 64706 - ], - "mapped", - [ - 1602, - 1581 - ] - ], - [ - [ - 64707, - 64707 - ], - "mapped", - [ - 1602, - 1605 - ] - ], - [ - [ - 64708, - 64708 - ], - "mapped", - [ - 1603, - 1580 - ] - ], - [ - [ - 64709, - 64709 - ], - "mapped", - [ - 1603, - 1581 - ] - ], - [ - [ - 64710, - 64710 - ], - "mapped", - [ - 1603, - 1582 - ] - ], - [ - [ - 64711, - 64711 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64712, - 64712 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64713, - 64713 - ], - "mapped", - [ - 1604, - 1580 - ] - ], - [ - [ - 64714, - 64714 - ], - "mapped", - [ - 1604, - 1581 - ] - ], - [ - [ - 64715, - 64715 - ], - "mapped", - [ - 1604, - 1582 - ] - ], - [ - [ - 64716, - 64716 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64717, - 64717 - ], - "mapped", - [ - 1604, - 1607 - ] - ], - [ - [ - 64718, - 64718 - ], - "mapped", - [ - 1605, - 1580 - ] - ], - [ - [ - 64719, - 64719 - ], - "mapped", - [ - 1605, - 1581 - ] - ], - [ - [ - 64720, - 64720 - ], - "mapped", - [ - 1605, - 1582 - ] - ], - [ - [ - 64721, - 64721 - ], - "mapped", - [ - 1605, - 1605 - ] - ], - [ - [ - 64722, - 64722 - ], - "mapped", - [ - 1606, - 1580 - ] - ], - [ - [ - 64723, - 64723 - ], - "mapped", - [ - 1606, - 1581 - ] - ], - [ - [ - 64724, - 64724 - ], - "mapped", - [ - 1606, - 1582 - ] - ], - [ - [ - 64725, - 64725 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64726, - 64726 - ], - "mapped", - [ - 1606, - 1607 - ] - ], - [ - [ - 64727, - 64727 - ], - "mapped", - [ - 1607, - 1580 - ] - ], - [ - [ - 64728, - 64728 - ], - "mapped", - [ - 1607, - 1605 - ] - ], - [ - [ - 64729, - 64729 - ], - "mapped", - [ - 1607, - 1648 - ] - ], - [ - [ - 64730, - 64730 - ], - "mapped", - [ - 1610, - 1580 - ] - ], - [ - [ - 64731, - 64731 - ], - "mapped", - [ - 1610, - 1581 - ] - ], - [ - [ - 64732, - 64732 - ], - "mapped", - [ - 1610, - 1582 - ] - ], - [ - [ - 64733, - 64733 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64734, - 64734 - ], - "mapped", - [ - 1610, - 1607 - ] - ], - [ - [ - 64735, - 64735 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64736, - 64736 - ], - "mapped", - [ - 1574, - 1607 - ] - ], - [ - [ - 64737, - 64737 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64738, - 64738 - ], - "mapped", - [ - 1576, - 1607 - ] - ], - [ - [ - 64739, - 64739 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64740, - 64740 - ], - "mapped", - [ - 1578, - 1607 - ] - ], - [ - [ - 64741, - 64741 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64742, - 64742 - ], - "mapped", - [ - 1579, - 1607 - ] - ], - [ - [ - 64743, - 64743 - ], - "mapped", - [ - 1587, - 1605 - ] - ], - [ - [ - 64744, - 64744 - ], - "mapped", - [ - 1587, - 1607 - ] - ], - [ - [ - 64745, - 64745 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64746, - 64746 - ], - "mapped", - [ - 1588, - 1607 - ] - ], - [ - [ - 64747, - 64747 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64748, - 64748 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64749, - 64749 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64750, - 64750 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64751, - 64751 - ], - "mapped", - [ - 1606, - 1607 - ] - ], - [ - [ - 64752, - 64752 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64753, - 64753 - ], - "mapped", - [ - 1610, - 1607 - ] - ], - [ - [ - 64754, - 64754 - ], - "mapped", - [ - 1600, - 1614, - 1617 - ] - ], - [ - [ - 64755, - 64755 - ], - "mapped", - [ - 1600, - 1615, - 1617 - ] - ], - [ - [ - 64756, - 64756 - ], - "mapped", - [ - 1600, - 1616, - 1617 - ] - ], - [ - [ - 64757, - 64757 - ], - "mapped", - [ - 1591, - 1609 - ] - ], - [ - [ - 64758, - 64758 - ], - "mapped", - [ - 1591, - 1610 - ] - ], - [ - [ - 64759, - 64759 - ], - "mapped", - [ - 1593, - 1609 - ] - ], - [ - [ - 64760, - 64760 - ], - "mapped", - [ - 1593, - 1610 - ] - ], - [ - [ - 64761, - 64761 - ], - "mapped", - [ - 1594, - 1609 - ] - ], - [ - [ - 64762, - 64762 - ], - "mapped", - [ - 1594, - 1610 - ] - ], - [ - [ - 64763, - 64763 - ], - "mapped", - [ - 1587, - 1609 - ] - ], - [ - [ - 64764, - 64764 - ], - "mapped", - [ - 1587, - 1610 - ] - ], - [ - [ - 64765, - 64765 - ], - "mapped", - [ - 1588, - 1609 - ] - ], - [ - [ - 64766, - 64766 - ], - "mapped", - [ - 1588, - 1610 - ] - ], - [ - [ - 64767, - 64767 - ], - "mapped", - [ - 1581, - 1609 - ] - ], - [ - [ - 64768, - 64768 - ], - "mapped", - [ - 1581, - 1610 - ] - ], - [ - [ - 64769, - 64769 - ], - "mapped", - [ - 1580, - 1609 - ] - ], - [ - [ - 64770, - 64770 - ], - "mapped", - [ - 1580, - 1610 - ] - ], - [ - [ - 64771, - 64771 - ], - "mapped", - [ - 1582, - 1609 - ] - ], - [ - [ - 64772, - 64772 - ], - "mapped", - [ - 1582, - 1610 - ] - ], - [ - [ - 64773, - 64773 - ], - "mapped", - [ - 1589, - 1609 - ] - ], - [ - [ - 64774, - 64774 - ], - "mapped", - [ - 1589, - 1610 - ] - ], - [ - [ - 64775, - 64775 - ], - "mapped", - [ - 1590, - 1609 - ] - ], - [ - [ - 64776, - 64776 - ], - "mapped", - [ - 1590, - 1610 - ] - ], - [ - [ - 64777, - 64777 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64778, - 64778 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64779, - 64779 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64780, - 64780 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64781, - 64781 - ], - "mapped", - [ - 1588, - 1585 - ] - ], - [ - [ - 64782, - 64782 - ], - "mapped", - [ - 1587, - 1585 - ] - ], - [ - [ - 64783, - 64783 - ], - "mapped", - [ - 1589, - 1585 - ] - ], - [ - [ - 64784, - 64784 - ], - "mapped", - [ - 1590, - 1585 - ] - ], - [ - [ - 64785, - 64785 - ], - "mapped", - [ - 1591, - 1609 - ] - ], - [ - [ - 64786, - 64786 - ], - "mapped", - [ - 1591, - 1610 - ] - ], - [ - [ - 64787, - 64787 - ], - "mapped", - [ - 1593, - 1609 - ] - ], - [ - [ - 64788, - 64788 - ], - "mapped", - [ - 1593, - 1610 - ] - ], - [ - [ - 64789, - 64789 - ], - "mapped", - [ - 1594, - 1609 - ] - ], - [ - [ - 64790, - 64790 - ], - "mapped", - [ - 1594, - 1610 - ] - ], - [ - [ - 64791, - 64791 - ], - "mapped", - [ - 1587, - 1609 - ] - ], - [ - [ - 64792, - 64792 - ], - "mapped", - [ - 1587, - 1610 - ] - ], - [ - [ - 64793, - 64793 - ], - "mapped", - [ - 1588, - 1609 - ] - ], - [ - [ - 64794, - 64794 - ], - "mapped", - [ - 1588, - 1610 - ] - ], - [ - [ - 64795, - 64795 - ], - "mapped", - [ - 1581, - 1609 - ] - ], - [ - [ - 64796, - 64796 - ], - "mapped", - [ - 1581, - 1610 - ] - ], - [ - [ - 64797, - 64797 - ], - "mapped", - [ - 1580, - 1609 - ] - ], - [ - [ - 64798, - 64798 - ], - "mapped", - [ - 1580, - 1610 - ] - ], - [ - [ - 64799, - 64799 - ], - "mapped", - [ - 1582, - 1609 - ] - ], - [ - [ - 64800, - 64800 - ], - "mapped", - [ - 1582, - 1610 - ] - ], - [ - [ - 64801, - 64801 - ], - "mapped", - [ - 1589, - 1609 - ] - ], - [ - [ - 64802, - 64802 - ], - "mapped", - [ - 1589, - 1610 - ] - ], - [ - [ - 64803, - 64803 - ], - "mapped", - [ - 1590, - 1609 - ] - ], - [ - [ - 64804, - 64804 - ], - "mapped", - [ - 1590, - 1610 - ] - ], - [ - [ - 64805, - 64805 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64806, - 64806 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64807, - 64807 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64808, - 64808 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64809, - 64809 - ], - "mapped", - [ - 1588, - 1585 - ] - ], - [ - [ - 64810, - 64810 - ], - "mapped", - [ - 1587, - 1585 - ] - ], - [ - [ - 64811, - 64811 - ], - "mapped", - [ - 1589, - 1585 - ] - ], - [ - [ - 64812, - 64812 - ], - "mapped", - [ - 1590, - 1585 - ] - ], - [ - [ - 64813, - 64813 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64814, - 64814 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64815, - 64815 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64816, - 64816 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64817, - 64817 - ], - "mapped", - [ - 1587, - 1607 - ] - ], - [ - [ - 64818, - 64818 - ], - "mapped", - [ - 1588, - 1607 - ] - ], - [ - [ - 64819, - 64819 - ], - "mapped", - [ - 1591, - 1605 - ] - ], - [ - [ - 64820, - 64820 - ], - "mapped", - [ - 1587, - 1580 - ] - ], - [ - [ - 64821, - 64821 - ], - "mapped", - [ - 1587, - 1581 - ] - ], - [ - [ - 64822, - 64822 - ], - "mapped", - [ - 1587, - 1582 - ] - ], - [ - [ - 64823, - 64823 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64824, - 64824 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64825, - 64825 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64826, - 64826 - ], - "mapped", - [ - 1591, - 1605 - ] - ], - [ - [ - 64827, - 64827 - ], - "mapped", - [ - 1592, - 1605 - ] - ], - [ - [ - 64828, - 64829 - ], - "mapped", - [ - 1575, - 1611 - ] - ], - [ - [ - 64830, - 64831 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 64832, - 64847 - ], - "disallowed" - ], - [ - [ - 64848, - 64848 - ], - "mapped", - [ - 1578, - 1580, - 1605 - ] - ], - [ - [ - 64849, - 64850 - ], - "mapped", - [ - 1578, - 1581, - 1580 - ] - ], - [ - [ - 64851, - 64851 - ], - "mapped", - [ - 1578, - 1581, - 1605 - ] - ], - [ - [ - 64852, - 64852 - ], - "mapped", - [ - 1578, - 1582, - 1605 - ] - ], - [ - [ - 64853, - 64853 - ], - "mapped", - [ - 1578, - 1605, - 1580 - ] - ], - [ - [ - 64854, - 64854 - ], - "mapped", - [ - 1578, - 1605, - 1581 - ] - ], - [ - [ - 64855, - 64855 - ], - "mapped", - [ - 1578, - 1605, - 1582 - ] - ], - [ - [ - 64856, - 64857 - ], - "mapped", - [ - 1580, - 1605, - 1581 - ] - ], - [ - [ - 64858, - 64858 - ], - "mapped", - [ - 1581, - 1605, - 1610 - ] - ], - [ - [ - 64859, - 64859 - ], - "mapped", - [ - 1581, - 1605, - 1609 - ] - ], - [ - [ - 64860, - 64860 - ], - "mapped", - [ - 1587, - 1581, - 1580 - ] - ], - [ - [ - 64861, - 64861 - ], - "mapped", - [ - 1587, - 1580, - 1581 - ] - ], - [ - [ - 64862, - 64862 - ], - "mapped", - [ - 1587, - 1580, - 1609 - ] - ], - [ - [ - 64863, - 64864 - ], - "mapped", - [ - 1587, - 1605, - 1581 - ] - ], - [ - [ - 64865, - 64865 - ], - "mapped", - [ - 1587, - 1605, - 1580 - ] - ], - [ - [ - 64866, - 64867 - ], - "mapped", - [ - 1587, - 1605, - 1605 - ] - ], - [ - [ - 64868, - 64869 - ], - "mapped", - [ - 1589, - 1581, - 1581 - ] - ], - [ - [ - 64870, - 64870 - ], - "mapped", - [ - 1589, - 1605, - 1605 - ] - ], - [ - [ - 64871, - 64872 - ], - "mapped", - [ - 1588, - 1581, - 1605 - ] - ], - [ - [ - 64873, - 64873 - ], - "mapped", - [ - 1588, - 1580, - 1610 - ] - ], - [ - [ - 64874, - 64875 - ], - "mapped", - [ - 1588, - 1605, - 1582 - ] - ], - [ - [ - 64876, - 64877 - ], - "mapped", - [ - 1588, - 1605, - 1605 - ] - ], - [ - [ - 64878, - 64878 - ], - "mapped", - [ - 1590, - 1581, - 1609 - ] - ], - [ - [ - 64879, - 64880 - ], - "mapped", - [ - 1590, - 1582, - 1605 - ] - ], - [ - [ - 64881, - 64882 - ], - "mapped", - [ - 1591, - 1605, - 1581 - ] - ], - [ - [ - 64883, - 64883 - ], - "mapped", - [ - 1591, - 1605, - 1605 - ] - ], - [ - [ - 64884, - 64884 - ], - "mapped", - [ - 1591, - 1605, - 1610 - ] - ], - [ - [ - 64885, - 64885 - ], - "mapped", - [ - 1593, - 1580, - 1605 - ] - ], - [ - [ - 64886, - 64887 - ], - "mapped", - [ - 1593, - 1605, - 1605 - ] - ], - [ - [ - 64888, - 64888 - ], - "mapped", - [ - 1593, - 1605, - 1609 - ] - ], - [ - [ - 64889, - 64889 - ], - "mapped", - [ - 1594, - 1605, - 1605 - ] - ], - [ - [ - 64890, - 64890 - ], - "mapped", - [ - 1594, - 1605, - 1610 - ] - ], - [ - [ - 64891, - 64891 - ], - "mapped", - [ - 1594, - 1605, - 1609 - ] - ], - [ - [ - 64892, - 64893 - ], - "mapped", - [ - 1601, - 1582, - 1605 - ] - ], - [ - [ - 64894, - 64894 - ], - "mapped", - [ - 1602, - 1605, - 1581 - ] - ], - [ - [ - 64895, - 64895 - ], - "mapped", - [ - 1602, - 1605, - 1605 - ] - ], - [ - [ - 64896, - 64896 - ], - "mapped", - [ - 1604, - 1581, - 1605 - ] - ], - [ - [ - 64897, - 64897 - ], - "mapped", - [ - 1604, - 1581, - 1610 - ] - ], - [ - [ - 64898, - 64898 - ], - "mapped", - [ - 1604, - 1581, - 1609 - ] - ], - [ - [ - 64899, - 64900 - ], - "mapped", - [ - 1604, - 1580, - 1580 - ] - ], - [ - [ - 64901, - 64902 - ], - "mapped", - [ - 1604, - 1582, - 1605 - ] - ], - [ - [ - 64903, - 64904 - ], - "mapped", - [ - 1604, - 1605, - 1581 - ] - ], - [ - [ - 64905, - 64905 - ], - "mapped", - [ - 1605, - 1581, - 1580 - ] - ], - [ - [ - 64906, - 64906 - ], - "mapped", - [ - 1605, - 1581, - 1605 - ] - ], - [ - [ - 64907, - 64907 - ], - "mapped", - [ - 1605, - 1581, - 1610 - ] - ], - [ - [ - 64908, - 64908 - ], - "mapped", - [ - 1605, - 1580, - 1581 - ] - ], - [ - [ - 64909, - 64909 - ], - "mapped", - [ - 1605, - 1580, - 1605 - ] - ], - [ - [ - 64910, - 64910 - ], - "mapped", - [ - 1605, - 1582, - 1580 - ] - ], - [ - [ - 64911, - 64911 - ], - "mapped", - [ - 1605, - 1582, - 1605 - ] - ], - [ - [ - 64912, - 64913 - ], - "disallowed" - ], - [ - [ - 64914, - 64914 - ], - "mapped", - [ - 1605, - 1580, - 1582 - ] - ], - [ - [ - 64915, - 64915 - ], - "mapped", - [ - 1607, - 1605, - 1580 - ] - ], - [ - [ - 64916, - 64916 - ], - "mapped", - [ - 1607, - 1605, - 1605 - ] - ], - [ - [ - 64917, - 64917 - ], - "mapped", - [ - 1606, - 1581, - 1605 - ] - ], - [ - [ - 64918, - 64918 - ], - "mapped", - [ - 1606, - 1581, - 1609 - ] - ], - [ - [ - 64919, - 64920 - ], - "mapped", - [ - 1606, - 1580, - 1605 - ] - ], - [ - [ - 64921, - 64921 - ], - "mapped", - [ - 1606, - 1580, - 1609 - ] - ], - [ - [ - 64922, - 64922 - ], - "mapped", - [ - 1606, - 1605, - 1610 - ] - ], - [ - [ - 64923, - 64923 - ], - "mapped", - [ - 1606, - 1605, - 1609 - ] - ], - [ - [ - 64924, - 64925 - ], - "mapped", - [ - 1610, - 1605, - 1605 - ] - ], - [ - [ - 64926, - 64926 - ], - "mapped", - [ - 1576, - 1582, - 1610 - ] - ], - [ - [ - 64927, - 64927 - ], - "mapped", - [ - 1578, - 1580, - 1610 - ] - ], - [ - [ - 64928, - 64928 - ], - "mapped", - [ - 1578, - 1580, - 1609 - ] - ], - [ - [ - 64929, - 64929 - ], - "mapped", - [ - 1578, - 1582, - 1610 - ] - ], - [ - [ - 64930, - 64930 - ], - "mapped", - [ - 1578, - 1582, - 1609 - ] - ], - [ - [ - 64931, - 64931 - ], - "mapped", - [ - 1578, - 1605, - 1610 - ] - ], - [ - [ - 64932, - 64932 - ], - "mapped", - [ - 1578, - 1605, - 1609 - ] - ], - [ - [ - 64933, - 64933 - ], - "mapped", - [ - 1580, - 1605, - 1610 - ] - ], - [ - [ - 64934, - 64934 - ], - "mapped", - [ - 1580, - 1581, - 1609 - ] - ], - [ - [ - 64935, - 64935 - ], - "mapped", - [ - 1580, - 1605, - 1609 - ] - ], - [ - [ - 64936, - 64936 - ], - "mapped", - [ - 1587, - 1582, - 1609 - ] - ], - [ - [ - 64937, - 64937 - ], - "mapped", - [ - 1589, - 1581, - 1610 - ] - ], - [ - [ - 64938, - 64938 - ], - "mapped", - [ - 1588, - 1581, - 1610 - ] - ], - [ - [ - 64939, - 64939 - ], - "mapped", - [ - 1590, - 1581, - 1610 - ] - ], - [ - [ - 64940, - 64940 - ], - "mapped", - [ - 1604, - 1580, - 1610 - ] - ], - [ - [ - 64941, - 64941 - ], - "mapped", - [ - 1604, - 1605, - 1610 - ] - ], - [ - [ - 64942, - 64942 - ], - "mapped", - [ - 1610, - 1581, - 1610 - ] - ], - [ - [ - 64943, - 64943 - ], - "mapped", - [ - 1610, - 1580, - 1610 - ] - ], - [ - [ - 64944, - 64944 - ], - "mapped", - [ - 1610, - 1605, - 1610 - ] - ], - [ - [ - 64945, - 64945 - ], - "mapped", - [ - 1605, - 1605, - 1610 - ] - ], - [ - [ - 64946, - 64946 - ], - "mapped", - [ - 1602, - 1605, - 1610 - ] - ], - [ - [ - 64947, - 64947 - ], - "mapped", - [ - 1606, - 1581, - 1610 - ] - ], - [ - [ - 64948, - 64948 - ], - "mapped", - [ - 1602, - 1605, - 1581 - ] - ], - [ - [ - 64949, - 64949 - ], - "mapped", - [ - 1604, - 1581, - 1605 - ] - ], - [ - [ - 64950, - 64950 - ], - "mapped", - [ - 1593, - 1605, - 1610 - ] - ], - [ - [ - 64951, - 64951 - ], - "mapped", - [ - 1603, - 1605, - 1610 - ] - ], - [ - [ - 64952, - 64952 - ], - "mapped", - [ - 1606, - 1580, - 1581 - ] - ], - [ - [ - 64953, - 64953 - ], - "mapped", - [ - 1605, - 1582, - 1610 - ] - ], - [ - [ - 64954, - 64954 - ], - "mapped", - [ - 1604, - 1580, - 1605 - ] - ], - [ - [ - 64955, - 64955 - ], - "mapped", - [ - 1603, - 1605, - 1605 - ] - ], - [ - [ - 64956, - 64956 - ], - "mapped", - [ - 1604, - 1580, - 1605 - ] - ], - [ - [ - 64957, - 64957 - ], - "mapped", - [ - 1606, - 1580, - 1581 - ] - ], - [ - [ - 64958, - 64958 - ], - "mapped", - [ - 1580, - 1581, - 1610 - ] - ], - [ - [ - 64959, - 64959 - ], - "mapped", - [ - 1581, - 1580, - 1610 - ] - ], - [ - [ - 64960, - 64960 - ], - "mapped", - [ - 1605, - 1580, - 1610 - ] - ], - [ - [ - 64961, - 64961 - ], - "mapped", - [ - 1601, - 1605, - 1610 - ] - ], - [ - [ - 64962, - 64962 - ], - "mapped", - [ - 1576, - 1581, - 1610 - ] - ], - [ - [ - 64963, - 64963 - ], - "mapped", - [ - 1603, - 1605, - 1605 - ] - ], - [ - [ - 64964, - 64964 - ], - "mapped", - [ - 1593, - 1580, - 1605 - ] - ], - [ - [ - 64965, - 64965 - ], - "mapped", - [ - 1589, - 1605, - 1605 - ] - ], - [ - [ - 64966, - 64966 - ], - "mapped", - [ - 1587, - 1582, - 1610 - ] - ], - [ - [ - 64967, - 64967 - ], - "mapped", - [ - 1606, - 1580, - 1610 - ] - ], - [ - [ - 64968, - 64975 - ], - "disallowed" - ], - [ - [ - 64976, - 65007 - ], - "disallowed" - ], - [ - [ - 65008, - 65008 - ], - "mapped", - [ - 1589, - 1604, - 1746 - ] - ], - [ - [ - 65009, - 65009 - ], - "mapped", - [ - 1602, - 1604, - 1746 - ] - ], - [ - [ - 65010, - 65010 - ], - "mapped", - [ - 1575, - 1604, - 1604, - 1607 - ] - ], - [ - [ - 65011, - 65011 - ], - "mapped", - [ - 1575, - 1603, - 1576, - 1585 - ] - ], - [ - [ - 65012, - 65012 - ], - "mapped", - [ - 1605, - 1581, - 1605, - 1583 - ] - ], - [ - [ - 65013, - 65013 - ], - "mapped", - [ - 1589, - 1604, - 1593, - 1605 - ] - ], - [ - [ - 65014, - 65014 - ], - "mapped", - [ - 1585, - 1587, - 1608, - 1604 - ] - ], - [ - [ - 65015, - 65015 - ], - "mapped", - [ - 1593, - 1604, - 1610, - 1607 - ] - ], - [ - [ - 65016, - 65016 - ], - "mapped", - [ - 1608, - 1587, - 1604, - 1605 - ] - ], - [ - [ - 65017, - 65017 - ], - "mapped", - [ - 1589, - 1604, - 1609 - ] - ], - [ - [ - 65018, - 65018 - ], - "disallowed_STD3_mapped", - [ - 1589, - 1604, - 1609, - 32, - 1575, - 1604, - 1604, - 1607, - 32, - 1593, - 1604, - 1610, - 1607, - 32, - 1608, - 1587, - 1604, - 1605 - ] - ], - [ - [ - 65019, - 65019 - ], - "disallowed_STD3_mapped", - [ - 1580, - 1604, - 32, - 1580, - 1604, - 1575, - 1604, - 1607 - ] - ], - [ - [ - 65020, - 65020 - ], - "mapped", - [ - 1585, - 1740, - 1575, - 1604 - ] - ], - [ - [ - 65021, - 65021 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65022, - 65023 - ], - "disallowed" - ], - [ - [ - 65024, - 65039 - ], - "ignored" - ], - [ - [ - 65040, - 65040 - ], - "disallowed_STD3_mapped", - [ - 44 - ] - ], - [ - [ - 65041, - 65041 - ], - "mapped", - [ - 12289 - ] - ], - [ - [ - 65042, - 65042 - ], - "disallowed" - ], - [ - [ - 65043, - 65043 - ], - "disallowed_STD3_mapped", - [ - 58 - ] - ], - [ - [ - 65044, - 65044 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 65045, - 65045 - ], - "disallowed_STD3_mapped", - [ - 33 - ] - ], - [ - [ - 65046, - 65046 - ], - "disallowed_STD3_mapped", - [ - 63 - ] - ], - [ - [ - 65047, - 65047 - ], - "mapped", - [ - 12310 - ] - ], - [ - [ - 65048, - 65048 - ], - "mapped", - [ - 12311 - ] - ], - [ - [ - 65049, - 65049 - ], - "disallowed" - ], - [ - [ - 65050, - 65055 - ], - "disallowed" - ], - [ - [ - 65056, - 65059 - ], - "valid" - ], - [ - [ - 65060, - 65062 - ], - "valid" - ], - [ - [ - 65063, - 65069 - ], - "valid" - ], - [ - [ - 65070, - 65071 - ], - "valid" - ], - [ - [ - 65072, - 65072 - ], - "disallowed" - ], - [ - [ - 65073, - 65073 - ], - "mapped", - [ - 8212 - ] - ], - [ - [ - 65074, - 65074 - ], - "mapped", - [ - 8211 - ] - ], - [ - [ - 65075, - 65076 - ], - "disallowed_STD3_mapped", - [ - 95 - ] - ], - [ - [ - 65077, - 65077 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 65078, - 65078 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 65079, - 65079 - ], - "disallowed_STD3_mapped", - [ - 123 - ] - ], - [ - [ - 65080, - 65080 - ], - "disallowed_STD3_mapped", - [ - 125 - ] - ], - [ - [ - 65081, - 65081 - ], - "mapped", - [ - 12308 - ] - ], - [ - [ - 65082, - 65082 - ], - "mapped", - [ - 12309 - ] - ], - [ - [ - 65083, - 65083 - ], - "mapped", - [ - 12304 - ] - ], - [ - [ - 65084, - 65084 - ], - "mapped", - [ - 12305 - ] - ], - [ - [ - 65085, - 65085 - ], - "mapped", - [ - 12298 - ] - ], - [ - [ - 65086, - 65086 - ], - "mapped", - [ - 12299 - ] - ], - [ - [ - 65087, - 65087 - ], - "mapped", - [ - 12296 - ] - ], - [ - [ - 65088, - 65088 - ], - "mapped", - [ - 12297 - ] - ], - [ - [ - 65089, - 65089 - ], - "mapped", - [ - 12300 - ] - ], - [ - [ - 65090, - 65090 - ], - "mapped", - [ - 12301 - ] - ], - [ - [ - 65091, - 65091 - ], - "mapped", - [ - 12302 - ] - ], - [ - [ - 65092, - 65092 - ], - "mapped", - [ - 12303 - ] - ], - [ - [ - 65093, - 65094 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65095, - 65095 - ], - "disallowed_STD3_mapped", - [ - 91 - ] - ], - [ - [ - 65096, - 65096 - ], - "disallowed_STD3_mapped", - [ - 93 - ] - ], - [ - [ - 65097, - 65100 - ], - "disallowed_STD3_mapped", - [ - 32, - 773 - ] - ], - [ - [ - 65101, - 65103 - ], - "disallowed_STD3_mapped", - [ - 95 - ] - ], - [ - [ - 65104, - 65104 - ], - "disallowed_STD3_mapped", - [ - 44 - ] - ], - [ - [ - 65105, - 65105 - ], - "mapped", - [ - 12289 - ] - ], - [ - [ - 65106, - 65106 - ], - "disallowed" - ], - [ - [ - 65107, - 65107 - ], - "disallowed" - ], - [ - [ - 65108, - 65108 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 65109, - 65109 - ], - "disallowed_STD3_mapped", - [ - 58 - ] - ], - [ - [ - 65110, - 65110 - ], - "disallowed_STD3_mapped", - [ - 63 - ] - ], - [ - [ - 65111, - 65111 - ], - "disallowed_STD3_mapped", - [ - 33 - ] - ], - [ - [ - 65112, - 65112 - ], - "mapped", - [ - 8212 - ] - ], - [ - [ - 65113, - 65113 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 65114, - 65114 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 65115, - 65115 - ], - "disallowed_STD3_mapped", - [ - 123 - ] - ], - [ - [ - 65116, - 65116 - ], - "disallowed_STD3_mapped", - [ - 125 - ] - ], - [ - [ - 65117, - 65117 - ], - "mapped", - [ - 12308 - ] - ], - [ - [ - 65118, - 65118 - ], - "mapped", - [ - 12309 - ] - ], - [ - [ - 65119, - 65119 - ], - "disallowed_STD3_mapped", - [ - 35 - ] - ], - [ - [ - 65120, - 65120 - ], - "disallowed_STD3_mapped", - [ - 38 - ] - ], - [ - [ - 65121, - 65121 - ], - "disallowed_STD3_mapped", - [ - 42 - ] - ], - [ - [ - 65122, - 65122 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 65123, - 65123 - ], - "mapped", - [ - 45 - ] - ], - [ - [ - 65124, - 65124 - ], - "disallowed_STD3_mapped", - [ - 60 - ] - ], - [ - [ - 65125, - 65125 - ], - "disallowed_STD3_mapped", - [ - 62 - ] - ], - [ - [ - 65126, - 65126 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 65127, - 65127 - ], - "disallowed" - ], - [ - [ - 65128, - 65128 - ], - "disallowed_STD3_mapped", - [ - 92 - ] - ], - [ - [ - 65129, - 65129 - ], - "disallowed_STD3_mapped", - [ - 36 - ] - ], - [ - [ - 65130, - 65130 - ], - "disallowed_STD3_mapped", - [ - 37 - ] - ], - [ - [ - 65131, - 65131 - ], - "disallowed_STD3_mapped", - [ - 64 - ] - ], - [ - [ - 65132, - 65135 - ], - "disallowed" - ], - [ - [ - 65136, - 65136 - ], - "disallowed_STD3_mapped", - [ - 32, - 1611 - ] - ], - [ - [ - 65137, - 65137 - ], - "mapped", - [ - 1600, - 1611 - ] - ], - [ - [ - 65138, - 65138 - ], - "disallowed_STD3_mapped", - [ - 32, - 1612 - ] - ], - [ - [ - 65139, - 65139 - ], - "valid" - ], - [ - [ - 65140, - 65140 - ], - "disallowed_STD3_mapped", - [ - 32, - 1613 - ] - ], - [ - [ - 65141, - 65141 - ], - "disallowed" - ], - [ - [ - 65142, - 65142 - ], - "disallowed_STD3_mapped", - [ - 32, - 1614 - ] - ], - [ - [ - 65143, - 65143 - ], - "mapped", - [ - 1600, - 1614 - ] - ], - [ - [ - 65144, - 65144 - ], - "disallowed_STD3_mapped", - [ - 32, - 1615 - ] - ], - [ - [ - 65145, - 65145 - ], - "mapped", - [ - 1600, - 1615 - ] - ], - [ - [ - 65146, - 65146 - ], - "disallowed_STD3_mapped", - [ - 32, - 1616 - ] - ], - [ - [ - 65147, - 65147 - ], - "mapped", - [ - 1600, - 1616 - ] - ], - [ - [ - 65148, - 65148 - ], - "disallowed_STD3_mapped", - [ - 32, - 1617 - ] - ], - [ - [ - 65149, - 65149 - ], - "mapped", - [ - 1600, - 1617 - ] - ], - [ - [ - 65150, - 65150 - ], - "disallowed_STD3_mapped", - [ - 32, - 1618 - ] - ], - [ - [ - 65151, - 65151 - ], - "mapped", - [ - 1600, - 1618 - ] - ], - [ - [ - 65152, - 65152 - ], - "mapped", - [ - 1569 - ] - ], - [ - [ - 65153, - 65154 - ], - "mapped", - [ - 1570 - ] - ], - [ - [ - 65155, - 65156 - ], - "mapped", - [ - 1571 - ] - ], - [ - [ - 65157, - 65158 - ], - "mapped", - [ - 1572 - ] - ], - [ - [ - 65159, - 65160 - ], - "mapped", - [ - 1573 - ] - ], - [ - [ - 65161, - 65164 - ], - "mapped", - [ - 1574 - ] - ], - [ - [ - 65165, - 65166 - ], - "mapped", - [ - 1575 - ] - ], - [ - [ - 65167, - 65170 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 65171, - 65172 - ], - "mapped", - [ - 1577 - ] - ], - [ - [ - 65173, - 65176 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 65177, - 65180 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 65181, - 65184 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 65185, - 65188 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 65189, - 65192 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 65193, - 65194 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 65195, - 65196 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 65197, - 65198 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 65199, - 65200 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 65201, - 65204 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 65205, - 65208 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 65209, - 65212 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 65213, - 65216 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 65217, - 65220 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 65221, - 65224 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 65225, - 65228 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 65229, - 65232 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 65233, - 65236 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 65237, - 65240 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 65241, - 65244 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 65245, - 65248 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 65249, - 65252 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 65253, - 65256 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 65257, - 65260 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 65261, - 65262 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 65263, - 65264 - ], - "mapped", - [ - 1609 - ] - ], - [ - [ - 65265, - 65268 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 65269, - 65270 - ], - "mapped", - [ - 1604, - 1570 - ] - ], - [ - [ - 65271, - 65272 - ], - "mapped", - [ - 1604, - 1571 - ] - ], - [ - [ - 65273, - 65274 - ], - "mapped", - [ - 1604, - 1573 - ] - ], - [ - [ - 65275, - 65276 - ], - "mapped", - [ - 1604, - 1575 - ] - ], - [ - [ - 65277, - 65278 - ], - "disallowed" - ], - [ - [ - 65279, - 65279 - ], - "ignored" - ], - [ - [ - 65280, - 65280 - ], - "disallowed" - ], - [ - [ - 65281, - 65281 - ], - "disallowed_STD3_mapped", - [ - 33 - ] - ], - [ - [ - 65282, - 65282 - ], - "disallowed_STD3_mapped", - [ - 34 - ] - ], - [ - [ - 65283, - 65283 - ], - "disallowed_STD3_mapped", - [ - 35 - ] - ], - [ - [ - 65284, - 65284 - ], - "disallowed_STD3_mapped", - [ - 36 - ] - ], - [ - [ - 65285, - 65285 - ], - "disallowed_STD3_mapped", - [ - 37 - ] - ], - [ - [ - 65286, - 65286 - ], - "disallowed_STD3_mapped", - [ - 38 - ] - ], - [ - [ - 65287, - 65287 - ], - "disallowed_STD3_mapped", - [ - 39 - ] - ], - [ - [ - 65288, - 65288 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 65289, - 65289 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 65290, - 65290 - ], - "disallowed_STD3_mapped", - [ - 42 - ] - ], - [ - [ - 65291, - 65291 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 65292, - 65292 - ], - "disallowed_STD3_mapped", - [ - 44 - ] - ], - [ - [ - 65293, - 65293 - ], - "mapped", - [ - 45 - ] - ], - [ - [ - 65294, - 65294 - ], - "mapped", - [ - 46 - ] - ], - [ - [ - 65295, - 65295 - ], - "disallowed_STD3_mapped", - [ - 47 - ] - ], - [ - [ - 65296, - 65296 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 65297, - 65297 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 65298, - 65298 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 65299, - 65299 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 65300, - 65300 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 65301, - 65301 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 65302, - 65302 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 65303, - 65303 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 65304, - 65304 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 65305, - 65305 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 65306, - 65306 - ], - "disallowed_STD3_mapped", - [ - 58 - ] - ], - [ - [ - 65307, - 65307 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 65308, - 65308 - ], - "disallowed_STD3_mapped", - [ - 60 - ] - ], - [ - [ - 65309, - 65309 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 65310, - 65310 - ], - "disallowed_STD3_mapped", - [ - 62 - ] - ], - [ - [ - 65311, - 65311 - ], - "disallowed_STD3_mapped", - [ - 63 - ] - ], - [ - [ - 65312, - 65312 - ], - "disallowed_STD3_mapped", - [ - 64 - ] - ], - [ - [ - 65313, - 65313 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 65314, - 65314 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 65315, - 65315 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 65316, - 65316 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 65317, - 65317 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 65318, - 65318 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 65319, - 65319 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 65320, - 65320 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 65321, - 65321 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 65322, - 65322 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 65323, - 65323 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 65324, - 65324 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 65325, - 65325 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 65326, - 65326 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 65327, - 65327 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 65328, - 65328 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 65329, - 65329 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 65330, - 65330 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 65331, - 65331 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 65332, - 65332 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 65333, - 65333 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 65334, - 65334 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 65335, - 65335 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 65336, - 65336 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 65337, - 65337 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 65338, - 65338 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 65339, - 65339 - ], - "disallowed_STD3_mapped", - [ - 91 - ] - ], - [ - [ - 65340, - 65340 - ], - "disallowed_STD3_mapped", - [ - 92 - ] - ], - [ - [ - 65341, - 65341 - ], - "disallowed_STD3_mapped", - [ - 93 - ] - ], - [ - [ - 65342, - 65342 - ], - "disallowed_STD3_mapped", - [ - 94 - ] - ], - [ - [ - 65343, - 65343 - ], - "disallowed_STD3_mapped", - [ - 95 - ] - ], - [ - [ - 65344, - 65344 - ], - "disallowed_STD3_mapped", - [ - 96 - ] - ], - [ - [ - 65345, - 65345 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 65346, - 65346 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 65347, - 65347 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 65348, - 65348 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 65349, - 65349 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 65350, - 65350 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 65351, - 65351 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 65352, - 65352 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 65353, - 65353 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 65354, - 65354 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 65355, - 65355 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 65356, - 65356 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 65357, - 65357 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 65358, - 65358 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 65359, - 65359 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 65360, - 65360 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 65361, - 65361 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 65362, - 65362 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 65363, - 65363 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 65364, - 65364 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 65365, - 65365 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 65366, - 65366 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 65367, - 65367 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 65368, - 65368 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 65369, - 65369 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 65370, - 65370 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 65371, - 65371 - ], - "disallowed_STD3_mapped", - [ - 123 - ] - ], - [ - [ - 65372, - 65372 - ], - "disallowed_STD3_mapped", - [ - 124 - ] - ], - [ - [ - 65373, - 65373 - ], - "disallowed_STD3_mapped", - [ - 125 - ] - ], - [ - [ - 65374, - 65374 - ], - "disallowed_STD3_mapped", - [ - 126 - ] - ], - [ - [ - 65375, - 65375 - ], - "mapped", - [ - 10629 - ] - ], - [ - [ - 65376, - 65376 - ], - "mapped", - [ - 10630 - ] - ], - [ - [ - 65377, - 65377 - ], - "mapped", - [ - 46 - ] - ], - [ - [ - 65378, - 65378 - ], - "mapped", - [ - 12300 - ] - ], - [ - [ - 65379, - 65379 - ], - "mapped", - [ - 12301 - ] - ], - [ - [ - 65380, - 65380 - ], - "mapped", - [ - 12289 - ] - ], - [ - [ - 65381, - 65381 - ], - "mapped", - [ - 12539 - ] - ], - [ - [ - 65382, - 65382 - ], - "mapped", - [ - 12530 - ] - ], - [ - [ - 65383, - 65383 - ], - "mapped", - [ - 12449 - ] - ], - [ - [ - 65384, - 65384 - ], - "mapped", - [ - 12451 - ] - ], - [ - [ - 65385, - 65385 - ], - "mapped", - [ - 12453 - ] - ], - [ - [ - 65386, - 65386 - ], - "mapped", - [ - 12455 - ] - ], - [ - [ - 65387, - 65387 - ], - "mapped", - [ - 12457 - ] - ], - [ - [ - 65388, - 65388 - ], - "mapped", - [ - 12515 - ] - ], - [ - [ - 65389, - 65389 - ], - "mapped", - [ - 12517 - ] - ], - [ - [ - 65390, - 65390 - ], - "mapped", - [ - 12519 - ] - ], - [ - [ - 65391, - 65391 - ], - "mapped", - [ - 12483 - ] - ], - [ - [ - 65392, - 65392 - ], - "mapped", - [ - 12540 - ] - ], - [ - [ - 65393, - 65393 - ], - "mapped", - [ - 12450 - ] - ], - [ - [ - 65394, - 65394 - ], - "mapped", - [ - 12452 - ] - ], - [ - [ - 65395, - 65395 - ], - "mapped", - [ - 12454 - ] - ], - [ - [ - 65396, - 65396 - ], - "mapped", - [ - 12456 - ] - ], - [ - [ - 65397, - 65397 - ], - "mapped", - [ - 12458 - ] - ], - [ - [ - 65398, - 65398 - ], - "mapped", - [ - 12459 - ] - ], - [ - [ - 65399, - 65399 - ], - "mapped", - [ - 12461 - ] - ], - [ - [ - 65400, - 65400 - ], - "mapped", - [ - 12463 - ] - ], - [ - [ - 65401, - 65401 - ], - "mapped", - [ - 12465 - ] - ], - [ - [ - 65402, - 65402 - ], - "mapped", - [ - 12467 - ] - ], - [ - [ - 65403, - 65403 - ], - "mapped", - [ - 12469 - ] - ], - [ - [ - 65404, - 65404 - ], - "mapped", - [ - 12471 - ] - ], - [ - [ - 65405, - 65405 - ], - "mapped", - [ - 12473 - ] - ], - [ - [ - 65406, - 65406 - ], - "mapped", - [ - 12475 - ] - ], - [ - [ - 65407, - 65407 - ], - "mapped", - [ - 12477 - ] - ], - [ - [ - 65408, - 65408 - ], - "mapped", - [ - 12479 - ] - ], - [ - [ - 65409, - 65409 - ], - "mapped", - [ - 12481 - ] - ], - [ - [ - 65410, - 65410 - ], - "mapped", - [ - 12484 - ] - ], - [ - [ - 65411, - 65411 - ], - "mapped", - [ - 12486 - ] - ], - [ - [ - 65412, - 65412 - ], - "mapped", - [ - 12488 - ] - ], - [ - [ - 65413, - 65413 - ], - "mapped", - [ - 12490 - ] - ], - [ - [ - 65414, - 65414 - ], - "mapped", - [ - 12491 - ] - ], - [ - [ - 65415, - 65415 - ], - "mapped", - [ - 12492 - ] - ], - [ - [ - 65416, - 65416 - ], - "mapped", - [ - 12493 - ] - ], - [ - [ - 65417, - 65417 - ], - "mapped", - [ - 12494 - ] - ], - [ - [ - 65418, - 65418 - ], - "mapped", - [ - 12495 - ] - ], - [ - [ - 65419, - 65419 - ], - "mapped", - [ - 12498 - ] - ], - [ - [ - 65420, - 65420 - ], - "mapped", - [ - 12501 - ] - ], - [ - [ - 65421, - 65421 - ], - "mapped", - [ - 12504 - ] - ], - [ - [ - 65422, - 65422 - ], - "mapped", - [ - 12507 - ] - ], - [ - [ - 65423, - 65423 - ], - "mapped", - [ - 12510 - ] - ], - [ - [ - 65424, - 65424 - ], - "mapped", - [ - 12511 - ] - ], - [ - [ - 65425, - 65425 - ], - "mapped", - [ - 12512 - ] - ], - [ - [ - 65426, - 65426 - ], - "mapped", - [ - 12513 - ] - ], - [ - [ - 65427, - 65427 - ], - "mapped", - [ - 12514 - ] - ], - [ - [ - 65428, - 65428 - ], - "mapped", - [ - 12516 - ] - ], - [ - [ - 65429, - 65429 - ], - "mapped", - [ - 12518 - ] - ], - [ - [ - 65430, - 65430 - ], - "mapped", - [ - 12520 - ] - ], - [ - [ - 65431, - 65431 - ], - "mapped", - [ - 12521 - ] - ], - [ - [ - 65432, - 65432 - ], - "mapped", - [ - 12522 - ] - ], - [ - [ - 65433, - 65433 - ], - "mapped", - [ - 12523 - ] - ], - [ - [ - 65434, - 65434 - ], - "mapped", - [ - 12524 - ] - ], - [ - [ - 65435, - 65435 - ], - "mapped", - [ - 12525 - ] - ], - [ - [ - 65436, - 65436 - ], - "mapped", - [ - 12527 - ] - ], - [ - [ - 65437, - 65437 - ], - "mapped", - [ - 12531 - ] - ], - [ - [ - 65438, - 65438 - ], - "mapped", - [ - 12441 - ] - ], - [ - [ - 65439, - 65439 - ], - "mapped", - [ - 12442 - ] - ], - [ - [ - 65440, - 65440 - ], - "disallowed" - ], - [ - [ - 65441, - 65441 - ], - "mapped", - [ - 4352 - ] - ], - [ - [ - 65442, - 65442 - ], - "mapped", - [ - 4353 - ] - ], - [ - [ - 65443, - 65443 - ], - "mapped", - [ - 4522 - ] - ], - [ - [ - 65444, - 65444 - ], - "mapped", - [ - 4354 - ] - ], - [ - [ - 65445, - 65445 - ], - "mapped", - [ - 4524 - ] - ], - [ - [ - 65446, - 65446 - ], - "mapped", - [ - 4525 - ] - ], - [ - [ - 65447, - 65447 - ], - "mapped", - [ - 4355 - ] - ], - [ - [ - 65448, - 65448 - ], - "mapped", - [ - 4356 - ] - ], - [ - [ - 65449, - 65449 - ], - "mapped", - [ - 4357 - ] - ], - [ - [ - 65450, - 65450 - ], - "mapped", - [ - 4528 - ] - ], - [ - [ - 65451, - 65451 - ], - "mapped", - [ - 4529 - ] - ], - [ - [ - 65452, - 65452 - ], - "mapped", - [ - 4530 - ] - ], - [ - [ - 65453, - 65453 - ], - "mapped", - [ - 4531 - ] - ], - [ - [ - 65454, - 65454 - ], - "mapped", - [ - 4532 - ] - ], - [ - [ - 65455, - 65455 - ], - "mapped", - [ - 4533 - ] - ], - [ - [ - 65456, - 65456 - ], - "mapped", - [ - 4378 - ] - ], - [ - [ - 65457, - 65457 - ], - "mapped", - [ - 4358 - ] - ], - [ - [ - 65458, - 65458 - ], - "mapped", - [ - 4359 - ] - ], - [ - [ - 65459, - 65459 - ], - "mapped", - [ - 4360 - ] - ], - [ - [ - 65460, - 65460 - ], - "mapped", - [ - 4385 - ] - ], - [ - [ - 65461, - 65461 - ], - "mapped", - [ - 4361 - ] - ], - [ - [ - 65462, - 65462 - ], - "mapped", - [ - 4362 - ] - ], - [ - [ - 65463, - 65463 - ], - "mapped", - [ - 4363 - ] - ], - [ - [ - 65464, - 65464 - ], - "mapped", - [ - 4364 - ] - ], - [ - [ - 65465, - 65465 - ], - "mapped", - [ - 4365 - ] - ], - [ - [ - 65466, - 65466 - ], - "mapped", - [ - 4366 - ] - ], - [ - [ - 65467, - 65467 - ], - "mapped", - [ - 4367 - ] - ], - [ - [ - 65468, - 65468 - ], - "mapped", - [ - 4368 - ] - ], - [ - [ - 65469, - 65469 - ], - "mapped", - [ - 4369 - ] - ], - [ - [ - 65470, - 65470 - ], - "mapped", - [ - 4370 - ] - ], - [ - [ - 65471, - 65473 - ], - "disallowed" - ], - [ - [ - 65474, - 65474 - ], - "mapped", - [ - 4449 - ] - ], - [ - [ - 65475, - 65475 - ], - "mapped", - [ - 4450 - ] - ], - [ - [ - 65476, - 65476 - ], - "mapped", - [ - 4451 - ] - ], - [ - [ - 65477, - 65477 - ], - "mapped", - [ - 4452 - ] - ], - [ - [ - 65478, - 65478 - ], - "mapped", - [ - 4453 - ] - ], - [ - [ - 65479, - 65479 - ], - "mapped", - [ - 4454 - ] - ], - [ - [ - 65480, - 65481 - ], - "disallowed" - ], - [ - [ - 65482, - 65482 - ], - "mapped", - [ - 4455 - ] - ], - [ - [ - 65483, - 65483 - ], - "mapped", - [ - 4456 - ] - ], - [ - [ - 65484, - 65484 - ], - "mapped", - [ - 4457 - ] - ], - [ - [ - 65485, - 65485 - ], - "mapped", - [ - 4458 - ] - ], - [ - [ - 65486, - 65486 - ], - "mapped", - [ - 4459 - ] - ], - [ - [ - 65487, - 65487 - ], - "mapped", - [ - 4460 - ] - ], - [ - [ - 65488, - 65489 - ], - "disallowed" - ], - [ - [ - 65490, - 65490 - ], - "mapped", - [ - 4461 - ] - ], - [ - [ - 65491, - 65491 - ], - "mapped", - [ - 4462 - ] - ], - [ - [ - 65492, - 65492 - ], - "mapped", - [ - 4463 - ] - ], - [ - [ - 65493, - 65493 - ], - "mapped", - [ - 4464 - ] - ], - [ - [ - 65494, - 65494 - ], - "mapped", - [ - 4465 - ] - ], - [ - [ - 65495, - 65495 - ], - "mapped", - [ - 4466 - ] - ], - [ - [ - 65496, - 65497 - ], - "disallowed" - ], - [ - [ - 65498, - 65498 - ], - "mapped", - [ - 4467 - ] - ], - [ - [ - 65499, - 65499 - ], - "mapped", - [ - 4468 - ] - ], - [ - [ - 65500, - 65500 - ], - "mapped", - [ - 4469 - ] - ], - [ - [ - 65501, - 65503 - ], - "disallowed" - ], - [ - [ - 65504, - 65504 - ], - "mapped", - [ - 162 - ] - ], - [ - [ - 65505, - 65505 - ], - "mapped", - [ - 163 - ] - ], - [ - [ - 65506, - 65506 - ], - "mapped", - [ - 172 - ] - ], - [ - [ - 65507, - 65507 - ], - "disallowed_STD3_mapped", - [ - 32, - 772 - ] - ], - [ - [ - 65508, - 65508 - ], - "mapped", - [ - 166 - ] - ], - [ - [ - 65509, - 65509 - ], - "mapped", - [ - 165 - ] - ], - [ - [ - 65510, - 65510 - ], - "mapped", - [ - 8361 - ] - ], - [ - [ - 65511, - 65511 - ], - "disallowed" - ], - [ - [ - 65512, - 65512 - ], - "mapped", - [ - 9474 - ] - ], - [ - [ - 65513, - 65513 - ], - "mapped", - [ - 8592 - ] - ], - [ - [ - 65514, - 65514 - ], - "mapped", - [ - 8593 - ] - ], - [ - [ - 65515, - 65515 - ], - "mapped", - [ - 8594 - ] - ], - [ - [ - 65516, - 65516 - ], - "mapped", - [ - 8595 - ] - ], - [ - [ - 65517, - 65517 - ], - "mapped", - [ - 9632 - ] - ], - [ - [ - 65518, - 65518 - ], - "mapped", - [ - 9675 - ] - ], - [ - [ - 65519, - 65528 - ], - "disallowed" - ], - [ - [ - 65529, - 65531 - ], - "disallowed" - ], - [ - [ - 65532, - 65532 - ], - "disallowed" - ], - [ - [ - 65533, - 65533 - ], - "disallowed" - ], - [ - [ - 65534, - 65535 - ], - "disallowed" - ], - [ - [ - 65536, - 65547 - ], - "valid" - ], - [ - [ - 65548, - 65548 - ], - "disallowed" - ], - [ - [ - 65549, - 65574 - ], - "valid" - ], - [ - [ - 65575, - 65575 - ], - "disallowed" - ], - [ - [ - 65576, - 65594 - ], - "valid" - ], - [ - [ - 65595, - 65595 - ], - "disallowed" - ], - [ - [ - 65596, - 65597 - ], - "valid" - ], - [ - [ - 65598, - 65598 - ], - "disallowed" - ], - [ - [ - 65599, - 65613 - ], - "valid" - ], - [ - [ - 65614, - 65615 - ], - "disallowed" - ], - [ - [ - 65616, - 65629 - ], - "valid" - ], - [ - [ - 65630, - 65663 - ], - "disallowed" - ], - [ - [ - 65664, - 65786 - ], - "valid" - ], - [ - [ - 65787, - 65791 - ], - "disallowed" - ], - [ - [ - 65792, - 65794 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65795, - 65798 - ], - "disallowed" - ], - [ - [ - 65799, - 65843 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65844, - 65846 - ], - "disallowed" - ], - [ - [ - 65847, - 65855 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65856, - 65930 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65931, - 65932 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65933, - 65935 - ], - "disallowed" - ], - [ - [ - 65936, - 65947 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65948, - 65951 - ], - "disallowed" - ], - [ - [ - 65952, - 65952 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65953, - 65999 - ], - "disallowed" - ], - [ - [ - 66000, - 66044 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66045, - 66045 - ], - "valid" - ], - [ - [ - 66046, - 66175 - ], - "disallowed" - ], - [ - [ - 66176, - 66204 - ], - "valid" - ], - [ - [ - 66205, - 66207 - ], - "disallowed" - ], - [ - [ - 66208, - 66256 - ], - "valid" - ], - [ - [ - 66257, - 66271 - ], - "disallowed" - ], - [ - [ - 66272, - 66272 - ], - "valid" - ], - [ - [ - 66273, - 66299 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66300, - 66303 - ], - "disallowed" - ], - [ - [ - 66304, - 66334 - ], - "valid" - ], - [ - [ - 66335, - 66335 - ], - "valid" - ], - [ - [ - 66336, - 66339 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66340, - 66351 - ], - "disallowed" - ], - [ - [ - 66352, - 66368 - ], - "valid" - ], - [ - [ - 66369, - 66369 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66370, - 66377 - ], - "valid" - ], - [ - [ - 66378, - 66378 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66379, - 66383 - ], - "disallowed" - ], - [ - [ - 66384, - 66426 - ], - "valid" - ], - [ - [ - 66427, - 66431 - ], - "disallowed" - ], - [ - [ - 66432, - 66461 - ], - "valid" - ], - [ - [ - 66462, - 66462 - ], - "disallowed" - ], - [ - [ - 66463, - 66463 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66464, - 66499 - ], - "valid" - ], - [ - [ - 66500, - 66503 - ], - "disallowed" - ], - [ - [ - 66504, - 66511 - ], - "valid" - ], - [ - [ - 66512, - 66517 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66518, - 66559 - ], - "disallowed" - ], - [ - [ - 66560, - 66560 - ], - "mapped", - [ - 66600 - ] - ], - [ - [ - 66561, - 66561 - ], - "mapped", - [ - 66601 - ] - ], - [ - [ - 66562, - 66562 - ], - "mapped", - [ - 66602 - ] - ], - [ - [ - 66563, - 66563 - ], - "mapped", - [ - 66603 - ] - ], - [ - [ - 66564, - 66564 - ], - "mapped", - [ - 66604 - ] - ], - [ - [ - 66565, - 66565 - ], - "mapped", - [ - 66605 - ] - ], - [ - [ - 66566, - 66566 - ], - "mapped", - [ - 66606 - ] - ], - [ - [ - 66567, - 66567 - ], - "mapped", - [ - 66607 - ] - ], - [ - [ - 66568, - 66568 - ], - "mapped", - [ - 66608 - ] - ], - [ - [ - 66569, - 66569 - ], - "mapped", - [ - 66609 - ] - ], - [ - [ - 66570, - 66570 - ], - "mapped", - [ - 66610 - ] - ], - [ - [ - 66571, - 66571 - ], - "mapped", - [ - 66611 - ] - ], - [ - [ - 66572, - 66572 - ], - "mapped", - [ - 66612 - ] - ], - [ - [ - 66573, - 66573 - ], - "mapped", - [ - 66613 - ] - ], - [ - [ - 66574, - 66574 - ], - "mapped", - [ - 66614 - ] - ], - [ - [ - 66575, - 66575 - ], - "mapped", - [ - 66615 - ] - ], - [ - [ - 66576, - 66576 - ], - "mapped", - [ - 66616 - ] - ], - [ - [ - 66577, - 66577 - ], - "mapped", - [ - 66617 - ] - ], - [ - [ - 66578, - 66578 - ], - "mapped", - [ - 66618 - ] - ], - [ - [ - 66579, - 66579 - ], - "mapped", - [ - 66619 - ] - ], - [ - [ - 66580, - 66580 - ], - "mapped", - [ - 66620 - ] - ], - [ - [ - 66581, - 66581 - ], - "mapped", - [ - 66621 - ] - ], - [ - [ - 66582, - 66582 - ], - "mapped", - [ - 66622 - ] - ], - [ - [ - 66583, - 66583 - ], - "mapped", - [ - 66623 - ] - ], - [ - [ - 66584, - 66584 - ], - "mapped", - [ - 66624 - ] - ], - [ - [ - 66585, - 66585 - ], - "mapped", - [ - 66625 - ] - ], - [ - [ - 66586, - 66586 - ], - "mapped", - [ - 66626 - ] - ], - [ - [ - 66587, - 66587 - ], - "mapped", - [ - 66627 - ] - ], - [ - [ - 66588, - 66588 - ], - "mapped", - [ - 66628 - ] - ], - [ - [ - 66589, - 66589 - ], - "mapped", - [ - 66629 - ] - ], - [ - [ - 66590, - 66590 - ], - "mapped", - [ - 66630 - ] - ], - [ - [ - 66591, - 66591 - ], - "mapped", - [ - 66631 - ] - ], - [ - [ - 66592, - 66592 - ], - "mapped", - [ - 66632 - ] - ], - [ - [ - 66593, - 66593 - ], - "mapped", - [ - 66633 - ] - ], - [ - [ - 66594, - 66594 - ], - "mapped", - [ - 66634 - ] - ], - [ - [ - 66595, - 66595 - ], - "mapped", - [ - 66635 - ] - ], - [ - [ - 66596, - 66596 - ], - "mapped", - [ - 66636 - ] - ], - [ - [ - 66597, - 66597 - ], - "mapped", - [ - 66637 - ] - ], - [ - [ - 66598, - 66598 - ], - "mapped", - [ - 66638 - ] - ], - [ - [ - 66599, - 66599 - ], - "mapped", - [ - 66639 - ] - ], - [ - [ - 66600, - 66637 - ], - "valid" - ], - [ - [ - 66638, - 66717 - ], - "valid" - ], - [ - [ - 66718, - 66719 - ], - "disallowed" - ], - [ - [ - 66720, - 66729 - ], - "valid" - ], - [ - [ - 66730, - 66815 - ], - "disallowed" - ], - [ - [ - 66816, - 66855 - ], - "valid" - ], - [ - [ - 66856, - 66863 - ], - "disallowed" - ], - [ - [ - 66864, - 66915 - ], - "valid" - ], - [ - [ - 66916, - 66926 - ], - "disallowed" - ], - [ - [ - 66927, - 66927 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66928, - 67071 - ], - "disallowed" - ], - [ - [ - 67072, - 67382 - ], - "valid" - ], - [ - [ - 67383, - 67391 - ], - "disallowed" - ], - [ - [ - 67392, - 67413 - ], - "valid" - ], - [ - [ - 67414, - 67423 - ], - "disallowed" - ], - [ - [ - 67424, - 67431 - ], - "valid" - ], - [ - [ - 67432, - 67583 - ], - "disallowed" - ], - [ - [ - 67584, - 67589 - ], - "valid" - ], - [ - [ - 67590, - 67591 - ], - "disallowed" - ], - [ - [ - 67592, - 67592 - ], - "valid" - ], - [ - [ - 67593, - 67593 - ], - "disallowed" - ], - [ - [ - 67594, - 67637 - ], - "valid" - ], - [ - [ - 67638, - 67638 - ], - "disallowed" - ], - [ - [ - 67639, - 67640 - ], - "valid" - ], - [ - [ - 67641, - 67643 - ], - "disallowed" - ], - [ - [ - 67644, - 67644 - ], - "valid" - ], - [ - [ - 67645, - 67646 - ], - "disallowed" - ], - [ - [ - 67647, - 67647 - ], - "valid" - ], - [ - [ - 67648, - 67669 - ], - "valid" - ], - [ - [ - 67670, - 67670 - ], - "disallowed" - ], - [ - [ - 67671, - 67679 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67680, - 67702 - ], - "valid" - ], - [ - [ - 67703, - 67711 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67712, - 67742 - ], - "valid" - ], - [ - [ - 67743, - 67750 - ], - "disallowed" - ], - [ - [ - 67751, - 67759 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67760, - 67807 - ], - "disallowed" - ], - [ - [ - 67808, - 67826 - ], - "valid" - ], - [ - [ - 67827, - 67827 - ], - "disallowed" - ], - [ - [ - 67828, - 67829 - ], - "valid" - ], - [ - [ - 67830, - 67834 - ], - "disallowed" - ], - [ - [ - 67835, - 67839 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67840, - 67861 - ], - "valid" - ], - [ - [ - 67862, - 67865 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67866, - 67867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67868, - 67870 - ], - "disallowed" - ], - [ - [ - 67871, - 67871 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67872, - 67897 - ], - "valid" - ], - [ - [ - 67898, - 67902 - ], - "disallowed" - ], - [ - [ - 67903, - 67903 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67904, - 67967 - ], - "disallowed" - ], - [ - [ - 67968, - 68023 - ], - "valid" - ], - [ - [ - 68024, - 68027 - ], - "disallowed" - ], - [ - [ - 68028, - 68029 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68030, - 68031 - ], - "valid" - ], - [ - [ - 68032, - 68047 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68048, - 68049 - ], - "disallowed" - ], - [ - [ - 68050, - 68095 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68096, - 68099 - ], - "valid" - ], - [ - [ - 68100, - 68100 - ], - "disallowed" - ], - [ - [ - 68101, - 68102 - ], - "valid" - ], - [ - [ - 68103, - 68107 - ], - "disallowed" - ], - [ - [ - 68108, - 68115 - ], - "valid" - ], - [ - [ - 68116, - 68116 - ], - "disallowed" - ], - [ - [ - 68117, - 68119 - ], - "valid" - ], - [ - [ - 68120, - 68120 - ], - "disallowed" - ], - [ - [ - 68121, - 68147 - ], - "valid" - ], - [ - [ - 68148, - 68151 - ], - "disallowed" - ], - [ - [ - 68152, - 68154 - ], - "valid" - ], - [ - [ - 68155, - 68158 - ], - "disallowed" - ], - [ - [ - 68159, - 68159 - ], - "valid" - ], - [ - [ - 68160, - 68167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68168, - 68175 - ], - "disallowed" - ], - [ - [ - 68176, - 68184 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68185, - 68191 - ], - "disallowed" - ], - [ - [ - 68192, - 68220 - ], - "valid" - ], - [ - [ - 68221, - 68223 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68224, - 68252 - ], - "valid" - ], - [ - [ - 68253, - 68255 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68256, - 68287 - ], - "disallowed" - ], - [ - [ - 68288, - 68295 - ], - "valid" - ], - [ - [ - 68296, - 68296 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68297, - 68326 - ], - "valid" - ], - [ - [ - 68327, - 68330 - ], - "disallowed" - ], - [ - [ - 68331, - 68342 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68343, - 68351 - ], - "disallowed" - ], - [ - [ - 68352, - 68405 - ], - "valid" - ], - [ - [ - 68406, - 68408 - ], - "disallowed" - ], - [ - [ - 68409, - 68415 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68416, - 68437 - ], - "valid" - ], - [ - [ - 68438, - 68439 - ], - "disallowed" - ], - [ - [ - 68440, - 68447 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68448, - 68466 - ], - "valid" - ], - [ - [ - 68467, - 68471 - ], - "disallowed" - ], - [ - [ - 68472, - 68479 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68480, - 68497 - ], - "valid" - ], - [ - [ - 68498, - 68504 - ], - "disallowed" - ], - [ - [ - 68505, - 68508 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68509, - 68520 - ], - "disallowed" - ], - [ - [ - 68521, - 68527 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68528, - 68607 - ], - "disallowed" - ], - [ - [ - 68608, - 68680 - ], - "valid" - ], - [ - [ - 68681, - 68735 - ], - "disallowed" - ], - [ - [ - 68736, - 68736 - ], - "mapped", - [ - 68800 - ] - ], - [ - [ - 68737, - 68737 - ], - "mapped", - [ - 68801 - ] - ], - [ - [ - 68738, - 68738 - ], - "mapped", - [ - 68802 - ] - ], - [ - [ - 68739, - 68739 - ], - "mapped", - [ - 68803 - ] - ], - [ - [ - 68740, - 68740 - ], - "mapped", - [ - 68804 - ] - ], - [ - [ - 68741, - 68741 - ], - "mapped", - [ - 68805 - ] - ], - [ - [ - 68742, - 68742 - ], - "mapped", - [ - 68806 - ] - ], - [ - [ - 68743, - 68743 - ], - "mapped", - [ - 68807 - ] - ], - [ - [ - 68744, - 68744 - ], - "mapped", - [ - 68808 - ] - ], - [ - [ - 68745, - 68745 - ], - "mapped", - [ - 68809 - ] - ], - [ - [ - 68746, - 68746 - ], - "mapped", - [ - 68810 - ] - ], - [ - [ - 68747, - 68747 - ], - "mapped", - [ - 68811 - ] - ], - [ - [ - 68748, - 68748 - ], - "mapped", - [ - 68812 - ] - ], - [ - [ - 68749, - 68749 - ], - "mapped", - [ - 68813 - ] - ], - [ - [ - 68750, - 68750 - ], - "mapped", - [ - 68814 - ] - ], - [ - [ - 68751, - 68751 - ], - "mapped", - [ - 68815 - ] - ], - [ - [ - 68752, - 68752 - ], - "mapped", - [ - 68816 - ] - ], - [ - [ - 68753, - 68753 - ], - "mapped", - [ - 68817 - ] - ], - [ - [ - 68754, - 68754 - ], - "mapped", - [ - 68818 - ] - ], - [ - [ - 68755, - 68755 - ], - "mapped", - [ - 68819 - ] - ], - [ - [ - 68756, - 68756 - ], - "mapped", - [ - 68820 - ] - ], - [ - [ - 68757, - 68757 - ], - "mapped", - [ - 68821 - ] - ], - [ - [ - 68758, - 68758 - ], - "mapped", - [ - 68822 - ] - ], - [ - [ - 68759, - 68759 - ], - "mapped", - [ - 68823 - ] - ], - [ - [ - 68760, - 68760 - ], - "mapped", - [ - 68824 - ] - ], - [ - [ - 68761, - 68761 - ], - "mapped", - [ - 68825 - ] - ], - [ - [ - 68762, - 68762 - ], - "mapped", - [ - 68826 - ] - ], - [ - [ - 68763, - 68763 - ], - "mapped", - [ - 68827 - ] - ], - [ - [ - 68764, - 68764 - ], - "mapped", - [ - 68828 - ] - ], - [ - [ - 68765, - 68765 - ], - "mapped", - [ - 68829 - ] - ], - [ - [ - 68766, - 68766 - ], - "mapped", - [ - 68830 - ] - ], - [ - [ - 68767, - 68767 - ], - "mapped", - [ - 68831 - ] - ], - [ - [ - 68768, - 68768 - ], - "mapped", - [ - 68832 - ] - ], - [ - [ - 68769, - 68769 - ], - "mapped", - [ - 68833 - ] - ], - [ - [ - 68770, - 68770 - ], - "mapped", - [ - 68834 - ] - ], - [ - [ - 68771, - 68771 - ], - "mapped", - [ - 68835 - ] - ], - [ - [ - 68772, - 68772 - ], - "mapped", - [ - 68836 - ] - ], - [ - [ - 68773, - 68773 - ], - "mapped", - [ - 68837 - ] - ], - [ - [ - 68774, - 68774 - ], - "mapped", - [ - 68838 - ] - ], - [ - [ - 68775, - 68775 - ], - "mapped", - [ - 68839 - ] - ], - [ - [ - 68776, - 68776 - ], - "mapped", - [ - 68840 - ] - ], - [ - [ - 68777, - 68777 - ], - "mapped", - [ - 68841 - ] - ], - [ - [ - 68778, - 68778 - ], - "mapped", - [ - 68842 - ] - ], - [ - [ - 68779, - 68779 - ], - "mapped", - [ - 68843 - ] - ], - [ - [ - 68780, - 68780 - ], - "mapped", - [ - 68844 - ] - ], - [ - [ - 68781, - 68781 - ], - "mapped", - [ - 68845 - ] - ], - [ - [ - 68782, - 68782 - ], - "mapped", - [ - 68846 - ] - ], - [ - [ - 68783, - 68783 - ], - "mapped", - [ - 68847 - ] - ], - [ - [ - 68784, - 68784 - ], - "mapped", - [ - 68848 - ] - ], - [ - [ - 68785, - 68785 - ], - "mapped", - [ - 68849 - ] - ], - [ - [ - 68786, - 68786 - ], - "mapped", - [ - 68850 - ] - ], - [ - [ - 68787, - 68799 - ], - "disallowed" - ], - [ - [ - 68800, - 68850 - ], - "valid" - ], - [ - [ - 68851, - 68857 - ], - "disallowed" - ], - [ - [ - 68858, - 68863 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68864, - 69215 - ], - "disallowed" - ], - [ - [ - 69216, - 69246 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69247, - 69631 - ], - "disallowed" - ], - [ - [ - 69632, - 69702 - ], - "valid" - ], - [ - [ - 69703, - 69709 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69710, - 69713 - ], - "disallowed" - ], - [ - [ - 69714, - 69733 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69734, - 69743 - ], - "valid" - ], - [ - [ - 69744, - 69758 - ], - "disallowed" - ], - [ - [ - 69759, - 69759 - ], - "valid" - ], - [ - [ - 69760, - 69818 - ], - "valid" - ], - [ - [ - 69819, - 69820 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69821, - 69821 - ], - "disallowed" - ], - [ - [ - 69822, - 69825 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69826, - 69839 - ], - "disallowed" - ], - [ - [ - 69840, - 69864 - ], - "valid" - ], - [ - [ - 69865, - 69871 - ], - "disallowed" - ], - [ - [ - 69872, - 69881 - ], - "valid" - ], - [ - [ - 69882, - 69887 - ], - "disallowed" - ], - [ - [ - 69888, - 69940 - ], - "valid" - ], - [ - [ - 69941, - 69941 - ], - "disallowed" - ], - [ - [ - 69942, - 69951 - ], - "valid" - ], - [ - [ - 69952, - 69955 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69956, - 69967 - ], - "disallowed" - ], - [ - [ - 69968, - 70003 - ], - "valid" - ], - [ - [ - 70004, - 70005 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70006, - 70006 - ], - "valid" - ], - [ - [ - 70007, - 70015 - ], - "disallowed" - ], - [ - [ - 70016, - 70084 - ], - "valid" - ], - [ - [ - 70085, - 70088 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70089, - 70089 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70090, - 70092 - ], - "valid" - ], - [ - [ - 70093, - 70093 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70094, - 70095 - ], - "disallowed" - ], - [ - [ - 70096, - 70105 - ], - "valid" - ], - [ - [ - 70106, - 70106 - ], - "valid" - ], - [ - [ - 70107, - 70107 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70108, - 70108 - ], - "valid" - ], - [ - [ - 70109, - 70111 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70112, - 70112 - ], - "disallowed" - ], - [ - [ - 70113, - 70132 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70133, - 70143 - ], - "disallowed" - ], - [ - [ - 70144, - 70161 - ], - "valid" - ], - [ - [ - 70162, - 70162 - ], - "disallowed" - ], - [ - [ - 70163, - 70199 - ], - "valid" - ], - [ - [ - 70200, - 70205 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70206, - 70271 - ], - "disallowed" - ], - [ - [ - 70272, - 70278 - ], - "valid" - ], - [ - [ - 70279, - 70279 - ], - "disallowed" - ], - [ - [ - 70280, - 70280 - ], - "valid" - ], - [ - [ - 70281, - 70281 - ], - "disallowed" - ], - [ - [ - 70282, - 70285 - ], - "valid" - ], - [ - [ - 70286, - 70286 - ], - "disallowed" - ], - [ - [ - 70287, - 70301 - ], - "valid" - ], - [ - [ - 70302, - 70302 - ], - "disallowed" - ], - [ - [ - 70303, - 70312 - ], - "valid" - ], - [ - [ - 70313, - 70313 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70314, - 70319 - ], - "disallowed" - ], - [ - [ - 70320, - 70378 - ], - "valid" - ], - [ - [ - 70379, - 70383 - ], - "disallowed" - ], - [ - [ - 70384, - 70393 - ], - "valid" - ], - [ - [ - 70394, - 70399 - ], - "disallowed" - ], - [ - [ - 70400, - 70400 - ], - "valid" - ], - [ - [ - 70401, - 70403 - ], - "valid" - ], - [ - [ - 70404, - 70404 - ], - "disallowed" - ], - [ - [ - 70405, - 70412 - ], - "valid" - ], - [ - [ - 70413, - 70414 - ], - "disallowed" - ], - [ - [ - 70415, - 70416 - ], - "valid" - ], - [ - [ - 70417, - 70418 - ], - "disallowed" - ], - [ - [ - 70419, - 70440 - ], - "valid" - ], - [ - [ - 70441, - 70441 - ], - "disallowed" - ], - [ - [ - 70442, - 70448 - ], - "valid" - ], - [ - [ - 70449, - 70449 - ], - "disallowed" - ], - [ - [ - 70450, - 70451 - ], - "valid" - ], - [ - [ - 70452, - 70452 - ], - "disallowed" - ], - [ - [ - 70453, - 70457 - ], - "valid" - ], - [ - [ - 70458, - 70459 - ], - "disallowed" - ], - [ - [ - 70460, - 70468 - ], - "valid" - ], - [ - [ - 70469, - 70470 - ], - "disallowed" - ], - [ - [ - 70471, - 70472 - ], - "valid" - ], - [ - [ - 70473, - 70474 - ], - "disallowed" - ], - [ - [ - 70475, - 70477 - ], - "valid" - ], - [ - [ - 70478, - 70479 - ], - "disallowed" - ], - [ - [ - 70480, - 70480 - ], - "valid" - ], - [ - [ - 70481, - 70486 - ], - "disallowed" - ], - [ - [ - 70487, - 70487 - ], - "valid" - ], - [ - [ - 70488, - 70492 - ], - "disallowed" - ], - [ - [ - 70493, - 70499 - ], - "valid" - ], - [ - [ - 70500, - 70501 - ], - "disallowed" - ], - [ - [ - 70502, - 70508 - ], - "valid" - ], - [ - [ - 70509, - 70511 - ], - "disallowed" - ], - [ - [ - 70512, - 70516 - ], - "valid" - ], - [ - [ - 70517, - 70783 - ], - "disallowed" - ], - [ - [ - 70784, - 70853 - ], - "valid" - ], - [ - [ - 70854, - 70854 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70855, - 70855 - ], - "valid" - ], - [ - [ - 70856, - 70863 - ], - "disallowed" - ], - [ - [ - 70864, - 70873 - ], - "valid" - ], - [ - [ - 70874, - 71039 - ], - "disallowed" - ], - [ - [ - 71040, - 71093 - ], - "valid" - ], - [ - [ - 71094, - 71095 - ], - "disallowed" - ], - [ - [ - 71096, - 71104 - ], - "valid" - ], - [ - [ - 71105, - 71113 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71114, - 71127 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71128, - 71133 - ], - "valid" - ], - [ - [ - 71134, - 71167 - ], - "disallowed" - ], - [ - [ - 71168, - 71232 - ], - "valid" - ], - [ - [ - 71233, - 71235 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71236, - 71236 - ], - "valid" - ], - [ - [ - 71237, - 71247 - ], - "disallowed" - ], - [ - [ - 71248, - 71257 - ], - "valid" - ], - [ - [ - 71258, - 71295 - ], - "disallowed" - ], - [ - [ - 71296, - 71351 - ], - "valid" - ], - [ - [ - 71352, - 71359 - ], - "disallowed" - ], - [ - [ - 71360, - 71369 - ], - "valid" - ], - [ - [ - 71370, - 71423 - ], - "disallowed" - ], - [ - [ - 71424, - 71449 - ], - "valid" - ], - [ - [ - 71450, - 71452 - ], - "disallowed" - ], - [ - [ - 71453, - 71467 - ], - "valid" - ], - [ - [ - 71468, - 71471 - ], - "disallowed" - ], - [ - [ - 71472, - 71481 - ], - "valid" - ], - [ - [ - 71482, - 71487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71488, - 71839 - ], - "disallowed" - ], - [ - [ - 71840, - 71840 - ], - "mapped", - [ - 71872 - ] - ], - [ - [ - 71841, - 71841 - ], - "mapped", - [ - 71873 - ] - ], - [ - [ - 71842, - 71842 - ], - "mapped", - [ - 71874 - ] - ], - [ - [ - 71843, - 71843 - ], - "mapped", - [ - 71875 - ] - ], - [ - [ - 71844, - 71844 - ], - "mapped", - [ - 71876 - ] - ], - [ - [ - 71845, - 71845 - ], - "mapped", - [ - 71877 - ] - ], - [ - [ - 71846, - 71846 - ], - "mapped", - [ - 71878 - ] - ], - [ - [ - 71847, - 71847 - ], - "mapped", - [ - 71879 - ] - ], - [ - [ - 71848, - 71848 - ], - "mapped", - [ - 71880 - ] - ], - [ - [ - 71849, - 71849 - ], - "mapped", - [ - 71881 - ] - ], - [ - [ - 71850, - 71850 - ], - "mapped", - [ - 71882 - ] - ], - [ - [ - 71851, - 71851 - ], - "mapped", - [ - 71883 - ] - ], - [ - [ - 71852, - 71852 - ], - "mapped", - [ - 71884 - ] - ], - [ - [ - 71853, - 71853 - ], - "mapped", - [ - 71885 - ] - ], - [ - [ - 71854, - 71854 - ], - "mapped", - [ - 71886 - ] - ], - [ - [ - 71855, - 71855 - ], - "mapped", - [ - 71887 - ] - ], - [ - [ - 71856, - 71856 - ], - "mapped", - [ - 71888 - ] - ], - [ - [ - 71857, - 71857 - ], - "mapped", - [ - 71889 - ] - ], - [ - [ - 71858, - 71858 - ], - "mapped", - [ - 71890 - ] - ], - [ - [ - 71859, - 71859 - ], - "mapped", - [ - 71891 - ] - ], - [ - [ - 71860, - 71860 - ], - "mapped", - [ - 71892 - ] - ], - [ - [ - 71861, - 71861 - ], - "mapped", - [ - 71893 - ] - ], - [ - [ - 71862, - 71862 - ], - "mapped", - [ - 71894 - ] - ], - [ - [ - 71863, - 71863 - ], - "mapped", - [ - 71895 - ] - ], - [ - [ - 71864, - 71864 - ], - "mapped", - [ - 71896 - ] - ], - [ - [ - 71865, - 71865 - ], - "mapped", - [ - 71897 - ] - ], - [ - [ - 71866, - 71866 - ], - "mapped", - [ - 71898 - ] - ], - [ - [ - 71867, - 71867 - ], - "mapped", - [ - 71899 - ] - ], - [ - [ - 71868, - 71868 - ], - "mapped", - [ - 71900 - ] - ], - [ - [ - 71869, - 71869 - ], - "mapped", - [ - 71901 - ] - ], - [ - [ - 71870, - 71870 - ], - "mapped", - [ - 71902 - ] - ], - [ - [ - 71871, - 71871 - ], - "mapped", - [ - 71903 - ] - ], - [ - [ - 71872, - 71913 - ], - "valid" - ], - [ - [ - 71914, - 71922 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71923, - 71934 - ], - "disallowed" - ], - [ - [ - 71935, - 71935 - ], - "valid" - ], - [ - [ - 71936, - 72383 - ], - "disallowed" - ], - [ - [ - 72384, - 72440 - ], - "valid" - ], - [ - [ - 72441, - 73727 - ], - "disallowed" - ], - [ - [ - 73728, - 74606 - ], - "valid" - ], - [ - [ - 74607, - 74648 - ], - "valid" - ], - [ - [ - 74649, - 74649 - ], - "valid" - ], - [ - [ - 74650, - 74751 - ], - "disallowed" - ], - [ - [ - 74752, - 74850 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74851, - 74862 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74863, - 74863 - ], - "disallowed" - ], - [ - [ - 74864, - 74867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74868, - 74868 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74869, - 74879 - ], - "disallowed" - ], - [ - [ - 74880, - 75075 - ], - "valid" - ], - [ - [ - 75076, - 77823 - ], - "disallowed" - ], - [ - [ - 77824, - 78894 - ], - "valid" - ], - [ - [ - 78895, - 82943 - ], - "disallowed" - ], - [ - [ - 82944, - 83526 - ], - "valid" - ], - [ - [ - 83527, - 92159 - ], - "disallowed" - ], - [ - [ - 92160, - 92728 - ], - "valid" - ], - [ - [ - 92729, - 92735 - ], - "disallowed" - ], - [ - [ - 92736, - 92766 - ], - "valid" - ], - [ - [ - 92767, - 92767 - ], - "disallowed" - ], - [ - [ - 92768, - 92777 - ], - "valid" - ], - [ - [ - 92778, - 92781 - ], - "disallowed" - ], - [ - [ - 92782, - 92783 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92784, - 92879 - ], - "disallowed" - ], - [ - [ - 92880, - 92909 - ], - "valid" - ], - [ - [ - 92910, - 92911 - ], - "disallowed" - ], - [ - [ - 92912, - 92916 - ], - "valid" - ], - [ - [ - 92917, - 92917 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92918, - 92927 - ], - "disallowed" - ], - [ - [ - 92928, - 92982 - ], - "valid" - ], - [ - [ - 92983, - 92991 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92992, - 92995 - ], - "valid" - ], - [ - [ - 92996, - 92997 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92998, - 93007 - ], - "disallowed" - ], - [ - [ - 93008, - 93017 - ], - "valid" - ], - [ - [ - 93018, - 93018 - ], - "disallowed" - ], - [ - [ - 93019, - 93025 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 93026, - 93026 - ], - "disallowed" - ], - [ - [ - 93027, - 93047 - ], - "valid" - ], - [ - [ - 93048, - 93052 - ], - "disallowed" - ], - [ - [ - 93053, - 93071 - ], - "valid" - ], - [ - [ - 93072, - 93951 - ], - "disallowed" - ], - [ - [ - 93952, - 94020 - ], - "valid" - ], - [ - [ - 94021, - 94031 - ], - "disallowed" - ], - [ - [ - 94032, - 94078 - ], - "valid" - ], - [ - [ - 94079, - 94094 - ], - "disallowed" - ], - [ - [ - 94095, - 94111 - ], - "valid" - ], - [ - [ - 94112, - 110591 - ], - "disallowed" - ], - [ - [ - 110592, - 110593 - ], - "valid" - ], - [ - [ - 110594, - 113663 - ], - "disallowed" - ], - [ - [ - 113664, - 113770 - ], - "valid" - ], - [ - [ - 113771, - 113775 - ], - "disallowed" - ], - [ - [ - 113776, - 113788 - ], - "valid" - ], - [ - [ - 113789, - 113791 - ], - "disallowed" - ], - [ - [ - 113792, - 113800 - ], - "valid" - ], - [ - [ - 113801, - 113807 - ], - "disallowed" - ], - [ - [ - 113808, - 113817 - ], - "valid" - ], - [ - [ - 113818, - 113819 - ], - "disallowed" - ], - [ - [ - 113820, - 113820 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 113821, - 113822 - ], - "valid" - ], - [ - [ - 113823, - 113823 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 113824, - 113827 - ], - "ignored" - ], - [ - [ - 113828, - 118783 - ], - "disallowed" - ], - [ - [ - 118784, - 119029 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119030, - 119039 - ], - "disallowed" - ], - [ - [ - 119040, - 119078 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119079, - 119080 - ], - "disallowed" - ], - [ - [ - 119081, - 119081 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119082, - 119133 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119134, - 119134 - ], - "mapped", - [ - 119127, - 119141 - ] - ], - [ - [ - 119135, - 119135 - ], - "mapped", - [ - 119128, - 119141 - ] - ], - [ - [ - 119136, - 119136 - ], - "mapped", - [ - 119128, - 119141, - 119150 - ] - ], - [ - [ - 119137, - 119137 - ], - "mapped", - [ - 119128, - 119141, - 119151 - ] - ], - [ - [ - 119138, - 119138 - ], - "mapped", - [ - 119128, - 119141, - 119152 - ] - ], - [ - [ - 119139, - 119139 - ], - "mapped", - [ - 119128, - 119141, - 119153 - ] - ], - [ - [ - 119140, - 119140 - ], - "mapped", - [ - 119128, - 119141, - 119154 - ] - ], - [ - [ - 119141, - 119154 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119155, - 119162 - ], - "disallowed" - ], - [ - [ - 119163, - 119226 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119227, - 119227 - ], - "mapped", - [ - 119225, - 119141 - ] - ], - [ - [ - 119228, - 119228 - ], - "mapped", - [ - 119226, - 119141 - ] - ], - [ - [ - 119229, - 119229 - ], - "mapped", - [ - 119225, - 119141, - 119150 - ] - ], - [ - [ - 119230, - 119230 - ], - "mapped", - [ - 119226, - 119141, - 119150 - ] - ], - [ - [ - 119231, - 119231 - ], - "mapped", - [ - 119225, - 119141, - 119151 - ] - ], - [ - [ - 119232, - 119232 - ], - "mapped", - [ - 119226, - 119141, - 119151 - ] - ], - [ - [ - 119233, - 119261 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119262, - 119272 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119273, - 119295 - ], - "disallowed" - ], - [ - [ - 119296, - 119365 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119366, - 119551 - ], - "disallowed" - ], - [ - [ - 119552, - 119638 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119639, - 119647 - ], - "disallowed" - ], - [ - [ - 119648, - 119665 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119666, - 119807 - ], - "disallowed" - ], - [ - [ - 119808, - 119808 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119809, - 119809 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119810, - 119810 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119811, - 119811 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119812, - 119812 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119813, - 119813 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119814, - 119814 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119815, - 119815 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119816, - 119816 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119817, - 119817 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119818, - 119818 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119819, - 119819 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119820, - 119820 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119821, - 119821 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119822, - 119822 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119823, - 119823 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119824, - 119824 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119825, - 119825 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119826, - 119826 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119827, - 119827 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119828, - 119828 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119829, - 119829 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119830, - 119830 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119831, - 119831 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119832, - 119832 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119833, - 119833 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119834, - 119834 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119835, - 119835 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119836, - 119836 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119837, - 119837 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119838, - 119838 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119839, - 119839 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119840, - 119840 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119841, - 119841 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119842, - 119842 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119843, - 119843 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119844, - 119844 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119845, - 119845 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119846, - 119846 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119847, - 119847 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119848, - 119848 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119849, - 119849 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119850, - 119850 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119851, - 119851 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119852, - 119852 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119853, - 119853 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119854, - 119854 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119855, - 119855 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119856, - 119856 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119857, - 119857 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119858, - 119858 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119859, - 119859 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119860, - 119860 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119861, - 119861 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119862, - 119862 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119863, - 119863 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119864, - 119864 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119865, - 119865 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119866, - 119866 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119867, - 119867 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119868, - 119868 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119869, - 119869 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119870, - 119870 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119871, - 119871 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119872, - 119872 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119873, - 119873 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119874, - 119874 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119875, - 119875 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119876, - 119876 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119877, - 119877 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119878, - 119878 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119879, - 119879 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119880, - 119880 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119881, - 119881 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119882, - 119882 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119883, - 119883 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119884, - 119884 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119885, - 119885 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119886, - 119886 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119887, - 119887 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119888, - 119888 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119889, - 119889 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119890, - 119890 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119891, - 119891 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119892, - 119892 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119893, - 119893 - ], - "disallowed" - ], - [ - [ - 119894, - 119894 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119895, - 119895 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119896, - 119896 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119897, - 119897 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119898, - 119898 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119899, - 119899 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119900, - 119900 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119901, - 119901 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119902, - 119902 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119903, - 119903 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119904, - 119904 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119905, - 119905 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119906, - 119906 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119907, - 119907 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119908, - 119908 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119909, - 119909 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119910, - 119910 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119911, - 119911 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119912, - 119912 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119913, - 119913 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119914, - 119914 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119915, - 119915 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119916, - 119916 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119917, - 119917 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119918, - 119918 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119919, - 119919 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119920, - 119920 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119921, - 119921 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119922, - 119922 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119923, - 119923 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119924, - 119924 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119925, - 119925 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119926, - 119926 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119927, - 119927 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119928, - 119928 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119929, - 119929 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119930, - 119930 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119931, - 119931 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119932, - 119932 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119933, - 119933 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119934, - 119934 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119935, - 119935 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119936, - 119936 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119937, - 119937 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119938, - 119938 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119939, - 119939 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119940, - 119940 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119941, - 119941 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119942, - 119942 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119943, - 119943 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119944, - 119944 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119945, - 119945 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119946, - 119946 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119947, - 119947 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119948, - 119948 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119949, - 119949 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119950, - 119950 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119951, - 119951 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119952, - 119952 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119953, - 119953 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119954, - 119954 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119955, - 119955 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119956, - 119956 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119957, - 119957 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119958, - 119958 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119959, - 119959 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119960, - 119960 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119961, - 119961 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119962, - 119962 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119963, - 119963 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119964, - 119964 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119965, - 119965 - ], - "disallowed" - ], - [ - [ - 119966, - 119966 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119967, - 119967 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119968, - 119969 - ], - "disallowed" - ], - [ - [ - 119970, - 119970 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119971, - 119972 - ], - "disallowed" - ], - [ - [ - 119973, - 119973 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119974, - 119974 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119975, - 119976 - ], - "disallowed" - ], - [ - [ - 119977, - 119977 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119978, - 119978 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119979, - 119979 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119980, - 119980 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119981, - 119981 - ], - "disallowed" - ], - [ - [ - 119982, - 119982 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119983, - 119983 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119984, - 119984 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119985, - 119985 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119986, - 119986 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119987, - 119987 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119988, - 119988 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119989, - 119989 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119990, - 119990 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119991, - 119991 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119992, - 119992 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119993, - 119993 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119994, - 119994 - ], - "disallowed" - ], - [ - [ - 119995, - 119995 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119996, - 119996 - ], - "disallowed" - ], - [ - [ - 119997, - 119997 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119998, - 119998 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119999, - 119999 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120000, - 120000 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120001, - 120001 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120002, - 120002 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120003, - 120003 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120004, - 120004 - ], - "disallowed" - ], - [ - [ - 120005, - 120005 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120006, - 120006 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120007, - 120007 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120008, - 120008 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120009, - 120009 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120010, - 120010 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120011, - 120011 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120012, - 120012 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120013, - 120013 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120014, - 120014 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120015, - 120015 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120016, - 120016 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120017, - 120017 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120018, - 120018 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120019, - 120019 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120020, - 120020 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120021, - 120021 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120022, - 120022 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120023, - 120023 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120024, - 120024 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120025, - 120025 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120026, - 120026 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120027, - 120027 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120028, - 120028 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120029, - 120029 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120030, - 120030 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120031, - 120031 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120032, - 120032 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120033, - 120033 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120034, - 120034 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120035, - 120035 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120036, - 120036 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120037, - 120037 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120038, - 120038 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120039, - 120039 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120040, - 120040 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120041, - 120041 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120042, - 120042 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120043, - 120043 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120044, - 120044 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120045, - 120045 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120046, - 120046 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120047, - 120047 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120048, - 120048 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120049, - 120049 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120050, - 120050 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120051, - 120051 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120052, - 120052 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120053, - 120053 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120054, - 120054 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120055, - 120055 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120056, - 120056 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120057, - 120057 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120058, - 120058 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120059, - 120059 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120060, - 120060 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120061, - 120061 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120062, - 120062 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120063, - 120063 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120064, - 120064 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120065, - 120065 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120066, - 120066 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120067, - 120067 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120068, - 120068 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120069, - 120069 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120070, - 120070 - ], - "disallowed" - ], - [ - [ - 120071, - 120071 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120072, - 120072 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120073, - 120073 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120074, - 120074 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120075, - 120076 - ], - "disallowed" - ], - [ - [ - 120077, - 120077 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120078, - 120078 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120079, - 120079 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120080, - 120080 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120081, - 120081 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120082, - 120082 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120083, - 120083 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120084, - 120084 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120085, - 120085 - ], - "disallowed" - ], - [ - [ - 120086, - 120086 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120087, - 120087 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120088, - 120088 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120089, - 120089 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120090, - 120090 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120091, - 120091 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120092, - 120092 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120093, - 120093 - ], - "disallowed" - ], - [ - [ - 120094, - 120094 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120095, - 120095 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120096, - 120096 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120097, - 120097 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120098, - 120098 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120099, - 120099 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120100, - 120100 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120101, - 120101 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120102, - 120102 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120103, - 120103 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120104, - 120104 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120105, - 120105 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120106, - 120106 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120107, - 120107 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120108, - 120108 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120109, - 120109 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120110, - 120110 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120111, - 120111 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120112, - 120112 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120113, - 120113 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120114, - 120114 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120115, - 120115 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120116, - 120116 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120117, - 120117 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120118, - 120118 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120119, - 120119 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120120, - 120120 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120121, - 120121 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120122, - 120122 - ], - "disallowed" - ], - [ - [ - 120123, - 120123 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120124, - 120124 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120125, - 120125 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120126, - 120126 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120127, - 120127 - ], - "disallowed" - ], - [ - [ - 120128, - 120128 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120129, - 120129 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120130, - 120130 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120131, - 120131 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120132, - 120132 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120133, - 120133 - ], - "disallowed" - ], - [ - [ - 120134, - 120134 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120135, - 120137 - ], - "disallowed" - ], - [ - [ - 120138, - 120138 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120139, - 120139 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120140, - 120140 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120141, - 120141 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120142, - 120142 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120143, - 120143 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120144, - 120144 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120145, - 120145 - ], - "disallowed" - ], - [ - [ - 120146, - 120146 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120147, - 120147 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120148, - 120148 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120149, - 120149 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120150, - 120150 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120151, - 120151 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120152, - 120152 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120153, - 120153 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120154, - 120154 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120155, - 120155 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120156, - 120156 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120157, - 120157 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120158, - 120158 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120159, - 120159 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120160, - 120160 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120161, - 120161 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120162, - 120162 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120163, - 120163 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120164, - 120164 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120165, - 120165 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120166, - 120166 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120167, - 120167 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120168, - 120168 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120169, - 120169 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120170, - 120170 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120171, - 120171 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120172, - 120172 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120173, - 120173 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120174, - 120174 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120175, - 120175 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120176, - 120176 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120177, - 120177 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120178, - 120178 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120179, - 120179 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120180, - 120180 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120181, - 120181 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120182, - 120182 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120183, - 120183 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120184, - 120184 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120185, - 120185 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120186, - 120186 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120187, - 120187 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120188, - 120188 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120189, - 120189 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120190, - 120190 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120191, - 120191 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120192, - 120192 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120193, - 120193 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120194, - 120194 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120195, - 120195 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120196, - 120196 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120197, - 120197 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120198, - 120198 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120199, - 120199 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120200, - 120200 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120201, - 120201 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120202, - 120202 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120203, - 120203 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120204, - 120204 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120205, - 120205 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120206, - 120206 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120207, - 120207 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120208, - 120208 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120209, - 120209 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120210, - 120210 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120211, - 120211 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120212, - 120212 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120213, - 120213 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120214, - 120214 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120215, - 120215 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120216, - 120216 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120217, - 120217 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120218, - 120218 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120219, - 120219 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120220, - 120220 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120221, - 120221 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120222, - 120222 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120223, - 120223 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120224, - 120224 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120225, - 120225 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120226, - 120226 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120227, - 120227 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120228, - 120228 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120229, - 120229 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120230, - 120230 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120231, - 120231 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120232, - 120232 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120233, - 120233 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120234, - 120234 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120235, - 120235 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120236, - 120236 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120237, - 120237 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120238, - 120238 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120239, - 120239 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120240, - 120240 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120241, - 120241 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120242, - 120242 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120243, - 120243 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120244, - 120244 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120245, - 120245 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120246, - 120246 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120247, - 120247 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120248, - 120248 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120249, - 120249 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120250, - 120250 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120251, - 120251 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120252, - 120252 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120253, - 120253 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120254, - 120254 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120255, - 120255 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120256, - 120256 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120257, - 120257 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120258, - 120258 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120259, - 120259 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120260, - 120260 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120261, - 120261 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120262, - 120262 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120263, - 120263 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120264, - 120264 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120265, - 120265 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120266, - 120266 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120267, - 120267 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120268, - 120268 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120269, - 120269 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120270, - 120270 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120271, - 120271 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120272, - 120272 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120273, - 120273 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120274, - 120274 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120275, - 120275 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120276, - 120276 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120277, - 120277 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120278, - 120278 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120279, - 120279 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120280, - 120280 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120281, - 120281 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120282, - 120282 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120283, - 120283 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120284, - 120284 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120285, - 120285 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120286, - 120286 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120287, - 120287 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120288, - 120288 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120289, - 120289 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120290, - 120290 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120291, - 120291 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120292, - 120292 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120293, - 120293 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120294, - 120294 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120295, - 120295 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120296, - 120296 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120297, - 120297 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120298, - 120298 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120299, - 120299 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120300, - 120300 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120301, - 120301 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120302, - 120302 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120303, - 120303 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120304, - 120304 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120305, - 120305 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120306, - 120306 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120307, - 120307 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120308, - 120308 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120309, - 120309 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120310, - 120310 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120311, - 120311 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120312, - 120312 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120313, - 120313 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120314, - 120314 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120315, - 120315 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120316, - 120316 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120317, - 120317 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120318, - 120318 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120319, - 120319 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120320, - 120320 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120321, - 120321 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120322, - 120322 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120323, - 120323 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120324, - 120324 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120325, - 120325 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120326, - 120326 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120327, - 120327 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120328, - 120328 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120329, - 120329 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120330, - 120330 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120331, - 120331 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120332, - 120332 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120333, - 120333 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120334, - 120334 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120335, - 120335 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120336, - 120336 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120337, - 120337 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120338, - 120338 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120339, - 120339 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120340, - 120340 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120341, - 120341 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120342, - 120342 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120343, - 120343 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120344, - 120344 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120345, - 120345 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120346, - 120346 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120347, - 120347 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120348, - 120348 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120349, - 120349 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120350, - 120350 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120351, - 120351 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120352, - 120352 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120353, - 120353 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120354, - 120354 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120355, - 120355 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120356, - 120356 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120357, - 120357 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120358, - 120358 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120359, - 120359 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120360, - 120360 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120361, - 120361 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120362, - 120362 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120363, - 120363 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120364, - 120364 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120365, - 120365 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120366, - 120366 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120367, - 120367 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120368, - 120368 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120369, - 120369 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120370, - 120370 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120371, - 120371 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120372, - 120372 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120373, - 120373 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120374, - 120374 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120375, - 120375 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120376, - 120376 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120377, - 120377 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120378, - 120378 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120379, - 120379 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120380, - 120380 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120381, - 120381 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120382, - 120382 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120383, - 120383 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120384, - 120384 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120385, - 120385 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120386, - 120386 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120387, - 120387 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120388, - 120388 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120389, - 120389 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120390, - 120390 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120391, - 120391 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120392, - 120392 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120393, - 120393 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120394, - 120394 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120395, - 120395 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120396, - 120396 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120397, - 120397 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120398, - 120398 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120399, - 120399 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120400, - 120400 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120401, - 120401 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120402, - 120402 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120403, - 120403 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120404, - 120404 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120405, - 120405 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120406, - 120406 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120407, - 120407 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120408, - 120408 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120409, - 120409 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120410, - 120410 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120411, - 120411 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120412, - 120412 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120413, - 120413 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120414, - 120414 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120415, - 120415 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120416, - 120416 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120417, - 120417 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120418, - 120418 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120419, - 120419 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120420, - 120420 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120421, - 120421 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120422, - 120422 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120423, - 120423 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120424, - 120424 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120425, - 120425 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120426, - 120426 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120427, - 120427 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120428, - 120428 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120429, - 120429 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120430, - 120430 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120431, - 120431 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120432, - 120432 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120433, - 120433 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120434, - 120434 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120435, - 120435 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120436, - 120436 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120437, - 120437 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120438, - 120438 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120439, - 120439 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120440, - 120440 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120441, - 120441 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120442, - 120442 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120443, - 120443 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120444, - 120444 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120445, - 120445 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120446, - 120446 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120447, - 120447 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120448, - 120448 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120449, - 120449 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120450, - 120450 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120451, - 120451 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120452, - 120452 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120453, - 120453 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120454, - 120454 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120455, - 120455 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120456, - 120456 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120457, - 120457 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120458, - 120458 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120459, - 120459 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120460, - 120460 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120461, - 120461 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120462, - 120462 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120463, - 120463 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120464, - 120464 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120465, - 120465 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120466, - 120466 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120467, - 120467 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120468, - 120468 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120469, - 120469 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120470, - 120470 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120471, - 120471 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120472, - 120472 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120473, - 120473 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120474, - 120474 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120475, - 120475 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120476, - 120476 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120477, - 120477 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120478, - 120478 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120479, - 120479 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120480, - 120480 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120481, - 120481 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120482, - 120482 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120483, - 120483 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120484, - 120484 - ], - "mapped", - [ - 305 - ] - ], - [ - [ - 120485, - 120485 - ], - "mapped", - [ - 567 - ] - ], - [ - [ - 120486, - 120487 - ], - "disallowed" - ], - [ - [ - 120488, - 120488 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120489, - 120489 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120490, - 120490 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120491, - 120491 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120492, - 120492 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120493, - 120493 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120494, - 120494 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120495, - 120495 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120496, - 120496 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120497, - 120497 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120498, - 120498 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120499, - 120499 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120500, - 120500 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120501, - 120501 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120502, - 120502 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120503, - 120503 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120504, - 120504 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120505, - 120505 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120506, - 120506 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120507, - 120507 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120508, - 120508 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120509, - 120509 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120510, - 120510 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120511, - 120511 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120512, - 120512 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120513, - 120513 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120514, - 120514 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120515, - 120515 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120516, - 120516 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120517, - 120517 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120518, - 120518 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120519, - 120519 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120520, - 120520 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120521, - 120521 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120522, - 120522 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120523, - 120523 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120524, - 120524 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120525, - 120525 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120526, - 120526 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120527, - 120527 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120528, - 120528 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120529, - 120529 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120530, - 120530 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120531, - 120532 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120533, - 120533 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120534, - 120534 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120535, - 120535 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120536, - 120536 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120537, - 120537 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120538, - 120538 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120539, - 120539 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120540, - 120540 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120541, - 120541 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120542, - 120542 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120543, - 120543 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120544, - 120544 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120545, - 120545 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120546, - 120546 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120547, - 120547 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120548, - 120548 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120549, - 120549 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120550, - 120550 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120551, - 120551 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120552, - 120552 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120553, - 120553 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120554, - 120554 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120555, - 120555 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120556, - 120556 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120557, - 120557 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120558, - 120558 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120559, - 120559 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120560, - 120560 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120561, - 120561 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120562, - 120562 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120563, - 120563 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120564, - 120564 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120565, - 120565 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120566, - 120566 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120567, - 120567 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120568, - 120568 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120569, - 120569 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120570, - 120570 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120571, - 120571 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120572, - 120572 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120573, - 120573 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120574, - 120574 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120575, - 120575 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120576, - 120576 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120577, - 120577 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120578, - 120578 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120579, - 120579 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120580, - 120580 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120581, - 120581 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120582, - 120582 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120583, - 120583 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120584, - 120584 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120585, - 120585 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120586, - 120586 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120587, - 120587 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120588, - 120588 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120589, - 120590 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120591, - 120591 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120592, - 120592 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120593, - 120593 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120594, - 120594 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120595, - 120595 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120596, - 120596 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120597, - 120597 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120598, - 120598 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120599, - 120599 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120600, - 120600 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120601, - 120601 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120602, - 120602 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120603, - 120603 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120604, - 120604 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120605, - 120605 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120606, - 120606 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120607, - 120607 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120608, - 120608 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120609, - 120609 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120610, - 120610 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120611, - 120611 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120612, - 120612 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120613, - 120613 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120614, - 120614 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120615, - 120615 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120616, - 120616 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120617, - 120617 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120618, - 120618 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120619, - 120619 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120620, - 120620 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120621, - 120621 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120622, - 120622 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120623, - 120623 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120624, - 120624 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120625, - 120625 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120626, - 120626 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120627, - 120627 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120628, - 120628 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120629, - 120629 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120630, - 120630 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120631, - 120631 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120632, - 120632 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120633, - 120633 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120634, - 120634 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120635, - 120635 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120636, - 120636 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120637, - 120637 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120638, - 120638 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120639, - 120639 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120640, - 120640 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120641, - 120641 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120642, - 120642 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120643, - 120643 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120644, - 120644 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120645, - 120645 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120646, - 120646 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120647, - 120648 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120649, - 120649 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120650, - 120650 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120651, - 120651 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120652, - 120652 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120653, - 120653 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120654, - 120654 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120655, - 120655 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120656, - 120656 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120657, - 120657 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120658, - 120658 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120659, - 120659 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120660, - 120660 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120661, - 120661 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120662, - 120662 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120663, - 120663 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120664, - 120664 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120665, - 120665 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120666, - 120666 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120667, - 120667 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120668, - 120668 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120669, - 120669 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120670, - 120670 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120671, - 120671 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120672, - 120672 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120673, - 120673 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120674, - 120674 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120675, - 120675 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120676, - 120676 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120677, - 120677 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120678, - 120678 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120679, - 120679 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120680, - 120680 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120681, - 120681 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120682, - 120682 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120683, - 120683 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120684, - 120684 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120685, - 120685 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120686, - 120686 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120687, - 120687 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120688, - 120688 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120689, - 120689 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120690, - 120690 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120691, - 120691 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120692, - 120692 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120693, - 120693 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120694, - 120694 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120695, - 120695 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120696, - 120696 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120697, - 120697 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120698, - 120698 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120699, - 120699 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120700, - 120700 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120701, - 120701 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120702, - 120702 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120703, - 120703 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120704, - 120704 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120705, - 120706 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120707, - 120707 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120708, - 120708 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120709, - 120709 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120710, - 120710 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120711, - 120711 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120712, - 120712 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120713, - 120713 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120714, - 120714 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120715, - 120715 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120716, - 120716 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120717, - 120717 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120718, - 120718 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120719, - 120719 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120720, - 120720 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120721, - 120721 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120722, - 120722 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120723, - 120723 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120724, - 120724 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120725, - 120725 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120726, - 120726 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120727, - 120727 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120728, - 120728 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120729, - 120729 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120730, - 120730 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120731, - 120731 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120732, - 120732 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120733, - 120733 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120734, - 120734 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120735, - 120735 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120736, - 120736 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120737, - 120737 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120738, - 120738 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120739, - 120739 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120740, - 120740 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120741, - 120741 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120742, - 120742 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120743, - 120743 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120744, - 120744 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120745, - 120745 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120746, - 120746 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120747, - 120747 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120748, - 120748 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120749, - 120749 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120750, - 120750 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120751, - 120751 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120752, - 120752 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120753, - 120753 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120754, - 120754 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120755, - 120755 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120756, - 120756 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120757, - 120757 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120758, - 120758 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120759, - 120759 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120760, - 120760 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120761, - 120761 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120762, - 120762 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120763, - 120764 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120765, - 120765 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120766, - 120766 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120767, - 120767 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120768, - 120768 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120769, - 120769 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120770, - 120770 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120771, - 120771 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120772, - 120772 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120773, - 120773 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120774, - 120774 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120775, - 120775 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120776, - 120776 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120777, - 120777 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120778, - 120779 - ], - "mapped", - [ - 989 - ] - ], - [ - [ - 120780, - 120781 - ], - "disallowed" - ], - [ - [ - 120782, - 120782 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120783, - 120783 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120784, - 120784 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120785, - 120785 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120786, - 120786 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120787, - 120787 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120788, - 120788 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120789, - 120789 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120790, - 120790 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120791, - 120791 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120792, - 120792 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120793, - 120793 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120794, - 120794 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120795, - 120795 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120796, - 120796 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120797, - 120797 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120798, - 120798 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120799, - 120799 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120800, - 120800 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120801, - 120801 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120802, - 120802 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120803, - 120803 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120804, - 120804 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120805, - 120805 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120806, - 120806 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120807, - 120807 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120808, - 120808 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120809, - 120809 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120810, - 120810 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120811, - 120811 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120812, - 120812 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120813, - 120813 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120814, - 120814 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120815, - 120815 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120816, - 120816 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120817, - 120817 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120818, - 120818 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120819, - 120819 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120820, - 120820 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120821, - 120821 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120822, - 120822 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120823, - 120823 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120824, - 120824 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120825, - 120825 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120826, - 120826 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120827, - 120827 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120828, - 120828 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120829, - 120829 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120830, - 120830 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120831, - 120831 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120832, - 121343 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121344, - 121398 - ], - "valid" - ], - [ - [ - 121399, - 121402 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121403, - 121452 - ], - "valid" - ], - [ - [ - 121453, - 121460 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121461, - 121461 - ], - "valid" - ], - [ - [ - 121462, - 121475 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121476, - 121476 - ], - "valid" - ], - [ - [ - 121477, - 121483 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121484, - 121498 - ], - "disallowed" - ], - [ - [ - 121499, - 121503 - ], - "valid" - ], - [ - [ - 121504, - 121504 - ], - "disallowed" - ], - [ - [ - 121505, - 121519 - ], - "valid" - ], - [ - [ - 121520, - 124927 - ], - "disallowed" - ], - [ - [ - 124928, - 125124 - ], - "valid" - ], - [ - [ - 125125, - 125126 - ], - "disallowed" - ], - [ - [ - 125127, - 125135 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 125136, - 125142 - ], - "valid" - ], - [ - [ - 125143, - 126463 - ], - "disallowed" - ], - [ - [ - 126464, - 126464 - ], - "mapped", - [ - 1575 - ] - ], - [ - [ - 126465, - 126465 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126466, - 126466 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126467, - 126467 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 126468, - 126468 - ], - "disallowed" - ], - [ - [ - 126469, - 126469 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 126470, - 126470 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 126471, - 126471 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126472, - 126472 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126473, - 126473 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126474, - 126474 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 126475, - 126475 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126476, - 126476 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126477, - 126477 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126478, - 126478 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126479, - 126479 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126480, - 126480 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126481, - 126481 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126482, - 126482 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126483, - 126483 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 126484, - 126484 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126485, - 126485 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126486, - 126486 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126487, - 126487 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126488, - 126488 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 126489, - 126489 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126490, - 126490 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126491, - 126491 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126492, - 126492 - ], - "mapped", - [ - 1646 - ] - ], - [ - [ - 126493, - 126493 - ], - "mapped", - [ - 1722 - ] - ], - [ - [ - 126494, - 126494 - ], - "mapped", - [ - 1697 - ] - ], - [ - [ - 126495, - 126495 - ], - "mapped", - [ - 1647 - ] - ], - [ - [ - 126496, - 126496 - ], - "disallowed" - ], - [ - [ - 126497, - 126497 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126498, - 126498 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126499, - 126499 - ], - "disallowed" - ], - [ - [ - 126500, - 126500 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 126501, - 126502 - ], - "disallowed" - ], - [ - [ - 126503, - 126503 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126504, - 126504 - ], - "disallowed" - ], - [ - [ - 126505, - 126505 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126506, - 126506 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 126507, - 126507 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126508, - 126508 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126509, - 126509 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126510, - 126510 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126511, - 126511 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126512, - 126512 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126513, - 126513 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126514, - 126514 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126515, - 126515 - ], - "disallowed" - ], - [ - [ - 126516, - 126516 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126517, - 126517 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126518, - 126518 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126519, - 126519 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126520, - 126520 - ], - "disallowed" - ], - [ - [ - 126521, - 126521 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126522, - 126522 - ], - "disallowed" - ], - [ - [ - 126523, - 126523 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126524, - 126529 - ], - "disallowed" - ], - [ - [ - 126530, - 126530 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126531, - 126534 - ], - "disallowed" - ], - [ - [ - 126535, - 126535 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126536, - 126536 - ], - "disallowed" - ], - [ - [ - 126537, - 126537 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126538, - 126538 - ], - "disallowed" - ], - [ - [ - 126539, - 126539 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126540, - 126540 - ], - "disallowed" - ], - [ - [ - 126541, - 126541 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126542, - 126542 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126543, - 126543 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126544, - 126544 - ], - "disallowed" - ], - [ - [ - 126545, - 126545 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126546, - 126546 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126547, - 126547 - ], - "disallowed" - ], - [ - [ - 126548, - 126548 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126549, - 126550 - ], - "disallowed" - ], - [ - [ - 126551, - 126551 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126552, - 126552 - ], - "disallowed" - ], - [ - [ - 126553, - 126553 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126554, - 126554 - ], - "disallowed" - ], - [ - [ - 126555, - 126555 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126556, - 126556 - ], - "disallowed" - ], - [ - [ - 126557, - 126557 - ], - "mapped", - [ - 1722 - ] - ], - [ - [ - 126558, - 126558 - ], - "disallowed" - ], - [ - [ - 126559, - 126559 - ], - "mapped", - [ - 1647 - ] - ], - [ - [ - 126560, - 126560 - ], - "disallowed" - ], - [ - [ - 126561, - 126561 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126562, - 126562 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126563, - 126563 - ], - "disallowed" - ], - [ - [ - 126564, - 126564 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 126565, - 126566 - ], - "disallowed" - ], - [ - [ - 126567, - 126567 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126568, - 126568 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126569, - 126569 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126570, - 126570 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 126571, - 126571 - ], - "disallowed" - ], - [ - [ - 126572, - 126572 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126573, - 126573 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126574, - 126574 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126575, - 126575 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126576, - 126576 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126577, - 126577 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126578, - 126578 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126579, - 126579 - ], - "disallowed" - ], - [ - [ - 126580, - 126580 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126581, - 126581 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126582, - 126582 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126583, - 126583 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126584, - 126584 - ], - "disallowed" - ], - [ - [ - 126585, - 126585 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126586, - 126586 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126587, - 126587 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126588, - 126588 - ], - "mapped", - [ - 1646 - ] - ], - [ - [ - 126589, - 126589 - ], - "disallowed" - ], - [ - [ - 126590, - 126590 - ], - "mapped", - [ - 1697 - ] - ], - [ - [ - 126591, - 126591 - ], - "disallowed" - ], - [ - [ - 126592, - 126592 - ], - "mapped", - [ - 1575 - ] - ], - [ - [ - 126593, - 126593 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126594, - 126594 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126595, - 126595 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 126596, - 126596 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 126597, - 126597 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 126598, - 126598 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 126599, - 126599 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126600, - 126600 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126601, - 126601 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126602, - 126602 - ], - "disallowed" - ], - [ - [ - 126603, - 126603 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126604, - 126604 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126605, - 126605 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126606, - 126606 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126607, - 126607 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126608, - 126608 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126609, - 126609 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126610, - 126610 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126611, - 126611 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 126612, - 126612 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126613, - 126613 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126614, - 126614 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126615, - 126615 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126616, - 126616 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 126617, - 126617 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126618, - 126618 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126619, - 126619 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126620, - 126624 - ], - "disallowed" - ], - [ - [ - 126625, - 126625 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126626, - 126626 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126627, - 126627 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 126628, - 126628 - ], - "disallowed" - ], - [ - [ - 126629, - 126629 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 126630, - 126630 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 126631, - 126631 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126632, - 126632 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126633, - 126633 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126634, - 126634 - ], - "disallowed" - ], - [ - [ - 126635, - 126635 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126636, - 126636 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126637, - 126637 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126638, - 126638 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126639, - 126639 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126640, - 126640 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126641, - 126641 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126642, - 126642 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126643, - 126643 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 126644, - 126644 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126645, - 126645 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126646, - 126646 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126647, - 126647 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126648, - 126648 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 126649, - 126649 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126650, - 126650 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126651, - 126651 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126652, - 126703 - ], - "disallowed" - ], - [ - [ - 126704, - 126705 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 126706, - 126975 - ], - "disallowed" - ], - [ - [ - 126976, - 127019 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127020, - 127023 - ], - "disallowed" - ], - [ - [ - 127024, - 127123 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127124, - 127135 - ], - "disallowed" - ], - [ - [ - 127136, - 127150 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127151, - 127152 - ], - "disallowed" - ], - [ - [ - 127153, - 127166 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127167, - 127167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127168, - 127168 - ], - "disallowed" - ], - [ - [ - 127169, - 127183 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127184, - 127184 - ], - "disallowed" - ], - [ - [ - 127185, - 127199 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127200, - 127221 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127222, - 127231 - ], - "disallowed" - ], - [ - [ - 127232, - 127232 - ], - "disallowed" - ], - [ - [ - 127233, - 127233 - ], - "disallowed_STD3_mapped", - [ - 48, - 44 - ] - ], - [ - [ - 127234, - 127234 - ], - "disallowed_STD3_mapped", - [ - 49, - 44 - ] - ], - [ - [ - 127235, - 127235 - ], - "disallowed_STD3_mapped", - [ - 50, - 44 - ] - ], - [ - [ - 127236, - 127236 - ], - "disallowed_STD3_mapped", - [ - 51, - 44 - ] - ], - [ - [ - 127237, - 127237 - ], - "disallowed_STD3_mapped", - [ - 52, - 44 - ] - ], - [ - [ - 127238, - 127238 - ], - "disallowed_STD3_mapped", - [ - 53, - 44 - ] - ], - [ - [ - 127239, - 127239 - ], - "disallowed_STD3_mapped", - [ - 54, - 44 - ] - ], - [ - [ - 127240, - 127240 - ], - "disallowed_STD3_mapped", - [ - 55, - 44 - ] - ], - [ - [ - 127241, - 127241 - ], - "disallowed_STD3_mapped", - [ - 56, - 44 - ] - ], - [ - [ - 127242, - 127242 - ], - "disallowed_STD3_mapped", - [ - 57, - 44 - ] - ], - [ - [ - 127243, - 127244 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127245, - 127247 - ], - "disallowed" - ], - [ - [ - 127248, - 127248 - ], - "disallowed_STD3_mapped", - [ - 40, - 97, - 41 - ] - ], - [ - [ - 127249, - 127249 - ], - "disallowed_STD3_mapped", - [ - 40, - 98, - 41 - ] - ], - [ - [ - 127250, - 127250 - ], - "disallowed_STD3_mapped", - [ - 40, - 99, - 41 - ] - ], - [ - [ - 127251, - 127251 - ], - "disallowed_STD3_mapped", - [ - 40, - 100, - 41 - ] - ], - [ - [ - 127252, - 127252 - ], - "disallowed_STD3_mapped", - [ - 40, - 101, - 41 - ] - ], - [ - [ - 127253, - 127253 - ], - "disallowed_STD3_mapped", - [ - 40, - 102, - 41 - ] - ], - [ - [ - 127254, - 127254 - ], - "disallowed_STD3_mapped", - [ - 40, - 103, - 41 - ] - ], - [ - [ - 127255, - 127255 - ], - "disallowed_STD3_mapped", - [ - 40, - 104, - 41 - ] - ], - [ - [ - 127256, - 127256 - ], - "disallowed_STD3_mapped", - [ - 40, - 105, - 41 - ] - ], - [ - [ - 127257, - 127257 - ], - "disallowed_STD3_mapped", - [ - 40, - 106, - 41 - ] - ], - [ - [ - 127258, - 127258 - ], - "disallowed_STD3_mapped", - [ - 40, - 107, - 41 - ] - ], - [ - [ - 127259, - 127259 - ], - "disallowed_STD3_mapped", - [ - 40, - 108, - 41 - ] - ], - [ - [ - 127260, - 127260 - ], - "disallowed_STD3_mapped", - [ - 40, - 109, - 41 - ] - ], - [ - [ - 127261, - 127261 - ], - "disallowed_STD3_mapped", - [ - 40, - 110, - 41 - ] - ], - [ - [ - 127262, - 127262 - ], - "disallowed_STD3_mapped", - [ - 40, - 111, - 41 - ] - ], - [ - [ - 127263, - 127263 - ], - "disallowed_STD3_mapped", - [ - 40, - 112, - 41 - ] - ], - [ - [ - 127264, - 127264 - ], - "disallowed_STD3_mapped", - [ - 40, - 113, - 41 - ] - ], - [ - [ - 127265, - 127265 - ], - "disallowed_STD3_mapped", - [ - 40, - 114, - 41 - ] - ], - [ - [ - 127266, - 127266 - ], - "disallowed_STD3_mapped", - [ - 40, - 115, - 41 - ] - ], - [ - [ - 127267, - 127267 - ], - "disallowed_STD3_mapped", - [ - 40, - 116, - 41 - ] - ], - [ - [ - 127268, - 127268 - ], - "disallowed_STD3_mapped", - [ - 40, - 117, - 41 - ] - ], - [ - [ - 127269, - 127269 - ], - "disallowed_STD3_mapped", - [ - 40, - 118, - 41 - ] - ], - [ - [ - 127270, - 127270 - ], - "disallowed_STD3_mapped", - [ - 40, - 119, - 41 - ] - ], - [ - [ - 127271, - 127271 - ], - "disallowed_STD3_mapped", - [ - 40, - 120, - 41 - ] - ], - [ - [ - 127272, - 127272 - ], - "disallowed_STD3_mapped", - [ - 40, - 121, - 41 - ] - ], - [ - [ - 127273, - 127273 - ], - "disallowed_STD3_mapped", - [ - 40, - 122, - 41 - ] - ], - [ - [ - 127274, - 127274 - ], - "mapped", - [ - 12308, - 115, - 12309 - ] - ], - [ - [ - 127275, - 127275 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 127276, - 127276 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 127277, - 127277 - ], - "mapped", - [ - 99, - 100 - ] - ], - [ - [ - 127278, - 127278 - ], - "mapped", - [ - 119, - 122 - ] - ], - [ - [ - 127279, - 127279 - ], - "disallowed" - ], - [ - [ - 127280, - 127280 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 127281, - 127281 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 127282, - 127282 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 127283, - 127283 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 127284, - 127284 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 127285, - 127285 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 127286, - 127286 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 127287, - 127287 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 127288, - 127288 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 127289, - 127289 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 127290, - 127290 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 127291, - 127291 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 127292, - 127292 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 127293, - 127293 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 127294, - 127294 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 127295, - 127295 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 127296, - 127296 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 127297, - 127297 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 127298, - 127298 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 127299, - 127299 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 127300, - 127300 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 127301, - 127301 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 127302, - 127302 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 127303, - 127303 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 127304, - 127304 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 127305, - 127305 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 127306, - 127306 - ], - "mapped", - [ - 104, - 118 - ] - ], - [ - [ - 127307, - 127307 - ], - "mapped", - [ - 109, - 118 - ] - ], - [ - [ - 127308, - 127308 - ], - "mapped", - [ - 115, - 100 - ] - ], - [ - [ - 127309, - 127309 - ], - "mapped", - [ - 115, - 115 - ] - ], - [ - [ - 127310, - 127310 - ], - "mapped", - [ - 112, - 112, - 118 - ] - ], - [ - [ - 127311, - 127311 - ], - "mapped", - [ - 119, - 99 - ] - ], - [ - [ - 127312, - 127318 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127319, - 127319 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127320, - 127326 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127327, - 127327 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127328, - 127337 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127338, - 127338 - ], - "mapped", - [ - 109, - 99 - ] - ], - [ - [ - 127339, - 127339 - ], - "mapped", - [ - 109, - 100 - ] - ], - [ - [ - 127340, - 127343 - ], - "disallowed" - ], - [ - [ - 127344, - 127352 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127353, - 127353 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127354, - 127354 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127355, - 127356 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127357, - 127358 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127359, - 127359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127360, - 127369 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127370, - 127373 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127374, - 127375 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127376, - 127376 - ], - "mapped", - [ - 100, - 106 - ] - ], - [ - [ - 127377, - 127386 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127387, - 127461 - ], - "disallowed" - ], - [ - [ - 127462, - 127487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127488, - 127488 - ], - "mapped", - [ - 12411, - 12363 - ] - ], - [ - [ - 127489, - 127489 - ], - "mapped", - [ - 12467, - 12467 - ] - ], - [ - [ - 127490, - 127490 - ], - "mapped", - [ - 12469 - ] - ], - [ - [ - 127491, - 127503 - ], - "disallowed" - ], - [ - [ - 127504, - 127504 - ], - "mapped", - [ - 25163 - ] - ], - [ - [ - 127505, - 127505 - ], - "mapped", - [ - 23383 - ] - ], - [ - [ - 127506, - 127506 - ], - "mapped", - [ - 21452 - ] - ], - [ - [ - 127507, - 127507 - ], - "mapped", - [ - 12487 - ] - ], - [ - [ - 127508, - 127508 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 127509, - 127509 - ], - "mapped", - [ - 22810 - ] - ], - [ - [ - 127510, - 127510 - ], - "mapped", - [ - 35299 - ] - ], - [ - [ - 127511, - 127511 - ], - "mapped", - [ - 22825 - ] - ], - [ - [ - 127512, - 127512 - ], - "mapped", - [ - 20132 - ] - ], - [ - [ - 127513, - 127513 - ], - "mapped", - [ - 26144 - ] - ], - [ - [ - 127514, - 127514 - ], - "mapped", - [ - 28961 - ] - ], - [ - [ - 127515, - 127515 - ], - "mapped", - [ - 26009 - ] - ], - [ - [ - 127516, - 127516 - ], - "mapped", - [ - 21069 - ] - ], - [ - [ - 127517, - 127517 - ], - "mapped", - [ - 24460 - ] - ], - [ - [ - 127518, - 127518 - ], - "mapped", - [ - 20877 - ] - ], - [ - [ - 127519, - 127519 - ], - "mapped", - [ - 26032 - ] - ], - [ - [ - 127520, - 127520 - ], - "mapped", - [ - 21021 - ] - ], - [ - [ - 127521, - 127521 - ], - "mapped", - [ - 32066 - ] - ], - [ - [ - 127522, - 127522 - ], - "mapped", - [ - 29983 - ] - ], - [ - [ - 127523, - 127523 - ], - "mapped", - [ - 36009 - ] - ], - [ - [ - 127524, - 127524 - ], - "mapped", - [ - 22768 - ] - ], - [ - [ - 127525, - 127525 - ], - "mapped", - [ - 21561 - ] - ], - [ - [ - 127526, - 127526 - ], - "mapped", - [ - 28436 - ] - ], - [ - [ - 127527, - 127527 - ], - "mapped", - [ - 25237 - ] - ], - [ - [ - 127528, - 127528 - ], - "mapped", - [ - 25429 - ] - ], - [ - [ - 127529, - 127529 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 127530, - 127530 - ], - "mapped", - [ - 19977 - ] - ], - [ - [ - 127531, - 127531 - ], - "mapped", - [ - 36938 - ] - ], - [ - [ - 127532, - 127532 - ], - "mapped", - [ - 24038 - ] - ], - [ - [ - 127533, - 127533 - ], - "mapped", - [ - 20013 - ] - ], - [ - [ - 127534, - 127534 - ], - "mapped", - [ - 21491 - ] - ], - [ - [ - 127535, - 127535 - ], - "mapped", - [ - 25351 - ] - ], - [ - [ - 127536, - 127536 - ], - "mapped", - [ - 36208 - ] - ], - [ - [ - 127537, - 127537 - ], - "mapped", - [ - 25171 - ] - ], - [ - [ - 127538, - 127538 - ], - "mapped", - [ - 31105 - ] - ], - [ - [ - 127539, - 127539 - ], - "mapped", - [ - 31354 - ] - ], - [ - [ - 127540, - 127540 - ], - "mapped", - [ - 21512 - ] - ], - [ - [ - 127541, - 127541 - ], - "mapped", - [ - 28288 - ] - ], - [ - [ - 127542, - 127542 - ], - "mapped", - [ - 26377 - ] - ], - [ - [ - 127543, - 127543 - ], - "mapped", - [ - 26376 - ] - ], - [ - [ - 127544, - 127544 - ], - "mapped", - [ - 30003 - ] - ], - [ - [ - 127545, - 127545 - ], - "mapped", - [ - 21106 - ] - ], - [ - [ - 127546, - 127546 - ], - "mapped", - [ - 21942 - ] - ], - [ - [ - 127547, - 127551 - ], - "disallowed" - ], - [ - [ - 127552, - 127552 - ], - "mapped", - [ - 12308, - 26412, - 12309 - ] - ], - [ - [ - 127553, - 127553 - ], - "mapped", - [ - 12308, - 19977, - 12309 - ] - ], - [ - [ - 127554, - 127554 - ], - "mapped", - [ - 12308, - 20108, - 12309 - ] - ], - [ - [ - 127555, - 127555 - ], - "mapped", - [ - 12308, - 23433, - 12309 - ] - ], - [ - [ - 127556, - 127556 - ], - "mapped", - [ - 12308, - 28857, - 12309 - ] - ], - [ - [ - 127557, - 127557 - ], - "mapped", - [ - 12308, - 25171, - 12309 - ] - ], - [ - [ - 127558, - 127558 - ], - "mapped", - [ - 12308, - 30423, - 12309 - ] - ], - [ - [ - 127559, - 127559 - ], - "mapped", - [ - 12308, - 21213, - 12309 - ] - ], - [ - [ - 127560, - 127560 - ], - "mapped", - [ - 12308, - 25943, - 12309 - ] - ], - [ - [ - 127561, - 127567 - ], - "disallowed" - ], - [ - [ - 127568, - 127568 - ], - "mapped", - [ - 24471 - ] - ], - [ - [ - 127569, - 127569 - ], - "mapped", - [ - 21487 - ] - ], - [ - [ - 127570, - 127743 - ], - "disallowed" - ], - [ - [ - 127744, - 127776 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127777, - 127788 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127789, - 127791 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127792, - 127797 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127798, - 127798 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127799, - 127868 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127869, - 127869 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127870, - 127871 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127872, - 127891 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127892, - 127903 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127904, - 127940 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127941, - 127941 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127942, - 127946 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127947, - 127950 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127951, - 127955 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127956, - 127967 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127968, - 127984 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127985, - 127991 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127992, - 127999 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128000, - 128062 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128063, - 128063 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128064, - 128064 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128065, - 128065 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128066, - 128247 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128248, - 128248 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128249, - 128252 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128253, - 128254 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128255, - 128255 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128256, - 128317 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128318, - 128319 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128320, - 128323 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128324, - 128330 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128331, - 128335 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128336, - 128359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128360, - 128377 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128378, - 128378 - ], - "disallowed" - ], - [ - [ - 128379, - 128419 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128420, - 128420 - ], - "disallowed" - ], - [ - [ - 128421, - 128506 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128507, - 128511 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128512, - 128512 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128513, - 128528 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128529, - 128529 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128530, - 128532 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128533, - 128533 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128534, - 128534 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128535, - 128535 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128536, - 128536 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128537, - 128537 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128538, - 128538 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128539, - 128539 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128540, - 128542 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128543, - 128543 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128544, - 128549 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128550, - 128551 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128552, - 128555 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128556, - 128556 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128557, - 128557 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128558, - 128559 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128560, - 128563 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128564, - 128564 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128565, - 128576 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128577, - 128578 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128579, - 128580 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128581, - 128591 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128592, - 128639 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128640, - 128709 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128710, - 128719 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128720, - 128720 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128721, - 128735 - ], - "disallowed" - ], - [ - [ - 128736, - 128748 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128749, - 128751 - ], - "disallowed" - ], - [ - [ - 128752, - 128755 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128756, - 128767 - ], - "disallowed" - ], - [ - [ - 128768, - 128883 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128884, - 128895 - ], - "disallowed" - ], - [ - [ - 128896, - 128980 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128981, - 129023 - ], - "disallowed" - ], - [ - [ - 129024, - 129035 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129036, - 129039 - ], - "disallowed" - ], - [ - [ - 129040, - 129095 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129096, - 129103 - ], - "disallowed" - ], - [ - [ - 129104, - 129113 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129114, - 129119 - ], - "disallowed" - ], - [ - [ - 129120, - 129159 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129160, - 129167 - ], - "disallowed" - ], - [ - [ - 129168, - 129197 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129198, - 129295 - ], - "disallowed" - ], - [ - [ - 129296, - 129304 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129305, - 129407 - ], - "disallowed" - ], - [ - [ - 129408, - 129412 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129413, - 129471 - ], - "disallowed" - ], - [ - [ - 129472, - 129472 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129473, - 131069 - ], - "disallowed" - ], - [ - [ - 131070, - 131071 - ], - "disallowed" - ], - [ - [ - 131072, - 173782 - ], - "valid" - ], - [ - [ - 173783, - 173823 - ], - "disallowed" - ], - [ - [ - 173824, - 177972 - ], - "valid" - ], - [ - [ - 177973, - 177983 - ], - "disallowed" - ], - [ - [ - 177984, - 178205 - ], - "valid" - ], - [ - [ - 178206, - 178207 - ], - "disallowed" - ], - [ - [ - 178208, - 183969 - ], - "valid" - ], - [ - [ - 183970, - 194559 - ], - "disallowed" - ], - [ - [ - 194560, - 194560 - ], - "mapped", - [ - 20029 - ] - ], - [ - [ - 194561, - 194561 - ], - "mapped", - [ - 20024 - ] - ], - [ - [ - 194562, - 194562 - ], - "mapped", - [ - 20033 - ] - ], - [ - [ - 194563, - 194563 - ], - "mapped", - [ - 131362 - ] - ], - [ - [ - 194564, - 194564 - ], - "mapped", - [ - 20320 - ] - ], - [ - [ - 194565, - 194565 - ], - "mapped", - [ - 20398 - ] - ], - [ - [ - 194566, - 194566 - ], - "mapped", - [ - 20411 - ] - ], - [ - [ - 194567, - 194567 - ], - "mapped", - [ - 20482 - ] - ], - [ - [ - 194568, - 194568 - ], - "mapped", - [ - 20602 - ] - ], - [ - [ - 194569, - 194569 - ], - "mapped", - [ - 20633 - ] - ], - [ - [ - 194570, - 194570 - ], - "mapped", - [ - 20711 - ] - ], - [ - [ - 194571, - 194571 - ], - "mapped", - [ - 20687 - ] - ], - [ - [ - 194572, - 194572 - ], - "mapped", - [ - 13470 - ] - ], - [ - [ - 194573, - 194573 - ], - "mapped", - [ - 132666 - ] - ], - [ - [ - 194574, - 194574 - ], - "mapped", - [ - 20813 - ] - ], - [ - [ - 194575, - 194575 - ], - "mapped", - [ - 20820 - ] - ], - [ - [ - 194576, - 194576 - ], - "mapped", - [ - 20836 - ] - ], - [ - [ - 194577, - 194577 - ], - "mapped", - [ - 20855 - ] - ], - [ - [ - 194578, - 194578 - ], - "mapped", - [ - 132380 - ] - ], - [ - [ - 194579, - 194579 - ], - "mapped", - [ - 13497 - ] - ], - [ - [ - 194580, - 194580 - ], - "mapped", - [ - 20839 - ] - ], - [ - [ - 194581, - 194581 - ], - "mapped", - [ - 20877 - ] - ], - [ - [ - 194582, - 194582 - ], - "mapped", - [ - 132427 - ] - ], - [ - [ - 194583, - 194583 - ], - "mapped", - [ - 20887 - ] - ], - [ - [ - 194584, - 194584 - ], - "mapped", - [ - 20900 - ] - ], - [ - [ - 194585, - 194585 - ], - "mapped", - [ - 20172 - ] - ], - [ - [ - 194586, - 194586 - ], - "mapped", - [ - 20908 - ] - ], - [ - [ - 194587, - 194587 - ], - "mapped", - [ - 20917 - ] - ], - [ - [ - 194588, - 194588 - ], - "mapped", - [ - 168415 - ] - ], - [ - [ - 194589, - 194589 - ], - "mapped", - [ - 20981 - ] - ], - [ - [ - 194590, - 194590 - ], - "mapped", - [ - 20995 - ] - ], - [ - [ - 194591, - 194591 - ], - "mapped", - [ - 13535 - ] - ], - [ - [ - 194592, - 194592 - ], - "mapped", - [ - 21051 - ] - ], - [ - [ - 194593, - 194593 - ], - "mapped", - [ - 21062 - ] - ], - [ - [ - 194594, - 194594 - ], - "mapped", - [ - 21106 - ] - ], - [ - [ - 194595, - 194595 - ], - "mapped", - [ - 21111 - ] - ], - [ - [ - 194596, - 194596 - ], - "mapped", - [ - 13589 - ] - ], - [ - [ - 194597, - 194597 - ], - "mapped", - [ - 21191 - ] - ], - [ - [ - 194598, - 194598 - ], - "mapped", - [ - 21193 - ] - ], - [ - [ - 194599, - 194599 - ], - "mapped", - [ - 21220 - ] - ], - [ - [ - 194600, - 194600 - ], - "mapped", - [ - 21242 - ] - ], - [ - [ - 194601, - 194601 - ], - "mapped", - [ - 21253 - ] - ], - [ - [ - 194602, - 194602 - ], - "mapped", - [ - 21254 - ] - ], - [ - [ - 194603, - 194603 - ], - "mapped", - [ - 21271 - ] - ], - [ - [ - 194604, - 194604 - ], - "mapped", - [ - 21321 - ] - ], - [ - [ - 194605, - 194605 - ], - "mapped", - [ - 21329 - ] - ], - [ - [ - 194606, - 194606 - ], - "mapped", - [ - 21338 - ] - ], - [ - [ - 194607, - 194607 - ], - "mapped", - [ - 21363 - ] - ], - [ - [ - 194608, - 194608 - ], - "mapped", - [ - 21373 - ] - ], - [ - [ - 194609, - 194611 - ], - "mapped", - [ - 21375 - ] - ], - [ - [ - 194612, - 194612 - ], - "mapped", - [ - 133676 - ] - ], - [ - [ - 194613, - 194613 - ], - "mapped", - [ - 28784 - ] - ], - [ - [ - 194614, - 194614 - ], - "mapped", - [ - 21450 - ] - ], - [ - [ - 194615, - 194615 - ], - "mapped", - [ - 21471 - ] - ], - [ - [ - 194616, - 194616 - ], - "mapped", - [ - 133987 - ] - ], - [ - [ - 194617, - 194617 - ], - "mapped", - [ - 21483 - ] - ], - [ - [ - 194618, - 194618 - ], - "mapped", - [ - 21489 - ] - ], - [ - [ - 194619, - 194619 - ], - "mapped", - [ - 21510 - ] - ], - [ - [ - 194620, - 194620 - ], - "mapped", - [ - 21662 - ] - ], - [ - [ - 194621, - 194621 - ], - "mapped", - [ - 21560 - ] - ], - [ - [ - 194622, - 194622 - ], - "mapped", - [ - 21576 - ] - ], - [ - [ - 194623, - 194623 - ], - "mapped", - [ - 21608 - ] - ], - [ - [ - 194624, - 194624 - ], - "mapped", - [ - 21666 - ] - ], - [ - [ - 194625, - 194625 - ], - "mapped", - [ - 21750 - ] - ], - [ - [ - 194626, - 194626 - ], - "mapped", - [ - 21776 - ] - ], - [ - [ - 194627, - 194627 - ], - "mapped", - [ - 21843 - ] - ], - [ - [ - 194628, - 194628 - ], - "mapped", - [ - 21859 - ] - ], - [ - [ - 194629, - 194630 - ], - "mapped", - [ - 21892 - ] - ], - [ - [ - 194631, - 194631 - ], - "mapped", - [ - 21913 - ] - ], - [ - [ - 194632, - 194632 - ], - "mapped", - [ - 21931 - ] - ], - [ - [ - 194633, - 194633 - ], - "mapped", - [ - 21939 - ] - ], - [ - [ - 194634, - 194634 - ], - "mapped", - [ - 21954 - ] - ], - [ - [ - 194635, - 194635 - ], - "mapped", - [ - 22294 - ] - ], - [ - [ - 194636, - 194636 - ], - "mapped", - [ - 22022 - ] - ], - [ - [ - 194637, - 194637 - ], - "mapped", - [ - 22295 - ] - ], - [ - [ - 194638, - 194638 - ], - "mapped", - [ - 22097 - ] - ], - [ - [ - 194639, - 194639 - ], - "mapped", - [ - 22132 - ] - ], - [ - [ - 194640, - 194640 - ], - "mapped", - [ - 20999 - ] - ], - [ - [ - 194641, - 194641 - ], - "mapped", - [ - 22766 - ] - ], - [ - [ - 194642, - 194642 - ], - "mapped", - [ - 22478 - ] - ], - [ - [ - 194643, - 194643 - ], - "mapped", - [ - 22516 - ] - ], - [ - [ - 194644, - 194644 - ], - "mapped", - [ - 22541 - ] - ], - [ - [ - 194645, - 194645 - ], - "mapped", - [ - 22411 - ] - ], - [ - [ - 194646, - 194646 - ], - "mapped", - [ - 22578 - ] - ], - [ - [ - 194647, - 194647 - ], - "mapped", - [ - 22577 - ] - ], - [ - [ - 194648, - 194648 - ], - "mapped", - [ - 22700 - ] - ], - [ - [ - 194649, - 194649 - ], - "mapped", - [ - 136420 - ] - ], - [ - [ - 194650, - 194650 - ], - "mapped", - [ - 22770 - ] - ], - [ - [ - 194651, - 194651 - ], - "mapped", - [ - 22775 - ] - ], - [ - [ - 194652, - 194652 - ], - "mapped", - [ - 22790 - ] - ], - [ - [ - 194653, - 194653 - ], - "mapped", - [ - 22810 - ] - ], - [ - [ - 194654, - 194654 - ], - "mapped", - [ - 22818 - ] - ], - [ - [ - 194655, - 194655 - ], - "mapped", - [ - 22882 - ] - ], - [ - [ - 194656, - 194656 - ], - "mapped", - [ - 136872 - ] - ], - [ - [ - 194657, - 194657 - ], - "mapped", - [ - 136938 - ] - ], - [ - [ - 194658, - 194658 - ], - "mapped", - [ - 23020 - ] - ], - [ - [ - 194659, - 194659 - ], - "mapped", - [ - 23067 - ] - ], - [ - [ - 194660, - 194660 - ], - "mapped", - [ - 23079 - ] - ], - [ - [ - 194661, - 194661 - ], - "mapped", - [ - 23000 - ] - ], - [ - [ - 194662, - 194662 - ], - "mapped", - [ - 23142 - ] - ], - [ - [ - 194663, - 194663 - ], - "mapped", - [ - 14062 - ] - ], - [ - [ - 194664, - 194664 - ], - "disallowed" - ], - [ - [ - 194665, - 194665 - ], - "mapped", - [ - 23304 - ] - ], - [ - [ - 194666, - 194667 - ], - "mapped", - [ - 23358 - ] - ], - [ - [ - 194668, - 194668 - ], - "mapped", - [ - 137672 - ] - ], - [ - [ - 194669, - 194669 - ], - "mapped", - [ - 23491 - ] - ], - [ - [ - 194670, - 194670 - ], - "mapped", - [ - 23512 - ] - ], - [ - [ - 194671, - 194671 - ], - "mapped", - [ - 23527 - ] - ], - [ - [ - 194672, - 194672 - ], - "mapped", - [ - 23539 - ] - ], - [ - [ - 194673, - 194673 - ], - "mapped", - [ - 138008 - ] - ], - [ - [ - 194674, - 194674 - ], - "mapped", - [ - 23551 - ] - ], - [ - [ - 194675, - 194675 - ], - "mapped", - [ - 23558 - ] - ], - [ - [ - 194676, - 194676 - ], - "disallowed" - ], - [ - [ - 194677, - 194677 - ], - "mapped", - [ - 23586 - ] - ], - [ - [ - 194678, - 194678 - ], - "mapped", - [ - 14209 - ] - ], - [ - [ - 194679, - 194679 - ], - "mapped", - [ - 23648 - ] - ], - [ - [ - 194680, - 194680 - ], - "mapped", - [ - 23662 - ] - ], - [ - [ - 194681, - 194681 - ], - "mapped", - [ - 23744 - ] - ], - [ - [ - 194682, - 194682 - ], - "mapped", - [ - 23693 - ] - ], - [ - [ - 194683, - 194683 - ], - "mapped", - [ - 138724 - ] - ], - [ - [ - 194684, - 194684 - ], - "mapped", - [ - 23875 - ] - ], - [ - [ - 194685, - 194685 - ], - "mapped", - [ - 138726 - ] - ], - [ - [ - 194686, - 194686 - ], - "mapped", - [ - 23918 - ] - ], - [ - [ - 194687, - 194687 - ], - "mapped", - [ - 23915 - ] - ], - [ - [ - 194688, - 194688 - ], - "mapped", - [ - 23932 - ] - ], - [ - [ - 194689, - 194689 - ], - "mapped", - [ - 24033 - ] - ], - [ - [ - 194690, - 194690 - ], - "mapped", - [ - 24034 - ] - ], - [ - [ - 194691, - 194691 - ], - "mapped", - [ - 14383 - ] - ], - [ - [ - 194692, - 194692 - ], - "mapped", - [ - 24061 - ] - ], - [ - [ - 194693, - 194693 - ], - "mapped", - [ - 24104 - ] - ], - [ - [ - 194694, - 194694 - ], - "mapped", - [ - 24125 - ] - ], - [ - [ - 194695, - 194695 - ], - "mapped", - [ - 24169 - ] - ], - [ - [ - 194696, - 194696 - ], - "mapped", - [ - 14434 - ] - ], - [ - [ - 194697, - 194697 - ], - "mapped", - [ - 139651 - ] - ], - [ - [ - 194698, - 194698 - ], - "mapped", - [ - 14460 - ] - ], - [ - [ - 194699, - 194699 - ], - "mapped", - [ - 24240 - ] - ], - [ - [ - 194700, - 194700 - ], - "mapped", - [ - 24243 - ] - ], - [ - [ - 194701, - 194701 - ], - "mapped", - [ - 24246 - ] - ], - [ - [ - 194702, - 194702 - ], - "mapped", - [ - 24266 - ] - ], - [ - [ - 194703, - 194703 - ], - "mapped", - [ - 172946 - ] - ], - [ - [ - 194704, - 194704 - ], - "mapped", - [ - 24318 - ] - ], - [ - [ - 194705, - 194706 - ], - "mapped", - [ - 140081 - ] - ], - [ - [ - 194707, - 194707 - ], - "mapped", - [ - 33281 - ] - ], - [ - [ - 194708, - 194709 - ], - "mapped", - [ - 24354 - ] - ], - [ - [ - 194710, - 194710 - ], - "mapped", - [ - 14535 - ] - ], - [ - [ - 194711, - 194711 - ], - "mapped", - [ - 144056 - ] - ], - [ - [ - 194712, - 194712 - ], - "mapped", - [ - 156122 - ] - ], - [ - [ - 194713, - 194713 - ], - "mapped", - [ - 24418 - ] - ], - [ - [ - 194714, - 194714 - ], - "mapped", - [ - 24427 - ] - ], - [ - [ - 194715, - 194715 - ], - "mapped", - [ - 14563 - ] - ], - [ - [ - 194716, - 194716 - ], - "mapped", - [ - 24474 - ] - ], - [ - [ - 194717, - 194717 - ], - "mapped", - [ - 24525 - ] - ], - [ - [ - 194718, - 194718 - ], - "mapped", - [ - 24535 - ] - ], - [ - [ - 194719, - 194719 - ], - "mapped", - [ - 24569 - ] - ], - [ - [ - 194720, - 194720 - ], - "mapped", - [ - 24705 - ] - ], - [ - [ - 194721, - 194721 - ], - "mapped", - [ - 14650 - ] - ], - [ - [ - 194722, - 194722 - ], - "mapped", - [ - 14620 - ] - ], - [ - [ - 194723, - 194723 - ], - "mapped", - [ - 24724 - ] - ], - [ - [ - 194724, - 194724 - ], - "mapped", - [ - 141012 - ] - ], - [ - [ - 194725, - 194725 - ], - "mapped", - [ - 24775 - ] - ], - [ - [ - 194726, - 194726 - ], - "mapped", - [ - 24904 - ] - ], - [ - [ - 194727, - 194727 - ], - "mapped", - [ - 24908 - ] - ], - [ - [ - 194728, - 194728 - ], - "mapped", - [ - 24910 - ] - ], - [ - [ - 194729, - 194729 - ], - "mapped", - [ - 24908 - ] - ], - [ - [ - 194730, - 194730 - ], - "mapped", - [ - 24954 - ] - ], - [ - [ - 194731, - 194731 - ], - "mapped", - [ - 24974 - ] - ], - [ - [ - 194732, - 194732 - ], - "mapped", - [ - 25010 - ] - ], - [ - [ - 194733, - 194733 - ], - "mapped", - [ - 24996 - ] - ], - [ - [ - 194734, - 194734 - ], - "mapped", - [ - 25007 - ] - ], - [ - [ - 194735, - 194735 - ], - "mapped", - [ - 25054 - ] - ], - [ - [ - 194736, - 194736 - ], - "mapped", - [ - 25074 - ] - ], - [ - [ - 194737, - 194737 - ], - "mapped", - [ - 25078 - ] - ], - [ - [ - 194738, - 194738 - ], - "mapped", - [ - 25104 - ] - ], - [ - [ - 194739, - 194739 - ], - "mapped", - [ - 25115 - ] - ], - [ - [ - 194740, - 194740 - ], - "mapped", - [ - 25181 - ] - ], - [ - [ - 194741, - 194741 - ], - "mapped", - [ - 25265 - ] - ], - [ - [ - 194742, - 194742 - ], - "mapped", - [ - 25300 - ] - ], - [ - [ - 194743, - 194743 - ], - "mapped", - [ - 25424 - ] - ], - [ - [ - 194744, - 194744 - ], - "mapped", - [ - 142092 - ] - ], - [ - [ - 194745, - 194745 - ], - "mapped", - [ - 25405 - ] - ], - [ - [ - 194746, - 194746 - ], - "mapped", - [ - 25340 - ] - ], - [ - [ - 194747, - 194747 - ], - "mapped", - [ - 25448 - ] - ], - [ - [ - 194748, - 194748 - ], - "mapped", - [ - 25475 - ] - ], - [ - [ - 194749, - 194749 - ], - "mapped", - [ - 25572 - ] - ], - [ - [ - 194750, - 194750 - ], - "mapped", - [ - 142321 - ] - ], - [ - [ - 194751, - 194751 - ], - "mapped", - [ - 25634 - ] - ], - [ - [ - 194752, - 194752 - ], - "mapped", - [ - 25541 - ] - ], - [ - [ - 194753, - 194753 - ], - "mapped", - [ - 25513 - ] - ], - [ - [ - 194754, - 194754 - ], - "mapped", - [ - 14894 - ] - ], - [ - [ - 194755, - 194755 - ], - "mapped", - [ - 25705 - ] - ], - [ - [ - 194756, - 194756 - ], - "mapped", - [ - 25726 - ] - ], - [ - [ - 194757, - 194757 - ], - "mapped", - [ - 25757 - ] - ], - [ - [ - 194758, - 194758 - ], - "mapped", - [ - 25719 - ] - ], - [ - [ - 194759, - 194759 - ], - "mapped", - [ - 14956 - ] - ], - [ - [ - 194760, - 194760 - ], - "mapped", - [ - 25935 - ] - ], - [ - [ - 194761, - 194761 - ], - "mapped", - [ - 25964 - ] - ], - [ - [ - 194762, - 194762 - ], - "mapped", - [ - 143370 - ] - ], - [ - [ - 194763, - 194763 - ], - "mapped", - [ - 26083 - ] - ], - [ - [ - 194764, - 194764 - ], - "mapped", - [ - 26360 - ] - ], - [ - [ - 194765, - 194765 - ], - "mapped", - [ - 26185 - ] - ], - [ - [ - 194766, - 194766 - ], - "mapped", - [ - 15129 - ] - ], - [ - [ - 194767, - 194767 - ], - "mapped", - [ - 26257 - ] - ], - [ - [ - 194768, - 194768 - ], - "mapped", - [ - 15112 - ] - ], - [ - [ - 194769, - 194769 - ], - "mapped", - [ - 15076 - ] - ], - [ - [ - 194770, - 194770 - ], - "mapped", - [ - 20882 - ] - ], - [ - [ - 194771, - 194771 - ], - "mapped", - [ - 20885 - ] - ], - [ - [ - 194772, - 194772 - ], - "mapped", - [ - 26368 - ] - ], - [ - [ - 194773, - 194773 - ], - "mapped", - [ - 26268 - ] - ], - [ - [ - 194774, - 194774 - ], - "mapped", - [ - 32941 - ] - ], - [ - [ - 194775, - 194775 - ], - "mapped", - [ - 17369 - ] - ], - [ - [ - 194776, - 194776 - ], - "mapped", - [ - 26391 - ] - ], - [ - [ - 194777, - 194777 - ], - "mapped", - [ - 26395 - ] - ], - [ - [ - 194778, - 194778 - ], - "mapped", - [ - 26401 - ] - ], - [ - [ - 194779, - 194779 - ], - "mapped", - [ - 26462 - ] - ], - [ - [ - 194780, - 194780 - ], - "mapped", - [ - 26451 - ] - ], - [ - [ - 194781, - 194781 - ], - "mapped", - [ - 144323 - ] - ], - [ - [ - 194782, - 194782 - ], - "mapped", - [ - 15177 - ] - ], - [ - [ - 194783, - 194783 - ], - "mapped", - [ - 26618 - ] - ], - [ - [ - 194784, - 194784 - ], - "mapped", - [ - 26501 - ] - ], - [ - [ - 194785, - 194785 - ], - "mapped", - [ - 26706 - ] - ], - [ - [ - 194786, - 194786 - ], - "mapped", - [ - 26757 - ] - ], - [ - [ - 194787, - 194787 - ], - "mapped", - [ - 144493 - ] - ], - [ - [ - 194788, - 194788 - ], - "mapped", - [ - 26766 - ] - ], - [ - [ - 194789, - 194789 - ], - "mapped", - [ - 26655 - ] - ], - [ - [ - 194790, - 194790 - ], - "mapped", - [ - 26900 - ] - ], - [ - [ - 194791, - 194791 - ], - "mapped", - [ - 15261 - ] - ], - [ - [ - 194792, - 194792 - ], - "mapped", - [ - 26946 - ] - ], - [ - [ - 194793, - 194793 - ], - "mapped", - [ - 27043 - ] - ], - [ - [ - 194794, - 194794 - ], - "mapped", - [ - 27114 - ] - ], - [ - [ - 194795, - 194795 - ], - "mapped", - [ - 27304 - ] - ], - [ - [ - 194796, - 194796 - ], - "mapped", - [ - 145059 - ] - ], - [ - [ - 194797, - 194797 - ], - "mapped", - [ - 27355 - ] - ], - [ - [ - 194798, - 194798 - ], - "mapped", - [ - 15384 - ] - ], - [ - [ - 194799, - 194799 - ], - "mapped", - [ - 27425 - ] - ], - [ - [ - 194800, - 194800 - ], - "mapped", - [ - 145575 - ] - ], - [ - [ - 194801, - 194801 - ], - "mapped", - [ - 27476 - ] - ], - [ - [ - 194802, - 194802 - ], - "mapped", - [ - 15438 - ] - ], - [ - [ - 194803, - 194803 - ], - "mapped", - [ - 27506 - ] - ], - [ - [ - 194804, - 194804 - ], - "mapped", - [ - 27551 - ] - ], - [ - [ - 194805, - 194805 - ], - "mapped", - [ - 27578 - ] - ], - [ - [ - 194806, - 194806 - ], - "mapped", - [ - 27579 - ] - ], - [ - [ - 194807, - 194807 - ], - "mapped", - [ - 146061 - ] - ], - [ - [ - 194808, - 194808 - ], - "mapped", - [ - 138507 - ] - ], - [ - [ - 194809, - 194809 - ], - "mapped", - [ - 146170 - ] - ], - [ - [ - 194810, - 194810 - ], - "mapped", - [ - 27726 - ] - ], - [ - [ - 194811, - 194811 - ], - "mapped", - [ - 146620 - ] - ], - [ - [ - 194812, - 194812 - ], - "mapped", - [ - 27839 - ] - ], - [ - [ - 194813, - 194813 - ], - "mapped", - [ - 27853 - ] - ], - [ - [ - 194814, - 194814 - ], - "mapped", - [ - 27751 - ] - ], - [ - [ - 194815, - 194815 - ], - "mapped", - [ - 27926 - ] - ], - [ - [ - 194816, - 194816 - ], - "mapped", - [ - 27966 - ] - ], - [ - [ - 194817, - 194817 - ], - "mapped", - [ - 28023 - ] - ], - [ - [ - 194818, - 194818 - ], - "mapped", - [ - 27969 - ] - ], - [ - [ - 194819, - 194819 - ], - "mapped", - [ - 28009 - ] - ], - [ - [ - 194820, - 194820 - ], - "mapped", - [ - 28024 - ] - ], - [ - [ - 194821, - 194821 - ], - "mapped", - [ - 28037 - ] - ], - [ - [ - 194822, - 194822 - ], - "mapped", - [ - 146718 - ] - ], - [ - [ - 194823, - 194823 - ], - "mapped", - [ - 27956 - ] - ], - [ - [ - 194824, - 194824 - ], - "mapped", - [ - 28207 - ] - ], - [ - [ - 194825, - 194825 - ], - "mapped", - [ - 28270 - ] - ], - [ - [ - 194826, - 194826 - ], - "mapped", - [ - 15667 - ] - ], - [ - [ - 194827, - 194827 - ], - "mapped", - [ - 28363 - ] - ], - [ - [ - 194828, - 194828 - ], - "mapped", - [ - 28359 - ] - ], - [ - [ - 194829, - 194829 - ], - "mapped", - [ - 147153 - ] - ], - [ - [ - 194830, - 194830 - ], - "mapped", - [ - 28153 - ] - ], - [ - [ - 194831, - 194831 - ], - "mapped", - [ - 28526 - ] - ], - [ - [ - 194832, - 194832 - ], - "mapped", - [ - 147294 - ] - ], - [ - [ - 194833, - 194833 - ], - "mapped", - [ - 147342 - ] - ], - [ - [ - 194834, - 194834 - ], - "mapped", - [ - 28614 - ] - ], - [ - [ - 194835, - 194835 - ], - "mapped", - [ - 28729 - ] - ], - [ - [ - 194836, - 194836 - ], - "mapped", - [ - 28702 - ] - ], - [ - [ - 194837, - 194837 - ], - "mapped", - [ - 28699 - ] - ], - [ - [ - 194838, - 194838 - ], - "mapped", - [ - 15766 - ] - ], - [ - [ - 194839, - 194839 - ], - "mapped", - [ - 28746 - ] - ], - [ - [ - 194840, - 194840 - ], - "mapped", - [ - 28797 - ] - ], - [ - [ - 194841, - 194841 - ], - "mapped", - [ - 28791 - ] - ], - [ - [ - 194842, - 194842 - ], - "mapped", - [ - 28845 - ] - ], - [ - [ - 194843, - 194843 - ], - "mapped", - [ - 132389 - ] - ], - [ - [ - 194844, - 194844 - ], - "mapped", - [ - 28997 - ] - ], - [ - [ - 194845, - 194845 - ], - "mapped", - [ - 148067 - ] - ], - [ - [ - 194846, - 194846 - ], - "mapped", - [ - 29084 - ] - ], - [ - [ - 194847, - 194847 - ], - "disallowed" - ], - [ - [ - 194848, - 194848 - ], - "mapped", - [ - 29224 - ] - ], - [ - [ - 194849, - 194849 - ], - "mapped", - [ - 29237 - ] - ], - [ - [ - 194850, - 194850 - ], - "mapped", - [ - 29264 - ] - ], - [ - [ - 194851, - 194851 - ], - "mapped", - [ - 149000 - ] - ], - [ - [ - 194852, - 194852 - ], - "mapped", - [ - 29312 - ] - ], - [ - [ - 194853, - 194853 - ], - "mapped", - [ - 29333 - ] - ], - [ - [ - 194854, - 194854 - ], - "mapped", - [ - 149301 - ] - ], - [ - [ - 194855, - 194855 - ], - "mapped", - [ - 149524 - ] - ], - [ - [ - 194856, - 194856 - ], - "mapped", - [ - 29562 - ] - ], - [ - [ - 194857, - 194857 - ], - "mapped", - [ - 29579 - ] - ], - [ - [ - 194858, - 194858 - ], - "mapped", - [ - 16044 - ] - ], - [ - [ - 194859, - 194859 - ], - "mapped", - [ - 29605 - ] - ], - [ - [ - 194860, - 194861 - ], - "mapped", - [ - 16056 - ] - ], - [ - [ - 194862, - 194862 - ], - "mapped", - [ - 29767 - ] - ], - [ - [ - 194863, - 194863 - ], - "mapped", - [ - 29788 - ] - ], - [ - [ - 194864, - 194864 - ], - "mapped", - [ - 29809 - ] - ], - [ - [ - 194865, - 194865 - ], - "mapped", - [ - 29829 - ] - ], - [ - [ - 194866, - 194866 - ], - "mapped", - [ - 29898 - ] - ], - [ - [ - 194867, - 194867 - ], - "mapped", - [ - 16155 - ] - ], - [ - [ - 194868, - 194868 - ], - "mapped", - [ - 29988 - ] - ], - [ - [ - 194869, - 194869 - ], - "mapped", - [ - 150582 - ] - ], - [ - [ - 194870, - 194870 - ], - "mapped", - [ - 30014 - ] - ], - [ - [ - 194871, - 194871 - ], - "mapped", - [ - 150674 - ] - ], - [ - [ - 194872, - 194872 - ], - "mapped", - [ - 30064 - ] - ], - [ - [ - 194873, - 194873 - ], - "mapped", - [ - 139679 - ] - ], - [ - [ - 194874, - 194874 - ], - "mapped", - [ - 30224 - ] - ], - [ - [ - 194875, - 194875 - ], - "mapped", - [ - 151457 - ] - ], - [ - [ - 194876, - 194876 - ], - "mapped", - [ - 151480 - ] - ], - [ - [ - 194877, - 194877 - ], - "mapped", - [ - 151620 - ] - ], - [ - [ - 194878, - 194878 - ], - "mapped", - [ - 16380 - ] - ], - [ - [ - 194879, - 194879 - ], - "mapped", - [ - 16392 - ] - ], - [ - [ - 194880, - 194880 - ], - "mapped", - [ - 30452 - ] - ], - [ - [ - 194881, - 194881 - ], - "mapped", - [ - 151795 - ] - ], - [ - [ - 194882, - 194882 - ], - "mapped", - [ - 151794 - ] - ], - [ - [ - 194883, - 194883 - ], - "mapped", - [ - 151833 - ] - ], - [ - [ - 194884, - 194884 - ], - "mapped", - [ - 151859 - ] - ], - [ - [ - 194885, - 194885 - ], - "mapped", - [ - 30494 - ] - ], - [ - [ - 194886, - 194887 - ], - "mapped", - [ - 30495 - ] - ], - [ - [ - 194888, - 194888 - ], - "mapped", - [ - 30538 - ] - ], - [ - [ - 194889, - 194889 - ], - "mapped", - [ - 16441 - ] - ], - [ - [ - 194890, - 194890 - ], - "mapped", - [ - 30603 - ] - ], - [ - [ - 194891, - 194891 - ], - "mapped", - [ - 16454 - ] - ], - [ - [ - 194892, - 194892 - ], - "mapped", - [ - 16534 - ] - ], - [ - [ - 194893, - 194893 - ], - "mapped", - [ - 152605 - ] - ], - [ - [ - 194894, - 194894 - ], - "mapped", - [ - 30798 - ] - ], - [ - [ - 194895, - 194895 - ], - "mapped", - [ - 30860 - ] - ], - [ - [ - 194896, - 194896 - ], - "mapped", - [ - 30924 - ] - ], - [ - [ - 194897, - 194897 - ], - "mapped", - [ - 16611 - ] - ], - [ - [ - 194898, - 194898 - ], - "mapped", - [ - 153126 - ] - ], - [ - [ - 194899, - 194899 - ], - "mapped", - [ - 31062 - ] - ], - [ - [ - 194900, - 194900 - ], - "mapped", - [ - 153242 - ] - ], - [ - [ - 194901, - 194901 - ], - "mapped", - [ - 153285 - ] - ], - [ - [ - 194902, - 194902 - ], - "mapped", - [ - 31119 - ] - ], - [ - [ - 194903, - 194903 - ], - "mapped", - [ - 31211 - ] - ], - [ - [ - 194904, - 194904 - ], - "mapped", - [ - 16687 - ] - ], - [ - [ - 194905, - 194905 - ], - "mapped", - [ - 31296 - ] - ], - [ - [ - 194906, - 194906 - ], - "mapped", - [ - 31306 - ] - ], - [ - [ - 194907, - 194907 - ], - "mapped", - [ - 31311 - ] - ], - [ - [ - 194908, - 194908 - ], - "mapped", - [ - 153980 - ] - ], - [ - [ - 194909, - 194910 - ], - "mapped", - [ - 154279 - ] - ], - [ - [ - 194911, - 194911 - ], - "disallowed" - ], - [ - [ - 194912, - 194912 - ], - "mapped", - [ - 16898 - ] - ], - [ - [ - 194913, - 194913 - ], - "mapped", - [ - 154539 - ] - ], - [ - [ - 194914, - 194914 - ], - "mapped", - [ - 31686 - ] - ], - [ - [ - 194915, - 194915 - ], - "mapped", - [ - 31689 - ] - ], - [ - [ - 194916, - 194916 - ], - "mapped", - [ - 16935 - ] - ], - [ - [ - 194917, - 194917 - ], - "mapped", - [ - 154752 - ] - ], - [ - [ - 194918, - 194918 - ], - "mapped", - [ - 31954 - ] - ], - [ - [ - 194919, - 194919 - ], - "mapped", - [ - 17056 - ] - ], - [ - [ - 194920, - 194920 - ], - "mapped", - [ - 31976 - ] - ], - [ - [ - 194921, - 194921 - ], - "mapped", - [ - 31971 - ] - ], - [ - [ - 194922, - 194922 - ], - "mapped", - [ - 32000 - ] - ], - [ - [ - 194923, - 194923 - ], - "mapped", - [ - 155526 - ] - ], - [ - [ - 194924, - 194924 - ], - "mapped", - [ - 32099 - ] - ], - [ - [ - 194925, - 194925 - ], - "mapped", - [ - 17153 - ] - ], - [ - [ - 194926, - 194926 - ], - "mapped", - [ - 32199 - ] - ], - [ - [ - 194927, - 194927 - ], - "mapped", - [ - 32258 - ] - ], - [ - [ - 194928, - 194928 - ], - "mapped", - [ - 32325 - ] - ], - [ - [ - 194929, - 194929 - ], - "mapped", - [ - 17204 - ] - ], - [ - [ - 194930, - 194930 - ], - "mapped", - [ - 156200 - ] - ], - [ - [ - 194931, - 194931 - ], - "mapped", - [ - 156231 - ] - ], - [ - [ - 194932, - 194932 - ], - "mapped", - [ - 17241 - ] - ], - [ - [ - 194933, - 194933 - ], - "mapped", - [ - 156377 - ] - ], - [ - [ - 194934, - 194934 - ], - "mapped", - [ - 32634 - ] - ], - [ - [ - 194935, - 194935 - ], - "mapped", - [ - 156478 - ] - ], - [ - [ - 194936, - 194936 - ], - "mapped", - [ - 32661 - ] - ], - [ - [ - 194937, - 194937 - ], - "mapped", - [ - 32762 - ] - ], - [ - [ - 194938, - 194938 - ], - "mapped", - [ - 32773 - ] - ], - [ - [ - 194939, - 194939 - ], - "mapped", - [ - 156890 - ] - ], - [ - [ - 194940, - 194940 - ], - "mapped", - [ - 156963 - ] - ], - [ - [ - 194941, - 194941 - ], - "mapped", - [ - 32864 - ] - ], - [ - [ - 194942, - 194942 - ], - "mapped", - [ - 157096 - ] - ], - [ - [ - 194943, - 194943 - ], - "mapped", - [ - 32880 - ] - ], - [ - [ - 194944, - 194944 - ], - "mapped", - [ - 144223 - ] - ], - [ - [ - 194945, - 194945 - ], - "mapped", - [ - 17365 - ] - ], - [ - [ - 194946, - 194946 - ], - "mapped", - [ - 32946 - ] - ], - [ - [ - 194947, - 194947 - ], - "mapped", - [ - 33027 - ] - ], - [ - [ - 194948, - 194948 - ], - "mapped", - [ - 17419 - ] - ], - [ - [ - 194949, - 194949 - ], - "mapped", - [ - 33086 - ] - ], - [ - [ - 194950, - 194950 - ], - "mapped", - [ - 23221 - ] - ], - [ - [ - 194951, - 194951 - ], - "mapped", - [ - 157607 - ] - ], - [ - [ - 194952, - 194952 - ], - "mapped", - [ - 157621 - ] - ], - [ - [ - 194953, - 194953 - ], - "mapped", - [ - 144275 - ] - ], - [ - [ - 194954, - 194954 - ], - "mapped", - [ - 144284 - ] - ], - [ - [ - 194955, - 194955 - ], - "mapped", - [ - 33281 - ] - ], - [ - [ - 194956, - 194956 - ], - "mapped", - [ - 33284 - ] - ], - [ - [ - 194957, - 194957 - ], - "mapped", - [ - 36766 - ] - ], - [ - [ - 194958, - 194958 - ], - "mapped", - [ - 17515 - ] - ], - [ - [ - 194959, - 194959 - ], - "mapped", - [ - 33425 - ] - ], - [ - [ - 194960, - 194960 - ], - "mapped", - [ - 33419 - ] - ], - [ - [ - 194961, - 194961 - ], - "mapped", - [ - 33437 - ] - ], - [ - [ - 194962, - 194962 - ], - "mapped", - [ - 21171 - ] - ], - [ - [ - 194963, - 194963 - ], - "mapped", - [ - 33457 - ] - ], - [ - [ - 194964, - 194964 - ], - "mapped", - [ - 33459 - ] - ], - [ - [ - 194965, - 194965 - ], - "mapped", - [ - 33469 - ] - ], - [ - [ - 194966, - 194966 - ], - "mapped", - [ - 33510 - ] - ], - [ - [ - 194967, - 194967 - ], - "mapped", - [ - 158524 - ] - ], - [ - [ - 194968, - 194968 - ], - "mapped", - [ - 33509 - ] - ], - [ - [ - 194969, - 194969 - ], - "mapped", - [ - 33565 - ] - ], - [ - [ - 194970, - 194970 - ], - "mapped", - [ - 33635 - ] - ], - [ - [ - 194971, - 194971 - ], - "mapped", - [ - 33709 - ] - ], - [ - [ - 194972, - 194972 - ], - "mapped", - [ - 33571 - ] - ], - [ - [ - 194973, - 194973 - ], - "mapped", - [ - 33725 - ] - ], - [ - [ - 194974, - 194974 - ], - "mapped", - [ - 33767 - ] - ], - [ - [ - 194975, - 194975 - ], - "mapped", - [ - 33879 - ] - ], - [ - [ - 194976, - 194976 - ], - "mapped", - [ - 33619 - ] - ], - [ - [ - 194977, - 194977 - ], - "mapped", - [ - 33738 - ] - ], - [ - [ - 194978, - 194978 - ], - "mapped", - [ - 33740 - ] - ], - [ - [ - 194979, - 194979 - ], - "mapped", - [ - 33756 - ] - ], - [ - [ - 194980, - 194980 - ], - "mapped", - [ - 158774 - ] - ], - [ - [ - 194981, - 194981 - ], - "mapped", - [ - 159083 - ] - ], - [ - [ - 194982, - 194982 - ], - "mapped", - [ - 158933 - ] - ], - [ - [ - 194983, - 194983 - ], - "mapped", - [ - 17707 - ] - ], - [ - [ - 194984, - 194984 - ], - "mapped", - [ - 34033 - ] - ], - [ - [ - 194985, - 194985 - ], - "mapped", - [ - 34035 - ] - ], - [ - [ - 194986, - 194986 - ], - "mapped", - [ - 34070 - ] - ], - [ - [ - 194987, - 194987 - ], - "mapped", - [ - 160714 - ] - ], - [ - [ - 194988, - 194988 - ], - "mapped", - [ - 34148 - ] - ], - [ - [ - 194989, - 194989 - ], - "mapped", - [ - 159532 - ] - ], - [ - [ - 194990, - 194990 - ], - "mapped", - [ - 17757 - ] - ], - [ - [ - 194991, - 194991 - ], - "mapped", - [ - 17761 - ] - ], - [ - [ - 194992, - 194992 - ], - "mapped", - [ - 159665 - ] - ], - [ - [ - 194993, - 194993 - ], - "mapped", - [ - 159954 - ] - ], - [ - [ - 194994, - 194994 - ], - "mapped", - [ - 17771 - ] - ], - [ - [ - 194995, - 194995 - ], - "mapped", - [ - 34384 - ] - ], - [ - [ - 194996, - 194996 - ], - "mapped", - [ - 34396 - ] - ], - [ - [ - 194997, - 194997 - ], - "mapped", - [ - 34407 - ] - ], - [ - [ - 194998, - 194998 - ], - "mapped", - [ - 34409 - ] - ], - [ - [ - 194999, - 194999 - ], - "mapped", - [ - 34473 - ] - ], - [ - [ - 195000, - 195000 - ], - "mapped", - [ - 34440 - ] - ], - [ - [ - 195001, - 195001 - ], - "mapped", - [ - 34574 - ] - ], - [ - [ - 195002, - 195002 - ], - "mapped", - [ - 34530 - ] - ], - [ - [ - 195003, - 195003 - ], - "mapped", - [ - 34681 - ] - ], - [ - [ - 195004, - 195004 - ], - "mapped", - [ - 34600 - ] - ], - [ - [ - 195005, - 195005 - ], - "mapped", - [ - 34667 - ] - ], - [ - [ - 195006, - 195006 - ], - "mapped", - [ - 34694 - ] - ], - [ - [ - 195007, - 195007 - ], - "disallowed" - ], - [ - [ - 195008, - 195008 - ], - "mapped", - [ - 34785 - ] - ], - [ - [ - 195009, - 195009 - ], - "mapped", - [ - 34817 - ] - ], - [ - [ - 195010, - 195010 - ], - "mapped", - [ - 17913 - ] - ], - [ - [ - 195011, - 195011 - ], - "mapped", - [ - 34912 - ] - ], - [ - [ - 195012, - 195012 - ], - "mapped", - [ - 34915 - ] - ], - [ - [ - 195013, - 195013 - ], - "mapped", - [ - 161383 - ] - ], - [ - [ - 195014, - 195014 - ], - "mapped", - [ - 35031 - ] - ], - [ - [ - 195015, - 195015 - ], - "mapped", - [ - 35038 - ] - ], - [ - [ - 195016, - 195016 - ], - "mapped", - [ - 17973 - ] - ], - [ - [ - 195017, - 195017 - ], - "mapped", - [ - 35066 - ] - ], - [ - [ - 195018, - 195018 - ], - "mapped", - [ - 13499 - ] - ], - [ - [ - 195019, - 195019 - ], - "mapped", - [ - 161966 - ] - ], - [ - [ - 195020, - 195020 - ], - "mapped", - [ - 162150 - ] - ], - [ - [ - 195021, - 195021 - ], - "mapped", - [ - 18110 - ] - ], - [ - [ - 195022, - 195022 - ], - "mapped", - [ - 18119 - ] - ], - [ - [ - 195023, - 195023 - ], - "mapped", - [ - 35488 - ] - ], - [ - [ - 195024, - 195024 - ], - "mapped", - [ - 35565 - ] - ], - [ - [ - 195025, - 195025 - ], - "mapped", - [ - 35722 - ] - ], - [ - [ - 195026, - 195026 - ], - "mapped", - [ - 35925 - ] - ], - [ - [ - 195027, - 195027 - ], - "mapped", - [ - 162984 - ] - ], - [ - [ - 195028, - 195028 - ], - "mapped", - [ - 36011 - ] - ], - [ - [ - 195029, - 195029 - ], - "mapped", - [ - 36033 - ] - ], - [ - [ - 195030, - 195030 - ], - "mapped", - [ - 36123 - ] - ], - [ - [ - 195031, - 195031 - ], - "mapped", - [ - 36215 - ] - ], - [ - [ - 195032, - 195032 - ], - "mapped", - [ - 163631 - ] - ], - [ - [ - 195033, - 195033 - ], - "mapped", - [ - 133124 - ] - ], - [ - [ - 195034, - 195034 - ], - "mapped", - [ - 36299 - ] - ], - [ - [ - 195035, - 195035 - ], - "mapped", - [ - 36284 - ] - ], - [ - [ - 195036, - 195036 - ], - "mapped", - [ - 36336 - ] - ], - [ - [ - 195037, - 195037 - ], - "mapped", - [ - 133342 - ] - ], - [ - [ - 195038, - 195038 - ], - "mapped", - [ - 36564 - ] - ], - [ - [ - 195039, - 195039 - ], - "mapped", - [ - 36664 - ] - ], - [ - [ - 195040, - 195040 - ], - "mapped", - [ - 165330 - ] - ], - [ - [ - 195041, - 195041 - ], - "mapped", - [ - 165357 - ] - ], - [ - [ - 195042, - 195042 - ], - "mapped", - [ - 37012 - ] - ], - [ - [ - 195043, - 195043 - ], - "mapped", - [ - 37105 - ] - ], - [ - [ - 195044, - 195044 - ], - "mapped", - [ - 37137 - ] - ], - [ - [ - 195045, - 195045 - ], - "mapped", - [ - 165678 - ] - ], - [ - [ - 195046, - 195046 - ], - "mapped", - [ - 37147 - ] - ], - [ - [ - 195047, - 195047 - ], - "mapped", - [ - 37432 - ] - ], - [ - [ - 195048, - 195048 - ], - "mapped", - [ - 37591 - ] - ], - [ - [ - 195049, - 195049 - ], - "mapped", - [ - 37592 - ] - ], - [ - [ - 195050, - 195050 - ], - "mapped", - [ - 37500 - ] - ], - [ - [ - 195051, - 195051 - ], - "mapped", - [ - 37881 - ] - ], - [ - [ - 195052, - 195052 - ], - "mapped", - [ - 37909 - ] - ], - [ - [ - 195053, - 195053 - ], - "mapped", - [ - 166906 - ] - ], - [ - [ - 195054, - 195054 - ], - "mapped", - [ - 38283 - ] - ], - [ - [ - 195055, - 195055 - ], - "mapped", - [ - 18837 - ] - ], - [ - [ - 195056, - 195056 - ], - "mapped", - [ - 38327 - ] - ], - [ - [ - 195057, - 195057 - ], - "mapped", - [ - 167287 - ] - ], - [ - [ - 195058, - 195058 - ], - "mapped", - [ - 18918 - ] - ], - [ - [ - 195059, - 195059 - ], - "mapped", - [ - 38595 - ] - ], - [ - [ - 195060, - 195060 - ], - "mapped", - [ - 23986 - ] - ], - [ - [ - 195061, - 195061 - ], - "mapped", - [ - 38691 - ] - ], - [ - [ - 195062, - 195062 - ], - "mapped", - [ - 168261 - ] - ], - [ - [ - 195063, - 195063 - ], - "mapped", - [ - 168474 - ] - ], - [ - [ - 195064, - 195064 - ], - "mapped", - [ - 19054 - ] - ], - [ - [ - 195065, - 195065 - ], - "mapped", - [ - 19062 - ] - ], - [ - [ - 195066, - 195066 - ], - "mapped", - [ - 38880 - ] - ], - [ - [ - 195067, - 195067 - ], - "mapped", - [ - 168970 - ] - ], - [ - [ - 195068, - 195068 - ], - "mapped", - [ - 19122 - ] - ], - [ - [ - 195069, - 195069 - ], - "mapped", - [ - 169110 - ] - ], - [ - [ - 195070, - 195071 - ], - "mapped", - [ - 38923 - ] - ], - [ - [ - 195072, - 195072 - ], - "mapped", - [ - 38953 - ] - ], - [ - [ - 195073, - 195073 - ], - "mapped", - [ - 169398 - ] - ], - [ - [ - 195074, - 195074 - ], - "mapped", - [ - 39138 - ] - ], - [ - [ - 195075, - 195075 - ], - "mapped", - [ - 19251 - ] - ], - [ - [ - 195076, - 195076 - ], - "mapped", - [ - 39209 - ] - ], - [ - [ - 195077, - 195077 - ], - "mapped", - [ - 39335 - ] - ], - [ - [ - 195078, - 195078 - ], - "mapped", - [ - 39362 - ] - ], - [ - [ - 195079, - 195079 - ], - "mapped", - [ - 39422 - ] - ], - [ - [ - 195080, - 195080 - ], - "mapped", - [ - 19406 - ] - ], - [ - [ - 195081, - 195081 - ], - "mapped", - [ - 170800 - ] - ], - [ - [ - 195082, - 195082 - ], - "mapped", - [ - 39698 - ] - ], - [ - [ - 195083, - 195083 - ], - "mapped", - [ - 40000 - ] - ], - [ - [ - 195084, - 195084 - ], - "mapped", - [ - 40189 - ] - ], - [ - [ - 195085, - 195085 - ], - "mapped", - [ - 19662 - ] - ], - [ - [ - 195086, - 195086 - ], - "mapped", - [ - 19693 - ] - ], - [ - [ - 195087, - 195087 - ], - "mapped", - [ - 40295 - ] - ], - [ - [ - 195088, - 195088 - ], - "mapped", - [ - 172238 - ] - ], - [ - [ - 195089, - 195089 - ], - "mapped", - [ - 19704 - ] - ], - [ - [ - 195090, - 195090 - ], - "mapped", - [ - 172293 - ] - ], - [ - [ - 195091, - 195091 - ], - "mapped", - [ - 172558 - ] - ], - [ - [ - 195092, - 195092 - ], - "mapped", - [ - 172689 - ] - ], - [ - [ - 195093, - 195093 - ], - "mapped", - [ - 40635 - ] - ], - [ - [ - 195094, - 195094 - ], - "mapped", - [ - 19798 - ] - ], - [ - [ - 195095, - 195095 - ], - "mapped", - [ - 40697 - ] - ], - [ - [ - 195096, - 195096 - ], - "mapped", - [ - 40702 - ] - ], - [ - [ - 195097, - 195097 - ], - "mapped", - [ - 40709 - ] - ], - [ - [ - 195098, - 195098 - ], - "mapped", - [ - 40719 - ] - ], - [ - [ - 195099, - 195099 - ], - "mapped", - [ - 40726 - ] - ], - [ - [ - 195100, - 195100 - ], - "mapped", - [ - 40763 - ] - ], - [ - [ - 195101, - 195101 - ], - "mapped", - [ - 173568 - ] - ], - [ - [ - 195102, - 196605 - ], - "disallowed" - ], - [ - [ - 196606, - 196607 - ], - "disallowed" - ], - [ - [ - 196608, - 262141 - ], - "disallowed" - ], - [ - [ - 262142, - 262143 - ], - "disallowed" - ], - [ - [ - 262144, - 327677 - ], - "disallowed" - ], - [ - [ - 327678, - 327679 - ], - "disallowed" - ], - [ - [ - 327680, - 393213 - ], - "disallowed" - ], - [ - [ - 393214, - 393215 - ], - "disallowed" - ], - [ - [ - 393216, - 458749 - ], - "disallowed" - ], - [ - [ - 458750, - 458751 - ], - "disallowed" - ], - [ - [ - 458752, - 524285 - ], - "disallowed" - ], - [ - [ - 524286, - 524287 - ], - "disallowed" - ], - [ - [ - 524288, - 589821 - ], - "disallowed" - ], - [ - [ - 589822, - 589823 - ], - "disallowed" - ], - [ - [ - 589824, - 655357 - ], - "disallowed" - ], - [ - [ - 655358, - 655359 - ], - "disallowed" - ], - [ - [ - 655360, - 720893 - ], - "disallowed" - ], - [ - [ - 720894, - 720895 - ], - "disallowed" - ], - [ - [ - 720896, - 786429 - ], - "disallowed" - ], - [ - [ - 786430, - 786431 - ], - "disallowed" - ], - [ - [ - 786432, - 851965 - ], - "disallowed" - ], - [ - [ - 851966, - 851967 - ], - "disallowed" - ], - [ - [ - 851968, - 917501 - ], - "disallowed" - ], - [ - [ - 917502, - 917503 - ], - "disallowed" - ], - [ - [ - 917504, - 917504 - ], - "disallowed" - ], - [ - [ - 917505, - 917505 - ], - "disallowed" - ], - [ - [ - 917506, - 917535 - ], - "disallowed" - ], - [ - [ - 917536, - 917631 - ], - "disallowed" - ], - [ - [ - 917632, - 917759 - ], - "disallowed" - ], - [ - [ - 917760, - 917999 - ], - "ignored" - ], - [ - [ - 918000, - 983037 - ], - "disallowed" - ], - [ - [ - 983038, - 983039 - ], - "disallowed" - ], - [ - [ - 983040, - 1048573 - ], - "disallowed" - ], - [ - [ - 1048574, - 1048575 - ], - "disallowed" - ], - [ - [ - 1048576, - 1114109 - ], - "disallowed" - ], - [ - [ - 1114110, - 1114111 - ], - "disallowed" - ] -]; - -var punycode = require$$0__default$1["default"]; -var mappingTable = require$$1$1; - -var PROCESSING_OPTIONS = { - TRANSITIONAL: 0, - NONTRANSITIONAL: 1 -}; - -function normalize(str) { // fix bug in v8 - return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); -} - -function findStatus(val) { - var start = 0; - var end = mappingTable.length - 1; - - while (start <= end) { - var mid = Math.floor((start + end) / 2); - - var target = mappingTable[mid]; - if (target[0][0] <= val && target[0][1] >= val) { - return target; - } else if (target[0][0] > val) { - end = mid - 1; - } else { - start = mid + 1; - } - } - - return null; -} - -var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; - -function countSymbols(string) { - return string - // replace every surrogate pair with a BMP symbol - .replace(regexAstralSymbols, '_') - // then get the length - .length; -} - -function mapChars(domain_name, useSTD3, processing_option) { - var hasError = false; - var processed = ""; - - var len = countSymbols(domain_name); - for (var i = 0; i < len; ++i) { - var codePoint = domain_name.codePointAt(i); - var status = findStatus(codePoint); - - switch (status[1]) { - case "disallowed": - hasError = true; - processed += String.fromCodePoint(codePoint); - break; - case "ignored": - break; - case "mapped": - processed += String.fromCodePoint.apply(String, status[2]); - break; - case "deviation": - if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { - processed += String.fromCodePoint.apply(String, status[2]); - } else { - processed += String.fromCodePoint(codePoint); - } - break; - case "valid": - processed += String.fromCodePoint(codePoint); - break; - case "disallowed_STD3_mapped": - if (useSTD3) { - hasError = true; - processed += String.fromCodePoint(codePoint); - } else { - processed += String.fromCodePoint.apply(String, status[2]); - } - break; - case "disallowed_STD3_valid": - if (useSTD3) { - hasError = true; - } - - processed += String.fromCodePoint(codePoint); - break; - } - } - - return { - string: processed, - error: hasError - }; -} - -var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; - -function validateLabel(label, processing_option) { - if (label.substr(0, 4) === "xn--") { - label = punycode.toUnicode(label); - PROCESSING_OPTIONS.NONTRANSITIONAL; - } - - var error = false; - - if (normalize(label) !== label || - (label[3] === "-" && label[4] === "-") || - label[0] === "-" || label[label.length - 1] === "-" || - label.indexOf(".") !== -1 || - label.search(combiningMarksRegex) === 0) { - error = true; - } - - var len = countSymbols(label); - for (var i = 0; i < len; ++i) { - var status = findStatus(label.codePointAt(i)); - if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || - (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && - status[1] !== "valid" && status[1] !== "deviation")) { - error = true; - break; - } - } - - return { - label: label, - error: error - }; -} - -function processing(domain_name, useSTD3, processing_option) { - var result = mapChars(domain_name, useSTD3, processing_option); - result.string = normalize(result.string); - - var labels = result.string.split("."); - for (var i = 0; i < labels.length; ++i) { - try { - var validation = validateLabel(labels[i]); - labels[i] = validation.label; - result.error = result.error || validation.error; - } catch(e) { - result.error = true; - } - } - - return { - string: labels.join("."), - error: result.error - }; -} - -tr46.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { - var result = processing(domain_name, useSTD3, processing_option); - var labels = result.string.split("."); - labels = labels.map(function(l) { - try { - return punycode.toASCII(l); - } catch(e) { - result.error = true; - return l; - } - }); - - if (verifyDnsLength) { - var total = labels.slice(0, labels.length - 1).join(".").length; - if (total.length > 253 || total.length === 0) { - result.error = true; - } - - for (var i=0; i < labels.length; ++i) { - if (labels.length > 63 || labels.length === 0) { - result.error = true; - break; - } - } - } - - if (result.error) return null; - return labels.join("."); -}; - -tr46.toUnicode = function(domain_name, useSTD3) { - var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); - - return { - domain: result.string, - error: result.error - }; -}; - -tr46.PROCESSING_OPTIONS = PROCESSING_OPTIONS; - -(function (module) { - const punycode = require$$0__default$1["default"]; - const tr46$1 = tr46; - - const specialSchemes = { - ftp: 21, - file: null, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 - }; - - const failure = Symbol("failure"); - - function countSymbols(str) { - return punycode.ucs2.decode(str).length; - } - - function at(input, idx) { - const c = input[idx]; - return isNaN(c) ? undefined : String.fromCodePoint(c); - } - - function isASCIIDigit(c) { - return c >= 0x30 && c <= 0x39; - } - - function isASCIIAlpha(c) { - return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); - } - - function isASCIIAlphanumeric(c) { - return isASCIIAlpha(c) || isASCIIDigit(c); - } - - function isASCIIHex(c) { - return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); - } - - function isSingleDot(buffer) { - return buffer === "." || buffer.toLowerCase() === "%2e"; - } - - function isDoubleDot(buffer) { - buffer = buffer.toLowerCase(); - return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; - } - - function isWindowsDriveLetterCodePoints(cp1, cp2) { - return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); - } - - function isWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); - } - - function isNormalizedWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; - } - - function containsForbiddenHostCodePoint(string) { - return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; - } - - function containsForbiddenHostCodePointExcludingPercent(string) { - return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; - } - - function isSpecialScheme(scheme) { - return specialSchemes[scheme] !== undefined; - } - - function isSpecial(url) { - return isSpecialScheme(url.scheme); - } - - function defaultPort(scheme) { - return specialSchemes[scheme]; - } - - function percentEncode(c) { - let hex = c.toString(16).toUpperCase(); - if (hex.length === 1) { - hex = "0" + hex; - } - - return "%" + hex; - } - - function utf8PercentEncode(c) { - const buf = new Buffer(c); - - let str = ""; - - for (let i = 0; i < buf.length; ++i) { - str += percentEncode(buf[i]); - } - - return str; - } - - function utf8PercentDecode(str) { - const input = new Buffer(str); - const output = []; - for (let i = 0; i < input.length; ++i) { - if (input[i] !== 37) { - output.push(input[i]); - } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { - output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); - i += 2; - } else { - output.push(input[i]); - } - } - return new Buffer(output).toString(); - } - - function isC0ControlPercentEncode(c) { - return c <= 0x1F || c > 0x7E; - } - - const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); - function isPathPercentEncode(c) { - return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); - } - - const extraUserinfoPercentEncodeSet = - new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); - function isUserinfoPercentEncode(c) { - return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); - } - - function percentEncodeChar(c, encodeSetPredicate) { - const cStr = String.fromCodePoint(c); - - if (encodeSetPredicate(c)) { - return utf8PercentEncode(cStr); - } - - return cStr; - } - - function parseIPv4Number(input) { - let R = 10; - - if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { - input = input.substring(2); - R = 16; - } else if (input.length >= 2 && input.charAt(0) === "0") { - input = input.substring(1); - R = 8; - } - - if (input === "") { - return 0; - } - - const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); - if (regex.test(input)) { - return failure; - } - - return parseInt(input, R); - } - - function parseIPv4(input) { - const parts = input.split("."); - if (parts[parts.length - 1] === "") { - if (parts.length > 1) { - parts.pop(); - } - } - - if (parts.length > 4) { - return input; - } - - const numbers = []; - for (const part of parts) { - if (part === "") { - return input; - } - const n = parseIPv4Number(part); - if (n === failure) { - return input; - } - - numbers.push(n); - } - - for (let i = 0; i < numbers.length - 1; ++i) { - if (numbers[i] > 255) { - return failure; - } - } - if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { - return failure; - } - - let ipv4 = numbers.pop(); - let counter = 0; - - for (const n of numbers) { - ipv4 += n * Math.pow(256, 3 - counter); - ++counter; - } - - return ipv4; - } - - function serializeIPv4(address) { - let output = ""; - let n = address; - - for (let i = 1; i <= 4; ++i) { - output = String(n % 256) + output; - if (i !== 4) { - output = "." + output; - } - n = Math.floor(n / 256); - } - - return output; - } - - function parseIPv6(input) { - const address = [0, 0, 0, 0, 0, 0, 0, 0]; - let pieceIndex = 0; - let compress = null; - let pointer = 0; - - input = punycode.ucs2.decode(input); - - if (input[pointer] === 58) { - if (input[pointer + 1] !== 58) { - return failure; - } - - pointer += 2; - ++pieceIndex; - compress = pieceIndex; - } - - while (pointer < input.length) { - if (pieceIndex === 8) { - return failure; - } - - if (input[pointer] === 58) { - if (compress !== null) { - return failure; - } - ++pointer; - ++pieceIndex; - compress = pieceIndex; - continue; - } - - let value = 0; - let length = 0; - - while (length < 4 && isASCIIHex(input[pointer])) { - value = value * 0x10 + parseInt(at(input, pointer), 16); - ++pointer; - ++length; - } - - if (input[pointer] === 46) { - if (length === 0) { - return failure; - } - - pointer -= length; - - if (pieceIndex > 6) { - return failure; - } - - let numbersSeen = 0; - - while (input[pointer] !== undefined) { - let ipv4Piece = null; - - if (numbersSeen > 0) { - if (input[pointer] === 46 && numbersSeen < 4) { - ++pointer; - } else { - return failure; - } - } - - if (!isASCIIDigit(input[pointer])) { - return failure; - } - - while (isASCIIDigit(input[pointer])) { - const number = parseInt(at(input, pointer)); - if (ipv4Piece === null) { - ipv4Piece = number; - } else if (ipv4Piece === 0) { - return failure; - } else { - ipv4Piece = ipv4Piece * 10 + number; - } - if (ipv4Piece > 255) { - return failure; - } - ++pointer; - } - - address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; - - ++numbersSeen; - - if (numbersSeen === 2 || numbersSeen === 4) { - ++pieceIndex; - } - } - - if (numbersSeen !== 4) { - return failure; - } - - break; - } else if (input[pointer] === 58) { - ++pointer; - if (input[pointer] === undefined) { - return failure; - } - } else if (input[pointer] !== undefined) { - return failure; - } - - address[pieceIndex] = value; - ++pieceIndex; - } - - if (compress !== null) { - let swaps = pieceIndex - compress; - pieceIndex = 7; - while (pieceIndex !== 0 && swaps > 0) { - const temp = address[compress + swaps - 1]; - address[compress + swaps - 1] = address[pieceIndex]; - address[pieceIndex] = temp; - --pieceIndex; - --swaps; - } - } else if (compress === null && pieceIndex !== 8) { - return failure; - } - - return address; - } - - function serializeIPv6(address) { - let output = ""; - const seqResult = findLongestZeroSequence(address); - const compress = seqResult.idx; - let ignore0 = false; - - for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { - if (ignore0 && address[pieceIndex] === 0) { - continue; - } else if (ignore0) { - ignore0 = false; - } - - if (compress === pieceIndex) { - const separator = pieceIndex === 0 ? "::" : ":"; - output += separator; - ignore0 = true; - continue; - } - - output += address[pieceIndex].toString(16); - - if (pieceIndex !== 7) { - output += ":"; - } - } - - return output; - } - - function parseHost(input, isSpecialArg) { - if (input[0] === "[") { - if (input[input.length - 1] !== "]") { - return failure; - } - - return parseIPv6(input.substring(1, input.length - 1)); - } - - if (!isSpecialArg) { - return parseOpaqueHost(input); - } - - const domain = utf8PercentDecode(input); - const asciiDomain = tr46$1.toASCII(domain, false, tr46$1.PROCESSING_OPTIONS.NONTRANSITIONAL, false); - if (asciiDomain === null) { - return failure; - } - - if (containsForbiddenHostCodePoint(asciiDomain)) { - return failure; - } - - const ipv4Host = parseIPv4(asciiDomain); - if (typeof ipv4Host === "number" || ipv4Host === failure) { - return ipv4Host; - } - - return asciiDomain; - } - - function parseOpaqueHost(input) { - if (containsForbiddenHostCodePointExcludingPercent(input)) { - return failure; - } - - let output = ""; - const decoded = punycode.ucs2.decode(input); - for (let i = 0; i < decoded.length; ++i) { - output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); - } - return output; - } - - function findLongestZeroSequence(arr) { - let maxIdx = null; - let maxLen = 1; // only find elements > 1 - let currStart = null; - let currLen = 0; - - for (let i = 0; i < arr.length; ++i) { - if (arr[i] !== 0) { - if (currLen > maxLen) { - maxIdx = currStart; - maxLen = currLen; - } - - currStart = null; - currLen = 0; - } else { - if (currStart === null) { - currStart = i; - } - ++currLen; - } - } - - // if trailing zeros - if (currLen > maxLen) { - maxIdx = currStart; - maxLen = currLen; - } - - return { - idx: maxIdx, - len: maxLen - }; - } - - function serializeHost(host) { - if (typeof host === "number") { - return serializeIPv4(host); - } - - // IPv6 serializer - if (host instanceof Array) { - return "[" + serializeIPv6(host) + "]"; - } - - return host; - } - - function trimControlChars(url) { - return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); - } - - function trimTabAndNewline(url) { - return url.replace(/\u0009|\u000A|\u000D/g, ""); - } - - function shortenPath(url) { - const path = url.path; - if (path.length === 0) { - return; - } - if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { - return; - } - - path.pop(); - } - - function includesCredentials(url) { - return url.username !== "" || url.password !== ""; - } - - function cannotHaveAUsernamePasswordPort(url) { - return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; - } - - function isNormalizedWindowsDriveLetter(string) { - return /^[A-Za-z]:$/.test(string); - } - - function URLStateMachine(input, base, encodingOverride, url, stateOverride) { - this.pointer = 0; - this.input = input; - this.base = base || null; - this.encodingOverride = encodingOverride || "utf-8"; - this.stateOverride = stateOverride; - this.url = url; - this.failure = false; - this.parseError = false; - - if (!this.url) { - this.url = { - scheme: "", - username: "", - password: "", - host: null, - port: null, - path: [], - query: null, - fragment: null, - - cannotBeABaseURL: false - }; - - const res = trimControlChars(this.input); - if (res !== this.input) { - this.parseError = true; - } - this.input = res; - } - - const res = trimTabAndNewline(this.input); - if (res !== this.input) { - this.parseError = true; - } - this.input = res; - - this.state = stateOverride || "scheme start"; - - this.buffer = ""; - this.atFlag = false; - this.arrFlag = false; - this.passwordTokenSeenFlag = false; - - this.input = punycode.ucs2.decode(this.input); - - for (; this.pointer <= this.input.length; ++this.pointer) { - const c = this.input[this.pointer]; - const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); - - // exec state machine - const ret = this["parse " + this.state](c, cStr); - if (!ret) { - break; // terminate algorithm - } else if (ret === failure) { - this.failure = true; - break; - } - } - } - - URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { - if (isASCIIAlpha(c)) { - this.buffer += cStr.toLowerCase(); - this.state = "scheme"; - } else if (!this.stateOverride) { - this.state = "no scheme"; - --this.pointer; - } else { - this.parseError = true; - return failure; - } - - return true; - }; - - URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { - if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { - this.buffer += cStr.toLowerCase(); - } else if (c === 58) { - if (this.stateOverride) { - if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { - return false; - } - - if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { - return false; - } - - if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { - return false; - } - - if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { - return false; - } - } - this.url.scheme = this.buffer; - this.buffer = ""; - if (this.stateOverride) { - return false; - } - if (this.url.scheme === "file") { - if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { - this.parseError = true; - } - this.state = "file"; - } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { - this.state = "special relative or authority"; - } else if (isSpecial(this.url)) { - this.state = "special authority slashes"; - } else if (this.input[this.pointer + 1] === 47) { - this.state = "path or authority"; - ++this.pointer; - } else { - this.url.cannotBeABaseURL = true; - this.url.path.push(""); - this.state = "cannot-be-a-base-URL path"; - } - } else if (!this.stateOverride) { - this.buffer = ""; - this.state = "no scheme"; - this.pointer = -1; - } else { - this.parseError = true; - return failure; - } - - return true; - }; - - URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { - if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { - return failure; - } else if (this.base.cannotBeABaseURL && c === 35) { - this.url.scheme = this.base.scheme; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.url.cannotBeABaseURL = true; - this.state = "fragment"; - } else if (this.base.scheme === "file") { - this.state = "file"; - --this.pointer; - } else { - this.state = "relative"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "relative"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { - if (c === 47) { - this.state = "authority"; - } else { - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse relative"] = function parseRelative(c) { - this.url.scheme = this.base.scheme; - if (isNaN(c)) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - } else if (c === 47) { - this.state = "relative slash"; - } else if (c === 63) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; - } else if (isSpecial(this.url) && c === 92) { - this.parseError = true; - this.state = "relative slash"; - } else { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(0, this.base.path.length - 1); - - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { - if (isSpecial(this.url) && (c === 47 || c === 92)) { - if (c === 92) { - this.parseError = true; - } - this.state = "special authority ignore slashes"; - } else if (c === 47) { - this.state = "authority"; - } else { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "special authority ignore slashes"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { - if (c !== 47 && c !== 92) { - this.state = "authority"; - --this.pointer; - } else { - this.parseError = true; - } - - return true; - }; - - URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { - if (c === 64) { - this.parseError = true; - if (this.atFlag) { - this.buffer = "%40" + this.buffer; - } - this.atFlag = true; - - // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars - const len = countSymbols(this.buffer); - for (let pointer = 0; pointer < len; ++pointer) { - const codePoint = this.buffer.codePointAt(pointer); - - if (codePoint === 58 && !this.passwordTokenSeenFlag) { - this.passwordTokenSeenFlag = true; - continue; - } - const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); - if (this.passwordTokenSeenFlag) { - this.url.password += encodedCodePoints; - } else { - this.url.username += encodedCodePoints; - } - } - this.buffer = ""; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92)) { - if (this.atFlag && this.buffer === "") { - this.parseError = true; - return failure; - } - this.pointer -= countSymbols(this.buffer) + 1; - this.buffer = ""; - this.state = "host"; - } else { - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse hostname"] = - URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { - if (this.stateOverride && this.url.scheme === "file") { - --this.pointer; - this.state = "file host"; - } else if (c === 58 && !this.arrFlag) { - if (this.buffer === "") { - this.parseError = true; - return failure; - } - - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - - this.url.host = host; - this.buffer = ""; - this.state = "port"; - if (this.stateOverride === "hostname") { - return false; - } - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92)) { - --this.pointer; - if (isSpecial(this.url) && this.buffer === "") { - this.parseError = true; - return failure; - } else if (this.stateOverride && this.buffer === "" && - (includesCredentials(this.url) || this.url.port !== null)) { - this.parseError = true; - return false; - } - - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - - this.url.host = host; - this.buffer = ""; - this.state = "path start"; - if (this.stateOverride) { - return false; - } - } else { - if (c === 91) { - this.arrFlag = true; - } else if (c === 93) { - this.arrFlag = false; - } - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { - if (isASCIIDigit(c)) { - this.buffer += cStr; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92) || - this.stateOverride) { - if (this.buffer !== "") { - const port = parseInt(this.buffer); - if (port > Math.pow(2, 16) - 1) { - this.parseError = true; - return failure; - } - this.url.port = port === defaultPort(this.url.scheme) ? null : port; - this.buffer = ""; - } - if (this.stateOverride) { - return false; - } - this.state = "path start"; - --this.pointer; - } else { - this.parseError = true; - return failure; - } - - return true; - }; - - const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); - - URLStateMachine.prototype["parse file"] = function parseFile(c) { - this.url.scheme = "file"; - - if (c === 47 || c === 92) { - if (c === 92) { - this.parseError = true; - } - this.state = "file slash"; - } else if (this.base !== null && this.base.scheme === "file") { - if (isNaN(c)) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - } else if (c === 63) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; - } else { - if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points - !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || - (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points - !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - shortenPath(this.url); - } else { - this.parseError = true; - } - - this.state = "path"; - --this.pointer; - } - } else { - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { - if (c === 47 || c === 92) { - if (c === 92) { - this.parseError = true; - } - this.state = "file host"; - } else { - if (this.base !== null && this.base.scheme === "file") { - if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { - this.url.path.push(this.base.path[0]); - } else { - this.url.host = this.base.host; - } - } - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { - if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { - --this.pointer; - if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { - this.parseError = true; - this.state = "path"; - } else if (this.buffer === "") { - this.url.host = ""; - if (this.stateOverride) { - return false; - } - this.state = "path start"; - } else { - let host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - if (host === "localhost") { - host = ""; - } - this.url.host = host; - - if (this.stateOverride) { - return false; - } - - this.buffer = ""; - this.state = "path start"; - } - } else { - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { - if (isSpecial(this.url)) { - if (c === 92) { - this.parseError = true; - } - this.state = "path"; - - if (c !== 47 && c !== 92) { - --this.pointer; - } - } else if (!this.stateOverride && c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (!this.stateOverride && c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else if (c !== undefined) { - this.state = "path"; - if (c !== 47) { - --this.pointer; - } - } - - return true; - }; - - URLStateMachine.prototype["parse path"] = function parsePath(c) { - if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || - (!this.stateOverride && (c === 63 || c === 35))) { - if (isSpecial(this.url) && c === 92) { - this.parseError = true; - } - - if (isDoubleDot(this.buffer)) { - shortenPath(this.url); - if (c !== 47 && !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); - } - } else if (isSingleDot(this.buffer) && c !== 47 && - !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); - } else if (!isSingleDot(this.buffer)) { - if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { - if (this.url.host !== "" && this.url.host !== null) { - this.parseError = true; - this.url.host = ""; - } - this.buffer = this.buffer[0] + ":"; - } - this.url.path.push(this.buffer); - } - this.buffer = ""; - if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { - while (this.url.path.length > 1 && this.url.path[0] === "") { - this.parseError = true; - this.url.path.shift(); - } - } - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } - if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } - } else { - // TODO: If c is not a URL code point and not "%", parse error. - - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.buffer += percentEncodeChar(c, isPathPercentEncode); - } - - return true; - }; - - URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else { - // TODO: Add: not a URL code point - if (!isNaN(c) && c !== 37) { - this.parseError = true; - } - - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - if (!isNaN(c)) { - this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); - } - } - - return true; - }; - - URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { - if (isNaN(c) || (!this.stateOverride && c === 35)) { - if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { - this.encodingOverride = "utf-8"; - } - - const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead - for (let i = 0; i < buffer.length; ++i) { - if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || - buffer[i] === 0x3C || buffer[i] === 0x3E) { - this.url.query += percentEncode(buffer[i]); - } else { - this.url.query += String.fromCodePoint(buffer[i]); - } - } - - this.buffer = ""; - if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } - } else { - // TODO: If c is not a URL code point and not "%", parse error. - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { - if (isNaN(c)) ; else if (c === 0x0) { - this.parseError = true; - } else { - // TODO: If c is not a URL code point and not "%", parse error. - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); - } - - return true; - }; - - function serializeURL(url, excludeFragment) { - let output = url.scheme + ":"; - if (url.host !== null) { - output += "//"; - - if (url.username !== "" || url.password !== "") { - output += url.username; - if (url.password !== "") { - output += ":" + url.password; - } - output += "@"; - } - - output += serializeHost(url.host); - - if (url.port !== null) { - output += ":" + url.port; - } - } else if (url.host === null && url.scheme === "file") { - output += "//"; - } - - if (url.cannotBeABaseURL) { - output += url.path[0]; - } else { - for (const string of url.path) { - output += "/" + string; - } - } - - if (url.query !== null) { - output += "?" + url.query; - } - - if (!excludeFragment && url.fragment !== null) { - output += "#" + url.fragment; - } - - return output; - } - - function serializeOrigin(tuple) { - let result = tuple.scheme + "://"; - result += serializeHost(tuple.host); - - if (tuple.port !== null) { - result += ":" + tuple.port; - } - - return result; - } - - module.exports.serializeURL = serializeURL; - - module.exports.serializeURLOrigin = function (url) { - // https://url.spec.whatwg.org/#concept-url-origin - switch (url.scheme) { - case "blob": - try { - return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); - } catch (e) { - // serializing an opaque origin returns "null" - return "null"; - } - case "ftp": - case "gopher": - case "http": - case "https": - case "ws": - case "wss": - return serializeOrigin({ - scheme: url.scheme, - host: url.host, - port: url.port - }); - case "file": - // spec says "exercise to the reader", chrome says "file://" - return "file://"; - default: - // serializing an opaque origin returns "null" - return "null"; - } - }; - - module.exports.basicURLParse = function (input, options) { - if (options === undefined) { - options = {}; - } - - const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); - if (usm.failure) { - return "failure"; - } - - return usm.url; - }; - - module.exports.setTheUsername = function (url, username) { - url.username = ""; - const decoded = punycode.ucs2.decode(username); - for (let i = 0; i < decoded.length; ++i) { - url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - } - }; - - module.exports.setThePassword = function (url, password) { - url.password = ""; - const decoded = punycode.ucs2.decode(password); - for (let i = 0; i < decoded.length; ++i) { - url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - } - }; - - module.exports.serializeHost = serializeHost; - - module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; - - module.exports.serializeInteger = function (integer) { - return String(integer); - }; - - module.exports.parseURL = function (input, options) { - if (options === undefined) { - options = {}; - } - - // We don't handle blobs, so this just delegates: - return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); - }; -} (urlStateMachine)); - -const usm = urlStateMachine.exports; - -URLImpl.implementation = class URLImpl { - constructor(constructorArgs) { - const url = constructorArgs[0]; - const base = constructorArgs[1]; - - let parsedBase = null; - if (base !== undefined) { - parsedBase = usm.basicURLParse(base); - if (parsedBase === "failure") { - throw new TypeError("Invalid base URL"); - } - } - - const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); - if (parsedURL === "failure") { - throw new TypeError("Invalid URL"); - } - - this._url = parsedURL; - - // TODO: query stuff - } - - get href() { - return usm.serializeURL(this._url); - } - - set href(v) { - const parsedURL = usm.basicURLParse(v); - if (parsedURL === "failure") { - throw new TypeError("Invalid URL"); - } - - this._url = parsedURL; - } - - get origin() { - return usm.serializeURLOrigin(this._url); - } - - get protocol() { - return this._url.scheme + ":"; - } - - set protocol(v) { - usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); - } - - get username() { - return this._url.username; - } - - set username(v) { - if (usm.cannotHaveAUsernamePasswordPort(this._url)) { - return; - } - - usm.setTheUsername(this._url, v); - } - - get password() { - return this._url.password; - } - - set password(v) { - if (usm.cannotHaveAUsernamePasswordPort(this._url)) { - return; - } - - usm.setThePassword(this._url, v); - } - - get host() { - const url = this._url; - - if (url.host === null) { - return ""; - } - - if (url.port === null) { - return usm.serializeHost(url.host); - } - - return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); - } - - set host(v) { - if (this._url.cannotBeABaseURL) { - return; - } - - usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); - } - - get hostname() { - if (this._url.host === null) { - return ""; - } - - return usm.serializeHost(this._url.host); - } - - set hostname(v) { - if (this._url.cannotBeABaseURL) { - return; - } - - usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); - } - - get port() { - if (this._url.port === null) { - return ""; - } - - return usm.serializeInteger(this._url.port); - } - - set port(v) { - if (usm.cannotHaveAUsernamePasswordPort(this._url)) { - return; - } - - if (v === "") { - this._url.port = null; - } else { - usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); - } - } - - get pathname() { - if (this._url.cannotBeABaseURL) { - return this._url.path[0]; - } - - if (this._url.path.length === 0) { - return ""; - } - - return "/" + this._url.path.join("/"); - } - - set pathname(v) { - if (this._url.cannotBeABaseURL) { - return; - } - - this._url.path = []; - usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); - } - - get search() { - if (this._url.query === null || this._url.query === "") { - return ""; - } - - return "?" + this._url.query; - } - - set search(v) { - // TODO: query stuff - - const url = this._url; - - if (v === "") { - url.query = null; - return; - } - - const input = v[0] === "?" ? v.substring(1) : v; - url.query = ""; - usm.basicURLParse(input, { url, stateOverride: "query" }); - } - - get hash() { - if (this._url.fragment === null || this._url.fragment === "") { - return ""; - } - - return "#" + this._url.fragment; - } - - set hash(v) { - if (v === "") { - this._url.fragment = null; - return; - } - - const input = v[0] === "#" ? v.substring(1) : v; - this._url.fragment = ""; - usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); - } - - toJSON() { - return this.href; - } -}; - -(function (module) { - - const conversions = lib$3; - const utils = utils$n.exports; - const Impl = URLImpl; - - const impl = utils.implSymbol; - - function URL(url) { - if (!this || this[impl] || !(this instanceof URL)) { - throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); - } - if (arguments.length < 1) { - throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); - } - const args = []; - for (let i = 0; i < arguments.length && i < 2; ++i) { - args[i] = arguments[i]; - } - args[0] = conversions["USVString"](args[0]); - if (args[1] !== undefined) { - args[1] = conversions["USVString"](args[1]); - } - - module.exports.setup(this, args); - } - - URL.prototype.toJSON = function toJSON() { - if (!this || !module.exports.is(this)) { - throw new TypeError("Illegal invocation"); - } - const args = []; - for (let i = 0; i < arguments.length && i < 0; ++i) { - args[i] = arguments[i]; - } - return this[impl].toJSON.apply(this[impl], args); - }; - Object.defineProperty(URL.prototype, "href", { - get() { - return this[impl].href; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].href = V; - }, - enumerable: true, - configurable: true - }); - - URL.prototype.toString = function () { - if (!this || !module.exports.is(this)) { - throw new TypeError("Illegal invocation"); - } - return this.href; - }; - - Object.defineProperty(URL.prototype, "origin", { - get() { - return this[impl].origin; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "protocol", { - get() { - return this[impl].protocol; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].protocol = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "username", { - get() { - return this[impl].username; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].username = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "password", { - get() { - return this[impl].password; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].password = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "host", { - get() { - return this[impl].host; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].host = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "hostname", { - get() { - return this[impl].hostname; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].hostname = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "port", { - get() { - return this[impl].port; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].port = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "pathname", { - get() { - return this[impl].pathname; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].pathname = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "search", { - get() { - return this[impl].search; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].search = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "hash", { - get() { - return this[impl].hash; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].hash = V; - }, - enumerable: true, - configurable: true - }); - - - module.exports = { - is(obj) { - return !!obj && obj[impl] instanceof Impl.implementation; - }, - create(constructorArgs, privateData) { - let obj = Object.create(URL.prototype); - this.setup(obj, constructorArgs, privateData); - return obj; - }, - setup(obj, constructorArgs, privateData) { - if (!privateData) privateData = {}; - privateData.wrapper = obj; - - obj[impl] = new Impl.implementation(constructorArgs, privateData); - obj[impl][utils.wrapperSymbol] = obj; - }, - interface: URL, - expose: { - Window: { URL: URL }, - Worker: { URL: URL } - } - }; -} (URL$2)); - -publicApi.URL = URL$2.exports.interface; -publicApi.serializeURL = urlStateMachine.exports.serializeURL; -publicApi.serializeURLOrigin = urlStateMachine.exports.serializeURLOrigin; -publicApi.basicURLParse = urlStateMachine.exports.basicURLParse; -publicApi.setTheUsername = urlStateMachine.exports.setTheUsername; -publicApi.setThePassword = urlStateMachine.exports.setThePassword; -publicApi.serializeHost = urlStateMachine.exports.serializeHost; -publicApi.serializeInteger = urlStateMachine.exports.serializeInteger; -publicApi.parseURL = urlStateMachine.exports.parseURL; - -// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js - -// fix for "Readable" isn't a named export issue -const Readable = Stream__default["default"].Readable; - -const BUFFER = Symbol('buffer'); -const TYPE = Symbol('type'); - -class Blob { - constructor() { - this[TYPE] = ''; - - const blobParts = arguments[0]; - const options = arguments[1]; - - const buffers = []; - let size = 0; - - if (blobParts) { - const a = blobParts; - const length = Number(a.length); - for (let i = 0; i < length; i++) { - const element = a[i]; - let buffer; - if (element instanceof Buffer) { - buffer = element; - } else if (ArrayBuffer.isView(element)) { - buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); - } else if (element instanceof ArrayBuffer) { - buffer = Buffer.from(element); - } else if (element instanceof Blob) { - buffer = element[BUFFER]; - } else { - buffer = Buffer.from(typeof element === 'string' ? element : String(element)); - } - size += buffer.length; - buffers.push(buffer); - } - } - - this[BUFFER] = Buffer.concat(buffers); - - let type = options && options.type !== undefined && String(options.type).toLowerCase(); - if (type && !/[^\u0020-\u007E]/.test(type)) { - this[TYPE] = type; - } - } - get size() { - return this[BUFFER].length; - } - get type() { - return this[TYPE]; - } - text() { - return Promise.resolve(this[BUFFER].toString()); - } - arrayBuffer() { - const buf = this[BUFFER]; - const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - return Promise.resolve(ab); - } - stream() { - const readable = new Readable(); - readable._read = function () {}; - readable.push(this[BUFFER]); - readable.push(null); - return readable; - } - toString() { - return '[object Blob]'; - } - slice() { - const size = this.size; - - const start = arguments[0]; - const end = arguments[1]; - let relativeStart, relativeEnd; - if (start === undefined) { - relativeStart = 0; - } else if (start < 0) { - relativeStart = Math.max(size + start, 0); - } else { - relativeStart = Math.min(start, size); - } - if (end === undefined) { - relativeEnd = size; - } else if (end < 0) { - relativeEnd = Math.max(size + end, 0); - } else { - relativeEnd = Math.min(end, size); - } - const span = Math.max(relativeEnd - relativeStart, 0); - - const buffer = this[BUFFER]; - const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); - const blob = new Blob([], { type: arguments[2] }); - blob[BUFFER] = slicedBuffer; - return blob; - } -} - -Object.defineProperties(Blob.prototype, { - size: { enumerable: true }, - type: { enumerable: true }, - slice: { enumerable: true } -}); - -Object.defineProperty(Blob.prototype, Symbol.toStringTag, { - value: 'Blob', - writable: false, - enumerable: false, - configurable: true -}); - -/** - * fetch-error.js - * - * FetchError interface for operational errors - */ - -/** - * Create FetchError instance - * - * @param String message Error message for human - * @param String type Error type for machine - * @param String systemError For Node.js system error - * @return FetchError - */ -function FetchError(message, type, systemError) { - Error.call(this, message); - - this.message = message; - this.type = type; - - // when err.type is `system`, err.code contains system error code - if (systemError) { - this.code = this.errno = systemError.code; - } - - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); -} - -FetchError.prototype = Object.create(Error.prototype); -FetchError.prototype.constructor = FetchError; -FetchError.prototype.name = 'FetchError'; - -let convert$2; -try { - convert$2 = require('encoding').convert; -} catch (e) {} - -const INTERNALS = Symbol('Body internals'); - -// fix an issue where "PassThrough" isn't a named export for node <10 -const PassThrough = Stream__default["default"].PassThrough; - -/** - * Body mixin - * - * Ref: https://fetch.spec.whatwg.org/#body - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -function Body(body) { - var _this = this; - - var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, - _ref$size = _ref.size; - - let size = _ref$size === undefined ? 0 : _ref$size; - var _ref$timeout = _ref.timeout; - let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; - - if (body == null) { - // body is undefined or null - body = null; - } else if (isURLSearchParams(body)) { - // body is a URLSearchParams - body = Buffer.from(body.toString()); - } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { - // body is ArrayBuffer - body = Buffer.from(body); - } else if (ArrayBuffer.isView(body)) { - // body is ArrayBufferView - body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof Stream__default["default"]) ; else { - // none of the above - // coerce to string then buffer - body = Buffer.from(String(body)); - } - this[INTERNALS] = { - body, - disturbed: false, - error: null - }; - this.size = size; - this.timeout = timeout; - - if (body instanceof Stream__default["default"]) { - body.on('error', function (err) { - const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); - _this[INTERNALS].error = error; - }); - } -} - -Body.prototype = { - get body() { - return this[INTERNALS].body; - }, - - get bodyUsed() { - return this[INTERNALS].disturbed; - }, - - /** - * Decode response as ArrayBuffer - * - * @return Promise - */ - arrayBuffer() { - return consumeBody.call(this).then(function (buf) { - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - }); - }, - - /** - * Return raw response as Blob - * - * @return Promise - */ - blob() { - let ct = this.headers && this.headers.get('content-type') || ''; - return consumeBody.call(this).then(function (buf) { - return Object.assign( - // Prevent copying - new Blob([], { - type: ct.toLowerCase() - }), { - [BUFFER]: buf - }); - }); - }, - - /** - * Decode response as json - * - * @return Promise - */ - json() { - var _this2 = this; - - return consumeBody.call(this).then(function (buffer) { - try { - return JSON.parse(buffer.toString()); - } catch (err) { - return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); - } - }); - }, - - /** - * Decode response as text - * - * @return Promise - */ - text() { - return consumeBody.call(this).then(function (buffer) { - return buffer.toString(); - }); - }, - - /** - * Decode response as buffer (non-spec api) - * - * @return Promise - */ - buffer() { - return consumeBody.call(this); - }, - - /** - * Decode response as text, while automatically detecting the encoding and - * trying to decode to UTF-8 (non-spec api) - * - * @return Promise - */ - textConverted() { - var _this3 = this; - - return consumeBody.call(this).then(function (buffer) { - return convertBody(buffer, _this3.headers); - }); - } -}; - -// In browsers, all properties are enumerable. -Object.defineProperties(Body.prototype, { - body: { enumerable: true }, - bodyUsed: { enumerable: true }, - arrayBuffer: { enumerable: true }, - blob: { enumerable: true }, - json: { enumerable: true }, - text: { enumerable: true } -}); - -Body.mixIn = function (proto) { - for (const name of Object.getOwnPropertyNames(Body.prototype)) { - // istanbul ignore else: future proof - if (!(name in proto)) { - const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); - Object.defineProperty(proto, name, desc); - } - } -}; - -/** - * Consume and convert an entire Body to a Buffer. - * - * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body - * - * @return Promise - */ -function consumeBody() { - var _this4 = this; - - if (this[INTERNALS].disturbed) { - return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); - } - - this[INTERNALS].disturbed = true; - - if (this[INTERNALS].error) { - return Body.Promise.reject(this[INTERNALS].error); - } - - let body = this.body; - - // body is null - if (body === null) { - return Body.Promise.resolve(Buffer.alloc(0)); - } - - // body is blob - if (isBlob(body)) { - body = body.stream(); - } - - // body is buffer - if (Buffer.isBuffer(body)) { - return Body.Promise.resolve(body); - } - - // istanbul ignore if: should never happen - if (!(body instanceof Stream__default["default"])) { - return Body.Promise.resolve(Buffer.alloc(0)); - } - - // body is stream - // get ready to actually consume the body - let accum = []; - let accumBytes = 0; - let abort = false; - - return new Body.Promise(function (resolve, reject) { - let resTimeout; - - // allow timeout on slow response body - if (_this4.timeout) { - resTimeout = setTimeout(function () { - abort = true; - reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); - }, _this4.timeout); - } - - // handle stream errors - body.on('error', function (err) { - if (err.name === 'AbortError') { - // if the request was aborted, reject with this Error - abort = true; - reject(err); - } else { - // other errors, such as incorrect content-encoding - reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); - } - }); - - body.on('data', function (chunk) { - if (abort || chunk === null) { - return; - } - - if (_this4.size && accumBytes + chunk.length > _this4.size) { - abort = true; - reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); - return; - } - - accumBytes += chunk.length; - accum.push(chunk); - }); - - body.on('end', function () { - if (abort) { - return; - } - - clearTimeout(resTimeout); - - try { - resolve(Buffer.concat(accum, accumBytes)); - } catch (err) { - // handle streams that have accumulated too much data (issue #414) - reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); - } - }); - }); -} - -/** - * Detect buffer encoding and convert to target encoding - * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding - * - * @param Buffer buffer Incoming buffer - * @param String encoding Target encoding - * @return String - */ -function convertBody(buffer, headers) { - if (typeof convert$2 !== 'function') { - throw new Error('The package `encoding` must be installed to use the textConverted() function'); - } - - const ct = headers.get('content-type'); - let charset = 'utf-8'; - let res, str; - - // header - if (ct) { - res = /charset=([^;]*)/i.exec(ct); - } - - // no charset in content type, peek at response body for at most 1024 bytes - str = buffer.slice(0, 1024).toString(); - - // html5 - if (!res && str) { - res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; - - this[MAP] = Object.create(null); - - if (init instanceof Headers) { - const rawHeaders = init.raw(); - const headerNames = Object.keys(rawHeaders); - - for (const headerName of headerNames) { - for (const value of rawHeaders[headerName]) { - this.append(headerName, value); - } - } - - return; - } - - // We don't worry about converting prop to ByteString here as append() - // will handle it. - if (init == null) ; else if (typeof init === 'object') { - const method = init[Symbol.iterator]; - if (method != null) { - if (typeof method !== 'function') { - throw new TypeError('Header pairs must be iterable'); - } - - // sequence> - // Note: per spec we have to first exhaust the lists then process them - const pairs = []; - for (const pair of init) { - if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { - throw new TypeError('Each header pair must be iterable'); - } - pairs.push(Array.from(pair)); - } - - for (const pair of pairs) { - if (pair.length !== 2) { - throw new TypeError('Each header pair must be a name/value tuple'); - } - this.append(pair[0], pair[1]); - } - } else { - // record - for (const key of Object.keys(init)) { - const value = init[key]; - this.append(key, value); - } - } - } else { - throw new TypeError('Provided initializer must be an object'); - } - } - - /** - * Return combined header value given name - * - * @param String name Header name - * @return Mixed - */ - get(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key === undefined) { - return null; - } - - return this[MAP][key].join(', '); - } - - /** - * Iterate over all headers - * - * @param Function callback Executed for each item with parameters (value, name, thisArg) - * @param Boolean thisArg `this` context for callback function - * @return Void - */ - forEach(callback) { - let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; - - let pairs = getHeaders(this); - let i = 0; - while (i < pairs.length) { - var _pairs$i = pairs[i]; - const name = _pairs$i[0], - value = _pairs$i[1]; - - callback.call(thisArg, value, name, this); - pairs = getHeaders(this); - i++; - } - } - - /** - * Overwrite header values given name - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - set(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - this[MAP][key !== undefined ? key : name] = [value]; - } - - /** - * Append a value onto existing header - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - append(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - if (key !== undefined) { - this[MAP][key].push(value); - } else { - this[MAP][name] = [value]; - } - } - - /** - * Check for header name existence - * - * @param String name Header name - * @return Boolean - */ - has(name) { - name = `${name}`; - validateName(name); - return find(this[MAP], name) !== undefined; - } - - /** - * Delete all header values given name - * - * @param String name Header name - * @return Void - */ - delete(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key !== undefined) { - delete this[MAP][key]; - } - } - - /** - * Return raw headers (non-spec api) - * - * @return Object - */ - raw() { - return this[MAP]; - } - - /** - * Get an iterator on keys. - * - * @return Iterator - */ - keys() { - return createHeadersIterator(this, 'key'); - } - - /** - * Get an iterator on values. - * - * @return Iterator - */ - values() { - return createHeadersIterator(this, 'value'); - } - - /** - * Get an iterator on entries. - * - * This is the default iterator of the Headers object. - * - * @return Iterator - */ - [Symbol.iterator]() { - return createHeadersIterator(this, 'key+value'); - } -} -Headers.prototype.entries = Headers.prototype[Symbol.iterator]; - -Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: 'Headers', - writable: false, - enumerable: false, - configurable: true -}); - -Object.defineProperties(Headers.prototype, { - get: { enumerable: true }, - forEach: { enumerable: true }, - set: { enumerable: true }, - append: { enumerable: true }, - has: { enumerable: true }, - delete: { enumerable: true }, - keys: { enumerable: true }, - values: { enumerable: true }, - entries: { enumerable: true } -}); - -function getHeaders(headers) { - let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; - - const keys = Object.keys(headers[MAP]).sort(); - return keys.map(kind === 'key' ? function (k) { - return k.toLowerCase(); - } : kind === 'value' ? function (k) { - return headers[MAP][k].join(', '); - } : function (k) { - return [k.toLowerCase(), headers[MAP][k].join(', ')]; - }); -} - -const INTERNAL = Symbol('internal'); - -function createHeadersIterator(target, kind) { - const iterator = Object.create(HeadersIteratorPrototype); - iterator[INTERNAL] = { - target, - kind, - index: 0 - }; - return iterator; -} - -const HeadersIteratorPrototype = Object.setPrototypeOf({ - next() { - // istanbul ignore if - if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { - throw new TypeError('Value of `this` is not a HeadersIterator'); - } - - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, - kind = _INTERNAL.kind, - index = _INTERNAL.index; - - const values = getHeaders(target, kind); - const len = values.length; - if (index >= len) { - return { - value: undefined, - done: true - }; - } - - this[INTERNAL].index = index + 1; - - return { - value: values[index], - done: false - }; - } -}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); - -Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: 'HeadersIterator', - writable: false, - enumerable: false, - configurable: true -}); - -/** - * Export the Headers object in a form that Node.js can consume. - * - * @param Headers headers - * @return Object - */ -function exportNodeCompatibleHeaders(headers) { - const obj = Object.assign({ __proto__: null }, headers[MAP]); - - // http.request() only supports string as Host header. This hack makes - // specifying custom Host header possible. - const hostHeaderKey = find(headers[MAP], 'Host'); - if (hostHeaderKey !== undefined) { - obj[hostHeaderKey] = obj[hostHeaderKey][0]; - } - - return obj; -} - -/** - * Create a Headers object from an object of headers, ignoring those that do - * not conform to HTTP grammar productions. - * - * @param Object obj Object of headers - * @return Headers - */ -function createHeadersLenient(obj) { - const headers = new Headers(); - for (const name of Object.keys(obj)) { - if (invalidTokenRegex.test(name)) { - continue; - } - if (Array.isArray(obj[name])) { - for (const val of obj[name]) { - if (invalidHeaderCharRegex.test(val)) { - continue; - } - if (headers[MAP][name] === undefined) { - headers[MAP][name] = [val]; - } else { - headers[MAP][name].push(val); - } - } - } else if (!invalidHeaderCharRegex.test(obj[name])) { - headers[MAP][name] = [obj[name]]; - } - } - return headers; -} - -const INTERNALS$1 = Symbol('Response internals'); - -// fix an issue where "STATUS_CODES" aren't a named export for node <10 -const STATUS_CODES = http__default["default"].STATUS_CODES; - -/** - * Response class - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -class Response { - constructor() { - let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - Body.call(this, body, opts); - - const status = opts.status || 200; - const headers = new Headers(opts.headers); - - if (body != null && !headers.has('Content-Type')) { - const contentType = extractContentType(body); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - this[INTERNALS$1] = { - url: opts.url, - status, - statusText: opts.statusText || STATUS_CODES[status], - headers, - counter: opts.counter - }; - } - - get url() { - return this[INTERNALS$1].url || ''; - } - - get status() { - return this[INTERNALS$1].status; - } - - /** - * Convenience property representing if the request ended normally - */ - get ok() { - return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; - } - - get redirected() { - return this[INTERNALS$1].counter > 0; - } - - get statusText() { - return this[INTERNALS$1].statusText; - } - - get headers() { - return this[INTERNALS$1].headers; - } - - /** - * Clone this response - * - * @return Response - */ - clone() { - return new Response(clone(this), { - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected - }); - } -} - -Body.mixIn(Response.prototype); - -Object.defineProperties(Response.prototype, { - url: { enumerable: true }, - status: { enumerable: true }, - ok: { enumerable: true }, - redirected: { enumerable: true }, - statusText: { enumerable: true }, - headers: { enumerable: true }, - clone: { enumerable: true } -}); - -Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: 'Response', - writable: false, - enumerable: false, - configurable: true -}); - -const INTERNALS$2 = Symbol('Request internals'); -const URL$1 = Url__default["default"].URL || publicApi.URL; - -// fix an issue where "format", "parse" aren't a named export for node <10 -const parse_url = Url__default["default"].parse; -const format_url = Url__default["default"].format; - -/** - * Wrapper around `new URL` to handle arbitrary URLs - * - * @param {string} urlStr - * @return {void} - */ -function parseURL(urlStr) { - /* - Check whether the URL is absolute or not - Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 - Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 - */ - if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { - urlStr = new URL$1(urlStr).toString(); - } - - // Fallback to old implementation for arbitrary URLs - return parse_url(urlStr); -} - -const streamDestructionSupported = 'destroy' in Stream__default["default"].Readable.prototype; - -/** - * Check if a value is an instance of Request. - * - * @param Mixed input - * @return Boolean - */ -function isRequest(input) { - return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; -} - -function isAbortSignal(signal) { - const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); - return !!(proto && proto.constructor.name === 'AbortSignal'); -} - -/** - * Request class - * - * @param Mixed input Url or Request instance - * @param Object init Custom options - * @return Void - */ -class Request { - constructor(input) { - let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - let parsedURL; - - // normalize input - if (!isRequest(input)) { - if (input && input.href) { - // in order to support Node.js' Url objects; though WHATWG's URL objects - // will fall into this branch also (since their `toString()` will return - // `href` property anyway) - parsedURL = parseURL(input.href); - } else { - // coerce input to a string before attempting to parse - parsedURL = parseURL(`${input}`); - } - input = {}; - } else { - parsedURL = parseURL(input.url); - } - - let method = init.method || input.method || 'GET'; - method = method.toUpperCase(); - - if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { - throw new TypeError('Request with GET/HEAD method cannot have body'); - } - - let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; - - Body.call(this, inputBody, { - timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0 - }); - - const headers = new Headers(init.headers || input.headers || {}); - - if (inputBody != null && !headers.has('Content-Type')) { - const contentType = extractContentType(inputBody); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - let signal = isRequest(input) ? input.signal : null; - if ('signal' in init) signal = init.signal; - - if (signal != null && !isAbortSignal(signal)) { - throw new TypeError('Expected signal to be an instanceof AbortSignal'); - } - - this[INTERNALS$2] = { - method, - redirect: init.redirect || input.redirect || 'follow', - headers, - parsedURL, - signal - }; - - // node-fetch-only options - this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; - this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; - this.counter = init.counter || input.counter || 0; - this.agent = init.agent || input.agent; - } - - get method() { - return this[INTERNALS$2].method; - } - - get url() { - return format_url(this[INTERNALS$2].parsedURL); - } - - get headers() { - return this[INTERNALS$2].headers; - } - - get redirect() { - return this[INTERNALS$2].redirect; - } - - get signal() { - return this[INTERNALS$2].signal; - } - - /** - * Clone this request - * - * @return Request - */ - clone() { - return new Request(this); - } -} - -Body.mixIn(Request.prototype); - -Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: 'Request', - writable: false, - enumerable: false, - configurable: true -}); - -Object.defineProperties(Request.prototype, { - method: { enumerable: true }, - url: { enumerable: true }, - headers: { enumerable: true }, - redirect: { enumerable: true }, - clone: { enumerable: true }, - signal: { enumerable: true } -}); - -/** - * Convert a Request to Node.js http request options. - * - * @param Request A Request instance - * @return Object The options object to be passed to http.request - */ -function getNodeRequestOptions(request) { - const parsedURL = request[INTERNALS$2].parsedURL; - const headers = new Headers(request[INTERNALS$2].headers); - - // fetch step 1.3 - if (!headers.has('Accept')) { - headers.set('Accept', '*/*'); - } - - // Basic fetch - if (!parsedURL.protocol || !parsedURL.hostname) { - throw new TypeError('Only absolute URLs are supported'); - } - - if (!/^https?:$/.test(parsedURL.protocol)) { - throw new TypeError('Only HTTP(S) protocols are supported'); - } - - if (request.signal && request.body instanceof Stream__default["default"].Readable && !streamDestructionSupported) { - throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); - } - - // HTTP-network-or-cache fetch steps 2.4-2.7 - let contentLengthValue = null; - if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { - contentLengthValue = '0'; - } - if (request.body != null) { - const totalBytes = getTotalBytes(request); - if (typeof totalBytes === 'number') { - contentLengthValue = String(totalBytes); - } - } - if (contentLengthValue) { - headers.set('Content-Length', contentLengthValue); - } - - // HTTP-network-or-cache fetch step 2.11 - if (!headers.has('User-Agent')) { - headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); - } - - // HTTP-network-or-cache fetch step 2.15 - if (request.compress && !headers.has('Accept-Encoding')) { - headers.set('Accept-Encoding', 'gzip,deflate'); - } - - let agent = request.agent; - if (typeof agent === 'function') { - agent = agent(parsedURL); - } - - if (!headers.has('Connection') && !agent) { - headers.set('Connection', 'close'); - } - - // HTTP-network fetch step 4.2 - // chunked encoding is handled by Node.js - - return Object.assign({}, parsedURL, { - method: request.method, - headers: exportNodeCompatibleHeaders(headers), - agent - }); -} - -/** - * abort-error.js - * - * AbortError interface for cancelled requests - */ - -/** - * Create AbortError instance - * - * @param String message Error message for human - * @return AbortError - */ -function AbortError(message) { - Error.call(this, message); - - this.type = 'aborted'; - this.message = message; - - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); -} - -AbortError.prototype = Object.create(Error.prototype); -AbortError.prototype.constructor = AbortError; -AbortError.prototype.name = 'AbortError'; - -const URL$1$1 = Url__default["default"].URL || publicApi.URL; - -// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 -const PassThrough$1 = Stream__default["default"].PassThrough; - -const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { - const orig = new URL$1$1(original).hostname; - const dest = new URL$1$1(destination).hostname; - - return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); -}; - -/** - * Fetch function - * - * @param Mixed url Absolute url or Request instance - * @param Object opts Fetch options - * @return Promise - */ -function fetch$1(url, opts) { - - // allow custom promise - if (!fetch$1.Promise) { - throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); - } - - Body.Promise = fetch$1.Promise; - - // wrap http.request into fetch - return new fetch$1.Promise(function (resolve, reject) { - // build request object - const request = new Request(url, opts); - const options = getNodeRequestOptions(request); - - const send = (options.protocol === 'https:' ? require$$2__default["default"] : http__default["default"]).request; - const signal = request.signal; - - let response = null; - - const abort = function abort() { - let error = new AbortError('The user aborted a request.'); - reject(error); - if (request.body && request.body instanceof Stream__default["default"].Readable) { - request.body.destroy(error); - } - if (!response || !response.body) return; - response.body.emit('error', error); - }; - - if (signal && signal.aborted) { - abort(); - return; - } - - const abortAndFinalize = function abortAndFinalize() { - abort(); - finalize(); - }; - - // send request - const req = send(options); - let reqTimeout; - - if (signal) { - signal.addEventListener('abort', abortAndFinalize); - } - - function finalize() { - req.abort(); - if (signal) signal.removeEventListener('abort', abortAndFinalize); - clearTimeout(reqTimeout); - } - - if (request.timeout) { - req.once('socket', function (socket) { - reqTimeout = setTimeout(function () { - reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); - finalize(); - }, request.timeout); - }); - } - - req.on('error', function (err) { - reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); - finalize(); - }); - - req.on('response', function (res) { - clearTimeout(reqTimeout); - - const headers = createHeadersLenient(res.headers); - - // HTTP fetch step 5 - if (fetch$1.isRedirect(res.statusCode)) { - // HTTP fetch step 5.2 - const location = headers.get('Location'); - - // HTTP fetch step 5.3 - let locationURL = null; - try { - locationURL = location === null ? null : new URL$1$1(location, request.url).toString(); - } catch (err) { - // error here can only be invalid URL in Location: header - // do not throw when options.redirect == manual - // let the user extract the errorneous redirect URL - if (request.redirect !== 'manual') { - reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); - finalize(); - return; - } - } - - // HTTP fetch step 5.5 - switch (request.redirect) { - case 'error': - reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); - finalize(); - return; - case 'manual': - // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. - if (locationURL !== null) { - // handle corrupted header - try { - headers.set('Location', locationURL); - } catch (err) { - // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request - reject(err); - } - } - break; - case 'follow': - // HTTP-redirect fetch step 2 - if (locationURL === null) { - break; - } - - // HTTP-redirect fetch step 5 - if (request.counter >= request.follow) { - reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 6 (counter increment) - // Create a new Request object. - const requestOpts = { - headers: new Headers(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: request.body, - signal: request.signal, - timeout: request.timeout, - size: request.size - }; - - if (!isDomainOrSubdomain(request.url, locationURL)) { - for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { - requestOpts.headers.delete(name); - } - } - - // HTTP-redirect fetch step 9 - if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { - reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 11 - if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { - requestOpts.method = 'GET'; - requestOpts.body = undefined; - requestOpts.headers.delete('content-length'); - } - - // HTTP-redirect fetch step 15 - resolve(fetch$1(new Request(locationURL, requestOpts))); - finalize(); - return; - } - } - - // prepare response - res.once('end', function () { - if (signal) signal.removeEventListener('abort', abortAndFinalize); - }); - let body = res.pipe(new PassThrough$1()); - - const response_options = { - url: request.url, - status: res.statusCode, - statusText: res.statusMessage, - headers: headers, - size: request.size, - timeout: request.timeout, - counter: request.counter - }; - - // HTTP-network fetch step 12.1.1.3 - const codings = headers.get('Content-Encoding'); - - // HTTP-network fetch step 12.1.1.4: handle content codings - - // in following scenarios we ignore compression support - // 1. compression support is disabled - // 2. HEAD request - // 3. no Content-Encoding header - // 4. no content response (204) - // 5. content not modified response (304) - if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { - response = new Response(body, response_options); - resolve(response); - return; - } - - // For Node v6+ - // Be less strict when decoding compressed responses, since sometimes - // servers send slightly invalid responses that are still accepted - // by common browsers. - // Always using Z_SYNC_FLUSH is what cURL does. - const zlibOptions = { - flush: zlib__default["default"].Z_SYNC_FLUSH, - finishFlush: zlib__default["default"].Z_SYNC_FLUSH - }; - - // for gzip - if (codings == 'gzip' || codings == 'x-gzip') { - body = body.pipe(zlib__default["default"].createGunzip(zlibOptions)); - response = new Response(body, response_options); - resolve(response); - return; - } - - // for deflate - if (codings == 'deflate' || codings == 'x-deflate') { - // handle the infamous raw deflate response from old servers - // a hack for old IIS and Apache servers - const raw = res.pipe(new PassThrough$1()); - raw.once('data', function (chunk) { - // see http://stackoverflow.com/questions/37519828 - if ((chunk[0] & 0x0F) === 0x08) { - body = body.pipe(zlib__default["default"].createInflate()); - } else { - body = body.pipe(zlib__default["default"].createInflateRaw()); - } - response = new Response(body, response_options); - resolve(response); - }); - return; - } - - // for br - if (codings == 'br' && typeof zlib__default["default"].createBrotliDecompress === 'function') { - body = body.pipe(zlib__default["default"].createBrotliDecompress()); - response = new Response(body, response_options); - resolve(response); - return; - } - - // otherwise, use response as-is - response = new Response(body, response_options); - resolve(response); - }); - - writeToStream(req, request); - }); -} -/** - * Redirect code matching - * - * @param Number code Status code - * @return Boolean - */ -fetch$1.isRedirect = function (code) { - return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; -}; - -// expose Promise -fetch$1.Promise = global.Promise; - -var lib$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': fetch$1, - Headers: Headers, - Request: Request, - Response: Response, - FetchError: FetchError -}); - -var require$$4 = /*@__PURE__*/getAugmentedNamespace(lib$2); - -var contentType = {}; - -/*! - * content-type - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1 - * - * parameter = token "=" ( token / quoted-string ) - * token = 1*tchar - * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" - * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" - * / DIGIT / ALPHA - * ; any VCHAR, except delimiters - * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE - * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text - * obs-text = %x80-FF - * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) - */ -var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g; -var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/; -var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; - -/** - * RegExp to match quoted-pair in RFC 7230 sec 3.2.6 - * - * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) - * obs-text = %x80-FF - */ -var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g; - -/** - * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6 - */ -var QUOTE_REGEXP = /([\\"])/g; - -/** - * RegExp to match type in RFC 7231 sec 3.1.1.1 - * - * media-type = type "/" subtype - * type = token - * subtype = token - */ -var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; - -/** - * Module exports. - * @public - */ - -contentType.format = format$1; -contentType.parse = parse$1; - -/** - * Format object to media type. - * - * @param {object} obj - * @return {string} - * @public - */ - -function format$1 (obj) { - if (!obj || typeof obj !== 'object') { - throw new TypeError('argument obj is required') - } - - var parameters = obj.parameters; - var type = obj.type; - - if (!type || !TYPE_REGEXP.test(type)) { - throw new TypeError('invalid type') - } - - var string = type; - - // append parameters - if (parameters && typeof parameters === 'object') { - var param; - var params = Object.keys(parameters).sort(); - - for (var i = 0; i < params.length; i++) { - param = params[i]; - - if (!TOKEN_REGEXP.test(param)) { - throw new TypeError('invalid parameter name') - } - - string += '; ' + param + '=' + qstring(parameters[param]); - } - } - - return string -} - -/** - * Parse media type to object. - * - * @param {string|object} string - * @return {Object} - * @public - */ - -function parse$1 (string) { - if (!string) { - throw new TypeError('argument string is required') - } - - // support req/res-like objects as argument - var header = typeof string === 'object' - ? getcontenttype(string) - : string; - - if (typeof header !== 'string') { - throw new TypeError('argument string is required to be a string') - } - - var index = header.indexOf(';'); - var type = index !== -1 - ? header.substr(0, index).trim() - : header.trim(); - - if (!TYPE_REGEXP.test(type)) { - throw new TypeError('invalid media type') - } - - var obj = new ContentType(type.toLowerCase()); - - // parse parameters - if (index !== -1) { - var key; - var match; - var value; - - PARAM_REGEXP.lastIndex = index; - - while ((match = PARAM_REGEXP.exec(header))) { - if (match.index !== index) { - throw new TypeError('invalid parameter format') - } - - index += match[0].length; - key = match[1].toLowerCase(); - value = match[2]; - - if (value[0] === '"') { - // remove quotes and escapes - value = value - .substr(1, value.length - 2) - .replace(QESC_REGEXP, '$1'); - } - - obj.parameters[key] = value; - } - - if (index !== header.length) { - throw new TypeError('invalid parameter format') - } - } - - return obj -} - -/** - * Get content-type from req/res objects. - * - * @param {object} - * @return {Object} - * @private - */ - -function getcontenttype (obj) { - var header; - - if (typeof obj.getHeader === 'function') { - // res-like - header = obj.getHeader('content-type'); - } else if (typeof obj.headers === 'object') { - // req-like - header = obj.headers && obj.headers['content-type']; - } - - if (typeof header !== 'string') { - throw new TypeError('content-type header is missing from object') - } - - return header -} - -/** - * Quote a string if necessary. - * - * @param {string} val - * @return {string} - * @private - */ - -function qstring (val) { - var str = String(val); - - // no need to quote tokens - if (TOKEN_REGEXP.test(str)) { - return str - } - - if (str.length > 0 && !TEXT_REGEXP.test(str)) { - throw new TypeError('invalid parameter value') - } - - return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"' -} - -/** - * Class to represent a content type. - * @private - */ -function ContentType (type) { - this.parameters = Object.create(null); - this.type = type; -} - -function Queue(options) { - if (!(this instanceof Queue)) { - return new Queue(options); - } - - options = options || {}; - this.concurrency = options.concurrency || Infinity; - this.pending = 0; - this.jobs = []; - this.cbs = []; - this._done = done.bind(this); -} - -var arrayAddMethods = [ - 'push', - 'unshift', - 'splice' -]; - -arrayAddMethods.forEach(function(method) { - Queue.prototype[method] = function() { - var methodResult = Array.prototype[method].apply(this.jobs, arguments); - this._run(); - return methodResult; - }; -}); - -Object.defineProperty(Queue.prototype, 'length', { - get: function() { - return this.pending + this.jobs.length; - } -}); - -Queue.prototype._run = function() { - if (this.pending === this.concurrency) { - return; - } - if (this.jobs.length) { - var job = this.jobs.shift(); - this.pending++; - job(this._done); - this._run(); - } - - if (this.pending === 0) { - while (this.cbs.length !== 0) { - var cb = this.cbs.pop(); - process.nextTick(cb); - } - } -}; - -Queue.prototype.onDone = function(cb) { - if (typeof cb === 'function') { - this.cbs.push(cb); - this._run(); - } -}; - -function done() { - this.pending--; - this._run(); -} - -var asyncLimiter = Queue; - -var bufferUtil$1 = {exports: {}}; - -var constants = { - BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'], - GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', - kStatusCode: Symbol('status-code'), - kWebSocket: Symbol('websocket'), - EMPTY_BUFFER: Buffer.alloc(0), - NOOP: () => {} -}; - -const { EMPTY_BUFFER: EMPTY_BUFFER$5 } = constants; - -/** - * Merges an array of buffers into a new buffer. - * - * @param {Buffer[]} list The array of buffers to concat - * @param {Number} totalLength The total length of buffers in the list - * @return {Buffer} The resulting buffer - * @public - */ -function concat$1(list, totalLength) { - if (list.length === 0) return EMPTY_BUFFER$5; - if (list.length === 1) return list[0]; - - const target = Buffer.allocUnsafe(totalLength); - var offset = 0; - - for (var i = 0; i < list.length; i++) { - const buf = list[i]; - buf.copy(target, offset); - offset += buf.length; - } - - return target; -} - -/** - * Masks a buffer using the given mask. - * - * @param {Buffer} source The buffer to mask - * @param {Buffer} mask The mask to use - * @param {Buffer} output The buffer where to store the result - * @param {Number} offset The offset at which to start writing - * @param {Number} length The number of bytes to mask. - * @public - */ -function _mask(source, mask, output, offset, length) { - for (var i = 0; i < length; i++) { - output[offset + i] = source[i] ^ mask[i & 3]; - } -} - -/** - * Unmasks a buffer using the given mask. - * - * @param {Buffer} buffer The buffer to unmask - * @param {Buffer} mask The mask to use - * @public - */ -function _unmask(buffer, mask) { - // Required until https://github.com/nodejs/node/issues/9006 is resolved. - const length = buffer.length; - for (var i = 0; i < length; i++) { - buffer[i] ^= mask[i & 3]; - } -} - -/** - * Converts a buffer to an `ArrayBuffer`. - * - * @param {Buffer} buf The buffer to convert - * @return {ArrayBuffer} Converted buffer - * @public - */ -function toArrayBuffer$1(buf) { - if (buf.byteLength === buf.buffer.byteLength) { - return buf.buffer; - } - - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); -} - -/** - * Converts `data` to a `Buffer`. - * - * @param {*} data The data to convert - * @return {Buffer} The buffer - * @throws {TypeError} - * @public - */ -function toBuffer$1(data) { - toBuffer$1.readOnly = true; - - if (Buffer.isBuffer(data)) return data; - - var buf; - - if (data instanceof ArrayBuffer) { - buf = Buffer.from(data); - } else if (ArrayBuffer.isView(data)) { - buf = viewToBuffer(data); - } else { - buf = Buffer.from(data); - toBuffer$1.readOnly = false; - } - - return buf; -} - -/** - * Converts an `ArrayBuffer` view into a buffer. - * - * @param {(DataView|TypedArray)} view The view to convert - * @return {Buffer} Converted view - * @private - */ -function viewToBuffer(view) { - const buf = Buffer.from(view.buffer); - - if (view.byteLength !== view.buffer.byteLength) { - return buf.slice(view.byteOffset, view.byteOffset + view.byteLength); - } - - return buf; -} - -try { - const bufferUtil = require('bufferutil'); - const bu = bufferUtil.BufferUtil || bufferUtil; - - bufferUtil$1.exports = { - concat: concat$1, - mask(source, mask, output, offset, length) { - if (length < 48) _mask(source, mask, output, offset, length); - else bu.mask(source, mask, output, offset, length); - }, - toArrayBuffer: toArrayBuffer$1, - toBuffer: toBuffer$1, - unmask(buffer, mask) { - if (buffer.length < 32) _unmask(buffer, mask); - else bu.unmask(buffer, mask); - } - }; -} catch (e) /* istanbul ignore next */ { - bufferUtil$1.exports = { - concat: concat$1, - mask: _mask, - toArrayBuffer: toArrayBuffer$1, - toBuffer: toBuffer$1, - unmask: _unmask - }; -} - -const Limiter = asyncLimiter; -const zlib = zlib__default["default"]; - -const bufferUtil = bufferUtil$1.exports; -const { kStatusCode: kStatusCode$2, NOOP: NOOP$1 } = constants; - -const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); -const EMPTY_BLOCK = Buffer.from([0x00]); - -const kPerMessageDeflate = Symbol('permessage-deflate'); -const kTotalLength = Symbol('total-length'); -const kCallback = Symbol('callback'); -const kBuffers = Symbol('buffers'); -const kError = Symbol('error'); - -// -// We limit zlib concurrency, which prevents severe memory fragmentation -// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913 -// and https://github.com/websockets/ws/issues/1202 -// -// Intentionally global; it's the global thread pool that's an issue. -// -let zlibLimiter; - -/** - * permessage-deflate implementation. - */ -class PerMessageDeflate$4 { - /** - * Creates a PerMessageDeflate instance. - * - * @param {Object} options Configuration options - * @param {Boolean} options.serverNoContextTakeover Request/accept disabling - * of server context takeover - * @param {Boolean} options.clientNoContextTakeover Advertise/acknowledge - * disabling of client context takeover - * @param {(Boolean|Number)} options.serverMaxWindowBits Request/confirm the - * use of a custom server window size - * @param {(Boolean|Number)} options.clientMaxWindowBits Advertise support - * for, or request, a custom client window size - * @param {Object} options.zlibDeflateOptions Options to pass to zlib on deflate - * @param {Object} options.zlibInflateOptions Options to pass to zlib on inflate - * @param {Number} options.threshold Size (in bytes) below which messages - * should not be compressed - * @param {Number} options.concurrencyLimit The number of concurrent calls to - * zlib - * @param {Boolean} isServer Create the instance in either server or client - * mode - * @param {Number} maxPayload The maximum allowed message length - */ - constructor(options, isServer, maxPayload) { - this._maxPayload = maxPayload | 0; - this._options = options || {}; - this._threshold = - this._options.threshold !== undefined ? this._options.threshold : 1024; - this._isServer = !!isServer; - this._deflate = null; - this._inflate = null; - - this.params = null; - - if (!zlibLimiter) { - const concurrency = - this._options.concurrencyLimit !== undefined - ? this._options.concurrencyLimit - : 10; - zlibLimiter = new Limiter({ concurrency }); - } - } - - /** - * @type {String} - */ - static get extensionName() { - return 'permessage-deflate'; - } - - /** - * Create an extension negotiation offer. - * - * @return {Object} Extension parameters - * @public - */ - offer() { - const params = {}; - - if (this._options.serverNoContextTakeover) { - params.server_no_context_takeover = true; - } - if (this._options.clientNoContextTakeover) { - params.client_no_context_takeover = true; - } - if (this._options.serverMaxWindowBits) { - params.server_max_window_bits = this._options.serverMaxWindowBits; - } - if (this._options.clientMaxWindowBits) { - params.client_max_window_bits = this._options.clientMaxWindowBits; - } else if (this._options.clientMaxWindowBits == null) { - params.client_max_window_bits = true; - } - - return params; - } - - /** - * Accept an extension negotiation offer/response. - * - * @param {Array} configurations The extension negotiation offers/reponse - * @return {Object} Accepted configuration - * @public - */ - accept(configurations) { - configurations = this.normalizeParams(configurations); - - this.params = this._isServer - ? this.acceptAsServer(configurations) - : this.acceptAsClient(configurations); - - return this.params; - } - - /** - * Releases all resources used by the extension. - * - * @public - */ - cleanup() { - if (this._inflate) { - this._inflate.close(); - this._inflate = null; - } - - if (this._deflate) { - this._deflate.close(); - this._deflate = null; - } - } - - /** - * Accept an extension negotiation offer. - * - * @param {Array} offers The extension negotiation offers - * @return {Object} Accepted configuration - * @private - */ - acceptAsServer(offers) { - const opts = this._options; - const accepted = offers.find((params) => { - if ( - (opts.serverNoContextTakeover === false && - params.server_no_context_takeover) || - (params.server_max_window_bits && - (opts.serverMaxWindowBits === false || - (typeof opts.serverMaxWindowBits === 'number' && - opts.serverMaxWindowBits > params.server_max_window_bits))) || - (typeof opts.clientMaxWindowBits === 'number' && - !params.client_max_window_bits) - ) { - return false; - } - - return true; - }); - - if (!accepted) { - throw new Error('None of the extension offers can be accepted'); - } - - if (opts.serverNoContextTakeover) { - accepted.server_no_context_takeover = true; - } - if (opts.clientNoContextTakeover) { - accepted.client_no_context_takeover = true; - } - if (typeof opts.serverMaxWindowBits === 'number') { - accepted.server_max_window_bits = opts.serverMaxWindowBits; - } - if (typeof opts.clientMaxWindowBits === 'number') { - accepted.client_max_window_bits = opts.clientMaxWindowBits; - } else if ( - accepted.client_max_window_bits === true || - opts.clientMaxWindowBits === false - ) { - delete accepted.client_max_window_bits; - } - - return accepted; - } - - /** - * Accept the extension negotiation response. - * - * @param {Array} response The extension negotiation response - * @return {Object} Accepted configuration - * @private - */ - acceptAsClient(response) { - const params = response[0]; - - if ( - this._options.clientNoContextTakeover === false && - params.client_no_context_takeover - ) { - throw new Error('Unexpected parameter "client_no_context_takeover"'); - } - - if (!params.client_max_window_bits) { - if (typeof this._options.clientMaxWindowBits === 'number') { - params.client_max_window_bits = this._options.clientMaxWindowBits; - } - } else if ( - this._options.clientMaxWindowBits === false || - (typeof this._options.clientMaxWindowBits === 'number' && - params.client_max_window_bits > this._options.clientMaxWindowBits) - ) { - throw new Error( - 'Unexpected or invalid parameter "client_max_window_bits"' - ); - } - - return params; - } - - /** - * Normalize parameters. - * - * @param {Array} configurations The extension negotiation offers/reponse - * @return {Array} The offers/response with normalized parameters - * @private - */ - normalizeParams(configurations) { - configurations.forEach((params) => { - Object.keys(params).forEach((key) => { - var value = params[key]; - - if (value.length > 1) { - throw new Error(`Parameter "${key}" must have only a single value`); - } - - value = value[0]; - - if (key === 'client_max_window_bits') { - if (value !== true) { - const num = +value; - if (!Number.isInteger(num) || num < 8 || num > 15) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - value = num; - } else if (!this._isServer) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - } else if (key === 'server_max_window_bits') { - const num = +value; - if (!Number.isInteger(num) || num < 8 || num > 15) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - value = num; - } else if ( - key === 'client_no_context_takeover' || - key === 'server_no_context_takeover' - ) { - if (value !== true) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - } else { - throw new Error(`Unknown parameter "${key}"`); - } - - params[key] = value; - }); - }); - - return configurations; - } - - /** - * Decompress data. Concurrency limited by async-limiter. - * - * @param {Buffer} data Compressed data - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @public - */ - decompress(data, fin, callback) { - zlibLimiter.push((done) => { - this._decompress(data, fin, (err, result) => { - done(); - callback(err, result); - }); - }); - } - - /** - * Compress data. Concurrency limited by async-limiter. - * - * @param {Buffer} data Data to compress - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @public - */ - compress(data, fin, callback) { - zlibLimiter.push((done) => { - this._compress(data, fin, (err, result) => { - done(); - callback(err, result); - }); - }); - } - - /** - * Decompress data. - * - * @param {Buffer} data Compressed data - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @private - */ - _decompress(data, fin, callback) { - const endpoint = this._isServer ? 'client' : 'server'; - - if (!this._inflate) { - const key = `${endpoint}_max_window_bits`; - const windowBits = - typeof this.params[key] !== 'number' - ? zlib.Z_DEFAULT_WINDOWBITS - : this.params[key]; - - this._inflate = zlib.createInflateRaw( - Object.assign({}, this._options.zlibInflateOptions, { windowBits }) - ); - this._inflate[kPerMessageDeflate] = this; - this._inflate[kTotalLength] = 0; - this._inflate[kBuffers] = []; - this._inflate.on('error', inflateOnError); - this._inflate.on('data', inflateOnData); - } - - this._inflate[kCallback] = callback; - - this._inflate.write(data); - if (fin) this._inflate.write(TRAILER); - - this._inflate.flush(() => { - const err = this._inflate[kError]; - - if (err) { - this._inflate.close(); - this._inflate = null; - callback(err); - return; - } - - const data = bufferUtil.concat( - this._inflate[kBuffers], - this._inflate[kTotalLength] - ); - - if (fin && this.params[`${endpoint}_no_context_takeover`]) { - this._inflate.close(); - this._inflate = null; - } else { - this._inflate[kTotalLength] = 0; - this._inflate[kBuffers] = []; - } - - callback(null, data); - }); - } - - /** - * Compress data. - * - * @param {Buffer} data Data to compress - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @private - */ - _compress(data, fin, callback) { - if (!data || data.length === 0) { - process.nextTick(callback, null, EMPTY_BLOCK); - return; - } - - const endpoint = this._isServer ? 'server' : 'client'; - - if (!this._deflate) { - const key = `${endpoint}_max_window_bits`; - const windowBits = - typeof this.params[key] !== 'number' - ? zlib.Z_DEFAULT_WINDOWBITS - : this.params[key]; - - this._deflate = zlib.createDeflateRaw( - Object.assign({}, this._options.zlibDeflateOptions, { windowBits }) - ); - - this._deflate[kTotalLength] = 0; - this._deflate[kBuffers] = []; - - // - // An `'error'` event is emitted, only on Node.js < 10.0.0, if the - // `zlib.DeflateRaw` instance is closed while data is being processed. - // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong - // time due to an abnormal WebSocket closure. - // - this._deflate.on('error', NOOP$1); - this._deflate.on('data', deflateOnData); - } - - this._deflate.write(data); - this._deflate.flush(zlib.Z_SYNC_FLUSH, () => { - if (!this._deflate) { - // - // This `if` statement is only needed for Node.js < 10.0.0 because as of - // commit https://github.com/nodejs/node/commit/5e3f5164, the flush - // callback is no longer called if the deflate stream is closed while - // data is being processed. - // - return; - } - - var data = bufferUtil.concat( - this._deflate[kBuffers], - this._deflate[kTotalLength] - ); - - if (fin) data = data.slice(0, data.length - 4); - - if (fin && this.params[`${endpoint}_no_context_takeover`]) { - this._deflate.close(); - this._deflate = null; - } else { - this._deflate[kTotalLength] = 0; - this._deflate[kBuffers] = []; - } - - callback(null, data); - }); - } -} - -var permessageDeflate = PerMessageDeflate$4; - -/** - * The listener of the `zlib.DeflateRaw` stream `'data'` event. - * - * @param {Buffer} chunk A chunk of data - * @private - */ -function deflateOnData(chunk) { - this[kBuffers].push(chunk); - this[kTotalLength] += chunk.length; -} - -/** - * The listener of the `zlib.InflateRaw` stream `'data'` event. - * - * @param {Buffer} chunk A chunk of data - * @private - */ -function inflateOnData(chunk) { - this[kTotalLength] += chunk.length; - - if ( - this[kPerMessageDeflate]._maxPayload < 1 || - this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload - ) { - this[kBuffers].push(chunk); - return; - } - - this[kError] = new RangeError('Max payload size exceeded'); - this[kError][kStatusCode$2] = 1009; - this.removeListener('data', inflateOnData); - this.reset(); -} - -/** - * The listener of the `zlib.InflateRaw` stream `'error'` event. - * - * @param {Error} err The emitted error - * @private - */ -function inflateOnError(err) { - // - // There is no need to call `Zlib#close()` as the handle is automatically - // closed when an error is emitted. - // - this[kPerMessageDeflate]._inflate = null; - err[kStatusCode$2] = 1007; - this[kCallback](err); -} - -/** - * Class representing an event. - * - * @private - */ -class Event { - /** - * Create a new `Event`. - * - * @param {String} type The name of the event - * @param {Object} target A reference to the target to which the event was dispatched - */ - constructor(type, target) { - this.target = target; - this.type = type; - } -} - -/** - * Class representing a message event. - * - * @extends Event - * @private - */ -class MessageEvent extends Event { - /** - * Create a new `MessageEvent`. - * - * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(data, target) { - super('message', target); - - this.data = data; - } -} - -/** - * Class representing a close event. - * - * @extends Event - * @private - */ -class CloseEvent extends Event { - /** - * Create a new `CloseEvent`. - * - * @param {Number} code The status code explaining why the connection is being closed - * @param {String} reason A human-readable string explaining why the connection is closing - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(code, reason, target) { - super('close', target); - - this.wasClean = target._closeFrameReceived && target._closeFrameSent; - this.reason = reason; - this.code = code; - } -} - -/** - * Class representing an open event. - * - * @extends Event - * @private - */ -class OpenEvent extends Event { - /** - * Create a new `OpenEvent`. - * - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(target) { - super('open', target); - } -} - -/** - * Class representing an error event. - * - * @extends Event - * @private - */ -class ErrorEvent extends Event { - /** - * Create a new `ErrorEvent`. - * - * @param {Object} error The error that generated this event - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(error, target) { - super('error', target); - - this.message = error.message; - this.error = error; - } -} - -/** - * This provides methods for emulating the `EventTarget` interface. It's not - * meant to be used directly. - * - * @mixin - */ -const EventTarget$1 = { - /** - * Register an event listener. - * - * @param {String} method A string representing the event type to listen for - * @param {Function} listener The listener to add - * @public - */ - addEventListener(method, listener) { - if (typeof listener !== 'function') return; - - function onMessage(data) { - listener.call(this, new MessageEvent(data, this)); - } - - function onClose(code, message) { - listener.call(this, new CloseEvent(code, message, this)); - } - - function onError(error) { - listener.call(this, new ErrorEvent(error, this)); - } - - function onOpen() { - listener.call(this, new OpenEvent(this)); - } - - if (method === 'message') { - onMessage._listener = listener; - this.on(method, onMessage); - } else if (method === 'close') { - onClose._listener = listener; - this.on(method, onClose); - } else if (method === 'error') { - onError._listener = listener; - this.on(method, onError); - } else if (method === 'open') { - onOpen._listener = listener; - this.on(method, onOpen); - } else { - this.on(method, listener); - } - }, - - /** - * Remove an event listener. - * - * @param {String} method A string representing the event type to remove - * @param {Function} listener The listener to remove - * @public - */ - removeEventListener(method, listener) { - const listeners = this.listeners(method); - - for (var i = 0; i < listeners.length; i++) { - if (listeners[i] === listener || listeners[i]._listener === listener) { - this.removeListener(method, listeners[i]); - } - } - } -}; - -var eventTarget = EventTarget$1; - -// -// Allowed token characters: -// -// '!', '#', '$', '%', '&', ''', '*', '+', '-', -// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~' -// -// tokenChars[32] === 0 // ' ' -// tokenChars[33] === 1 // '!' -// tokenChars[34] === 0 // '"' -// ... -// -// prettier-ignore -const tokenChars = [ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15 - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31 - 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63 - 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127 -]; - -/** - * Adds an offer to the map of extension offers or a parameter to the map of - * parameters. - * - * @param {Object} dest The map of extension offers or parameters - * @param {String} name The extension or parameter name - * @param {(Object|Boolean|String)} elem The extension parameters or the - * parameter value - * @private - */ -function push(dest, name, elem) { - if (Object.prototype.hasOwnProperty.call(dest, name)) dest[name].push(elem); - else dest[name] = [elem]; -} - -/** - * Parses the `Sec-WebSocket-Extensions` header into an object. - * - * @param {String} header The field value of the header - * @return {Object} The parsed object - * @public - */ -function parse(header) { - const offers = {}; - - if (header === undefined || header === '') return offers; - - var params = {}; - var mustUnescape = false; - var isEscaping = false; - var inQuotes = false; - var extensionName; - var paramName; - var start = -1; - var end = -1; - - for (var i = 0; i < header.length; i++) { - const code = header.charCodeAt(i); - - if (extensionName === undefined) { - if (end === -1 && tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\t' */) { - if (end === -1 && start !== -1) end = i; - } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) { - if (start === -1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - - if (end === -1) end = i; - const name = header.slice(start, end); - if (code === 0x2c) { - push(offers, name, params); - params = {}; - } else { - extensionName = name; - } - - start = end = -1; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } else if (paramName === undefined) { - if (end === -1 && tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (code === 0x20 || code === 0x09) { - if (end === -1 && start !== -1) end = i; - } else if (code === 0x3b || code === 0x2c) { - if (start === -1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - - if (end === -1) end = i; - push(params, header.slice(start, end), true); - if (code === 0x2c) { - push(offers, extensionName, params); - params = {}; - extensionName = undefined; - } - - start = end = -1; - } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) { - paramName = header.slice(start, i); - start = end = -1; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } else { - // - // The value of a quoted-string after unescaping must conform to the - // token ABNF, so only token characters are valid. - // Ref: https://tools.ietf.org/html/rfc6455#section-9.1 - // - if (isEscaping) { - if (tokenChars[code] !== 1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - if (start === -1) start = i; - else if (!mustUnescape) mustUnescape = true; - isEscaping = false; - } else if (inQuotes) { - if (tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (code === 0x22 /* '"' */ && start !== -1) { - inQuotes = false; - end = i; - } else if (code === 0x5c /* '\' */) { - isEscaping = true; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) { - inQuotes = true; - } else if (end === -1 && tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (start !== -1 && (code === 0x20 || code === 0x09)) { - if (end === -1) end = i; - } else if (code === 0x3b || code === 0x2c) { - if (start === -1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - - if (end === -1) end = i; - var value = header.slice(start, end); - if (mustUnescape) { - value = value.replace(/\\/g, ''); - mustUnescape = false; - } - push(params, paramName, value); - if (code === 0x2c) { - push(offers, extensionName, params); - params = {}; - extensionName = undefined; - } - - paramName = undefined; - start = end = -1; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } - } - - if (start === -1 || inQuotes) { - throw new SyntaxError('Unexpected end of input'); - } - - if (end === -1) end = i; - const token = header.slice(start, end); - if (extensionName === undefined) { - push(offers, token, {}); - } else { - if (paramName === undefined) { - push(params, token, true); - } else if (mustUnescape) { - push(params, paramName, token.replace(/\\/g, '')); - } else { - push(params, paramName, token); - } - push(offers, extensionName, params); - } - - return offers; -} - -/** - * Builds the `Sec-WebSocket-Extensions` header field value. - * - * @param {Object} extensions The map of extensions and parameters to format - * @return {String} A string representing the given object - * @public - */ -function format(extensions) { - return Object.keys(extensions) - .map((extension) => { - var configurations = extensions[extension]; - if (!Array.isArray(configurations)) configurations = [configurations]; - return configurations - .map((params) => { - return [extension] - .concat( - Object.keys(params).map((k) => { - var values = params[k]; - if (!Array.isArray(values)) values = [values]; - return values - .map((v) => (v === true ? k : `${k}=${v}`)) - .join('; '); - }) - ) - .join('; '); - }) - .join(', '); - }) - .join(', '); -} - -var extension$2 = { format, parse }; - -var validation = {}; - -var isValidUTF8_1; - -try { - const isValidUTF8 = require('utf-8-validate'); - - isValidUTF8_1 = validation.isValidUTF8 = - typeof isValidUTF8 === 'object' - ? isValidUTF8.Validation.isValidUTF8 // utf-8-validate@<3.0.0 - : isValidUTF8; -} catch (e) /* istanbul ignore next */ { - isValidUTF8_1 = validation.isValidUTF8 = () => true; -} - -/** - * Checks if a status code is allowed in a close frame. - * - * @param {Number} code The status code - * @return {Boolean} `true` if the status code is valid, else `false` - * @public - */ -validation.isValidStatusCode = (code) => { - return ( - (code >= 1000 && - code <= 1013 && - code !== 1004 && - code !== 1005 && - code !== 1006) || - (code >= 3000 && code <= 4999) - ); -}; - -const { Writable } = Stream__default["default"]; - -const PerMessageDeflate$3 = permessageDeflate; -const { - BINARY_TYPES: BINARY_TYPES$1, - EMPTY_BUFFER: EMPTY_BUFFER$4, - kStatusCode: kStatusCode$1, - kWebSocket: kWebSocket$1 -} = constants; -const { concat, toArrayBuffer, unmask } = bufferUtil$1.exports; -const { isValidStatusCode: isValidStatusCode$1, isValidUTF8 } = validation; - -const GET_INFO = 0; -const GET_PAYLOAD_LENGTH_16 = 1; -const GET_PAYLOAD_LENGTH_64 = 2; -const GET_MASK = 3; -const GET_DATA = 4; -const INFLATING = 5; - -/** - * HyBi Receiver implementation. - * - * @extends stream.Writable - */ -class Receiver$1 extends Writable { - /** - * Creates a Receiver instance. - * - * @param {String} binaryType The type for binary data - * @param {Object} extensions An object containing the negotiated extensions - * @param {Number} maxPayload The maximum allowed message length - */ - constructor(binaryType, extensions, maxPayload) { - super(); - - this._binaryType = binaryType || BINARY_TYPES$1[0]; - this[kWebSocket$1] = undefined; - this._extensions = extensions || {}; - this._maxPayload = maxPayload | 0; - - this._bufferedBytes = 0; - this._buffers = []; - - this._compressed = false; - this._payloadLength = 0; - this._mask = undefined; - this._fragmented = 0; - this._masked = false; - this._fin = false; - this._opcode = 0; - - this._totalPayloadLength = 0; - this._messageLength = 0; - this._fragments = []; - - this._state = GET_INFO; - this._loop = false; - } - - /** - * Implements `Writable.prototype._write()`. - * - * @param {Buffer} chunk The chunk of data to write - * @param {String} encoding The character encoding of `chunk` - * @param {Function} cb Callback - */ - _write(chunk, encoding, cb) { - if (this._opcode === 0x08 && this._state == GET_INFO) return cb(); - - this._bufferedBytes += chunk.length; - this._buffers.push(chunk); - this.startLoop(cb); - } - - /** - * Consumes `n` bytes from the buffered data. - * - * @param {Number} n The number of bytes to consume - * @return {Buffer} The consumed bytes - * @private - */ - consume(n) { - this._bufferedBytes -= n; - - if (n === this._buffers[0].length) return this._buffers.shift(); - - if (n < this._buffers[0].length) { - const buf = this._buffers[0]; - this._buffers[0] = buf.slice(n); - return buf.slice(0, n); - } - - const dst = Buffer.allocUnsafe(n); - - do { - const buf = this._buffers[0]; - - if (n >= buf.length) { - this._buffers.shift().copy(dst, dst.length - n); - } else { - buf.copy(dst, dst.length - n, 0, n); - this._buffers[0] = buf.slice(n); - } - - n -= buf.length; - } while (n > 0); - - return dst; - } - - /** - * Starts the parsing loop. - * - * @param {Function} cb Callback - * @private - */ - startLoop(cb) { - var err; - this._loop = true; - - do { - switch (this._state) { - case GET_INFO: - err = this.getInfo(); - break; - case GET_PAYLOAD_LENGTH_16: - err = this.getPayloadLength16(); - break; - case GET_PAYLOAD_LENGTH_64: - err = this.getPayloadLength64(); - break; - case GET_MASK: - this.getMask(); - break; - case GET_DATA: - err = this.getData(cb); - break; - default: - // `INFLATING` - this._loop = false; - return; - } - } while (this._loop); - - cb(err); - } - - /** - * Reads the first two bytes of a frame. - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - getInfo() { - if (this._bufferedBytes < 2) { - this._loop = false; - return; - } - - const buf = this.consume(2); - - if ((buf[0] & 0x30) !== 0x00) { - this._loop = false; - return error(RangeError, 'RSV2 and RSV3 must be clear', true, 1002); - } - - const compressed = (buf[0] & 0x40) === 0x40; - - if (compressed && !this._extensions[PerMessageDeflate$3.extensionName]) { - this._loop = false; - return error(RangeError, 'RSV1 must be clear', true, 1002); - } - - this._fin = (buf[0] & 0x80) === 0x80; - this._opcode = buf[0] & 0x0f; - this._payloadLength = buf[1] & 0x7f; - - if (this._opcode === 0x00) { - if (compressed) { - this._loop = false; - return error(RangeError, 'RSV1 must be clear', true, 1002); - } - - if (!this._fragmented) { - this._loop = false; - return error(RangeError, 'invalid opcode 0', true, 1002); - } - - this._opcode = this._fragmented; - } else if (this._opcode === 0x01 || this._opcode === 0x02) { - if (this._fragmented) { - this._loop = false; - return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); - } - - this._compressed = compressed; - } else if (this._opcode > 0x07 && this._opcode < 0x0b) { - if (!this._fin) { - this._loop = false; - return error(RangeError, 'FIN must be set', true, 1002); - } - - if (compressed) { - this._loop = false; - return error(RangeError, 'RSV1 must be clear', true, 1002); - } - - if (this._payloadLength > 0x7d) { - this._loop = false; - return error( - RangeError, - `invalid payload length ${this._payloadLength}`, - true, - 1002 - ); - } - } else { - this._loop = false; - return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); - } - - if (!this._fin && !this._fragmented) this._fragmented = this._opcode; - this._masked = (buf[1] & 0x80) === 0x80; - - if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16; - else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64; - else return this.haveLength(); - } - - /** - * Gets extended payload length (7+16). - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - getPayloadLength16() { - if (this._bufferedBytes < 2) { - this._loop = false; - return; - } - - this._payloadLength = this.consume(2).readUInt16BE(0); - return this.haveLength(); - } - - /** - * Gets extended payload length (7+64). - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - getPayloadLength64() { - if (this._bufferedBytes < 8) { - this._loop = false; - return; - } - - const buf = this.consume(8); - const num = buf.readUInt32BE(0); - - // - // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned - // if payload length is greater than this number. - // - if (num > Math.pow(2, 53 - 32) - 1) { - this._loop = false; - return error( - RangeError, - 'Unsupported WebSocket frame: payload length > 2^53 - 1', - false, - 1009 - ); - } - - this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4); - return this.haveLength(); - } - - /** - * Payload length has been read. - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - haveLength() { - if (this._payloadLength && this._opcode < 0x08) { - this._totalPayloadLength += this._payloadLength; - if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) { - this._loop = false; - return error(RangeError, 'Max payload size exceeded', false, 1009); - } - } - - if (this._masked) this._state = GET_MASK; - else this._state = GET_DATA; - } - - /** - * Reads mask bytes. - * - * @private - */ - getMask() { - if (this._bufferedBytes < 4) { - this._loop = false; - return; - } - - this._mask = this.consume(4); - this._state = GET_DATA; - } - - /** - * Reads data bytes. - * - * @param {Function} cb Callback - * @return {(Error|RangeError|undefined)} A possible error - * @private - */ - getData(cb) { - var data = EMPTY_BUFFER$4; - - if (this._payloadLength) { - if (this._bufferedBytes < this._payloadLength) { - this._loop = false; - return; - } - - data = this.consume(this._payloadLength); - if (this._masked) unmask(data, this._mask); - } - - if (this._opcode > 0x07) return this.controlMessage(data); - - if (this._compressed) { - this._state = INFLATING; - this.decompress(data, cb); - return; - } - - if (data.length) { - // - // This message is not compressed so its lenght is the sum of the payload - // length of all fragments. - // - this._messageLength = this._totalPayloadLength; - this._fragments.push(data); - } - - return this.dataMessage(); - } - - /** - * Decompresses data. - * - * @param {Buffer} data Compressed data - * @param {Function} cb Callback - * @private - */ - decompress(data, cb) { - const perMessageDeflate = this._extensions[PerMessageDeflate$3.extensionName]; - - perMessageDeflate.decompress(data, this._fin, (err, buf) => { - if (err) return cb(err); - - if (buf.length) { - this._messageLength += buf.length; - if (this._messageLength > this._maxPayload && this._maxPayload > 0) { - return cb( - error(RangeError, 'Max payload size exceeded', false, 1009) - ); - } - - this._fragments.push(buf); - } - - const er = this.dataMessage(); - if (er) return cb(er); - - this.startLoop(cb); - }); - } - - /** - * Handles a data message. - * - * @return {(Error|undefined)} A possible error - * @private - */ - dataMessage() { - if (this._fin) { - const messageLength = this._messageLength; - const fragments = this._fragments; - - this._totalPayloadLength = 0; - this._messageLength = 0; - this._fragmented = 0; - this._fragments = []; - - if (this._opcode === 2) { - var data; - - if (this._binaryType === 'nodebuffer') { - data = concat(fragments, messageLength); - } else if (this._binaryType === 'arraybuffer') { - data = toArrayBuffer(concat(fragments, messageLength)); - } else { - data = fragments; - } - - this.emit('message', data); - } else { - const buf = concat(fragments, messageLength); - - if (!isValidUTF8(buf)) { - this._loop = false; - return error(Error, 'invalid UTF-8 sequence', true, 1007); - } - - this.emit('message', buf.toString()); - } - } - - this._state = GET_INFO; - } - - /** - * Handles a control message. - * - * @param {Buffer} data Data to handle - * @return {(Error|RangeError|undefined)} A possible error - * @private - */ - controlMessage(data) { - if (this._opcode === 0x08) { - this._loop = false; - - if (data.length === 0) { - this.emit('conclude', 1005, ''); - this.end(); - } else if (data.length === 1) { - return error(RangeError, 'invalid payload length 1', true, 1002); - } else { - const code = data.readUInt16BE(0); - - if (!isValidStatusCode$1(code)) { - return error(RangeError, `invalid status code ${code}`, true, 1002); - } - - const buf = data.slice(2); - - if (!isValidUTF8(buf)) { - return error(Error, 'invalid UTF-8 sequence', true, 1007); - } - - this.emit('conclude', code, buf.toString()); - this.end(); - } - } else if (this._opcode === 0x09) { - this.emit('ping', data); - } else { - this.emit('pong', data); - } - - this._state = GET_INFO; - } -} - -var receiver = Receiver$1; - -/** - * Builds an error object. - * - * @param {(Error|RangeError)} ErrorCtor The error constructor - * @param {String} message The error message - * @param {Boolean} prefix Specifies whether or not to add a default prefix to - * `message` - * @param {Number} statusCode The status code - * @return {(Error|RangeError)} The error - * @private - */ -function error(ErrorCtor, message, prefix, statusCode) { - const err = new ErrorCtor( - prefix ? `Invalid WebSocket frame: ${message}` : message - ); - - Error.captureStackTrace(err, error); - err[kStatusCode$1] = statusCode; - return err; -} - -const { randomBytes } = require$$0__default["default"]; - -const PerMessageDeflate$2 = permessageDeflate; -const { EMPTY_BUFFER: EMPTY_BUFFER$3 } = constants; -const { isValidStatusCode } = validation; -const { mask: applyMask, toBuffer } = bufferUtil$1.exports; - -/** - * HyBi Sender implementation. - */ -class Sender$1 { - /** - * Creates a Sender instance. - * - * @param {net.Socket} socket The connection socket - * @param {Object} extensions An object containing the negotiated extensions - */ - constructor(socket, extensions) { - this._extensions = extensions || {}; - this._socket = socket; - - this._firstFragment = true; - this._compress = false; - - this._bufferedBytes = 0; - this._deflating = false; - this._queue = []; - } - - /** - * Frames a piece of data according to the HyBi WebSocket protocol. - * - * @param {Buffer} data The data to frame - * @param {Object} options Options object - * @param {Number} options.opcode The opcode - * @param {Boolean} options.readOnly Specifies whether `data` can be modified - * @param {Boolean} options.fin Specifies whether or not to set the FIN bit - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit - * @return {Buffer[]} The framed data as a list of `Buffer` instances - * @public - */ - static frame(data, options) { - const merge = options.mask && options.readOnly; - var offset = options.mask ? 6 : 2; - var payloadLength = data.length; - - if (data.length >= 65536) { - offset += 8; - payloadLength = 127; - } else if (data.length > 125) { - offset += 2; - payloadLength = 126; - } - - const target = Buffer.allocUnsafe(merge ? data.length + offset : offset); - - target[0] = options.fin ? options.opcode | 0x80 : options.opcode; - if (options.rsv1) target[0] |= 0x40; - - target[1] = payloadLength; - - if (payloadLength === 126) { - target.writeUInt16BE(data.length, 2); - } else if (payloadLength === 127) { - target.writeUInt32BE(0, 2); - target.writeUInt32BE(data.length, 6); - } - - if (!options.mask) return [target, data]; - - const mask = randomBytes(4); - - target[1] |= 0x80; - target[offset - 4] = mask[0]; - target[offset - 3] = mask[1]; - target[offset - 2] = mask[2]; - target[offset - 1] = mask[3]; - - if (merge) { - applyMask(data, mask, target, offset, data.length); - return [target]; - } - - applyMask(data, mask, data, 0, data.length); - return [target, data]; - } - - /** - * Sends a close message to the other peer. - * - * @param {(Number|undefined)} code The status code component of the body - * @param {String} data The message component of the body - * @param {Boolean} mask Specifies whether or not to mask the message - * @param {Function} cb Callback - * @public - */ - close(code, data, mask, cb) { - var buf; - - if (code === undefined) { - buf = EMPTY_BUFFER$3; - } else if (typeof code !== 'number' || !isValidStatusCode(code)) { - throw new TypeError('First argument must be a valid error code number'); - } else if (data === undefined || data === '') { - buf = Buffer.allocUnsafe(2); - buf.writeUInt16BE(code, 0); - } else { - buf = Buffer.allocUnsafe(2 + Buffer.byteLength(data)); - buf.writeUInt16BE(code, 0); - buf.write(data, 2); - } - - if (this._deflating) { - this.enqueue([this.doClose, buf, mask, cb]); - } else { - this.doClose(buf, mask, cb); - } - } - - /** - * Frames and sends a close message. - * - * @param {Buffer} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @private - */ - doClose(data, mask, cb) { - this.sendFrame( - Sender$1.frame(data, { - fin: true, - rsv1: false, - opcode: 0x08, - mask, - readOnly: false - }), - cb - ); - } - - /** - * Sends a ping message to the other peer. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @public - */ - ping(data, mask, cb) { - const buf = toBuffer(data); - - if (this._deflating) { - this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]); - } else { - this.doPing(buf, mask, toBuffer.readOnly, cb); - } - } - - /** - * Frames and sends a ping message. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Boolean} readOnly Specifies whether `data` can be modified - * @param {Function} cb Callback - * @private - */ - doPing(data, mask, readOnly, cb) { - this.sendFrame( - Sender$1.frame(data, { - fin: true, - rsv1: false, - opcode: 0x09, - mask, - readOnly - }), - cb - ); - } - - /** - * Sends a pong message to the other peer. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @public - */ - pong(data, mask, cb) { - const buf = toBuffer(data); - - if (this._deflating) { - this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]); - } else { - this.doPong(buf, mask, toBuffer.readOnly, cb); - } - } - - /** - * Frames and sends a pong message. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Boolean} readOnly Specifies whether `data` can be modified - * @param {Function} cb Callback - * @private - */ - doPong(data, mask, readOnly, cb) { - this.sendFrame( - Sender$1.frame(data, { - fin: true, - rsv1: false, - opcode: 0x0a, - mask, - readOnly - }), - cb - ); - } - - /** - * Sends a data message to the other peer. - * - * @param {*} data The message to send - * @param {Object} options Options object - * @param {Boolean} options.compress Specifies whether or not to compress `data` - * @param {Boolean} options.binary Specifies whether `data` is binary or text - * @param {Boolean} options.fin Specifies whether the fragment is the last one - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @public - */ - send(data, options, cb) { - const buf = toBuffer(data); - const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; - var opcode = options.binary ? 2 : 1; - var rsv1 = options.compress; - - if (this._firstFragment) { - this._firstFragment = false; - if (rsv1 && perMessageDeflate) { - rsv1 = buf.length >= perMessageDeflate._threshold; - } - this._compress = rsv1; - } else { - rsv1 = false; - opcode = 0; - } - - if (options.fin) this._firstFragment = true; - - if (perMessageDeflate) { - const opts = { - fin: options.fin, - rsv1, - opcode, - mask: options.mask, - readOnly: toBuffer.readOnly - }; - - if (this._deflating) { - this.enqueue([this.dispatch, buf, this._compress, opts, cb]); - } else { - this.dispatch(buf, this._compress, opts, cb); - } - } else { - this.sendFrame( - Sender$1.frame(buf, { - fin: options.fin, - rsv1: false, - opcode, - mask: options.mask, - readOnly: toBuffer.readOnly - }), - cb - ); - } - } - - /** - * Dispatches a data message. - * - * @param {Buffer} data The message to send - * @param {Boolean} compress Specifies whether or not to compress `data` - * @param {Object} options Options object - * @param {Number} options.opcode The opcode - * @param {Boolean} options.readOnly Specifies whether `data` can be modified - * @param {Boolean} options.fin Specifies whether or not to set the FIN bit - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit - * @param {Function} cb Callback - * @private - */ - dispatch(data, compress, options, cb) { - if (!compress) { - this.sendFrame(Sender$1.frame(data, options), cb); - return; - } - - const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; - - this._deflating = true; - perMessageDeflate.compress(data, options.fin, (_, buf) => { - this._deflating = false; - options.readOnly = false; - this.sendFrame(Sender$1.frame(buf, options), cb); - this.dequeue(); - }); - } - - /** - * Executes queued send operations. - * - * @private - */ - dequeue() { - while (!this._deflating && this._queue.length) { - const params = this._queue.shift(); - - this._bufferedBytes -= params[1].length; - params[0].apply(this, params.slice(1)); - } - } - - /** - * Enqueues a send operation. - * - * @param {Array} params Send operation parameters. - * @private - */ - enqueue(params) { - this._bufferedBytes += params[1].length; - this._queue.push(params); - } - - /** - * Sends a frame. - * - * @param {Buffer[]} list The frame to send - * @param {Function} cb Callback - * @private - */ - sendFrame(list, cb) { - if (list.length === 2) { - this._socket.cork(); - this._socket.write(list[0]); - this._socket.write(list[1], cb); - this._socket.uncork(); - } else { - this._socket.write(list[0], cb); - } - } -} - -var sender = Sender$1; - -const EventEmitter$2 = require$$0__default$2["default"]; -const crypto$9 = require$$0__default["default"]; -const https = require$$2__default["default"]; -const http$1 = http__default["default"]; -const net = require$$4__default["default"]; -const tls = require$$5__default["default"]; -const url = Url__default["default"]; - -const PerMessageDeflate$1 = permessageDeflate; -const EventTarget = eventTarget; -const extension$1 = extension$2; -const Receiver = receiver; -const Sender = sender; -const { - BINARY_TYPES, - EMPTY_BUFFER: EMPTY_BUFFER$2, - GUID: GUID$1, - kStatusCode, - kWebSocket, - NOOP -} = constants; - -const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED']; -const protocolVersions = [8, 13]; -const closeTimeout = 30 * 1000; - -/** - * Class representing a WebSocket. - * - * @extends EventEmitter - */ -class WebSocket$3 extends EventEmitter$2 { - /** - * Create a new `WebSocket`. - * - * @param {(String|url.Url|url.URL)} address The URL to which to connect - * @param {(String|String[])} protocols The subprotocols - * @param {Object} options Connection options - */ - constructor(address, protocols, options) { - super(); - - this.readyState = WebSocket$3.CONNECTING; - this.protocol = ''; - - this._binaryType = BINARY_TYPES[0]; - this._closeFrameReceived = false; - this._closeFrameSent = false; - this._closeMessage = ''; - this._closeTimer = null; - this._closeCode = 1006; - this._extensions = {}; - this._receiver = null; - this._sender = null; - this._socket = null; - - if (address !== null) { - this._isServer = false; - this._redirects = 0; - - if (Array.isArray(protocols)) { - protocols = protocols.join(', '); - } else if (typeof protocols === 'object' && protocols !== null) { - options = protocols; - protocols = undefined; - } - - initAsClient(this, address, protocols, options); - } else { - this._isServer = true; - } - } - - get CONNECTING() { - return WebSocket$3.CONNECTING; - } - get CLOSING() { - return WebSocket$3.CLOSING; - } - get CLOSED() { - return WebSocket$3.CLOSED; - } - get OPEN() { - return WebSocket$3.OPEN; - } - - /** - * This deviates from the WHATWG interface since ws doesn't support the - * required default "blob" type (instead we define a custom "nodebuffer" - * type). - * - * @type {String} - */ - get binaryType() { - return this._binaryType; - } - - set binaryType(type) { - if (!BINARY_TYPES.includes(type)) return; - - this._binaryType = type; - - // - // Allow to change `binaryType` on the fly. - // - if (this._receiver) this._receiver._binaryType = type; - } - - /** - * @type {Number} - */ - get bufferedAmount() { - if (!this._socket) return 0; - - // - // `socket.bufferSize` is `undefined` if the socket is closed. - // - return (this._socket.bufferSize || 0) + this._sender._bufferedBytes; - } - - /** - * @type {String} - */ - get extensions() { - return Object.keys(this._extensions).join(); - } - - /** - * Set up the socket and the internal resources. - * - * @param {net.Socket} socket The network socket between the server and client - * @param {Buffer} head The first packet of the upgraded stream - * @param {Number} maxPayload The maximum allowed message size - * @private - */ - setSocket(socket, head, maxPayload) { - const receiver = new Receiver( - this._binaryType, - this._extensions, - maxPayload - ); - - this._sender = new Sender(socket, this._extensions); - this._receiver = receiver; - this._socket = socket; - - receiver[kWebSocket] = this; - socket[kWebSocket] = this; - - receiver.on('conclude', receiverOnConclude); - receiver.on('drain', receiverOnDrain); - receiver.on('error', receiverOnError); - receiver.on('message', receiverOnMessage); - receiver.on('ping', receiverOnPing); - receiver.on('pong', receiverOnPong); - - socket.setTimeout(0); - socket.setNoDelay(); - - if (head.length > 0) socket.unshift(head); - - socket.on('close', socketOnClose); - socket.on('data', socketOnData); - socket.on('end', socketOnEnd); - socket.on('error', socketOnError$1); - - this.readyState = WebSocket$3.OPEN; - this.emit('open'); - } - - /** - * Emit the `'close'` event. - * - * @private - */ - emitClose() { - this.readyState = WebSocket$3.CLOSED; - - if (!this._socket) { - this.emit('close', this._closeCode, this._closeMessage); - return; - } - - if (this._extensions[PerMessageDeflate$1.extensionName]) { - this._extensions[PerMessageDeflate$1.extensionName].cleanup(); - } - - this._receiver.removeAllListeners(); - this.emit('close', this._closeCode, this._closeMessage); - } - - /** - * Start a closing handshake. - * - * +----------+ +-----------+ +----------+ - * - - -|ws.close()|-->|close frame|-->|ws.close()|- - - - * | +----------+ +-----------+ +----------+ | - * +----------+ +-----------+ | - * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING - * +----------+ +-----------+ | - * | | | +---+ | - * +------------------------+-->|fin| - - - - - * | +---+ | +---+ - * - - - - -|fin|<---------------------+ - * +---+ - * - * @param {Number} code Status code explaining why the connection is closing - * @param {String} data A string explaining why the connection is closing - * @public - */ - close(code, data) { - if (this.readyState === WebSocket$3.CLOSED) return; - if (this.readyState === WebSocket$3.CONNECTING) { - const msg = 'WebSocket was closed before the connection was established'; - return abortHandshake$1(this, this._req, msg); - } - - if (this.readyState === WebSocket$3.CLOSING) { - if (this._closeFrameSent && this._closeFrameReceived) this._socket.end(); - return; - } - - this.readyState = WebSocket$3.CLOSING; - this._sender.close(code, data, !this._isServer, (err) => { - // - // This error is handled by the `'error'` listener on the socket. We only - // want to know if the close frame has been sent here. - // - if (err) return; - - this._closeFrameSent = true; - if (this._closeFrameReceived) this._socket.end(); - }); - - // - // Specify a timeout for the closing handshake to complete. - // - this._closeTimer = setTimeout( - this._socket.destroy.bind(this._socket), - closeTimeout - ); - } - - /** - * Send a ping. - * - * @param {*} data The data to send - * @param {Boolean} mask Indicates whether or not to mask `data` - * @param {Function} cb Callback which is executed when the ping is sent - * @public - */ - ping(data, mask, cb) { - if (typeof data === 'function') { - cb = data; - data = mask = undefined; - } else if (typeof mask === 'function') { - cb = mask; - mask = undefined; - } - - if (this.readyState !== WebSocket$3.OPEN) { - const err = new Error( - `WebSocket is not open: readyState ${this.readyState} ` + - `(${readyStates[this.readyState]})` - ); - - if (cb) return cb(err); - throw err; - } - - if (typeof data === 'number') data = data.toString(); - if (mask === undefined) mask = !this._isServer; - this._sender.ping(data || EMPTY_BUFFER$2, mask, cb); - } - - /** - * Send a pong. - * - * @param {*} data The data to send - * @param {Boolean} mask Indicates whether or not to mask `data` - * @param {Function} cb Callback which is executed when the pong is sent - * @public - */ - pong(data, mask, cb) { - if (typeof data === 'function') { - cb = data; - data = mask = undefined; - } else if (typeof mask === 'function') { - cb = mask; - mask = undefined; - } - - if (this.readyState !== WebSocket$3.OPEN) { - const err = new Error( - `WebSocket is not open: readyState ${this.readyState} ` + - `(${readyStates[this.readyState]})` - ); - - if (cb) return cb(err); - throw err; - } - - if (typeof data === 'number') data = data.toString(); - if (mask === undefined) mask = !this._isServer; - this._sender.pong(data || EMPTY_BUFFER$2, mask, cb); - } - - /** - * Send a data message. - * - * @param {*} data The message to send - * @param {Object} options Options object - * @param {Boolean} options.compress Specifies whether or not to compress `data` - * @param {Boolean} options.binary Specifies whether `data` is binary or text - * @param {Boolean} options.fin Specifies whether the fragment is the last one - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Function} cb Callback which is executed when data is written out - * @public - */ - send(data, options, cb) { - if (typeof options === 'function') { - cb = options; - options = {}; - } - - if (this.readyState !== WebSocket$3.OPEN) { - const err = new Error( - `WebSocket is not open: readyState ${this.readyState} ` + - `(${readyStates[this.readyState]})` - ); - - if (cb) return cb(err); - throw err; - } - - if (typeof data === 'number') data = data.toString(); - - const opts = Object.assign( - { - binary: typeof data !== 'string', - mask: !this._isServer, - compress: true, - fin: true - }, - options - ); - - if (!this._extensions[PerMessageDeflate$1.extensionName]) { - opts.compress = false; - } - - this._sender.send(data || EMPTY_BUFFER$2, opts, cb); - } - - /** - * Forcibly close the connection. - * - * @public - */ - terminate() { - if (this.readyState === WebSocket$3.CLOSED) return; - if (this.readyState === WebSocket$3.CONNECTING) { - const msg = 'WebSocket was closed before the connection was established'; - return abortHandshake$1(this, this._req, msg); - } - - if (this._socket) { - this.readyState = WebSocket$3.CLOSING; - this._socket.destroy(); - } - } -} - -readyStates.forEach((readyState, i) => { - WebSocket$3[readyState] = i; -}); - -// -// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes. -// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface -// -['open', 'error', 'close', 'message'].forEach((method) => { - Object.defineProperty(WebSocket$3.prototype, `on${method}`, { - /** - * Return the listener of the event. - * - * @return {(Function|undefined)} The event listener or `undefined` - * @public - */ - get() { - const listeners = this.listeners(method); - for (var i = 0; i < listeners.length; i++) { - if (listeners[i]._listener) return listeners[i]._listener; - } - - return undefined; - }, - /** - * Add a listener for the event. - * - * @param {Function} listener The listener to add - * @public - */ - set(listener) { - const listeners = this.listeners(method); - for (var i = 0; i < listeners.length; i++) { - // - // Remove only the listeners added via `addEventListener`. - // - if (listeners[i]._listener) this.removeListener(method, listeners[i]); - } - this.addEventListener(method, listener); - } - }); -}); - -WebSocket$3.prototype.addEventListener = EventTarget.addEventListener; -WebSocket$3.prototype.removeEventListener = EventTarget.removeEventListener; - -var websocket = WebSocket$3; - -/** - * Initialize a WebSocket client. - * - * @param {WebSocket} websocket The client to initialize - * @param {(String|url.Url|url.URL)} address The URL to which to connect - * @param {String} protocols The subprotocols - * @param {Object} options Connection options - * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable - * permessage-deflate - * @param {Number} options.handshakeTimeout Timeout in milliseconds for the - * handshake request - * @param {Number} options.protocolVersion Value of the `Sec-WebSocket-Version` - * header - * @param {String} options.origin Value of the `Origin` or - * `Sec-WebSocket-Origin` header - * @param {Number} options.maxPayload The maximum allowed message size - * @param {Boolean} options.followRedirects Whether or not to follow redirects - * @param {Number} options.maxRedirects The maximum number of redirects allowed - * @private - */ -function initAsClient(websocket, address, protocols, options) { - const opts = Object.assign( - { - protocolVersion: protocolVersions[1], - maxPayload: 100 * 1024 * 1024, - perMessageDeflate: true, - followRedirects: false, - maxRedirects: 10 - }, - options, - { - createConnection: undefined, - socketPath: undefined, - hostname: undefined, - protocol: undefined, - timeout: undefined, - method: undefined, - auth: undefined, - host: undefined, - path: undefined, - port: undefined - } - ); - - if (!protocolVersions.includes(opts.protocolVersion)) { - throw new RangeError( - `Unsupported protocol version: ${opts.protocolVersion} ` + - `(supported versions: ${protocolVersions.join(', ')})` - ); - } - - var parsedUrl; - - if (typeof address === 'object' && address.href !== undefined) { - parsedUrl = address; - websocket.url = address.href; - } else { - // - // The WHATWG URL constructor is not available on Node.js < 6.13.0 - // - parsedUrl = url.URL ? new url.URL(address) : url.parse(address); - websocket.url = address; - } - - const isUnixSocket = parsedUrl.protocol === 'ws+unix:'; - - if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) { - throw new Error(`Invalid URL: ${websocket.url}`); - } - - const isSecure = - parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:'; - const defaultPort = isSecure ? 443 : 80; - const key = crypto$9.randomBytes(16).toString('base64'); - const get = isSecure ? https.get : http$1.get; - const path = parsedUrl.search - ? `${parsedUrl.pathname || '/'}${parsedUrl.search}` - : parsedUrl.pathname || '/'; - var perMessageDeflate; - - opts.createConnection = isSecure ? tlsConnect : netConnect; - opts.defaultPort = opts.defaultPort || defaultPort; - opts.port = parsedUrl.port || defaultPort; - opts.host = parsedUrl.hostname.startsWith('[') - ? parsedUrl.hostname.slice(1, -1) - : parsedUrl.hostname; - opts.headers = Object.assign( - { - 'Sec-WebSocket-Version': opts.protocolVersion, - 'Sec-WebSocket-Key': key, - Connection: 'Upgrade', - Upgrade: 'websocket' - }, - opts.headers - ); - opts.path = path; - opts.timeout = opts.handshakeTimeout; - - if (opts.perMessageDeflate) { - perMessageDeflate = new PerMessageDeflate$1( - opts.perMessageDeflate !== true ? opts.perMessageDeflate : {}, - false, - opts.maxPayload - ); - opts.headers['Sec-WebSocket-Extensions'] = extension$1.format({ - [PerMessageDeflate$1.extensionName]: perMessageDeflate.offer() - }); - } - if (protocols) { - opts.headers['Sec-WebSocket-Protocol'] = protocols; - } - if (opts.origin) { - if (opts.protocolVersion < 13) { - opts.headers['Sec-WebSocket-Origin'] = opts.origin; - } else { - opts.headers.Origin = opts.origin; - } - } - if (parsedUrl.auth) { - opts.auth = parsedUrl.auth; - } else if (parsedUrl.username || parsedUrl.password) { - opts.auth = `${parsedUrl.username}:${parsedUrl.password}`; - } - - if (isUnixSocket) { - const parts = path.split(':'); - - opts.socketPath = parts[0]; - opts.path = parts[1]; - } - - var req = (websocket._req = get(opts)); - - if (opts.timeout) { - req.on('timeout', () => { - abortHandshake$1(websocket, req, 'Opening handshake has timed out'); - }); - } - - req.on('error', (err) => { - if (websocket._req.aborted) return; - - req = websocket._req = null; - websocket.readyState = WebSocket$3.CLOSING; - websocket.emit('error', err); - websocket.emitClose(); - }); - - req.on('response', (res) => { - const location = res.headers.location; - const statusCode = res.statusCode; - - if ( - location && - opts.followRedirects && - statusCode >= 300 && - statusCode < 400 - ) { - if (++websocket._redirects > opts.maxRedirects) { - abortHandshake$1(websocket, req, 'Maximum redirects exceeded'); - return; - } - - req.abort(); - - const addr = url.URL - ? new url.URL(location, address) - : url.resolve(address, location); - - initAsClient(websocket, addr, protocols, options); - } else if (!websocket.emit('unexpected-response', req, res)) { - abortHandshake$1( - websocket, - req, - `Unexpected server response: ${res.statusCode}` - ); - } - }); - - req.on('upgrade', (res, socket, head) => { - websocket.emit('upgrade', res); - - // - // The user may have closed the connection from a listener of the `upgrade` - // event. - // - if (websocket.readyState !== WebSocket$3.CONNECTING) return; - - req = websocket._req = null; - - const digest = crypto$9 - .createHash('sha1') - .update(key + GUID$1) - .digest('base64'); - - if (res.headers['sec-websocket-accept'] !== digest) { - abortHandshake$1(websocket, socket, 'Invalid Sec-WebSocket-Accept header'); - return; - } - - const serverProt = res.headers['sec-websocket-protocol']; - const protList = (protocols || '').split(/, */); - var protError; - - if (!protocols && serverProt) { - protError = 'Server sent a subprotocol but none was requested'; - } else if (protocols && !serverProt) { - protError = 'Server sent no subprotocol'; - } else if (serverProt && !protList.includes(serverProt)) { - protError = 'Server sent an invalid subprotocol'; - } - - if (protError) { - abortHandshake$1(websocket, socket, protError); - return; - } - - if (serverProt) websocket.protocol = serverProt; - - if (perMessageDeflate) { - try { - const extensions = extension$1.parse( - res.headers['sec-websocket-extensions'] - ); - - if (extensions[PerMessageDeflate$1.extensionName]) { - perMessageDeflate.accept(extensions[PerMessageDeflate$1.extensionName]); - websocket._extensions[ - PerMessageDeflate$1.extensionName - ] = perMessageDeflate; - } - } catch (err) { - abortHandshake$1( - websocket, - socket, - 'Invalid Sec-WebSocket-Extensions header' - ); - return; - } - } - - websocket.setSocket(socket, head, opts.maxPayload); - }); -} - -/** - * Create a `net.Socket` and initiate a connection. - * - * @param {Object} options Connection options - * @return {net.Socket} The newly created socket used to start the connection - * @private - */ -function netConnect(options) { - // - // Override `options.path` only if `options` is a copy of the original options - // object. This is always true on Node.js >= 8 but not on Node.js 6 where - // `options.socketPath` might be `undefined` even if the `socketPath` option - // was originally set. - // - if (options.protocolVersion) options.path = options.socketPath; - return net.connect(options); -} - -/** - * Create a `tls.TLSSocket` and initiate a connection. - * - * @param {Object} options Connection options - * @return {tls.TLSSocket} The newly created socket used to start the connection - * @private - */ -function tlsConnect(options) { - options.path = undefined; - options.servername = options.servername || options.host; - return tls.connect(options); -} - -/** - * Abort the handshake and emit an error. - * - * @param {WebSocket} websocket The WebSocket instance - * @param {(http.ClientRequest|net.Socket)} stream The request to abort or the - * socket to destroy - * @param {String} message The error message - * @private - */ -function abortHandshake$1(websocket, stream, message) { - websocket.readyState = WebSocket$3.CLOSING; - - const err = new Error(message); - Error.captureStackTrace(err, abortHandshake$1); - - if (stream.setHeader) { - stream.abort(); - stream.once('abort', websocket.emitClose.bind(websocket)); - websocket.emit('error', err); - } else { - stream.destroy(err); - stream.once('error', websocket.emit.bind(websocket, 'error')); - stream.once('close', websocket.emitClose.bind(websocket)); - } -} - -/** - * The listener of the `Receiver` `'conclude'` event. - * - * @param {Number} code The status code - * @param {String} reason The reason for closing - * @private - */ -function receiverOnConclude(code, reason) { - const websocket = this[kWebSocket]; - - websocket._socket.removeListener('data', socketOnData); - websocket._socket.resume(); - - websocket._closeFrameReceived = true; - websocket._closeMessage = reason; - websocket._closeCode = code; - - if (code === 1005) websocket.close(); - else websocket.close(code, reason); -} - -/** - * The listener of the `Receiver` `'drain'` event. - * - * @private - */ -function receiverOnDrain() { - this[kWebSocket]._socket.resume(); -} - -/** - * The listener of the `Receiver` `'error'` event. - * - * @param {(RangeError|Error)} err The emitted error - * @private - */ -function receiverOnError(err) { - const websocket = this[kWebSocket]; - - websocket._socket.removeListener('data', socketOnData); - - websocket.readyState = WebSocket$3.CLOSING; - websocket._closeCode = err[kStatusCode]; - websocket.emit('error', err); - websocket._socket.destroy(); -} - -/** - * The listener of the `Receiver` `'finish'` event. - * - * @private - */ -function receiverOnFinish() { - this[kWebSocket].emitClose(); -} - -/** - * The listener of the `Receiver` `'message'` event. - * - * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message - * @private - */ -function receiverOnMessage(data) { - this[kWebSocket].emit('message', data); -} - -/** - * The listener of the `Receiver` `'ping'` event. - * - * @param {Buffer} data The data included in the ping frame - * @private - */ -function receiverOnPing(data) { - const websocket = this[kWebSocket]; - - websocket.pong(data, !websocket._isServer, NOOP); - websocket.emit('ping', data); -} - -/** - * The listener of the `Receiver` `'pong'` event. - * - * @param {Buffer} data The data included in the pong frame - * @private - */ -function receiverOnPong(data) { - this[kWebSocket].emit('pong', data); -} - -/** - * The listener of the `net.Socket` `'close'` event. - * - * @private - */ -function socketOnClose() { - const websocket = this[kWebSocket]; - - this.removeListener('close', socketOnClose); - this.removeListener('end', socketOnEnd); - - websocket.readyState = WebSocket$3.CLOSING; - - // - // The close frame might not have been received or the `'end'` event emitted, - // for example, if the socket was destroyed due to an error. Ensure that the - // `receiver` stream is closed after writing any remaining buffered data to - // it. If the readable side of the socket is in flowing mode then there is no - // buffered data as everything has been already written and `readable.read()` - // will return `null`. If instead, the socket is paused, any possible buffered - // data will be read as a single chunk and emitted synchronously in a single - // `'data'` event. - // - websocket._socket.read(); - websocket._receiver.end(); - - this.removeListener('data', socketOnData); - this[kWebSocket] = undefined; - - clearTimeout(websocket._closeTimer); - - if ( - websocket._receiver._writableState.finished || - websocket._receiver._writableState.errorEmitted - ) { - websocket.emitClose(); - } else { - websocket._receiver.on('error', receiverOnFinish); - websocket._receiver.on('finish', receiverOnFinish); - } -} - -/** - * The listener of the `net.Socket` `'data'` event. - * - * @param {Buffer} chunk A chunk of data - * @private - */ -function socketOnData(chunk) { - if (!this[kWebSocket]._receiver.write(chunk)) { - this.pause(); - } -} - -/** - * The listener of the `net.Socket` `'end'` event. - * - * @private - */ -function socketOnEnd() { - const websocket = this[kWebSocket]; - - websocket.readyState = WebSocket$3.CLOSING; - websocket._receiver.end(); - this.end(); -} - -/** - * The listener of the `net.Socket` `'error'` event. - * - * @private - */ -function socketOnError$1() { - const websocket = this[kWebSocket]; - - this.removeListener('error', socketOnError$1); - this.on('error', NOOP); - - websocket.readyState = WebSocket$3.CLOSING; - this.destroy(); -} - -const EventEmitter$1 = require$$0__default$2["default"]; -const crypto$8 = require$$0__default["default"]; -const http = http__default["default"]; - -const PerMessageDeflate = permessageDeflate; -const extension = extension$2; -const WebSocket$2 = websocket; -const { GUID } = constants; - -const keyRegex = /^[+/0-9A-Za-z]{22}==$/; - -/** - * Class representing a WebSocket server. - * - * @extends EventEmitter - */ -class WebSocketServer extends EventEmitter$1 { - /** - * Create a `WebSocketServer` instance. - * - * @param {Object} options Configuration options - * @param {Number} options.backlog The maximum length of the queue of pending - * connections - * @param {Boolean} options.clientTracking Specifies whether or not to track - * clients - * @param {Function} options.handleProtocols An hook to handle protocols - * @param {String} options.host The hostname where to bind the server - * @param {Number} options.maxPayload The maximum allowed message size - * @param {Boolean} options.noServer Enable no server mode - * @param {String} options.path Accept only connections matching this path - * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable - * permessage-deflate - * @param {Number} options.port The port where to bind the server - * @param {http.Server} options.server A pre-created HTTP/S server to use - * @param {Function} options.verifyClient An hook to reject connections - * @param {Function} callback A listener for the `listening` event - */ - constructor(options, callback) { - super(); - - options = Object.assign( - { - maxPayload: 100 * 1024 * 1024, - perMessageDeflate: false, - handleProtocols: null, - clientTracking: true, - verifyClient: null, - noServer: false, - backlog: null, // use default (511 as implemented in net.js) - server: null, - host: null, - path: null, - port: null - }, - options - ); - - if (options.port == null && !options.server && !options.noServer) { - throw new TypeError( - 'One of the "port", "server", or "noServer" options must be specified' - ); - } - - if (options.port != null) { - this._server = http.createServer((req, res) => { - const body = http.STATUS_CODES[426]; - - res.writeHead(426, { - 'Content-Length': body.length, - 'Content-Type': 'text/plain' - }); - res.end(body); - }); - this._server.listen( - options.port, - options.host, - options.backlog, - callback - ); - } else if (options.server) { - this._server = options.server; - } - - if (this._server) { - this._removeListeners = addListeners(this._server, { - listening: this.emit.bind(this, 'listening'), - error: this.emit.bind(this, 'error'), - upgrade: (req, socket, head) => { - this.handleUpgrade(req, socket, head, (ws) => { - this.emit('connection', ws, req); - }); - } - }); - } - - if (options.perMessageDeflate === true) options.perMessageDeflate = {}; - if (options.clientTracking) this.clients = new Set(); - this.options = options; - } - - /** - * Returns the bound address, the address family name, and port of the server - * as reported by the operating system if listening on an IP socket. - * If the server is listening on a pipe or UNIX domain socket, the name is - * returned as a string. - * - * @return {(Object|String|null)} The address of the server - * @public - */ - address() { - if (this.options.noServer) { - throw new Error('The server is operating in "noServer" mode'); - } - - if (!this._server) return null; - return this._server.address(); - } - - /** - * Close the server. - * - * @param {Function} cb Callback - * @public - */ - close(cb) { - if (cb) this.once('close', cb); - - // - // Terminate all associated clients. - // - if (this.clients) { - for (const client of this.clients) client.terminate(); - } - - const server = this._server; - - if (server) { - this._removeListeners(); - this._removeListeners = this._server = null; - - // - // Close the http server if it was internally created. - // - if (this.options.port != null) { - server.close(() => this.emit('close')); - return; - } - } - - process.nextTick(emitClose, this); - } - - /** - * See if a given request should be handled by this server instance. - * - * @param {http.IncomingMessage} req Request object to inspect - * @return {Boolean} `true` if the request is valid, else `false` - * @public - */ - shouldHandle(req) { - if (this.options.path) { - const index = req.url.indexOf('?'); - const pathname = index !== -1 ? req.url.slice(0, index) : req.url; - - if (pathname !== this.options.path) return false; - } - - return true; - } - - /** - * Handle a HTTP Upgrade request. - * - * @param {http.IncomingMessage} req The request object - * @param {net.Socket} socket The network socket between the server and client - * @param {Buffer} head The first packet of the upgraded stream - * @param {Function} cb Callback - * @public - */ - handleUpgrade(req, socket, head, cb) { - socket.on('error', socketOnError); - - const key = - req.headers['sec-websocket-key'] !== undefined - ? req.headers['sec-websocket-key'].trim() - : false; - const version = +req.headers['sec-websocket-version']; - const extensions = {}; - - if ( - req.method !== 'GET' || - req.headers.upgrade.toLowerCase() !== 'websocket' || - !key || - !keyRegex.test(key) || - (version !== 8 && version !== 13) || - !this.shouldHandle(req) - ) { - return abortHandshake(socket, 400); - } - - if (this.options.perMessageDeflate) { - const perMessageDeflate = new PerMessageDeflate( - this.options.perMessageDeflate, - true, - this.options.maxPayload - ); - - try { - const offers = extension.parse(req.headers['sec-websocket-extensions']); - - if (offers[PerMessageDeflate.extensionName]) { - perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]); - extensions[PerMessageDeflate.extensionName] = perMessageDeflate; - } - } catch (err) { - return abortHandshake(socket, 400); - } - } - - // - // Optionally call external client verification handler. - // - if (this.options.verifyClient) { - const info = { - origin: - req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`], - secure: !!(req.connection.authorized || req.connection.encrypted), - req - }; - - if (this.options.verifyClient.length === 2) { - this.options.verifyClient(info, (verified, code, message, headers) => { - if (!verified) { - return abortHandshake(socket, code || 401, message, headers); - } - - this.completeUpgrade(key, extensions, req, socket, head, cb); - }); - return; - } - - if (!this.options.verifyClient(info)) return abortHandshake(socket, 401); - } - - this.completeUpgrade(key, extensions, req, socket, head, cb); - } - - /** - * Upgrade the connection to WebSocket. - * - * @param {String} key The value of the `Sec-WebSocket-Key` header - * @param {Object} extensions The accepted extensions - * @param {http.IncomingMessage} req The request object - * @param {net.Socket} socket The network socket between the server and client - * @param {Buffer} head The first packet of the upgraded stream - * @param {Function} cb Callback - * @private - */ - completeUpgrade(key, extensions, req, socket, head, cb) { - // - // Destroy the socket if the client has already sent a FIN packet. - // - if (!socket.readable || !socket.writable) return socket.destroy(); - - const digest = crypto$8 - .createHash('sha1') - .update(key + GUID) - .digest('base64'); - - const headers = [ - 'HTTP/1.1 101 Switching Protocols', - 'Upgrade: websocket', - 'Connection: Upgrade', - `Sec-WebSocket-Accept: ${digest}` - ]; - - const ws = new WebSocket$2(null); - var protocol = req.headers['sec-websocket-protocol']; - - if (protocol) { - protocol = protocol.split(',').map(trim); - - // - // Optionally call external protocol selection handler. - // - if (this.options.handleProtocols) { - protocol = this.options.handleProtocols(protocol, req); - } else { - protocol = protocol[0]; - } - - if (protocol) { - headers.push(`Sec-WebSocket-Protocol: ${protocol}`); - ws.protocol = protocol; - } - } - - if (extensions[PerMessageDeflate.extensionName]) { - const params = extensions[PerMessageDeflate.extensionName].params; - const value = extension.format({ - [PerMessageDeflate.extensionName]: [params] - }); - headers.push(`Sec-WebSocket-Extensions: ${value}`); - ws._extensions = extensions; - } - - // - // Allow external modification/inspection of handshake headers. - // - this.emit('headers', headers, req); - - socket.write(headers.concat('\r\n').join('\r\n')); - socket.removeListener('error', socketOnError); - - ws.setSocket(socket, head, this.options.maxPayload); - - if (this.clients) { - this.clients.add(ws); - ws.on('close', () => this.clients.delete(ws)); - } - - cb(ws); - } -} - -var websocketServer = WebSocketServer; - -/** - * Add event listeners on an `EventEmitter` using a map of - * pairs. - * - * @param {EventEmitter} server The event emitter - * @param {Object.} map The listeners to add - * @return {Function} A function that will remove the added listeners when called - * @private - */ -function addListeners(server, map) { - for (const event of Object.keys(map)) server.on(event, map[event]); - - return function removeListeners() { - for (const event of Object.keys(map)) { - server.removeListener(event, map[event]); - } - }; -} - -/** - * Emit a `'close'` event on an `EventEmitter`. - * - * @param {EventEmitter} server The event emitter - * @private - */ -function emitClose(server) { - server.emit('close'); -} - -/** - * Handle premature socket errors. - * - * @private - */ -function socketOnError() { - this.destroy(); -} - -/** - * Close the connection when preconditions are not fulfilled. - * - * @param {net.Socket} socket The socket of the upgrade request - * @param {Number} code The HTTP response status code - * @param {String} [message] The HTTP response body - * @param {Object} [headers] Additional HTTP response headers - * @private - */ -function abortHandshake(socket, code, message, headers) { - if (socket.writable) { - message = message || http.STATUS_CODES[code]; - headers = Object.assign( - { - Connection: 'close', - 'Content-type': 'text/html', - 'Content-Length': Buffer.byteLength(message) - }, - headers - ); - - socket.write( - `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\r\n` + - Object.keys(headers) - .map((h) => `${h}: ${headers[h]}`) - .join('\r\n') + - '\r\n\r\n' + - message - ); - } - - socket.removeListener('error', socketOnError); - socket.destroy(); -} - -/** - * Remove whitespace characters from both ends of a string. - * - * @param {String} str The string - * @return {String} A new string representing `str` stripped of whitespace - * characters from both its beginning and end - * @private - */ -function trim(str) { - return str.trim(); -} - -const WebSocket$1 = websocket; - -WebSocket$1.Server = websocketServer; -WebSocket$1.Receiver = receiver; -WebSocket$1.Sender = sender; - -var ws = WebSocket$1; - -var duplex = {}; - -var helpers = {}; - -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ - -var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -Object.defineProperty(helpers, "__esModule", { value: true }); -var _hasOwnProperty = Object.prototype.hasOwnProperty; -function hasOwnProperty(obj, key) { - return _hasOwnProperty.call(obj, key); -} -helpers.hasOwnProperty = hasOwnProperty; -function _objectKeys(obj) { - if (Array.isArray(obj)) { - var keys = new Array(obj.length); - for (var k = 0; k < keys.length; k++) { - keys[k] = "" + k; - } - return keys; - } - if (Object.keys) { - return Object.keys(obj); - } - var keys = []; - for (var i in obj) { - if (hasOwnProperty(obj, i)) { - keys.push(i); - } - } - return keys; -} -helpers._objectKeys = _objectKeys; -/** -* Deeply clone the object. -* https://jsperf.com/deep-copy-vs-json-stringify-json-parse/25 (recursiveDeepCopy) -* @param {any} obj value to clone -* @return {any} cloned obj -*/ -function _deepClone(obj) { - switch (typeof obj) { - case "object": - return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5 - case "undefined": - return null; //this is how JSON.stringify behaves for array items - default: - return obj; //no need to clone primitives - } -} -helpers._deepClone = _deepClone; -//3x faster than cached /^\d+$/.test(str) -function isInteger(str) { - var i = 0; - var len = str.length; - var charCode; - while (i < len) { - charCode = str.charCodeAt(i); - if (charCode >= 48 && charCode <= 57) { - i++; - continue; - } - return false; - } - return true; -} -helpers.isInteger = isInteger; -/** -* Escapes a json pointer path -* @param path The raw pointer -* @return the Escaped path -*/ -function escapePathComponent(path) { - if (path.indexOf('/') === -1 && path.indexOf('~') === -1) - return path; - return path.replace(/~/g, '~0').replace(/\//g, '~1'); -} -helpers.escapePathComponent = escapePathComponent; -/** - * Unescapes a json pointer path - * @param path The escaped pointer - * @return The unescaped path - */ -function unescapePathComponent(path) { - return path.replace(/~1/g, '/').replace(/~0/g, '~'); -} -helpers.unescapePathComponent = unescapePathComponent; -function _getPathRecursive(root, obj) { - var found; - for (var key in root) { - if (hasOwnProperty(root, key)) { - if (root[key] === obj) { - return escapePathComponent(key) + '/'; - } - else if (typeof root[key] === 'object') { - found = _getPathRecursive(root[key], obj); - if (found != '') { - return escapePathComponent(key) + '/' + found; - } - } - } - } - return ''; -} -helpers._getPathRecursive = _getPathRecursive; -function getPath(root, obj) { - if (root === obj) { - return '/'; - } - var path = _getPathRecursive(root, obj); - if (path === '') { - throw new Error("Object not found in root"); - } - return '/' + path; -} -helpers.getPath = getPath; -/** -* Recursively checks whether an object has any undefined values inside. -*/ -function hasUndefined(obj) { - if (obj === undefined) { - return true; - } - if (obj) { - if (Array.isArray(obj)) { - for (var i = 0, len = obj.length; i < len; i++) { - if (hasUndefined(obj[i])) { - return true; - } - } - } - else if (typeof obj === "object") { - var objKeys = _objectKeys(obj); - var objKeysLength = objKeys.length; - for (var i = 0; i < objKeysLength; i++) { - if (hasUndefined(obj[objKeys[i]])) { - return true; - } - } - } - } - return false; -} -helpers.hasUndefined = hasUndefined; -function patchErrorMessageFormatter(message, args) { - var messageParts = [message]; - for (var key in args) { - var value = typeof args[key] === 'object' ? JSON.stringify(args[key], null, 2) : args[key]; // pretty print - if (typeof value !== 'undefined') { - messageParts.push(key + ": " + value); - } - } - return messageParts.join('\n'); -} -var PatchError = /** @class */ (function (_super) { - __extends(PatchError, _super); - function PatchError(message, name, index, operation, tree) { - var _newTarget = this.constructor; - var _this = _super.call(this, patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree })) || this; - _this.name = name; - _this.index = index; - _this.operation = operation; - _this.tree = tree; - Object.setPrototypeOf(_this, _newTarget.prototype); // restore prototype chain, see https://stackoverflow.com/a/48342359 - _this.message = patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree }); - return _this; - } - return PatchError; -}(Error)); -helpers.PatchError = PatchError; - -var core$1 = {}; - -var isArray = Array.isArray; -var keyList = Object.keys; -var hasProp = Object.prototype.hasOwnProperty; - -var fastDeepEqual = function equal(a, b) { - if (a === b) return true; - - if (a && b && typeof a == 'object' && typeof b == 'object') { - var arrA = isArray(a) - , arrB = isArray(b) - , i - , length - , key; - - if (arrA && arrB) { - length = a.length; - if (length != b.length) return false; - for (i = length; i-- !== 0;) - if (!equal(a[i], b[i])) return false; - return true; - } - - if (arrA != arrB) return false; - - var dateA = a instanceof Date - , dateB = b instanceof Date; - if (dateA != dateB) return false; - if (dateA && dateB) return a.getTime() == b.getTime(); - - var regexpA = a instanceof RegExp - , regexpB = b instanceof RegExp; - if (regexpA != regexpB) return false; - if (regexpA && regexpB) return a.toString() == b.toString(); - - var keys = keyList(a); - length = keys.length; - - if (length !== keyList(b).length) - return false; - - for (i = length; i-- !== 0;) - if (!hasProp.call(b, keys[i])) return false; - - for (i = length; i-- !== 0;) { - key = keys[i]; - if (!equal(a[key], b[key])) return false; - } - - return true; - } - - return a!==a && b!==b; -}; - -(function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - var areEquals = fastDeepEqual; - var helpers_1 = helpers; - exports.JsonPatchError = helpers_1.PatchError; - exports.deepClone = helpers_1._deepClone; - /* We use a Javascript hash to store each - function. Each hash entry (property) uses - the operation identifiers specified in rfc6902. - In this way, we can map each patch operation - to its dedicated function in efficient way. - */ - /* The operations applicable to an object */ - var objOps = { - add: function (obj, key, document) { - obj[key] = this.value; - return { newDocument: document }; - }, - remove: function (obj, key, document) { - var removed = obj[key]; - delete obj[key]; - return { newDocument: document, removed: removed }; - }, - replace: function (obj, key, document) { - var removed = obj[key]; - obj[key] = this.value; - return { newDocument: document, removed: removed }; - }, - move: function (obj, key, document) { - /* in case move target overwrites an existing value, - return the removed value, this can be taxing performance-wise, - and is potentially unneeded */ - var removed = getValueByPointer(document, this.path); - if (removed) { - removed = helpers_1._deepClone(removed); - } - var originalValue = applyOperation(document, { op: "remove", path: this.from }).removed; - applyOperation(document, { op: "add", path: this.path, value: originalValue }); - return { newDocument: document, removed: removed }; - }, - copy: function (obj, key, document) { - var valueToCopy = getValueByPointer(document, this.from); - // enforce copy by value so further operations don't affect source (see issue #177) - applyOperation(document, { op: "add", path: this.path, value: helpers_1._deepClone(valueToCopy) }); - return { newDocument: document }; - }, - test: function (obj, key, document) { - return { newDocument: document, test: areEquals(obj[key], this.value) }; - }, - _get: function (obj, key, document) { - this.value = obj[key]; - return { newDocument: document }; - } - }; - /* The operations applicable to an array. Many are the same as for the object */ - var arrOps = { - add: function (arr, i, document) { - if (helpers_1.isInteger(i)) { - arr.splice(i, 0, this.value); - } - else { // array props - arr[i] = this.value; - } - // this may be needed when using '-' in an array - return { newDocument: document, index: i }; - }, - remove: function (arr, i, document) { - var removedList = arr.splice(i, 1); - return { newDocument: document, removed: removedList[0] }; - }, - replace: function (arr, i, document) { - var removed = arr[i]; - arr[i] = this.value; - return { newDocument: document, removed: removed }; - }, - move: objOps.move, - copy: objOps.copy, - test: objOps.test, - _get: objOps._get - }; - /** - * Retrieves a value from a JSON document by a JSON pointer. - * Returns the value. - * - * @param document The document to get the value from - * @param pointer an escaped JSON pointer - * @return The retrieved value - */ - function getValueByPointer(document, pointer) { - if (pointer == '') { - return document; - } - var getOriginalDestination = { op: "_get", path: pointer }; - applyOperation(document, getOriginalDestination); - return getOriginalDestination.value; - } - exports.getValueByPointer = getValueByPointer; - /** - * Apply a single JSON Patch Operation on a JSON document. - * Returns the {newDocument, result} of the operation. - * It modifies the `document` and `operation` objects - it gets the values by reference. - * If you would like to avoid touching your values, clone them: - * `jsonpatch.applyOperation(document, jsonpatch._deepClone(operation))`. - * - * @param document The document to patch - * @param operation The operation to apply - * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. - * @param mutateDocument Whether to mutate the original document or clone it before applying - * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. - * @return `{newDocument, result}` after the operation - */ - function applyOperation(document, operation, validateOperation, mutateDocument, banPrototypeModifications, index) { - if (validateOperation === void 0) { validateOperation = false; } - if (mutateDocument === void 0) { mutateDocument = true; } - if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } - if (index === void 0) { index = 0; } - if (validateOperation) { - if (typeof validateOperation == 'function') { - validateOperation(operation, 0, document, operation.path); - } - else { - validator(operation, 0); - } - } - /* ROOT OPERATIONS */ - if (operation.path === "") { - var returnValue = { newDocument: document }; - if (operation.op === 'add') { - returnValue.newDocument = operation.value; - return returnValue; - } - else if (operation.op === 'replace') { - returnValue.newDocument = operation.value; - returnValue.removed = document; //document we removed - return returnValue; - } - else if (operation.op === 'move' || operation.op === 'copy') { // it's a move or copy to root - returnValue.newDocument = getValueByPointer(document, operation.from); // get the value by json-pointer in `from` field - if (operation.op === 'move') { // report removed item - returnValue.removed = document; - } - return returnValue; - } - else if (operation.op === 'test') { - returnValue.test = areEquals(document, operation.value); - if (returnValue.test === false) { - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - returnValue.newDocument = document; - return returnValue; - } - else if (operation.op === 'remove') { // a remove on root - returnValue.removed = document; - returnValue.newDocument = null; - return returnValue; - } - else if (operation.op === '_get') { - operation.value = document; - return returnValue; - } - else { /* bad operation */ - if (validateOperation) { - throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); - } - else { - return returnValue; - } - } - } /* END ROOT OPERATIONS */ - else { - if (!mutateDocument) { - document = helpers_1._deepClone(document); - } - var path = operation.path || ""; - var keys = path.split('/'); - var obj = document; - var t = 1; //skip empty element - http://jsperf.com/to-shift-or-not-to-shift - var len = keys.length; - var existingPathFragment = undefined; - var key = void 0; - var validateFunction = void 0; - if (typeof validateOperation == 'function') { - validateFunction = validateOperation; - } - else { - validateFunction = validator; - } - while (true) { - key = keys[t]; - if (banPrototypeModifications && key == '__proto__') { - throw new TypeError('JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README'); - } - if (validateOperation) { - if (existingPathFragment === undefined) { - if (obj[key] === undefined) { - existingPathFragment = keys.slice(0, t).join('/'); - } - else if (t == len - 1) { - existingPathFragment = operation.path; - } - if (existingPathFragment !== undefined) { - validateFunction(operation, 0, document, existingPathFragment); - } - } - } - t++; - if (Array.isArray(obj)) { - if (key === '-') { - key = obj.length; - } - else { - if (validateOperation && !helpers_1.isInteger(key)) { - throw new exports.JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index", "OPERATION_PATH_ILLEGAL_ARRAY_INDEX", index, operation, document); - } // only parse key when it's an integer for `arr.prop` to work - else if (helpers_1.isInteger(key)) { - key = ~~key; - } - } - if (t >= len) { - if (validateOperation && operation.op === "add" && key > obj.length) { - throw new exports.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array", "OPERATION_VALUE_OUT_OF_BOUNDS", index, operation, document); - } - var returnValue = arrOps[operation.op].call(operation, obj, key, document); // Apply patch - if (returnValue.test === false) { - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - return returnValue; - } - } - else { - if (key && key.indexOf('~') != -1) { - key = helpers_1.unescapePathComponent(key); - } - if (t >= len) { - var returnValue = objOps[operation.op].call(operation, obj, key, document); // Apply patch - if (returnValue.test === false) { - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - return returnValue; - } - } - obj = obj[key]; - } - } - } - exports.applyOperation = applyOperation; - /** - * Apply a full JSON Patch array on a JSON document. - * Returns the {newDocument, result} of the patch. - * It modifies the `document` object and `patch` - it gets the values by reference. - * If you would like to avoid touching your values, clone them: - * `jsonpatch.applyPatch(document, jsonpatch._deepClone(patch))`. - * - * @param document The document to patch - * @param patch The patch to apply - * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. - * @param mutateDocument Whether to mutate the original document or clone it before applying - * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. - * @return An array of `{newDocument, result}` after the patch - */ - function applyPatch(document, patch, validateOperation, mutateDocument, banPrototypeModifications) { - if (mutateDocument === void 0) { mutateDocument = true; } - if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } - if (validateOperation) { - if (!Array.isArray(patch)) { - throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); - } - } - if (!mutateDocument) { - document = helpers_1._deepClone(document); - } - var results = new Array(patch.length); - for (var i = 0, length_1 = patch.length; i < length_1; i++) { - // we don't need to pass mutateDocument argument because if it was true, we already deep cloned the object, we'll just pass `true` - results[i] = applyOperation(document, patch[i], validateOperation, true, banPrototypeModifications, i); - document = results[i].newDocument; // in case root was replaced - } - results.newDocument = document; - return results; - } - exports.applyPatch = applyPatch; - /** - * Apply a single JSON Patch Operation on a JSON document. - * Returns the updated document. - * Suitable as a reducer. - * - * @param document The document to patch - * @param operation The operation to apply - * @return The updated document - */ - function applyReducer(document, operation, index) { - var operationResult = applyOperation(document, operation); - if (operationResult.test === false) { // failed test - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - return operationResult.newDocument; - } - exports.applyReducer = applyReducer; - /** - * Validates a single operation. Called from `jsonpatch.validate`. Throws `JsonPatchError` in case of an error. - * @param {object} operation - operation object (patch) - * @param {number} index - index of operation in the sequence - * @param {object} [document] - object where the operation is supposed to be applied - * @param {string} [existingPathFragment] - comes along with `document` - */ - function validator(operation, index, document, existingPathFragment) { - if (typeof operation !== 'object' || operation === null || Array.isArray(operation)) { - throw new exports.JsonPatchError('Operation is not an object', 'OPERATION_NOT_AN_OBJECT', index, operation, document); - } - else if (!objOps[operation.op]) { - throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); - } - else if (typeof operation.path !== 'string') { - throw new exports.JsonPatchError('Operation `path` property is not a string', 'OPERATION_PATH_INVALID', index, operation, document); - } - else if (operation.path.indexOf('/') !== 0 && operation.path.length > 0) { - // paths that aren't empty string should start with "/" - throw new exports.JsonPatchError('Operation `path` property must start with "/"', 'OPERATION_PATH_INVALID', index, operation, document); - } - else if ((operation.op === 'move' || operation.op === 'copy') && typeof operation.from !== 'string') { - throw new exports.JsonPatchError('Operation `from` property is not present (applicable in `move` and `copy` operations)', 'OPERATION_FROM_REQUIRED', index, operation, document); - } - else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && operation.value === undefined) { - throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_REQUIRED', index, operation, document); - } - else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && helpers_1.hasUndefined(operation.value)) { - throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED', index, operation, document); - } - else if (document) { - if (operation.op == "add") { - var pathLen = operation.path.split("/").length; - var existingPathLen = existingPathFragment.split("/").length; - if (pathLen !== existingPathLen + 1 && pathLen !== existingPathLen) { - throw new exports.JsonPatchError('Cannot perform an `add` operation at the desired path', 'OPERATION_PATH_CANNOT_ADD', index, operation, document); - } - } - else if (operation.op === 'replace' || operation.op === 'remove' || operation.op === '_get') { - if (operation.path !== existingPathFragment) { - throw new exports.JsonPatchError('Cannot perform the operation at a path that does not exist', 'OPERATION_PATH_UNRESOLVABLE', index, operation, document); - } - } - else if (operation.op === 'move' || operation.op === 'copy') { - var existingValue = { op: "_get", path: operation.from, value: undefined }; - var error = validate([existingValue], document); - if (error && error.name === 'OPERATION_PATH_UNRESOLVABLE') { - throw new exports.JsonPatchError('Cannot perform the operation from a path that does not exist', 'OPERATION_FROM_UNRESOLVABLE', index, operation, document); - } - } - } - } - exports.validator = validator; - /** - * Validates a sequence of operations. If `document` parameter is provided, the sequence is additionally validated against the object document. - * If error is encountered, returns a JsonPatchError object - * @param sequence - * @param document - * @returns {JsonPatchError|undefined} - */ - function validate(sequence, document, externalValidator) { - try { - if (!Array.isArray(sequence)) { - throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); - } - if (document) { - //clone document and sequence so that we can safely try applying operations - applyPatch(helpers_1._deepClone(document), helpers_1._deepClone(sequence), externalValidator || true); - } - else { - externalValidator = externalValidator || validator; - for (var i = 0; i < sequence.length; i++) { - externalValidator(sequence[i], i, document, undefined); - } - } - } - catch (e) { - if (e instanceof exports.JsonPatchError) { - return e; - } - else { - throw e; - } - } - } - exports.validate = validate; - /** - * Default export for backwards compat - */ - exports.default = { - JsonPatchError: exports.JsonPatchError, - deepClone: exports.deepClone, - getValueByPointer: getValueByPointer, - applyOperation: applyOperation, - applyPatch: applyPatch, - applyReducer: applyReducer, - validator: validator, - validate: validate - }; -} (core$1)); - -var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -Object.defineProperty(duplex, "__esModule", { value: true }); -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ -var helpers_1 = helpers; -var core_1 = core$1; -/* export all core functions and types */ -var core_2 = core$1; -duplex.applyOperation = core_2.applyOperation; -duplex.applyPatch = core_2.applyPatch; -duplex.applyReducer = core_2.applyReducer; -duplex.getValueByPointer = core_2.getValueByPointer; -duplex.validate = core_2.validate; -duplex.validator = core_2.validator; -/* export some helpers */ -var helpers_2 = helpers; -duplex.JsonPatchError = helpers_2.PatchError; -duplex.deepClone = helpers_2._deepClone; -duplex.escapePathComponent = helpers_2.escapePathComponent; -duplex.unescapePathComponent = helpers_2.unescapePathComponent; -var beforeDict = new WeakMap(); -var Mirror = /** @class */ (function () { - function Mirror(obj) { - this.observers = new Map(); - this.obj = obj; - } - return Mirror; -}()); -var ObserverInfo = /** @class */ (function () { - function ObserverInfo(callback, observer) { - this.callback = callback; - this.observer = observer; - } - return ObserverInfo; -}()); -function getMirror(obj) { - return beforeDict.get(obj); -} -function getObserverFromMirror(mirror, callback) { - return mirror.observers.get(callback); -} -function removeObserverFromMirror(mirror, observer) { - mirror.observers.delete(observer.callback); -} -/** - * Detach an observer from an object - */ -function unobserve(root, observer) { - observer.unobserve(); -} -duplex.unobserve = unobserve; -/** - * Observes changes made to an object, which can then be retrieved using generate - */ -function observe(obj, callback) { - var patches = []; - var observer; - var mirror = getMirror(obj); - if (!mirror) { - mirror = new Mirror(obj); - beforeDict.set(obj, mirror); - } - else { - var observerInfo = getObserverFromMirror(mirror, callback); - observer = observerInfo && observerInfo.observer; - } - if (observer) { - return observer; - } - observer = {}; - mirror.value = helpers_1._deepClone(obj); - if (callback) { - observer.callback = callback; - observer.next = null; - var dirtyCheck = function () { - generate(observer); - }; - var fastCheck = function () { - clearTimeout(observer.next); - observer.next = setTimeout(dirtyCheck); - }; - if (typeof window !== 'undefined') { //not Node - window.addEventListener('mouseup', fastCheck); - window.addEventListener('keyup', fastCheck); - window.addEventListener('mousedown', fastCheck); - window.addEventListener('keydown', fastCheck); - window.addEventListener('change', fastCheck); - } - } - observer.patches = patches; - observer.object = obj; - observer.unobserve = function () { - generate(observer); - clearTimeout(observer.next); - removeObserverFromMirror(mirror, observer); - if (typeof window !== 'undefined') { - window.removeEventListener('mouseup', fastCheck); - window.removeEventListener('keyup', fastCheck); - window.removeEventListener('mousedown', fastCheck); - window.removeEventListener('keydown', fastCheck); - window.removeEventListener('change', fastCheck); - } - }; - mirror.observers.set(callback, new ObserverInfo(callback, observer)); - return observer; -} -duplex.observe = observe; -/** - * Generate an array of patches from an observer - */ -function generate(observer, invertible) { - if (invertible === void 0) { invertible = false; } - var mirror = beforeDict.get(observer.object); - _generate(mirror.value, observer.object, observer.patches, "", invertible); - if (observer.patches.length) { - core_1.applyPatch(mirror.value, observer.patches); - } - var temp = observer.patches; - if (temp.length > 0) { - observer.patches = []; - if (observer.callback) { - observer.callback(temp); - } - } - return temp; -} -duplex.generate = generate; -// Dirty check if obj is different from mirror, generate patches and update mirror -function _generate(mirror, obj, patches, path, invertible) { - if (obj === mirror) { - return; - } - if (typeof obj.toJSON === "function") { - obj = obj.toJSON(); - } - var newKeys = helpers_1._objectKeys(obj); - var oldKeys = helpers_1._objectKeys(mirror); - var deleted = false; - //if ever "move" operation is implemented here, make sure this test runs OK: "should not generate the same patch twice (move)" - for (var t = oldKeys.length - 1; t >= 0; t--) { - var key = oldKeys[t]; - var oldVal = mirror[key]; - if (helpers_1.hasOwnProperty(obj, key) && !(obj[key] === undefined && oldVal !== undefined && Array.isArray(obj) === false)) { - var newVal = obj[key]; - if (typeof oldVal == "object" && oldVal != null && typeof newVal == "object" && newVal != null) { - _generate(oldVal, newVal, patches, path + "/" + helpers_1.escapePathComponent(key), invertible); - } - else { - if (oldVal !== newVal) { - if (invertible) { - patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); - } - patches.push({ op: "replace", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(newVal) }); - } - } - } - else if (Array.isArray(mirror) === Array.isArray(obj)) { - if (invertible) { - patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); - } - patches.push({ op: "remove", path: path + "/" + helpers_1.escapePathComponent(key) }); - deleted = true; // property has been deleted - } - else { - if (invertible) { - patches.push({ op: "test", path: path, value: mirror }); - } - patches.push({ op: "replace", path: path, value: obj }); - } - } - if (!deleted && newKeys.length == oldKeys.length) { - return; - } - for (var t = 0; t < newKeys.length; t++) { - var key = newKeys[t]; - if (!helpers_1.hasOwnProperty(mirror, key) && obj[key] !== undefined) { - patches.push({ op: "add", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(obj[key]) }); - } - } -} -/** - * Create an array of patches from the differences in two objects - */ -function compare$1(tree1, tree2, invertible) { - if (invertible === void 0) { invertible = false; } - var patches = []; - _generate(tree1, tree2, patches, '', invertible); - return patches; -} -duplex.compare = compare$1; -/** - * Default export for backwards compat - */ -// import just to re-export as default -var core = core$1; -var helpers_3 = helpers; -duplex.default = __assign({}, core, { - // duplex - unobserve: unobserve, - observe: observe, - generate: generate, - compare: compare$1, - // helpers - JsonPatchError: helpers_3.PatchError, deepClone: helpers_1._deepClone, escapePathComponent: helpers_1.escapePathComponent, - unescapePathComponent: helpers_3.unescapePathComponent }); - -const crypto$7 = require$$0__default["default"]; - -/** - * Simple interaction with 256-bit spaces. - */ -class Hash256$3 { - /** - * Create an instance of a `Hash256` object by calling `new Hash256()`, - * where `settings` can be provided to supply a particular input object. - * - * If the `settings` is not a string, `input` must be provided. - * @param {Object} settings - * @param {String} settings.input Input string to map as 256-bit hash. - */ - constructor (settings = {}) { - if (typeof settings === 'string') settings = { input: settings }; - if (!settings.input) settings.input = crypto$7.randomBytes(32).toString('hex'); - - this.settings = Object.assign({ - hash: Hash256$3.digest(settings.input) - }, settings); - } - - /** - * Produce a SHA256 digest of some input data. - * @param {String|Buffer} input Content to digest. - * @returns {String} `SHA256(input)` as a hexadecimal string. - */ - static digest (input) { - if (typeof input !== 'string' && !(input instanceof Buffer)) { - throw new Error(`Input to process must be of type "String" or "Buffer" to digest.`); - } - - // consume and output as string - return crypto$7.createHash('sha256').update(input).digest('hex'); - } - - // TODO: document `hash256.value` - get value () { - return Hash256$3.digest(this.settings.input); - } - - /** - * Reverses the bytes of the digest. - */ - static reverse (input = '') { - return Buffer.from(input, 'hex').reverse().toString('hex'); - } - - reverse (input = this.value) { - return Hash256$3.reverse(input); - } -} - -var hash256$1 = Hash256$3; - -/** - * Create a new {@link Object} with sorted properties. - * @param {Object} [state] Object to sort. - * @returns {Object} Re-sorted instance of `state` as provided. - */ - -var _sortKeys$1 = function _sortKeys (state = {}) { - return Object.keys(state).sort().reduce((obj, key) => { - obj[key] = state[key]; - return obj; - }, {}); -}; - -// Dependencies -const crypto$6 = require$$0__default["default"]; -const { EventEmitter } = require$$0__default$2["default"]; -const monitor = duplex; - -// Fabric Types -const Hash256$2 = hash256$1; - -// Fabric Functions -const _sortKeys = _sortKeys$1; - -/** - * Generic Fabric Actor. - * @access protected - * @emits message Fabric {@link Message} objects. - * @property {String} id Unique identifier for this Actor (id === SHA256(preimage)). - * @property {String} preimage Input hash for the `id` property (preimage === SHA256(ActorState)). - */ -class Actor$4 extends EventEmitter { - /** - * Creates an {@link Actor}, which emits messages for other - * Actors to subscribe to. You can supply certain parameters - * for the actor, including key material [!!!] — be mindful of - * what you share with others! - * @param {Object} [actor] Object to use as the actor. - * @param {String} [actor.seed] BIP24 Mnemonic to use as a seed phrase. - * @param {Buffer} [actor.public] Public key. - * @param {Buffer} [actor.private] Private key. - * @returns {Actor} Instance of the Actor. Call {@link Actor#sign} to emit a {@link Signature}. - */ - constructor (actor = {}) { - super(actor); - - this.commits = []; - // this.signature = Buffer.alloc(64); - this.value = this._readObject(actor); // TODO: use Buffer? - - // Internal State - this._state = { - type: 'Actor', - data: this.value, - status: 'PAUSED', - content: this.value || {} - }; - - this.monitor = monitor.observe(this._state.content, this._handleMonitorChanges.bind(this)); - - // Chainable - return this; - } - - static fromAny (input = {}) { - let state = null; - - if (typeof input === 'string') { - state = { content: input }; - } else if (input instanceof Buffer) { - state = { content: input.toString('hex') }; - } else { - state = Object.assign({}, input); - } - - return new Actor$4(state); - } - - static fromJSON (input) { - let result = null; - - if (typeof input === 'string' && input.length) { - console.log('trying to parse as JSON:', input); - try { - result = JSON.parse(input); - } catch (E) { - console.error('Failure in fromJSON:', E); - } - } else { - console.trace('Invalid input:', typeof input); - } - - return result; - } - - static randomBytes (count = 32) { - return crypto$6.randomBytes(count); - } - - get id () { - const buffer = Buffer.from(this.preimage, 'hex'); - return Hash256$2.digest(buffer); - } - - get preimage () { - const input = { - 'type': 'FabricActorState', - 'object': this.toObject() - }; - - const string = JSON.stringify(input, null, ' '); - const buffer = Buffer.from(string, 'utf8'); - - return Hash256$2.digest(buffer); - } - - get state () { - return Object.assign({}, this._state.content); - } - - get status () { - return this._state.status; - } - - get type () { - return this._state['@type']; - } - - set state (value) { - this._state.content = value; - } - - set status (value) { - this._state.status = value; - } - - /** - * Resolve the current state to a commitment. - * @emits Actor Current malleable state. - * @returns {String} 32-byte ID - */ - commit () { - const state = new Actor$4(this._state.content); - const commit = new Actor$4({ - state: state.id - }); - - this.history.push(commit); - this.emit('commit', commit); - return commit.id; - } - - debug (...params) { - this.emit('debug', params); - } - - log (...params) { - this.emit('log', ...params); - } - - mutate (seed) { - if (seed === 0 || !seed) seed = this.randomBytes(32).toString('hex'); - - const patches = [ - { op: 'replace', path: '/seed', value: seed } - ]; - - monitor.applyPatch(this._state.content, patches); - this.commit(); - - return this; - } - - /** - * Casts the Actor to a normalized Buffer. - * @returns {Buffer} - */ - toBuffer () { - return Buffer.from(this.serialize(), 'utf8'); - } - - /** - * Returns the Actor's current state as an {@link Object}. - * @returns {Object} - */ - toObject () { - return _sortKeys(this.state); - } - - toString (format = 'json') { - switch (format) { - case 'hex': - return Buffer.from(this.serialize(), 'utf8').toString('hex'); - case 'json': - default: - return this.serialize(); - } - } - - pause () { - this.status = 'PAUSING'; - this.commit(); - return this; - } - - randomBytes (count = 32) { - return crypto$6.randomBytes(count); - } - - /** - * Serialize the Actor's current state into a JSON-formatted string. - * @returns {String} - */ - serialize () { - let json = null; - - try { - json = JSON.stringify(this.toObject(), null, ' '); - } catch (exception) { - json = JSON.stringify({ - type: 'Error', - content: `Exception serializing: ${exception}` - }, null, ' '); - } - - return json; - } - - sha256 (value) { - return Hash256$2.digest(value); - } - - /** - * Signs the Actor. - * @returns {Actor} - */ - sign () { - throw new Error('Unimplemented on this branch. Use @fabric/core/types/signer instead.'); - /* this.signature = this.key._sign(this.toBuffer()); - this.emit('signature', this.signature); - return this; */ - } - - /** - * Toggles `status` property to unpaused. - * @ - * @returns {Actor} - */ - unpause () { - this.status = 'UNPAUSING'; - this.commit(); - this.status = 'UNPAUSED'; - return this; - } - - _getField (name) { - return this._state.content[name]; - } - - /** - * Incurs 1 SYSCALL - * @access private - * @returns {Object} - */ - _getState () { - return this.state; - } - - _handleMonitorChanges (changes) { - console.log('got monitor changes from actor:', changes); - // TODO: emit global state event here - // after verify, commit - } - - /** - * Parse an Object into a corresponding Fabric state. - * @param {Object} input Object to read as input. - * @returns {Object} Fabric state. - */ - _readObject (input = {}) { - let state = {}; - - if (typeof input === 'string') { - state = Object.assign(state, { - type: 'String', - size: input.length, - content: input, - encoding: 'utf8' - }); - } else if (input instanceof Buffer) { - state = Object.assign(state, { - type: 'Buffer', - size: input.length, - content: input.toString('hex'), - encoding: 'hex' - }); - } else { - state = Object.assign(state, input); - } - - return state; - } -} - -var actor = Actor$4; - -var struct$1 = {exports: {}}; - -/** - * Default export `Struct`. - */ - -(function (module, exports) { - // export default Struct; - module.exports = exports = Struct; - - // compatibility - exports.Struct = Struct; - - function boolField(p, offset, length) { - this.length = length; - this.offset = offset; - this.get = function() { - return (p.buf[offset] > 0); - }; - this.set = function (val) { - p.buf[offset] = val ? 1 : 0; - }; - } - - function intField(p, offset, length, le, signed) { - this.length = length; - this.offset = offset; - - function bec(cb) { - for (var i = 0; i < length; i++) - cb(i, length - i - 1); - } - - function lec(cb) { - for (var i = 0; i < length; i++) - cb(i, i); - } - - function getUVal(bor) { - var val = 0; - bor(function (i, o) { - val += Math.pow(256, o) * p.buf[offset + i]; - }); - return val; - } - - function getSVal(bor) { - - var val = getUVal(bor); - if ((p.buf[offset + (le ? (length - 1) : 0)] & 0x80) == 0x80) { - val -= Math.pow(256, length); - } - return val; - } - - function setVal(bor, val) { - bor(function (i, o) { - p.buf[offset + i] = Math.floor(val / Math.pow(256, o)) & 0xff; - }); - } - - var - nativeSuff = (signed?'':'U') + 'Int' + (length * 8) + (le?'LE':'BE'), - readMethod = Buffer.prototype['read' + nativeSuff], writeMethod = Buffer.prototype['write' + nativeSuff]; - - - if (!readMethod) { - this.get = function () { - var bor = le ? lec : bec; - return (signed ? getSVal(bor) : getUVal(bor)); - }; - } - else { - this.get = function () { - return readMethod.call(p.buf, offset); - }; - } - - - if (!writeMethod) { - this.set = function (val) { - var bor = le ? lec : bec; - setVal(bor, val); - }; - } - else { - this.set = function (val) { - writeMethod.call(p.buf, val, offset); - }; - } - - } - - function floatField(p, offset, le) { - this.length = 4; - this.offset = offset; - this.get = function () { - return le ? p.buf.readFloatLE(offset) : p.buf.readFloatBE(offset); - }; - this.set = function (val) { - return le ? p.buf.writeFloatLE(val, offset) : p.buf.writeFloatBE(val, offset); - }; - } - - function doubleField(p, offset, le) { - this.length = 8; - this.offset = offset; - this.get = function () { - return le ? p.buf.readDoubleLE(offset) : p.buf.readDoubleBE(offset); - }; - this.set = function (val) { - return le ? p.buf.writeDoubleLE(val, offset) : p.buf.writeDoubleBE(val, offset); - }; - } - - function charField(p, offset, length, encoding, secure) { - var self = this; - self.length = length; - self.offset = offset; - self.encoding = encoding; - self.secure = secure; - self.get = function () { - if (!length) - return; - - var result = p.buf.toString(self.encoding, offset, (offset + length)); - var strlen = result.indexOf("\0"); - if (strlen == -1) { - return result; - } else { - return result.slice(0, strlen); - } - }; - self.set = function (val) { - if (!length) - return; - - // Be string is terminated with the null char, else troncate it - if (secure === true) { - - // Append \0 to the string - val += "\0"; - if (val.length >= length) { - val = val.substring(0, length - 1); - val += "\0"; - } - - // Write to buffer - p.buf.write(val, offset, val.length, self.encoding); - - // Fill rest of the buffer with \0 - var remainSpace = (length - val.length); - if (remainSpace > 0) { - p.buf.fill(0, (offset + val.length), offset + length); - } - - } else { - // Trust Buffer class to write the string into the buffer - p.buf.write(val, offset, length, self.encoding); - } - }; - } - - function structField(p, offset, struct) { - this.length = struct.length(); - this.offset = offset; - this.get = function () { - return struct; - }; - this.set = function (val) { - struct.set(val); - }; - this.allocate = function () { - struct._setBuff(p.buf.slice(offset, offset + struct.length())); - }; - } - - function arrayField(p, offset, len, type) { - var as = Struct(); - var args = [].slice.call(arguments, 4); - args.unshift(0); - for (var i = 0; i < len; i++) { - if (type instanceof Struct) { - as.struct(i, type.clone()); - } else if (type in as) { - args[0] = i; - as[type].apply(as, args); - } - } - this.length = as.length(); - this.offset = offset; - this.allocate = function () { - as._setBuff(p.buf.slice(offset, offset + as.length())); - }; - this.get = function () { - return as; - }; - this.set = function (val) { - as.set(val); - }; - } - - function Struct() { - if (!(this instanceof Struct)) - return new Struct; - - var priv = { - buf : {}, - allocated : false, - len : 0, - fields : {}, - closures : [] - }, self = this; - - function checkAllocated() { - if (priv.allocated) - throw new Error('Cant change struct after allocation'); - } - - // Create handlers for various float Field Variants - [true, false].forEach(function (le) { - self['float' + (le ? 'le' : 'be')] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - var n = 4; - p.fields[key] = new floatField(p, p.len, le); - p.len += n; - }); - return this; - }; - }); - - // Create handlers for various double Field Variants - [true, false].forEach(function (le) { - self['double' + (le ? 'le' : 'be')] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - var n = 8; - p.fields[key] = new doubleField(p, p.len, le); - p.len += n; - }); - return this; - }; - }); - - // Create handlers for various Bool Field Variants - [1, 2, 3, 4].forEach(function (n) { - self['bool' + (n == 1 ? '' : n)] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new boolField(p, p.len, n); - p.len += n; - }); - return this; - }; - }); - - // Create handlers for various Integer Field Variants - [1, 2, 3, 4, 6, 8].forEach(function (n) { - [true, false].forEach(function (le) { - [true, false].forEach(function (signed) { - var name = 'word' + (n * 8) + (signed ? 'S' : 'U') + (le ? 'le' : 'be'); - self[name] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new intField(p, p.len, n, le, signed); - p.len += n; - }); - return this; - }; - }); - }); - }); - this.word8 = this.word8Ule; - - ['chars', 'charsnt'].forEach(function (c) { - self[c] = function (key, length, encoding) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new charField(p, p.len, length, encoding || 'ascii', (c == 'charsnt')); - p.len += length; - }); - return this; - }; - }); - - this.struct = function (key, struct) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new structField(p, p.len, struct.clone()); - p.len += p.fields[key].length; - }); - return this; - }; - function construct(constructor, args) { - function F() { - return constructor.apply(this, args); - } - - F.prototype = constructor.prototype; - return new F(); - } - - - this.array = function (key, length, type) { - checkAllocated(); - var args = [].slice.call(arguments, 1); - args.unshift(null); - args.unshift(null); - priv.closures.push(function (p) { - args[0] = p; - args[1] = p.len; - p.fields[key] = construct(arrayField, args); - p.len += p.fields[key].length; - }); - - return this; - }; - var beenHere = false; - - function applyClosures(p) { - if (beenHere) - return; - p.closures.forEach(function (el) { - el(p); - }); - beenHere = true; - } - - function allocateFields() { - for (var key in priv.fields) { - if ('allocate' in priv.fields[key]) - priv.fields[key].allocate(); - } - } - - this._setBuff = this.setBuffer = function (buff, buffLength) { - applyClosures(priv); - if (typeof (buffLength) === 'number') { - if (buffLength > buff.length) { - throw new Error('Invalid specified buffer size !'); - } - priv.buf = buff.slice(0, buffLength); - } else { - priv.buf = buff; - } - if (priv.buf.length < priv.len) { - throw new Error('Buffer size too small for struct layout !'); - } - allocateFields(); - priv.allocated = true; - }; - - this.allocate = function () { - applyClosures(priv); - if (Buffer.alloc) { - priv.buf = Buffer.alloc(priv.len); - } else { - priv.buf = new Buffer(priv.len); - priv.buf.fill(0); - } - allocateFields(); - priv.allocated = true; - return this; - }; - - this._getPriv = function () { - return priv; - }; - - this.getOffset = function (field) { - if (priv.fields[field]) return priv.fields[field].offset; - }; - - this.clone = function () { - var c = new Struct; - var p = c._getPriv(); - p.closures = priv.closures.slice(0); - return c; - }; - - this.length = function () { - applyClosures(priv); - return priv.len; - }; - - this.get = function (key) { - if (key in priv.fields) { - return priv.fields[key].get(); - } else - throw new Error('Can not find field ' + key); - }; - - this.set = function (key, val) { - if (arguments.length == 2) { - if (key in priv.fields) { - priv.fields[key].set(val); - } else - throw new Error('Can not find field ' + key); - } else if (Buffer.isBuffer(key)) { - this._setBuff(key); - } else { - for (var k in key) { - this.set(k, key[k]); - } - } - }; - this.buffer = function () { - return priv.buf; - }; - - - function getFields() { - var fields = {}; - Object.keys(priv.fields).forEach(function (key) { - var setFunc, getFunc; - if (priv.fields[key] instanceof structField || - priv.fields[key] instanceof arrayField) { - getFunc = function () { - return priv.fields[key].get().fields; - }; - setFunc = function (newVal) { - self.set(key, newVal); - }; - } - else { - getFunc = priv.fields[key].get; - setFunc = priv.fields[key].set; - } - Object.defineProperty(fields, key, { - get : getFunc, - set : setFunc, - enumerable : true - }); - }); - return fields; - } - var _fields; - Object.defineProperty(this, 'fields', { - get : function () { - if (_fields) - return _fields; - return (_fields = getFields()); - }, - enumerable : true, - configurable : true - }); - - } -} (struct$1, struct$1.exports)); - -const Actor$3 = actor; -const Hash256$1 = hash256$1; - -class Label$1 extends Actor$3 { - constructor (input = '') { - super(input); - if (typeof input != 'string') input = super.serialize(input); - this._id = Hash256$1.digest(`@labels/${input}`); - return this; - } -} - -var label = Label$1; - -var padDigits$1 = function padDigits (number, digits) { - return Array(Math.max(digits - String(number).length + 1, 0)).join(0) + number; -}; - -const { - MAGIC_BYTES, - VERSION_NUMBER, - HEADER_SIZE, - MAX_MESSAGE_SIZE, - OP_CYCLE, - GENERIC_MESSAGE_TYPE, - LOG_MESSAGE_TYPE, - GENERIC_LIST_TYPE, - P2P_GENERIC, - P2P_IDENT_REQUEST, - P2P_IDENT_RESPONSE, - P2P_ROOT, - P2P_PING, - P2P_PONG, - P2P_START_CHAIN, - P2P_INSTRUCTION, - P2P_BASE_MESSAGE, - P2P_CHAIN_SYNC_REQUEST, - P2P_STATE_ROOT, - P2P_STATE_COMMITTMENT, - P2P_STATE_CHANGE, - P2P_STATE_REQUEST, - P2P_TRANSACTION, - P2P_CALL: P2P_CALL$1, - CHAT_MESSAGE, - DOCUMENT_PUBLISH_TYPE, - DOCUMENT_REQUEST_TYPE, - BLOCK_CANDIDATE, - PEER_CANDIDATE, - SESSION_START -} = constants$1; - -// Dependencies -const crypto$5 = require$$0__default["default"]; -const struct = struct$1.exports; - -// Fabric Types -const Actor$2 = actor; -const Label = label; - -// Function Definitions -const padDigits = padDigits$1; - -// Type Labels -const TYPE_ETHEREUM_BLOCK = parseInt((new Label('types/EthereumBlock'))._id, 16); -const TYPE_ETHEREUM_BLOCK_NUMBER = parseInt((new Label('types/EthereumBlockNumber'))._id, 16); - -/** - * The {@link Message} type defines the Application Messaging Protocol, or AMP. - * Each {@link Actor} in the network receives and broadcasts messages, - * selectively disclosing new routes to peers which may have open circuits. - * @type {Object} - */ -class Message$1 extends Actor$2 { - /** - * The `Message` type is standardized in {@link Fabric} as a {@link Array}, which can be added to any other vector to compute a resulting state. - * @param {Object} message Message vector. Will be serialized by {@link Array#_serialize}. - * @return {Message} Instance of the message. - */ - constructor (input = {}) { - super(input); - - this.raw = { - magic: Buffer.alloc(4), - version: Buffer.alloc(4), - parent: Buffer.alloc(32), - type: Buffer.alloc(4), // TODO: 8, 32 - size: Buffer.alloc(4), // TODO: 8, 32 - hash: Buffer.alloc(32), - signature: Buffer.alloc(64), - data: null - }; - - this.raw.magic.write(MAGIC_BYTES.toString(16), 'hex'); - this.raw.version.write(padDigits(VERSION_NUMBER.toString(16), 8), 'hex'); - - if (input.data && input.type) { - this.type = input.type; - - if (typeof input.data !== 'string') { - this.data = JSON.stringify(input.data); - } else { - this.data = input.data; - } - } - - // Set various properties to be unenumerable - for (let name of [ - '@input', - '@entity', - '_state', - 'config', - 'settings', - 'stack', - 'observer' - ]) Object.defineProperty(this, name, { enumerable: false }); - - return this; - } - - get body () { - return this.raw.data.toString('utf8'); - } - - get byte () { - const input = 0 + ''; - const num = Buffer.from(`0x${padDigits(input, 8)}`, 'hex'); - return num; - } - - get tu16 () { - return parseInt(0); - } - - get tu32 () { - return parseInt(0); - } - - get tu64 () { - return parseInt(0); - } - - get Uint256 () { - // 256 bits - return Buffer.from((this.raw && this.raw.hash) ? `0x${padDigits(this.raw.hash, 8)}` : crypto$5.randomBytes(32)); - } - - set signature (value) { - if (value instanceof Buffer) value = value.toString('hex'); - this.raw.signature.write(value, 'hex'); - } - - toBuffer () { - return this.asRaw(); - } - - /** - * Returns a {@link Buffer} of the complete message. - * @return {Buffer} Buffer of the encoded {@link Message}. - */ - asRaw () { - return Buffer.concat([this.header, this.raw.data]); - } - - toRaw () { - return this.asRaw(); - } - - asTypedArray () { - return new Uint8Array(this.asRaw()); - // TODO: Node 12 - // return new TypedArray(this.asRaw()); - } - - asBlob () { - return this.asRaw().map(byte => parseInt(byte, 16)); - } - - toObject () { - return { - headers: { - magic: parseInt(`${this.raw.magic.toString('hex')}`, 16), - version: parseInt(`${this.raw.version.toString('hex')}`, 16), - parent: this.raw.parent.toString('hex'), - type: parseInt(`${this.raw.type.toString('hex')}`, 16), - size: parseInt(`${this.raw.size.toString('hex')}`, 16), - signature: this.raw.signature.toString('hex'), - hash: this.raw.hash.toString('hex') - }, - type: this.type, - data: this.data - }; - } - - fromObject (input) { - return new Message$1(input); - } - - static parseBuffer (buffer) { - const message = struct() - .charsnt('magic', 4, 'hex') - .charsnt('version', 4, 'hex') - .charsnt('parent', 32, 'hex') - .charsnt('type', 4, 'hex') - .charsnt('size', 4, 'hex') - .charsnt('hash', 32, 'hex') - .charsnt('signature', 64, 'hex') - .charsnt('data', buffer.length - HEADER_SIZE); - - message.allocate(); - message._setBuff(buffer); - - return message; - } - - static parseRawMessage (buffer) { - const message = { - magic: buffer.slice(0, 4), - version: buffer.slice(4, 8), - parent: buffer.slice(8, 40), - type: buffer.slice(40, 44), - size: buffer.slice(44, 48), - hash: buffer.slice(48, 80), - signature: buffer.slice(80, 144) - }; - - if (buffer.length >= 144) { - message.data = buffer.slice(144, buffer.length); - } - - return message; - }; - - static fromBuffer (buffer) { - return Message$1.fromRaw(buffer); - } - - static fromRaw (input) { - if (!input) return null; - if (!(input instanceof Buffer)) throw new Error('Input must be a buffer.'); - // if (input.length < HEADER_SIZE) return null; - // if (input.length > MAX_MESSAGE_SIZE) return new Error('Input too large.'); - - const message = new Message$1(); - - message.raw = { - magic: input.slice(0, 4), - version: input.slice(4, 8), - parent: input.slice(8, 40), - type: input.slice(40, 44), - size: input.slice(40, 48), - hash: input.slice(40, 80), - signature: input.slice(0, 144) - }; - - message.data = input.slice(HEADER_SIZE); - - return message; - } - - static fromVector (vector = ['LogMessage', 'No vector provided.']) { - let message = null; - - try { - message = new Message$1({ - type: vector[0], - data: vector[1] - }); - } catch (exception) { - console.error('[FABRIC:MESSAGE]', 'Could not construct Message:', exception); - } - - return message; - } - - /* get [Symbol.toStringTag] () { - return ``; - } */ - - get id () { - return crypto$5.createHash('sha256').update(this.asRaw()).digest('hex'); - } - - get types () { - // Message Types - return { - 'GenericMessage': GENERIC_MESSAGE_TYPE, - 'GenericLogMessage': LOG_MESSAGE_TYPE, - 'GenericList': GENERIC_LIST_TYPE, - 'GenericQueue': GENERIC_LIST_TYPE, - 'FabricLogMessage': LOG_MESSAGE_TYPE, - 'FabricServiceLogMessage': LOG_MESSAGE_TYPE, - 'GenericTransferQueue': GENERIC_LIST_TYPE, - // TODO: document Generic type - // P2P Commands - 'Generic': P2P_GENERIC, - 'Cycle': OP_CYCLE, - 'IdentityRequest': P2P_IDENT_REQUEST, - 'IdentityResponse': P2P_IDENT_RESPONSE, - 'ChainSyncRequest': P2P_CHAIN_SYNC_REQUEST, - // TODO: restore this type - // 'StateRoot': P2P_ROOT, - 'Ping': P2P_PING, - 'Pong': P2P_PONG, - 'DocumentRequest': DOCUMENT_REQUEST_TYPE, - 'DocumentPublish': DOCUMENT_PUBLISH_TYPE, - 'BlockCandidate': BLOCK_CANDIDATE, - 'PeerCandidate': PEER_CANDIDATE, - 'PeerInstruction': P2P_INSTRUCTION, - 'PeerMessage': P2P_BASE_MESSAGE, - 'StartSession': SESSION_START, - 'ChatMessage': CHAT_MESSAGE, - 'StartChain': P2P_START_CHAIN, - // TODO: restore above StateRoot type - 'StateRoot': P2P_STATE_ROOT, - 'StateCommitment': P2P_STATE_COMMITTMENT, - 'StateChange': P2P_STATE_CHANGE, - 'StateRequest': P2P_STATE_REQUEST, - 'Transaction': P2P_TRANSACTION, - 'Call': P2P_CALL$1, - 'LogMessage': LOG_MESSAGE_TYPE, - 'EthereumBlock': TYPE_ETHEREUM_BLOCK, - 'EthereumBlockNumber': TYPE_ETHEREUM_BLOCK_NUMBER - }; - } - - get codes () { - return Object.entries(this.types).reduce((ret, entry) => { - const [ key, value ] = entry; - ret[ value ] = key; - return ret; - }, {}); - } - - get magic () { - return this.raw.magic; - } - - get signature () { - return parseInt(Buffer.from(this.raw.signature, 'hex')); - } - - get size () { - return parseInt(Buffer.from(this.raw.size, 'hex')); - } - - get version () { - return parseInt(Buffer.from(this.raw.version)); - } - - get header () { - const parts = [ - Buffer.from(this.raw.magic, 'hex'), - Buffer.from(this.raw.version, 'hex'), - Buffer.from(this.raw.type, 'hex'), - Buffer.from(this.raw.size, 'hex'), - Buffer.from(this.raw.signature, 'hex'), - Buffer.from(this.raw.hash, 'hex') - ]; - - return Buffer.concat(parts); - } -} - -Object.defineProperty(Message$1.prototype, 'type', { - get () { - const code = parseInt(this.raw.type.toString('hex'), 16); - switch (code) { - case GENERIC_MESSAGE_TYPE: - return 'GenericMessage'; - case LOG_MESSAGE_TYPE: - return 'GenericLogMessage'; - case GENERIC_LIST_TYPE: - return 'GenericList'; - case DOCUMENT_PUBLISH_TYPE: - return 'DocumentPublish'; - case DOCUMENT_REQUEST_TYPE: - return 'DocumentRequest'; - case BLOCK_CANDIDATE: - return 'BlockCandidate'; - case OP_CYCLE: - return 'Cycle'; - case P2P_PING: - return 'Ping'; - case P2P_PONG: - return 'Pong'; - case P2P_GENERIC: - return 'Generic'; - case P2P_CHAIN_SYNC_REQUEST: - return 'ChainSyncRequest'; - case P2P_IDENT_REQUEST: - return 'IdentityRequest'; - case P2P_IDENT_RESPONSE: - return 'IdentityResponse'; - case P2P_BASE_MESSAGE: - return 'PeerMessage'; - case P2P_STATE_ROOT: - return 'StateRoot'; - case P2P_STATE_CHANGE: - return 'StateChange'; - case P2P_STATE_REQUEST: - return 'StateRequest'; - case P2P_TRANSACTION: - return 'Transaction'; - case P2P_CALL$1: - return 'Call'; - case PEER_CANDIDATE: - return 'PeerCandidate'; - case SESSION_START: - return 'StartSession'; - case CHAT_MESSAGE: - return 'ChatMessage'; - case P2P_START_CHAIN: - return 'StartChain'; - case TYPE_ETHEREUM_BLOCK: - return 'EthereumBlock'; - case TYPE_ETHEREUM_BLOCK_NUMBER: - return 'EthereumBlockNumber'; - default: - return 'GenericMessage'; - } - }, - set (value) { - let code = this.types[value]; - // Default to GenericMessage; - if (!code) { - this.emit('warning', `Unknown message type: ${value}`); - code = this.types['GenericMessage']; - } - - const padded = padDigits(code.toString(16), 8); - this['@type'] = value; - this.raw.type.write(padded, 'hex'); - } -}); - -Object.defineProperty(Message$1.prototype, 'data', { - get () { - if (!this.raw.data) return ''; - return this.raw.data.toString('utf8'); - }, - set (value) { - if (!value) value = ''; - const hash = crypto$5.createHash('sha256').update(value.toString('utf8')); - this.raw.hash = hash.digest(); - this.raw.data = Buffer.from(value); - this.raw.size.write(padDigits(this.raw.data.byteLength.toString(16), 8), 'hex'); - } -}); - -var message = Message$1; - -const { - P2P_CALL -} = constants$1; -const querystring = require$$3__default["default"]; - -// External Dependencies -const fetch = require$$4; -const parser = contentType; -ws.WebSocket; - -// Internal Types -const Actor$1 = actor; -const Message = message; -const CONTENT_TYPE = 'application/json'; - -/** - * Interact with a remote {@link Resource}. This is currently the only - * HTTP-related code that should remain in @fabric/core — all else must - * be moved to @fabric/http before final release! - * @type {Remote} - * @property {Object} config - * @property {Boolean} secure - */ -class Remote extends Actor$1 { - /** - * An in-memory representation of a node in our network. - * @param {Object} target - Target object. - * @param {String} target.host - Named host, e.g. "localhost". - * @param {String} target.secure - Require TLS session. - * @constructor - */ - constructor (config = {}) { - super(config); - - this.settings = Object.assign({ - authority: 'localhost', - backoff: 2, - entropy: Math.random(), - secure: true, - host: 'hub.fabric.pub', - port: 443 - }, config); - - this.host = this.settings.host || this.settings.authority; - this.secure = this.settings.secure; - this.socket = null; - - this.endpoint = `${(this.secure) ? 'wss' : 'ws'}:${this.host}:${this.port}/`; - - this._nextReconnect = 0; - this._reconnectAttempts = 0; - this._state = { - status: 'PAUSED', - messages: [], - meta: { - messages: { - count: 0 - } - } - }; - - return this; - } - - get port () { - return this.settings.port; - } - - get authority () { - // TODO: use onion address for secure mode - const parts = this.settings.authority.split(':'); - const state = { - host: null, - secure: null, - protocol: null, - port: null - }; - - // Check number of components - switch (parts.length) { - default: - // TODO: warn about unexpected values - state.host = this.settings.host; - state.port = this.settings.port; - state.secure = this.settings.secure; - break; - case 1: - state.host = parts[0]; - state.port = this.settings.port; - state.secure = this.settings.secure; - break; - case 2: - state.host = parts[0]; - state.port = parts[1]; - state.secure = this.settings.secure; - break; - case 3: - state.host = parts[1]; - state.port = parts[2]; - // TODO: should settings override protocol inclusion? - state.secure = (parts[0].charAt(4) === 's'); - break; - } - - // Finally set protocol for all cases... - state.protocol = (!state.secure) ? 'http' : 'https'; - - return `${state.protocol}://${state.host}:${state.port}`; - } - - get isArrayBufferSupported () { - return (new Buffer(new Uint8Array([1]).buffer)[0] === 1); - } - - get arrayBufferToBuffer () { - return this.isArrayBufferSupported ? this.arrayBufferToBufferAsArgument : this.arrayBufferToBufferCycle; - } - - arrayBufferToBufferAsArgument (ab) { - return new Buffer(ab); - } - - arrayBufferToBufferCycle (ab) { - var buffer = new Buffer(ab.byteLength); - var view = new Uint8Array(ab); - for (var i = 0; i < buffer.length; ++i) { - buffer[i] = view[i]; - } - return buffer; - } - - async _handleSocketClose (message) { - this._state.status = 'CLOSED'; - console.log('[FABRIC:REMOTE]', 'Socket close:', message); - this._reconnectAttempts++; - this._reconnector = setTimeout(this.connect.bind(this), this._nextReconnect); - this._nextReconnect = Math.pow(this.settings.backoff, this._reconnectAttempts) * 1000 * Math.random(); - } - - async _handleSocketError (message) { - console.error('[FABRIC:REMOTE]', 'Socket error:', message); - this.emit('error', message); - } - - async _handleSocketMessage (packet) { - this.emit('debug', `[FABRIC:REMOTE] Socket packet ${JSON.stringify(packet)}`); - const length = packet.data.byteLength; - console.log('length:', length); - const buffer = Buffer.from(packet.data); - console.log('buffer:', buffer); - const message = Message.fromRaw(buffer).toObject(); - console.log('message:', message); - this._state.messages.push(message); - ++this._state.meta.messages.count; - this.emit('message', message); - } - - async _handleSocketOpen (message) { - this._nextReconnect = 0; - this._reconnectAttempts = 0; - if (this._reconnector) clearTimeout(this._reconnector); - this._state.status = 'CONNECTED'; - this.emit('ready'); - } - - async executeMethod (name, params = []) { - const call = Message.fromVector([P2P_CALL, JSON.stringify([name, params])]); - console.log('call:', call); - console.log('raw:', call.toRaw()); - return this.socket.send(call.toRaw()); - } - - async connect () { - this._state.status = 'CONNECTING'; - - try { - this.socket = new WebSocket(this.endpoint); - console.log('socket:', this.socket); - } catch (exception) { - console.error('[FABRIC:REMOTE]', 'Unable to connect:', exception); - } - - if (this.socket) { - this.socket.binaryType = 'arraybuffer'; - this.socket.addEventListener('close', this._handleSocketClose.bind(this)); - this.socket.addEventListener('open', this._handleSocketOpen.bind(this)); - this.socket.addEventListener('message', this._handleSocketMessage.bind(this)); - this.socket.addEventListener('error', this._handleSocketError.bind(this)); - } - - return this; - } - - /** - * Enumerate the available Resources on the remote host. - * @return {Configuration} An object with enumerable key/value pairs for the Application Resource Contract. - */ - async enumerate () { - const options = await this._OPTIONS('/'); - const results = []; - - for (const name in options) { - const definition = options[name]; - results.push({ - name: definition.name, - description: definition.description, - components: Object.assign({ - list: 'maki-resource-list', - view: 'maki-resource-view' - }, definition.components), - routes: definition.routes, - attributes: definition.attributes, - names: definition.names - }); - } - - return options; - } - - /** - * Make an HTTP request to the configured authority. - * @param {String} type One of `GET`, `PUT`, `POST`, `DELETE`, or `OPTIONS`. - * @param {String} path The path to request from the authority. - * @param {Object} [params] Options. - * @returns {FabricHTTPResult} - */ - async request (type, path, params = {}) { - const self = this; - - let url = this.authority + path; - let result = null; - let response = null; - let headers = { - 'Accept': CONTENT_TYPE, - 'Content-Type': CONTENT_TYPE - }; - - let opts = { - method: type, - headers: headers - }; - - // TODO: break out into independent auth module - if (this.settings.username || this.settings.password) { - headers['Authorization'] = `Basic ${Buffer.from([ - this.settings.username || '', - this.settings.password || '' - ].join(':')).toString('base64')}`; - } - - switch (params.mode) { - case 'query': - url += '?' + querystring.stringify(params.body); - break; - default: - try { - opts.body = JSON.stringify(params.body); - } catch (exception) { - console.error('[FABRIC:REMOTE] Could not prepare request:', exception); - } - - opts = Object.assign(opts, { - body: params.body || null - }); - break; - } - - // Core Logic - try { - response = await fetch(url, opts); - } catch (e) { - self.emit('error', `[REMOTE] exception: ${e}`); - } - - if (!response) { - return { - status: 'error', - message: 'No response to request.' - }; - } - - switch (response.status) { - case 404: - result = { - status: 'error', - message: 'Document not found.' - }; - break; - default: - if (response.ok) { - const formatter = parser.parse(response.headers.get('content-type')); - switch (formatter.type) { - case 'application/json': - try { - result = await response.json(); - } catch (E) { - console.error('[REMOTE]', 'Could not parse JSON:', E); - } - break; - default: - if (this.settings.verbosity >= 4) self.emit('warning', `[FABRIC:REMOTE] Unhandled headers content type: ${formatter.type}`); - result = await response.text(); - break; - } - } else { - if (this.settings.verbosity >= 4) console.warn('[FABRIC:REMOTE]', 'Unmanaged HTTP status code:', response.status); - - try { - result = response.json(); - } catch (exception) { - result = response.text(); - } - } - break; - } - - return result; - } - - async ping () { - this.send({ - created: (new Date()).toISOString(), - type: 'PING' - }); - } - - async send (message) { - const msg = Message.fromVector(['GenericMessage', JSON.stringify(message)]); - const raw = msg.toRaw(); - const actor = new Actor$1({ content: raw.toString('hex') }); - this.socket.send(raw); - return actor.id; - } - - async sendAsJSON (message) { - this.socket.send({ - content: message - }); - } - - /** - * HTTP PUT against the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} body - Map of parameters to supply. - * @return {FabricHTTPResult|String} Result of request. - */ - async _PUT (key, body) { - return this.request('put', key, { body }); - } - - /** - * HTTP GET against the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {FabricHTTPResult|String} Result of request. - */ - async _GET (key, params) { - return this.request('get', key, params); - } - - /** - * HTTP POST against the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {FabricHTTPResult|String} Result of request. - */ - async _POST (key, obj, params = {}) { - let result = null; - let options = null; - - switch (params.mode) { - case 'query': - options = Object.assign({}, { - body: obj, - mode: 'query' - }); - break; - default: - options = Object.assign({}, params, { - body: obj, - mode: 'body' - }); - break; - } - - result = await this.request('post', key, options); - - return result; - } - - /** - * HTTP OPTIONS on the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {Object} - Full description of remote resource. - */ - async _OPTIONS (key, params) { - return this.request('options', key, params); - } - - /** - * HTTP PATCH on the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} body - Map of parameters to supply. - * @return {Object} - Full description of remote resource. - */ - async _PATCH (key, body) { - return this.request('patch', key, { body }); - } - - /** - * HTTP DELETE on the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {Object} - Full description of remote resource. - */ - async _DELETE (key, params) { - return this.request('delete', key, params); - } - - async _SEARCH (key, params) { - return this.request('search', key, params); - } -} - -var remote = Remote; - -var Remote$1 = /*#__PURE__*/_mergeNamespaces({ - __proto__: null, - 'default': remote -}, [remote]); - -var FabricBridge$1 = /*#__PURE__*/function (_React$Component) { - _inherits(FabricBridge, _React$Component); - - var _super = _createSuper(FabricBridge); - - function FabricBridge(props) { - var _this; - - _classCallCheck$1(this, FabricBridge); - - _this = _super.call(this, props); - _this.settings = Object.assign({ - host: 'localhost', - port: 9999, - secure: false - }, props); - _this.state = merge__default["default"]({ - integrity: 'sha256-deadbeefbabe', - status: 'disconnected', - messages: [], - meta: { - messages: { - count: 0 - } - } - }, _this.settings); - console.log('bridge settings:', _this.settings); - _this.remote = new Remote$1({ - host: _this.settings.host, - port: _this.settings.port, - secure: _this.settings.secure - }); - /* this.agent = new Worker({ - service: main, - settings: settings - }); */ - - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); - } - - _createClass$1(FabricBridge, [{ - key: "_handleRemoteMessage", - value: function _handleRemoteMessage(message) { - console.log('Remote message:', message); - - this._syncState(); - } - }, { - key: "_handleRemoteError", - value: function _handleRemoteError(error) { - console.log('Remote error:', error); - } - }, { - key: "_syncState", - value: function _syncState() { - this.setState({ - status: this.remote._state.status, - messages: this.remote._state.messages, - meta: this.remote._state.meta - }); - } - }, { - key: "componentDidMount", - value: function componentDidMount() { - console.log('bridge mounted! starting...'); // this.agent.executeMethod('connect'); - // this.process.executeMethod('connect'); - - this.start(); - } - }, { - key: "connect", - value: function connect() { - this._syncState(); - - this.remote.connect(); - - this._syncState(); - } - }, { - key: "executeMethod", - value: function executeMethod(name, params) { - return this.remote.executeMethod(name, params); - } - }, { - key: "ping", - value: function ping() { - this.remote.ping(); - } - }, { - key: "render", - value: function render() { - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - floated: "right" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - onClick: this.ping.bind(this) - }, "Ping ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "info" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - onClick: this.connect.bind(this) - }, "Connect ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "lightning" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, { - as: "h3" - }, "Bridge")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed, null, this.state.messages.map(function (message, i) { - return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Event, { - size: "small", - key: i, - style: { - fontSize: '0.8em', - fontFamily: 'monospace' - } - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Content, null, /*#__PURE__*/React__default["default"].createElement("div", { - style: { - color: 'black' - } - }, JSON.stringify(message, null, ' ')))); - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - extra: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "info" - }), " ", this.remote._state.status), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "mail" - }), " ", this.remote._state.meta.messages.count)))); - } - }, { - key: "send", - value: function () { - var _send = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(message) { - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", this.remote.send(message)); - - case 1: - case "end": - return _context.stop(); - } - } - }, _callee, this); - })); - - function send(_x) { - return _send.apply(this, arguments); - } - - return send; - }() - }, { - key: "start", - value: function () { - var _start = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - this.remote.on('ready', this.props.remoteReady.bind(this)); - this.remote.on('message', this._handleRemoteMessage.bind(this)); - this.remote.on('error', this._handleRemoteError.bind(this)); - this.connect(); - - case 4: - case "end": - return _context2.stop(); - } - } - }, _callee2, this); - })); - - function start() { - return _start.apply(this, arguments); - } - - return start; - }() - }]); - - return FabricBridge; -}(React__default["default"].Component); - -var FabricBridge$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': FabricBridge$1 -}); - -var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(FabricBridge$2); - -var lib$1 = {}; - -var bitConverter = {}; - -Object.defineProperty(bitConverter, "__esModule", { - value: true -}); -bitConverter.createBitArray = createBitArray; -bitConverter.fromBits = fromBits; -bitConverter.toBits = toBits; - -/* eslint-disable no-unused-vars */ - -/** - * Virtual type for bit arrays, i.e., arrays in which each element contains - * an integer in range `[0, 1 << L)`, where `1 <= L <= 8`. - */ - -/* eslint-enable no-unused-vars */ - -/** - * Performs unchecked conversion from `Uint8Array` to `BitArray`. - * This function is translated as the indentity operation by Babel; it's needed purely - * for Flow type checks. - * - * @param {Uint8Array} src - * array to convert - * @returns {Uint8Array} - * `src` interpreted as a `BitArray` with the specified bitness - * - * @api private - */ -function toBitArrayUnchecked(src) { - return src; -} -/** - * Creates a new array with specified bitness. - * - * @param {number} len - * length of the created array - * @returns {Uint8Array} - * - * @api private - */ - - -function createBitArray(len) { - return toBitArrayUnchecked(new Uint8Array(len)); -} -/** - * Converts an array from one number of bits per element to another. - * - * @api private - */ - - -function convert$1(src, srcBits, dst, dstBits, pad) { - var mask = (1 << dstBits) - 1; - var acc = 0; - var bits = 0; - var pos = 0; - src.forEach(function (b) { - // Pull next bits from the input buffer into accumulator. - acc = (acc << srcBits) + b; - bits += srcBits; // Push into the output buffer while there are enough bits in the accumulator. - - while (bits >= dstBits) { - bits -= dstBits; - dst[pos] = acc >> bits & mask; - pos += 1; - } - }); - - if (pad) { - if (bits > 0) { - // `dstBits - rem.bits` is the number of trailing zero bits needed to be appended - // to accumulator bits to get the trailing bit group. - dst[pos] = acc << dstBits - bits & mask; - } - } else { - // Truncate the remaining padding, but make sure that it is zeroed and not - // overly long first. - if (bits >= srcBits) { - throw new Error("Excessive padding: ".concat(bits, " (max ").concat(srcBits - 1, " allowed)")); - } - - if (acc % (1 << bits) !== 0) { - throw new Error('Non-zero padding'); - } - } -} -/** - * Encodes a `Uint8Array` buffer as an array with a lesser number of bits per element. - * - * @api private - */ - - -function toBits(src, bits, dst) { - if (bits > 8 || bits < 1) { - throw new RangeError('Invalid bits per element; 1 to 8 expected'); - } // `BitArray<8>` is equivalent to `Uint8Array`; unfortunately, Flow - // has problems expressing this, so the explicit conversion is performed here. - - - convert$1(toBitArrayUnchecked(src), 8, dst, bits, true); - return dst; -} - -function fromBits(src, bits, dst) { - if (bits > 8 || bits < 1) { - throw new RangeError('Invalid bits per element; 1 to 8 expected'); - } - - convert$1(src, bits, toBitArrayUnchecked(dst), 8, false); - return dst; -} - -var encoding = {}; - -Object.defineProperty(encoding, "__esModule", { - value: true -}); -encoding.CHECKSUM_LENGTH = void 0; -encoding.createChecksum = createChecksum; -encoding.decode = decode$6; -encoding.decodeWithPrefix = decodeWithPrefix; -encoding.encode = encode$6; -encoding.expandPrefix = expandPrefix; -encoding.verifyChecksum = verifyChecksum; - -var _bitConverter$1 = bitConverter; - -// Alphabet for Bech32 -var CHARSET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; // Checksum constant for Bech32m. - -var BECH32M_CHECKSUM = 0x2bc830a3; -var CHECKSUM_LENGTH = 6; // Reverse lookup for characters - -encoding.CHECKSUM_LENGTH = CHECKSUM_LENGTH; - -var CHAR_LOOKUP = function () { - var lookup = new Map(); - - for (var i = 0; i < CHARSET.length; i += 1) { - lookup.set(CHARSET[i], i); - } - - return lookup; -}(); // Poly generators - - -var GEN = [0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3]; - -function polymod(values) { - return values.reduce(function (checksum, value) { - var bits = checksum >> 25; - var newChecksum = (checksum & 0x1ffffff) << 5 ^ value; - return GEN.reduce(function (chk, gen, i) { - return (bits >> i & 1) === 0 ? chk : chk ^ gen; - }, newChecksum); - }, - /* initial checksum */ - 1); -} -/** - * Expands a prefix into the specified output buffer. - */ - - -function expandPrefix(prefix, outBuffer) { - for (var i = 0; i < prefix.length; i += 1) { - var code = prefix.charCodeAt(i); - outBuffer[i] = code >> 5; - outBuffer[i + prefix.length + 1] = code & 31; - } - - outBuffer[prefix.length] = 0; -} -/** - * Verifies the checksum for a particular buffer. - */ - - -function verifyChecksum(buffer) { - switch (polymod(buffer)) { - case 1: - return 'bech32'; - - case BECH32M_CHECKSUM: - return 'bech32m'; - - default: - return undefined; - } -} -/** - * Creates a checksum for a buffer and writes it to the last 6 5-bit groups - * of the buffer. - */ - - -function createChecksum(buffer, encoding) { - var checksumConstant; - - switch (encoding) { - case 'bech32': - checksumConstant = 1; - break; - - case 'bech32m': - checksumConstant = BECH32M_CHECKSUM; - break; - - default: - throw Error("Invalid encoding value: ".concat(encoding, "; expected bech32 or bech32m")); - } - - var mod = polymod(buffer) ^ checksumConstant; - - for (var i = 0; i < CHECKSUM_LENGTH; i += 1) { - var shift = 5 * (5 - i); - buffer[buffer.length - CHECKSUM_LENGTH + i] = mod >> shift & 31; - } -} -/** - * Encodes an array of 5-bit groups into a string. - * - * @param {Uint8Array} buffer - * @returns {string} - * - * @api private - */ - - -function encode$6(buffer) { - return buffer.reduce(function (acc, bits) { - return acc + CHARSET[bits]; - }, ''); -} -/** - * Decodes a string into an array of 5-bit groups. - * - * @param {string} message - * @param {Uint8Array} [dst] - * Optional array to write the output to. If not specified, the array is created. - * @returns {Uint8Array} - * Array with the result of decoding - * - * @throws {Error} - * if there are characters in `message` not present in the encoding alphabet - * - * @api private - */ - - -function decode$6(message, dst) { - var realDst = dst || (0, _bitConverter$1.createBitArray)(message.length); - - for (var i = 0; i < message.length; i += 1) { - var idx = CHAR_LOOKUP.get(message[i]); - - if (idx === undefined) { - throw new Error("Invalid char in message: ".concat(message[i])); - } - - realDst[i] = idx; - } - - return realDst; -} -/** - * Decodes a string and a human-readable prefix into an array of 5-bit groups. - * The prefix is expanded as specified by Bech32. - * - * @param {string} prefix - * @param {string} message - * @returns {Uint8Array} - * Array with the result of decoding - * - * @api private - */ - - -function decodeWithPrefix(prefix, message) { - var len = message.length + 2 * prefix.length + 1; - var dst = (0, _bitConverter$1.createBitArray)(len); - expandPrefix(prefix, dst.subarray(0, 2 * prefix.length + 1)); - decode$6(message, dst.subarray(2 * prefix.length + 1)); - return dst; -} - -Object.defineProperty(lib$1, "__esModule", { - value: true -}); -lib$1.BitcoinAddress = void 0; -lib$1.decode = decode$5; -lib$1.decodeTo5BitArray = decodeTo5BitArray; -lib$1.encode = encode$5; -lib$1.encode5BitArray = encode5BitArray; -lib$1.from5BitArray = from5BitArray; -lib$1.to5BitArray = to5BitArray; - -var _bitConverter = bitConverter; - -var _encoding = encoding; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -// Minimum char code that could be present in the encoded message -var MIN_CHAR_CODE = 33; // Maximum char code that could be present in the encoded message - -var MAX_CHAR_CODE = 126; // Maximum encoded message length - -var MAX_ENC_LENGTH = 90; - -/** - * Converts a Uint8Array into a Uint8Array variant, in which each element - * encodes 5 bits of the original byte array. - * - * @param {Uint8Array} src - * Input to convert - * @param {?Uint8Array} dst - * Optional output buffer. If specified, the sequence of 5-bit chunks will be written there; - * if not specified, the output buffer will be created from scratch. The length - * of `outBuffer` is not checked. - * @returns {Uint8Array} - * Output buffer consisting of 5-bit chunks - * - * @api public - */ -function to5BitArray(src, dst) { - var len = Math.ceil(src.length * 8 / 5); - var realDst = dst || (0, _bitConverter.createBitArray)(len); - return (0, _bitConverter.toBits)(src, 5, realDst); -} - -function from5BitArray(src, dst) { - var len = Math.floor(src.length * 5 / 8); - var realDst = dst || new Uint8Array(len); - return (0, _bitConverter.fromBits)(src, 5, realDst); -} -/** - * Encodes binary data into Bech32 encoding. - * - * Ordinarily, you may want to use [`encode`](#encode) because it converts - * binary data to an array of 5-bit integers automatically. - * - * @param {string} prefix - * Human-readable prefix to place at the beginning of the encoding - * @param {Uint8Array} data - * Array of 5-bit integers with data to encode - * @param {Encoding} encoding - * Encoding to use; influences the checksum computation. If not specified, - * Bech32 encoding will be used. - * @returns {string} - * Bech32 encoding of data in the form `1` - * - * @api public - */ - - -function encode5BitArray(prefix, data) { - var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; - // 1. Allocate buffer for all operations - var len = 2 * prefix.length + 1 // expanded prefix - + data.length // five-bit data encoding - + _encoding.CHECKSUM_LENGTH; // checksum - - if (len - prefix.length > MAX_ENC_LENGTH) { - throw new Error("Message to be produced is too long (max ".concat(MAX_ENC_LENGTH, " supported)")); - } - - for (var i = 0; i < prefix.length; i += 1) { - var ord = prefix.charCodeAt(i); - - if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { - throw new TypeError("Invalid char in prefix: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); - } - } - - var buffer = (0, _bitConverter.createBitArray)(len); // 2. Expand the human-readable prefix into the beginning of the buffer - - (0, _encoding.expandPrefix)(prefix, buffer.subarray(0, 2 * prefix.length + 1)); // 3. Copy `data` into the output - - var dataBuffer = buffer.subarray(2 * prefix.length + 1, buffer.length - _encoding.CHECKSUM_LENGTH); - dataBuffer.set(data); // 4. Create the checksum - - (0, _encoding.createChecksum)(buffer, encoding); // 5. Convert into string - - var encoded = (0, _encoding.encode)(buffer.subarray(2 * prefix.length + 1)); - return "".concat(prefix, "1").concat(encoded); -} -/** - * Encodes binary data into Bech32 encoding. - * - * @param {string} prefix - * Human-readable prefix to place at the beginning of the encoding - * @param {Uint8Array} data - * Binary data to encode - * @param {Encoding} encoding - * Encoding to use; influences the checksum computation. If not specified, - * Bech32 encoding will be used. - * @returns {string} - * Bech32 encoding of data in the form `1` - * - * @api public - */ - - -function encode$5(prefix, data) { - var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; - return encode5BitArray(prefix, to5BitArray(data), encoding); -} -/** - * Decodes data from Bech32 encoding into an array of 5-bit integers. - * - * Ordinarily, you may want to use [`decode`](#decode) because it automatically - * converts the array of 5-bit integers into an ordinary `Uint8Array`. - * - * @param {string} message - * Bech32-encoded message - * @returns {DecodeResult} - * Decoded object with `prefix` and `data` fields, which contain the human-readable - * prefix and the array of 5-bit integers respectively. - * - * @api public - */ - - -function decodeTo5BitArray(message) { - // Check preconditions - // 1. Message length - if (message.length > MAX_ENC_LENGTH) { - throw new TypeError("Message too long; max ".concat(MAX_ENC_LENGTH, " expected")); - } // 2. Mixed case - - - var hasLowerCase = false; - var hasUpperCase = false; - - for (var i = 0; i < message.length; i += 1) { - var ord = message.charCodeAt(i); // 3. Allowed chars in the encoding - - if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { - throw new TypeError("Invalid char in message: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); - } - - hasLowerCase = hasLowerCase || ord >= 65 && ord <= 90; - hasUpperCase = hasUpperCase || ord >= 97 && ord <= 122; - } - - if (hasLowerCase && hasUpperCase) { - throw new TypeError('Mixed-case message'); - } - - var lowerCaseMsg = message.toLowerCase(); // 4. Existence of the separator char - - var sepIdx = lowerCaseMsg.lastIndexOf('1'); - - if (sepIdx < 0) { - throw new Error('No separator char ("1") found'); - } // 5. Placing of the separator char in the message - - - if (sepIdx > message.length - _encoding.CHECKSUM_LENGTH - 1) { - throw new Error("Data part of the message too short (at least ".concat(_encoding.CHECKSUM_LENGTH, " chars expected)")); - } - - var prefix = lowerCaseMsg.substring(0, sepIdx); // Checked within `decodeWithPrefix`: - // 6. Invalid chars in the data part of the message - - var bitArray = (0, _encoding.decodeWithPrefix)(prefix, lowerCaseMsg.substring(sepIdx + 1)); // 7. Checksum - - var encoding = (0, _encoding.verifyChecksum)(bitArray); - - if (encoding === undefined) { - throw new Error('Invalid checksum'); - } - - return { - prefix: prefix, - encoding: encoding, - // Strip off the prefix from the front and the checksum from the end - data: bitArray.subarray(2 * prefix.length + 1, bitArray.length - _encoding.CHECKSUM_LENGTH) - }; -} -/** - * Decodes data from Bech32 encoding into an array of 5-bit integers. - * - * @param {string} message - * Bech32-encoded message - * @returns {DecodeResult} - * Decoded object with `prefix` and `data` fields, which contain the human-readable - * prefix and the decoded binary data respectively. - * - * @api public - */ - - -function decode$5(message) { - var _decodeTo5BitArray = decodeTo5BitArray(message), - prefix = _decodeTo5BitArray.prefix, - encoding = _decodeTo5BitArray.encoding, - bitArray = _decodeTo5BitArray.data; - - return { - prefix: prefix, - encoding: encoding, - data: from5BitArray(bitArray) - }; -} -/** - * Bitcoin address. - */ - - -var BitcoinAddress = /*#__PURE__*/function () { - function BitcoinAddress(prefix, scriptVersion, data) { - _classCallCheck(this, BitcoinAddress); - - if (prefix !== 'bc' && prefix !== 'tb') { - throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); - } - - if (scriptVersion < 0 || scriptVersion > 16) { - throw new RangeError('Invalid scriptVersion, value in range [0, 16] expected'); - } - - if (data.length < 2 || data.length > 40) { - throw new RangeError('Invalid script length: expected 2 to 40 bytes'); - } - - if (scriptVersion === 0 && data.length !== 20 && data.length !== 32) { - throw new Error('Invalid v0 script length: expected 20 or 32 bytes'); - } - - this.prefix = prefix; - this.scriptVersion = scriptVersion; - this.data = data; - } - /** - * Guesses the address type based on its internal structure. - * - * @returns {void | 'p2wpkh' | 'p2wsh'} - */ - - - _createClass(BitcoinAddress, [{ - key: "type", - value: function type() { - if (this.scriptVersion !== 0) { - return undefined; - } - - switch (this.data.length) { - case 20: - return 'p2wpkh'; - - case 32: - return 'p2wsh'; - // should be unreachable, but it's JS, so you never know - - default: - return undefined; - } - } - /** - * Encodes this address in Bech32 or Bech32m format, depending on the script version. - * Version 0 scripts are encoded using original Bech32 encoding as per BIP 173, - * while versions 1-16 are encoded using the modified encoding as per BIP 350. - * - * @returns {string} - * Bech32(m)-encoded address - */ - - }, { - key: "encode", - value: function encode() { - // Bitcoin addresses use Bech32 in a peculiar way - script version is - // not a part of the serialized binary data, but is rather prepended as 5-bit value - // before the rest of the script. This necessitates some plumbing here. - var len = Math.ceil(this.data.length * 8 / 5); - var converted = (0, _bitConverter.createBitArray)(len + 1); - converted[0] = this.scriptVersion; - to5BitArray(this.data, converted.subarray(1)); - var encoding = this.scriptVersion === 0 ? 'bech32' : 'bech32m'; - return encode5BitArray(this.prefix, converted, encoding); - } - }], [{ - key: "decode", - value: - /** - * Human-readable prefix. Equal to `'bc'` (for mainnet addresses) - * or `'tb'` (for testnet addresses). - */ - - /** - * Script version. An integer between 0 and 16 (inclusive). - */ - - /** - * Script data. A byte string with length 2 to 40 (inclusive). - */ - - /** - * Decodes a Bitcoin address from a Bech32(m) string. - * As per BIP 350, the original encoding is expected for version 0 scripts, while - * other script versions expect the modified encoding. - * - * This method does not check whether the address is well-formed; - * use `type()` method on returned address to find that out. - * - * @param {string} message - * @returns {BitcoinAddress} - */ - function decode(message) { - var _decodeTo5BitArray2 = decodeTo5BitArray(message), - prefix = _decodeTo5BitArray2.prefix, - data = _decodeTo5BitArray2.data, - encoding = _decodeTo5BitArray2.encoding; // Extra check to satisfy Flow. - - - if (prefix !== 'bc' && prefix !== 'tb') { - throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); - } - - var scriptVersion = data[0]; - - if (scriptVersion === 0 && encoding !== 'bech32') { - throw Error("Unexpected encoding ".concat(encoding, " used for version 0 script")); - } - - if (scriptVersion > 0 && encoding !== 'bech32m') { - throw Error("Unexpected encoding ".concat(encoding, " used for version ").concat(scriptVersion, " script")); - } - - return new this(prefix, scriptVersion, from5BitArray(data.subarray(1))); - } - }]); - - return BitcoinAddress; -}(); - -lib$1.BitcoinAddress = BitcoinAddress; - -var dist$1 = {}; - -Object.defineProperty(dist$1, "__esModule", { value: true }); -dist$1.bech32m = dist$1.bech32 = void 0; -const ALPHABET$1 = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; -const ALPHABET_MAP = {}; -for (let z = 0; z < ALPHABET$1.length; z++) { - const x = ALPHABET$1.charAt(z); - ALPHABET_MAP[x] = z; -} -function polymodStep(pre) { - const b = pre >> 25; - return (((pre & 0x1ffffff) << 5) ^ - (-((b >> 0) & 1) & 0x3b6a57b2) ^ - (-((b >> 1) & 1) & 0x26508e6d) ^ - (-((b >> 2) & 1) & 0x1ea119fa) ^ - (-((b >> 3) & 1) & 0x3d4233dd) ^ - (-((b >> 4) & 1) & 0x2a1462b3)); -} -function prefixChk(prefix) { - let chk = 1; - for (let i = 0; i < prefix.length; ++i) { - const c = prefix.charCodeAt(i); - if (c < 33 || c > 126) - return 'Invalid prefix (' + prefix + ')'; - chk = polymodStep(chk) ^ (c >> 5); - } - chk = polymodStep(chk); - for (let i = 0; i < prefix.length; ++i) { - const v = prefix.charCodeAt(i); - chk = polymodStep(chk) ^ (v & 0x1f); - } - return chk; -} -function convert(data, inBits, outBits, pad) { - let value = 0; - let bits = 0; - const maxV = (1 << outBits) - 1; - const result = []; - for (let i = 0; i < data.length; ++i) { - value = (value << inBits) | data[i]; - bits += inBits; - while (bits >= outBits) { - bits -= outBits; - result.push((value >> bits) & maxV); - } - } - if (pad) { - if (bits > 0) { - result.push((value << (outBits - bits)) & maxV); - } - } - else { - if (bits >= inBits) - return 'Excess padding'; - if ((value << (outBits - bits)) & maxV) - return 'Non-zero padding'; - } - return result; -} -function toWords(bytes) { - return convert(bytes, 8, 5, true); -} -function fromWordsUnsafe(words) { - const res = convert(words, 5, 8, false); - if (Array.isArray(res)) - return res; -} -function fromWords(words) { - const res = convert(words, 5, 8, false); - if (Array.isArray(res)) - return res; - throw new Error(res); -} -function getLibraryFromEncoding(encoding) { - let ENCODING_CONST; - if (encoding === 'bech32') { - ENCODING_CONST = 1; - } - else { - ENCODING_CONST = 0x2bc830a3; - } - function encode(prefix, words, LIMIT) { - LIMIT = LIMIT || 90; - if (prefix.length + 7 + words.length > LIMIT) - throw new TypeError('Exceeds length limit'); - prefix = prefix.toLowerCase(); - // determine chk mod - let chk = prefixChk(prefix); - if (typeof chk === 'string') - throw new Error(chk); - let result = prefix + '1'; - for (let i = 0; i < words.length; ++i) { - const x = words[i]; - if (x >> 5 !== 0) - throw new Error('Non 5-bit word'); - chk = polymodStep(chk) ^ x; - result += ALPHABET$1.charAt(x); - } - for (let i = 0; i < 6; ++i) { - chk = polymodStep(chk); - } - chk ^= ENCODING_CONST; - for (let i = 0; i < 6; ++i) { - const v = (chk >> ((5 - i) * 5)) & 0x1f; - result += ALPHABET$1.charAt(v); - } - return result; - } - function __decode(str, LIMIT) { - LIMIT = LIMIT || 90; - if (str.length < 8) - return str + ' too short'; - if (str.length > LIMIT) - return 'Exceeds length limit'; - // don't allow mixed case - const lowered = str.toLowerCase(); - const uppered = str.toUpperCase(); - if (str !== lowered && str !== uppered) - return 'Mixed-case string ' + str; - str = lowered; - const split = str.lastIndexOf('1'); - if (split === -1) - return 'No separator character for ' + str; - if (split === 0) - return 'Missing prefix for ' + str; - const prefix = str.slice(0, split); - const wordChars = str.slice(split + 1); - if (wordChars.length < 6) - return 'Data too short'; - let chk = prefixChk(prefix); - if (typeof chk === 'string') - return chk; - const words = []; - for (let i = 0; i < wordChars.length; ++i) { - const c = wordChars.charAt(i); - const v = ALPHABET_MAP[c]; - if (v === undefined) - return 'Unknown character ' + c; - chk = polymodStep(chk) ^ v; - // not in the checksum? - if (i + 6 >= wordChars.length) - continue; - words.push(v); - } - if (chk !== ENCODING_CONST) - return 'Invalid checksum for ' + str; - return { prefix, words }; - } - function decodeUnsafe(str, LIMIT) { - const res = __decode(str, LIMIT); - if (typeof res === 'object') - return res; - } - function decode(str, LIMIT) { - const res = __decode(str, LIMIT); - if (typeof res === 'object') - return res; - throw new Error(res); - } - return { - decodeUnsafe, - decode, - encode, - toWords, - fromWordsUnsafe, - fromWords, - }; -} -dist$1.bech32 = getLibraryFromEncoding('bech32'); -dist$1.bech32m = getLibraryFromEncoding('bech32m'); - -const bech32 = lib$1; -const { - bech32m -} = dist$1; - -class Bech32$1 { - constructor (input = {}) { - this.settings = Object.assign({ - hrp: 'bc', - separator: '1', - content: '' - }, input); - - return this; - } - - get content () { - return this.settings.content; - } - - get hrp () { - return this.settings.hrp; - } - - get words () { - const buffer = (this.content instanceof Buffer) ? this.content : Buffer.from(this.content, 'hex'); - return bech32m.toWords(buffer); - } - - static decode (input = '') { - const decoded = bech32.decode(input); - return { - prefix: decoded.prefix, - content: decoded.data - }; - } - - toString () { - return bech32m.encode(this.hrp, this.words); - } -} - -var bech32_1$2 = Bech32$1; - -function commonjsRequire(path) { - throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); -} - -var dist = {exports: {}}; - -(function (module, exports) { - (function(f){{module.exports=f();}})(function(){return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof commonjsRequire=="function"&&commonjsRequire;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r);}return n[o].exports}var i=typeof commonjsRequire=="function"&&commonjsRequire;for(var o=0;o 32) { - throw new Error('Generator.bits()\'s bitCount parameter must be in the range [1 - 32]. Provided bitCount=' + bitCount); - } - // Use the higher bits as the lower bits have a low period. I haven't looked into the exact - // math of why, but in my tests in masking off the lower bits and graphing them it tended - // to loop very quickly. - // TODO: Test the above concern and in general do some analysis of the quality of generated - // numbers using different places of the number. - return this._state >>> 32 - bitCount; - } - - // Move the generators internal state - // forward one step - - }, { - key: 'next', - get: function get() { - this._state = lcg(this._state); - return this; - } - - // Move the generators internal state - // forward one step - - }, { - key: 'prev', - get: function get() { - this._state = rlcg(this._state); - return this; - } - - // Set the state of the generator. Must be a valid u32 integer - - }, { - key: 'state', - set: function set(state) { - if (state < 0 || state >= _MaxU2.default) { - throw new Error('Generator.state must be a number between 0 and (2^32 - 1). Provided state was ' + state + '.'); - } - this._state = state; - } - - // Get the current internal state - , - get: function get() { - return this._state; - } - }]); - - return Generator; - }(); - - exports.default = Generator; - - - function lcg(state) { - state = (a * state + c) % m; - return state; - } - - function rlcg(state) { - var result = _Long2.default.fromInt(aInverse).multiply(_Long2.default.fromNumber(state - 1013904223)); // - var pow2to32 = new _Long2.default(0, 1); - - // Modulo doesn't work as we want (negatives stay negatives, we want wrapping around ) - if (result.isNegative()) { - result = pow2to32.add(result.modulo(pow2to32)); - } else { - result = result.modulo(pow2to32); - } - - result = result.toNumber(); - state = result; - return state; - } - - },{"./Long":2,"./MaxU32":3}],2:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // Copyright 2009 The Closure Library Authors. All Rights Reserved. - // - // Licensed under the Apache License, Version 2.0 (the "License"); - // you may not use this file except in compliance with the License. - // You may obtain a copy of the License at - // - // http://www.apache.org/licenses/LICENSE-2.0 - // - // Unless required by applicable law or agreed to in writing, software - // distributed under the License is distributed on an "AS-IS" BASIS, - // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - // See the License for the specific language governing permissions and - // limitations under the License. - - /** - * @fileoverview Defines a Long class for representing a 64-bit two's-complement - * integer value, which faithfully simulates the behavior of a Java "long". This - * implementation is derived from LongLib in GWT. - * - */ - - /** - * Constructs a 64-bit two's-complement integer, given its low and high 32-bit - * values as *signed* integers. See the from* functions below for more - * convenient ways of constructing Longs. - * - * The internal representation of a long is the two given signed, 32-bit values. - * We use 32-bit pieces because these are the size of integers on which - * Javascript performs bit-operations. For operations like addition and - * multiplication, we split each number into 16-bit pieces, which can easily be - * multiplied within Javascript's floating-point representation without overflow - * or change in sign. - * - * In the algorithms below, we frequently reduce the negative case to the - * positive case by negating the input(s) and then post-processing the result. - * Note that we must ALWAYS check specially whether those values are MIN_VALUE - * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as - * a positive number, it overflows back into a negative). Not handling this - * case would often result in infinite recursion. - * - * @param {number} low The low (signed) 32 bits of the long. - * @param {number} high The high (signed) 32 bits of the long. - * @struct - * @constructor - * @final - */ - var Long = function Long(low, high) { - /** - * @type {number} - * @private - */ - this.low_ = low | 0; // force into 32 signed bits. - - /** - * @type {number} - * @private - */ - this.high_ = high | 0; // force into 32 signed bits. - }; - - /** - * Returns a Long representing the given (32-bit) integer value. - * @param {number} value The 32-bit integer in question. - * @return {!Long} The corresponding Long value. - */ - Long.fromInt = function (value) { - return new Long(value | 0, value < 0 ? -1 : 0); - }; - - /** - * Returns a Long representing the given value. - * NaN will be returned as zero. Infinity is converted to max value and - * -Infinity to min value. - * @param {number} value The number in question. - * @return {!Long} The corresponding Long value. - */ - Long.fromNumber = function (value) { - if (isNaN(value)) { - return Long.getZero(); - } else if (value <= -Long.TWO_PWR_63_DBL_) { - return Long.getMinValue(); - } else if (value + 1 >= Long.TWO_PWR_63_DBL_) { - return Long.getMaxValue(); - } else if (value < 0) { - return Long.fromNumber(-value).negate(); - } else { - return new Long(value % Long.TWO_PWR_32_DBL_ | 0, value / Long.TWO_PWR_32_DBL_ | 0); - } - }; - - /** - * Returns a Long representing the 64-bit integer that comes by concatenating - * the given high and low bits. Each is assumed to use 32 bits. - * @param {number} lowBits The low 32-bits. - * @param {number} highBits The high 32-bits. - * @return {!Long} The corresponding Long value. - */ - Long.fromBits = function (lowBits, highBits) { - return new Long(lowBits, highBits); - }; - - /** - * Returns a Long representation of the given string, written using the given - * radix. - * @param {string} str The textual representation of the Long. - * @param {number=} opt_radix The radix in which the text is written. - * @return {!Long} The corresponding Long value. - */ - Long.fromString = function (str, opt_radix) { - if (str.length == 0) { - throw Error('number format error: empty string'); - } - - var radix = opt_radix || 10; - if (radix < 2 || 36 < radix) { - throw Error('radix out of range: ' + radix); - } - - if (str.charAt(0) == '-') { - return Long.fromString(str.substring(1), radix).negate(); - } else if (str.indexOf('-') >= 0) { - throw Error('number format error: interior "-" character: ' + str); - } - - // Do several (8) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - var radixToPower = Long.fromNumber(Math.pow(radix, 8)); - - var result = Long.getZero(); - for (var i = 0; i < str.length; i += 8) { - var size = Math.min(8, str.length - i); - var value = parseInt(str.substring(i, i + size), radix); - if (size < 8) { - var power = Long.fromNumber(Math.pow(radix, size)); - result = result.multiply(power).add(Long.fromNumber(value)); - } else { - result = result.multiply(radixToPower); - result = result.add(Long.fromNumber(value)); - } - } - return result; - }; - - // NOTE: the compiler should inline these constant values below and then remove - // these variables, so there should be no runtime penalty for these. - - - /** - * Number used repeated below in calculations. This must appear before the - * first call to any from* function below. - * @type {number} - * @private - */ - Long.TWO_PWR_16_DBL_ = 1 << 16; - - /** - * @type {number} - * @private - */ - Long.TWO_PWR_32_DBL_ = Long.TWO_PWR_16_DBL_ * Long.TWO_PWR_16_DBL_; - - /** - * @type {number} - * @private - */ - Long.TWO_PWR_64_DBL_ = Long.TWO_PWR_32_DBL_ * Long.TWO_PWR_32_DBL_; - - /** - * @type {number} - * @private - */ - Long.TWO_PWR_63_DBL_ = Long.TWO_PWR_64_DBL_ / 2; - - /** - * @return {!Long} - * @public - */ - Long.getZero = function () { - return Long.fromInt(0); - }; - - /** - * @return {!Long} - * @public - */ - Long.getOne = function () { - return Long.fromInt(1); - }; - - /** - * @return {!Long} - * @public - */ - Long.getNegOne = function () { - return Long.fromInt(-1); - }; - - /** - * @return {!Long} - * @public - */ - Long.getMaxValue = function () { - return Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0); - }; - - /** - * @return {!Long} - * @public - */ - Long.getMinValue = function () { - return Long.fromBits(0, 0x80000000 | 0); - }; - - /** - * @return {!Long} - * @public - */ - Long.getTwoPwr24 = function () { - return Long.fromInt(1 << 24); - }; - - /** @return {number} The value, assuming it is a 32-bit integer. */ - Long.prototype.toInt = function () { - return this.low_; - }; - - /** @return {number} The closest floating-point representation to this value. */ - Long.prototype.toNumber = function () { - return this.high_ * Long.TWO_PWR_32_DBL_ + this.getLowBitsUnsigned(); - }; - - /** - * @param {number=} opt_radix The radix in which the text should be written. - * @return {string} The textual representation of this value. - * @override - */ - Long.prototype.toString = function (opt_radix) { - var radix = opt_radix || 10; - if (radix < 2 || 36 < radix) { - throw Error('radix out of range: ' + radix); - } - - if (this.isZero()) { - return '0'; - } - - if (this.isNegative()) { - if (this.equals(Long.getMinValue())) { - // We need to change the Long value before it can be negated, so we remove - // the bottom-most digit in this base and then recurse to do the rest. - var radixLong = Long.fromNumber(radix); - var div = this.div(radixLong); - var rem = div.multiply(radixLong).subtract(this); - return div.toString(radix) + rem.toInt().toString(radix); - } else { - return '-' + this.negate().toString(radix); - } - } - - // Do several (6) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - var radixToPower = Long.fromNumber(Math.pow(radix, 6)); - - var rem = this; - var result = ''; - while (true) { - var remDiv = rem.div(radixToPower); - // The right shifting fixes negative values in the case when - // intval >= 2^31; for more details see - // https://github.com/google/closure-library/pull/498 - var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt() >>> 0; - var digits = intval.toString(radix); - - rem = remDiv; - if (rem.isZero()) { - return digits + result; - } else { - while (digits.length < 6) { - digits = '0' + digits; - } - result = '' + digits + result; - } - } - }; - - /** @return {number} The high 32-bits as a signed value. */ - Long.prototype.getHighBits = function () { - return this.high_; - }; - - /** @return {number} The low 32-bits as a signed value. */ - Long.prototype.getLowBits = function () { - return this.low_; - }; - - /** @return {number} The low 32-bits as an unsigned value. */ - Long.prototype.getLowBitsUnsigned = function () { - return this.low_ >= 0 ? this.low_ : Long.TWO_PWR_32_DBL_ + this.low_; - }; - - /** - * @return {number} Returns the number of bits needed to represent the absolute - * value of this Long. - */ - Long.prototype.getNumBitsAbs = function () { - if (this.isNegative()) { - if (this.equals(Long.getMinValue())) { - return 64; - } else { - return this.negate().getNumBitsAbs(); - } - } else { - var val = this.high_ != 0 ? this.high_ : this.low_; - for (var bit = 31; bit > 0; bit--) { - if ((val & 1 << bit) != 0) { - break; - } - } - return this.high_ != 0 ? bit + 33 : bit + 1; - } - }; - - /** @return {boolean} Whether this value is zero. */ - Long.prototype.isZero = function () { - return this.high_ == 0 && this.low_ == 0; - }; - - /** @return {boolean} Whether this value is negative. */ - Long.prototype.isNegative = function () { - return this.high_ < 0; - }; - - /** @return {boolean} Whether this value is odd. */ - Long.prototype.isOdd = function () { - return (this.low_ & 1) == 1; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long equals the other. - */ - Long.prototype.equals = function (other) { - return this.high_ == other.high_ && this.low_ == other.low_; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long does not equal the other. - */ - Long.prototype.notEquals = function (other) { - return this.high_ != other.high_ || this.low_ != other.low_; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is less than the other. - */ - Long.prototype.lessThan = function (other) { - return this.compare(other) < 0; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is less than or equal to the other. - */ - Long.prototype.lessThanOrEqual = function (other) { - return this.compare(other) <= 0; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is greater than the other. - */ - Long.prototype.greaterThan = function (other) { - return this.compare(other) > 0; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is greater than or equal to the other. - */ - Long.prototype.greaterThanOrEqual = function (other) { - return this.compare(other) >= 0; - }; - - /** - * Compares this Long with the given one. - * @param {Long} other Long to compare against. - * @return {number} 0 if they are the same, 1 if the this is greater, and -1 - * if the given one is greater. - */ - Long.prototype.compare = function (other) { - if (this.equals(other)) { - return 0; - } - - var thisNeg = this.isNegative(); - var otherNeg = other.isNegative(); - if (thisNeg && !otherNeg) { - return -1; - } - if (!thisNeg && otherNeg) { - return 1; - } - - // at this point, the signs are the same, so subtraction will not overflow - if (this.subtract(other).isNegative()) { - return -1; - } else { - return 1; - } - }; - - /** @return {!Long} The negation of this value. */ - Long.prototype.negate = function () { - if (this.equals(Long.getMinValue())) { - return Long.getMinValue(); - } else { - return this.not().add(Long.getOne()); - } - }; - - /** - * Returns the sum of this and the given Long. - * @param {Long} other Long to add to this one. - * @return {!Long} The sum of this and the given Long. - */ - Long.prototype.add = function (other) { - // Divide each number into 4 chunks of 16 bits, and then sum the chunks. - - var a48 = this.high_ >>> 16; - var a32 = this.high_ & 0xFFFF; - var a16 = this.low_ >>> 16; - var a00 = this.low_ & 0xFFFF; - - var b48 = other.high_ >>> 16; - var b32 = other.high_ & 0xFFFF; - var b16 = other.low_ >>> 16; - var b00 = other.low_ & 0xFFFF; - - var c48 = 0, - c32 = 0, - c16 = 0, - c00 = 0; - c00 += a00 + b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 + b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 + b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 + b48; - c48 &= 0xFFFF; - return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); - }; - - /** - * Returns the difference of this and the given Long. - * @param {Long} other Long to subtract from this. - * @return {!Long} The difference of this and the given Long. - */ - Long.prototype.subtract = function (other) { - return this.add(other.negate()); - }; - - /** - * Returns the product of this and the given long. - * @param {Long} other Long to multiply with this. - * @return {!Long} The product of this and the other. - */ - Long.prototype.multiply = function (other) { - if (this.isZero()) { - return Long.getZero(); - } else if (other.isZero()) { - return Long.getZero(); - } - - if (this.equals(Long.getMinValue())) { - return other.isOdd() ? Long.getMinValue() : Long.getZero(); - } else if (other.equals(Long.getMinValue())) { - return this.isOdd() ? Long.getMinValue() : Long.getZero(); - } - - if (this.isNegative()) { - if (other.isNegative()) { - return this.negate().multiply(other.negate()); - } else { - return this.negate().multiply(other).negate(); - } - } else if (other.isNegative()) { - return this.multiply(other.negate()).negate(); - } - - // If both longs are small, use float multiplication - if (this.lessThan(Long.getTwoPwr24()) && other.lessThan(Long.getTwoPwr24())) { - return Long.fromNumber(this.toNumber() * other.toNumber()); - } - - // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. - // We can skip products that would overflow. - - var a48 = this.high_ >>> 16; - var a32 = this.high_ & 0xFFFF; - var a16 = this.low_ >>> 16; - var a00 = this.low_ & 0xFFFF; - - var b48 = other.high_ >>> 16; - var b32 = other.high_ & 0xFFFF; - var b16 = other.low_ >>> 16; - var b00 = other.low_ & 0xFFFF; - - var c48 = 0, - c32 = 0, - c16 = 0, - c00 = 0; - c00 += a00 * b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 * b00; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c16 += a00 * b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 * b00; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a16 * b16; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a00 * b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; - c48 &= 0xFFFF; - return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); - }; - - /** - * Returns this Long divided by the given one. - * @param {Long} other Long by which to divide. - * @return {!Long} This Long divided by the given one. - */ - Long.prototype.div = function (other) { - if (other.isZero()) { - throw Error('division by zero'); - } else if (this.isZero()) { - return Long.getZero(); - } - - if (this.equals(Long.getMinValue())) { - if (other.equals(Long.getOne()) || other.equals(Long.getNegOne())) { - return Long.getMinValue(); // recall -MIN_VALUE == MIN_VALUE - } else if (other.equals(Long.getMinValue())) { - return Long.getOne(); - } else { - // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. - var halfThis = this.shiftRight(1); - var approx = halfThis.div(other).shiftLeft(1); - if (approx.equals(Long.getZero())) { - return other.isNegative() ? Long.getOne() : Long.getNegOne(); - } else { - var rem = this.subtract(other.multiply(approx)); - var result = approx.add(rem.div(other)); - return result; - } - } - } else if (other.equals(Long.getMinValue())) { - return Long.getZero(); - } - - if (this.isNegative()) { - if (other.isNegative()) { - return this.negate().div(other.negate()); - } else { - return this.negate().div(other).negate(); - } - } else if (other.isNegative()) { - return this.div(other.negate()).negate(); - } - - // Repeat the following until the remainder is less than other: find a - // floating-point that approximates remainder / other *from below*, add this - // into the result, and subtract it from the remainder. It is critical that - // the approximate value is less than or equal to the real value so that the - // remainder never becomes negative. - var res = Long.getZero(); - var rem = this; - while (rem.greaterThanOrEqual(other)) { - // Approximate the result of division. This may be a little greater or - // smaller than the actual value. - var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber())); - - // We will tweak the approximate result by changing it in the 48-th digit or - // the smallest non-fractional digit, whichever is larger. - var log2 = Math.ceil(Math.log(approx) / Math.LN2); - var delta = log2 <= 48 ? 1 : Math.pow(2, log2 - 48); - - // Decrease the approximation until it is smaller than the remainder. Note - // that if it is too large, the product overflows and is negative. - var approxRes = Long.fromNumber(approx); - var approxRem = approxRes.multiply(other); - while (approxRem.isNegative() || approxRem.greaterThan(rem)) { - approx -= delta; - approxRes = Long.fromNumber(approx); - approxRem = approxRes.multiply(other); - } - - // We know the answer can't be zero... and actually, zero would cause - // infinite recursion since we would make no progress. - if (approxRes.isZero()) { - approxRes = Long.getOne(); - } - - res = res.add(approxRes); - rem = rem.subtract(approxRem); - } - return res; - }; - - /** - * Returns this Long modulo the given one. - * @param {Long} other Long by which to mod. - * @return {!Long} This Long modulo the given one. - */ - Long.prototype.modulo = function (other) { - return this.subtract(this.div(other).multiply(other)); - }; - - /** @return {!Long} The bitwise-NOT of this value. */ - Long.prototype.not = function () { - return Long.fromBits(~this.low_, ~this.high_); - }; - - /** - * Returns the bitwise-AND of this Long and the given one. - * @param {Long} other The Long with which to AND. - * @return {!Long} The bitwise-AND of this and the other. - */ - Long.prototype.and = function (other) { - return Long.fromBits(this.low_ & other.low_, this.high_ & other.high_); - }; - - /** - * Returns the bitwise-OR of this Long and the given one. - * @param {Long} other The Long with which to OR. - * @return {!Long} The bitwise-OR of this and the other. - */ - Long.prototype.or = function (other) { - return Long.fromBits(this.low_ | other.low_, this.high_ | other.high_); - }; - - /** - * Returns the bitwise-XOR of this Long and the given one. - * @param {Long} other The Long with which to XOR. - * @return {!Long} The bitwise-XOR of this and the other. - */ - Long.prototype.xor = function (other) { - return Long.fromBits(this.low_ ^ other.low_, this.high_ ^ other.high_); - }; - - /** - * Returns this Long with bits shifted to the left by the given amount. - * @param {number} numBits The number of bits by which to shift. - * @return {!Long} This shifted to the left by the given amount. - */ - Long.prototype.shiftLeft = function (numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var low = this.low_; - if (numBits < 32) { - var high = this.high_; - return Long.fromBits(low << numBits, high << numBits | low >>> 32 - numBits); - } else { - return Long.fromBits(0, low << numBits - 32); - } - } - }; - - /** - * Returns this Long with bits shifted to the right by the given amount. - * The new leading bits match the current sign bit. - * @param {number} numBits The number of bits by which to shift. - * @return {!Long} This shifted to the right by the given amount. - */ - Long.prototype.shiftRight = function (numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var high = this.high_; - if (numBits < 32) { - var low = this.low_; - return Long.fromBits(low >>> numBits | high << 32 - numBits, high >> numBits); - } else { - return Long.fromBits(high >> numBits - 32, high >= 0 ? 0 : -1); - } - } - }; - - /** - * Returns this Long with bits shifted to the right by the given amount, with - * zeros placed into the new leading bits. - * @param {number} numBits The number of bits by which to shift. - * @return {!Long} This shifted to the right by the given amount, with - * zeros placed into the new leading bits. - */ - Long.prototype.shiftRightUnsigned = function (numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var high = this.high_; - if (numBits < 32) { - var low = this.low_; - return Long.fromBits(low >>> numBits | high << 32 - numBits, high >>> numBits); - } else if (numBits == 32) { - return Long.fromBits(high, 0); - } else { - return Long.fromBits(high >>> numBits - 32, 0); - } - } - }; - - /** - * @enum {number} Ids of commonly requested Long instances. - * @private - */ - Long.ValueCacheId_ = { - MAX_VALUE: 1, - MIN_VALUE: 2, - ZERO: 3, - ONE: 4, - NEG_ONE: 5, - TWO_PWR_24: 6 - }; - - exports.default = Long; - - },{}],3:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - var MAX_U32 = Math.pow(2, 32); - - exports.default = MAX_U32; - - },{}],4:[function(require,module,exports){ - - /* - **Francois**: - Based on an implementation that's based on further implementations, most significant - change is removing the use of Buffers and ArrayBuffers. Original implementation was forked - here (hopefully the original repo still exists, to play it safe I've forked it) - https://github.com/francoislaberge/node-skip32 - - ** Original Comments in skip32.js's implementation ** - Skip32PureJS.js - public domain javascript implementation of: - - SKIP32 -- 32 bit block cipher based on SKIPJACK. - Written by Greg Rose, QUALCOMM Australia, 1999/04/27. - - In common: F-table, G-permutation, key schedule. - Different: 24 round feistel structure. - Based on: Unoptimized test implementation of SKIPJACK algorithm - Panu Rissanen - - SKIPJACK and KEA Algorithm Specifications - Version 2.0 - 29 May 1998 - - Not copyright, no rights reserved. - */ - function Skip32() { - // Francois: I have modified the code to have a hardcoded key. values - // were taken from the example code in the node-skip32 project: - // https://github.com/0x4139/node-skip32#example - this.key = [0x9b, 0x21, 0x96, 0xe, 0x1a, 0xcf, 0x24, 0x5f, 0x14, 0x93]; - } - Skip32.prototype.init = function () {}; - - // Francois: I have modified the code to remove the use of Buffers and ArrayBuffers - // so that the code is more portable to other browsers and environments - var ftable = [0xa3, 0xd7, 0x09, 0x83, 0xf8, 0x48, 0xf6, 0xf4, 0xb3, 0x21, 0x15, 0x78, 0x99, 0xb1, 0xaf, 0xf9, 0xe7, 0x2d, 0x4d, 0x8a, 0xce, 0x4c, 0xca, 0x2e, 0x52, 0x95, 0xd9, 0x1e, 0x4e, 0x38, 0x44, 0x28, 0x0a, 0xdf, 0x02, 0xa0, 0x17, 0xf1, 0x60, 0x68, 0x12, 0xb7, 0x7a, 0xc3, 0xe9, 0xfa, 0x3d, 0x53, 0x96, 0x84, 0x6b, 0xba, 0xf2, 0x63, 0x9a, 0x19, 0x7c, 0xae, 0xe5, 0xf5, 0xf7, 0x16, 0x6a, 0xa2, 0x39, 0xb6, 0x7b, 0x0f, 0xc1, 0x93, 0x81, 0x1b, 0xee, 0xb4, 0x1a, 0xea, 0xd0, 0x91, 0x2f, 0xb8, 0x55, 0xb9, 0xda, 0x85, 0x3f, 0x41, 0xbf, 0xe0, 0x5a, 0x58, 0x80, 0x5f, 0x66, 0x0b, 0xd8, 0x90, 0x35, 0xd5, 0xc0, 0xa7, 0x33, 0x06, 0x65, 0x69, 0x45, 0x00, 0x94, 0x56, 0x6d, 0x98, 0x9b, 0x76, 0x97, 0xfc, 0xb2, 0xc2, 0xb0, 0xfe, 0xdb, 0x20, 0xe1, 0xeb, 0xd6, 0xe4, 0xdd, 0x47, 0x4a, 0x1d, 0x42, 0xed, 0x9e, 0x6e, 0x49, 0x3c, 0xcd, 0x43, 0x27, 0xd2, 0x07, 0xd4, 0xde, 0xc7, 0x67, 0x18, 0x89, 0xcb, 0x30, 0x1f, 0x8d, 0xc6, 0x8f, 0xaa, 0xc8, 0x74, 0xdc, 0xc9, 0x5d, 0x5c, 0x31, 0xa4, 0x70, 0x88, 0x61, 0x2c, 0x9f, 0x0d, 0x2b, 0x87, 0x50, 0x82, 0x54, 0x64, 0x26, 0x7d, 0x03, 0x40, 0x34, 0x4b, 0x1c, 0x73, 0xd1, 0xc4, 0xfd, 0x3b, 0xcc, 0xfb, 0x7f, 0xab, 0xe6, 0x3e, 0x5b, 0xa5, 0xad, 0x04, 0x23, 0x9c, 0x14, 0x51, 0x22, 0xf0, 0x29, 0x79, 0x71, 0x7e, 0xff, 0x8c, 0x0e, 0xe2, 0x0c, 0xef, 0xbc, 0x72, 0x75, 0x6f, 0x37, 0xa1, 0xec, 0xd3, 0x8e, 0x62, 0x8b, 0x86, 0x10, 0xe8, 0x08, 0x77, 0x11, 0xbe, 0x92, 0x4f, 0x24, 0xc5, 0x32, 0x36, 0x9d, 0xcf, 0xf3, 0xa6, 0xbb, 0xac, 0x5e, 0x6c, 0xa9, 0x13, 0x57, 0x25, 0xb5, 0xe3, 0xbd, 0xa8, 0x3a, 0x01, 0x05, 0x59, 0x2a, 0x46]; - - Skip32.prototype.round16 = function (k, n) { - var g1, g2, g3, g4, g5, g6; - g1 = n >> 8 & 0xff; - g2 = n >> 0 & 0xff; - g3 = ftable[g2 ^ this.key[(4 * k + 0) % 10]] ^ g1; - g4 = ftable[g3 ^ this.key[(4 * k + 1) % 10]] ^ g2; - g5 = ftable[g4 ^ this.key[(4 * k + 2) % 10]] ^ g3; - g6 = ftable[g5 ^ this.key[(4 * k + 3) % 10]] ^ g4; - return (g5 << 8) + g6; - }; - - Skip32.prototype.core = function (n, k, d) { - var i, k, wl, wr; - wl = ((n >> 24 & 0xff) << 8) + ((n >> 16 & 0xff) << 0); - wr = ((n >> 8 & 0xff) << 8) + ((n >> 0 & 0xff) << 0); - for (i = 0; i < 24 / 2; i++) { - wr ^= this.round16(k, wl) ^ k; - k += d; - wl ^= this.round16(k, wr) ^ k; - k += d; - } - return (wr << 16 | wl) >>> 0; - }; - - Skip32.prototype.encrypt = function (n) { - return this.core(n, 0, 1); - }; - - Skip32.prototype.decrypt = function (n) { - return this.core(n, 23, -1); - }; - - module.exports.Skip32 = Skip32; - - },{}],5:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _Generator = require('./Generator'); - - var _Generator2 = _interopRequireDefault(_Generator); - - var _scrambler = require('./scrambler'); - - var _MaxU = require('./MaxU32'); - - var _MaxU2 = _interopRequireDefault(_MaxU); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - var arbitrary = { - MAX_U32: _MaxU2.default, - Generator: _Generator2.default, - scramble: _scrambler.scramble, - descramble: _scrambler.descramble - }; - - exports.default = arbitrary; - - },{"./Generator":1,"./MaxU32":3,"./scrambler":6}],6:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.scramble = scramble; - exports.descramble = descramble; - var Skip32 = require('./Skip32PureJS').Skip32; - var cypher = new Skip32(); - - /* - * Takes a unsigned 32 bit integer and returns an unsigned 32 bit integer - * with it's bits scrambled. - * - * Ideal for taking a series of incrementing numbers and creating a pseudo random version. - * Is reversible via calling descramble() on a scrambled number. - */ - function scramble(number) { - return cypher.encrypt(number); - } - - /* - * Takes a scrambled unsigned 32 bit integer and returns the unscrambled unsigned 32 bit - * integer version. - * - * Ideal for taking a series of incrementing numbers and creating a pseudo random version. - * Use this to figure out the original number crated from calls to scramble() - */ - function descramble(scrambledNumber) { - return cypher.decrypt(scrambledNumber); - } - - },{"./Skip32PureJS":4}]},{},[5])(5) - }); - - -} (dist)); - -var bn = {exports: {}}; - -(function (module) { - (function (module, exports) { - - // Utils - function assert (val, msg) { - if (!val) throw new Error(msg || 'Assertion failed'); - } - - // Could use `inherits` module, but don't want to move from single file - // architecture yet. - function inherits (ctor, superCtor) { - ctor.super_ = superCtor; - var TempCtor = function () {}; - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - } - - // BN - - function BN (number, base, endian) { - if (BN.isBN(number)) { - return number; - } - - this.negative = 0; - this.words = null; - this.length = 0; - - // Reduction context - this.red = null; - - if (number !== null) { - if (base === 'le' || base === 'be') { - endian = base; - base = 10; - } - - this._init(number || 0, base || 10, endian || 'be'); - } - } - if (typeof module === 'object') { - module.exports = BN; - } else { - exports.BN = BN; - } - - BN.BN = BN; - BN.wordSize = 26; - - var Buffer; - try { - if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') { - Buffer = window.Buffer; - } else { - Buffer = require('buffer').Buffer; - } - } catch (e) { - } - - BN.isBN = function isBN (num) { - if (num instanceof BN) { - return true; - } - - return num !== null && typeof num === 'object' && - num.constructor.wordSize === BN.wordSize && Array.isArray(num.words); - }; - - BN.max = function max (left, right) { - if (left.cmp(right) > 0) return left; - return right; - }; - - BN.min = function min (left, right) { - if (left.cmp(right) < 0) return left; - return right; - }; - - BN.prototype._init = function init (number, base, endian) { - if (typeof number === 'number') { - return this._initNumber(number, base, endian); - } - - if (typeof number === 'object') { - return this._initArray(number, base, endian); - } - - if (base === 'hex') { - base = 16; - } - assert(base === (base | 0) && base >= 2 && base <= 36); - - number = number.toString().replace(/\s+/g, ''); - var start = 0; - if (number[0] === '-') { - start++; - this.negative = 1; - } - - if (start < number.length) { - if (base === 16) { - this._parseHex(number, start, endian); - } else { - this._parseBase(number, base, start); - if (endian === 'le') { - this._initArray(this.toArray(), base, endian); - } - } - } - }; - - BN.prototype._initNumber = function _initNumber (number, base, endian) { - if (number < 0) { - this.negative = 1; - number = -number; - } - if (number < 0x4000000) { - this.words = [ number & 0x3ffffff ]; - this.length = 1; - } else if (number < 0x10000000000000) { - this.words = [ - number & 0x3ffffff, - (number / 0x4000000) & 0x3ffffff - ]; - this.length = 2; - } else { - assert(number < 0x20000000000000); // 2 ^ 53 (unsafe) - this.words = [ - number & 0x3ffffff, - (number / 0x4000000) & 0x3ffffff, - 1 - ]; - this.length = 3; - } - - if (endian !== 'le') return; - - // Reverse the bytes - this._initArray(this.toArray(), base, endian); - }; - - BN.prototype._initArray = function _initArray (number, base, endian) { - // Perhaps a Uint8Array - assert(typeof number.length === 'number'); - if (number.length <= 0) { - this.words = [ 0 ]; - this.length = 1; - return this; - } - - this.length = Math.ceil(number.length / 3); - this.words = new Array(this.length); - for (var i = 0; i < this.length; i++) { - this.words[i] = 0; - } - - var j, w; - var off = 0; - if (endian === 'be') { - for (i = number.length - 1, j = 0; i >= 0; i -= 3) { - w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16); - this.words[j] |= (w << off) & 0x3ffffff; - this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; - off += 24; - if (off >= 26) { - off -= 26; - j++; - } - } - } else if (endian === 'le') { - for (i = 0, j = 0; i < number.length; i += 3) { - w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16); - this.words[j] |= (w << off) & 0x3ffffff; - this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; - off += 24; - if (off >= 26) { - off -= 26; - j++; - } - } - } - return this.strip(); - }; - - function parseHex4Bits (string, index) { - var c = string.charCodeAt(index); - // 'A' - 'F' - if (c >= 65 && c <= 70) { - return c - 55; - // 'a' - 'f' - } else if (c >= 97 && c <= 102) { - return c - 87; - // '0' - '9' - } else { - return (c - 48) & 0xf; - } - } - - function parseHexByte (string, lowerBound, index) { - var r = parseHex4Bits(string, index); - if (index - 1 >= lowerBound) { - r |= parseHex4Bits(string, index - 1) << 4; - } - return r; - } - - BN.prototype._parseHex = function _parseHex (number, start, endian) { - // Create possibly bigger array to ensure that it fits the number - this.length = Math.ceil((number.length - start) / 6); - this.words = new Array(this.length); - for (var i = 0; i < this.length; i++) { - this.words[i] = 0; - } - - // 24-bits chunks - var off = 0; - var j = 0; - - var w; - if (endian === 'be') { - for (i = number.length - 1; i >= start; i -= 2) { - w = parseHexByte(number, start, i) << off; - this.words[j] |= w & 0x3ffffff; - if (off >= 18) { - off -= 18; - j += 1; - this.words[j] |= w >>> 26; - } else { - off += 8; - } - } - } else { - var parseLength = number.length - start; - for (i = parseLength % 2 === 0 ? start + 1 : start; i < number.length; i += 2) { - w = parseHexByte(number, start, i) << off; - this.words[j] |= w & 0x3ffffff; - if (off >= 18) { - off -= 18; - j += 1; - this.words[j] |= w >>> 26; - } else { - off += 8; - } - } - } - - this.strip(); - }; - - function parseBase (str, start, end, mul) { - var r = 0; - var len = Math.min(str.length, end); - for (var i = start; i < len; i++) { - var c = str.charCodeAt(i) - 48; - - r *= mul; - - // 'a' - if (c >= 49) { - r += c - 49 + 0xa; - - // 'A' - } else if (c >= 17) { - r += c - 17 + 0xa; - - // '0' - '9' - } else { - r += c; - } - } - return r; - } - - BN.prototype._parseBase = function _parseBase (number, base, start) { - // Initialize as zero - this.words = [ 0 ]; - this.length = 1; - - // Find length of limb in base - for (var limbLen = 0, limbPow = 1; limbPow <= 0x3ffffff; limbPow *= base) { - limbLen++; - } - limbLen--; - limbPow = (limbPow / base) | 0; - - var total = number.length - start; - var mod = total % limbLen; - var end = Math.min(total, total - mod) + start; - - var word = 0; - for (var i = start; i < end; i += limbLen) { - word = parseBase(number, i, i + limbLen, base); - - this.imuln(limbPow); - if (this.words[0] + word < 0x4000000) { - this.words[0] += word; - } else { - this._iaddn(word); - } - } - - if (mod !== 0) { - var pow = 1; - word = parseBase(number, i, number.length, base); - - for (i = 0; i < mod; i++) { - pow *= base; - } - - this.imuln(pow); - if (this.words[0] + word < 0x4000000) { - this.words[0] += word; - } else { - this._iaddn(word); - } - } - - this.strip(); - }; - - BN.prototype.copy = function copy (dest) { - dest.words = new Array(this.length); - for (var i = 0; i < this.length; i++) { - dest.words[i] = this.words[i]; - } - dest.length = this.length; - dest.negative = this.negative; - dest.red = this.red; - }; - - BN.prototype.clone = function clone () { - var r = new BN(null); - this.copy(r); - return r; - }; - - BN.prototype._expand = function _expand (size) { - while (this.length < size) { - this.words[this.length++] = 0; - } - return this; - }; - - // Remove leading `0` from `this` - BN.prototype.strip = function strip () { - while (this.length > 1 && this.words[this.length - 1] === 0) { - this.length--; - } - return this._normSign(); - }; - - BN.prototype._normSign = function _normSign () { - // -0 = 0 - if (this.length === 1 && this.words[0] === 0) { - this.negative = 0; - } - return this; - }; - - BN.prototype.inspect = function inspect () { - return (this.red ? ''; - }; - - /* - - var zeros = []; - var groupSizes = []; - var groupBases = []; - - var s = ''; - var i = -1; - while (++i < BN.wordSize) { - zeros[i] = s; - s += '0'; - } - groupSizes[0] = 0; - groupSizes[1] = 0; - groupBases[0] = 0; - groupBases[1] = 0; - var base = 2 - 1; - while (++base < 36 + 1) { - var groupSize = 0; - var groupBase = 1; - while (groupBase < (1 << BN.wordSize) / base) { - groupBase *= base; - groupSize += 1; - } - groupSizes[base] = groupSize; - groupBases[base] = groupBase; - } - - */ - - var zeros = [ - '', - '0', - '00', - '000', - '0000', - '00000', - '000000', - '0000000', - '00000000', - '000000000', - '0000000000', - '00000000000', - '000000000000', - '0000000000000', - '00000000000000', - '000000000000000', - '0000000000000000', - '00000000000000000', - '000000000000000000', - '0000000000000000000', - '00000000000000000000', - '000000000000000000000', - '0000000000000000000000', - '00000000000000000000000', - '000000000000000000000000', - '0000000000000000000000000' - ]; - - var groupSizes = [ - 0, 0, - 25, 16, 12, 11, 10, 9, 8, - 8, 7, 7, 7, 7, 6, 6, - 6, 6, 6, 6, 6, 5, 5, - 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5 - ]; - - var groupBases = [ - 0, 0, - 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, - 43046721, 10000000, 19487171, 35831808, 62748517, 7529536, 11390625, - 16777216, 24137569, 34012224, 47045881, 64000000, 4084101, 5153632, - 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, - 24300000, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176 - ]; - - BN.prototype.toString = function toString (base, padding) { - base = base || 10; - padding = padding | 0 || 1; - - var out; - if (base === 16 || base === 'hex') { - out = ''; - var off = 0; - var carry = 0; - for (var i = 0; i < this.length; i++) { - var w = this.words[i]; - var word = (((w << off) | carry) & 0xffffff).toString(16); - carry = (w >>> (24 - off)) & 0xffffff; - if (carry !== 0 || i !== this.length - 1) { - out = zeros[6 - word.length] + word + out; - } else { - out = word + out; - } - off += 2; - if (off >= 26) { - off -= 26; - i--; - } - } - if (carry !== 0) { - out = carry.toString(16) + out; - } - while (out.length % padding !== 0) { - out = '0' + out; - } - if (this.negative !== 0) { - out = '-' + out; - } - return out; - } - - if (base === (base | 0) && base >= 2 && base <= 36) { - // var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base)); - var groupSize = groupSizes[base]; - // var groupBase = Math.pow(base, groupSize); - var groupBase = groupBases[base]; - out = ''; - var c = this.clone(); - c.negative = 0; - while (!c.isZero()) { - var r = c.modn(groupBase).toString(base); - c = c.idivn(groupBase); - - if (!c.isZero()) { - out = zeros[groupSize - r.length] + r + out; - } else { - out = r + out; - } - } - if (this.isZero()) { - out = '0' + out; - } - while (out.length % padding !== 0) { - out = '0' + out; - } - if (this.negative !== 0) { - out = '-' + out; - } - return out; - } - - assert(false, 'Base should be between 2 and 36'); - }; - - BN.prototype.toNumber = function toNumber () { - var ret = this.words[0]; - if (this.length === 2) { - ret += this.words[1] * 0x4000000; - } else if (this.length === 3 && this.words[2] === 0x01) { - // NOTE: at this stage it is known that the top bit is set - ret += 0x10000000000000 + (this.words[1] * 0x4000000); - } else if (this.length > 2) { - assert(false, 'Number can only safely store up to 53 bits'); - } - return (this.negative !== 0) ? -ret : ret; - }; - - BN.prototype.toJSON = function toJSON () { - return this.toString(16); - }; - - BN.prototype.toBuffer = function toBuffer (endian, length) { - assert(typeof Buffer !== 'undefined'); - return this.toArrayLike(Buffer, endian, length); - }; - - BN.prototype.toArray = function toArray (endian, length) { - return this.toArrayLike(Array, endian, length); - }; - - BN.prototype.toArrayLike = function toArrayLike (ArrayType, endian, length) { - var byteLength = this.byteLength(); - var reqLength = length || Math.max(1, byteLength); - assert(byteLength <= reqLength, 'byte array longer than desired length'); - assert(reqLength > 0, 'Requested array length <= 0'); - - this.strip(); - var littleEndian = endian === 'le'; - var res = new ArrayType(reqLength); - - var b, i; - var q = this.clone(); - if (!littleEndian) { - // Assume big-endian - for (i = 0; i < reqLength - byteLength; i++) { - res[i] = 0; - } - - for (i = 0; !q.isZero(); i++) { - b = q.andln(0xff); - q.iushrn(8); - - res[reqLength - i - 1] = b; - } - } else { - for (i = 0; !q.isZero(); i++) { - b = q.andln(0xff); - q.iushrn(8); - - res[i] = b; - } - - for (; i < reqLength; i++) { - res[i] = 0; - } - } - - return res; - }; - - if (Math.clz32) { - BN.prototype._countBits = function _countBits (w) { - return 32 - Math.clz32(w); - }; - } else { - BN.prototype._countBits = function _countBits (w) { - var t = w; - var r = 0; - if (t >= 0x1000) { - r += 13; - t >>>= 13; - } - if (t >= 0x40) { - r += 7; - t >>>= 7; - } - if (t >= 0x8) { - r += 4; - t >>>= 4; - } - if (t >= 0x02) { - r += 2; - t >>>= 2; - } - return r + t; - }; - } - - BN.prototype._zeroBits = function _zeroBits (w) { - // Short-cut - if (w === 0) return 26; - - var t = w; - var r = 0; - if ((t & 0x1fff) === 0) { - r += 13; - t >>>= 13; - } - if ((t & 0x7f) === 0) { - r += 7; - t >>>= 7; - } - if ((t & 0xf) === 0) { - r += 4; - t >>>= 4; - } - if ((t & 0x3) === 0) { - r += 2; - t >>>= 2; - } - if ((t & 0x1) === 0) { - r++; - } - return r; - }; - - // Return number of used bits in a BN - BN.prototype.bitLength = function bitLength () { - var w = this.words[this.length - 1]; - var hi = this._countBits(w); - return (this.length - 1) * 26 + hi; - }; - - function toBitArray (num) { - var w = new Array(num.bitLength()); - - for (var bit = 0; bit < w.length; bit++) { - var off = (bit / 26) | 0; - var wbit = bit % 26; - - w[bit] = (num.words[off] & (1 << wbit)) >>> wbit; - } - - return w; - } - - // Number of trailing zero bits - BN.prototype.zeroBits = function zeroBits () { - if (this.isZero()) return 0; - - var r = 0; - for (var i = 0; i < this.length; i++) { - var b = this._zeroBits(this.words[i]); - r += b; - if (b !== 26) break; - } - return r; - }; - - BN.prototype.byteLength = function byteLength () { - return Math.ceil(this.bitLength() / 8); - }; - - BN.prototype.toTwos = function toTwos (width) { - if (this.negative !== 0) { - return this.abs().inotn(width).iaddn(1); - } - return this.clone(); - }; - - BN.prototype.fromTwos = function fromTwos (width) { - if (this.testn(width - 1)) { - return this.notn(width).iaddn(1).ineg(); - } - return this.clone(); - }; - - BN.prototype.isNeg = function isNeg () { - return this.negative !== 0; - }; - - // Return negative clone of `this` - BN.prototype.neg = function neg () { - return this.clone().ineg(); - }; - - BN.prototype.ineg = function ineg () { - if (!this.isZero()) { - this.negative ^= 1; - } - - return this; - }; - - // Or `num` with `this` in-place - BN.prototype.iuor = function iuor (num) { - while (this.length < num.length) { - this.words[this.length++] = 0; - } - - for (var i = 0; i < num.length; i++) { - this.words[i] = this.words[i] | num.words[i]; - } - - return this.strip(); - }; - - BN.prototype.ior = function ior (num) { - assert((this.negative | num.negative) === 0); - return this.iuor(num); - }; - - // Or `num` with `this` - BN.prototype.or = function or (num) { - if (this.length > num.length) return this.clone().ior(num); - return num.clone().ior(this); - }; - - BN.prototype.uor = function uor (num) { - if (this.length > num.length) return this.clone().iuor(num); - return num.clone().iuor(this); - }; - - // And `num` with `this` in-place - BN.prototype.iuand = function iuand (num) { - // b = min-length(num, this) - var b; - if (this.length > num.length) { - b = num; - } else { - b = this; - } - - for (var i = 0; i < b.length; i++) { - this.words[i] = this.words[i] & num.words[i]; - } - - this.length = b.length; - - return this.strip(); - }; - - BN.prototype.iand = function iand (num) { - assert((this.negative | num.negative) === 0); - return this.iuand(num); - }; - - // And `num` with `this` - BN.prototype.and = function and (num) { - if (this.length > num.length) return this.clone().iand(num); - return num.clone().iand(this); - }; - - BN.prototype.uand = function uand (num) { - if (this.length > num.length) return this.clone().iuand(num); - return num.clone().iuand(this); - }; - - // Xor `num` with `this` in-place - BN.prototype.iuxor = function iuxor (num) { - // a.length > b.length - var a; - var b; - if (this.length > num.length) { - a = this; - b = num; - } else { - a = num; - b = this; - } - - for (var i = 0; i < b.length; i++) { - this.words[i] = a.words[i] ^ b.words[i]; - } - - if (this !== a) { - for (; i < a.length; i++) { - this.words[i] = a.words[i]; - } - } - - this.length = a.length; - - return this.strip(); - }; - - BN.prototype.ixor = function ixor (num) { - assert((this.negative | num.negative) === 0); - return this.iuxor(num); - }; - - // Xor `num` with `this` - BN.prototype.xor = function xor (num) { - if (this.length > num.length) return this.clone().ixor(num); - return num.clone().ixor(this); - }; - - BN.prototype.uxor = function uxor (num) { - if (this.length > num.length) return this.clone().iuxor(num); - return num.clone().iuxor(this); - }; - - // Not ``this`` with ``width`` bitwidth - BN.prototype.inotn = function inotn (width) { - assert(typeof width === 'number' && width >= 0); - - var bytesNeeded = Math.ceil(width / 26) | 0; - var bitsLeft = width % 26; - - // Extend the buffer with leading zeroes - this._expand(bytesNeeded); - - if (bitsLeft > 0) { - bytesNeeded--; - } - - // Handle complete words - for (var i = 0; i < bytesNeeded; i++) { - this.words[i] = ~this.words[i] & 0x3ffffff; - } - - // Handle the residue - if (bitsLeft > 0) { - this.words[i] = ~this.words[i] & (0x3ffffff >> (26 - bitsLeft)); - } - - // And remove leading zeroes - return this.strip(); - }; - - BN.prototype.notn = function notn (width) { - return this.clone().inotn(width); - }; - - // Set `bit` of `this` - BN.prototype.setn = function setn (bit, val) { - assert(typeof bit === 'number' && bit >= 0); - - var off = (bit / 26) | 0; - var wbit = bit % 26; - - this._expand(off + 1); - - if (val) { - this.words[off] = this.words[off] | (1 << wbit); - } else { - this.words[off] = this.words[off] & ~(1 << wbit); - } - - return this.strip(); - }; - - // Add `num` to `this` in-place - BN.prototype.iadd = function iadd (num) { - var r; - - // negative + positive - if (this.negative !== 0 && num.negative === 0) { - this.negative = 0; - r = this.isub(num); - this.negative ^= 1; - return this._normSign(); - - // positive + negative - } else if (this.negative === 0 && num.negative !== 0) { - num.negative = 0; - r = this.isub(num); - num.negative = 1; - return r._normSign(); - } - - // a.length > b.length - var a, b; - if (this.length > num.length) { - a = this; - b = num; - } else { - a = num; - b = this; - } - - var carry = 0; - for (var i = 0; i < b.length; i++) { - r = (a.words[i] | 0) + (b.words[i] | 0) + carry; - this.words[i] = r & 0x3ffffff; - carry = r >>> 26; - } - for (; carry !== 0 && i < a.length; i++) { - r = (a.words[i] | 0) + carry; - this.words[i] = r & 0x3ffffff; - carry = r >>> 26; - } - - this.length = a.length; - if (carry !== 0) { - this.words[this.length] = carry; - this.length++; - // Copy the rest of the words - } else if (a !== this) { - for (; i < a.length; i++) { - this.words[i] = a.words[i]; - } - } - - return this; - }; - - // Add `num` to `this` - BN.prototype.add = function add (num) { - var res; - if (num.negative !== 0 && this.negative === 0) { - num.negative = 0; - res = this.sub(num); - num.negative ^= 1; - return res; - } else if (num.negative === 0 && this.negative !== 0) { - this.negative = 0; - res = num.sub(this); - this.negative = 1; - return res; - } - - if (this.length > num.length) return this.clone().iadd(num); - - return num.clone().iadd(this); - }; - - // Subtract `num` from `this` in-place - BN.prototype.isub = function isub (num) { - // this - (-num) = this + num - if (num.negative !== 0) { - num.negative = 0; - var r = this.iadd(num); - num.negative = 1; - return r._normSign(); - - // -this - num = -(this + num) - } else if (this.negative !== 0) { - this.negative = 0; - this.iadd(num); - this.negative = 1; - return this._normSign(); - } - - // At this point both numbers are positive - var cmp = this.cmp(num); - - // Optimization - zeroify - if (cmp === 0) { - this.negative = 0; - this.length = 1; - this.words[0] = 0; - return this; - } - - // a > b - var a, b; - if (cmp > 0) { - a = this; - b = num; - } else { - a = num; - b = this; - } - - var carry = 0; - for (var i = 0; i < b.length; i++) { - r = (a.words[i] | 0) - (b.words[i] | 0) + carry; - carry = r >> 26; - this.words[i] = r & 0x3ffffff; - } - for (; carry !== 0 && i < a.length; i++) { - r = (a.words[i] | 0) + carry; - carry = r >> 26; - this.words[i] = r & 0x3ffffff; - } - - // Copy rest of the words - if (carry === 0 && i < a.length && a !== this) { - for (; i < a.length; i++) { - this.words[i] = a.words[i]; - } - } - - this.length = Math.max(this.length, i); - - if (a !== this) { - this.negative = 1; - } - - return this.strip(); - }; - - // Subtract `num` from `this` - BN.prototype.sub = function sub (num) { - return this.clone().isub(num); - }; - - function smallMulTo (self, num, out) { - out.negative = num.negative ^ self.negative; - var len = (self.length + num.length) | 0; - out.length = len; - len = (len - 1) | 0; - - // Peel one iteration (compiler can't do it, because of code complexity) - var a = self.words[0] | 0; - var b = num.words[0] | 0; - var r = a * b; - - var lo = r & 0x3ffffff; - var carry = (r / 0x4000000) | 0; - out.words[0] = lo; - - for (var k = 1; k < len; k++) { - // Sum all words with the same `i + j = k` and accumulate `ncarry`, - // note that ncarry could be >= 0x3ffffff - var ncarry = carry >>> 26; - var rword = carry & 0x3ffffff; - var maxJ = Math.min(k, num.length - 1); - for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { - var i = (k - j) | 0; - a = self.words[i] | 0; - b = num.words[j] | 0; - r = a * b + rword; - ncarry += (r / 0x4000000) | 0; - rword = r & 0x3ffffff; - } - out.words[k] = rword | 0; - carry = ncarry | 0; - } - if (carry !== 0) { - out.words[k] = carry | 0; - } else { - out.length--; - } - - return out.strip(); - } - - // TODO(indutny): it may be reasonable to omit it for users who don't need - // to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit - // multiplication (like elliptic secp256k1). - var comb10MulTo = function comb10MulTo (self, num, out) { - var a = self.words; - var b = num.words; - var o = out.words; - var c = 0; - var lo; - var mid; - var hi; - var a0 = a[0] | 0; - var al0 = a0 & 0x1fff; - var ah0 = a0 >>> 13; - var a1 = a[1] | 0; - var al1 = a1 & 0x1fff; - var ah1 = a1 >>> 13; - var a2 = a[2] | 0; - var al2 = a2 & 0x1fff; - var ah2 = a2 >>> 13; - var a3 = a[3] | 0; - var al3 = a3 & 0x1fff; - var ah3 = a3 >>> 13; - var a4 = a[4] | 0; - var al4 = a4 & 0x1fff; - var ah4 = a4 >>> 13; - var a5 = a[5] | 0; - var al5 = a5 & 0x1fff; - var ah5 = a5 >>> 13; - var a6 = a[6] | 0; - var al6 = a6 & 0x1fff; - var ah6 = a6 >>> 13; - var a7 = a[7] | 0; - var al7 = a7 & 0x1fff; - var ah7 = a7 >>> 13; - var a8 = a[8] | 0; - var al8 = a8 & 0x1fff; - var ah8 = a8 >>> 13; - var a9 = a[9] | 0; - var al9 = a9 & 0x1fff; - var ah9 = a9 >>> 13; - var b0 = b[0] | 0; - var bl0 = b0 & 0x1fff; - var bh0 = b0 >>> 13; - var b1 = b[1] | 0; - var bl1 = b1 & 0x1fff; - var bh1 = b1 >>> 13; - var b2 = b[2] | 0; - var bl2 = b2 & 0x1fff; - var bh2 = b2 >>> 13; - var b3 = b[3] | 0; - var bl3 = b3 & 0x1fff; - var bh3 = b3 >>> 13; - var b4 = b[4] | 0; - var bl4 = b4 & 0x1fff; - var bh4 = b4 >>> 13; - var b5 = b[5] | 0; - var bl5 = b5 & 0x1fff; - var bh5 = b5 >>> 13; - var b6 = b[6] | 0; - var bl6 = b6 & 0x1fff; - var bh6 = b6 >>> 13; - var b7 = b[7] | 0; - var bl7 = b7 & 0x1fff; - var bh7 = b7 >>> 13; - var b8 = b[8] | 0; - var bl8 = b8 & 0x1fff; - var bh8 = b8 >>> 13; - var b9 = b[9] | 0; - var bl9 = b9 & 0x1fff; - var bh9 = b9 >>> 13; - - out.negative = self.negative ^ num.negative; - out.length = 19; - /* k = 0 */ - lo = Math.imul(al0, bl0); - mid = Math.imul(al0, bh0); - mid = (mid + Math.imul(ah0, bl0)) | 0; - hi = Math.imul(ah0, bh0); - var w0 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0; - w0 &= 0x3ffffff; - /* k = 1 */ - lo = Math.imul(al1, bl0); - mid = Math.imul(al1, bh0); - mid = (mid + Math.imul(ah1, bl0)) | 0; - hi = Math.imul(ah1, bh0); - lo = (lo + Math.imul(al0, bl1)) | 0; - mid = (mid + Math.imul(al0, bh1)) | 0; - mid = (mid + Math.imul(ah0, bl1)) | 0; - hi = (hi + Math.imul(ah0, bh1)) | 0; - var w1 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0; - w1 &= 0x3ffffff; - /* k = 2 */ - lo = Math.imul(al2, bl0); - mid = Math.imul(al2, bh0); - mid = (mid + Math.imul(ah2, bl0)) | 0; - hi = Math.imul(ah2, bh0); - lo = (lo + Math.imul(al1, bl1)) | 0; - mid = (mid + Math.imul(al1, bh1)) | 0; - mid = (mid + Math.imul(ah1, bl1)) | 0; - hi = (hi + Math.imul(ah1, bh1)) | 0; - lo = (lo + Math.imul(al0, bl2)) | 0; - mid = (mid + Math.imul(al0, bh2)) | 0; - mid = (mid + Math.imul(ah0, bl2)) | 0; - hi = (hi + Math.imul(ah0, bh2)) | 0; - var w2 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0; - w2 &= 0x3ffffff; - /* k = 3 */ - lo = Math.imul(al3, bl0); - mid = Math.imul(al3, bh0); - mid = (mid + Math.imul(ah3, bl0)) | 0; - hi = Math.imul(ah3, bh0); - lo = (lo + Math.imul(al2, bl1)) | 0; - mid = (mid + Math.imul(al2, bh1)) | 0; - mid = (mid + Math.imul(ah2, bl1)) | 0; - hi = (hi + Math.imul(ah2, bh1)) | 0; - lo = (lo + Math.imul(al1, bl2)) | 0; - mid = (mid + Math.imul(al1, bh2)) | 0; - mid = (mid + Math.imul(ah1, bl2)) | 0; - hi = (hi + Math.imul(ah1, bh2)) | 0; - lo = (lo + Math.imul(al0, bl3)) | 0; - mid = (mid + Math.imul(al0, bh3)) | 0; - mid = (mid + Math.imul(ah0, bl3)) | 0; - hi = (hi + Math.imul(ah0, bh3)) | 0; - var w3 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0; - w3 &= 0x3ffffff; - /* k = 4 */ - lo = Math.imul(al4, bl0); - mid = Math.imul(al4, bh0); - mid = (mid + Math.imul(ah4, bl0)) | 0; - hi = Math.imul(ah4, bh0); - lo = (lo + Math.imul(al3, bl1)) | 0; - mid = (mid + Math.imul(al3, bh1)) | 0; - mid = (mid + Math.imul(ah3, bl1)) | 0; - hi = (hi + Math.imul(ah3, bh1)) | 0; - lo = (lo + Math.imul(al2, bl2)) | 0; - mid = (mid + Math.imul(al2, bh2)) | 0; - mid = (mid + Math.imul(ah2, bl2)) | 0; - hi = (hi + Math.imul(ah2, bh2)) | 0; - lo = (lo + Math.imul(al1, bl3)) | 0; - mid = (mid + Math.imul(al1, bh3)) | 0; - mid = (mid + Math.imul(ah1, bl3)) | 0; - hi = (hi + Math.imul(ah1, bh3)) | 0; - lo = (lo + Math.imul(al0, bl4)) | 0; - mid = (mid + Math.imul(al0, bh4)) | 0; - mid = (mid + Math.imul(ah0, bl4)) | 0; - hi = (hi + Math.imul(ah0, bh4)) | 0; - var w4 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0; - w4 &= 0x3ffffff; - /* k = 5 */ - lo = Math.imul(al5, bl0); - mid = Math.imul(al5, bh0); - mid = (mid + Math.imul(ah5, bl0)) | 0; - hi = Math.imul(ah5, bh0); - lo = (lo + Math.imul(al4, bl1)) | 0; - mid = (mid + Math.imul(al4, bh1)) | 0; - mid = (mid + Math.imul(ah4, bl1)) | 0; - hi = (hi + Math.imul(ah4, bh1)) | 0; - lo = (lo + Math.imul(al3, bl2)) | 0; - mid = (mid + Math.imul(al3, bh2)) | 0; - mid = (mid + Math.imul(ah3, bl2)) | 0; - hi = (hi + Math.imul(ah3, bh2)) | 0; - lo = (lo + Math.imul(al2, bl3)) | 0; - mid = (mid + Math.imul(al2, bh3)) | 0; - mid = (mid + Math.imul(ah2, bl3)) | 0; - hi = (hi + Math.imul(ah2, bh3)) | 0; - lo = (lo + Math.imul(al1, bl4)) | 0; - mid = (mid + Math.imul(al1, bh4)) | 0; - mid = (mid + Math.imul(ah1, bl4)) | 0; - hi = (hi + Math.imul(ah1, bh4)) | 0; - lo = (lo + Math.imul(al0, bl5)) | 0; - mid = (mid + Math.imul(al0, bh5)) | 0; - mid = (mid + Math.imul(ah0, bl5)) | 0; - hi = (hi + Math.imul(ah0, bh5)) | 0; - var w5 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0; - w5 &= 0x3ffffff; - /* k = 6 */ - lo = Math.imul(al6, bl0); - mid = Math.imul(al6, bh0); - mid = (mid + Math.imul(ah6, bl0)) | 0; - hi = Math.imul(ah6, bh0); - lo = (lo + Math.imul(al5, bl1)) | 0; - mid = (mid + Math.imul(al5, bh1)) | 0; - mid = (mid + Math.imul(ah5, bl1)) | 0; - hi = (hi + Math.imul(ah5, bh1)) | 0; - lo = (lo + Math.imul(al4, bl2)) | 0; - mid = (mid + Math.imul(al4, bh2)) | 0; - mid = (mid + Math.imul(ah4, bl2)) | 0; - hi = (hi + Math.imul(ah4, bh2)) | 0; - lo = (lo + Math.imul(al3, bl3)) | 0; - mid = (mid + Math.imul(al3, bh3)) | 0; - mid = (mid + Math.imul(ah3, bl3)) | 0; - hi = (hi + Math.imul(ah3, bh3)) | 0; - lo = (lo + Math.imul(al2, bl4)) | 0; - mid = (mid + Math.imul(al2, bh4)) | 0; - mid = (mid + Math.imul(ah2, bl4)) | 0; - hi = (hi + Math.imul(ah2, bh4)) | 0; - lo = (lo + Math.imul(al1, bl5)) | 0; - mid = (mid + Math.imul(al1, bh5)) | 0; - mid = (mid + Math.imul(ah1, bl5)) | 0; - hi = (hi + Math.imul(ah1, bh5)) | 0; - lo = (lo + Math.imul(al0, bl6)) | 0; - mid = (mid + Math.imul(al0, bh6)) | 0; - mid = (mid + Math.imul(ah0, bl6)) | 0; - hi = (hi + Math.imul(ah0, bh6)) | 0; - var w6 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0; - w6 &= 0x3ffffff; - /* k = 7 */ - lo = Math.imul(al7, bl0); - mid = Math.imul(al7, bh0); - mid = (mid + Math.imul(ah7, bl0)) | 0; - hi = Math.imul(ah7, bh0); - lo = (lo + Math.imul(al6, bl1)) | 0; - mid = (mid + Math.imul(al6, bh1)) | 0; - mid = (mid + Math.imul(ah6, bl1)) | 0; - hi = (hi + Math.imul(ah6, bh1)) | 0; - lo = (lo + Math.imul(al5, bl2)) | 0; - mid = (mid + Math.imul(al5, bh2)) | 0; - mid = (mid + Math.imul(ah5, bl2)) | 0; - hi = (hi + Math.imul(ah5, bh2)) | 0; - lo = (lo + Math.imul(al4, bl3)) | 0; - mid = (mid + Math.imul(al4, bh3)) | 0; - mid = (mid + Math.imul(ah4, bl3)) | 0; - hi = (hi + Math.imul(ah4, bh3)) | 0; - lo = (lo + Math.imul(al3, bl4)) | 0; - mid = (mid + Math.imul(al3, bh4)) | 0; - mid = (mid + Math.imul(ah3, bl4)) | 0; - hi = (hi + Math.imul(ah3, bh4)) | 0; - lo = (lo + Math.imul(al2, bl5)) | 0; - mid = (mid + Math.imul(al2, bh5)) | 0; - mid = (mid + Math.imul(ah2, bl5)) | 0; - hi = (hi + Math.imul(ah2, bh5)) | 0; - lo = (lo + Math.imul(al1, bl6)) | 0; - mid = (mid + Math.imul(al1, bh6)) | 0; - mid = (mid + Math.imul(ah1, bl6)) | 0; - hi = (hi + Math.imul(ah1, bh6)) | 0; - lo = (lo + Math.imul(al0, bl7)) | 0; - mid = (mid + Math.imul(al0, bh7)) | 0; - mid = (mid + Math.imul(ah0, bl7)) | 0; - hi = (hi + Math.imul(ah0, bh7)) | 0; - var w7 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0; - w7 &= 0x3ffffff; - /* k = 8 */ - lo = Math.imul(al8, bl0); - mid = Math.imul(al8, bh0); - mid = (mid + Math.imul(ah8, bl0)) | 0; - hi = Math.imul(ah8, bh0); - lo = (lo + Math.imul(al7, bl1)) | 0; - mid = (mid + Math.imul(al7, bh1)) | 0; - mid = (mid + Math.imul(ah7, bl1)) | 0; - hi = (hi + Math.imul(ah7, bh1)) | 0; - lo = (lo + Math.imul(al6, bl2)) | 0; - mid = (mid + Math.imul(al6, bh2)) | 0; - mid = (mid + Math.imul(ah6, bl2)) | 0; - hi = (hi + Math.imul(ah6, bh2)) | 0; - lo = (lo + Math.imul(al5, bl3)) | 0; - mid = (mid + Math.imul(al5, bh3)) | 0; - mid = (mid + Math.imul(ah5, bl3)) | 0; - hi = (hi + Math.imul(ah5, bh3)) | 0; - lo = (lo + Math.imul(al4, bl4)) | 0; - mid = (mid + Math.imul(al4, bh4)) | 0; - mid = (mid + Math.imul(ah4, bl4)) | 0; - hi = (hi + Math.imul(ah4, bh4)) | 0; - lo = (lo + Math.imul(al3, bl5)) | 0; - mid = (mid + Math.imul(al3, bh5)) | 0; - mid = (mid + Math.imul(ah3, bl5)) | 0; - hi = (hi + Math.imul(ah3, bh5)) | 0; - lo = (lo + Math.imul(al2, bl6)) | 0; - mid = (mid + Math.imul(al2, bh6)) | 0; - mid = (mid + Math.imul(ah2, bl6)) | 0; - hi = (hi + Math.imul(ah2, bh6)) | 0; - lo = (lo + Math.imul(al1, bl7)) | 0; - mid = (mid + Math.imul(al1, bh7)) | 0; - mid = (mid + Math.imul(ah1, bl7)) | 0; - hi = (hi + Math.imul(ah1, bh7)) | 0; - lo = (lo + Math.imul(al0, bl8)) | 0; - mid = (mid + Math.imul(al0, bh8)) | 0; - mid = (mid + Math.imul(ah0, bl8)) | 0; - hi = (hi + Math.imul(ah0, bh8)) | 0; - var w8 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0; - w8 &= 0x3ffffff; - /* k = 9 */ - lo = Math.imul(al9, bl0); - mid = Math.imul(al9, bh0); - mid = (mid + Math.imul(ah9, bl0)) | 0; - hi = Math.imul(ah9, bh0); - lo = (lo + Math.imul(al8, bl1)) | 0; - mid = (mid + Math.imul(al8, bh1)) | 0; - mid = (mid + Math.imul(ah8, bl1)) | 0; - hi = (hi + Math.imul(ah8, bh1)) | 0; - lo = (lo + Math.imul(al7, bl2)) | 0; - mid = (mid + Math.imul(al7, bh2)) | 0; - mid = (mid + Math.imul(ah7, bl2)) | 0; - hi = (hi + Math.imul(ah7, bh2)) | 0; - lo = (lo + Math.imul(al6, bl3)) | 0; - mid = (mid + Math.imul(al6, bh3)) | 0; - mid = (mid + Math.imul(ah6, bl3)) | 0; - hi = (hi + Math.imul(ah6, bh3)) | 0; - lo = (lo + Math.imul(al5, bl4)) | 0; - mid = (mid + Math.imul(al5, bh4)) | 0; - mid = (mid + Math.imul(ah5, bl4)) | 0; - hi = (hi + Math.imul(ah5, bh4)) | 0; - lo = (lo + Math.imul(al4, bl5)) | 0; - mid = (mid + Math.imul(al4, bh5)) | 0; - mid = (mid + Math.imul(ah4, bl5)) | 0; - hi = (hi + Math.imul(ah4, bh5)) | 0; - lo = (lo + Math.imul(al3, bl6)) | 0; - mid = (mid + Math.imul(al3, bh6)) | 0; - mid = (mid + Math.imul(ah3, bl6)) | 0; - hi = (hi + Math.imul(ah3, bh6)) | 0; - lo = (lo + Math.imul(al2, bl7)) | 0; - mid = (mid + Math.imul(al2, bh7)) | 0; - mid = (mid + Math.imul(ah2, bl7)) | 0; - hi = (hi + Math.imul(ah2, bh7)) | 0; - lo = (lo + Math.imul(al1, bl8)) | 0; - mid = (mid + Math.imul(al1, bh8)) | 0; - mid = (mid + Math.imul(ah1, bl8)) | 0; - hi = (hi + Math.imul(ah1, bh8)) | 0; - lo = (lo + Math.imul(al0, bl9)) | 0; - mid = (mid + Math.imul(al0, bh9)) | 0; - mid = (mid + Math.imul(ah0, bl9)) | 0; - hi = (hi + Math.imul(ah0, bh9)) | 0; - var w9 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0; - w9 &= 0x3ffffff; - /* k = 10 */ - lo = Math.imul(al9, bl1); - mid = Math.imul(al9, bh1); - mid = (mid + Math.imul(ah9, bl1)) | 0; - hi = Math.imul(ah9, bh1); - lo = (lo + Math.imul(al8, bl2)) | 0; - mid = (mid + Math.imul(al8, bh2)) | 0; - mid = (mid + Math.imul(ah8, bl2)) | 0; - hi = (hi + Math.imul(ah8, bh2)) | 0; - lo = (lo + Math.imul(al7, bl3)) | 0; - mid = (mid + Math.imul(al7, bh3)) | 0; - mid = (mid + Math.imul(ah7, bl3)) | 0; - hi = (hi + Math.imul(ah7, bh3)) | 0; - lo = (lo + Math.imul(al6, bl4)) | 0; - mid = (mid + Math.imul(al6, bh4)) | 0; - mid = (mid + Math.imul(ah6, bl4)) | 0; - hi = (hi + Math.imul(ah6, bh4)) | 0; - lo = (lo + Math.imul(al5, bl5)) | 0; - mid = (mid + Math.imul(al5, bh5)) | 0; - mid = (mid + Math.imul(ah5, bl5)) | 0; - hi = (hi + Math.imul(ah5, bh5)) | 0; - lo = (lo + Math.imul(al4, bl6)) | 0; - mid = (mid + Math.imul(al4, bh6)) | 0; - mid = (mid + Math.imul(ah4, bl6)) | 0; - hi = (hi + Math.imul(ah4, bh6)) | 0; - lo = (lo + Math.imul(al3, bl7)) | 0; - mid = (mid + Math.imul(al3, bh7)) | 0; - mid = (mid + Math.imul(ah3, bl7)) | 0; - hi = (hi + Math.imul(ah3, bh7)) | 0; - lo = (lo + Math.imul(al2, bl8)) | 0; - mid = (mid + Math.imul(al2, bh8)) | 0; - mid = (mid + Math.imul(ah2, bl8)) | 0; - hi = (hi + Math.imul(ah2, bh8)) | 0; - lo = (lo + Math.imul(al1, bl9)) | 0; - mid = (mid + Math.imul(al1, bh9)) | 0; - mid = (mid + Math.imul(ah1, bl9)) | 0; - hi = (hi + Math.imul(ah1, bh9)) | 0; - var w10 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0; - w10 &= 0x3ffffff; - /* k = 11 */ - lo = Math.imul(al9, bl2); - mid = Math.imul(al9, bh2); - mid = (mid + Math.imul(ah9, bl2)) | 0; - hi = Math.imul(ah9, bh2); - lo = (lo + Math.imul(al8, bl3)) | 0; - mid = (mid + Math.imul(al8, bh3)) | 0; - mid = (mid + Math.imul(ah8, bl3)) | 0; - hi = (hi + Math.imul(ah8, bh3)) | 0; - lo = (lo + Math.imul(al7, bl4)) | 0; - mid = (mid + Math.imul(al7, bh4)) | 0; - mid = (mid + Math.imul(ah7, bl4)) | 0; - hi = (hi + Math.imul(ah7, bh4)) | 0; - lo = (lo + Math.imul(al6, bl5)) | 0; - mid = (mid + Math.imul(al6, bh5)) | 0; - mid = (mid + Math.imul(ah6, bl5)) | 0; - hi = (hi + Math.imul(ah6, bh5)) | 0; - lo = (lo + Math.imul(al5, bl6)) | 0; - mid = (mid + Math.imul(al5, bh6)) | 0; - mid = (mid + Math.imul(ah5, bl6)) | 0; - hi = (hi + Math.imul(ah5, bh6)) | 0; - lo = (lo + Math.imul(al4, bl7)) | 0; - mid = (mid + Math.imul(al4, bh7)) | 0; - mid = (mid + Math.imul(ah4, bl7)) | 0; - hi = (hi + Math.imul(ah4, bh7)) | 0; - lo = (lo + Math.imul(al3, bl8)) | 0; - mid = (mid + Math.imul(al3, bh8)) | 0; - mid = (mid + Math.imul(ah3, bl8)) | 0; - hi = (hi + Math.imul(ah3, bh8)) | 0; - lo = (lo + Math.imul(al2, bl9)) | 0; - mid = (mid + Math.imul(al2, bh9)) | 0; - mid = (mid + Math.imul(ah2, bl9)) | 0; - hi = (hi + Math.imul(ah2, bh9)) | 0; - var w11 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0; - w11 &= 0x3ffffff; - /* k = 12 */ - lo = Math.imul(al9, bl3); - mid = Math.imul(al9, bh3); - mid = (mid + Math.imul(ah9, bl3)) | 0; - hi = Math.imul(ah9, bh3); - lo = (lo + Math.imul(al8, bl4)) | 0; - mid = (mid + Math.imul(al8, bh4)) | 0; - mid = (mid + Math.imul(ah8, bl4)) | 0; - hi = (hi + Math.imul(ah8, bh4)) | 0; - lo = (lo + Math.imul(al7, bl5)) | 0; - mid = (mid + Math.imul(al7, bh5)) | 0; - mid = (mid + Math.imul(ah7, bl5)) | 0; - hi = (hi + Math.imul(ah7, bh5)) | 0; - lo = (lo + Math.imul(al6, bl6)) | 0; - mid = (mid + Math.imul(al6, bh6)) | 0; - mid = (mid + Math.imul(ah6, bl6)) | 0; - hi = (hi + Math.imul(ah6, bh6)) | 0; - lo = (lo + Math.imul(al5, bl7)) | 0; - mid = (mid + Math.imul(al5, bh7)) | 0; - mid = (mid + Math.imul(ah5, bl7)) | 0; - hi = (hi + Math.imul(ah5, bh7)) | 0; - lo = (lo + Math.imul(al4, bl8)) | 0; - mid = (mid + Math.imul(al4, bh8)) | 0; - mid = (mid + Math.imul(ah4, bl8)) | 0; - hi = (hi + Math.imul(ah4, bh8)) | 0; - lo = (lo + Math.imul(al3, bl9)) | 0; - mid = (mid + Math.imul(al3, bh9)) | 0; - mid = (mid + Math.imul(ah3, bl9)) | 0; - hi = (hi + Math.imul(ah3, bh9)) | 0; - var w12 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0; - w12 &= 0x3ffffff; - /* k = 13 */ - lo = Math.imul(al9, bl4); - mid = Math.imul(al9, bh4); - mid = (mid + Math.imul(ah9, bl4)) | 0; - hi = Math.imul(ah9, bh4); - lo = (lo + Math.imul(al8, bl5)) | 0; - mid = (mid + Math.imul(al8, bh5)) | 0; - mid = (mid + Math.imul(ah8, bl5)) | 0; - hi = (hi + Math.imul(ah8, bh5)) | 0; - lo = (lo + Math.imul(al7, bl6)) | 0; - mid = (mid + Math.imul(al7, bh6)) | 0; - mid = (mid + Math.imul(ah7, bl6)) | 0; - hi = (hi + Math.imul(ah7, bh6)) | 0; - lo = (lo + Math.imul(al6, bl7)) | 0; - mid = (mid + Math.imul(al6, bh7)) | 0; - mid = (mid + Math.imul(ah6, bl7)) | 0; - hi = (hi + Math.imul(ah6, bh7)) | 0; - lo = (lo + Math.imul(al5, bl8)) | 0; - mid = (mid + Math.imul(al5, bh8)) | 0; - mid = (mid + Math.imul(ah5, bl8)) | 0; - hi = (hi + Math.imul(ah5, bh8)) | 0; - lo = (lo + Math.imul(al4, bl9)) | 0; - mid = (mid + Math.imul(al4, bh9)) | 0; - mid = (mid + Math.imul(ah4, bl9)) | 0; - hi = (hi + Math.imul(ah4, bh9)) | 0; - var w13 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0; - w13 &= 0x3ffffff; - /* k = 14 */ - lo = Math.imul(al9, bl5); - mid = Math.imul(al9, bh5); - mid = (mid + Math.imul(ah9, bl5)) | 0; - hi = Math.imul(ah9, bh5); - lo = (lo + Math.imul(al8, bl6)) | 0; - mid = (mid + Math.imul(al8, bh6)) | 0; - mid = (mid + Math.imul(ah8, bl6)) | 0; - hi = (hi + Math.imul(ah8, bh6)) | 0; - lo = (lo + Math.imul(al7, bl7)) | 0; - mid = (mid + Math.imul(al7, bh7)) | 0; - mid = (mid + Math.imul(ah7, bl7)) | 0; - hi = (hi + Math.imul(ah7, bh7)) | 0; - lo = (lo + Math.imul(al6, bl8)) | 0; - mid = (mid + Math.imul(al6, bh8)) | 0; - mid = (mid + Math.imul(ah6, bl8)) | 0; - hi = (hi + Math.imul(ah6, bh8)) | 0; - lo = (lo + Math.imul(al5, bl9)) | 0; - mid = (mid + Math.imul(al5, bh9)) | 0; - mid = (mid + Math.imul(ah5, bl9)) | 0; - hi = (hi + Math.imul(ah5, bh9)) | 0; - var w14 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0; - w14 &= 0x3ffffff; - /* k = 15 */ - lo = Math.imul(al9, bl6); - mid = Math.imul(al9, bh6); - mid = (mid + Math.imul(ah9, bl6)) | 0; - hi = Math.imul(ah9, bh6); - lo = (lo + Math.imul(al8, bl7)) | 0; - mid = (mid + Math.imul(al8, bh7)) | 0; - mid = (mid + Math.imul(ah8, bl7)) | 0; - hi = (hi + Math.imul(ah8, bh7)) | 0; - lo = (lo + Math.imul(al7, bl8)) | 0; - mid = (mid + Math.imul(al7, bh8)) | 0; - mid = (mid + Math.imul(ah7, bl8)) | 0; - hi = (hi + Math.imul(ah7, bh8)) | 0; - lo = (lo + Math.imul(al6, bl9)) | 0; - mid = (mid + Math.imul(al6, bh9)) | 0; - mid = (mid + Math.imul(ah6, bl9)) | 0; - hi = (hi + Math.imul(ah6, bh9)) | 0; - var w15 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0; - w15 &= 0x3ffffff; - /* k = 16 */ - lo = Math.imul(al9, bl7); - mid = Math.imul(al9, bh7); - mid = (mid + Math.imul(ah9, bl7)) | 0; - hi = Math.imul(ah9, bh7); - lo = (lo + Math.imul(al8, bl8)) | 0; - mid = (mid + Math.imul(al8, bh8)) | 0; - mid = (mid + Math.imul(ah8, bl8)) | 0; - hi = (hi + Math.imul(ah8, bh8)) | 0; - lo = (lo + Math.imul(al7, bl9)) | 0; - mid = (mid + Math.imul(al7, bh9)) | 0; - mid = (mid + Math.imul(ah7, bl9)) | 0; - hi = (hi + Math.imul(ah7, bh9)) | 0; - var w16 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0; - w16 &= 0x3ffffff; - /* k = 17 */ - lo = Math.imul(al9, bl8); - mid = Math.imul(al9, bh8); - mid = (mid + Math.imul(ah9, bl8)) | 0; - hi = Math.imul(ah9, bh8); - lo = (lo + Math.imul(al8, bl9)) | 0; - mid = (mid + Math.imul(al8, bh9)) | 0; - mid = (mid + Math.imul(ah8, bl9)) | 0; - hi = (hi + Math.imul(ah8, bh9)) | 0; - var w17 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0; - w17 &= 0x3ffffff; - /* k = 18 */ - lo = Math.imul(al9, bl9); - mid = Math.imul(al9, bh9); - mid = (mid + Math.imul(ah9, bl9)) | 0; - hi = Math.imul(ah9, bh9); - var w18 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0; - w18 &= 0x3ffffff; - o[0] = w0; - o[1] = w1; - o[2] = w2; - o[3] = w3; - o[4] = w4; - o[5] = w5; - o[6] = w6; - o[7] = w7; - o[8] = w8; - o[9] = w9; - o[10] = w10; - o[11] = w11; - o[12] = w12; - o[13] = w13; - o[14] = w14; - o[15] = w15; - o[16] = w16; - o[17] = w17; - o[18] = w18; - if (c !== 0) { - o[19] = c; - out.length++; - } - return out; - }; - - // Polyfill comb - if (!Math.imul) { - comb10MulTo = smallMulTo; - } - - function bigMulTo (self, num, out) { - out.negative = num.negative ^ self.negative; - out.length = self.length + num.length; - - var carry = 0; - var hncarry = 0; - for (var k = 0; k < out.length - 1; k++) { - // Sum all words with the same `i + j = k` and accumulate `ncarry`, - // note that ncarry could be >= 0x3ffffff - var ncarry = hncarry; - hncarry = 0; - var rword = carry & 0x3ffffff; - var maxJ = Math.min(k, num.length - 1); - for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { - var i = k - j; - var a = self.words[i] | 0; - var b = num.words[j] | 0; - var r = a * b; - - var lo = r & 0x3ffffff; - ncarry = (ncarry + ((r / 0x4000000) | 0)) | 0; - lo = (lo + rword) | 0; - rword = lo & 0x3ffffff; - ncarry = (ncarry + (lo >>> 26)) | 0; - - hncarry += ncarry >>> 26; - ncarry &= 0x3ffffff; - } - out.words[k] = rword; - carry = ncarry; - ncarry = hncarry; - } - if (carry !== 0) { - out.words[k] = carry; - } else { - out.length--; - } - - return out.strip(); - } - - function jumboMulTo (self, num, out) { - var fftm = new FFTM(); - return fftm.mulp(self, num, out); - } - - BN.prototype.mulTo = function mulTo (num, out) { - var res; - var len = this.length + num.length; - if (this.length === 10 && num.length === 10) { - res = comb10MulTo(this, num, out); - } else if (len < 63) { - res = smallMulTo(this, num, out); - } else if (len < 1024) { - res = bigMulTo(this, num, out); - } else { - res = jumboMulTo(this, num, out); - } - - return res; - }; - - // Cooley-Tukey algorithm for FFT - // slightly revisited to rely on looping instead of recursion - - function FFTM (x, y) { - this.x = x; - this.y = y; - } - - FFTM.prototype.makeRBT = function makeRBT (N) { - var t = new Array(N); - var l = BN.prototype._countBits(N) - 1; - for (var i = 0; i < N; i++) { - t[i] = this.revBin(i, l, N); - } - - return t; - }; - - // Returns binary-reversed representation of `x` - FFTM.prototype.revBin = function revBin (x, l, N) { - if (x === 0 || x === N - 1) return x; - - var rb = 0; - for (var i = 0; i < l; i++) { - rb |= (x & 1) << (l - i - 1); - x >>= 1; - } - - return rb; - }; - - // Performs "tweedling" phase, therefore 'emulating' - // behaviour of the recursive algorithm - FFTM.prototype.permute = function permute (rbt, rws, iws, rtws, itws, N) { - for (var i = 0; i < N; i++) { - rtws[i] = rws[rbt[i]]; - itws[i] = iws[rbt[i]]; - } - }; - - FFTM.prototype.transform = function transform (rws, iws, rtws, itws, N, rbt) { - this.permute(rbt, rws, iws, rtws, itws, N); - - for (var s = 1; s < N; s <<= 1) { - var l = s << 1; - - var rtwdf = Math.cos(2 * Math.PI / l); - var itwdf = Math.sin(2 * Math.PI / l); - - for (var p = 0; p < N; p += l) { - var rtwdf_ = rtwdf; - var itwdf_ = itwdf; - - for (var j = 0; j < s; j++) { - var re = rtws[p + j]; - var ie = itws[p + j]; - - var ro = rtws[p + j + s]; - var io = itws[p + j + s]; - - var rx = rtwdf_ * ro - itwdf_ * io; - - io = rtwdf_ * io + itwdf_ * ro; - ro = rx; - - rtws[p + j] = re + ro; - itws[p + j] = ie + io; - - rtws[p + j + s] = re - ro; - itws[p + j + s] = ie - io; - - /* jshint maxdepth : false */ - if (j !== l) { - rx = rtwdf * rtwdf_ - itwdf * itwdf_; - - itwdf_ = rtwdf * itwdf_ + itwdf * rtwdf_; - rtwdf_ = rx; - } - } - } - } - }; - - FFTM.prototype.guessLen13b = function guessLen13b (n, m) { - var N = Math.max(m, n) | 1; - var odd = N & 1; - var i = 0; - for (N = N / 2 | 0; N; N = N >>> 1) { - i++; - } - - return 1 << i + 1 + odd; - }; - - FFTM.prototype.conjugate = function conjugate (rws, iws, N) { - if (N <= 1) return; - - for (var i = 0; i < N / 2; i++) { - var t = rws[i]; - - rws[i] = rws[N - i - 1]; - rws[N - i - 1] = t; - - t = iws[i]; - - iws[i] = -iws[N - i - 1]; - iws[N - i - 1] = -t; - } - }; - - FFTM.prototype.normalize13b = function normalize13b (ws, N) { - var carry = 0; - for (var i = 0; i < N / 2; i++) { - var w = Math.round(ws[2 * i + 1] / N) * 0x2000 + - Math.round(ws[2 * i] / N) + - carry; - - ws[i] = w & 0x3ffffff; - - if (w < 0x4000000) { - carry = 0; - } else { - carry = w / 0x4000000 | 0; - } - } - - return ws; - }; - - FFTM.prototype.convert13b = function convert13b (ws, len, rws, N) { - var carry = 0; - for (var i = 0; i < len; i++) { - carry = carry + (ws[i] | 0); - - rws[2 * i] = carry & 0x1fff; carry = carry >>> 13; - rws[2 * i + 1] = carry & 0x1fff; carry = carry >>> 13; - } - - // Pad with zeroes - for (i = 2 * len; i < N; ++i) { - rws[i] = 0; - } - - assert(carry === 0); - assert((carry & ~0x1fff) === 0); - }; - - FFTM.prototype.stub = function stub (N) { - var ph = new Array(N); - for (var i = 0; i < N; i++) { - ph[i] = 0; - } - - return ph; - }; - - FFTM.prototype.mulp = function mulp (x, y, out) { - var N = 2 * this.guessLen13b(x.length, y.length); - - var rbt = this.makeRBT(N); - - var _ = this.stub(N); - - var rws = new Array(N); - var rwst = new Array(N); - var iwst = new Array(N); - - var nrws = new Array(N); - var nrwst = new Array(N); - var niwst = new Array(N); - - var rmws = out.words; - rmws.length = N; - - this.convert13b(x.words, x.length, rws, N); - this.convert13b(y.words, y.length, nrws, N); - - this.transform(rws, _, rwst, iwst, N, rbt); - this.transform(nrws, _, nrwst, niwst, N, rbt); - - for (var i = 0; i < N; i++) { - var rx = rwst[i] * nrwst[i] - iwst[i] * niwst[i]; - iwst[i] = rwst[i] * niwst[i] + iwst[i] * nrwst[i]; - rwst[i] = rx; - } - - this.conjugate(rwst, iwst, N); - this.transform(rwst, iwst, rmws, _, N, rbt); - this.conjugate(rmws, _, N); - this.normalize13b(rmws, N); - - out.negative = x.negative ^ y.negative; - out.length = x.length + y.length; - return out.strip(); - }; - - // Multiply `this` by `num` - BN.prototype.mul = function mul (num) { - var out = new BN(null); - out.words = new Array(this.length + num.length); - return this.mulTo(num, out); - }; - - // Multiply employing FFT - BN.prototype.mulf = function mulf (num) { - var out = new BN(null); - out.words = new Array(this.length + num.length); - return jumboMulTo(this, num, out); - }; - - // In-place Multiplication - BN.prototype.imul = function imul (num) { - return this.clone().mulTo(num, this); - }; - - BN.prototype.imuln = function imuln (num) { - assert(typeof num === 'number'); - assert(num < 0x4000000); - - // Carry - var carry = 0; - for (var i = 0; i < this.length; i++) { - var w = (this.words[i] | 0) * num; - var lo = (w & 0x3ffffff) + (carry & 0x3ffffff); - carry >>= 26; - carry += (w / 0x4000000) | 0; - // NOTE: lo is 27bit maximum - carry += lo >>> 26; - this.words[i] = lo & 0x3ffffff; - } - - if (carry !== 0) { - this.words[i] = carry; - this.length++; - } - - return this; - }; - - BN.prototype.muln = function muln (num) { - return this.clone().imuln(num); - }; - - // `this` * `this` - BN.prototype.sqr = function sqr () { - return this.mul(this); - }; - - // `this` * `this` in-place - BN.prototype.isqr = function isqr () { - return this.imul(this.clone()); - }; - - // Math.pow(`this`, `num`) - BN.prototype.pow = function pow (num) { - var w = toBitArray(num); - if (w.length === 0) return new BN(1); - - // Skip leading zeroes - var res = this; - for (var i = 0; i < w.length; i++, res = res.sqr()) { - if (w[i] !== 0) break; - } - - if (++i < w.length) { - for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) { - if (w[i] === 0) continue; - - res = res.mul(q); - } - } - - return res; - }; - - // Shift-left in-place - BN.prototype.iushln = function iushln (bits) { - assert(typeof bits === 'number' && bits >= 0); - var r = bits % 26; - var s = (bits - r) / 26; - var carryMask = (0x3ffffff >>> (26 - r)) << (26 - r); - var i; - - if (r !== 0) { - var carry = 0; - - for (i = 0; i < this.length; i++) { - var newCarry = this.words[i] & carryMask; - var c = ((this.words[i] | 0) - newCarry) << r; - this.words[i] = c | carry; - carry = newCarry >>> (26 - r); - } - - if (carry) { - this.words[i] = carry; - this.length++; - } - } - - if (s !== 0) { - for (i = this.length - 1; i >= 0; i--) { - this.words[i + s] = this.words[i]; - } - - for (i = 0; i < s; i++) { - this.words[i] = 0; - } - - this.length += s; - } - - return this.strip(); - }; - - BN.prototype.ishln = function ishln (bits) { - // TODO(indutny): implement me - assert(this.negative === 0); - return this.iushln(bits); - }; - - // Shift-right in-place - // NOTE: `hint` is a lowest bit before trailing zeroes - // NOTE: if `extended` is present - it will be filled with destroyed bits - BN.prototype.iushrn = function iushrn (bits, hint, extended) { - assert(typeof bits === 'number' && bits >= 0); - var h; - if (hint) { - h = (hint - (hint % 26)) / 26; - } else { - h = 0; - } - - var r = bits % 26; - var s = Math.min((bits - r) / 26, this.length); - var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); - var maskedWords = extended; - - h -= s; - h = Math.max(0, h); - - // Extended mode, copy masked part - if (maskedWords) { - for (var i = 0; i < s; i++) { - maskedWords.words[i] = this.words[i]; - } - maskedWords.length = s; - } - - if (s === 0) ; else if (this.length > s) { - this.length -= s; - for (i = 0; i < this.length; i++) { - this.words[i] = this.words[i + s]; - } - } else { - this.words[0] = 0; - this.length = 1; - } - - var carry = 0; - for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) { - var word = this.words[i] | 0; - this.words[i] = (carry << (26 - r)) | (word >>> r); - carry = word & mask; - } - - // Push carried bits as a mask - if (maskedWords && carry !== 0) { - maskedWords.words[maskedWords.length++] = carry; - } - - if (this.length === 0) { - this.words[0] = 0; - this.length = 1; - } - - return this.strip(); - }; - - BN.prototype.ishrn = function ishrn (bits, hint, extended) { - // TODO(indutny): implement me - assert(this.negative === 0); - return this.iushrn(bits, hint, extended); - }; - - // Shift-left - BN.prototype.shln = function shln (bits) { - return this.clone().ishln(bits); - }; - - BN.prototype.ushln = function ushln (bits) { - return this.clone().iushln(bits); - }; - - // Shift-right - BN.prototype.shrn = function shrn (bits) { - return this.clone().ishrn(bits); - }; - - BN.prototype.ushrn = function ushrn (bits) { - return this.clone().iushrn(bits); - }; - - // Test if n bit is set - BN.prototype.testn = function testn (bit) { - assert(typeof bit === 'number' && bit >= 0); - var r = bit % 26; - var s = (bit - r) / 26; - var q = 1 << r; - - // Fast case: bit is much higher than all existing words - if (this.length <= s) return false; - - // Check bit and return - var w = this.words[s]; - - return !!(w & q); - }; - - // Return only lowers bits of number (in-place) - BN.prototype.imaskn = function imaskn (bits) { - assert(typeof bits === 'number' && bits >= 0); - var r = bits % 26; - var s = (bits - r) / 26; - - assert(this.negative === 0, 'imaskn works only with positive numbers'); - - if (this.length <= s) { - return this; - } - - if (r !== 0) { - s++; - } - this.length = Math.min(s, this.length); - - if (r !== 0) { - var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); - this.words[this.length - 1] &= mask; - } - - return this.strip(); - }; - - // Return only lowers bits of number - BN.prototype.maskn = function maskn (bits) { - return this.clone().imaskn(bits); - }; - - // Add plain number `num` to `this` - BN.prototype.iaddn = function iaddn (num) { - assert(typeof num === 'number'); - assert(num < 0x4000000); - if (num < 0) return this.isubn(-num); - - // Possible sign change - if (this.negative !== 0) { - if (this.length === 1 && (this.words[0] | 0) < num) { - this.words[0] = num - (this.words[0] | 0); - this.negative = 0; - return this; - } - - this.negative = 0; - this.isubn(num); - this.negative = 1; - return this; - } - - // Add without checks - return this._iaddn(num); - }; - - BN.prototype._iaddn = function _iaddn (num) { - this.words[0] += num; - - // Carry - for (var i = 0; i < this.length && this.words[i] >= 0x4000000; i++) { - this.words[i] -= 0x4000000; - if (i === this.length - 1) { - this.words[i + 1] = 1; - } else { - this.words[i + 1]++; - } - } - this.length = Math.max(this.length, i + 1); - - return this; - }; - - // Subtract plain number `num` from `this` - BN.prototype.isubn = function isubn (num) { - assert(typeof num === 'number'); - assert(num < 0x4000000); - if (num < 0) return this.iaddn(-num); - - if (this.negative !== 0) { - this.negative = 0; - this.iaddn(num); - this.negative = 1; - return this; - } - - this.words[0] -= num; - - if (this.length === 1 && this.words[0] < 0) { - this.words[0] = -this.words[0]; - this.negative = 1; - } else { - // Carry - for (var i = 0; i < this.length && this.words[i] < 0; i++) { - this.words[i] += 0x4000000; - this.words[i + 1] -= 1; - } - } - - return this.strip(); - }; - - BN.prototype.addn = function addn (num) { - return this.clone().iaddn(num); - }; - - BN.prototype.subn = function subn (num) { - return this.clone().isubn(num); - }; - - BN.prototype.iabs = function iabs () { - this.negative = 0; - - return this; - }; - - BN.prototype.abs = function abs () { - return this.clone().iabs(); - }; - - BN.prototype._ishlnsubmul = function _ishlnsubmul (num, mul, shift) { - var len = num.length + shift; - var i; - - this._expand(len); - - var w; - var carry = 0; - for (i = 0; i < num.length; i++) { - w = (this.words[i + shift] | 0) + carry; - var right = (num.words[i] | 0) * mul; - w -= right & 0x3ffffff; - carry = (w >> 26) - ((right / 0x4000000) | 0); - this.words[i + shift] = w & 0x3ffffff; - } - for (; i < this.length - shift; i++) { - w = (this.words[i + shift] | 0) + carry; - carry = w >> 26; - this.words[i + shift] = w & 0x3ffffff; - } - - if (carry === 0) return this.strip(); - - // Subtraction overflow - assert(carry === -1); - carry = 0; - for (i = 0; i < this.length; i++) { - w = -(this.words[i] | 0) + carry; - carry = w >> 26; - this.words[i] = w & 0x3ffffff; - } - this.negative = 1; - - return this.strip(); - }; - - BN.prototype._wordDiv = function _wordDiv (num, mode) { - var shift = this.length - num.length; - - var a = this.clone(); - var b = num; - - // Normalize - var bhi = b.words[b.length - 1] | 0; - var bhiBits = this._countBits(bhi); - shift = 26 - bhiBits; - if (shift !== 0) { - b = b.ushln(shift); - a.iushln(shift); - bhi = b.words[b.length - 1] | 0; - } - - // Initialize quotient - var m = a.length - b.length; - var q; - - if (mode !== 'mod') { - q = new BN(null); - q.length = m + 1; - q.words = new Array(q.length); - for (var i = 0; i < q.length; i++) { - q.words[i] = 0; - } - } - - var diff = a.clone()._ishlnsubmul(b, 1, m); - if (diff.negative === 0) { - a = diff; - if (q) { - q.words[m] = 1; - } - } - - for (var j = m - 1; j >= 0; j--) { - var qj = (a.words[b.length + j] | 0) * 0x4000000 + - (a.words[b.length + j - 1] | 0); - - // NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max - // (0x7ffffff) - qj = Math.min((qj / bhi) | 0, 0x3ffffff); - - a._ishlnsubmul(b, qj, j); - while (a.negative !== 0) { - qj--; - a.negative = 0; - a._ishlnsubmul(b, 1, j); - if (!a.isZero()) { - a.negative ^= 1; - } - } - if (q) { - q.words[j] = qj; - } - } - if (q) { - q.strip(); - } - a.strip(); - - // Denormalize - if (mode !== 'div' && shift !== 0) { - a.iushrn(shift); - } - - return { - div: q || null, - mod: a - }; - }; - - // NOTE: 1) `mode` can be set to `mod` to request mod only, - // to `div` to request div only, or be absent to - // request both div & mod - // 2) `positive` is true if unsigned mod is requested - BN.prototype.divmod = function divmod (num, mode, positive) { - assert(!num.isZero()); - - if (this.isZero()) { - return { - div: new BN(0), - mod: new BN(0) - }; - } - - var div, mod, res; - if (this.negative !== 0 && num.negative === 0) { - res = this.neg().divmod(num, mode); - - if (mode !== 'mod') { - div = res.div.neg(); - } - - if (mode !== 'div') { - mod = res.mod.neg(); - if (positive && mod.negative !== 0) { - mod.iadd(num); - } - } - - return { - div: div, - mod: mod - }; - } - - if (this.negative === 0 && num.negative !== 0) { - res = this.divmod(num.neg(), mode); - - if (mode !== 'mod') { - div = res.div.neg(); - } - - return { - div: div, - mod: res.mod - }; - } - - if ((this.negative & num.negative) !== 0) { - res = this.neg().divmod(num.neg(), mode); - - if (mode !== 'div') { - mod = res.mod.neg(); - if (positive && mod.negative !== 0) { - mod.isub(num); - } - } - - return { - div: res.div, - mod: mod - }; - } - - // Both numbers are positive at this point - - // Strip both numbers to approximate shift value - if (num.length > this.length || this.cmp(num) < 0) { - return { - div: new BN(0), - mod: this - }; - } - - // Very short reduction - if (num.length === 1) { - if (mode === 'div') { - return { - div: this.divn(num.words[0]), - mod: null - }; - } - - if (mode === 'mod') { - return { - div: null, - mod: new BN(this.modn(num.words[0])) - }; - } - - return { - div: this.divn(num.words[0]), - mod: new BN(this.modn(num.words[0])) - }; - } - - return this._wordDiv(num, mode); - }; - - // Find `this` / `num` - BN.prototype.div = function div (num) { - return this.divmod(num, 'div', false).div; - }; - - // Find `this` % `num` - BN.prototype.mod = function mod (num) { - return this.divmod(num, 'mod', false).mod; - }; - - BN.prototype.umod = function umod (num) { - return this.divmod(num, 'mod', true).mod; - }; - - // Find Round(`this` / `num`) - BN.prototype.divRound = function divRound (num) { - var dm = this.divmod(num); - - // Fast case - exact division - if (dm.mod.isZero()) return dm.div; - - var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod; - - var half = num.ushrn(1); - var r2 = num.andln(1); - var cmp = mod.cmp(half); - - // Round down - if (cmp < 0 || r2 === 1 && cmp === 0) return dm.div; - - // Round up - return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1); - }; - - BN.prototype.modn = function modn (num) { - assert(num <= 0x3ffffff); - var p = (1 << 26) % num; - - var acc = 0; - for (var i = this.length - 1; i >= 0; i--) { - acc = (p * acc + (this.words[i] | 0)) % num; - } - - return acc; - }; - - // In-place division by number - BN.prototype.idivn = function idivn (num) { - assert(num <= 0x3ffffff); - - var carry = 0; - for (var i = this.length - 1; i >= 0; i--) { - var w = (this.words[i] | 0) + carry * 0x4000000; - this.words[i] = (w / num) | 0; - carry = w % num; - } - - return this.strip(); - }; - - BN.prototype.divn = function divn (num) { - return this.clone().idivn(num); - }; - - BN.prototype.egcd = function egcd (p) { - assert(p.negative === 0); - assert(!p.isZero()); - - var x = this; - var y = p.clone(); - - if (x.negative !== 0) { - x = x.umod(p); - } else { - x = x.clone(); - } - - // A * x + B * y = x - var A = new BN(1); - var B = new BN(0); - - // C * x + D * y = y - var C = new BN(0); - var D = new BN(1); - - var g = 0; - - while (x.isEven() && y.isEven()) { - x.iushrn(1); - y.iushrn(1); - ++g; - } - - var yp = y.clone(); - var xp = x.clone(); - - while (!x.isZero()) { - for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1); - if (i > 0) { - x.iushrn(i); - while (i-- > 0) { - if (A.isOdd() || B.isOdd()) { - A.iadd(yp); - B.isub(xp); - } - - A.iushrn(1); - B.iushrn(1); - } - } - - for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); - if (j > 0) { - y.iushrn(j); - while (j-- > 0) { - if (C.isOdd() || D.isOdd()) { - C.iadd(yp); - D.isub(xp); - } - - C.iushrn(1); - D.iushrn(1); - } - } - - if (x.cmp(y) >= 0) { - x.isub(y); - A.isub(C); - B.isub(D); - } else { - y.isub(x); - C.isub(A); - D.isub(B); - } - } - - return { - a: C, - b: D, - gcd: y.iushln(g) - }; - }; - - // This is reduced incarnation of the binary EEA - // above, designated to invert members of the - // _prime_ fields F(p) at a maximal speed - BN.prototype._invmp = function _invmp (p) { - assert(p.negative === 0); - assert(!p.isZero()); - - var a = this; - var b = p.clone(); - - if (a.negative !== 0) { - a = a.umod(p); - } else { - a = a.clone(); - } - - var x1 = new BN(1); - var x2 = new BN(0); - - var delta = b.clone(); - - while (a.cmpn(1) > 0 && b.cmpn(1) > 0) { - for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1); - if (i > 0) { - a.iushrn(i); - while (i-- > 0) { - if (x1.isOdd()) { - x1.iadd(delta); - } - - x1.iushrn(1); - } - } - - for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); - if (j > 0) { - b.iushrn(j); - while (j-- > 0) { - if (x2.isOdd()) { - x2.iadd(delta); - } - - x2.iushrn(1); - } - } - - if (a.cmp(b) >= 0) { - a.isub(b); - x1.isub(x2); - } else { - b.isub(a); - x2.isub(x1); - } - } - - var res; - if (a.cmpn(1) === 0) { - res = x1; - } else { - res = x2; - } - - if (res.cmpn(0) < 0) { - res.iadd(p); - } - - return res; - }; - - BN.prototype.gcd = function gcd (num) { - if (this.isZero()) return num.abs(); - if (num.isZero()) return this.abs(); - - var a = this.clone(); - var b = num.clone(); - a.negative = 0; - b.negative = 0; - - // Remove common factor of two - for (var shift = 0; a.isEven() && b.isEven(); shift++) { - a.iushrn(1); - b.iushrn(1); - } - - do { - while (a.isEven()) { - a.iushrn(1); - } - while (b.isEven()) { - b.iushrn(1); - } - - var r = a.cmp(b); - if (r < 0) { - // Swap `a` and `b` to make `a` always bigger than `b` - var t = a; - a = b; - b = t; - } else if (r === 0 || b.cmpn(1) === 0) { - break; - } - - a.isub(b); - } while (true); - - return b.iushln(shift); - }; - - // Invert number in the field F(num) - BN.prototype.invm = function invm (num) { - return this.egcd(num).a.umod(num); - }; - - BN.prototype.isEven = function isEven () { - return (this.words[0] & 1) === 0; - }; - - BN.prototype.isOdd = function isOdd () { - return (this.words[0] & 1) === 1; - }; - - // And first word and num - BN.prototype.andln = function andln (num) { - return this.words[0] & num; - }; - - // Increment at the bit position in-line - BN.prototype.bincn = function bincn (bit) { - assert(typeof bit === 'number'); - var r = bit % 26; - var s = (bit - r) / 26; - var q = 1 << r; - - // Fast case: bit is much higher than all existing words - if (this.length <= s) { - this._expand(s + 1); - this.words[s] |= q; - return this; - } - - // Add bit and propagate, if needed - var carry = q; - for (var i = s; carry !== 0 && i < this.length; i++) { - var w = this.words[i] | 0; - w += carry; - carry = w >>> 26; - w &= 0x3ffffff; - this.words[i] = w; - } - if (carry !== 0) { - this.words[i] = carry; - this.length++; - } - return this; - }; - - BN.prototype.isZero = function isZero () { - return this.length === 1 && this.words[0] === 0; - }; - - BN.prototype.cmpn = function cmpn (num) { - var negative = num < 0; - - if (this.negative !== 0 && !negative) return -1; - if (this.negative === 0 && negative) return 1; - - this.strip(); - - var res; - if (this.length > 1) { - res = 1; - } else { - if (negative) { - num = -num; - } - - assert(num <= 0x3ffffff, 'Number is too big'); - - var w = this.words[0] | 0; - res = w === num ? 0 : w < num ? -1 : 1; - } - if (this.negative !== 0) return -res | 0; - return res; - }; - - // Compare two numbers and return: - // 1 - if `this` > `num` - // 0 - if `this` == `num` - // -1 - if `this` < `num` - BN.prototype.cmp = function cmp (num) { - if (this.negative !== 0 && num.negative === 0) return -1; - if (this.negative === 0 && num.negative !== 0) return 1; - - var res = this.ucmp(num); - if (this.negative !== 0) return -res | 0; - return res; - }; - - // Unsigned comparison - BN.prototype.ucmp = function ucmp (num) { - // At this point both numbers have the same sign - if (this.length > num.length) return 1; - if (this.length < num.length) return -1; - - var res = 0; - for (var i = this.length - 1; i >= 0; i--) { - var a = this.words[i] | 0; - var b = num.words[i] | 0; - - if (a === b) continue; - if (a < b) { - res = -1; - } else if (a > b) { - res = 1; - } - break; - } - return res; - }; - - BN.prototype.gtn = function gtn (num) { - return this.cmpn(num) === 1; - }; - - BN.prototype.gt = function gt (num) { - return this.cmp(num) === 1; - }; - - BN.prototype.gten = function gten (num) { - return this.cmpn(num) >= 0; - }; - - BN.prototype.gte = function gte (num) { - return this.cmp(num) >= 0; - }; - - BN.prototype.ltn = function ltn (num) { - return this.cmpn(num) === -1; - }; - - BN.prototype.lt = function lt (num) { - return this.cmp(num) === -1; - }; - - BN.prototype.lten = function lten (num) { - return this.cmpn(num) <= 0; - }; - - BN.prototype.lte = function lte (num) { - return this.cmp(num) <= 0; - }; - - BN.prototype.eqn = function eqn (num) { - return this.cmpn(num) === 0; - }; - - BN.prototype.eq = function eq (num) { - return this.cmp(num) === 0; - }; - - // - // A reduce context, could be using montgomery or something better, depending - // on the `m` itself. - // - BN.red = function red (num) { - return new Red(num); - }; - - BN.prototype.toRed = function toRed (ctx) { - assert(!this.red, 'Already a number in reduction context'); - assert(this.negative === 0, 'red works only with positives'); - return ctx.convertTo(this)._forceRed(ctx); - }; - - BN.prototype.fromRed = function fromRed () { - assert(this.red, 'fromRed works only with numbers in reduction context'); - return this.red.convertFrom(this); - }; - - BN.prototype._forceRed = function _forceRed (ctx) { - this.red = ctx; - return this; - }; - - BN.prototype.forceRed = function forceRed (ctx) { - assert(!this.red, 'Already a number in reduction context'); - return this._forceRed(ctx); - }; - - BN.prototype.redAdd = function redAdd (num) { - assert(this.red, 'redAdd works only with red numbers'); - return this.red.add(this, num); - }; - - BN.prototype.redIAdd = function redIAdd (num) { - assert(this.red, 'redIAdd works only with red numbers'); - return this.red.iadd(this, num); - }; - - BN.prototype.redSub = function redSub (num) { - assert(this.red, 'redSub works only with red numbers'); - return this.red.sub(this, num); - }; - - BN.prototype.redISub = function redISub (num) { - assert(this.red, 'redISub works only with red numbers'); - return this.red.isub(this, num); - }; - - BN.prototype.redShl = function redShl (num) { - assert(this.red, 'redShl works only with red numbers'); - return this.red.shl(this, num); - }; - - BN.prototype.redMul = function redMul (num) { - assert(this.red, 'redMul works only with red numbers'); - this.red._verify2(this, num); - return this.red.mul(this, num); - }; - - BN.prototype.redIMul = function redIMul (num) { - assert(this.red, 'redMul works only with red numbers'); - this.red._verify2(this, num); - return this.red.imul(this, num); - }; - - BN.prototype.redSqr = function redSqr () { - assert(this.red, 'redSqr works only with red numbers'); - this.red._verify1(this); - return this.red.sqr(this); - }; - - BN.prototype.redISqr = function redISqr () { - assert(this.red, 'redISqr works only with red numbers'); - this.red._verify1(this); - return this.red.isqr(this); - }; - - // Square root over p - BN.prototype.redSqrt = function redSqrt () { - assert(this.red, 'redSqrt works only with red numbers'); - this.red._verify1(this); - return this.red.sqrt(this); - }; - - BN.prototype.redInvm = function redInvm () { - assert(this.red, 'redInvm works only with red numbers'); - this.red._verify1(this); - return this.red.invm(this); - }; - - // Return negative clone of `this` % `red modulo` - BN.prototype.redNeg = function redNeg () { - assert(this.red, 'redNeg works only with red numbers'); - this.red._verify1(this); - return this.red.neg(this); - }; - - BN.prototype.redPow = function redPow (num) { - assert(this.red && !num.red, 'redPow(normalNum)'); - this.red._verify1(this); - return this.red.pow(this, num); - }; - - // Prime numbers with efficient reduction - var primes = { - k256: null, - p224: null, - p192: null, - p25519: null - }; - - // Pseudo-Mersenne prime - function MPrime (name, p) { - // P = 2 ^ N - K - this.name = name; - this.p = new BN(p, 16); - this.n = this.p.bitLength(); - this.k = new BN(1).iushln(this.n).isub(this.p); - - this.tmp = this._tmp(); - } - - MPrime.prototype._tmp = function _tmp () { - var tmp = new BN(null); - tmp.words = new Array(Math.ceil(this.n / 13)); - return tmp; - }; - - MPrime.prototype.ireduce = function ireduce (num) { - // Assumes that `num` is less than `P^2` - // num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P) - var r = num; - var rlen; - - do { - this.split(r, this.tmp); - r = this.imulK(r); - r = r.iadd(this.tmp); - rlen = r.bitLength(); - } while (rlen > this.n); - - var cmp = rlen < this.n ? -1 : r.ucmp(this.p); - if (cmp === 0) { - r.words[0] = 0; - r.length = 1; - } else if (cmp > 0) { - r.isub(this.p); - } else { - if (r.strip !== undefined) { - // r is BN v4 instance - r.strip(); - } else { - // r is BN v5 instance - r._strip(); - } - } - - return r; - }; - - MPrime.prototype.split = function split (input, out) { - input.iushrn(this.n, 0, out); - }; - - MPrime.prototype.imulK = function imulK (num) { - return num.imul(this.k); - }; - - function K256 () { - MPrime.call( - this, - 'k256', - 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f'); - } - inherits(K256, MPrime); - - K256.prototype.split = function split (input, output) { - // 256 = 9 * 26 + 22 - var mask = 0x3fffff; - - var outLen = Math.min(input.length, 9); - for (var i = 0; i < outLen; i++) { - output.words[i] = input.words[i]; - } - output.length = outLen; - - if (input.length <= 9) { - input.words[0] = 0; - input.length = 1; - return; - } - - // Shift by 9 limbs - var prev = input.words[9]; - output.words[output.length++] = prev & mask; - - for (i = 10; i < input.length; i++) { - var next = input.words[i] | 0; - input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22); - prev = next; - } - prev >>>= 22; - input.words[i - 10] = prev; - if (prev === 0 && input.length > 10) { - input.length -= 10; - } else { - input.length -= 9; - } - }; - - K256.prototype.imulK = function imulK (num) { - // K = 0x1000003d1 = [ 0x40, 0x3d1 ] - num.words[num.length] = 0; - num.words[num.length + 1] = 0; - num.length += 2; - - // bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390 - var lo = 0; - for (var i = 0; i < num.length; i++) { - var w = num.words[i] | 0; - lo += w * 0x3d1; - num.words[i] = lo & 0x3ffffff; - lo = w * 0x40 + ((lo / 0x4000000) | 0); - } - - // Fast length reduction - if (num.words[num.length - 1] === 0) { - num.length--; - if (num.words[num.length - 1] === 0) { - num.length--; - } - } - return num; - }; - - function P224 () { - MPrime.call( - this, - 'p224', - 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001'); - } - inherits(P224, MPrime); - - function P192 () { - MPrime.call( - this, - 'p192', - 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff'); - } - inherits(P192, MPrime); - - function P25519 () { - // 2 ^ 255 - 19 - MPrime.call( - this, - '25519', - '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed'); - } - inherits(P25519, MPrime); - - P25519.prototype.imulK = function imulK (num) { - // K = 0x13 - var carry = 0; - for (var i = 0; i < num.length; i++) { - var hi = (num.words[i] | 0) * 0x13 + carry; - var lo = hi & 0x3ffffff; - hi >>>= 26; - - num.words[i] = lo; - carry = hi; - } - if (carry !== 0) { - num.words[num.length++] = carry; - } - return num; - }; - - // Exported mostly for testing purposes, use plain name instead - BN._prime = function prime (name) { - // Cached version of prime - if (primes[name]) return primes[name]; - - var prime; - if (name === 'k256') { - prime = new K256(); - } else if (name === 'p224') { - prime = new P224(); - } else if (name === 'p192') { - prime = new P192(); - } else if (name === 'p25519') { - prime = new P25519(); - } else { - throw new Error('Unknown prime ' + name); - } - primes[name] = prime; - - return prime; - }; - - // - // Base reduction engine - // - function Red (m) { - if (typeof m === 'string') { - var prime = BN._prime(m); - this.m = prime.p; - this.prime = prime; - } else { - assert(m.gtn(1), 'modulus must be greater than 1'); - this.m = m; - this.prime = null; - } - } - - Red.prototype._verify1 = function _verify1 (a) { - assert(a.negative === 0, 'red works only with positives'); - assert(a.red, 'red works only with red numbers'); - }; - - Red.prototype._verify2 = function _verify2 (a, b) { - assert((a.negative | b.negative) === 0, 'red works only with positives'); - assert(a.red && a.red === b.red, - 'red works only with red numbers'); - }; - - Red.prototype.imod = function imod (a) { - if (this.prime) return this.prime.ireduce(a)._forceRed(this); - return a.umod(this.m)._forceRed(this); - }; - - Red.prototype.neg = function neg (a) { - if (a.isZero()) { - return a.clone(); - } - - return this.m.sub(a)._forceRed(this); - }; - - Red.prototype.add = function add (a, b) { - this._verify2(a, b); - - var res = a.add(b); - if (res.cmp(this.m) >= 0) { - res.isub(this.m); - } - return res._forceRed(this); - }; - - Red.prototype.iadd = function iadd (a, b) { - this._verify2(a, b); - - var res = a.iadd(b); - if (res.cmp(this.m) >= 0) { - res.isub(this.m); - } - return res; - }; - - Red.prototype.sub = function sub (a, b) { - this._verify2(a, b); - - var res = a.sub(b); - if (res.cmpn(0) < 0) { - res.iadd(this.m); - } - return res._forceRed(this); - }; - - Red.prototype.isub = function isub (a, b) { - this._verify2(a, b); - - var res = a.isub(b); - if (res.cmpn(0) < 0) { - res.iadd(this.m); - } - return res; - }; - - Red.prototype.shl = function shl (a, num) { - this._verify1(a); - return this.imod(a.ushln(num)); - }; - - Red.prototype.imul = function imul (a, b) { - this._verify2(a, b); - return this.imod(a.imul(b)); - }; - - Red.prototype.mul = function mul (a, b) { - this._verify2(a, b); - return this.imod(a.mul(b)); - }; - - Red.prototype.isqr = function isqr (a) { - return this.imul(a, a.clone()); - }; - - Red.prototype.sqr = function sqr (a) { - return this.mul(a, a); - }; - - Red.prototype.sqrt = function sqrt (a) { - if (a.isZero()) return a.clone(); - - var mod3 = this.m.andln(3); - assert(mod3 % 2 === 1); - - // Fast case - if (mod3 === 3) { - var pow = this.m.add(new BN(1)).iushrn(2); - return this.pow(a, pow); - } - - // Tonelli-Shanks algorithm (Totally unoptimized and slow) - // - // Find Q and S, that Q * 2 ^ S = (P - 1) - var q = this.m.subn(1); - var s = 0; - while (!q.isZero() && q.andln(1) === 0) { - s++; - q.iushrn(1); - } - assert(!q.isZero()); - - var one = new BN(1).toRed(this); - var nOne = one.redNeg(); - - // Find quadratic non-residue - // NOTE: Max is such because of generalized Riemann hypothesis. - var lpow = this.m.subn(1).iushrn(1); - var z = this.m.bitLength(); - z = new BN(2 * z * z).toRed(this); - - while (this.pow(z, lpow).cmp(nOne) !== 0) { - z.redIAdd(nOne); - } - - var c = this.pow(z, q); - var r = this.pow(a, q.addn(1).iushrn(1)); - var t = this.pow(a, q); - var m = s; - while (t.cmp(one) !== 0) { - var tmp = t; - for (var i = 0; tmp.cmp(one) !== 0; i++) { - tmp = tmp.redSqr(); - } - assert(i < m); - var b = this.pow(c, new BN(1).iushln(m - i - 1)); - - r = r.redMul(b); - c = b.redSqr(); - t = t.redMul(c); - m = i; - } - - return r; - }; - - Red.prototype.invm = function invm (a) { - var inv = a._invmp(this.m); - if (inv.negative !== 0) { - inv.negative = 0; - return this.imod(inv).redNeg(); - } else { - return this.imod(inv); - } - }; - - Red.prototype.pow = function pow (a, num) { - if (num.isZero()) return new BN(1).toRed(this); - if (num.cmpn(1) === 0) return a.clone(); - - var windowSize = 4; - var wnd = new Array(1 << windowSize); - wnd[0] = new BN(1).toRed(this); - wnd[1] = a; - for (var i = 2; i < wnd.length; i++) { - wnd[i] = this.mul(wnd[i - 1], a); - } - - var res = wnd[0]; - var current = 0; - var currentLen = 0; - var start = num.bitLength() % 26; - if (start === 0) { - start = 26; - } - - for (i = num.length - 1; i >= 0; i--) { - var word = num.words[i]; - for (var j = start - 1; j >= 0; j--) { - var bit = (word >> j) & 1; - if (res !== wnd[0]) { - res = this.sqr(res); - } - - if (bit === 0 && current === 0) { - currentLen = 0; - continue; - } - - current <<= 1; - current |= bit; - currentLen++; - if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue; - - res = this.mul(res, wnd[current]); - currentLen = 0; - current = 0; - } - start = 26; - } - - return res; - }; - - Red.prototype.convertTo = function convertTo (num) { - var r = num.umod(this.m); - - return r === num ? r.clone() : r; - }; - - Red.prototype.convertFrom = function convertFrom (num) { - var res = num.clone(); - res.red = null; - return res; - }; - - // - // Montgomery method engine - // - - BN.mont = function mont (num) { - return new Mont(num); - }; - - function Mont (m) { - Red.call(this, m); - - this.shift = this.m.bitLength(); - if (this.shift % 26 !== 0) { - this.shift += 26 - (this.shift % 26); - } - - this.r = new BN(1).iushln(this.shift); - this.r2 = this.imod(this.r.sqr()); - this.rinv = this.r._invmp(this.m); - - this.minv = this.rinv.mul(this.r).isubn(1).div(this.m); - this.minv = this.minv.umod(this.r); - this.minv = this.r.sub(this.minv); - } - inherits(Mont, Red); - - Mont.prototype.convertTo = function convertTo (num) { - return this.imod(num.ushln(this.shift)); - }; - - Mont.prototype.convertFrom = function convertFrom (num) { - var r = this.imod(num.mul(this.rinv)); - r.red = null; - return r; - }; - - Mont.prototype.imul = function imul (a, b) { - if (a.isZero() || b.isZero()) { - a.words[0] = 0; - a.length = 1; - return a; - } - - var t = a.imul(b); - var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); - var u = t.isub(c).iushrn(this.shift); - var res = u; - - if (u.cmp(this.m) >= 0) { - res = u.isub(this.m); - } else if (u.cmpn(0) < 0) { - res = u.iadd(this.m); - } - - return res._forceRed(this); - }; - - Mont.prototype.mul = function mul (a, b) { - if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this); - - var t = a.mul(b); - var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); - var u = t.isub(c).iushrn(this.shift); - var res = u; - if (u.cmp(this.m) >= 0) { - res = u.isub(this.m); - } else if (u.cmpn(0) < 0) { - res = u.iadd(this.m); - } - - return res._forceRed(this); - }; - - Mont.prototype.invm = function invm (a) { - // (AR)^-1 * R^2 = (A^-1 * R^-1) * R^2 = A^-1 * R - var res = this.imod(a._invmp(this.m).mul(this.r2)); - return res._forceRed(this); - }; - })(module, commonjsGlobal); -} (bn)); - -var elliptic = {}; - -var name = "elliptic"; -var version = "6.5.4"; -var description = "EC cryptography"; -var main = "lib/elliptic.js"; -var files = [ - "lib" -]; -var scripts = { - lint: "eslint lib test", - "lint:fix": "npm run lint -- --fix", - unit: "istanbul test _mocha --reporter=spec test/index.js", - test: "npm run lint && npm run unit", - version: "grunt dist && git add dist/" -}; -var repository = { - type: "git", - url: "git@github.com:indutny/elliptic" -}; -var keywords = [ - "EC", - "Elliptic", - "curve", - "Cryptography" -]; -var author = "Fedor Indutny "; -var license = "MIT"; -var bugs = { - url: "https://github.com/indutny/elliptic/issues" -}; -var homepage = "https://github.com/indutny/elliptic"; -var devDependencies = { - brfs: "^2.0.2", - coveralls: "^3.1.0", - eslint: "^7.6.0", - grunt: "^1.2.1", - "grunt-browserify": "^5.3.0", - "grunt-cli": "^1.3.2", - "grunt-contrib-connect": "^3.0.0", - "grunt-contrib-copy": "^1.0.0", - "grunt-contrib-uglify": "^5.0.0", - "grunt-mocha-istanbul": "^5.0.2", - "grunt-saucelabs": "^9.0.1", - istanbul: "^0.4.5", - mocha: "^8.0.1" -}; -var dependencies = { - "bn.js": "^4.11.9", - brorand: "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - inherits: "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" -}; -var require$$0 = { - name: name, - version: version, - description: description, - main: main, - files: files, - scripts: scripts, - repository: repository, - keywords: keywords, - author: author, - license: license, - bugs: bugs, - homepage: homepage, - devDependencies: devDependencies, - dependencies: dependencies -}; - -var utils$m = {}; - -var minimalisticAssert = assert$g; - -function assert$g(val, msg) { - if (!val) - throw new Error(msg || 'Assertion failed'); -} - -assert$g.equal = function assertEqual(l, r, msg) { - if (l != r) - throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); -}; - -var utils$l = {}; - -(function (exports) { - - var utils = exports; - - function toArray(msg, enc) { - if (Array.isArray(msg)) - return msg.slice(); - if (!msg) - return []; - var res = []; - if (typeof msg !== 'string') { - for (var i = 0; i < msg.length; i++) - res[i] = msg[i] | 0; - return res; - } - if (enc === 'hex') { - msg = msg.replace(/[^a-z0-9]+/ig, ''); - if (msg.length % 2 !== 0) - msg = '0' + msg; - for (var i = 0; i < msg.length; i += 2) - res.push(parseInt(msg[i] + msg[i + 1], 16)); - } else { - for (var i = 0; i < msg.length; i++) { - var c = msg.charCodeAt(i); - var hi = c >> 8; - var lo = c & 0xff; - if (hi) - res.push(hi, lo); - else - res.push(lo); - } - } - return res; - } - utils.toArray = toArray; - - function zero2(word) { - if (word.length === 1) - return '0' + word; - else - return word; - } - utils.zero2 = zero2; - - function toHex(msg) { - var res = ''; - for (var i = 0; i < msg.length; i++) - res += zero2(msg[i].toString(16)); - return res; - } - utils.toHex = toHex; - - utils.encode = function encode(arr, enc) { - if (enc === 'hex') - return toHex(arr); - else - return arr; - }; -} (utils$l)); - -(function (exports) { - - var utils = exports; - var BN = bn.exports; - var minAssert = minimalisticAssert; - var minUtils = utils$l; - - utils.assert = minAssert; - utils.toArray = minUtils.toArray; - utils.zero2 = minUtils.zero2; - utils.toHex = minUtils.toHex; - utils.encode = minUtils.encode; - - // Represent num in a w-NAF form - function getNAF(num, w, bits) { - var naf = new Array(Math.max(num.bitLength(), bits) + 1); - naf.fill(0); - - var ws = 1 << (w + 1); - var k = num.clone(); - - for (var i = 0; i < naf.length; i++) { - var z; - var mod = k.andln(ws - 1); - if (k.isOdd()) { - if (mod > (ws >> 1) - 1) - z = (ws >> 1) - mod; - else - z = mod; - k.isubn(z); - } else { - z = 0; - } - - naf[i] = z; - k.iushrn(1); - } - - return naf; - } - utils.getNAF = getNAF; - - // Represent k1, k2 in a Joint Sparse Form - function getJSF(k1, k2) { - var jsf = [ - [], - [], - ]; - - k1 = k1.clone(); - k2 = k2.clone(); - var d1 = 0; - var d2 = 0; - var m8; - while (k1.cmpn(-d1) > 0 || k2.cmpn(-d2) > 0) { - // First phase - var m14 = (k1.andln(3) + d1) & 3; - var m24 = (k2.andln(3) + d2) & 3; - if (m14 === 3) - m14 = -1; - if (m24 === 3) - m24 = -1; - var u1; - if ((m14 & 1) === 0) { - u1 = 0; - } else { - m8 = (k1.andln(7) + d1) & 7; - if ((m8 === 3 || m8 === 5) && m24 === 2) - u1 = -m14; - else - u1 = m14; - } - jsf[0].push(u1); - - var u2; - if ((m24 & 1) === 0) { - u2 = 0; - } else { - m8 = (k2.andln(7) + d2) & 7; - if ((m8 === 3 || m8 === 5) && m14 === 2) - u2 = -m24; - else - u2 = m24; - } - jsf[1].push(u2); - - // Second phase - if (2 * d1 === u1 + 1) - d1 = 1 - d1; - if (2 * d2 === u2 + 1) - d2 = 1 - d2; - k1.iushrn(1); - k2.iushrn(1); - } - - return jsf; - } - utils.getJSF = getJSF; - - function cachedProperty(obj, name, computer) { - var key = '_' + name; - obj.prototype[name] = function cachedProperty() { - return this[key] !== undefined ? this[key] : - this[key] = computer.call(this); - }; - } - utils.cachedProperty = cachedProperty; - - function parseBytes(bytes) { - return typeof bytes === 'string' ? utils.toArray(bytes, 'hex') : - bytes; - } - utils.parseBytes = parseBytes; - - function intFromLE(bytes) { - return new BN(bytes, 'hex', 'le'); - } - utils.intFromLE = intFromLE; -} (utils$m)); - -var brorand = {exports: {}}; - -var r$1; - -brorand.exports = function rand(len) { - if (!r$1) - r$1 = new Rand(null); - - return r$1.generate(len); -}; - -function Rand(rand) { - this.rand = rand; -} -brorand.exports.Rand = Rand; - -Rand.prototype.generate = function generate(len) { - return this._rand(len); -}; - -// Emulate crypto API using randy -Rand.prototype._rand = function _rand(n) { - if (this.rand.getBytes) - return this.rand.getBytes(n); - - var res = new Uint8Array(n); - for (var i = 0; i < res.length; i++) - res[i] = this.rand.getByte(); - return res; -}; - -if (typeof self === 'object') { - if (self.crypto && self.crypto.getRandomValues) { - // Modern browsers - Rand.prototype._rand = function _rand(n) { - var arr = new Uint8Array(n); - self.crypto.getRandomValues(arr); - return arr; - }; - } else if (self.msCrypto && self.msCrypto.getRandomValues) { - // IE - Rand.prototype._rand = function _rand(n) { - var arr = new Uint8Array(n); - self.msCrypto.getRandomValues(arr); - return arr; - }; - - // Safari's WebWorkers do not have `crypto` - } else if (typeof window === 'object') { - // Old junk - Rand.prototype._rand = function() { - throw new Error('Not implemented yet'); - }; - } -} else { - // Node.js or Web worker with no crypto support - try { - var crypto$4 = require('crypto'); - if (typeof crypto$4.randomBytes !== 'function') - throw new Error('Not supported'); - - Rand.prototype._rand = function _rand(n) { - return crypto$4.randomBytes(n); - }; - } catch (e) { - } -} - -var curve = {}; - -var BN$8 = bn.exports; -var utils$k = utils$m; -var getNAF = utils$k.getNAF; -var getJSF = utils$k.getJSF; -var assert$f = utils$k.assert; - -function BaseCurve(type, conf) { - this.type = type; - this.p = new BN$8(conf.p, 16); - - // Use Montgomery, when there is no fast reduction for the prime - this.red = conf.prime ? BN$8.red(conf.prime) : BN$8.mont(this.p); - - // Useful for many curves - this.zero = new BN$8(0).toRed(this.red); - this.one = new BN$8(1).toRed(this.red); - this.two = new BN$8(2).toRed(this.red); - - // Curve configuration, optional - this.n = conf.n && new BN$8(conf.n, 16); - this.g = conf.g && this.pointFromJSON(conf.g, conf.gRed); - - // Temporary arrays - this._wnafT1 = new Array(4); - this._wnafT2 = new Array(4); - this._wnafT3 = new Array(4); - this._wnafT4 = new Array(4); - - this._bitLength = this.n ? this.n.bitLength() : 0; - - // Generalized Greg Maxwell's trick - var adjustCount = this.n && this.p.div(this.n); - if (!adjustCount || adjustCount.cmpn(100) > 0) { - this.redN = null; - } else { - this._maxwellTrick = true; - this.redN = this.n.toRed(this.red); - } -} -var base$2 = BaseCurve; - -BaseCurve.prototype.point = function point() { - throw new Error('Not implemented'); -}; - -BaseCurve.prototype.validate = function validate() { - throw new Error('Not implemented'); -}; - -BaseCurve.prototype._fixedNafMul = function _fixedNafMul(p, k) { - assert$f(p.precomputed); - var doubles = p._getDoubles(); - - var naf = getNAF(k, 1, this._bitLength); - var I = (1 << (doubles.step + 1)) - (doubles.step % 2 === 0 ? 2 : 1); - I /= 3; - - // Translate into more windowed form - var repr = []; - var j; - var nafW; - for (j = 0; j < naf.length; j += doubles.step) { - nafW = 0; - for (var l = j + doubles.step - 1; l >= j; l--) - nafW = (nafW << 1) + naf[l]; - repr.push(nafW); - } - - var a = this.jpoint(null, null, null); - var b = this.jpoint(null, null, null); - for (var i = I; i > 0; i--) { - for (j = 0; j < repr.length; j++) { - nafW = repr[j]; - if (nafW === i) - b = b.mixedAdd(doubles.points[j]); - else if (nafW === -i) - b = b.mixedAdd(doubles.points[j].neg()); - } - a = a.add(b); - } - return a.toP(); -}; - -BaseCurve.prototype._wnafMul = function _wnafMul(p, k) { - var w = 4; - - // Precompute window - var nafPoints = p._getNAFPoints(w); - w = nafPoints.wnd; - var wnd = nafPoints.points; - - // Get NAF form - var naf = getNAF(k, w, this._bitLength); - - // Add `this`*(N+1) for every w-NAF index - var acc = this.jpoint(null, null, null); - for (var i = naf.length - 1; i >= 0; i--) { - // Count zeroes - for (var l = 0; i >= 0 && naf[i] === 0; i--) - l++; - if (i >= 0) - l++; - acc = acc.dblp(l); - - if (i < 0) - break; - var z = naf[i]; - assert$f(z !== 0); - if (p.type === 'affine') { - // J +- P - if (z > 0) - acc = acc.mixedAdd(wnd[(z - 1) >> 1]); - else - acc = acc.mixedAdd(wnd[(-z - 1) >> 1].neg()); - } else { - // J +- J - if (z > 0) - acc = acc.add(wnd[(z - 1) >> 1]); - else - acc = acc.add(wnd[(-z - 1) >> 1].neg()); - } - } - return p.type === 'affine' ? acc.toP() : acc; -}; - -BaseCurve.prototype._wnafMulAdd = function _wnafMulAdd(defW, - points, - coeffs, - len, - jacobianResult) { - var wndWidth = this._wnafT1; - var wnd = this._wnafT2; - var naf = this._wnafT3; - - // Fill all arrays - var max = 0; - var i; - var j; - var p; - for (i = 0; i < len; i++) { - p = points[i]; - var nafPoints = p._getNAFPoints(defW); - wndWidth[i] = nafPoints.wnd; - wnd[i] = nafPoints.points; - } - - // Comb small window NAFs - for (i = len - 1; i >= 1; i -= 2) { - var a = i - 1; - var b = i; - if (wndWidth[a] !== 1 || wndWidth[b] !== 1) { - naf[a] = getNAF(coeffs[a], wndWidth[a], this._bitLength); - naf[b] = getNAF(coeffs[b], wndWidth[b], this._bitLength); - max = Math.max(naf[a].length, max); - max = Math.max(naf[b].length, max); - continue; - } - - var comb = [ - points[a], /* 1 */ - null, /* 3 */ - null, /* 5 */ - points[b], /* 7 */ - ]; - - // Try to avoid Projective points, if possible - if (points[a].y.cmp(points[b].y) === 0) { - comb[1] = points[a].add(points[b]); - comb[2] = points[a].toJ().mixedAdd(points[b].neg()); - } else if (points[a].y.cmp(points[b].y.redNeg()) === 0) { - comb[1] = points[a].toJ().mixedAdd(points[b]); - comb[2] = points[a].add(points[b].neg()); - } else { - comb[1] = points[a].toJ().mixedAdd(points[b]); - comb[2] = points[a].toJ().mixedAdd(points[b].neg()); - } - - var index = [ - -3, /* -1 -1 */ - -1, /* -1 0 */ - -5, /* -1 1 */ - -7, /* 0 -1 */ - 0, /* 0 0 */ - 7, /* 0 1 */ - 5, /* 1 -1 */ - 1, /* 1 0 */ - 3, /* 1 1 */ - ]; - - var jsf = getJSF(coeffs[a], coeffs[b]); - max = Math.max(jsf[0].length, max); - naf[a] = new Array(max); - naf[b] = new Array(max); - for (j = 0; j < max; j++) { - var ja = jsf[0][j] | 0; - var jb = jsf[1][j] | 0; - - naf[a][j] = index[(ja + 1) * 3 + (jb + 1)]; - naf[b][j] = 0; - wnd[a] = comb; - } - } - - var acc = this.jpoint(null, null, null); - var tmp = this._wnafT4; - for (i = max; i >= 0; i--) { - var k = 0; - - while (i >= 0) { - var zero = true; - for (j = 0; j < len; j++) { - tmp[j] = naf[j][i] | 0; - if (tmp[j] !== 0) - zero = false; - } - if (!zero) - break; - k++; - i--; - } - if (i >= 0) - k++; - acc = acc.dblp(k); - if (i < 0) - break; - - for (j = 0; j < len; j++) { - var z = tmp[j]; - if (z === 0) - continue; - else if (z > 0) - p = wnd[j][(z - 1) >> 1]; - else if (z < 0) - p = wnd[j][(-z - 1) >> 1].neg(); - - if (p.type === 'affine') - acc = acc.mixedAdd(p); - else - acc = acc.add(p); - } - } - // Zeroify references - for (i = 0; i < len; i++) - wnd[i] = null; - - if (jacobianResult) - return acc; - else - return acc.toP(); -}; - -function BasePoint(curve, type) { - this.curve = curve; - this.type = type; - this.precomputed = null; -} -BaseCurve.BasePoint = BasePoint; - -BasePoint.prototype.eq = function eq(/*other*/) { - throw new Error('Not implemented'); -}; - -BasePoint.prototype.validate = function validate() { - return this.curve.validate(this); -}; - -BaseCurve.prototype.decodePoint = function decodePoint(bytes, enc) { - bytes = utils$k.toArray(bytes, enc); - - var len = this.p.byteLength(); - - // uncompressed, hybrid-odd, hybrid-even - if ((bytes[0] === 0x04 || bytes[0] === 0x06 || bytes[0] === 0x07) && - bytes.length - 1 === 2 * len) { - if (bytes[0] === 0x06) - assert$f(bytes[bytes.length - 1] % 2 === 0); - else if (bytes[0] === 0x07) - assert$f(bytes[bytes.length - 1] % 2 === 1); - - var res = this.point(bytes.slice(1, 1 + len), - bytes.slice(1 + len, 1 + 2 * len)); - - return res; - } else if ((bytes[0] === 0x02 || bytes[0] === 0x03) && - bytes.length - 1 === len) { - return this.pointFromX(bytes.slice(1, 1 + len), bytes[0] === 0x03); - } - throw new Error('Unknown point format'); -}; - -BasePoint.prototype.encodeCompressed = function encodeCompressed(enc) { - return this.encode(enc, true); -}; - -BasePoint.prototype._encode = function _encode(compact) { - var len = this.curve.p.byteLength(); - var x = this.getX().toArray('be', len); - - if (compact) - return [ this.getY().isEven() ? 0x02 : 0x03 ].concat(x); - - return [ 0x04 ].concat(x, this.getY().toArray('be', len)); -}; - -BasePoint.prototype.encode = function encode(enc, compact) { - return utils$k.encode(this._encode(compact), enc); -}; - -BasePoint.prototype.precompute = function precompute(power) { - if (this.precomputed) - return this; - - var precomputed = { - doubles: null, - naf: null, - beta: null, - }; - precomputed.naf = this._getNAFPoints(8); - precomputed.doubles = this._getDoubles(4, power); - precomputed.beta = this._getBeta(); - this.precomputed = precomputed; - - return this; -}; - -BasePoint.prototype._hasDoubles = function _hasDoubles(k) { - if (!this.precomputed) - return false; - - var doubles = this.precomputed.doubles; - if (!doubles) - return false; - - return doubles.points.length >= Math.ceil((k.bitLength() + 1) / doubles.step); -}; - -BasePoint.prototype._getDoubles = function _getDoubles(step, power) { - if (this.precomputed && this.precomputed.doubles) - return this.precomputed.doubles; - - var doubles = [ this ]; - var acc = this; - for (var i = 0; i < power; i += step) { - for (var j = 0; j < step; j++) - acc = acc.dbl(); - doubles.push(acc); - } - return { - step: step, - points: doubles, - }; -}; - -BasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) { - if (this.precomputed && this.precomputed.naf) - return this.precomputed.naf; - - var res = [ this ]; - var max = (1 << wnd) - 1; - var dbl = max === 1 ? null : this.dbl(); - for (var i = 1; i < max; i++) - res[i] = res[i - 1].add(dbl); - return { - wnd: wnd, - points: res, - }; -}; - -BasePoint.prototype._getBeta = function _getBeta() { - return null; -}; - -BasePoint.prototype.dblp = function dblp(k) { - var r = this; - for (var i = 0; i < k; i++) - r = r.dbl(); - return r; -}; - -var inherits$4 = {exports: {}}; - -var inherits_browser = {exports: {}}; - -var hasRequiredInherits_browser; - -function requireInherits_browser () { - if (hasRequiredInherits_browser) return inherits_browser.exports; - hasRequiredInherits_browser = 1; - if (typeof Object.create === 'function') { - // implementation from standard node.js 'util' module - inherits_browser.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - } - }; - } else { - // old school shim for old browsers - inherits_browser.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - var TempCtor = function () {}; - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - } - }; - } - return inherits_browser.exports; -} - -(function (module) { - try { - var util = require('util'); - /* istanbul ignore next */ - if (typeof util.inherits !== 'function') throw ''; - module.exports = util.inherits; - } catch (e) { - /* istanbul ignore next */ - module.exports = requireInherits_browser(); - } -} (inherits$4)); - -var utils$j = utils$m; -var BN$7 = bn.exports; -var inherits$3 = inherits$4.exports; -var Base$2 = base$2; - -var assert$e = utils$j.assert; - -function ShortCurve(conf) { - Base$2.call(this, 'short', conf); - - this.a = new BN$7(conf.a, 16).toRed(this.red); - this.b = new BN$7(conf.b, 16).toRed(this.red); - this.tinv = this.two.redInvm(); - - this.zeroA = this.a.fromRed().cmpn(0) === 0; - this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0; - - // If the curve is endomorphic, precalculate beta and lambda - this.endo = this._getEndomorphism(conf); - this._endoWnafT1 = new Array(4); - this._endoWnafT2 = new Array(4); -} -inherits$3(ShortCurve, Base$2); -var short = ShortCurve; - -ShortCurve.prototype._getEndomorphism = function _getEndomorphism(conf) { - // No efficient endomorphism - if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1) - return; - - // Compute beta and lambda, that lambda * P = (beta * Px; Py) - var beta; - var lambda; - if (conf.beta) { - beta = new BN$7(conf.beta, 16).toRed(this.red); - } else { - var betas = this._getEndoRoots(this.p); - // Choose the smallest beta - beta = betas[0].cmp(betas[1]) < 0 ? betas[0] : betas[1]; - beta = beta.toRed(this.red); - } - if (conf.lambda) { - lambda = new BN$7(conf.lambda, 16); - } else { - // Choose the lambda that is matching selected beta - var lambdas = this._getEndoRoots(this.n); - if (this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta)) === 0) { - lambda = lambdas[0]; - } else { - lambda = lambdas[1]; - assert$e(this.g.mul(lambda).x.cmp(this.g.x.redMul(beta)) === 0); - } - } - - // Get basis vectors, used for balanced length-two representation - var basis; - if (conf.basis) { - basis = conf.basis.map(function(vec) { - return { - a: new BN$7(vec.a, 16), - b: new BN$7(vec.b, 16), - }; - }); - } else { - basis = this._getEndoBasis(lambda); - } - - return { - beta: beta, - lambda: lambda, - basis: basis, - }; -}; - -ShortCurve.prototype._getEndoRoots = function _getEndoRoots(num) { - // Find roots of for x^2 + x + 1 in F - // Root = (-1 +- Sqrt(-3)) / 2 - // - var red = num === this.p ? this.red : BN$7.mont(num); - var tinv = new BN$7(2).toRed(red).redInvm(); - var ntinv = tinv.redNeg(); - - var s = new BN$7(3).toRed(red).redNeg().redSqrt().redMul(tinv); - - var l1 = ntinv.redAdd(s).fromRed(); - var l2 = ntinv.redSub(s).fromRed(); - return [ l1, l2 ]; -}; - -ShortCurve.prototype._getEndoBasis = function _getEndoBasis(lambda) { - // aprxSqrt >= sqrt(this.n) - var aprxSqrt = this.n.ushrn(Math.floor(this.n.bitLength() / 2)); - - // 3.74 - // Run EGCD, until r(L + 1) < aprxSqrt - var u = lambda; - var v = this.n.clone(); - var x1 = new BN$7(1); - var y1 = new BN$7(0); - var x2 = new BN$7(0); - var y2 = new BN$7(1); - - // NOTE: all vectors are roots of: a + b * lambda = 0 (mod n) - var a0; - var b0; - // First vector - var a1; - var b1; - // Second vector - var a2; - var b2; - - var prevR; - var i = 0; - var r; - var x; - while (u.cmpn(0) !== 0) { - var q = v.div(u); - r = v.sub(q.mul(u)); - x = x2.sub(q.mul(x1)); - var y = y2.sub(q.mul(y1)); - - if (!a1 && r.cmp(aprxSqrt) < 0) { - a0 = prevR.neg(); - b0 = x1; - a1 = r.neg(); - b1 = x; - } else if (a1 && ++i === 2) { - break; - } - prevR = r; - - v = u; - u = r; - x2 = x1; - x1 = x; - y2 = y1; - y1 = y; - } - a2 = r.neg(); - b2 = x; - - var len1 = a1.sqr().add(b1.sqr()); - var len2 = a2.sqr().add(b2.sqr()); - if (len2.cmp(len1) >= 0) { - a2 = a0; - b2 = b0; - } - - // Normalize signs - if (a1.negative) { - a1 = a1.neg(); - b1 = b1.neg(); - } - if (a2.negative) { - a2 = a2.neg(); - b2 = b2.neg(); - } - - return [ - { a: a1, b: b1 }, - { a: a2, b: b2 }, - ]; -}; - -ShortCurve.prototype._endoSplit = function _endoSplit(k) { - var basis = this.endo.basis; - var v1 = basis[0]; - var v2 = basis[1]; - - var c1 = v2.b.mul(k).divRound(this.n); - var c2 = v1.b.neg().mul(k).divRound(this.n); - - var p1 = c1.mul(v1.a); - var p2 = c2.mul(v2.a); - var q1 = c1.mul(v1.b); - var q2 = c2.mul(v2.b); - - // Calculate answer - var k1 = k.sub(p1).sub(p2); - var k2 = q1.add(q2).neg(); - return { k1: k1, k2: k2 }; -}; - -ShortCurve.prototype.pointFromX = function pointFromX(x, odd) { - x = new BN$7(x, 16); - if (!x.red) - x = x.toRed(this.red); - - var y2 = x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b); - var y = y2.redSqrt(); - if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) - throw new Error('invalid point'); - - // XXX Is there any way to tell if the number is odd without converting it - // to non-red form? - var isOdd = y.fromRed().isOdd(); - if (odd && !isOdd || !odd && isOdd) - y = y.redNeg(); - - return this.point(x, y); -}; - -ShortCurve.prototype.validate = function validate(point) { - if (point.inf) - return true; - - var x = point.x; - var y = point.y; - - var ax = this.a.redMul(x); - var rhs = x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b); - return y.redSqr().redISub(rhs).cmpn(0) === 0; -}; - -ShortCurve.prototype._endoWnafMulAdd = - function _endoWnafMulAdd(points, coeffs, jacobianResult) { - var npoints = this._endoWnafT1; - var ncoeffs = this._endoWnafT2; - for (var i = 0; i < points.length; i++) { - var split = this._endoSplit(coeffs[i]); - var p = points[i]; - var beta = p._getBeta(); - - if (split.k1.negative) { - split.k1.ineg(); - p = p.neg(true); - } - if (split.k2.negative) { - split.k2.ineg(); - beta = beta.neg(true); - } - - npoints[i * 2] = p; - npoints[i * 2 + 1] = beta; - ncoeffs[i * 2] = split.k1; - ncoeffs[i * 2 + 1] = split.k2; - } - var res = this._wnafMulAdd(1, npoints, ncoeffs, i * 2, jacobianResult); - - // Clean-up references to points and coefficients - for (var j = 0; j < i * 2; j++) { - npoints[j] = null; - ncoeffs[j] = null; - } - return res; - }; - -function Point$2(curve, x, y, isRed) { - Base$2.BasePoint.call(this, curve, 'affine'); - if (x === null && y === null) { - this.x = null; - this.y = null; - this.inf = true; - } else { - this.x = new BN$7(x, 16); - this.y = new BN$7(y, 16); - // Force redgomery representation when loading from JSON - if (isRed) { - this.x.forceRed(this.curve.red); - this.y.forceRed(this.curve.red); - } - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - this.inf = false; - } -} -inherits$3(Point$2, Base$2.BasePoint); - -ShortCurve.prototype.point = function point(x, y, isRed) { - return new Point$2(this, x, y, isRed); -}; - -ShortCurve.prototype.pointFromJSON = function pointFromJSON(obj, red) { - return Point$2.fromJSON(this, obj, red); -}; - -Point$2.prototype._getBeta = function _getBeta() { - if (!this.curve.endo) - return; - - var pre = this.precomputed; - if (pre && pre.beta) - return pre.beta; - - var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); - if (pre) { - var curve = this.curve; - var endoMul = function(p) { - return curve.point(p.x.redMul(curve.endo.beta), p.y); - }; - pre.beta = beta; - beta.precomputed = { - beta: null, - naf: pre.naf && { - wnd: pre.naf.wnd, - points: pre.naf.points.map(endoMul), - }, - doubles: pre.doubles && { - step: pre.doubles.step, - points: pre.doubles.points.map(endoMul), - }, - }; - } - return beta; -}; - -Point$2.prototype.toJSON = function toJSON() { - if (!this.precomputed) - return [ this.x, this.y ]; - - return [ this.x, this.y, this.precomputed && { - doubles: this.precomputed.doubles && { - step: this.precomputed.doubles.step, - points: this.precomputed.doubles.points.slice(1), - }, - naf: this.precomputed.naf && { - wnd: this.precomputed.naf.wnd, - points: this.precomputed.naf.points.slice(1), - }, - } ]; -}; - -Point$2.fromJSON = function fromJSON(curve, obj, red) { - if (typeof obj === 'string') - obj = JSON.parse(obj); - var res = curve.point(obj[0], obj[1], red); - if (!obj[2]) - return res; - - function obj2point(obj) { - return curve.point(obj[0], obj[1], red); - } - - var pre = obj[2]; - res.precomputed = { - beta: null, - doubles: pre.doubles && { - step: pre.doubles.step, - points: [ res ].concat(pre.doubles.points.map(obj2point)), - }, - naf: pre.naf && { - wnd: pre.naf.wnd, - points: [ res ].concat(pre.naf.points.map(obj2point)), - }, - }; - return res; -}; - -Point$2.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -Point$2.prototype.isInfinity = function isInfinity() { - return this.inf; -}; - -Point$2.prototype.add = function add(p) { - // O + P = P - if (this.inf) - return p; - - // P + O = P - if (p.inf) - return this; - - // P + P = 2P - if (this.eq(p)) - return this.dbl(); - - // P + (-P) = O - if (this.neg().eq(p)) - return this.curve.point(null, null); - - // P + Q = O - if (this.x.cmp(p.x) === 0) - return this.curve.point(null, null); - - var c = this.y.redSub(p.y); - if (c.cmpn(0) !== 0) - c = c.redMul(this.x.redSub(p.x).redInvm()); - var nx = c.redSqr().redISub(this.x).redISub(p.x); - var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); - return this.curve.point(nx, ny); -}; - -Point$2.prototype.dbl = function dbl() { - if (this.inf) - return this; - - // 2P = O - var ys1 = this.y.redAdd(this.y); - if (ys1.cmpn(0) === 0) - return this.curve.point(null, null); - - var a = this.curve.a; - - var x2 = this.x.redSqr(); - var dyinv = ys1.redInvm(); - var c = x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv); - - var nx = c.redSqr().redISub(this.x.redAdd(this.x)); - var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); - return this.curve.point(nx, ny); -}; - -Point$2.prototype.getX = function getX() { - return this.x.fromRed(); -}; - -Point$2.prototype.getY = function getY() { - return this.y.fromRed(); -}; - -Point$2.prototype.mul = function mul(k) { - k = new BN$7(k, 16); - if (this.isInfinity()) - return this; - else if (this._hasDoubles(k)) - return this.curve._fixedNafMul(this, k); - else if (this.curve.endo) - return this.curve._endoWnafMulAdd([ this ], [ k ]); - else - return this.curve._wnafMul(this, k); -}; - -Point$2.prototype.mulAdd = function mulAdd(k1, p2, k2) { - var points = [ this, p2 ]; - var coeffs = [ k1, k2 ]; - if (this.curve.endo) - return this.curve._endoWnafMulAdd(points, coeffs); - else - return this.curve._wnafMulAdd(1, points, coeffs, 2); -}; - -Point$2.prototype.jmulAdd = function jmulAdd(k1, p2, k2) { - var points = [ this, p2 ]; - var coeffs = [ k1, k2 ]; - if (this.curve.endo) - return this.curve._endoWnafMulAdd(points, coeffs, true); - else - return this.curve._wnafMulAdd(1, points, coeffs, 2, true); -}; - -Point$2.prototype.eq = function eq(p) { - return this === p || - this.inf === p.inf && - (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0); -}; - -Point$2.prototype.neg = function neg(_precompute) { - if (this.inf) - return this; - - var res = this.curve.point(this.x, this.y.redNeg()); - if (_precompute && this.precomputed) { - var pre = this.precomputed; - var negate = function(p) { - return p.neg(); - }; - res.precomputed = { - naf: pre.naf && { - wnd: pre.naf.wnd, - points: pre.naf.points.map(negate), - }, - doubles: pre.doubles && { - step: pre.doubles.step, - points: pre.doubles.points.map(negate), - }, - }; - } - return res; -}; - -Point$2.prototype.toJ = function toJ() { - if (this.inf) - return this.curve.jpoint(null, null, null); - - var res = this.curve.jpoint(this.x, this.y, this.curve.one); - return res; -}; - -function JPoint(curve, x, y, z) { - Base$2.BasePoint.call(this, curve, 'jacobian'); - if (x === null && y === null && z === null) { - this.x = this.curve.one; - this.y = this.curve.one; - this.z = new BN$7(0); - } else { - this.x = new BN$7(x, 16); - this.y = new BN$7(y, 16); - this.z = new BN$7(z, 16); - } - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - - this.zOne = this.z === this.curve.one; -} -inherits$3(JPoint, Base$2.BasePoint); - -ShortCurve.prototype.jpoint = function jpoint(x, y, z) { - return new JPoint(this, x, y, z); -}; - -JPoint.prototype.toP = function toP() { - if (this.isInfinity()) - return this.curve.point(null, null); - - var zinv = this.z.redInvm(); - var zinv2 = zinv.redSqr(); - var ax = this.x.redMul(zinv2); - var ay = this.y.redMul(zinv2).redMul(zinv); - - return this.curve.point(ax, ay); -}; - -JPoint.prototype.neg = function neg() { - return this.curve.jpoint(this.x, this.y.redNeg(), this.z); -}; - -JPoint.prototype.add = function add(p) { - // O + P = P - if (this.isInfinity()) - return p; - - // P + O = P - if (p.isInfinity()) - return this; - - // 12M + 4S + 7A - var pz2 = p.z.redSqr(); - var z2 = this.z.redSqr(); - var u1 = this.x.redMul(pz2); - var u2 = p.x.redMul(z2); - var s1 = this.y.redMul(pz2.redMul(p.z)); - var s2 = p.y.redMul(z2.redMul(this.z)); - - var h = u1.redSub(u2); - var r = s1.redSub(s2); - if (h.cmpn(0) === 0) { - if (r.cmpn(0) !== 0) - return this.curve.jpoint(null, null, null); - else - return this.dbl(); - } - - var h2 = h.redSqr(); - var h3 = h2.redMul(h); - var v = u1.redMul(h2); - - var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); - var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); - var nz = this.z.redMul(p.z).redMul(h); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.mixedAdd = function mixedAdd(p) { - // O + P = P - if (this.isInfinity()) - return p.toJ(); - - // P + O = P - if (p.isInfinity()) - return this; - - // 8M + 3S + 7A - var z2 = this.z.redSqr(); - var u1 = this.x; - var u2 = p.x.redMul(z2); - var s1 = this.y; - var s2 = p.y.redMul(z2).redMul(this.z); - - var h = u1.redSub(u2); - var r = s1.redSub(s2); - if (h.cmpn(0) === 0) { - if (r.cmpn(0) !== 0) - return this.curve.jpoint(null, null, null); - else - return this.dbl(); - } - - var h2 = h.redSqr(); - var h3 = h2.redMul(h); - var v = u1.redMul(h2); - - var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); - var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); - var nz = this.z.redMul(h); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.dblp = function dblp(pow) { - if (pow === 0) - return this; - if (this.isInfinity()) - return this; - if (!pow) - return this.dbl(); - - var i; - if (this.curve.zeroA || this.curve.threeA) { - var r = this; - for (i = 0; i < pow; i++) - r = r.dbl(); - return r; - } - - // 1M + 2S + 1A + N * (4S + 5M + 8A) - // N = 1 => 6M + 6S + 9A - var a = this.curve.a; - var tinv = this.curve.tinv; - - var jx = this.x; - var jy = this.y; - var jz = this.z; - var jz4 = jz.redSqr().redSqr(); - - // Reuse results - var jyd = jy.redAdd(jy); - for (i = 0; i < pow; i++) { - var jx2 = jx.redSqr(); - var jyd2 = jyd.redSqr(); - var jyd4 = jyd2.redSqr(); - var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); - - var t1 = jx.redMul(jyd2); - var nx = c.redSqr().redISub(t1.redAdd(t1)); - var t2 = t1.redISub(nx); - var dny = c.redMul(t2); - dny = dny.redIAdd(dny).redISub(jyd4); - var nz = jyd.redMul(jz); - if (i + 1 < pow) - jz4 = jz4.redMul(jyd4); - - jx = nx; - jz = nz; - jyd = dny; - } - - return this.curve.jpoint(jx, jyd.redMul(tinv), jz); -}; - -JPoint.prototype.dbl = function dbl() { - if (this.isInfinity()) - return this; - - if (this.curve.zeroA) - return this._zeroDbl(); - else if (this.curve.threeA) - return this._threeDbl(); - else - return this._dbl(); -}; - -JPoint.prototype._zeroDbl = function _zeroDbl() { - var nx; - var ny; - var nz; - // Z = 1 - if (this.zOne) { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html - // #doubling-mdbl-2007-bl - // 1M + 5S + 14A - - // XX = X1^2 - var xx = this.x.redSqr(); - // YY = Y1^2 - var yy = this.y.redSqr(); - // YYYY = YY^2 - var yyyy = yy.redSqr(); - // S = 2 * ((X1 + YY)^2 - XX - YYYY) - var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); - s = s.redIAdd(s); - // M = 3 * XX + a; a = 0 - var m = xx.redAdd(xx).redIAdd(xx); - // T = M ^ 2 - 2*S - var t = m.redSqr().redISub(s).redISub(s); - - // 8 * YYYY - var yyyy8 = yyyy.redIAdd(yyyy); - yyyy8 = yyyy8.redIAdd(yyyy8); - yyyy8 = yyyy8.redIAdd(yyyy8); - - // X3 = T - nx = t; - // Y3 = M * (S - T) - 8 * YYYY - ny = m.redMul(s.redISub(t)).redISub(yyyy8); - // Z3 = 2*Y1 - nz = this.y.redAdd(this.y); - } else { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html - // #doubling-dbl-2009-l - // 2M + 5S + 13A - - // A = X1^2 - var a = this.x.redSqr(); - // B = Y1^2 - var b = this.y.redSqr(); - // C = B^2 - var c = b.redSqr(); - // D = 2 * ((X1 + B)^2 - A - C) - var d = this.x.redAdd(b).redSqr().redISub(a).redISub(c); - d = d.redIAdd(d); - // E = 3 * A - var e = a.redAdd(a).redIAdd(a); - // F = E^2 - var f = e.redSqr(); - - // 8 * C - var c8 = c.redIAdd(c); - c8 = c8.redIAdd(c8); - c8 = c8.redIAdd(c8); - - // X3 = F - 2 * D - nx = f.redISub(d).redISub(d); - // Y3 = E * (D - X3) - 8 * C - ny = e.redMul(d.redISub(nx)).redISub(c8); - // Z3 = 2 * Y1 * Z1 - nz = this.y.redMul(this.z); - nz = nz.redIAdd(nz); - } - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype._threeDbl = function _threeDbl() { - var nx; - var ny; - var nz; - // Z = 1 - if (this.zOne) { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html - // #doubling-mdbl-2007-bl - // 1M + 5S + 15A - - // XX = X1^2 - var xx = this.x.redSqr(); - // YY = Y1^2 - var yy = this.y.redSqr(); - // YYYY = YY^2 - var yyyy = yy.redSqr(); - // S = 2 * ((X1 + YY)^2 - XX - YYYY) - var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); - s = s.redIAdd(s); - // M = 3 * XX + a - var m = xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a); - // T = M^2 - 2 * S - var t = m.redSqr().redISub(s).redISub(s); - // X3 = T - nx = t; - // Y3 = M * (S - T) - 8 * YYYY - var yyyy8 = yyyy.redIAdd(yyyy); - yyyy8 = yyyy8.redIAdd(yyyy8); - yyyy8 = yyyy8.redIAdd(yyyy8); - ny = m.redMul(s.redISub(t)).redISub(yyyy8); - // Z3 = 2 * Y1 - nz = this.y.redAdd(this.y); - } else { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b - // 3M + 5S - - // delta = Z1^2 - var delta = this.z.redSqr(); - // gamma = Y1^2 - var gamma = this.y.redSqr(); - // beta = X1 * gamma - var beta = this.x.redMul(gamma); - // alpha = 3 * (X1 - delta) * (X1 + delta) - var alpha = this.x.redSub(delta).redMul(this.x.redAdd(delta)); - alpha = alpha.redAdd(alpha).redIAdd(alpha); - // X3 = alpha^2 - 8 * beta - var beta4 = beta.redIAdd(beta); - beta4 = beta4.redIAdd(beta4); - var beta8 = beta4.redAdd(beta4); - nx = alpha.redSqr().redISub(beta8); - // Z3 = (Y1 + Z1)^2 - gamma - delta - nz = this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta); - // Y3 = alpha * (4 * beta - X3) - 8 * gamma^2 - var ggamma8 = gamma.redSqr(); - ggamma8 = ggamma8.redIAdd(ggamma8); - ggamma8 = ggamma8.redIAdd(ggamma8); - ggamma8 = ggamma8.redIAdd(ggamma8); - ny = alpha.redMul(beta4.redISub(nx)).redISub(ggamma8); - } - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype._dbl = function _dbl() { - var a = this.curve.a; - - // 4M + 6S + 10A - var jx = this.x; - var jy = this.y; - var jz = this.z; - var jz4 = jz.redSqr().redSqr(); - - var jx2 = jx.redSqr(); - var jy2 = jy.redSqr(); - - var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); - - var jxd4 = jx.redAdd(jx); - jxd4 = jxd4.redIAdd(jxd4); - var t1 = jxd4.redMul(jy2); - var nx = c.redSqr().redISub(t1.redAdd(t1)); - var t2 = t1.redISub(nx); - - var jyd8 = jy2.redSqr(); - jyd8 = jyd8.redIAdd(jyd8); - jyd8 = jyd8.redIAdd(jyd8); - jyd8 = jyd8.redIAdd(jyd8); - var ny = c.redMul(t2).redISub(jyd8); - var nz = jy.redAdd(jy).redMul(jz); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.trpl = function trpl() { - if (!this.curve.zeroA) - return this.dbl().add(this); - - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#tripling-tpl-2007-bl - // 5M + 10S + ... - - // XX = X1^2 - var xx = this.x.redSqr(); - // YY = Y1^2 - var yy = this.y.redSqr(); - // ZZ = Z1^2 - var zz = this.z.redSqr(); - // YYYY = YY^2 - var yyyy = yy.redSqr(); - // M = 3 * XX + a * ZZ2; a = 0 - var m = xx.redAdd(xx).redIAdd(xx); - // MM = M^2 - var mm = m.redSqr(); - // E = 6 * ((X1 + YY)^2 - XX - YYYY) - MM - var e = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); - e = e.redIAdd(e); - e = e.redAdd(e).redIAdd(e); - e = e.redISub(mm); - // EE = E^2 - var ee = e.redSqr(); - // T = 16*YYYY - var t = yyyy.redIAdd(yyyy); - t = t.redIAdd(t); - t = t.redIAdd(t); - t = t.redIAdd(t); - // U = (M + E)^2 - MM - EE - T - var u = m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t); - // X3 = 4 * (X1 * EE - 4 * YY * U) - var yyu4 = yy.redMul(u); - yyu4 = yyu4.redIAdd(yyu4); - yyu4 = yyu4.redIAdd(yyu4); - var nx = this.x.redMul(ee).redISub(yyu4); - nx = nx.redIAdd(nx); - nx = nx.redIAdd(nx); - // Y3 = 8 * Y1 * (U * (T - U) - E * EE) - var ny = this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee))); - ny = ny.redIAdd(ny); - ny = ny.redIAdd(ny); - ny = ny.redIAdd(ny); - // Z3 = (Z1 + E)^2 - ZZ - EE - var nz = this.z.redAdd(e).redSqr().redISub(zz).redISub(ee); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.mul = function mul(k, kbase) { - k = new BN$7(k, kbase); - - return this.curve._wnafMul(this, k); -}; - -JPoint.prototype.eq = function eq(p) { - if (p.type === 'affine') - return this.eq(p.toJ()); - - if (this === p) - return true; - - // x1 * z2^2 == x2 * z1^2 - var z2 = this.z.redSqr(); - var pz2 = p.z.redSqr(); - if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0) - return false; - - // y1 * z2^3 == y2 * z1^3 - var z3 = z2.redMul(this.z); - var pz3 = pz2.redMul(p.z); - return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0; -}; - -JPoint.prototype.eqXToP = function eqXToP(x) { - var zs = this.z.redSqr(); - var rx = x.toRed(this.curve.red).redMul(zs); - if (this.x.cmp(rx) === 0) - return true; - - var xc = x.clone(); - var t = this.curve.redN.redMul(zs); - for (;;) { - xc.iadd(this.curve.n); - if (xc.cmp(this.curve.p) >= 0) - return false; - - rx.redIAdd(t); - if (this.x.cmp(rx) === 0) - return true; - } -}; - -JPoint.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -JPoint.prototype.isInfinity = function isInfinity() { - // XXX This code assumes that zero is always zero in red - return this.z.cmpn(0) === 0; -}; - -var BN$6 = bn.exports; -var inherits$2 = inherits$4.exports; -var Base$1 = base$2; - -var utils$i = utils$m; - -function MontCurve(conf) { - Base$1.call(this, 'mont', conf); - - this.a = new BN$6(conf.a, 16).toRed(this.red); - this.b = new BN$6(conf.b, 16).toRed(this.red); - this.i4 = new BN$6(4).toRed(this.red).redInvm(); - this.two = new BN$6(2).toRed(this.red); - this.a24 = this.i4.redMul(this.a.redAdd(this.two)); -} -inherits$2(MontCurve, Base$1); -var mont = MontCurve; - -MontCurve.prototype.validate = function validate(point) { - var x = point.normalize().x; - var x2 = x.redSqr(); - var rhs = x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x); - var y = rhs.redSqrt(); - - return y.redSqr().cmp(rhs) === 0; -}; - -function Point$1(curve, x, z) { - Base$1.BasePoint.call(this, curve, 'projective'); - if (x === null && z === null) { - this.x = this.curve.one; - this.z = this.curve.zero; - } else { - this.x = new BN$6(x, 16); - this.z = new BN$6(z, 16); - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - } -} -inherits$2(Point$1, Base$1.BasePoint); - -MontCurve.prototype.decodePoint = function decodePoint(bytes, enc) { - return this.point(utils$i.toArray(bytes, enc), 1); -}; - -MontCurve.prototype.point = function point(x, z) { - return new Point$1(this, x, z); -}; - -MontCurve.prototype.pointFromJSON = function pointFromJSON(obj) { - return Point$1.fromJSON(this, obj); -}; - -Point$1.prototype.precompute = function precompute() { - // No-op -}; - -Point$1.prototype._encode = function _encode() { - return this.getX().toArray('be', this.curve.p.byteLength()); -}; - -Point$1.fromJSON = function fromJSON(curve, obj) { - return new Point$1(curve, obj[0], obj[1] || curve.one); -}; - -Point$1.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -Point$1.prototype.isInfinity = function isInfinity() { - // XXX This code assumes that zero is always zero in red - return this.z.cmpn(0) === 0; -}; - -Point$1.prototype.dbl = function dbl() { - // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#doubling-dbl-1987-m-3 - // 2M + 2S + 4A - - // A = X1 + Z1 - var a = this.x.redAdd(this.z); - // AA = A^2 - var aa = a.redSqr(); - // B = X1 - Z1 - var b = this.x.redSub(this.z); - // BB = B^2 - var bb = b.redSqr(); - // C = AA - BB - var c = aa.redSub(bb); - // X3 = AA * BB - var nx = aa.redMul(bb); - // Z3 = C * (BB + A24 * C) - var nz = c.redMul(bb.redAdd(this.curve.a24.redMul(c))); - return this.curve.point(nx, nz); -}; - -Point$1.prototype.add = function add() { - throw new Error('Not supported on Montgomery curve'); -}; - -Point$1.prototype.diffAdd = function diffAdd(p, diff) { - // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#diffadd-dadd-1987-m-3 - // 4M + 2S + 6A - - // A = X2 + Z2 - var a = this.x.redAdd(this.z); - // B = X2 - Z2 - var b = this.x.redSub(this.z); - // C = X3 + Z3 - var c = p.x.redAdd(p.z); - // D = X3 - Z3 - var d = p.x.redSub(p.z); - // DA = D * A - var da = d.redMul(a); - // CB = C * B - var cb = c.redMul(b); - // X5 = Z1 * (DA + CB)^2 - var nx = diff.z.redMul(da.redAdd(cb).redSqr()); - // Z5 = X1 * (DA - CB)^2 - var nz = diff.x.redMul(da.redISub(cb).redSqr()); - return this.curve.point(nx, nz); -}; - -Point$1.prototype.mul = function mul(k) { - var t = k.clone(); - var a = this; // (N / 2) * Q + Q - var b = this.curve.point(null, null); // (N / 2) * Q - var c = this; // Q - - for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1)) - bits.push(t.andln(1)); - - for (var i = bits.length - 1; i >= 0; i--) { - if (bits[i] === 0) { - // N * Q + Q = ((N / 2) * Q + Q)) + (N / 2) * Q - a = a.diffAdd(b, c); - // N * Q = 2 * ((N / 2) * Q + Q)) - b = b.dbl(); - } else { - // N * Q = ((N / 2) * Q + Q) + ((N / 2) * Q) - b = a.diffAdd(b, c); - // N * Q + Q = 2 * ((N / 2) * Q + Q) - a = a.dbl(); - } - } - return b; -}; - -Point$1.prototype.mulAdd = function mulAdd() { - throw new Error('Not supported on Montgomery curve'); -}; - -Point$1.prototype.jumlAdd = function jumlAdd() { - throw new Error('Not supported on Montgomery curve'); -}; - -Point$1.prototype.eq = function eq(other) { - return this.getX().cmp(other.getX()) === 0; -}; - -Point$1.prototype.normalize = function normalize() { - this.x = this.x.redMul(this.z.redInvm()); - this.z = this.curve.one; - return this; -}; - -Point$1.prototype.getX = function getX() { - // Normalize coordinates - this.normalize(); - - return this.x.fromRed(); -}; - -var utils$h = utils$m; -var BN$5 = bn.exports; -var inherits$1 = inherits$4.exports; -var Base = base$2; - -var assert$d = utils$h.assert; - -function EdwardsCurve(conf) { - // NOTE: Important as we are creating point in Base.call() - this.twisted = (conf.a | 0) !== 1; - this.mOneA = this.twisted && (conf.a | 0) === -1; - this.extended = this.mOneA; - - Base.call(this, 'edwards', conf); - - this.a = new BN$5(conf.a, 16).umod(this.red.m); - this.a = this.a.toRed(this.red); - this.c = new BN$5(conf.c, 16).toRed(this.red); - this.c2 = this.c.redSqr(); - this.d = new BN$5(conf.d, 16).toRed(this.red); - this.dd = this.d.redAdd(this.d); - - assert$d(!this.twisted || this.c.fromRed().cmpn(1) === 0); - this.oneC = (conf.c | 0) === 1; -} -inherits$1(EdwardsCurve, Base); -var edwards = EdwardsCurve; - -EdwardsCurve.prototype._mulA = function _mulA(num) { - if (this.mOneA) - return num.redNeg(); - else - return this.a.redMul(num); -}; - -EdwardsCurve.prototype._mulC = function _mulC(num) { - if (this.oneC) - return num; - else - return this.c.redMul(num); -}; - -// Just for compatibility with Short curve -EdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) { - return this.point(x, y, z, t); -}; - -EdwardsCurve.prototype.pointFromX = function pointFromX(x, odd) { - x = new BN$5(x, 16); - if (!x.red) - x = x.toRed(this.red); - - var x2 = x.redSqr(); - var rhs = this.c2.redSub(this.a.redMul(x2)); - var lhs = this.one.redSub(this.c2.redMul(this.d).redMul(x2)); - - var y2 = rhs.redMul(lhs.redInvm()); - var y = y2.redSqrt(); - if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) - throw new Error('invalid point'); - - var isOdd = y.fromRed().isOdd(); - if (odd && !isOdd || !odd && isOdd) - y = y.redNeg(); - - return this.point(x, y); -}; - -EdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) { - y = new BN$5(y, 16); - if (!y.red) - y = y.toRed(this.red); - - // x^2 = (y^2 - c^2) / (c^2 d y^2 - a) - var y2 = y.redSqr(); - var lhs = y2.redSub(this.c2); - var rhs = y2.redMul(this.d).redMul(this.c2).redSub(this.a); - var x2 = lhs.redMul(rhs.redInvm()); - - if (x2.cmp(this.zero) === 0) { - if (odd) - throw new Error('invalid point'); - else - return this.point(this.zero, y); - } - - var x = x2.redSqrt(); - if (x.redSqr().redSub(x2).cmp(this.zero) !== 0) - throw new Error('invalid point'); - - if (x.fromRed().isOdd() !== odd) - x = x.redNeg(); - - return this.point(x, y); -}; - -EdwardsCurve.prototype.validate = function validate(point) { - if (point.isInfinity()) - return true; - - // Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2) - point.normalize(); - - var x2 = point.x.redSqr(); - var y2 = point.y.redSqr(); - var lhs = x2.redMul(this.a).redAdd(y2); - var rhs = this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2))); - - return lhs.cmp(rhs) === 0; -}; - -function Point(curve, x, y, z, t) { - Base.BasePoint.call(this, curve, 'projective'); - if (x === null && y === null && z === null) { - this.x = this.curve.zero; - this.y = this.curve.one; - this.z = this.curve.one; - this.t = this.curve.zero; - this.zOne = true; - } else { - this.x = new BN$5(x, 16); - this.y = new BN$5(y, 16); - this.z = z ? new BN$5(z, 16) : this.curve.one; - this.t = t && new BN$5(t, 16); - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - if (this.t && !this.t.red) - this.t = this.t.toRed(this.curve.red); - this.zOne = this.z === this.curve.one; - - // Use extended coordinates - if (this.curve.extended && !this.t) { - this.t = this.x.redMul(this.y); - if (!this.zOne) - this.t = this.t.redMul(this.z.redInvm()); - } - } -} -inherits$1(Point, Base.BasePoint); - -EdwardsCurve.prototype.pointFromJSON = function pointFromJSON(obj) { - return Point.fromJSON(this, obj); -}; - -EdwardsCurve.prototype.point = function point(x, y, z, t) { - return new Point(this, x, y, z, t); -}; - -Point.fromJSON = function fromJSON(curve, obj) { - return new Point(curve, obj[0], obj[1], obj[2]); -}; - -Point.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -Point.prototype.isInfinity = function isInfinity() { - // XXX This code assumes that zero is always zero in red - return this.x.cmpn(0) === 0 && - (this.y.cmp(this.z) === 0 || - (this.zOne && this.y.cmp(this.curve.c) === 0)); -}; - -Point.prototype._extDbl = function _extDbl() { - // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html - // #doubling-dbl-2008-hwcd - // 4M + 4S - - // A = X1^2 - var a = this.x.redSqr(); - // B = Y1^2 - var b = this.y.redSqr(); - // C = 2 * Z1^2 - var c = this.z.redSqr(); - c = c.redIAdd(c); - // D = a * A - var d = this.curve._mulA(a); - // E = (X1 + Y1)^2 - A - B - var e = this.x.redAdd(this.y).redSqr().redISub(a).redISub(b); - // G = D + B - var g = d.redAdd(b); - // F = G - C - var f = g.redSub(c); - // H = D - B - var h = d.redSub(b); - // X3 = E * F - var nx = e.redMul(f); - // Y3 = G * H - var ny = g.redMul(h); - // T3 = E * H - var nt = e.redMul(h); - // Z3 = F * G - var nz = f.redMul(g); - return this.curve.point(nx, ny, nz, nt); -}; - -Point.prototype._projDbl = function _projDbl() { - // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html - // #doubling-dbl-2008-bbjlp - // #doubling-dbl-2007-bl - // and others - // Generally 3M + 4S or 2M + 4S - - // B = (X1 + Y1)^2 - var b = this.x.redAdd(this.y).redSqr(); - // C = X1^2 - var c = this.x.redSqr(); - // D = Y1^2 - var d = this.y.redSqr(); - - var nx; - var ny; - var nz; - var e; - var h; - var j; - if (this.curve.twisted) { - // E = a * C - e = this.curve._mulA(c); - // F = E + D - var f = e.redAdd(d); - if (this.zOne) { - // X3 = (B - C - D) * (F - 2) - nx = b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two)); - // Y3 = F * (E - D) - ny = f.redMul(e.redSub(d)); - // Z3 = F^2 - 2 * F - nz = f.redSqr().redSub(f).redSub(f); - } else { - // H = Z1^2 - h = this.z.redSqr(); - // J = F - 2 * H - j = f.redSub(h).redISub(h); - // X3 = (B-C-D)*J - nx = b.redSub(c).redISub(d).redMul(j); - // Y3 = F * (E - D) - ny = f.redMul(e.redSub(d)); - // Z3 = F * J - nz = f.redMul(j); - } - } else { - // E = C + D - e = c.redAdd(d); - // H = (c * Z1)^2 - h = this.curve._mulC(this.z).redSqr(); - // J = E - 2 * H - j = e.redSub(h).redSub(h); - // X3 = c * (B - E) * J - nx = this.curve._mulC(b.redISub(e)).redMul(j); - // Y3 = c * E * (C - D) - ny = this.curve._mulC(e).redMul(c.redISub(d)); - // Z3 = E * J - nz = e.redMul(j); - } - return this.curve.point(nx, ny, nz); -}; - -Point.prototype.dbl = function dbl() { - if (this.isInfinity()) - return this; - - // Double in extended coordinates - if (this.curve.extended) - return this._extDbl(); - else - return this._projDbl(); -}; - -Point.prototype._extAdd = function _extAdd(p) { - // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html - // #addition-add-2008-hwcd-3 - // 8M - - // A = (Y1 - X1) * (Y2 - X2) - var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x)); - // B = (Y1 + X1) * (Y2 + X2) - var b = this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)); - // C = T1 * k * T2 - var c = this.t.redMul(this.curve.dd).redMul(p.t); - // D = Z1 * 2 * Z2 - var d = this.z.redMul(p.z.redAdd(p.z)); - // E = B - A - var e = b.redSub(a); - // F = D - C - var f = d.redSub(c); - // G = D + C - var g = d.redAdd(c); - // H = B + A - var h = b.redAdd(a); - // X3 = E * F - var nx = e.redMul(f); - // Y3 = G * H - var ny = g.redMul(h); - // T3 = E * H - var nt = e.redMul(h); - // Z3 = F * G - var nz = f.redMul(g); - return this.curve.point(nx, ny, nz, nt); -}; - -Point.prototype._projAdd = function _projAdd(p) { - // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html - // #addition-add-2008-bbjlp - // #addition-add-2007-bl - // 10M + 1S - - // A = Z1 * Z2 - var a = this.z.redMul(p.z); - // B = A^2 - var b = a.redSqr(); - // C = X1 * X2 - var c = this.x.redMul(p.x); - // D = Y1 * Y2 - var d = this.y.redMul(p.y); - // E = d * C * D - var e = this.curve.d.redMul(c).redMul(d); - // F = B - E - var f = b.redSub(e); - // G = B + E - var g = b.redAdd(e); - // X3 = A * F * ((X1 + Y1) * (X2 + Y2) - C - D) - var tmp = this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d); - var nx = a.redMul(f).redMul(tmp); - var ny; - var nz; - if (this.curve.twisted) { - // Y3 = A * G * (D - a * C) - ny = a.redMul(g).redMul(d.redSub(this.curve._mulA(c))); - // Z3 = F * G - nz = f.redMul(g); - } else { - // Y3 = A * G * (D - C) - ny = a.redMul(g).redMul(d.redSub(c)); - // Z3 = c * F * G - nz = this.curve._mulC(f).redMul(g); - } - return this.curve.point(nx, ny, nz); -}; - -Point.prototype.add = function add(p) { - if (this.isInfinity()) - return p; - if (p.isInfinity()) - return this; - - if (this.curve.extended) - return this._extAdd(p); - else - return this._projAdd(p); -}; - -Point.prototype.mul = function mul(k) { - if (this._hasDoubles(k)) - return this.curve._fixedNafMul(this, k); - else - return this.curve._wnafMul(this, k); -}; - -Point.prototype.mulAdd = function mulAdd(k1, p, k2) { - return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, false); -}; - -Point.prototype.jmulAdd = function jmulAdd(k1, p, k2) { - return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, true); -}; - -Point.prototype.normalize = function normalize() { - if (this.zOne) - return this; - - // Normalize coordinates - var zi = this.z.redInvm(); - this.x = this.x.redMul(zi); - this.y = this.y.redMul(zi); - if (this.t) - this.t = this.t.redMul(zi); - this.z = this.curve.one; - this.zOne = true; - return this; -}; - -Point.prototype.neg = function neg() { - return this.curve.point(this.x.redNeg(), - this.y, - this.z, - this.t && this.t.redNeg()); -}; - -Point.prototype.getX = function getX() { - this.normalize(); - return this.x.fromRed(); -}; - -Point.prototype.getY = function getY() { - this.normalize(); - return this.y.fromRed(); -}; - -Point.prototype.eq = function eq(other) { - return this === other || - this.getX().cmp(other.getX()) === 0 && - this.getY().cmp(other.getY()) === 0; -}; - -Point.prototype.eqXToP = function eqXToP(x) { - var rx = x.toRed(this.curve.red).redMul(this.z); - if (this.x.cmp(rx) === 0) - return true; - - var xc = x.clone(); - var t = this.curve.redN.redMul(this.z); - for (;;) { - xc.iadd(this.curve.n); - if (xc.cmp(this.curve.p) >= 0) - return false; - - rx.redIAdd(t); - if (this.x.cmp(rx) === 0) - return true; - } -}; - -// Compatibility with BaseCurve -Point.prototype.toP = Point.prototype.normalize; -Point.prototype.mixedAdd = Point.prototype.add; - -(function (exports) { - - var curve = exports; - - curve.base = base$2; - curve.short = short; - curve.mont = mont; - curve.edwards = edwards; -} (curve)); - -var curves$2 = {}; - -var hash$2 = {}; - -var utils$g = {}; - -var assert$c = minimalisticAssert; -var inherits = inherits$4.exports; - -utils$g.inherits = inherits; - -function isSurrogatePair(msg, i) { - if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) { - return false; - } - if (i < 0 || i + 1 >= msg.length) { - return false; - } - return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00; -} - -function toArray(msg, enc) { - if (Array.isArray(msg)) - return msg.slice(); - if (!msg) - return []; - var res = []; - if (typeof msg === 'string') { - if (!enc) { - // Inspired by stringToUtf8ByteArray() in closure-library by Google - // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143 - // Apache License 2.0 - // https://github.com/google/closure-library/blob/master/LICENSE - var p = 0; - for (var i = 0; i < msg.length; i++) { - var c = msg.charCodeAt(i); - if (c < 128) { - res[p++] = c; - } else if (c < 2048) { - res[p++] = (c >> 6) | 192; - res[p++] = (c & 63) | 128; - } else if (isSurrogatePair(msg, i)) { - c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF); - res[p++] = (c >> 18) | 240; - res[p++] = ((c >> 12) & 63) | 128; - res[p++] = ((c >> 6) & 63) | 128; - res[p++] = (c & 63) | 128; - } else { - res[p++] = (c >> 12) | 224; - res[p++] = ((c >> 6) & 63) | 128; - res[p++] = (c & 63) | 128; - } - } - } else if (enc === 'hex') { - msg = msg.replace(/[^a-z0-9]+/ig, ''); - if (msg.length % 2 !== 0) - msg = '0' + msg; - for (i = 0; i < msg.length; i += 2) - res.push(parseInt(msg[i] + msg[i + 1], 16)); - } - } else { - for (i = 0; i < msg.length; i++) - res[i] = msg[i] | 0; - } - return res; -} -utils$g.toArray = toArray; - -function toHex(msg) { - var res = ''; - for (var i = 0; i < msg.length; i++) - res += zero2(msg[i].toString(16)); - return res; -} -utils$g.toHex = toHex; - -function htonl(w) { - var res = (w >>> 24) | - ((w >>> 8) & 0xff00) | - ((w << 8) & 0xff0000) | - ((w & 0xff) << 24); - return res >>> 0; -} -utils$g.htonl = htonl; - -function toHex32(msg, endian) { - var res = ''; - for (var i = 0; i < msg.length; i++) { - var w = msg[i]; - if (endian === 'little') - w = htonl(w); - res += zero8(w.toString(16)); - } - return res; -} -utils$g.toHex32 = toHex32; - -function zero2(word) { - if (word.length === 1) - return '0' + word; - else - return word; -} -utils$g.zero2 = zero2; - -function zero8(word) { - if (word.length === 7) - return '0' + word; - else if (word.length === 6) - return '00' + word; - else if (word.length === 5) - return '000' + word; - else if (word.length === 4) - return '0000' + word; - else if (word.length === 3) - return '00000' + word; - else if (word.length === 2) - return '000000' + word; - else if (word.length === 1) - return '0000000' + word; - else - return word; -} -utils$g.zero8 = zero8; - -function join32(msg, start, end, endian) { - var len = end - start; - assert$c(len % 4 === 0); - var res = new Array(len / 4); - for (var i = 0, k = start; i < res.length; i++, k += 4) { - var w; - if (endian === 'big') - w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3]; - else - w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k]; - res[i] = w >>> 0; - } - return res; -} -utils$g.join32 = join32; - -function split32(msg, endian) { - var res = new Array(msg.length * 4); - for (var i = 0, k = 0; i < msg.length; i++, k += 4) { - var m = msg[i]; - if (endian === 'big') { - res[k] = m >>> 24; - res[k + 1] = (m >>> 16) & 0xff; - res[k + 2] = (m >>> 8) & 0xff; - res[k + 3] = m & 0xff; - } else { - res[k + 3] = m >>> 24; - res[k + 2] = (m >>> 16) & 0xff; - res[k + 1] = (m >>> 8) & 0xff; - res[k] = m & 0xff; - } - } - return res; -} -utils$g.split32 = split32; - -function rotr32$1(w, b) { - return (w >>> b) | (w << (32 - b)); -} -utils$g.rotr32 = rotr32$1; - -function rotl32$2(w, b) { - return (w << b) | (w >>> (32 - b)); -} -utils$g.rotl32 = rotl32$2; - -function sum32$3(a, b) { - return (a + b) >>> 0; -} -utils$g.sum32 = sum32$3; - -function sum32_3$1(a, b, c) { - return (a + b + c) >>> 0; -} -utils$g.sum32_3 = sum32_3$1; - -function sum32_4$2(a, b, c, d) { - return (a + b + c + d) >>> 0; -} -utils$g.sum32_4 = sum32_4$2; - -function sum32_5$2(a, b, c, d, e) { - return (a + b + c + d + e) >>> 0; -} -utils$g.sum32_5 = sum32_5$2; - -function sum64$1(buf, pos, ah, al) { - var bh = buf[pos]; - var bl = buf[pos + 1]; - - var lo = (al + bl) >>> 0; - var hi = (lo < al ? 1 : 0) + ah + bh; - buf[pos] = hi >>> 0; - buf[pos + 1] = lo; -} -utils$g.sum64 = sum64$1; - -function sum64_hi$1(ah, al, bh, bl) { - var lo = (al + bl) >>> 0; - var hi = (lo < al ? 1 : 0) + ah + bh; - return hi >>> 0; -} -utils$g.sum64_hi = sum64_hi$1; - -function sum64_lo$1(ah, al, bh, bl) { - var lo = al + bl; - return lo >>> 0; -} -utils$g.sum64_lo = sum64_lo$1; - -function sum64_4_hi$1(ah, al, bh, bl, ch, cl, dh, dl) { - var carry = 0; - var lo = al; - lo = (lo + bl) >>> 0; - carry += lo < al ? 1 : 0; - lo = (lo + cl) >>> 0; - carry += lo < cl ? 1 : 0; - lo = (lo + dl) >>> 0; - carry += lo < dl ? 1 : 0; - - var hi = ah + bh + ch + dh + carry; - return hi >>> 0; -} -utils$g.sum64_4_hi = sum64_4_hi$1; - -function sum64_4_lo$1(ah, al, bh, bl, ch, cl, dh, dl) { - var lo = al + bl + cl + dl; - return lo >>> 0; -} -utils$g.sum64_4_lo = sum64_4_lo$1; - -function sum64_5_hi$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { - var carry = 0; - var lo = al; - lo = (lo + bl) >>> 0; - carry += lo < al ? 1 : 0; - lo = (lo + cl) >>> 0; - carry += lo < cl ? 1 : 0; - lo = (lo + dl) >>> 0; - carry += lo < dl ? 1 : 0; - lo = (lo + el) >>> 0; - carry += lo < el ? 1 : 0; - - var hi = ah + bh + ch + dh + eh + carry; - return hi >>> 0; -} -utils$g.sum64_5_hi = sum64_5_hi$1; - -function sum64_5_lo$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { - var lo = al + bl + cl + dl + el; - - return lo >>> 0; -} -utils$g.sum64_5_lo = sum64_5_lo$1; - -function rotr64_hi$1(ah, al, num) { - var r = (al << (32 - num)) | (ah >>> num); - return r >>> 0; -} -utils$g.rotr64_hi = rotr64_hi$1; - -function rotr64_lo$1(ah, al, num) { - var r = (ah << (32 - num)) | (al >>> num); - return r >>> 0; -} -utils$g.rotr64_lo = rotr64_lo$1; - -function shr64_hi$1(ah, al, num) { - return ah >>> num; -} -utils$g.shr64_hi = shr64_hi$1; - -function shr64_lo$1(ah, al, num) { - var r = (ah << (32 - num)) | (al >>> num); - return r >>> 0; -} -utils$g.shr64_lo = shr64_lo$1; - -var common$5 = {}; - -var utils$f = utils$g; -var assert$b = minimalisticAssert; - -function BlockHash$4() { - this.pending = null; - this.pendingTotal = 0; - this.blockSize = this.constructor.blockSize; - this.outSize = this.constructor.outSize; - this.hmacStrength = this.constructor.hmacStrength; - this.padLength = this.constructor.padLength / 8; - this.endian = 'big'; - - this._delta8 = this.blockSize / 8; - this._delta32 = this.blockSize / 32; -} -common$5.BlockHash = BlockHash$4; - -BlockHash$4.prototype.update = function update(msg, enc) { - // Convert message to array, pad it, and join into 32bit blocks - msg = utils$f.toArray(msg, enc); - if (!this.pending) - this.pending = msg; - else - this.pending = this.pending.concat(msg); - this.pendingTotal += msg.length; - - // Enough data, try updating - if (this.pending.length >= this._delta8) { - msg = this.pending; - - // Process pending data in blocks - var r = msg.length % this._delta8; - this.pending = msg.slice(msg.length - r, msg.length); - if (this.pending.length === 0) - this.pending = null; - - msg = utils$f.join32(msg, 0, msg.length - r, this.endian); - for (var i = 0; i < msg.length; i += this._delta32) - this._update(msg, i, i + this._delta32); - } - - return this; -}; - -BlockHash$4.prototype.digest = function digest(enc) { - this.update(this._pad()); - assert$b(this.pending === null); - - return this._digest(enc); -}; - -BlockHash$4.prototype._pad = function pad() { - var len = this.pendingTotal; - var bytes = this._delta8; - var k = bytes - ((len + this.padLength) % bytes); - var res = new Array(k + this.padLength); - res[0] = 0x80; - for (var i = 1; i < k; i++) - res[i] = 0; - - // Append length - len <<= 3; - if (this.endian === 'big') { - for (var t = 8; t < this.padLength; t++) - res[i++] = 0; - - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - res[i++] = (len >>> 24) & 0xff; - res[i++] = (len >>> 16) & 0xff; - res[i++] = (len >>> 8) & 0xff; - res[i++] = len & 0xff; - } else { - res[i++] = len & 0xff; - res[i++] = (len >>> 8) & 0xff; - res[i++] = (len >>> 16) & 0xff; - res[i++] = (len >>> 24) & 0xff; - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - - for (t = 8; t < this.padLength; t++) - res[i++] = 0; - } - - return res; -}; - -var sha = {}; - -var common$4 = {}; - -var utils$e = utils$g; -var rotr32 = utils$e.rotr32; - -function ft_1$1(s, x, y, z) { - if (s === 0) - return ch32$1(x, y, z); - if (s === 1 || s === 3) - return p32(x, y, z); - if (s === 2) - return maj32$1(x, y, z); -} -common$4.ft_1 = ft_1$1; - -function ch32$1(x, y, z) { - return (x & y) ^ ((~x) & z); -} -common$4.ch32 = ch32$1; - -function maj32$1(x, y, z) { - return (x & y) ^ (x & z) ^ (y & z); -} -common$4.maj32 = maj32$1; - -function p32(x, y, z) { - return x ^ y ^ z; -} -common$4.p32 = p32; - -function s0_256$1(x) { - return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22); -} -common$4.s0_256 = s0_256$1; - -function s1_256$1(x) { - return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25); -} -common$4.s1_256 = s1_256$1; - -function g0_256$1(x) { - return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3); -} -common$4.g0_256 = g0_256$1; - -function g1_256$1(x) { - return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10); -} -common$4.g1_256 = g1_256$1; - -var utils$d = utils$g; -var common$3 = common$5; -var shaCommon$1 = common$4; - -var rotl32$1 = utils$d.rotl32; -var sum32$2 = utils$d.sum32; -var sum32_5$1 = utils$d.sum32_5; -var ft_1 = shaCommon$1.ft_1; -var BlockHash$3 = common$3.BlockHash; - -var sha1_K = [ - 0x5A827999, 0x6ED9EBA1, - 0x8F1BBCDC, 0xCA62C1D6 -]; - -function SHA1() { - if (!(this instanceof SHA1)) - return new SHA1(); - - BlockHash$3.call(this); - this.h = [ - 0x67452301, 0xefcdab89, 0x98badcfe, - 0x10325476, 0xc3d2e1f0 ]; - this.W = new Array(80); -} - -utils$d.inherits(SHA1, BlockHash$3); -var _1 = SHA1; - -SHA1.blockSize = 512; -SHA1.outSize = 160; -SHA1.hmacStrength = 80; -SHA1.padLength = 64; - -SHA1.prototype._update = function _update(msg, start) { - var W = this.W; - - for (var i = 0; i < 16; i++) - W[i] = msg[start + i]; - - for(; i < W.length; i++) - W[i] = rotl32$1(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1); - - var a = this.h[0]; - var b = this.h[1]; - var c = this.h[2]; - var d = this.h[3]; - var e = this.h[4]; - - for (i = 0; i < W.length; i++) { - var s = ~~(i / 20); - var t = sum32_5$1(rotl32$1(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]); - e = d; - d = c; - c = rotl32$1(b, 30); - b = a; - a = t; - } - - this.h[0] = sum32$2(this.h[0], a); - this.h[1] = sum32$2(this.h[1], b); - this.h[2] = sum32$2(this.h[2], c); - this.h[3] = sum32$2(this.h[3], d); - this.h[4] = sum32$2(this.h[4], e); -}; - -SHA1.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$d.toHex32(this.h, 'big'); - else - return utils$d.split32(this.h, 'big'); -}; - -var utils$c = utils$g; -var common$2 = common$5; -var shaCommon = common$4; -var assert$a = minimalisticAssert; - -var sum32$1 = utils$c.sum32; -var sum32_4$1 = utils$c.sum32_4; -var sum32_5 = utils$c.sum32_5; -var ch32 = shaCommon.ch32; -var maj32 = shaCommon.maj32; -var s0_256 = shaCommon.s0_256; -var s1_256 = shaCommon.s1_256; -var g0_256 = shaCommon.g0_256; -var g1_256 = shaCommon.g1_256; - -var BlockHash$2 = common$2.BlockHash; - -var sha256_K = [ - 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, - 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, - 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, - 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, - 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, - 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, - 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, - 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, - 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, - 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, - 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, - 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, - 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, - 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, - 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, - 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 -]; - -function SHA256$1() { - if (!(this instanceof SHA256$1)) - return new SHA256$1(); - - BlockHash$2.call(this); - this.h = [ - 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, - 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 - ]; - this.k = sha256_K; - this.W = new Array(64); -} -utils$c.inherits(SHA256$1, BlockHash$2); -var _256 = SHA256$1; - -SHA256$1.blockSize = 512; -SHA256$1.outSize = 256; -SHA256$1.hmacStrength = 192; -SHA256$1.padLength = 64; - -SHA256$1.prototype._update = function _update(msg, start) { - var W = this.W; - - for (var i = 0; i < 16; i++) - W[i] = msg[start + i]; - for (; i < W.length; i++) - W[i] = sum32_4$1(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]); - - var a = this.h[0]; - var b = this.h[1]; - var c = this.h[2]; - var d = this.h[3]; - var e = this.h[4]; - var f = this.h[5]; - var g = this.h[6]; - var h = this.h[7]; - - assert$a(this.k.length === W.length); - for (i = 0; i < W.length; i++) { - var T1 = sum32_5(h, s1_256(e), ch32(e, f, g), this.k[i], W[i]); - var T2 = sum32$1(s0_256(a), maj32(a, b, c)); - h = g; - g = f; - f = e; - e = sum32$1(d, T1); - d = c; - c = b; - b = a; - a = sum32$1(T1, T2); - } - - this.h[0] = sum32$1(this.h[0], a); - this.h[1] = sum32$1(this.h[1], b); - this.h[2] = sum32$1(this.h[2], c); - this.h[3] = sum32$1(this.h[3], d); - this.h[4] = sum32$1(this.h[4], e); - this.h[5] = sum32$1(this.h[5], f); - this.h[6] = sum32$1(this.h[6], g); - this.h[7] = sum32$1(this.h[7], h); -}; - -SHA256$1.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$c.toHex32(this.h, 'big'); - else - return utils$c.split32(this.h, 'big'); -}; - -var utils$b = utils$g; -var SHA256 = _256; - -function SHA224() { - if (!(this instanceof SHA224)) - return new SHA224(); - - SHA256.call(this); - this.h = [ - 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939, - 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ]; -} -utils$b.inherits(SHA224, SHA256); -var _224 = SHA224; - -SHA224.blockSize = 512; -SHA224.outSize = 224; -SHA224.hmacStrength = 192; -SHA224.padLength = 64; - -SHA224.prototype._digest = function digest(enc) { - // Just truncate output - if (enc === 'hex') - return utils$b.toHex32(this.h.slice(0, 7), 'big'); - else - return utils$b.split32(this.h.slice(0, 7), 'big'); -}; - -var utils$a = utils$g; -var common$1 = common$5; -var assert$9 = minimalisticAssert; - -var rotr64_hi = utils$a.rotr64_hi; -var rotr64_lo = utils$a.rotr64_lo; -var shr64_hi = utils$a.shr64_hi; -var shr64_lo = utils$a.shr64_lo; -var sum64 = utils$a.sum64; -var sum64_hi = utils$a.sum64_hi; -var sum64_lo = utils$a.sum64_lo; -var sum64_4_hi = utils$a.sum64_4_hi; -var sum64_4_lo = utils$a.sum64_4_lo; -var sum64_5_hi = utils$a.sum64_5_hi; -var sum64_5_lo = utils$a.sum64_5_lo; - -var BlockHash$1 = common$1.BlockHash; - -var sha512_K = [ - 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd, - 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc, - 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019, - 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118, - 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe, - 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2, - 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1, - 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694, - 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3, - 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65, - 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483, - 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5, - 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210, - 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4, - 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725, - 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70, - 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926, - 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df, - 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8, - 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b, - 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001, - 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30, - 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910, - 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8, - 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53, - 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8, - 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb, - 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3, - 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60, - 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec, - 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9, - 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b, - 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207, - 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178, - 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6, - 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b, - 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493, - 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c, - 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a, - 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817 -]; - -function SHA512$1() { - if (!(this instanceof SHA512$1)) - return new SHA512$1(); - - BlockHash$1.call(this); - this.h = [ - 0x6a09e667, 0xf3bcc908, - 0xbb67ae85, 0x84caa73b, - 0x3c6ef372, 0xfe94f82b, - 0xa54ff53a, 0x5f1d36f1, - 0x510e527f, 0xade682d1, - 0x9b05688c, 0x2b3e6c1f, - 0x1f83d9ab, 0xfb41bd6b, - 0x5be0cd19, 0x137e2179 ]; - this.k = sha512_K; - this.W = new Array(160); -} -utils$a.inherits(SHA512$1, BlockHash$1); -var _512 = SHA512$1; - -SHA512$1.blockSize = 1024; -SHA512$1.outSize = 512; -SHA512$1.hmacStrength = 192; -SHA512$1.padLength = 128; - -SHA512$1.prototype._prepareBlock = function _prepareBlock(msg, start) { - var W = this.W; - - // 32 x 32bit words - for (var i = 0; i < 32; i++) - W[i] = msg[start + i]; - for (; i < W.length; i += 2) { - var c0_hi = g1_512_hi(W[i - 4], W[i - 3]); // i - 2 - var c0_lo = g1_512_lo(W[i - 4], W[i - 3]); - var c1_hi = W[i - 14]; // i - 7 - var c1_lo = W[i - 13]; - var c2_hi = g0_512_hi(W[i - 30], W[i - 29]); // i - 15 - var c2_lo = g0_512_lo(W[i - 30], W[i - 29]); - var c3_hi = W[i - 32]; // i - 16 - var c3_lo = W[i - 31]; - - W[i] = sum64_4_hi( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo); - W[i + 1] = sum64_4_lo( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo); - } -}; - -SHA512$1.prototype._update = function _update(msg, start) { - this._prepareBlock(msg, start); - - var W = this.W; - - var ah = this.h[0]; - var al = this.h[1]; - var bh = this.h[2]; - var bl = this.h[3]; - var ch = this.h[4]; - var cl = this.h[5]; - var dh = this.h[6]; - var dl = this.h[7]; - var eh = this.h[8]; - var el = this.h[9]; - var fh = this.h[10]; - var fl = this.h[11]; - var gh = this.h[12]; - var gl = this.h[13]; - var hh = this.h[14]; - var hl = this.h[15]; - - assert$9(this.k.length === W.length); - for (var i = 0; i < W.length; i += 2) { - var c0_hi = hh; - var c0_lo = hl; - var c1_hi = s1_512_hi(eh, el); - var c1_lo = s1_512_lo(eh, el); - var c2_hi = ch64_hi(eh, el, fh, fl, gh); - var c2_lo = ch64_lo(eh, el, fh, fl, gh, gl); - var c3_hi = this.k[i]; - var c3_lo = this.k[i + 1]; - var c4_hi = W[i]; - var c4_lo = W[i + 1]; - - var T1_hi = sum64_5_hi( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo, - c4_hi, c4_lo); - var T1_lo = sum64_5_lo( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo, - c4_hi, c4_lo); - - c0_hi = s0_512_hi(ah, al); - c0_lo = s0_512_lo(ah, al); - c1_hi = maj64_hi(ah, al, bh, bl, ch); - c1_lo = maj64_lo(ah, al, bh, bl, ch, cl); - - var T2_hi = sum64_hi(c0_hi, c0_lo, c1_hi, c1_lo); - var T2_lo = sum64_lo(c0_hi, c0_lo, c1_hi, c1_lo); - - hh = gh; - hl = gl; - - gh = fh; - gl = fl; - - fh = eh; - fl = el; - - eh = sum64_hi(dh, dl, T1_hi, T1_lo); - el = sum64_lo(dl, dl, T1_hi, T1_lo); - - dh = ch; - dl = cl; - - ch = bh; - cl = bl; - - bh = ah; - bl = al; - - ah = sum64_hi(T1_hi, T1_lo, T2_hi, T2_lo); - al = sum64_lo(T1_hi, T1_lo, T2_hi, T2_lo); - } - - sum64(this.h, 0, ah, al); - sum64(this.h, 2, bh, bl); - sum64(this.h, 4, ch, cl); - sum64(this.h, 6, dh, dl); - sum64(this.h, 8, eh, el); - sum64(this.h, 10, fh, fl); - sum64(this.h, 12, gh, gl); - sum64(this.h, 14, hh, hl); -}; - -SHA512$1.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$a.toHex32(this.h, 'big'); - else - return utils$a.split32(this.h, 'big'); -}; - -function ch64_hi(xh, xl, yh, yl, zh) { - var r = (xh & yh) ^ ((~xh) & zh); - if (r < 0) - r += 0x100000000; - return r; -} - -function ch64_lo(xh, xl, yh, yl, zh, zl) { - var r = (xl & yl) ^ ((~xl) & zl); - if (r < 0) - r += 0x100000000; - return r; -} - -function maj64_hi(xh, xl, yh, yl, zh) { - var r = (xh & yh) ^ (xh & zh) ^ (yh & zh); - if (r < 0) - r += 0x100000000; - return r; -} - -function maj64_lo(xh, xl, yh, yl, zh, zl) { - var r = (xl & yl) ^ (xl & zl) ^ (yl & zl); - if (r < 0) - r += 0x100000000; - return r; -} - -function s0_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 28); - var c1_hi = rotr64_hi(xl, xh, 2); // 34 - var c2_hi = rotr64_hi(xl, xh, 7); // 39 - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function s0_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 28); - var c1_lo = rotr64_lo(xl, xh, 2); // 34 - var c2_lo = rotr64_lo(xl, xh, 7); // 39 - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -function s1_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 14); - var c1_hi = rotr64_hi(xh, xl, 18); - var c2_hi = rotr64_hi(xl, xh, 9); // 41 - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function s1_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 14); - var c1_lo = rotr64_lo(xh, xl, 18); - var c2_lo = rotr64_lo(xl, xh, 9); // 41 - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -function g0_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 1); - var c1_hi = rotr64_hi(xh, xl, 8); - var c2_hi = shr64_hi(xh, xl, 7); - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function g0_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 1); - var c1_lo = rotr64_lo(xh, xl, 8); - var c2_lo = shr64_lo(xh, xl, 7); - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -function g1_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 19); - var c1_hi = rotr64_hi(xl, xh, 29); // 61 - var c2_hi = shr64_hi(xh, xl, 6); - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function g1_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 19); - var c1_lo = rotr64_lo(xl, xh, 29); // 61 - var c2_lo = shr64_lo(xh, xl, 6); - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -var utils$9 = utils$g; - -var SHA512 = _512; - -function SHA384() { - if (!(this instanceof SHA384)) - return new SHA384(); - - SHA512.call(this); - this.h = [ - 0xcbbb9d5d, 0xc1059ed8, - 0x629a292a, 0x367cd507, - 0x9159015a, 0x3070dd17, - 0x152fecd8, 0xf70e5939, - 0x67332667, 0xffc00b31, - 0x8eb44a87, 0x68581511, - 0xdb0c2e0d, 0x64f98fa7, - 0x47b5481d, 0xbefa4fa4 ]; -} -utils$9.inherits(SHA384, SHA512); -var _384 = SHA384; - -SHA384.blockSize = 1024; -SHA384.outSize = 384; -SHA384.hmacStrength = 192; -SHA384.padLength = 128; - -SHA384.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$9.toHex32(this.h.slice(0, 12), 'big'); - else - return utils$9.split32(this.h.slice(0, 12), 'big'); -}; - -sha.sha1 = _1; -sha.sha224 = _224; -sha.sha256 = _256; -sha.sha384 = _384; -sha.sha512 = _512; - -var ripemd = {}; - -var utils$8 = utils$g; -var common = common$5; - -var rotl32 = utils$8.rotl32; -var sum32 = utils$8.sum32; -var sum32_3 = utils$8.sum32_3; -var sum32_4 = utils$8.sum32_4; -var BlockHash = common.BlockHash; - -function RIPEMD160() { - if (!(this instanceof RIPEMD160)) - return new RIPEMD160(); - - BlockHash.call(this); - - this.h = [ 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0 ]; - this.endian = 'little'; -} -utils$8.inherits(RIPEMD160, BlockHash); -ripemd.ripemd160 = RIPEMD160; - -RIPEMD160.blockSize = 512; -RIPEMD160.outSize = 160; -RIPEMD160.hmacStrength = 192; -RIPEMD160.padLength = 64; - -RIPEMD160.prototype._update = function update(msg, start) { - var A = this.h[0]; - var B = this.h[1]; - var C = this.h[2]; - var D = this.h[3]; - var E = this.h[4]; - var Ah = A; - var Bh = B; - var Ch = C; - var Dh = D; - var Eh = E; - for (var j = 0; j < 80; j++) { - var T = sum32( - rotl32( - sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)), - s[j]), - E); - A = E; - E = D; - D = rotl32(C, 10); - C = B; - B = T; - T = sum32( - rotl32( - sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)), - sh[j]), - Eh); - Ah = Eh; - Eh = Dh; - Dh = rotl32(Ch, 10); - Ch = Bh; - Bh = T; - } - T = sum32_3(this.h[1], C, Dh); - this.h[1] = sum32_3(this.h[2], D, Eh); - this.h[2] = sum32_3(this.h[3], E, Ah); - this.h[3] = sum32_3(this.h[4], A, Bh); - this.h[4] = sum32_3(this.h[0], B, Ch); - this.h[0] = T; -}; - -RIPEMD160.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$8.toHex32(this.h, 'little'); - else - return utils$8.split32(this.h, 'little'); -}; - -function f(j, x, y, z) { - if (j <= 15) - return x ^ y ^ z; - else if (j <= 31) - return (x & y) | ((~x) & z); - else if (j <= 47) - return (x | (~y)) ^ z; - else if (j <= 63) - return (x & z) | (y & (~z)); - else - return x ^ (y | (~z)); -} - -function K(j) { - if (j <= 15) - return 0x00000000; - else if (j <= 31) - return 0x5a827999; - else if (j <= 47) - return 0x6ed9eba1; - else if (j <= 63) - return 0x8f1bbcdc; - else - return 0xa953fd4e; -} - -function Kh(j) { - if (j <= 15) - return 0x50a28be6; - else if (j <= 31) - return 0x5c4dd124; - else if (j <= 47) - return 0x6d703ef3; - else if (j <= 63) - return 0x7a6d76e9; - else - return 0x00000000; -} - -var r = [ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, - 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, - 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, - 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13 -]; - -var rh = [ - 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, - 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, - 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, - 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, - 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11 -]; - -var s = [ - 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, - 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, - 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, - 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, - 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 -]; - -var sh = [ - 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, - 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, - 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, - 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, - 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 -]; - -var utils$7 = utils$g; -var assert$8 = minimalisticAssert; - -function Hmac(hash, key, enc) { - if (!(this instanceof Hmac)) - return new Hmac(hash, key, enc); - this.Hash = hash; - this.blockSize = hash.blockSize / 8; - this.outSize = hash.outSize / 8; - this.inner = null; - this.outer = null; - - this._init(utils$7.toArray(key, enc)); -} -var hmac = Hmac; - -Hmac.prototype._init = function init(key) { - // Shorten key, if needed - if (key.length > this.blockSize) - key = new this.Hash().update(key).digest(); - assert$8(key.length <= this.blockSize); - - // Add padding to key - for (var i = key.length; i < this.blockSize; i++) - key.push(0); - - for (i = 0; i < key.length; i++) - key[i] ^= 0x36; - this.inner = new this.Hash().update(key); - - // 0x36 ^ 0x5c = 0x6a - for (i = 0; i < key.length; i++) - key[i] ^= 0x6a; - this.outer = new this.Hash().update(key); -}; - -Hmac.prototype.update = function update(msg, enc) { - this.inner.update(msg, enc); - return this; -}; - -Hmac.prototype.digest = function digest(enc) { - this.outer.update(this.inner.digest()); - return this.outer.digest(enc); -}; - -(function (exports) { - var hash = exports; - - hash.utils = utils$g; - hash.common = common$5; - hash.sha = sha; - hash.ripemd = ripemd; - hash.hmac = hmac; - - // Proxy hash functions to the main object - hash.sha1 = hash.sha.sha1; - hash.sha256 = hash.sha.sha256; - hash.sha224 = hash.sha.sha224; - hash.sha384 = hash.sha.sha384; - hash.sha512 = hash.sha.sha512; - hash.ripemd160 = hash.ripemd.ripemd160; -} (hash$2)); - -var secp256k1; -var hasRequiredSecp256k1; - -function requireSecp256k1 () { - if (hasRequiredSecp256k1) return secp256k1; - hasRequiredSecp256k1 = 1; - secp256k1 = { - doubles: { - step: 4, - points: [ - [ - 'e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a', - 'f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821', - ], - [ - '8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508', - '11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf', - ], - [ - '175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739', - 'd3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695', - ], - [ - '363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640', - '4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9', - ], - [ - '8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c', - '4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36', - ], - [ - '723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda', - '96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f', - ], - [ - 'eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa', - '5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999', - ], - [ - '100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0', - 'cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09', - ], - [ - 'e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d', - '9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d', - ], - [ - 'feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d', - 'e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088', - ], - [ - 'da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1', - '9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d', - ], - [ - '53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0', - '5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8', - ], - [ - '8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047', - '10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a', - ], - [ - '385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862', - '283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453', - ], - [ - '6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7', - '7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160', - ], - [ - '3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd', - '56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0', - ], - [ - '85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83', - '7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6', - ], - [ - '948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a', - '53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589', - ], - [ - '6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8', - 'bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17', - ], - [ - 'e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d', - '4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda', - ], - [ - 'e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725', - '7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd', - ], - [ - '213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754', - '4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2', - ], - [ - '4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c', - '17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6', - ], - [ - 'fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6', - '6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f', - ], - [ - '76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39', - 'c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01', - ], - [ - 'c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891', - '893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3', - ], - [ - 'd895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b', - 'febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f', - ], - [ - 'b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03', - '2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7', - ], - [ - 'e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d', - 'eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78', - ], - [ - 'a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070', - '7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1', - ], - [ - '90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4', - 'e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150', - ], - [ - '8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da', - '662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82', - ], - [ - 'e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11', - '1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc', - ], - [ - '8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e', - 'efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b', - ], - [ - 'e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41', - '2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51', - ], - [ - 'b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef', - '67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45', - ], - [ - 'd68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8', - 'db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120', - ], - [ - '324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d', - '648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84', - ], - [ - '4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96', - '35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d', - ], - [ - '9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd', - 'ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d', - ], - [ - '6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5', - '9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8', - ], - [ - 'a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266', - '40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8', - ], - [ - '7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71', - '34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac', - ], - [ - '928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac', - 'c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f', - ], - [ - '85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751', - '1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962', - ], - [ - 'ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e', - '493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907', - ], - [ - '827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241', - 'c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec', - ], - [ - 'eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3', - 'be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d', - ], - [ - 'e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f', - '4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414', - ], - [ - '1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19', - 'aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd', - ], - [ - '146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be', - 'b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0', - ], - [ - 'fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9', - '6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811', - ], - [ - 'da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2', - '8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1', - ], - [ - 'a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13', - '7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c', - ], - [ - '174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c', - 'ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73', - ], - [ - '959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba', - '2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd', - ], - [ - 'd2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151', - 'e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405', - ], - [ - '64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073', - 'd99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589', - ], - [ - '8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458', - '38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e', - ], - [ - '13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b', - '69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27', - ], - [ - 'bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366', - 'd3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1', - ], - [ - '8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa', - '40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482', - ], - [ - '8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0', - '620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945', - ], - [ - 'dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787', - '7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573', - ], - [ - 'f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e', - 'ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82', - ], - ], - }, - naf: { - wnd: 7, - points: [ - [ - 'f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9', - '388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672', - ], - [ - '2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4', - 'd8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6', - ], - [ - '5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc', - '6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da', - ], - [ - 'acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe', - 'cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37', - ], - [ - '774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb', - 'd984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b', - ], - [ - 'f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8', - 'ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81', - ], - [ - 'd7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e', - '581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58', - ], - [ - 'defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34', - '4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77', - ], - [ - '2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c', - '85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a', - ], - [ - '352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5', - '321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c', - ], - [ - '2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f', - '2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67', - ], - [ - '9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714', - '73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402', - ], - [ - 'daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729', - 'a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55', - ], - [ - 'c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db', - '2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482', - ], - [ - '6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4', - 'e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82', - ], - [ - '1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5', - 'b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396', - ], - [ - '605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479', - '2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49', - ], - [ - '62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d', - '80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf', - ], - [ - '80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f', - '1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a', - ], - [ - '7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb', - 'd0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7', - ], - [ - 'd528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9', - 'eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933', - ], - [ - '49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963', - '758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a', - ], - [ - '77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74', - '958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6', - ], - [ - 'f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530', - 'e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37', - ], - [ - '463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b', - '5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e', - ], - [ - 'f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247', - 'cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6', - ], - [ - 'caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1', - 'cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476', - ], - [ - '2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120', - '4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40', - ], - [ - '7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435', - '91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61', - ], - [ - '754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18', - '673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683', - ], - [ - 'e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8', - '59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5', - ], - [ - '186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb', - '3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b', - ], - [ - 'df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f', - '55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417', - ], - [ - '5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143', - 'efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868', - ], - [ - '290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba', - 'e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a', - ], - [ - 'af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45', - 'f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6', - ], - [ - '766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a', - '744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996', - ], - [ - '59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e', - 'c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e', - ], - [ - 'f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8', - 'e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d', - ], - [ - '7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c', - '30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2', - ], - [ - '948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519', - 'e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e', - ], - [ - '7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab', - '100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437', - ], - [ - '3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca', - 'ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311', - ], - [ - 'd3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf', - '8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4', - ], - [ - '1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610', - '68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575', - ], - [ - '733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4', - 'f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d', - ], - [ - '15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c', - 'd56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d', - ], - [ - 'a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940', - 'edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629', - ], - [ - 'e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980', - 'a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06', - ], - [ - '311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3', - '66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374', - ], - [ - '34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf', - '9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee', - ], - [ - 'f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63', - '4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1', - ], - [ - 'd7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448', - 'fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b', - ], - [ - '32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf', - '5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661', - ], - [ - '7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5', - '8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6', - ], - [ - 'ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6', - '8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e', - ], - [ - '16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5', - '5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d', - ], - [ - 'eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99', - 'f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc', - ], - [ - '78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51', - 'f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4', - ], - [ - '494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5', - '42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c', - ], - [ - 'a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5', - '204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b', - ], - [ - 'c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997', - '4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913', - ], - [ - '841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881', - '73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154', - ], - [ - '5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5', - '39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865', - ], - [ - '36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66', - 'd2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc', - ], - [ - '336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726', - 'ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224', - ], - [ - '8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede', - '6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e', - ], - [ - '1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94', - '60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6', - ], - [ - '85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31', - '3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511', - ], - [ - '29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51', - 'b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b', - ], - [ - 'a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252', - 'ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2', - ], - [ - '4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5', - 'cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c', - ], - [ - 'd24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b', - '6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3', - ], - [ - 'ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4', - '322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d', - ], - [ - 'af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f', - '6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700', - ], - [ - 'e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889', - '2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4', - ], - [ - '591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246', - 'b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196', - ], - [ - '11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984', - '998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4', - ], - [ - '3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a', - 'b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257', - ], - [ - 'cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030', - 'bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13', - ], - [ - 'c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197', - '6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096', - ], - [ - 'c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593', - 'c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38', - ], - [ - 'a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef', - '21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f', - ], - [ - '347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38', - '60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448', - ], - [ - 'da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a', - '49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a', - ], - [ - 'c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111', - '5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4', - ], - [ - '4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502', - '7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437', - ], - [ - '3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea', - 'be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7', - ], - [ - 'cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26', - '8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d', - ], - [ - 'b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986', - '39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a', - ], - [ - 'd4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e', - '62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54', - ], - [ - '48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4', - '25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77', - ], - [ - 'dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda', - 'ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517', - ], - [ - '6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859', - 'cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10', - ], - [ - 'e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f', - 'f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125', - ], - [ - 'eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c', - '6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e', - ], - [ - '13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942', - 'fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1', - ], - [ - 'ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a', - '1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2', - ], - [ - 'b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80', - '5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423', - ], - [ - 'ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d', - '438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8', - ], - [ - '8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1', - 'cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758', - ], - [ - '52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63', - 'c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375', - ], - [ - 'e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352', - '6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d', - ], - [ - '7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193', - 'ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec', - ], - [ - '5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00', - '9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0', - ], - [ - '32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58', - 'ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c', - ], - [ - 'e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7', - 'd3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4', - ], - [ - '8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8', - 'c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f', - ], - [ - '4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e', - '67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649', - ], - [ - '3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d', - 'cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826', - ], - [ - '674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b', - '299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5', - ], - [ - 'd32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f', - 'f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87', - ], - [ - '30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6', - '462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b', - ], - [ - 'be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297', - '62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc', - ], - [ - '93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a', - '7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c', - ], - [ - 'b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c', - 'ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f', - ], - [ - 'd5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52', - '4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a', - ], - [ - 'd3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb', - 'bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46', - ], - [ - '463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065', - 'bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f', - ], - [ - '7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917', - '603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03', - ], - [ - '74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9', - 'cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08', - ], - [ - '30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3', - '553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8', - ], - [ - '9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57', - '712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373', - ], - [ - '176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66', - 'ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3', - ], - [ - '75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8', - '9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8', - ], - [ - '809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721', - '9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1', - ], - [ - '1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180', - '4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9', - ], - ], - }, - }; - return secp256k1; -} - -(function (exports) { - - var curves = exports; - - var hash = hash$2; - var curve$1 = curve; - var utils = utils$m; - - var assert = utils.assert; - - function PresetCurve(options) { - if (options.type === 'short') - this.curve = new curve$1.short(options); - else if (options.type === 'edwards') - this.curve = new curve$1.edwards(options); - else - this.curve = new curve$1.mont(options); - this.g = this.curve.g; - this.n = this.curve.n; - this.hash = options.hash; - - assert(this.g.validate(), 'Invalid curve'); - assert(this.g.mul(this.n).isInfinity(), 'Invalid curve, G*N != O'); - } - curves.PresetCurve = PresetCurve; - - function defineCurve(name, options) { - Object.defineProperty(curves, name, { - configurable: true, - enumerable: true, - get: function() { - var curve = new PresetCurve(options); - Object.defineProperty(curves, name, { - configurable: true, - enumerable: true, - value: curve, - }); - return curve; - }, - }); - } - - defineCurve('p192', { - type: 'short', - prime: 'p192', - p: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff', - a: 'ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc', - b: '64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1', - n: 'ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831', - hash: hash.sha256, - gRed: false, - g: [ - '188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012', - '07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811', - ], - }); - - defineCurve('p224', { - type: 'short', - prime: 'p224', - p: 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001', - a: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe', - b: 'b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4', - n: 'ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d', - hash: hash.sha256, - gRed: false, - g: [ - 'b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21', - 'bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34', - ], - }); - - defineCurve('p256', { - type: 'short', - prime: null, - p: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff', - a: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc', - b: '5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b', - n: 'ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551', - hash: hash.sha256, - gRed: false, - g: [ - '6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296', - '4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5', - ], - }); - - defineCurve('p384', { - type: 'short', - prime: null, - p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'fffffffe ffffffff 00000000 00000000 ffffffff', - a: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'fffffffe ffffffff 00000000 00000000 fffffffc', - b: 'b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f ' + - '5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef', - n: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 ' + - 'f4372ddf 581a0db2 48b0a77a ecec196a ccc52973', - hash: hash.sha384, - gRed: false, - g: [ - 'aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 ' + - '5502f25d bf55296c 3a545e38 72760ab7', - '3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 ' + - '0a60b1ce 1d7e819d 7a431d7c 90ea0e5f', - ], - }); - - defineCurve('p521', { - type: 'short', - prime: null, - p: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff ffffffff', - a: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff fffffffc', - b: '00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b ' + - '99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd ' + - '3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00', - n: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 ' + - 'f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409', - hash: hash.sha512, - gRed: false, - g: [ - '000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 ' + - '053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 ' + - 'a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66', - '00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 ' + - '579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 ' + - '3fad0761 353c7086 a272c240 88be9476 9fd16650', - ], - }); - - defineCurve('curve25519', { - type: 'mont', - prime: 'p25519', - p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', - a: '76d06', - b: '1', - n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', - hash: hash.sha256, - gRed: false, - g: [ - '9', - ], - }); - - defineCurve('ed25519', { - type: 'edwards', - prime: 'p25519', - p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', - a: '-1', - c: '1', - // -121665 * (121666^(-1)) (mod P) - d: '52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3', - n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', - hash: hash.sha256, - gRed: false, - g: [ - '216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a', - - // 4/5 - '6666666666666666666666666666666666666666666666666666666666666658', - ], - }); - - var pre; - try { - pre = requireSecp256k1(); - } catch (e) { - pre = undefined; - } - - defineCurve('secp256k1', { - type: 'short', - prime: 'k256', - p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f', - a: '0', - b: '7', - n: 'ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141', - h: '1', - hash: hash.sha256, - - // Precomputed endomorphism - beta: '7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee', - lambda: '5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72', - basis: [ - { - a: '3086d221a7d46bcde86c90e49284eb15', - b: '-e4437ed6010e88286f547fa90abfe4c3', - }, - { - a: '114ca50f7a8e2f3f657c1108d9d44cfd8', - b: '3086d221a7d46bcde86c90e49284eb15', - }, - ], - - gRed: false, - g: [ - '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', - '483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8', - pre, - ], - }); -} (curves$2)); - -var hash$1 = hash$2; -var utils$6 = utils$l; -var assert$7 = minimalisticAssert; - -function HmacDRBG$1(options) { - if (!(this instanceof HmacDRBG$1)) - return new HmacDRBG$1(options); - this.hash = options.hash; - this.predResist = !!options.predResist; - - this.outLen = this.hash.outSize; - this.minEntropy = options.minEntropy || this.hash.hmacStrength; - - this._reseed = null; - this.reseedInterval = null; - this.K = null; - this.V = null; - - var entropy = utils$6.toArray(options.entropy, options.entropyEnc || 'hex'); - var nonce = utils$6.toArray(options.nonce, options.nonceEnc || 'hex'); - var pers = utils$6.toArray(options.pers, options.persEnc || 'hex'); - assert$7(entropy.length >= (this.minEntropy / 8), - 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); - this._init(entropy, nonce, pers); -} -var hmacDrbg = HmacDRBG$1; - -HmacDRBG$1.prototype._init = function init(entropy, nonce, pers) { - var seed = entropy.concat(nonce).concat(pers); - - this.K = new Array(this.outLen / 8); - this.V = new Array(this.outLen / 8); - for (var i = 0; i < this.V.length; i++) { - this.K[i] = 0x00; - this.V[i] = 0x01; - } - - this._update(seed); - this._reseed = 1; - this.reseedInterval = 0x1000000000000; // 2^48 -}; - -HmacDRBG$1.prototype._hmac = function hmac() { - return new hash$1.hmac(this.hash, this.K); -}; - -HmacDRBG$1.prototype._update = function update(seed) { - var kmac = this._hmac() - .update(this.V) - .update([ 0x00 ]); - if (seed) - kmac = kmac.update(seed); - this.K = kmac.digest(); - this.V = this._hmac().update(this.V).digest(); - if (!seed) - return; - - this.K = this._hmac() - .update(this.V) - .update([ 0x01 ]) - .update(seed) - .digest(); - this.V = this._hmac().update(this.V).digest(); -}; - -HmacDRBG$1.prototype.reseed = function reseed(entropy, entropyEnc, add, addEnc) { - // Optional entropy enc - if (typeof entropyEnc !== 'string') { - addEnc = add; - add = entropyEnc; - entropyEnc = null; - } - - entropy = utils$6.toArray(entropy, entropyEnc); - add = utils$6.toArray(add, addEnc); - - assert$7(entropy.length >= (this.minEntropy / 8), - 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); - - this._update(entropy.concat(add || [])); - this._reseed = 1; -}; - -HmacDRBG$1.prototype.generate = function generate(len, enc, add, addEnc) { - if (this._reseed > this.reseedInterval) - throw new Error('Reseed is required'); - - // Optional encoding - if (typeof enc !== 'string') { - addEnc = add; - add = enc; - enc = null; - } - - // Optional additional data - if (add) { - add = utils$6.toArray(add, addEnc || 'hex'); - this._update(add); - } - - var temp = []; - while (temp.length < len) { - this.V = this._hmac().update(this.V).digest(); - temp = temp.concat(this.V); - } - - var res = temp.slice(0, len); - this._update(add); - this._reseed++; - return utils$6.encode(res, enc); -}; - -var BN$4 = bn.exports; -var utils$5 = utils$m; -var assert$6 = utils$5.assert; - -function KeyPair$3(ec, options) { - this.ec = ec; - this.priv = null; - this.pub = null; - - // KeyPair(ec, { priv: ..., pub: ... }) - if (options.priv) - this._importPrivate(options.priv, options.privEnc); - if (options.pub) - this._importPublic(options.pub, options.pubEnc); -} -var key$2 = KeyPair$3; - -KeyPair$3.fromPublic = function fromPublic(ec, pub, enc) { - if (pub instanceof KeyPair$3) - return pub; - - return new KeyPair$3(ec, { - pub: pub, - pubEnc: enc, - }); -}; - -KeyPair$3.fromPrivate = function fromPrivate(ec, priv, enc) { - if (priv instanceof KeyPair$3) - return priv; - - return new KeyPair$3(ec, { - priv: priv, - privEnc: enc, - }); -}; - -KeyPair$3.prototype.validate = function validate() { - var pub = this.getPublic(); - - if (pub.isInfinity()) - return { result: false, reason: 'Invalid public key' }; - if (!pub.validate()) - return { result: false, reason: 'Public key is not a point' }; - if (!pub.mul(this.ec.curve.n).isInfinity()) - return { result: false, reason: 'Public key * N != O' }; - - return { result: true, reason: null }; -}; - -KeyPair$3.prototype.getPublic = function getPublic(compact, enc) { - // compact is optional argument - if (typeof compact === 'string') { - enc = compact; - compact = null; - } - - if (!this.pub) - this.pub = this.ec.g.mul(this.priv); - - if (!enc) - return this.pub; - - return this.pub.encode(enc, compact); -}; - -KeyPair$3.prototype.getPrivate = function getPrivate(enc) { - if (enc === 'hex') - return this.priv.toString(16, 2); - else - return this.priv; -}; - -KeyPair$3.prototype._importPrivate = function _importPrivate(key, enc) { - this.priv = new BN$4(key, enc || 16); - - // Ensure that the priv won't be bigger than n, otherwise we may fail - // in fixed multiplication method - this.priv = this.priv.umod(this.ec.curve.n); -}; - -KeyPair$3.prototype._importPublic = function _importPublic(key, enc) { - if (key.x || key.y) { - // Montgomery points only have an `x` coordinate. - // Weierstrass/Edwards points on the other hand have both `x` and - // `y` coordinates. - if (this.ec.curve.type === 'mont') { - assert$6(key.x, 'Need x coordinate'); - } else if (this.ec.curve.type === 'short' || - this.ec.curve.type === 'edwards') { - assert$6(key.x && key.y, 'Need both x and y coordinate'); - } - this.pub = this.ec.curve.point(key.x, key.y); - return; - } - this.pub = this.ec.curve.decodePoint(key, enc); -}; - -// ECDH -KeyPair$3.prototype.derive = function derive(pub) { - if(!pub.validate()) { - assert$6(pub.validate(), 'public point not validated'); - } - return pub.mul(this.priv).getX(); -}; - -// ECDSA -KeyPair$3.prototype.sign = function sign(msg, enc, options) { - return this.ec.sign(msg, this, enc, options); -}; - -KeyPair$3.prototype.verify = function verify(msg, signature) { - return this.ec.verify(msg, signature, this); -}; - -KeyPair$3.prototype.inspect = function inspect() { - return ''; -}; - -var BN$3 = bn.exports; - -var utils$4 = utils$m; -var assert$5 = utils$4.assert; - -function Signature$3(options, enc) { - if (options instanceof Signature$3) - return options; - - if (this._importDER(options, enc)) - return; - - assert$5(options.r && options.s, 'Signature without r or s'); - this.r = new BN$3(options.r, 16); - this.s = new BN$3(options.s, 16); - if (options.recoveryParam === undefined) - this.recoveryParam = null; - else - this.recoveryParam = options.recoveryParam; -} -var signature$1 = Signature$3; - -function Position() { - this.place = 0; -} - -function getLength(buf, p) { - var initial = buf[p.place++]; - if (!(initial & 0x80)) { - return initial; - } - var octetLen = initial & 0xf; - - // Indefinite length or overflow - if (octetLen === 0 || octetLen > 4) { - return false; - } - - var val = 0; - for (var i = 0, off = p.place; i < octetLen; i++, off++) { - val <<= 8; - val |= buf[off]; - val >>>= 0; - } - - // Leading zeroes - if (val <= 0x7f) { - return false; - } - - p.place = off; - return val; -} - -function rmPadding(buf) { - var i = 0; - var len = buf.length - 1; - while (!buf[i] && !(buf[i + 1] & 0x80) && i < len) { - i++; - } - if (i === 0) { - return buf; - } - return buf.slice(i); -} - -Signature$3.prototype._importDER = function _importDER(data, enc) { - data = utils$4.toArray(data, enc); - var p = new Position(); - if (data[p.place++] !== 0x30) { - return false; - } - var len = getLength(data, p); - if (len === false) { - return false; - } - if ((len + p.place) !== data.length) { - return false; - } - if (data[p.place++] !== 0x02) { - return false; - } - var rlen = getLength(data, p); - if (rlen === false) { - return false; - } - var r = data.slice(p.place, rlen + p.place); - p.place += rlen; - if (data[p.place++] !== 0x02) { - return false; - } - var slen = getLength(data, p); - if (slen === false) { - return false; - } - if (data.length !== slen + p.place) { - return false; - } - var s = data.slice(p.place, slen + p.place); - if (r[0] === 0) { - if (r[1] & 0x80) { - r = r.slice(1); - } else { - // Leading zeroes - return false; - } - } - if (s[0] === 0) { - if (s[1] & 0x80) { - s = s.slice(1); - } else { - // Leading zeroes - return false; - } - } - - this.r = new BN$3(r); - this.s = new BN$3(s); - this.recoveryParam = null; - - return true; -}; - -function constructLength(arr, len) { - if (len < 0x80) { - arr.push(len); - return; - } - var octets = 1 + (Math.log(len) / Math.LN2 >>> 3); - arr.push(octets | 0x80); - while (--octets) { - arr.push((len >>> (octets << 3)) & 0xff); - } - arr.push(len); -} - -Signature$3.prototype.toDER = function toDER(enc) { - var r = this.r.toArray(); - var s = this.s.toArray(); - - // Pad values - if (r[0] & 0x80) - r = [ 0 ].concat(r); - // Pad values - if (s[0] & 0x80) - s = [ 0 ].concat(s); - - r = rmPadding(r); - s = rmPadding(s); - - while (!s[0] && !(s[1] & 0x80)) { - s = s.slice(1); - } - var arr = [ 0x02 ]; - constructLength(arr, r.length); - arr = arr.concat(r); - arr.push(0x02); - constructLength(arr, s.length); - var backHalf = arr.concat(s); - var res = [ 0x30 ]; - constructLength(res, backHalf.length); - res = res.concat(backHalf); - return utils$4.encode(res, enc); -}; - -var BN$2 = bn.exports; -var HmacDRBG = hmacDrbg; -var utils$3 = utils$m; -var curves$1 = curves$2; -var rand$1 = brorand.exports; -var assert$4 = utils$3.assert; - -var KeyPair$2 = key$2; -var Signature$2 = signature$1; - -function EC$1(options) { - if (!(this instanceof EC$1)) - return new EC$1(options); - - // Shortcut `elliptic.ec(curve-name)` - if (typeof options === 'string') { - assert$4(Object.prototype.hasOwnProperty.call(curves$1, options), - 'Unknown curve ' + options); - - options = curves$1[options]; - } - - // Shortcut for `elliptic.ec(elliptic.curves.curveName)` - if (options instanceof curves$1.PresetCurve) - options = { curve: options }; - - this.curve = options.curve.curve; - this.n = this.curve.n; - this.nh = this.n.ushrn(1); - this.g = this.curve.g; - - // Point on curve - this.g = options.curve.g; - this.g.precompute(options.curve.n.bitLength() + 1); - - // Hash for function for DRBG - this.hash = options.hash || options.curve.hash; -} -var ec$1 = EC$1; - -EC$1.prototype.keyPair = function keyPair(options) { - return new KeyPair$2(this, options); -}; - -EC$1.prototype.keyFromPrivate = function keyFromPrivate(priv, enc) { - return KeyPair$2.fromPrivate(this, priv, enc); -}; - -EC$1.prototype.keyFromPublic = function keyFromPublic(pub, enc) { - return KeyPair$2.fromPublic(this, pub, enc); -}; - -EC$1.prototype.genKeyPair = function genKeyPair(options) { - if (!options) - options = {}; - - // Instantiate Hmac_DRBG - var drbg = new HmacDRBG({ - hash: this.hash, - pers: options.pers, - persEnc: options.persEnc || 'utf8', - entropy: options.entropy || rand$1(this.hash.hmacStrength), - entropyEnc: options.entropy && options.entropyEnc || 'utf8', - nonce: this.n.toArray(), - }); - - var bytes = this.n.byteLength(); - var ns2 = this.n.sub(new BN$2(2)); - for (;;) { - var priv = new BN$2(drbg.generate(bytes)); - if (priv.cmp(ns2) > 0) - continue; - - priv.iaddn(1); - return this.keyFromPrivate(priv); - } -}; - -EC$1.prototype._truncateToN = function _truncateToN(msg, truncOnly) { - var delta = msg.byteLength() * 8 - this.n.bitLength(); - if (delta > 0) - msg = msg.ushrn(delta); - if (!truncOnly && msg.cmp(this.n) >= 0) - return msg.sub(this.n); - else - return msg; -}; - -EC$1.prototype.sign = function sign(msg, key, enc, options) { - if (typeof enc === 'object') { - options = enc; - enc = null; - } - if (!options) - options = {}; - - key = this.keyFromPrivate(key, enc); - msg = this._truncateToN(new BN$2(msg, 16)); - - // Zero-extend key to provide enough entropy - var bytes = this.n.byteLength(); - var bkey = key.getPrivate().toArray('be', bytes); - - // Zero-extend nonce to have the same byte size as N - var nonce = msg.toArray('be', bytes); - - // Instantiate Hmac_DRBG - var drbg = new HmacDRBG({ - hash: this.hash, - entropy: bkey, - nonce: nonce, - pers: options.pers, - persEnc: options.persEnc || 'utf8', - }); - - // Number of bytes to generate - var ns1 = this.n.sub(new BN$2(1)); - - for (var iter = 0; ; iter++) { - var k = options.k ? - options.k(iter) : - new BN$2(drbg.generate(this.n.byteLength())); - k = this._truncateToN(k, true); - if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0) - continue; - - var kp = this.g.mul(k); - if (kp.isInfinity()) - continue; - - var kpX = kp.getX(); - var r = kpX.umod(this.n); - if (r.cmpn(0) === 0) - continue; - - var s = k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg)); - s = s.umod(this.n); - if (s.cmpn(0) === 0) - continue; - - var recoveryParam = (kp.getY().isOdd() ? 1 : 0) | - (kpX.cmp(r) !== 0 ? 2 : 0); - - // Use complement of `s`, if it is > `n / 2` - if (options.canonical && s.cmp(this.nh) > 0) { - s = this.n.sub(s); - recoveryParam ^= 1; - } - - return new Signature$2({ r: r, s: s, recoveryParam: recoveryParam }); - } -}; - -EC$1.prototype.verify = function verify(msg, signature, key, enc) { - msg = this._truncateToN(new BN$2(msg, 16)); - key = this.keyFromPublic(key, enc); - signature = new Signature$2(signature, 'hex'); - - // Perform primitive values validation - var r = signature.r; - var s = signature.s; - if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0) - return false; - if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0) - return false; - - // Validate signature - var sinv = s.invm(this.n); - var u1 = sinv.mul(msg).umod(this.n); - var u2 = sinv.mul(r).umod(this.n); - var p; - - if (!this.curve._maxwellTrick) { - p = this.g.mulAdd(u1, key.getPublic(), u2); - if (p.isInfinity()) - return false; - - return p.getX().umod(this.n).cmp(r) === 0; - } - - // NOTE: Greg Maxwell's trick, inspired by: - // https://git.io/vad3K - - p = this.g.jmulAdd(u1, key.getPublic(), u2); - if (p.isInfinity()) - return false; - - // Compare `p.x` of Jacobian point with `r`, - // this will do `p.x == r * p.z^2` instead of multiplying `p.x` by the - // inverse of `p.z^2` - return p.eqXToP(r); -}; - -EC$1.prototype.recoverPubKey = function(msg, signature, j, enc) { - assert$4((3 & j) === j, 'The recovery param is more than two bits'); - signature = new Signature$2(signature, enc); - - var n = this.n; - var e = new BN$2(msg); - var r = signature.r; - var s = signature.s; - - // A set LSB signifies that the y-coordinate is odd - var isYOdd = j & 1; - var isSecondKey = j >> 1; - if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey) - throw new Error('Unable to find sencond key candinate'); - - // 1.1. Let x = r + jn. - if (isSecondKey) - r = this.curve.pointFromX(r.add(this.curve.n), isYOdd); - else - r = this.curve.pointFromX(r, isYOdd); - - var rInv = signature.r.invm(n); - var s1 = n.sub(e).mul(rInv).umod(n); - var s2 = s.mul(rInv).umod(n); - - // 1.6.1 Compute Q = r^-1 (sR - eG) - // Q = r^-1 (sR + -eG) - return this.g.mulAdd(s1, r, s2); -}; - -EC$1.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { - signature = new Signature$2(signature, enc); - if (signature.recoveryParam !== null) - return signature.recoveryParam; - - for (var i = 0; i < 4; i++) { - var Qprime; - try { - Qprime = this.recoverPubKey(e, signature, i); - } catch (e) { - continue; - } - - if (Qprime.eq(Q)) - return i; - } - throw new Error('Unable to find valid recovery factor'); -}; - -var utils$2 = utils$m; -var assert$3 = utils$2.assert; -var parseBytes$2 = utils$2.parseBytes; -var cachedProperty$1 = utils$2.cachedProperty; - -/** -* @param {EDDSA} eddsa - instance -* @param {Object} params - public/private key parameters -* -* @param {Array} [params.secret] - secret seed bytes -* @param {Point} [params.pub] - public key point (aka `A` in eddsa terms) -* @param {Array} [params.pub] - public key point encoded as bytes -* -*/ -function KeyPair$1(eddsa, params) { - this.eddsa = eddsa; - this._secret = parseBytes$2(params.secret); - if (eddsa.isPoint(params.pub)) - this._pub = params.pub; - else - this._pubBytes = parseBytes$2(params.pub); -} - -KeyPair$1.fromPublic = function fromPublic(eddsa, pub) { - if (pub instanceof KeyPair$1) - return pub; - return new KeyPair$1(eddsa, { pub: pub }); -}; - -KeyPair$1.fromSecret = function fromSecret(eddsa, secret) { - if (secret instanceof KeyPair$1) - return secret; - return new KeyPair$1(eddsa, { secret: secret }); -}; - -KeyPair$1.prototype.secret = function secret() { - return this._secret; -}; - -cachedProperty$1(KeyPair$1, 'pubBytes', function pubBytes() { - return this.eddsa.encodePoint(this.pub()); -}); - -cachedProperty$1(KeyPair$1, 'pub', function pub() { - if (this._pubBytes) - return this.eddsa.decodePoint(this._pubBytes); - return this.eddsa.g.mul(this.priv()); -}); - -cachedProperty$1(KeyPair$1, 'privBytes', function privBytes() { - var eddsa = this.eddsa; - var hash = this.hash(); - var lastIx = eddsa.encodingLength - 1; - - var a = hash.slice(0, eddsa.encodingLength); - a[0] &= 248; - a[lastIx] &= 127; - a[lastIx] |= 64; - - return a; -}); - -cachedProperty$1(KeyPair$1, 'priv', function priv() { - return this.eddsa.decodeInt(this.privBytes()); -}); - -cachedProperty$1(KeyPair$1, 'hash', function hash() { - return this.eddsa.hash().update(this.secret()).digest(); -}); - -cachedProperty$1(KeyPair$1, 'messagePrefix', function messagePrefix() { - return this.hash().slice(this.eddsa.encodingLength); -}); - -KeyPair$1.prototype.sign = function sign(message) { - assert$3(this._secret, 'KeyPair can only verify'); - return this.eddsa.sign(message, this); -}; - -KeyPair$1.prototype.verify = function verify(message, sig) { - return this.eddsa.verify(message, sig, this); -}; - -KeyPair$1.prototype.getSecret = function getSecret(enc) { - assert$3(this._secret, 'KeyPair is public only'); - return utils$2.encode(this.secret(), enc); -}; - -KeyPair$1.prototype.getPublic = function getPublic(enc) { - return utils$2.encode(this.pubBytes(), enc); -}; - -var key$1 = KeyPair$1; - -var BN$1 = bn.exports; -var utils$1 = utils$m; -var assert$2 = utils$1.assert; -var cachedProperty = utils$1.cachedProperty; -var parseBytes$1 = utils$1.parseBytes; - -/** -* @param {EDDSA} eddsa - eddsa instance -* @param {Array|Object} sig - -* @param {Array|Point} [sig.R] - R point as Point or bytes -* @param {Array|bn} [sig.S] - S scalar as bn or bytes -* @param {Array} [sig.Rencoded] - R point encoded -* @param {Array} [sig.Sencoded] - S scalar encoded -*/ -function Signature$1(eddsa, sig) { - this.eddsa = eddsa; - - if (typeof sig !== 'object') - sig = parseBytes$1(sig); - - if (Array.isArray(sig)) { - sig = { - R: sig.slice(0, eddsa.encodingLength), - S: sig.slice(eddsa.encodingLength), - }; - } - - assert$2(sig.R && sig.S, 'Signature without R or S'); - - if (eddsa.isPoint(sig.R)) - this._R = sig.R; - if (sig.S instanceof BN$1) - this._S = sig.S; - - this._Rencoded = Array.isArray(sig.R) ? sig.R : sig.Rencoded; - this._Sencoded = Array.isArray(sig.S) ? sig.S : sig.Sencoded; -} - -cachedProperty(Signature$1, 'S', function S() { - return this.eddsa.decodeInt(this.Sencoded()); -}); - -cachedProperty(Signature$1, 'R', function R() { - return this.eddsa.decodePoint(this.Rencoded()); -}); - -cachedProperty(Signature$1, 'Rencoded', function Rencoded() { - return this.eddsa.encodePoint(this.R()); -}); - -cachedProperty(Signature$1, 'Sencoded', function Sencoded() { - return this.eddsa.encodeInt(this.S()); -}); - -Signature$1.prototype.toBytes = function toBytes() { - return this.Rencoded().concat(this.Sencoded()); -}; - -Signature$1.prototype.toHex = function toHex() { - return utils$1.encode(this.toBytes(), 'hex').toUpperCase(); -}; - -var signature = Signature$1; - -var hash = hash$2; -var curves = curves$2; -var utils = utils$m; -var assert$1 = utils.assert; -var parseBytes = utils.parseBytes; -var KeyPair = key$1; -var Signature = signature; - -function EDDSA(curve) { - assert$1(curve === 'ed25519', 'only tested with ed25519 so far'); - - if (!(this instanceof EDDSA)) - return new EDDSA(curve); - - curve = curves[curve].curve; - this.curve = curve; - this.g = curve.g; - this.g.precompute(curve.n.bitLength() + 1); - - this.pointClass = curve.point().constructor; - this.encodingLength = Math.ceil(curve.n.bitLength() / 8); - this.hash = hash.sha512; -} - -var eddsa = EDDSA; - -/** -* @param {Array|String} message - message bytes -* @param {Array|String|KeyPair} secret - secret bytes or a keypair -* @returns {Signature} - signature -*/ -EDDSA.prototype.sign = function sign(message, secret) { - message = parseBytes(message); - var key = this.keyFromSecret(secret); - var r = this.hashInt(key.messagePrefix(), message); - var R = this.g.mul(r); - var Rencoded = this.encodePoint(R); - var s_ = this.hashInt(Rencoded, key.pubBytes(), message) - .mul(key.priv()); - var S = r.add(s_).umod(this.curve.n); - return this.makeSignature({ R: R, S: S, Rencoded: Rencoded }); -}; - -/** -* @param {Array} message - message bytes -* @param {Array|String|Signature} sig - sig bytes -* @param {Array|String|Point|KeyPair} pub - public key -* @returns {Boolean} - true if public key matches sig of message -*/ -EDDSA.prototype.verify = function verify(message, sig, pub) { - message = parseBytes(message); - sig = this.makeSignature(sig); - var key = this.keyFromPublic(pub); - var h = this.hashInt(sig.Rencoded(), key.pubBytes(), message); - var SG = this.g.mul(sig.S()); - var RplusAh = sig.R().add(key.pub().mul(h)); - return RplusAh.eq(SG); -}; - -EDDSA.prototype.hashInt = function hashInt() { - var hash = this.hash(); - for (var i = 0; i < arguments.length; i++) - hash.update(arguments[i]); - return utils.intFromLE(hash.digest()).umod(this.curve.n); -}; - -EDDSA.prototype.keyFromPublic = function keyFromPublic(pub) { - return KeyPair.fromPublic(this, pub); -}; - -EDDSA.prototype.keyFromSecret = function keyFromSecret(secret) { - return KeyPair.fromSecret(this, secret); -}; - -EDDSA.prototype.makeSignature = function makeSignature(sig) { - if (sig instanceof Signature) - return sig; - return new Signature(this, sig); -}; - -/** -* * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2 -* -* EDDSA defines methods for encoding and decoding points and integers. These are -* helper convenience methods, that pass along to utility functions implied -* parameters. -* -*/ -EDDSA.prototype.encodePoint = function encodePoint(point) { - var enc = point.getY().toArray('le', this.encodingLength); - enc[this.encodingLength - 1] |= point.getX().isOdd() ? 0x80 : 0; - return enc; -}; - -EDDSA.prototype.decodePoint = function decodePoint(bytes) { - bytes = utils.parseBytes(bytes); - - var lastIx = bytes.length - 1; - var normed = bytes.slice(0, lastIx).concat(bytes[lastIx] & ~0x80); - var xIsOdd = (bytes[lastIx] & 0x80) !== 0; - - var y = utils.intFromLE(normed); - return this.curve.pointFromY(y, xIsOdd); -}; - -EDDSA.prototype.encodeInt = function encodeInt(num) { - return num.toArray('le', this.encodingLength); -}; - -EDDSA.prototype.decodeInt = function decodeInt(bytes) { - return utils.intFromLE(bytes); -}; - -EDDSA.prototype.isPoint = function isPoint(val) { - return val instanceof this.pointClass; -}; - -(function (exports) { - - var elliptic = exports; - - elliptic.version = require$$0.version; - elliptic.utils = utils$m; - elliptic.rand = brorand.exports; - elliptic.curve = curve; - elliptic.curves = curves$2; - - // Protocols - elliptic.ec = ec$1; - elliptic.eddsa = eddsa; -} (elliptic)); - -const HEX_STRINGS = "0123456789abcdefABCDEF"; -HEX_STRINGS.split("").map((c) => c.codePointAt(0)); -Array(256) - .fill(true) - .map((_, i) => { - const s = String.fromCodePoint(i); - const index = HEX_STRINGS.indexOf(s); - // ABCDEF will use 10 - 15 - return index < 0 ? undefined : index < 16 ? index : index - 6; -}); -new TextEncoder(); -new TextDecoder("ascii"); -// Same behavior as Buffer.compare() -function compare(v1, v2) { - const minLength = Math.min(v1.length, v2.length); - for (let i = 0; i < minLength; ++i) { - if (v1[i] !== v2[i]) { - return v1[i] < v2[i] ? -1 : 1; - } - } - return v1.length === v2.length ? 0 : v1.length > v2.length ? 1 : -1; -} - -const ERROR_BAD_PRIVATE = 0; -const ERROR_BAD_POINT = 1; -const ERROR_BAD_TWEAK = 2; -const ERROR_BAD_HASH = 3; -const ERROR_BAD_SIGNATURE = 4; -const ERROR_BAD_EXTRA_DATA = 5; -const ERROR_BAD_PARITY = 6; -const ERROR_BAD_RECOVERY_ID = 7; -const ERRORS_MESSAGES = { - [ERROR_BAD_PRIVATE.toString()]: "Expected Private", - [ERROR_BAD_POINT.toString()]: "Expected Point", - [ERROR_BAD_TWEAK.toString()]: "Expected Tweak", - [ERROR_BAD_HASH.toString()]: "Expected Hash", - [ERROR_BAD_SIGNATURE.toString()]: "Expected Signature", - [ERROR_BAD_EXTRA_DATA.toString()]: "Expected Extra Data (32 bytes)", - [ERROR_BAD_PARITY.toString()]: "Expected Parity (1 | 0)", - [ERROR_BAD_RECOVERY_ID.toString()]: "Bad Recovery Id", -}; -function throwError(errcode) { - const message = ERRORS_MESSAGES[errcode.toString()] || `Unknow error code: ${errcode}`; - throw new TypeError(message); -} - -var validate_error = /*#__PURE__*/Object.freeze({ - __proto__: null, - ERROR_BAD_PRIVATE: ERROR_BAD_PRIVATE, - ERROR_BAD_POINT: ERROR_BAD_POINT, - ERROR_BAD_TWEAK: ERROR_BAD_TWEAK, - ERROR_BAD_HASH: ERROR_BAD_HASH, - ERROR_BAD_SIGNATURE: ERROR_BAD_SIGNATURE, - ERROR_BAD_EXTRA_DATA: ERROR_BAD_EXTRA_DATA, - ERROR_BAD_PARITY: ERROR_BAD_PARITY, - ERROR_BAD_RECOVERY_ID: ERROR_BAD_RECOVERY_ID, - throwError: throwError -}); - -const PRIVATE_KEY_SIZE = 32; -const PUBLIC_KEY_COMPRESSED_SIZE = 33; -const PUBLIC_KEY_UNCOMPRESSED_SIZE = 65; -const X_ONLY_PUBLIC_KEY_SIZE = 32; -const TWEAK_SIZE = 32; -const HASH_SIZE = 32; -const EXTRA_DATA_SIZE = 32; -const SIGNATURE_SIZE = 64; -const BN32_ZERO = new Uint8Array(32); -const BN32_N = new Uint8Array([ - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 254, 186, 174, 220, 230, 175, 72, 160, 59, 191, 210, 94, 140, 208, 54, 65, 65, -]); -// Difference between field and order -const BN32_P_MINUS_N = new Uint8Array([ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 69, 81, 35, 25, 80, 183, 95, - 196, 64, 45, 161, 114, 47, 201, 186, 238, -]); -function isUint8Array(value) { - return value instanceof Uint8Array; -} -function cmpBN32(data1, data2) { - for (let i = 0; i < 32; ++i) { - if (data1[i] !== data2[i]) { - return data1[i] < data2[i] ? -1 : 1; - } - } - return 0; -} -function isZero(x) { - return cmpBN32(x, BN32_ZERO) === 0; -} -function isPrivate$1(x) { - return (isUint8Array(x) && - x.length === PRIVATE_KEY_SIZE && - cmpBN32(x, BN32_ZERO) > 0 && - cmpBN32(x, BN32_N) < 0); -} -function isPoint$1(p) { - return (isUint8Array(p) && - (p.length === PUBLIC_KEY_COMPRESSED_SIZE || - p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE || - p.length === X_ONLY_PUBLIC_KEY_SIZE)); -} -function isXOnlyPoint$1(p) { - return isUint8Array(p) && p.length === X_ONLY_PUBLIC_KEY_SIZE; -} -function isDERPoint(p) { - return (isUint8Array(p) && - (p.length === PUBLIC_KEY_COMPRESSED_SIZE || - p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE)); -} -function isPointCompressed$1(p) { - return isUint8Array(p) && p.length === PUBLIC_KEY_COMPRESSED_SIZE; -} -function isTweak(tweak) { - return (isUint8Array(tweak) && - tweak.length === TWEAK_SIZE && - cmpBN32(tweak, BN32_N) < 0); -} -function isHash(h) { - return isUint8Array(h) && h.length === HASH_SIZE; -} -function isExtraData(e) { - return e === undefined || (isUint8Array(e) && e.length === EXTRA_DATA_SIZE); -} -function isSignature(signature) { - return (isUint8Array(signature) && - signature.length === 64 && - cmpBN32(signature.subarray(0, 32), BN32_N) < 0 && - cmpBN32(signature.subarray(32, 64), BN32_N) < 0); -} -function isSigrLessThanPMinusN(signature) { - return (isUint8Array(signature) && - signature.length === 64 && - cmpBN32(signature.subarray(0, 32), BN32_P_MINUS_N) < 0); -} -function validateParity(p) { - if (p !== 0 && p !== 1) - throwError(ERROR_BAD_PARITY); -} -function validatePrivate(d) { - if (!isPrivate$1(d)) - throwError(ERROR_BAD_PRIVATE); -} -function validatePoint(p) { - if (!isPoint$1(p)) - throwError(ERROR_BAD_POINT); -} -function validateXOnlyPoint(p) { - if (!isXOnlyPoint$1(p)) - throwError(ERROR_BAD_POINT); -} -function validateTweak(tweak) { - if (!isTweak(tweak)) - throwError(ERROR_BAD_TWEAK); -} -function validateHash(h) { - if (!isHash(h)) - throwError(ERROR_BAD_HASH); -} -function validateExtraData(e) { - if (!isExtraData(e)) - throwError(ERROR_BAD_EXTRA_DATA); -} -function validateSignature(signature) { - if (!isSignature(signature)) - throwError(ERROR_BAD_SIGNATURE); -} -function validateSignatureCustom(validatorFn) { - if (!validatorFn()) - throwError(ERROR_BAD_SIGNATURE); -} -function validateSignatureNonzeroRS(signature) { - if (isZero(signature.subarray(0, 32))) - throwError(ERROR_BAD_SIGNATURE); - if (isZero(signature.subarray(32, 64))) - throwError(ERROR_BAD_SIGNATURE); -} -function validateSigrPMinusN(signature) { - if (!isSigrLessThanPMinusN(signature)) - throwError(ERROR_BAD_RECOVERY_ID); -} - -function path(wasmFilename) { - const url = new Url.URL(wasmFilename, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('index.js', document.baseURI).href))); - return Url.fileURLToPath(url); -} - -function generateInt32() { - return require$$0$2.randomBytes(4).readInt32BE(0); -} - -var rand = /*#__PURE__*/Object.freeze({ - __proto__: null, - generateInt32: generateInt32 -}); - -const binary = fs.readFileSync(path("secp256k1.wasm")); -const imports = { - "./rand.js": rand, - "./validate_error.js": validate_error, -}; -const mod = new WebAssembly.Module(binary); -const instance = new WebAssembly.Instance(mod, imports); -var wasm = instance.exports; - -const WASM_BUFFER = new Uint8Array(wasm.memory.buffer); -const WASM_PRIVATE_KEY_PTR = wasm.PRIVATE_INPUT.value; -const WASM_PUBLIC_KEY_INPUT_PTR = wasm.PUBLIC_KEY_INPUT.value; -const WASM_PUBLIC_KEY_INPUT_PTR2 = wasm.PUBLIC_KEY_INPUT2.value; -const WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT.value; -const WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT2.value; -const WASM_TWEAK_INPUT_PTR = wasm.TWEAK_INPUT.value; -const WASM_HASH_INPUT_PTR = wasm.HASH_INPUT.value; -const WASM_EXTRA_DATA_INPUT_PTR = wasm.EXTRA_DATA_INPUT.value; -const WASM_SIGNATURE_INPUT_PTR = wasm.SIGNATURE_INPUT.value; -const PRIVATE_KEY_INPUT = WASM_BUFFER.subarray(WASM_PRIVATE_KEY_PTR, WASM_PRIVATE_KEY_PTR + PRIVATE_KEY_SIZE); -const PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR, WASM_PUBLIC_KEY_INPUT_PTR + PUBLIC_KEY_UNCOMPRESSED_SIZE); -const PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR2, WASM_PUBLIC_KEY_INPUT_PTR2 + PUBLIC_KEY_UNCOMPRESSED_SIZE); -const X_ONLY_PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR + X_ONLY_PUBLIC_KEY_SIZE); -const X_ONLY_PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR + X_ONLY_PUBLIC_KEY_SIZE); -const TWEAK_INPUT = WASM_BUFFER.subarray(WASM_TWEAK_INPUT_PTR, WASM_TWEAK_INPUT_PTR + TWEAK_SIZE); -const HASH_INPUT = WASM_BUFFER.subarray(WASM_HASH_INPUT_PTR, WASM_HASH_INPUT_PTR + HASH_SIZE); -const EXTRA_DATA_INPUT = WASM_BUFFER.subarray(WASM_EXTRA_DATA_INPUT_PTR, WASM_EXTRA_DATA_INPUT_PTR + EXTRA_DATA_SIZE); -const SIGNATURE_INPUT = WASM_BUFFER.subarray(WASM_SIGNATURE_INPUT_PTR, WASM_SIGNATURE_INPUT_PTR + SIGNATURE_SIZE); -function assumeCompression(compressed, p) { - if (compressed === undefined) { - return p !== undefined ? p.length : PUBLIC_KEY_COMPRESSED_SIZE; - } - return compressed - ? PUBLIC_KEY_COMPRESSED_SIZE - : PUBLIC_KEY_UNCOMPRESSED_SIZE; -} -function _isPoint(p) { - try { - PUBLIC_KEY_INPUT.set(p); - return wasm.isPoint(p.length) === 1; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - } -} -function __initializeContext() { - wasm.initializeContext(); -} -function isPoint(p) { - return isDERPoint(p) && _isPoint(p); -} -function isPointCompressed(p) { - return isPointCompressed$1(p) && _isPoint(p); -} -function isXOnlyPoint(p) { - return isXOnlyPoint$1(p) && _isPoint(p); -} -function isPrivate(d) { - return isPrivate$1(d); -} -function pointAdd(pA, pB, compressed) { - validatePoint(pA); - validatePoint(pB); - const outputlen = assumeCompression(compressed, pA); - try { - PUBLIC_KEY_INPUT.set(pA); - PUBLIC_KEY_INPUT2.set(pB); - return wasm.pointAdd(pA.length, pB.length, outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - PUBLIC_KEY_INPUT2.fill(0); - } -} -function pointAddScalar(p, tweak, compressed) { - validatePoint(p); - validateTweak(tweak); - const outputlen = assumeCompression(compressed, p); - try { - PUBLIC_KEY_INPUT.set(p); - TWEAK_INPUT.set(tweak); - return wasm.pointAddScalar(p.length, outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function pointCompress(p, compressed) { - validatePoint(p); - const outputlen = assumeCompression(compressed, p); - try { - PUBLIC_KEY_INPUT.set(p); - wasm.pointCompress(p.length, outputlen); - return PUBLIC_KEY_INPUT.slice(0, outputlen); - } - finally { - PUBLIC_KEY_INPUT.fill(0); - } -} -function pointFromScalar(d, compressed) { - validatePrivate(d); - const outputlen = assumeCompression(compressed); - try { - PRIVATE_KEY_INPUT.set(d); - return wasm.pointFromScalar(outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PRIVATE_KEY_INPUT.fill(0); - PUBLIC_KEY_INPUT.fill(0); - } -} -function xOnlyPointFromScalar(d) { - validatePrivate(d); - try { - PRIVATE_KEY_INPUT.set(d); - wasm.xOnlyPointFromScalar(); - return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); - } - finally { - PRIVATE_KEY_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - } -} -function xOnlyPointFromPoint(p) { - validatePoint(p); - try { - PUBLIC_KEY_INPUT.set(p); - wasm.xOnlyPointFromPoint(p.length); - return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); - } - finally { - PUBLIC_KEY_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - } -} -function pointMultiply(p, tweak, compressed) { - validatePoint(p); - validateTweak(tweak); - const outputlen = assumeCompression(compressed, p); - try { - PUBLIC_KEY_INPUT.set(p); - TWEAK_INPUT.set(tweak); - return wasm.pointMultiply(p.length, outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function privateAdd(d, tweak) { - validatePrivate(d); - validateTweak(tweak); - try { - PRIVATE_KEY_INPUT.set(d); - TWEAK_INPUT.set(tweak); - return wasm.privateAdd() === 1 - ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) - : null; - } - finally { - PRIVATE_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function privateSub(d, tweak) { - validatePrivate(d); - validateTweak(tweak); - // We can not pass zero tweak to WASM, because WASM use `secp256k1_ec_seckey_negate` for tweak negate. - // (zero is not valid seckey) - if (isZero(tweak)) { - return new Uint8Array(d); - } - try { - PRIVATE_KEY_INPUT.set(d); - TWEAK_INPUT.set(tweak); - return wasm.privateSub() === 1 - ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) - : null; - } - finally { - PRIVATE_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function privateNegate(d) { - validatePrivate(d); - try { - PRIVATE_KEY_INPUT.set(d); - wasm.privateNegate(); - return PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE); - } - finally { - PRIVATE_KEY_INPUT.fill(0); - } -} -function xOnlyPointAddTweak(p, tweak) { - validateXOnlyPoint(p); - validateTweak(tweak); - try { - X_ONLY_PUBLIC_KEY_INPUT.set(p); - TWEAK_INPUT.set(tweak); - const parity = wasm.xOnlyPointAddTweak(); - return parity !== -1 - ? { - parity, - xOnlyPubkey: X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE), - } - : null; - } - finally { - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function xOnlyPointAddTweakCheck(point, tweak, resultToCheck, tweakParity) { - validateXOnlyPoint(point); - validateXOnlyPoint(resultToCheck); - validateTweak(tweak); - const hasParity = tweakParity !== undefined; - if (hasParity) - validateParity(tweakParity); - try { - X_ONLY_PUBLIC_KEY_INPUT.set(point); - X_ONLY_PUBLIC_KEY_INPUT2.set(resultToCheck); - TWEAK_INPUT.set(tweak); - if (hasParity) { - return wasm.xOnlyPointAddTweakCheck(tweakParity) === 1; - } - else { - wasm.xOnlyPointAddTweak(); - const newKey = X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); - return compare(newKey, resultToCheck) === 0; - } - } - finally { - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT2.fill(0); - TWEAK_INPUT.fill(0); - } -} -function sign(h, d, e) { - validateHash(h); - validatePrivate(d); - validateExtraData(e); - try { - HASH_INPUT.set(h); - PRIVATE_KEY_INPUT.set(d); - if (e !== undefined) - EXTRA_DATA_INPUT.set(e); - wasm.sign(e === undefined ? 0 : 1); - return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); - } - finally { - HASH_INPUT.fill(0); - PRIVATE_KEY_INPUT.fill(0); - if (e !== undefined) - EXTRA_DATA_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function signRecoverable(h, d, e) { - validateHash(h); - validatePrivate(d); - validateExtraData(e); - try { - HASH_INPUT.set(h); - PRIVATE_KEY_INPUT.set(d); - if (e !== undefined) - EXTRA_DATA_INPUT.set(e); - const recoveryId = wasm.signRecoverable(e === undefined ? 0 : 1); - const signature = SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); - return { - signature, - recoveryId, - }; - } - finally { - HASH_INPUT.fill(0); - PRIVATE_KEY_INPUT.fill(0); - if (e !== undefined) - EXTRA_DATA_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function signSchnorr(h, d, e) { - validateHash(h); - validatePrivate(d); - validateExtraData(e); - try { - HASH_INPUT.set(h); - PRIVATE_KEY_INPUT.set(d); - if (e !== undefined) - EXTRA_DATA_INPUT.set(e); - wasm.signSchnorr(e === undefined ? 0 : 1); - return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); - } - finally { - HASH_INPUT.fill(0); - PRIVATE_KEY_INPUT.fill(0); - if (e !== undefined) - EXTRA_DATA_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function verify(h, Q, signature, strict = false) { - validateHash(h); - validatePoint(Q); - validateSignature(signature); - try { - HASH_INPUT.set(h); - PUBLIC_KEY_INPUT.set(Q); - SIGNATURE_INPUT.set(signature); - return wasm.verify(Q.length, strict === true ? 1 : 0) === 1 ? true : false; - } - finally { - HASH_INPUT.fill(0); - PUBLIC_KEY_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function recover(h, signature, recoveryId, compressed = false) { - validateHash(h); - validateSignature(signature); - validateSignatureNonzeroRS(signature); - if (recoveryId & 2) { - validateSigrPMinusN(signature); - } - validateSignatureCustom(() => isXOnlyPoint(signature.subarray(0, 32))); - const outputlen = assumeCompression(compressed); - try { - HASH_INPUT.set(h); - SIGNATURE_INPUT.set(signature); - return wasm.recover(outputlen, recoveryId) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - HASH_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - PUBLIC_KEY_INPUT.fill(0); - } -} -function verifySchnorr(h, Q, signature) { - validateHash(h); - validateXOnlyPoint(Q); - validateSignature(signature); - try { - HASH_INPUT.set(h); - X_ONLY_PUBLIC_KEY_INPUT.set(Q); - SIGNATURE_INPUT.set(signature); - return wasm.verifySchnorr() === 1 ? true : false; - } - finally { - HASH_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} - -var lib = /*#__PURE__*/Object.freeze({ - __proto__: null, - __initializeContext: __initializeContext, - isPoint: isPoint, - isPointCompressed: isPointCompressed, - isXOnlyPoint: isXOnlyPoint, - isPrivate: isPrivate, - pointAdd: pointAdd, - pointAddScalar: pointAddScalar, - pointCompress: pointCompress, - pointFromScalar: pointFromScalar, - xOnlyPointFromScalar: xOnlyPointFromScalar, - xOnlyPointFromPoint: xOnlyPointFromPoint, - pointMultiply: pointMultiply, - privateAdd: privateAdd, - privateSub: privateSub, - privateNegate: privateNegate, - xOnlyPointAddTweak: xOnlyPointAddTweak, - xOnlyPointAddTweakCheck: xOnlyPointAddTweakCheck, - sign: sign, - signRecoverable: signRecoverable, - signSchnorr: signSchnorr, - verify: verify, - recover: recover, - verifySchnorr: verifySchnorr -}); - -var require$$5 = /*@__PURE__*/getAugmentedNamespace(lib); - -var payments$1 = {}; - -var embed = {}; - -var networks = {}; - -Object.defineProperty(networks, '__esModule', { value: true }); -networks.testnet = networks.regtest = networks.bitcoin = void 0; -networks.bitcoin = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'bc', - bip32: { - public: 0x0488b21e, - private: 0x0488ade4, - }, - pubKeyHash: 0x00, - scriptHash: 0x05, - wif: 0x80, -}; -networks.regtest = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'bcrt', - bip32: { - public: 0x043587cf, - private: 0x04358394, - }, - pubKeyHash: 0x6f, - scriptHash: 0xc4, - wif: 0xef, -}; -networks.testnet = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'tb', - bip32: { - public: 0x043587cf, - private: 0x04358394, - }, - pubKeyHash: 0x6f, - scriptHash: 0xc4, - wif: 0xef, -}; - -var script = {}; - -var bip66$1 = {}; - -// Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki -// Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] -// NOTE: SIGHASH byte ignored AND restricted, truncate before use -Object.defineProperty(bip66$1, '__esModule', { value: true }); -bip66$1.encode = bip66$1.decode = bip66$1.check = void 0; -function check(buffer) { - if (buffer.length < 8) return false; - if (buffer.length > 72) return false; - if (buffer[0] !== 0x30) return false; - if (buffer[1] !== buffer.length - 2) return false; - if (buffer[2] !== 0x02) return false; - const lenR = buffer[3]; - if (lenR === 0) return false; - if (5 + lenR >= buffer.length) return false; - if (buffer[4 + lenR] !== 0x02) return false; - const lenS = buffer[5 + lenR]; - if (lenS === 0) return false; - if (6 + lenR + lenS !== buffer.length) return false; - if (buffer[4] & 0x80) return false; - if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) return false; - if (buffer[lenR + 6] & 0x80) return false; - if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) - return false; - return true; -} -bip66$1.check = check; -function decode$4(buffer) { - if (buffer.length < 8) throw new Error('DER sequence length is too short'); - if (buffer.length > 72) throw new Error('DER sequence length is too long'); - if (buffer[0] !== 0x30) throw new Error('Expected DER sequence'); - if (buffer[1] !== buffer.length - 2) - throw new Error('DER sequence length is invalid'); - if (buffer[2] !== 0x02) throw new Error('Expected DER integer'); - const lenR = buffer[3]; - if (lenR === 0) throw new Error('R length is zero'); - if (5 + lenR >= buffer.length) throw new Error('R length is too long'); - if (buffer[4 + lenR] !== 0x02) throw new Error('Expected DER integer (2)'); - const lenS = buffer[5 + lenR]; - if (lenS === 0) throw new Error('S length is zero'); - if (6 + lenR + lenS !== buffer.length) throw new Error('S length is invalid'); - if (buffer[4] & 0x80) throw new Error('R value is negative'); - if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) - throw new Error('R value excessively padded'); - if (buffer[lenR + 6] & 0x80) throw new Error('S value is negative'); - if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) - throw new Error('S value excessively padded'); - // non-BIP66 - extract R, S values - return { - r: buffer.slice(4, 4 + lenR), - s: buffer.slice(6 + lenR), - }; -} -bip66$1.decode = decode$4; -/* - * Expects r and s to be positive DER integers. - * - * The DER format uses the most significant bit as a sign bit (& 0x80). - * If the significant bit is set AND the integer is positive, a 0x00 is prepended. - * - * Examples: - * - * 0 => 0x00 - * 1 => 0x01 - * -1 => 0xff - * 127 => 0x7f - * -127 => 0x81 - * 128 => 0x0080 - * -128 => 0x80 - * 255 => 0x00ff - * -255 => 0xff01 - * 16300 => 0x3fac - * -16300 => 0xc054 - * 62300 => 0x00f35c - * -62300 => 0xff0ca4 - */ -function encode$4(r, s) { - const lenR = r.length; - const lenS = s.length; - if (lenR === 0) throw new Error('R length is zero'); - if (lenS === 0) throw new Error('S length is zero'); - if (lenR > 33) throw new Error('R length is too long'); - if (lenS > 33) throw new Error('S length is too long'); - if (r[0] & 0x80) throw new Error('R value is negative'); - if (s[0] & 0x80) throw new Error('S value is negative'); - if (lenR > 1 && r[0] === 0x00 && !(r[1] & 0x80)) - throw new Error('R value excessively padded'); - if (lenS > 1 && s[0] === 0x00 && !(s[1] & 0x80)) - throw new Error('S value excessively padded'); - const signature = Buffer.allocUnsafe(6 + lenR + lenS); - // 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] - signature[0] = 0x30; - signature[1] = signature.length - 2; - signature[2] = 0x02; - signature[3] = r.length; - r.copy(signature, 4); - signature[4 + lenR] = 0x02; - signature[5 + lenR] = s.length; - s.copy(signature, 6 + lenR); - return signature; -} -bip66$1.encode = encode$4; - -var ops = {}; - -Object.defineProperty(ops, '__esModule', { value: true }); -ops.REVERSE_OPS = ops.OPS = void 0; -const OPS$7 = { - OP_FALSE: 0, - OP_0: 0, - OP_PUSHDATA1: 76, - OP_PUSHDATA2: 77, - OP_PUSHDATA4: 78, - OP_1NEGATE: 79, - OP_RESERVED: 80, - OP_TRUE: 81, - OP_1: 81, - OP_2: 82, - OP_3: 83, - OP_4: 84, - OP_5: 85, - OP_6: 86, - OP_7: 87, - OP_8: 88, - OP_9: 89, - OP_10: 90, - OP_11: 91, - OP_12: 92, - OP_13: 93, - OP_14: 94, - OP_15: 95, - OP_16: 96, - OP_NOP: 97, - OP_VER: 98, - OP_IF: 99, - OP_NOTIF: 100, - OP_VERIF: 101, - OP_VERNOTIF: 102, - OP_ELSE: 103, - OP_ENDIF: 104, - OP_VERIFY: 105, - OP_RETURN: 106, - OP_TOALTSTACK: 107, - OP_FROMALTSTACK: 108, - OP_2DROP: 109, - OP_2DUP: 110, - OP_3DUP: 111, - OP_2OVER: 112, - OP_2ROT: 113, - OP_2SWAP: 114, - OP_IFDUP: 115, - OP_DEPTH: 116, - OP_DROP: 117, - OP_DUP: 118, - OP_NIP: 119, - OP_OVER: 120, - OP_PICK: 121, - OP_ROLL: 122, - OP_ROT: 123, - OP_SWAP: 124, - OP_TUCK: 125, - OP_CAT: 126, - OP_SUBSTR: 127, - OP_LEFT: 128, - OP_RIGHT: 129, - OP_SIZE: 130, - OP_INVERT: 131, - OP_AND: 132, - OP_OR: 133, - OP_XOR: 134, - OP_EQUAL: 135, - OP_EQUALVERIFY: 136, - OP_RESERVED1: 137, - OP_RESERVED2: 138, - OP_1ADD: 139, - OP_1SUB: 140, - OP_2MUL: 141, - OP_2DIV: 142, - OP_NEGATE: 143, - OP_ABS: 144, - OP_NOT: 145, - OP_0NOTEQUAL: 146, - OP_ADD: 147, - OP_SUB: 148, - OP_MUL: 149, - OP_DIV: 150, - OP_MOD: 151, - OP_LSHIFT: 152, - OP_RSHIFT: 153, - OP_BOOLAND: 154, - OP_BOOLOR: 155, - OP_NUMEQUAL: 156, - OP_NUMEQUALVERIFY: 157, - OP_NUMNOTEQUAL: 158, - OP_LESSTHAN: 159, - OP_GREATERTHAN: 160, - OP_LESSTHANOREQUAL: 161, - OP_GREATERTHANOREQUAL: 162, - OP_MIN: 163, - OP_MAX: 164, - OP_WITHIN: 165, - OP_RIPEMD160: 166, - OP_SHA1: 167, - OP_SHA256: 168, - OP_HASH160: 169, - OP_HASH256: 170, - OP_CODESEPARATOR: 171, - OP_CHECKSIG: 172, - OP_CHECKSIGVERIFY: 173, - OP_CHECKMULTISIG: 174, - OP_CHECKMULTISIGVERIFY: 175, - OP_NOP1: 176, - OP_NOP2: 177, - OP_CHECKLOCKTIMEVERIFY: 177, - OP_NOP3: 178, - OP_CHECKSEQUENCEVERIFY: 178, - OP_NOP4: 179, - OP_NOP5: 180, - OP_NOP6: 181, - OP_NOP7: 182, - OP_NOP8: 183, - OP_NOP9: 184, - OP_NOP10: 185, - OP_PUBKEYHASH: 253, - OP_PUBKEY: 254, - OP_INVALIDOPCODE: 255, -}; -ops.OPS = OPS$7; -const REVERSE_OPS = {}; -ops.REVERSE_OPS = REVERSE_OPS; -for (const op of Object.keys(OPS$7)) { - const code = OPS$7[op]; - REVERSE_OPS[code] = op; -} - -var push_data = {}; - -Object.defineProperty(push_data, '__esModule', { value: true }); -push_data.decode = push_data.encode = push_data.encodingLength = void 0; -const ops_1 = ops; -function encodingLength(i) { - return i < ops_1.OPS.OP_PUSHDATA1 ? 1 : i <= 0xff ? 2 : i <= 0xffff ? 3 : 5; -} -push_data.encodingLength = encodingLength; -function encode$3(buffer, num, offset) { - const size = encodingLength(num); - // ~6 bit - if (size === 1) { - buffer.writeUInt8(num, offset); - // 8 bit - } else if (size === 2) { - buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA1, offset); - buffer.writeUInt8(num, offset + 1); - // 16 bit - } else if (size === 3) { - buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA2, offset); - buffer.writeUInt16LE(num, offset + 1); - // 32 bit - } else { - buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA4, offset); - buffer.writeUInt32LE(num, offset + 1); - } - return size; -} -push_data.encode = encode$3; -function decode$3(buffer, offset) { - const opcode = buffer.readUInt8(offset); - let num; - let size; - // ~6 bit - if (opcode < ops_1.OPS.OP_PUSHDATA1) { - num = opcode; - size = 1; - // 8 bit - } else if (opcode === ops_1.OPS.OP_PUSHDATA1) { - if (offset + 2 > buffer.length) return null; - num = buffer.readUInt8(offset + 1); - size = 2; - // 16 bit - } else if (opcode === ops_1.OPS.OP_PUSHDATA2) { - if (offset + 3 > buffer.length) return null; - num = buffer.readUInt16LE(offset + 1); - size = 3; - // 32 bit - } else { - if (offset + 5 > buffer.length) return null; - if (opcode !== ops_1.OPS.OP_PUSHDATA4) throw new Error('Unexpected opcode'); - num = buffer.readUInt32LE(offset + 1); - size = 5; - } - return { - opcode, - number: num, - size, - }; -} -push_data.decode = decode$3; - -var script_number = {}; - -Object.defineProperty(script_number, '__esModule', { value: true }); -script_number.encode = script_number.decode = void 0; -function decode$2(buffer, maxLength, minimal) { - maxLength = maxLength || 4; - minimal = minimal === undefined ? true : minimal; - const length = buffer.length; - if (length === 0) return 0; - if (length > maxLength) throw new TypeError('Script number overflow'); - if (minimal) { - if ((buffer[length - 1] & 0x7f) === 0) { - if (length <= 1 || (buffer[length - 2] & 0x80) === 0) - throw new Error('Non-minimally encoded script number'); - } - } - // 40-bit - if (length === 5) { - const a = buffer.readUInt32LE(0); - const b = buffer.readUInt8(4); - if (b & 0x80) return -((b & ~0x80) * 0x100000000 + a); - return b * 0x100000000 + a; - } - // 32-bit / 24-bit / 16-bit / 8-bit - let result = 0; - for (let i = 0; i < length; ++i) { - result |= buffer[i] << (8 * i); - } - if (buffer[length - 1] & 0x80) - return -(result & ~(0x80 << (8 * (length - 1)))); - return result; -} -script_number.decode = decode$2; -function scriptNumSize(i) { - return i > 0x7fffffff - ? 5 - : i > 0x7fffff - ? 4 - : i > 0x7fff - ? 3 - : i > 0x7f - ? 2 - : i > 0x00 - ? 1 - : 0; -} -function encode$2(_number) { - let value = Math.abs(_number); - const size = scriptNumSize(value); - const buffer = Buffer.allocUnsafe(size); - const negative = _number < 0; - for (let i = 0; i < size; ++i) { - buffer.writeUInt8(value & 0xff, i); - value >>= 8; - } - if (buffer[size - 1] & 0x80) { - buffer.writeUInt8(negative ? 0x80 : 0x00, size - 1); - } else if (negative) { - buffer[size - 1] |= 0x80; - } - return buffer; -} -script_number.encode = encode$2; - -var script_signature = {}; - -var types$2 = {}; - -var types$1 = { - Array: function (value) { return value !== null && value !== undefined && value.constructor === Array }, - Boolean: function (value) { return typeof value === 'boolean' }, - Function: function (value) { return typeof value === 'function' }, - Nil: function (value) { return value === undefined || value === null }, - Number: function (value) { return typeof value === 'number' }, - Object: function (value) { return typeof value === 'object' }, - String: function (value) { return typeof value === 'string' }, - '': function () { return true } -}; - -// TODO: deprecate -types$1.Null = types$1.Nil; - -for (var typeName$1 in types$1) { - types$1[typeName$1].toJSON = function (t) { - return t - }.bind(null, typeName$1); -} - -var native$1 = types$1; - -var native = native$1; - -function getTypeName (fn) { - return fn.name || fn.toString().match(/function (.*?)\s*\(/)[1] -} - -function getValueTypeName$1 (value) { - return native.Nil(value) ? '' : getTypeName(value.constructor) -} - -function getValue (value) { - if (native.Function(value)) return '' - if (native.String(value)) return JSON.stringify(value) - if (value && native.Object(value)) return '' - return value -} - -function captureStackTrace (e, t) { - if (Error.captureStackTrace) { - Error.captureStackTrace(e, t); - } -} - -function tfJSON$1 (type) { - if (native.Function(type)) return type.toJSON ? type.toJSON() : getTypeName(type) - if (native.Array(type)) return 'Array' - if (type && native.Object(type)) return 'Object' - - return type !== undefined ? type : '' -} - -function tfErrorString (type, value, valueTypeName) { - var valueJson = getValue(value); - - return 'Expected ' + tfJSON$1(type) + ', got' + - (valueTypeName !== '' ? ' ' + valueTypeName : '') + - (valueJson !== '' ? ' ' + valueJson : '') -} - -function TfTypeError$1 (type, value, valueTypeName) { - valueTypeName = valueTypeName || getValueTypeName$1(value); - this.message = tfErrorString(type, value, valueTypeName); - - captureStackTrace(this, TfTypeError$1); - this.__type = type; - this.__value = value; - this.__valueTypeName = valueTypeName; -} - -TfTypeError$1.prototype = Object.create(Error.prototype); -TfTypeError$1.prototype.constructor = TfTypeError$1; - -function tfPropertyErrorString (type, label, name, value, valueTypeName) { - var description = '" of type '; - if (label === 'key') description = '" with key type '; - - return tfErrorString('property "' + tfJSON$1(name) + description + tfJSON$1(type), value, valueTypeName) -} - -function TfPropertyTypeError$1 (type, property, label, value, valueTypeName) { - if (type) { - valueTypeName = valueTypeName || getValueTypeName$1(value); - this.message = tfPropertyErrorString(type, label, property, value, valueTypeName); - } else { - this.message = 'Unexpected property "' + property + '"'; - } - - captureStackTrace(this, TfTypeError$1); - this.__label = label; - this.__property = property; - this.__type = type; - this.__value = value; - this.__valueTypeName = valueTypeName; -} - -TfPropertyTypeError$1.prototype = Object.create(Error.prototype); -TfPropertyTypeError$1.prototype.constructor = TfTypeError$1; - -function tfCustomError (expected, actual) { - return new TfTypeError$1(expected, {}, actual) -} - -function tfSubError$1 (e, property, label) { - // sub child? - if (e instanceof TfPropertyTypeError$1) { - property = property + '.' + e.__property; - - e = new TfPropertyTypeError$1( - e.__type, property, e.__label, e.__value, e.__valueTypeName - ); - - // child? - } else if (e instanceof TfTypeError$1) { - e = new TfPropertyTypeError$1( - e.__type, property, label, e.__value, e.__valueTypeName - ); - } - - captureStackTrace(e); - return e -} - -var errors = { - TfTypeError: TfTypeError$1, - TfPropertyTypeError: TfPropertyTypeError$1, - tfCustomError: tfCustomError, - tfSubError: tfSubError$1, - tfJSON: tfJSON$1, - getValueTypeName: getValueTypeName$1 -}; - -var extra; -var hasRequiredExtra; - -function requireExtra () { - if (hasRequiredExtra) return extra; - hasRequiredExtra = 1; - var NATIVE = native$1; - var ERRORS = errors; - - function _Buffer (value) { - return Buffer.isBuffer(value) - } - - function Hex (value) { - return typeof value === 'string' && /^([0-9a-f]{2})+$/i.test(value) - } - - function _LengthN (type, length) { - var name = type.toJSON(); - - function Length (value) { - if (!type(value)) return false - if (value.length === length) return true - - throw ERRORS.tfCustomError(name + '(Length: ' + length + ')', name + '(Length: ' + value.length + ')') - } - Length.toJSON = function () { return name }; - - return Length - } - - var _ArrayN = _LengthN.bind(null, NATIVE.Array); - var _BufferN = _LengthN.bind(null, _Buffer); - var _HexN = _LengthN.bind(null, Hex); - var _StringN = _LengthN.bind(null, NATIVE.String); - - function Range (a, b, f) { - f = f || NATIVE.Number; - function _range (value, strict) { - return f(value, strict) && (value > a) && (value < b) - } - _range.toJSON = function () { - return `${f.toJSON()} between [${a}, ${b}]` - }; - return _range - } - - var INT53_MAX = Math.pow(2, 53) - 1; - - function Finite (value) { - return typeof value === 'number' && isFinite(value) - } - function Int8 (value) { return ((value << 24) >> 24) === value } - function Int16 (value) { return ((value << 16) >> 16) === value } - function Int32 (value) { return (value | 0) === value } - function Int53 (value) { - return typeof value === 'number' && - value >= -INT53_MAX && - value <= INT53_MAX && - Math.floor(value) === value - } - function UInt8 (value) { return (value & 0xff) === value } - function UInt16 (value) { return (value & 0xffff) === value } - function UInt32 (value) { return (value >>> 0) === value } - function UInt53 (value) { - return typeof value === 'number' && - value >= 0 && - value <= INT53_MAX && - Math.floor(value) === value - } - - var types = { - ArrayN: _ArrayN, - Buffer: _Buffer, - BufferN: _BufferN, - Finite: Finite, - Hex: Hex, - HexN: _HexN, - Int8: Int8, - Int16: Int16, - Int32: Int32, - Int53: Int53, - Range: Range, - StringN: _StringN, - UInt8: UInt8, - UInt16: UInt16, - UInt32: UInt32, - UInt53: UInt53 - }; - - for (var typeName in types) { - types[typeName].toJSON = function (t) { - return t - }.bind(null, typeName); - } - - extra = types; - return extra; -} - -var ERRORS = errors; -var NATIVE = native$1; - -// short-hand -var tfJSON = ERRORS.tfJSON; -var TfTypeError = ERRORS.TfTypeError; -var TfPropertyTypeError = ERRORS.TfPropertyTypeError; -var tfSubError = ERRORS.tfSubError; -var getValueTypeName = ERRORS.getValueTypeName; - -var TYPES = { - arrayOf: function arrayOf (type, options) { - type = compile(type); - options = options || {}; - - function _arrayOf (array, strict) { - if (!NATIVE.Array(array)) return false - if (NATIVE.Nil(array)) return false - if (options.minLength !== undefined && array.length < options.minLength) return false - if (options.maxLength !== undefined && array.length > options.maxLength) return false - if (options.length !== undefined && array.length !== options.length) return false - - return array.every(function (value, i) { - try { - return typeforce$2(type, value, strict) - } catch (e) { - throw tfSubError(e, i) - } - }) - } - _arrayOf.toJSON = function () { - var str = '[' + tfJSON(type) + ']'; - if (options.length !== undefined) { - str += '{' + options.length + '}'; - } else if (options.minLength !== undefined || options.maxLength !== undefined) { - str += '{' + - (options.minLength === undefined ? 0 : options.minLength) + ',' + - (options.maxLength === undefined ? Infinity : options.maxLength) + '}'; - } - return str - }; - - return _arrayOf - }, - - maybe: function maybe (type) { - type = compile(type); - - function _maybe (value, strict) { - return NATIVE.Nil(value) || type(value, strict, maybe) - } - _maybe.toJSON = function () { return '?' + tfJSON(type) }; - - return _maybe - }, - - map: function map (propertyType, propertyKeyType) { - propertyType = compile(propertyType); - if (propertyKeyType) propertyKeyType = compile(propertyKeyType); - - function _map (value, strict) { - if (!NATIVE.Object(value)) return false - if (NATIVE.Nil(value)) return false - - for (var propertyName in value) { - try { - if (propertyKeyType) { - typeforce$2(propertyKeyType, propertyName, strict); - } - } catch (e) { - throw tfSubError(e, propertyName, 'key') - } - - try { - var propertyValue = value[propertyName]; - typeforce$2(propertyType, propertyValue, strict); - } catch (e) { - throw tfSubError(e, propertyName) - } - } - - return true - } - - if (propertyKeyType) { - _map.toJSON = function () { - return '{' + tfJSON(propertyKeyType) + ': ' + tfJSON(propertyType) + '}' - }; - } else { - _map.toJSON = function () { return '{' + tfJSON(propertyType) + '}' }; - } - - return _map - }, - - object: function object (uncompiled) { - var type = {}; - - for (var typePropertyName in uncompiled) { - type[typePropertyName] = compile(uncompiled[typePropertyName]); - } - - function _object (value, strict) { - if (!NATIVE.Object(value)) return false - if (NATIVE.Nil(value)) return false - - var propertyName; - - try { - for (propertyName in type) { - var propertyType = type[propertyName]; - var propertyValue = value[propertyName]; - - typeforce$2(propertyType, propertyValue, strict); - } - } catch (e) { - throw tfSubError(e, propertyName) - } - - if (strict) { - for (propertyName in value) { - if (type[propertyName]) continue - - throw new TfPropertyTypeError(undefined, propertyName) - } - } - - return true - } - _object.toJSON = function () { return tfJSON(type) }; - - return _object - }, - - anyOf: function anyOf () { - var types = [].slice.call(arguments).map(compile); - - function _anyOf (value, strict) { - return types.some(function (type) { - try { - return typeforce$2(type, value, strict) - } catch (e) { - return false - } - }) - } - _anyOf.toJSON = function () { return types.map(tfJSON).join('|') }; - - return _anyOf - }, - - allOf: function allOf () { - var types = [].slice.call(arguments).map(compile); - - function _allOf (value, strict) { - return types.every(function (type) { - try { - return typeforce$2(type, value, strict) - } catch (e) { - return false - } - }) - } - _allOf.toJSON = function () { return types.map(tfJSON).join(' & ') }; - - return _allOf - }, - - quacksLike: function quacksLike (type) { - function _quacksLike (value) { - return type === getValueTypeName(value) - } - _quacksLike.toJSON = function () { return type }; - - return _quacksLike - }, - - tuple: function tuple () { - var types = [].slice.call(arguments).map(compile); - - function _tuple (values, strict) { - if (NATIVE.Nil(values)) return false - if (NATIVE.Nil(values.length)) return false - if (strict && (values.length !== types.length)) return false - - return types.every(function (type, i) { - try { - return typeforce$2(type, values[i], strict) - } catch (e) { - throw tfSubError(e, i) - } - }) - } - _tuple.toJSON = function () { return '(' + types.map(tfJSON).join(', ') + ')' }; - - return _tuple - }, - - value: function value (expected) { - function _value (actual) { - return actual === expected - } - _value.toJSON = function () { return expected }; - - return _value - } -}; - -// TODO: deprecate -TYPES.oneOf = TYPES.anyOf; - -function compile (type) { - if (NATIVE.String(type)) { - if (type[0] === '?') return TYPES.maybe(type.slice(1)) - - return NATIVE[type] || TYPES.quacksLike(type) - } else if (type && NATIVE.Object(type)) { - if (NATIVE.Array(type)) { - if (type.length !== 1) throw new TypeError('Expected compile() parameter of type Array of length 1') - return TYPES.arrayOf(type[0]) - } - - return TYPES.object(type) - } else if (NATIVE.Function(type)) { - return type - } - - return TYPES.value(type) -} - -function typeforce$2 (type, value, strict, surrogate) { - if (NATIVE.Function(type)) { - if (type(value, strict)) return true - - throw new TfTypeError(surrogate || type, value) - } - - // JIT - return typeforce$2(compile(type), value, strict) -} - -// assign types to typeforce function -for (var typeName in NATIVE) { - typeforce$2[typeName] = NATIVE[typeName]; -} - -for (typeName in TYPES) { - typeforce$2[typeName] = TYPES[typeName]; -} - -var EXTRA = requireExtra(); -for (typeName in EXTRA) { - typeforce$2[typeName] = EXTRA[typeName]; -} - -typeforce$2.compile = compile; -typeforce$2.TfTypeError = TfTypeError; -typeforce$2.TfPropertyTypeError = TfPropertyTypeError; - -var typeforce_1 = typeforce$2; - -(function (exports) { - Object.defineProperty(exports, '__esModule', { value: true }); - exports.oneOf = exports.Null = exports.BufferN = exports.Function = exports.UInt32 = exports.UInt8 = exports.tuple = exports.maybe = exports.Hex = exports.Buffer = exports.String = exports.Boolean = exports.Array = exports.Number = exports.Hash256bit = exports.Hash160bit = exports.Buffer256bit = exports.Network = exports.ECPoint = exports.Satoshi = exports.Signer = exports.BIP32Path = exports.UInt31 = exports.isPoint = exports.typeforce = void 0; - const buffer_1 = require$$0__default$3["default"]; - exports.typeforce = typeforce_1; - const ZERO32 = buffer_1.Buffer.alloc(32, 0); - const EC_P = buffer_1.Buffer.from( - 'fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f', - 'hex', - ); - function isPoint(p) { - if (!buffer_1.Buffer.isBuffer(p)) return false; - if (p.length < 33) return false; - const t = p[0]; - const x = p.slice(1, 33); - if (x.compare(ZERO32) === 0) return false; - if (x.compare(EC_P) >= 0) return false; - if ((t === 0x02 || t === 0x03) && p.length === 33) { - return true; - } - const y = p.slice(33); - if (y.compare(ZERO32) === 0) return false; - if (y.compare(EC_P) >= 0) return false; - if (t === 0x04 && p.length === 65) return true; - return false; - } - exports.isPoint = isPoint; - const UINT31_MAX = Math.pow(2, 31) - 1; - function UInt31(value) { - return exports.typeforce.UInt32(value) && value <= UINT31_MAX; - } - exports.UInt31 = UInt31; - function BIP32Path(value) { - return ( - exports.typeforce.String(value) && !!value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) - ); - } - exports.BIP32Path = BIP32Path; - BIP32Path.toJSON = () => { - return 'BIP32 derivation path'; - }; - function Signer(obj) { - return ( - (exports.typeforce.Buffer(obj.publicKey) || - typeof obj.getPublicKey === 'function') && - typeof obj.sign === 'function' - ); - } - exports.Signer = Signer; - const SATOSHI_MAX = 21 * 1e14; - function Satoshi(value) { - return exports.typeforce.UInt53(value) && value <= SATOSHI_MAX; - } - exports.Satoshi = Satoshi; - // external dependent types - exports.ECPoint = exports.typeforce.quacksLike('Point'); - // exposed, external API - exports.Network = exports.typeforce.compile({ - messagePrefix: exports.typeforce.oneOf( - exports.typeforce.Buffer, - exports.typeforce.String, - ), - bip32: { - public: exports.typeforce.UInt32, - private: exports.typeforce.UInt32, - }, - pubKeyHash: exports.typeforce.UInt8, - scriptHash: exports.typeforce.UInt8, - wif: exports.typeforce.UInt8, - }); - exports.Buffer256bit = exports.typeforce.BufferN(32); - exports.Hash160bit = exports.typeforce.BufferN(20); - exports.Hash256bit = exports.typeforce.BufferN(32); - exports.Number = exports.typeforce.Number; // tslint:disable-line variable-name - exports.Array = exports.typeforce.Array; - exports.Boolean = exports.typeforce.Boolean; // tslint:disable-line variable-name - exports.String = exports.typeforce.String; // tslint:disable-line variable-name - exports.Buffer = exports.typeforce.Buffer; - exports.Hex = exports.typeforce.Hex; - exports.maybe = exports.typeforce.maybe; - exports.tuple = exports.typeforce.tuple; - exports.UInt8 = exports.typeforce.UInt8; - exports.UInt32 = exports.typeforce.UInt32; - exports.Function = exports.typeforce.Function; - exports.BufferN = exports.typeforce.BufferN; - exports.Null = exports.typeforce.Null; - exports.oneOf = exports.typeforce.oneOf; -} (types$2)); - -Object.defineProperty(script_signature, '__esModule', { value: true }); -script_signature.encode = script_signature.decode = void 0; -const bip66 = bip66$1; -const types = types$2; -const { typeforce: typeforce$1 } = types; -const ZERO = Buffer.alloc(1, 0); -function toDER(x) { - let i = 0; - while (x[i] === 0) ++i; - if (i === x.length) return ZERO; - x = x.slice(i); - if (x[0] & 0x80) return Buffer.concat([ZERO, x], 1 + x.length); - return x; -} -function fromDER(x) { - if (x[0] === 0x00) x = x.slice(1); - const buffer = Buffer.alloc(32, 0); - const bstart = Math.max(0, 32 - x.length); - x.copy(buffer, bstart); - return buffer; -} -// BIP62: 1 byte hashType flag (only 0x01, 0x02, 0x03, 0x81, 0x82 and 0x83 are allowed) -function decode$1(buffer) { - const hashType = buffer.readUInt8(buffer.length - 1); - const hashTypeMod = hashType & ~0x80; - if (hashTypeMod <= 0 || hashTypeMod >= 4) - throw new Error('Invalid hashType ' + hashType); - const decoded = bip66.decode(buffer.slice(0, -1)); - const r = fromDER(decoded.r); - const s = fromDER(decoded.s); - const signature = Buffer.concat([r, s], 64); - return { signature, hashType }; -} -script_signature.decode = decode$1; -function encode$1(signature, hashType) { - typeforce$1( - { - signature: types.BufferN(64), - hashType: types.UInt8, - }, - { signature, hashType }, - ); - const hashTypeMod = hashType & ~0x80; - if (hashTypeMod <= 0 || hashTypeMod >= 4) - throw new Error('Invalid hashType ' + hashType); - const hashTypeBuffer = Buffer.allocUnsafe(1); - hashTypeBuffer.writeUInt8(hashType, 0); - const r = toDER(signature.slice(0, 32)); - const s = toDER(signature.slice(32, 64)); - return Buffer.concat([bip66.encode(r, s), hashTypeBuffer]); -} -script_signature.encode = encode$1; - -(function (exports) { - Object.defineProperty(exports, '__esModule', { value: true }); - exports.signature = exports.number = exports.isCanonicalScriptSignature = exports.isDefinedHashType = exports.isCanonicalPubKey = exports.toStack = exports.fromASM = exports.toASM = exports.decompile = exports.compile = exports.isPushOnly = exports.OPS = void 0; - const bip66 = bip66$1; - const ops_1 = ops; - Object.defineProperty(exports, 'OPS', { - enumerable: true, - get: function() { - return ops_1.OPS; - }, - }); - const pushdata = push_data; - const scriptNumber = script_number; - const scriptSignature = script_signature; - const types = types$2; - const { typeforce } = types; - const OP_INT_BASE = ops_1.OPS.OP_RESERVED; // OP_1 - 1 - function isOPInt(value) { - return ( - types.Number(value) && - (value === ops_1.OPS.OP_0 || - (value >= ops_1.OPS.OP_1 && value <= ops_1.OPS.OP_16) || - value === ops_1.OPS.OP_1NEGATE) - ); - } - function isPushOnlyChunk(value) { - return types.Buffer(value) || isOPInt(value); - } - function isPushOnly(value) { - return types.Array(value) && value.every(isPushOnlyChunk); - } - exports.isPushOnly = isPushOnly; - function asMinimalOP(buffer) { - if (buffer.length === 0) return ops_1.OPS.OP_0; - if (buffer.length !== 1) return; - if (buffer[0] >= 1 && buffer[0] <= 16) return OP_INT_BASE + buffer[0]; - if (buffer[0] === 0x81) return ops_1.OPS.OP_1NEGATE; - } - function chunksIsBuffer(buf) { - return Buffer.isBuffer(buf); - } - function chunksIsArray(buf) { - return types.Array(buf); - } - function singleChunkIsBuffer(buf) { - return Buffer.isBuffer(buf); - } - function compile(chunks) { - // TODO: remove me - if (chunksIsBuffer(chunks)) return chunks; - typeforce(types.Array, chunks); - const bufferSize = chunks.reduce((accum, chunk) => { - // data chunk - if (singleChunkIsBuffer(chunk)) { - // adhere to BIP62.3, minimal push policy - if (chunk.length === 1 && asMinimalOP(chunk) !== undefined) { - return accum + 1; - } - return accum + pushdata.encodingLength(chunk.length) + chunk.length; - } - // opcode - return accum + 1; - }, 0.0); - const buffer = Buffer.allocUnsafe(bufferSize); - let offset = 0; - chunks.forEach(chunk => { - // data chunk - if (singleChunkIsBuffer(chunk)) { - // adhere to BIP62.3, minimal push policy - const opcode = asMinimalOP(chunk); - if (opcode !== undefined) { - buffer.writeUInt8(opcode, offset); - offset += 1; - return; - } - offset += pushdata.encode(buffer, chunk.length, offset); - chunk.copy(buffer, offset); - offset += chunk.length; - // opcode - } else { - buffer.writeUInt8(chunk, offset); - offset += 1; - } - }); - if (offset !== buffer.length) throw new Error('Could not decode chunks'); - return buffer; - } - exports.compile = compile; - function decompile(buffer) { - // TODO: remove me - if (chunksIsArray(buffer)) return buffer; - typeforce(types.Buffer, buffer); - const chunks = []; - let i = 0; - while (i < buffer.length) { - const opcode = buffer[i]; - // data chunk - if (opcode > ops_1.OPS.OP_0 && opcode <= ops_1.OPS.OP_PUSHDATA4) { - const d = pushdata.decode(buffer, i); - // did reading a pushDataInt fail? - if (d === null) return null; - i += d.size; - // attempt to read too much data? - if (i + d.number > buffer.length) return null; - const data = buffer.slice(i, i + d.number); - i += d.number; - // decompile minimally - const op = asMinimalOP(data); - if (op !== undefined) { - chunks.push(op); - } else { - chunks.push(data); - } - // opcode - } else { - chunks.push(opcode); - i += 1; - } - } - return chunks; - } - exports.decompile = decompile; - function toASM(chunks) { - if (chunksIsBuffer(chunks)) { - chunks = decompile(chunks); - } - return chunks - .map(chunk => { - // data? - if (singleChunkIsBuffer(chunk)) { - const op = asMinimalOP(chunk); - if (op === undefined) return chunk.toString('hex'); - chunk = op; - } - // opcode! - return ops_1.REVERSE_OPS[chunk]; - }) - .join(' '); - } - exports.toASM = toASM; - function fromASM(asm) { - typeforce(types.String, asm); - return compile( - asm.split(' ').map(chunkStr => { - // opcode? - if (ops_1.OPS[chunkStr] !== undefined) return ops_1.OPS[chunkStr]; - typeforce(types.Hex, chunkStr); - // data! - return Buffer.from(chunkStr, 'hex'); - }), - ); - } - exports.fromASM = fromASM; - function toStack(chunks) { - chunks = decompile(chunks); - typeforce(isPushOnly, chunks); - return chunks.map(op => { - if (singleChunkIsBuffer(op)) return op; - if (op === ops_1.OPS.OP_0) return Buffer.allocUnsafe(0); - return scriptNumber.encode(op - OP_INT_BASE); - }); - } - exports.toStack = toStack; - function isCanonicalPubKey(buffer) { - return types.isPoint(buffer); - } - exports.isCanonicalPubKey = isCanonicalPubKey; - function isDefinedHashType(hashType) { - const hashTypeMod = hashType & ~0x80; - // return hashTypeMod > SIGHASH_ALL && hashTypeMod < SIGHASH_SINGLE - return hashTypeMod > 0x00 && hashTypeMod < 0x04; - } - exports.isDefinedHashType = isDefinedHashType; - function isCanonicalScriptSignature(buffer) { - if (!Buffer.isBuffer(buffer)) return false; - if (!isDefinedHashType(buffer[buffer.length - 1])) return false; - return bip66.check(buffer.slice(0, -1)); - } - exports.isCanonicalScriptSignature = isCanonicalScriptSignature; - // tslint:disable-next-line variable-name - exports.number = scriptNumber; - exports.signature = scriptSignature; -} (script)); - -var lazy$7 = {}; - -Object.defineProperty(lazy$7, '__esModule', { value: true }); -lazy$7.value = lazy$7.prop = void 0; -function prop(object, name, f) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: true, - get() { - const _value = f.call(this); - this[name] = _value; - return _value; - }, - set(_value) { - Object.defineProperty(this, name, { - configurable: true, - enumerable: true, - value: _value, - writable: true, - }); - }, - }); -} -lazy$7.prop = prop; -function value(f) { - let _value; - return () => { - if (_value !== undefined) return _value; - _value = f(); - return _value; - }; -} -lazy$7.value = value; - -Object.defineProperty(embed, '__esModule', { value: true }); -embed.p2data = void 0; -const networks_1$6 = networks; -const bscript$6 = script; -const types_1$6 = types$2; -const lazy$6 = lazy$7; -const OPS$6 = bscript$6.OPS; -function stacksEqual$3(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -// output: OP_RETURN ... -function p2data(a, opts) { - if (!a.data && !a.output) throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$6.typeforce)( - { - network: types_1$6.typeforce.maybe(types_1$6.typeforce.Object), - output: types_1$6.typeforce.maybe(types_1$6.typeforce.Buffer), - data: types_1$6.typeforce.maybe( - types_1$6.typeforce.arrayOf(types_1$6.typeforce.Buffer), - ), - }, - a, - ); - const network = a.network || networks_1$6.bitcoin; - const o = { name: 'embed', network }; - lazy$6.prop(o, 'output', () => { - if (!a.data) return; - return bscript$6.compile([OPS$6.OP_RETURN].concat(a.data)); - }); - lazy$6.prop(o, 'data', () => { - if (!a.output) return; - return bscript$6.decompile(a.output).slice(1); - }); - // extended validation - if (opts.validate) { - if (a.output) { - const chunks = bscript$6.decompile(a.output); - if (chunks[0] !== OPS$6.OP_RETURN) throw new TypeError('Output is invalid'); - if (!chunks.slice(1).every(types_1$6.typeforce.Buffer)) - throw new TypeError('Output is invalid'); - if (a.data && !stacksEqual$3(a.data, o.data)) - throw new TypeError('Data mismatch'); - } - } - return Object.assign(o, a); -} -embed.p2data = p2data; - -var p2ms$1 = {}; - -Object.defineProperty(p2ms$1, '__esModule', { value: true }); -p2ms$1.p2ms = void 0; -const networks_1$5 = networks; -const bscript$5 = script; -const types_1$5 = types$2; -const lazy$5 = lazy$7; -const OPS$5 = bscript$5.OPS; -const OP_INT_BASE = OPS$5.OP_RESERVED; // OP_1 - 1 -function stacksEqual$2(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -// input: OP_0 [signatures ...] -// output: m [pubKeys ...] n OP_CHECKMULTISIG -function p2ms(a, opts) { - if ( - !a.input && - !a.output && - !(a.pubkeys && a.m !== undefined) && - !a.signatures - ) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - function isAcceptableSignature(x) { - return ( - bscript$5.isCanonicalScriptSignature(x) || - (opts.allowIncomplete && x === OPS$5.OP_0) !== undefined - ); - } - (0, types_1$5.typeforce)( - { - network: types_1$5.typeforce.maybe(types_1$5.typeforce.Object), - m: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), - n: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), - output: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), - pubkeys: types_1$5.typeforce.maybe( - types_1$5.typeforce.arrayOf(types_1$5.isPoint), - ), - signatures: types_1$5.typeforce.maybe( - types_1$5.typeforce.arrayOf(isAcceptableSignature), - ), - input: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), - }, - a, - ); - const network = a.network || networks_1$5.bitcoin; - const o = { network }; - let chunks = []; - let decoded = false; - function decode(output) { - if (decoded) return; - decoded = true; - chunks = bscript$5.decompile(output); - o.m = chunks[0] - OP_INT_BASE; - o.n = chunks[chunks.length - 2] - OP_INT_BASE; - o.pubkeys = chunks.slice(1, -2); - } - lazy$5.prop(o, 'output', () => { - if (!a.m) return; - if (!o.n) return; - if (!a.pubkeys) return; - return bscript$5.compile( - [].concat( - OP_INT_BASE + a.m, - a.pubkeys, - OP_INT_BASE + o.n, - OPS$5.OP_CHECKMULTISIG, - ), - ); - }); - lazy$5.prop(o, 'm', () => { - if (!o.output) return; - decode(o.output); - return o.m; - }); - lazy$5.prop(o, 'n', () => { - if (!o.pubkeys) return; - return o.pubkeys.length; - }); - lazy$5.prop(o, 'pubkeys', () => { - if (!a.output) return; - decode(a.output); - return o.pubkeys; - }); - lazy$5.prop(o, 'signatures', () => { - if (!a.input) return; - return bscript$5.decompile(a.input).slice(1); - }); - lazy$5.prop(o, 'input', () => { - if (!a.signatures) return; - return bscript$5.compile([OPS$5.OP_0].concat(a.signatures)); - }); - lazy$5.prop(o, 'witness', () => { - if (!o.input) return; - return []; - }); - lazy$5.prop(o, 'name', () => { - if (!o.m || !o.n) return; - return `p2ms(${o.m} of ${o.n})`; - }); - // extended validation - if (opts.validate) { - if (a.output) { - decode(a.output); - if (!types_1$5.typeforce.Number(chunks[0])) - throw new TypeError('Output is invalid'); - if (!types_1$5.typeforce.Number(chunks[chunks.length - 2])) - throw new TypeError('Output is invalid'); - if (chunks[chunks.length - 1] !== OPS$5.OP_CHECKMULTISIG) - throw new TypeError('Output is invalid'); - if (o.m <= 0 || o.n > 16 || o.m > o.n || o.n !== chunks.length - 3) - throw new TypeError('Output is invalid'); - if (!o.pubkeys.every(x => (0, types_1$5.isPoint)(x))) - throw new TypeError('Output is invalid'); - if (a.m !== undefined && a.m !== o.m) throw new TypeError('m mismatch'); - if (a.n !== undefined && a.n !== o.n) throw new TypeError('n mismatch'); - if (a.pubkeys && !stacksEqual$2(a.pubkeys, o.pubkeys)) - throw new TypeError('Pubkeys mismatch'); - } - if (a.pubkeys) { - if (a.n !== undefined && a.n !== a.pubkeys.length) - throw new TypeError('Pubkey count mismatch'); - o.n = a.pubkeys.length; - if (o.n < o.m) throw new TypeError('Pubkey count cannot be less than m'); - } - if (a.signatures) { - if (a.signatures.length < o.m) - throw new TypeError('Not enough signatures provided'); - if (a.signatures.length > o.m) - throw new TypeError('Too many signatures provided'); - } - if (a.input) { - if (a.input[0] !== OPS$5.OP_0) throw new TypeError('Input is invalid'); - if ( - o.signatures.length === 0 || - !o.signatures.every(isAcceptableSignature) - ) - throw new TypeError('Input has invalid signature(s)'); - if (a.signatures && !stacksEqual$2(a.signatures, o.signatures)) - throw new TypeError('Signature mismatch'); - if (a.m !== undefined && a.m !== a.signatures.length) - throw new TypeError('Signature count mismatch'); - } - } - return Object.assign(o, a); -} -p2ms$1.p2ms = p2ms; - -var p2pk$1 = {}; - -Object.defineProperty(p2pk$1, '__esModule', { value: true }); -p2pk$1.p2pk = void 0; -const networks_1$4 = networks; -const bscript$4 = script; -const types_1$4 = types$2; -const lazy$4 = lazy$7; -const OPS$4 = bscript$4.OPS; -// input: {signature} -// output: {pubKey} OP_CHECKSIG -function p2pk(a, opts) { - if (!a.input && !a.output && !a.pubkey && !a.input && !a.signature) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$4.typeforce)( - { - network: types_1$4.typeforce.maybe(types_1$4.typeforce.Object), - output: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), - pubkey: types_1$4.typeforce.maybe(types_1$4.isPoint), - signature: types_1$4.typeforce.maybe(bscript$4.isCanonicalScriptSignature), - input: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), - }, - a, - ); - const _chunks = lazy$4.value(() => { - return bscript$4.decompile(a.input); - }); - const network = a.network || networks_1$4.bitcoin; - const o = { name: 'p2pk', network }; - lazy$4.prop(o, 'output', () => { - if (!a.pubkey) return; - return bscript$4.compile([a.pubkey, OPS$4.OP_CHECKSIG]); - }); - lazy$4.prop(o, 'pubkey', () => { - if (!a.output) return; - return a.output.slice(1, -1); - }); - lazy$4.prop(o, 'signature', () => { - if (!a.input) return; - return _chunks()[0]; - }); - lazy$4.prop(o, 'input', () => { - if (!a.signature) return; - return bscript$4.compile([a.signature]); - }); - lazy$4.prop(o, 'witness', () => { - if (!o.input) return; - return []; - }); - // extended validation - if (opts.validate) { - if (a.output) { - if (a.output[a.output.length - 1] !== OPS$4.OP_CHECKSIG) - throw new TypeError('Output is invalid'); - if (!(0, types_1$4.isPoint)(o.pubkey)) - throw new TypeError('Output pubkey is invalid'); - if (a.pubkey && !a.pubkey.equals(o.pubkey)) - throw new TypeError('Pubkey mismatch'); - } - if (a.signature) { - if (a.input && !a.input.equals(o.input)) - throw new TypeError('Signature mismatch'); - } - if (a.input) { - if (_chunks().length !== 1) throw new TypeError('Input is invalid'); - if (!bscript$4.isCanonicalScriptSignature(o.signature)) - throw new TypeError('Input has invalid signature'); - } - } - return Object.assign(o, a); -} -p2pk$1.p2pk = p2pk; - -var p2pkh$1 = {}; - -var crypto$3 = {}; - -var createHash$3 = require$$0__default["default"].createHash; - -Object.defineProperty(crypto$3, '__esModule', { value: true }); -crypto$3.taggedHash = crypto$3.hash256 = crypto$3.hash160 = crypto$3.sha256 = crypto$3.sha1 = crypto$3.ripemd160 = void 0; -const createHash$2 = createHash$3; -function ripemd160(buffer) { - try { - return createHash$2('rmd160') - .update(buffer) - .digest(); - } catch (err) { - return createHash$2('ripemd160') - .update(buffer) - .digest(); - } -} -crypto$3.ripemd160 = ripemd160; -function sha1(buffer) { - return createHash$2('sha1') - .update(buffer) - .digest(); -} -crypto$3.sha1 = sha1; -function sha256(buffer) { - return createHash$2('sha256') - .update(buffer) - .digest(); -} -crypto$3.sha256 = sha256; -function hash160$1(buffer) { - return ripemd160(sha256(buffer)); -} -crypto$3.hash160 = hash160$1; -function hash256(buffer) { - return sha256(sha256(buffer)); -} -crypto$3.hash256 = hash256; -const TAGS = [ - 'BIP0340/challenge', - 'BIP0340/aux', - 'BIP0340/nonce', - 'TapLeaf', - 'TapBranch', - 'TapSighash', - 'TapTweak', - 'KeyAgg list', - 'KeyAgg coefficient', -]; -/** An object mapping tags to their tagged hash prefix of [SHA256(tag) | SHA256(tag)] */ -const TAGGED_HASH_PREFIXES = Object.fromEntries( - TAGS.map(tag => { - const tagHash = sha256(Buffer.from(tag)); - return [tag, Buffer.concat([tagHash, tagHash])]; - }), -); -function taggedHash(prefix, data) { - return sha256(Buffer.concat([TAGGED_HASH_PREFIXES[prefix], data])); -} -crypto$3.taggedHash = taggedHash; - -var safeBuffer = {exports: {}}; - -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ - -(function (module, exports) { - /* eslint-disable node/no-deprecated-api */ - var buffer = require$$0__default$3["default"]; - var Buffer = buffer.Buffer; - - // alternative to using Object.keys for old browsers - function copyProps (src, dst) { - for (var key in src) { - dst[key] = src[key]; - } - } - if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { - module.exports = buffer; - } else { - // Copy properties from require('buffer') - copyProps(buffer, exports); - exports.Buffer = SafeBuffer; - } - - function SafeBuffer (arg, encodingOrOffset, length) { - return Buffer(arg, encodingOrOffset, length) - } - - SafeBuffer.prototype = Object.create(Buffer.prototype); - - // Copy static methods from Buffer - copyProps(Buffer, SafeBuffer); - - SafeBuffer.from = function (arg, encodingOrOffset, length) { - if (typeof arg === 'number') { - throw new TypeError('Argument must not be a number') - } - return Buffer(arg, encodingOrOffset, length) - }; - - SafeBuffer.alloc = function (size, fill, encoding) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - var buf = Buffer(size); - if (fill !== undefined) { - if (typeof encoding === 'string') { - buf.fill(fill, encoding); - } else { - buf.fill(fill); - } - } else { - buf.fill(0); - } - return buf - }; - - SafeBuffer.allocUnsafe = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return Buffer(size) - }; - - SafeBuffer.allocUnsafeSlow = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return buffer.SlowBuffer(size) - }; -} (safeBuffer, safeBuffer.exports)); - -// base-x encoding / decoding -// Copyright (c) 2018 base-x contributors -// Copyright (c) 2014-2018 The Bitcoin Core developers (base58.cpp) -// Distributed under the MIT software license, see the accompanying -// file LICENSE or http://www.opensource.org/licenses/mit-license.php. -// @ts-ignore -var _Buffer = safeBuffer.exports.Buffer; -function base$1 (ALPHABET) { - if (ALPHABET.length >= 255) { throw new TypeError('Alphabet too long') } - var BASE_MAP = new Uint8Array(256); - for (var j = 0; j < BASE_MAP.length; j++) { - BASE_MAP[j] = 255; - } - for (var i = 0; i < ALPHABET.length; i++) { - var x = ALPHABET.charAt(i); - var xc = x.charCodeAt(0); - if (BASE_MAP[xc] !== 255) { throw new TypeError(x + ' is ambiguous') } - BASE_MAP[xc] = i; - } - var BASE = ALPHABET.length; - var LEADER = ALPHABET.charAt(0); - var FACTOR = Math.log(BASE) / Math.log(256); // log(BASE) / log(256), rounded up - var iFACTOR = Math.log(256) / Math.log(BASE); // log(256) / log(BASE), rounded up - function encode (source) { - if (Array.isArray(source) || source instanceof Uint8Array) { source = _Buffer.from(source); } - if (!_Buffer.isBuffer(source)) { throw new TypeError('Expected Buffer') } - if (source.length === 0) { return '' } - // Skip & count leading zeroes. - var zeroes = 0; - var length = 0; - var pbegin = 0; - var pend = source.length; - while (pbegin !== pend && source[pbegin] === 0) { - pbegin++; - zeroes++; - } - // Allocate enough space in big-endian base58 representation. - var size = ((pend - pbegin) * iFACTOR + 1) >>> 0; - var b58 = new Uint8Array(size); - // Process the bytes. - while (pbegin !== pend) { - var carry = source[pbegin]; - // Apply "b58 = b58 * 256 + ch". - var i = 0; - for (var it1 = size - 1; (carry !== 0 || i < length) && (it1 !== -1); it1--, i++) { - carry += (256 * b58[it1]) >>> 0; - b58[it1] = (carry % BASE) >>> 0; - carry = (carry / BASE) >>> 0; - } - if (carry !== 0) { throw new Error('Non-zero carry') } - length = i; - pbegin++; - } - // Skip leading zeroes in base58 result. - var it2 = size - length; - while (it2 !== size && b58[it2] === 0) { - it2++; - } - // Translate the result into a string. - var str = LEADER.repeat(zeroes); - for (; it2 < size; ++it2) { str += ALPHABET.charAt(b58[it2]); } - return str - } - function decodeUnsafe (source) { - if (typeof source !== 'string') { throw new TypeError('Expected String') } - if (source.length === 0) { return _Buffer.alloc(0) } - var psz = 0; - // Skip and count leading '1's. - var zeroes = 0; - var length = 0; - while (source[psz] === LEADER) { - zeroes++; - psz++; - } - // Allocate enough space in big-endian base256 representation. - var size = (((source.length - psz) * FACTOR) + 1) >>> 0; // log(58) / log(256), rounded up. - var b256 = new Uint8Array(size); - // Process the characters. - while (source[psz]) { - // Decode character - var carry = BASE_MAP[source.charCodeAt(psz)]; - // Invalid character - if (carry === 255) { return } - var i = 0; - for (var it3 = size - 1; (carry !== 0 || i < length) && (it3 !== -1); it3--, i++) { - carry += (BASE * b256[it3]) >>> 0; - b256[it3] = (carry % 256) >>> 0; - carry = (carry / 256) >>> 0; - } - if (carry !== 0) { throw new Error('Non-zero carry') } - length = i; - psz++; - } - // Skip leading zeroes in b256. - var it4 = size - length; - while (it4 !== size && b256[it4] === 0) { - it4++; - } - var vch = _Buffer.allocUnsafe(zeroes + (size - it4)); - vch.fill(0x00, 0, zeroes); - var j = zeroes; - while (it4 !== size) { - vch[j++] = b256[it4++]; - } - return vch - } - function decode (string) { - var buffer = decodeUnsafe(string); - if (buffer) { return buffer } - throw new Error('Non-base' + BASE + ' character') - } - return { - encode: encode, - decodeUnsafe: decodeUnsafe, - decode: decode - } -} -var src$1 = base$1; - -var basex = src$1; -var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; - -var bs58 = basex(ALPHABET); - -var base58 = bs58; -var Buffer$1 = safeBuffer.exports.Buffer; - -var base = function (checksumFn) { - // Encode a buffer as a base58-check encoded string - function encode (payload) { - var checksum = checksumFn(payload); - - return base58.encode(Buffer$1.concat([ - payload, - checksum - ], payload.length + 4)) - } - - function decodeRaw (buffer) { - var payload = buffer.slice(0, -4); - var checksum = buffer.slice(-4); - var newChecksum = checksumFn(payload); - - if (checksum[0] ^ newChecksum[0] | - checksum[1] ^ newChecksum[1] | - checksum[2] ^ newChecksum[2] | - checksum[3] ^ newChecksum[3]) return - - return payload - } - - // Decode a base58-check encoded string to a buffer, no result if checksum is wrong - function decodeUnsafe (string) { - var buffer = base58.decodeUnsafe(string); - if (!buffer) return - - return decodeRaw(buffer) - } - - function decode (string) { - var buffer = base58.decode(string); - var payload = decodeRaw(buffer); - if (!payload) throw new Error('Invalid checksum') - return payload - } - - return { - encode: encode, - decode: decode, - decodeUnsafe: decodeUnsafe - } -}; - -var createHash$1 = createHash$3; -var bs58checkBase = base; - -// SHA256(SHA256(buffer)) -function sha256x2 (buffer) { - var tmp = createHash$1('sha256').update(buffer).digest(); - return createHash$1('sha256').update(tmp).digest() -} - -var bs58check$4 = bs58checkBase(sha256x2); - -Object.defineProperty(p2pkh$1, '__esModule', { value: true }); -p2pkh$1.p2pkh = void 0; -const bcrypto$3 = crypto$3; -const networks_1$3 = networks; -const bscript$3 = script; -const types_1$3 = types$2; -const lazy$3 = lazy$7; -const bs58check$3 = bs58check$4; -const OPS$3 = bscript$3.OPS; -// input: {signature} {pubkey} -// output: OP_DUP OP_HASH160 {hash160(pubkey)} OP_EQUALVERIFY OP_CHECKSIG -function p2pkh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.pubkey && !a.input) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$3.typeforce)( - { - network: types_1$3.typeforce.maybe(types_1$3.typeforce.Object), - address: types_1$3.typeforce.maybe(types_1$3.typeforce.String), - hash: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(20)), - output: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(25)), - pubkey: types_1$3.typeforce.maybe(types_1$3.isPoint), - signature: types_1$3.typeforce.maybe(bscript$3.isCanonicalScriptSignature), - input: types_1$3.typeforce.maybe(types_1$3.typeforce.Buffer), - }, - a, - ); - const _address = lazy$3.value(() => { - const payload = bs58check$3.decode(a.address); - const version = payload.readUInt8(0); - const hash = payload.slice(1); - return { version, hash }; - }); - const _chunks = lazy$3.value(() => { - return bscript$3.decompile(a.input); - }); - const network = a.network || networks_1$3.bitcoin; - const o = { name: 'p2pkh', network }; - lazy$3.prop(o, 'address', () => { - if (!o.hash) return; - const payload = Buffer.allocUnsafe(21); - payload.writeUInt8(network.pubKeyHash, 0); - o.hash.copy(payload, 1); - return bs58check$3.encode(payload); - }); - lazy$3.prop(o, 'hash', () => { - if (a.output) return a.output.slice(3, 23); - if (a.address) return _address().hash; - if (a.pubkey || o.pubkey) return bcrypto$3.hash160(a.pubkey || o.pubkey); - }); - lazy$3.prop(o, 'output', () => { - if (!o.hash) return; - return bscript$3.compile([ - OPS$3.OP_DUP, - OPS$3.OP_HASH160, - o.hash, - OPS$3.OP_EQUALVERIFY, - OPS$3.OP_CHECKSIG, - ]); - }); - lazy$3.prop(o, 'pubkey', () => { - if (!a.input) return; - return _chunks()[1]; - }); - lazy$3.prop(o, 'signature', () => { - if (!a.input) return; - return _chunks()[0]; - }); - lazy$3.prop(o, 'input', () => { - if (!a.pubkey) return; - if (!a.signature) return; - return bscript$3.compile([a.signature, a.pubkey]); - }); - lazy$3.prop(o, 'witness', () => { - if (!o.input) return; - return []; - }); - // extended validation - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (_address().version !== network.pubKeyHash) - throw new TypeError('Invalid version or Network mismatch'); - if (_address().hash.length !== 20) throw new TypeError('Invalid address'); - hash = _address().hash; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 25 || - a.output[0] !== OPS$3.OP_DUP || - a.output[1] !== OPS$3.OP_HASH160 || - a.output[2] !== 0x14 || - a.output[23] !== OPS$3.OP_EQUALVERIFY || - a.output[24] !== OPS$3.OP_CHECKSIG - ) - throw new TypeError('Output is invalid'); - const hash2 = a.output.slice(3, 23); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (a.pubkey) { - const pkh = bcrypto$3.hash160(a.pubkey); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - else hash = pkh; - } - if (a.input) { - const chunks = _chunks(); - if (chunks.length !== 2) throw new TypeError('Input is invalid'); - if (!bscript$3.isCanonicalScriptSignature(chunks[0])) - throw new TypeError('Input has invalid signature'); - if (!(0, types_1$3.isPoint)(chunks[1])) - throw new TypeError('Input has invalid pubkey'); - if (a.signature && !a.signature.equals(chunks[0])) - throw new TypeError('Signature mismatch'); - if (a.pubkey && !a.pubkey.equals(chunks[1])) - throw new TypeError('Pubkey mismatch'); - const pkh = bcrypto$3.hash160(chunks[1]); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - } - } - return Object.assign(o, a); -} -p2pkh$1.p2pkh = p2pkh; - -var p2sh$1 = {}; - -Object.defineProperty(p2sh$1, '__esModule', { value: true }); -p2sh$1.p2sh = void 0; -const bcrypto$2 = crypto$3; -const networks_1$2 = networks; -const bscript$2 = script; -const types_1$2 = types$2; -const lazy$2 = lazy$7; -const bs58check$2 = bs58check$4; -const OPS$2 = bscript$2.OPS; -function stacksEqual$1(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -// input: [redeemScriptSig ...] {redeemScript} -// witness: -// output: OP_HASH160 {hash160(redeemScript)} OP_EQUAL -function p2sh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.redeem && !a.input) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$2.typeforce)( - { - network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), - address: types_1$2.typeforce.maybe(types_1$2.typeforce.String), - hash: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(20)), - output: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(23)), - redeem: types_1$2.typeforce.maybe({ - network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), - output: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), - input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), - witness: types_1$2.typeforce.maybe( - types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), - ), - }), - input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), - witness: types_1$2.typeforce.maybe( - types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), - ), - }, - a, - ); - let network = a.network; - if (!network) { - network = (a.redeem && a.redeem.network) || networks_1$2.bitcoin; - } - const o = { network }; - const _address = lazy$2.value(() => { - const payload = bs58check$2.decode(a.address); - const version = payload.readUInt8(0); - const hash = payload.slice(1); - return { version, hash }; - }); - const _chunks = lazy$2.value(() => { - return bscript$2.decompile(a.input); - }); - const _redeem = lazy$2.value(() => { - const chunks = _chunks(); - return { - network, - output: chunks[chunks.length - 1], - input: bscript$2.compile(chunks.slice(0, -1)), - witness: a.witness || [], - }; - }); - // output dependents - lazy$2.prop(o, 'address', () => { - if (!o.hash) return; - const payload = Buffer.allocUnsafe(21); - payload.writeUInt8(o.network.scriptHash, 0); - o.hash.copy(payload, 1); - return bs58check$2.encode(payload); - }); - lazy$2.prop(o, 'hash', () => { - // in order of least effort - if (a.output) return a.output.slice(2, 22); - if (a.address) return _address().hash; - if (o.redeem && o.redeem.output) return bcrypto$2.hash160(o.redeem.output); - }); - lazy$2.prop(o, 'output', () => { - if (!o.hash) return; - return bscript$2.compile([OPS$2.OP_HASH160, o.hash, OPS$2.OP_EQUAL]); - }); - // input dependents - lazy$2.prop(o, 'redeem', () => { - if (!a.input) return; - return _redeem(); - }); - lazy$2.prop(o, 'input', () => { - if (!a.redeem || !a.redeem.input || !a.redeem.output) return; - return bscript$2.compile( - [].concat(bscript$2.decompile(a.redeem.input), a.redeem.output), - ); - }); - lazy$2.prop(o, 'witness', () => { - if (o.redeem && o.redeem.witness) return o.redeem.witness; - if (o.input) return []; - }); - lazy$2.prop(o, 'name', () => { - const nameParts = ['p2sh']; - if (o.redeem !== undefined && o.redeem.name !== undefined) - nameParts.push(o.redeem.name); - return nameParts.join('-'); - }); - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (_address().version !== network.scriptHash) - throw new TypeError('Invalid version or Network mismatch'); - if (_address().hash.length !== 20) throw new TypeError('Invalid address'); - hash = _address().hash; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 23 || - a.output[0] !== OPS$2.OP_HASH160 || - a.output[1] !== 0x14 || - a.output[22] !== OPS$2.OP_EQUAL - ) - throw new TypeError('Output is invalid'); - const hash2 = a.output.slice(2, 22); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - // inlined to prevent 'no-inner-declarations' failing - const checkRedeem = redeem => { - // is the redeem output empty/invalid? - if (redeem.output) { - const decompile = bscript$2.decompile(redeem.output); - if (!decompile || decompile.length < 1) - throw new TypeError('Redeem.output too short'); - // match hash against other sources - const hash2 = bcrypto$2.hash160(redeem.output); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (redeem.input) { - const hasInput = redeem.input.length > 0; - const hasWitness = redeem.witness && redeem.witness.length > 0; - if (!hasInput && !hasWitness) throw new TypeError('Empty input'); - if (hasInput && hasWitness) - throw new TypeError('Input and witness provided'); - if (hasInput) { - const richunks = bscript$2.decompile(redeem.input); - if (!bscript$2.isPushOnly(richunks)) - throw new TypeError('Non push-only scriptSig'); - } - } - }; - if (a.input) { - const chunks = _chunks(); - if (!chunks || chunks.length < 1) throw new TypeError('Input too short'); - if (!Buffer.isBuffer(_redeem().output)) - throw new TypeError('Input is invalid'); - checkRedeem(_redeem()); - } - if (a.redeem) { - if (a.redeem.network && a.redeem.network !== network) - throw new TypeError('Network mismatch'); - if (a.input) { - const redeem = _redeem(); - if (a.redeem.output && !a.redeem.output.equals(redeem.output)) - throw new TypeError('Redeem.output mismatch'); - if (a.redeem.input && !a.redeem.input.equals(redeem.input)) - throw new TypeError('Redeem.input mismatch'); - } - checkRedeem(a.redeem); - } - if (a.witness) { - if ( - a.redeem && - a.redeem.witness && - !stacksEqual$1(a.redeem.witness, a.witness) - ) - throw new TypeError('Witness and redeem.witness mismatch'); - } - } - return Object.assign(o, a); -} -p2sh$1.p2sh = p2sh; - -var p2wpkh$1 = {}; - -Object.defineProperty(p2wpkh$1, '__esModule', { value: true }); -p2wpkh$1.p2wpkh = void 0; -const bcrypto$1 = crypto$3; -const networks_1$1 = networks; -const bscript$1 = script; -const types_1$1 = types$2; -const lazy$1 = lazy$7; -const bech32_1$1 = dist$1; -const OPS$1 = bscript$1.OPS; -const EMPTY_BUFFER$1 = Buffer.alloc(0); -// witness: {signature} {pubKey} -// input: <> -// output: OP_0 {pubKeyHash} -function p2wpkh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.pubkey && !a.witness) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$1.typeforce)( - { - address: types_1$1.typeforce.maybe(types_1$1.typeforce.String), - hash: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(20)), - input: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(0)), - network: types_1$1.typeforce.maybe(types_1$1.typeforce.Object), - output: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(22)), - pubkey: types_1$1.typeforce.maybe(types_1$1.isPoint), - signature: types_1$1.typeforce.maybe(bscript$1.isCanonicalScriptSignature), - witness: types_1$1.typeforce.maybe( - types_1$1.typeforce.arrayOf(types_1$1.typeforce.Buffer), - ), - }, - a, - ); - const _address = lazy$1.value(() => { - const result = bech32_1$1.bech32.decode(a.address); - const version = result.words.shift(); - const data = bech32_1$1.bech32.fromWords(result.words); - return { - version, - prefix: result.prefix, - data: Buffer.from(data), - }; - }); - const network = a.network || networks_1$1.bitcoin; - const o = { name: 'p2wpkh', network }; - lazy$1.prop(o, 'address', () => { - if (!o.hash) return; - const words = bech32_1$1.bech32.toWords(o.hash); - words.unshift(0x00); - return bech32_1$1.bech32.encode(network.bech32, words); - }); - lazy$1.prop(o, 'hash', () => { - if (a.output) return a.output.slice(2, 22); - if (a.address) return _address().data; - if (a.pubkey || o.pubkey) return bcrypto$1.hash160(a.pubkey || o.pubkey); - }); - lazy$1.prop(o, 'output', () => { - if (!o.hash) return; - return bscript$1.compile([OPS$1.OP_0, o.hash]); - }); - lazy$1.prop(o, 'pubkey', () => { - if (a.pubkey) return a.pubkey; - if (!a.witness) return; - return a.witness[1]; - }); - lazy$1.prop(o, 'signature', () => { - if (!a.witness) return; - return a.witness[0]; - }); - lazy$1.prop(o, 'input', () => { - if (!o.witness) return; - return EMPTY_BUFFER$1; - }); - lazy$1.prop(o, 'witness', () => { - if (!a.pubkey) return; - if (!a.signature) return; - return [a.signature, a.pubkey]; - }); - // extended validation - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (network && network.bech32 !== _address().prefix) - throw new TypeError('Invalid prefix or Network mismatch'); - if (_address().version !== 0x00) - throw new TypeError('Invalid address version'); - if (_address().data.length !== 20) - throw new TypeError('Invalid address data'); - hash = _address().data; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 22 || - a.output[0] !== OPS$1.OP_0 || - a.output[1] !== 0x14 - ) - throw new TypeError('Output is invalid'); - if (hash.length > 0 && !hash.equals(a.output.slice(2))) - throw new TypeError('Hash mismatch'); - else hash = a.output.slice(2); - } - if (a.pubkey) { - const pkh = bcrypto$1.hash160(a.pubkey); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - else hash = pkh; - if (!(0, types_1$1.isPoint)(a.pubkey) || a.pubkey.length !== 33) - throw new TypeError('Invalid pubkey for p2wpkh'); - } - if (a.witness) { - if (a.witness.length !== 2) throw new TypeError('Witness is invalid'); - if (!bscript$1.isCanonicalScriptSignature(a.witness[0])) - throw new TypeError('Witness has invalid signature'); - if (!(0, types_1$1.isPoint)(a.witness[1]) || a.witness[1].length !== 33) - throw new TypeError('Witness has invalid pubkey'); - if (a.signature && !a.signature.equals(a.witness[0])) - throw new TypeError('Signature mismatch'); - if (a.pubkey && !a.pubkey.equals(a.witness[1])) - throw new TypeError('Pubkey mismatch'); - const pkh = bcrypto$1.hash160(a.witness[1]); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - } - } - return Object.assign(o, a); -} -p2wpkh$1.p2wpkh = p2wpkh; - -var p2wsh$1 = {}; - -Object.defineProperty(p2wsh$1, '__esModule', { value: true }); -p2wsh$1.p2wsh = void 0; -const bcrypto = crypto$3; -const networks_1 = networks; -const bscript = script; -const types_1 = types$2; -const lazy = lazy$7; -const bech32_1 = dist$1; -const OPS = bscript.OPS; -const EMPTY_BUFFER = Buffer.alloc(0); -function stacksEqual(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -function chunkHasUncompressedPubkey(chunk) { - if ( - Buffer.isBuffer(chunk) && - chunk.length === 65 && - chunk[0] === 0x04 && - (0, types_1.isPoint)(chunk) - ) { - return true; - } else { - return false; - } -} -// input: <> -// witness: [redeemScriptSig ...] {redeemScript} -// output: OP_0 {sha256(redeemScript)} -function p2wsh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.redeem && !a.witness) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1.typeforce)( - { - network: types_1.typeforce.maybe(types_1.typeforce.Object), - address: types_1.typeforce.maybe(types_1.typeforce.String), - hash: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)), - output: types_1.typeforce.maybe(types_1.typeforce.BufferN(34)), - redeem: types_1.typeforce.maybe({ - input: types_1.typeforce.maybe(types_1.typeforce.Buffer), - network: types_1.typeforce.maybe(types_1.typeforce.Object), - output: types_1.typeforce.maybe(types_1.typeforce.Buffer), - witness: types_1.typeforce.maybe( - types_1.typeforce.arrayOf(types_1.typeforce.Buffer), - ), - }), - input: types_1.typeforce.maybe(types_1.typeforce.BufferN(0)), - witness: types_1.typeforce.maybe( - types_1.typeforce.arrayOf(types_1.typeforce.Buffer), - ), - }, - a, - ); - const _address = lazy.value(() => { - const result = bech32_1.bech32.decode(a.address); - const version = result.words.shift(); - const data = bech32_1.bech32.fromWords(result.words); - return { - version, - prefix: result.prefix, - data: Buffer.from(data), - }; - }); - const _rchunks = lazy.value(() => { - return bscript.decompile(a.redeem.input); - }); - let network = a.network; - if (!network) { - network = (a.redeem && a.redeem.network) || networks_1.bitcoin; - } - const o = { network }; - lazy.prop(o, 'address', () => { - if (!o.hash) return; - const words = bech32_1.bech32.toWords(o.hash); - words.unshift(0x00); - return bech32_1.bech32.encode(network.bech32, words); - }); - lazy.prop(o, 'hash', () => { - if (a.output) return a.output.slice(2); - if (a.address) return _address().data; - if (o.redeem && o.redeem.output) return bcrypto.sha256(o.redeem.output); - }); - lazy.prop(o, 'output', () => { - if (!o.hash) return; - return bscript.compile([OPS.OP_0, o.hash]); - }); - lazy.prop(o, 'redeem', () => { - if (!a.witness) return; - return { - output: a.witness[a.witness.length - 1], - input: EMPTY_BUFFER, - witness: a.witness.slice(0, -1), - }; - }); - lazy.prop(o, 'input', () => { - if (!o.witness) return; - return EMPTY_BUFFER; - }); - lazy.prop(o, 'witness', () => { - // transform redeem input to witness stack? - if ( - a.redeem && - a.redeem.input && - a.redeem.input.length > 0 && - a.redeem.output && - a.redeem.output.length > 0 - ) { - const stack = bscript.toStack(_rchunks()); - // assign, and blank the existing input - o.redeem = Object.assign({ witness: stack }, a.redeem); - o.redeem.input = EMPTY_BUFFER; - return [].concat(stack, a.redeem.output); - } - if (!a.redeem) return; - if (!a.redeem.output) return; - if (!a.redeem.witness) return; - return [].concat(a.redeem.witness, a.redeem.output); - }); - lazy.prop(o, 'name', () => { - const nameParts = ['p2wsh']; - if (o.redeem !== undefined && o.redeem.name !== undefined) - nameParts.push(o.redeem.name); - return nameParts.join('-'); - }); - // extended validation - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (_address().prefix !== network.bech32) - throw new TypeError('Invalid prefix or Network mismatch'); - if (_address().version !== 0x00) - throw new TypeError('Invalid address version'); - if (_address().data.length !== 32) - throw new TypeError('Invalid address data'); - hash = _address().data; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 34 || - a.output[0] !== OPS.OP_0 || - a.output[1] !== 0x20 - ) - throw new TypeError('Output is invalid'); - const hash2 = a.output.slice(2); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (a.redeem) { - if (a.redeem.network && a.redeem.network !== network) - throw new TypeError('Network mismatch'); - // is there two redeem sources? - if ( - a.redeem.input && - a.redeem.input.length > 0 && - a.redeem.witness && - a.redeem.witness.length > 0 - ) - throw new TypeError('Ambiguous witness source'); - // is the redeem output non-empty? - if (a.redeem.output) { - if (bscript.decompile(a.redeem.output).length === 0) - throw new TypeError('Redeem.output is invalid'); - // match hash against other sources - const hash2 = bcrypto.sha256(a.redeem.output); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (a.redeem.input && !bscript.isPushOnly(_rchunks())) - throw new TypeError('Non push-only scriptSig'); - if ( - a.witness && - a.redeem.witness && - !stacksEqual(a.witness, a.redeem.witness) - ) - throw new TypeError('Witness and redeem.witness mismatch'); - if ( - (a.redeem.input && _rchunks().some(chunkHasUncompressedPubkey)) || - (a.redeem.output && - (bscript.decompile(a.redeem.output) || []).some( - chunkHasUncompressedPubkey, - )) - ) { - throw new TypeError( - 'redeem.input or redeem.output contains uncompressed pubkey', - ); - } - } - if (a.witness && a.witness.length > 0) { - const wScript = a.witness[a.witness.length - 1]; - if (a.redeem && a.redeem.output && !a.redeem.output.equals(wScript)) - throw new TypeError('Witness and redeem.output mismatch'); - if ( - a.witness.some(chunkHasUncompressedPubkey) || - (bscript.decompile(wScript) || []).some(chunkHasUncompressedPubkey) - ) - throw new TypeError('Witness contains uncompressed pubkey'); - } - } - return Object.assign(o, a); -} -p2wsh$1.p2wsh = p2wsh; - -(function (exports) { - Object.defineProperty(exports, '__esModule', { value: true }); - exports.p2wsh = exports.p2wpkh = exports.p2sh = exports.p2pkh = exports.p2pk = exports.p2ms = exports.embed = void 0; - const embed_1 = embed; - Object.defineProperty(exports, 'embed', { - enumerable: true, - get: function() { - return embed_1.p2data; - }, - }); - const p2ms_1 = p2ms$1; - Object.defineProperty(exports, 'p2ms', { - enumerable: true, - get: function() { - return p2ms_1.p2ms; - }, - }); - const p2pk_1 = p2pk$1; - Object.defineProperty(exports, 'p2pk', { - enumerable: true, - get: function() { - return p2pk_1.p2pk; - }, - }); - const p2pkh_1 = p2pkh$1; - Object.defineProperty(exports, 'p2pkh', { - enumerable: true, - get: function() { - return p2pkh_1.p2pkh; - }, - }); - const p2sh_1 = p2sh$1; - Object.defineProperty(exports, 'p2sh', { - enumerable: true, - get: function() { - return p2sh_1.p2sh; - }, - }); - const p2wpkh_1 = p2wpkh$1; - Object.defineProperty(exports, 'p2wpkh', { - enumerable: true, - get: function() { - return p2wpkh_1.p2wpkh; - }, - }); - const p2wsh_1 = p2wsh$1; - Object.defineProperty(exports, 'p2wsh', { - enumerable: true, - get: function() { - return p2wsh_1.p2wsh; - }, - }); - // TODO - // witness commitment -} (payments$1)); - -var src = {}; - -var bip32$1 = {}; - -var crypto$2 = {}; - -var createHmac$1 = require$$0__default["default"].createHmac; - -Object.defineProperty(crypto$2, "__esModule", { value: true }); -const createHash = createHash$3; -const createHmac = createHmac$1; -function hash160(buffer) { - const sha256Hash = createHash('sha256') - .update(buffer) - .digest(); - try { - return createHash('rmd160') - .update(sha256Hash) - .digest(); - } - catch (err) { - return createHash('ripemd160') - .update(sha256Hash) - .digest(); - } -} -crypto$2.hash160 = hash160; -function hmacSHA512(key, data) { - return createHmac('sha512', key) - .update(data) - .digest(); -} -crypto$2.hmacSHA512 = hmacSHA512; - -var testecc = {}; - -Object.defineProperty(testecc, "__esModule", { value: true }); -const h = (hex) => Buffer.from(hex, 'hex'); -function testEcc(ecc) { - assert(ecc.isPoint(h('0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); - assert(!ecc.isPoint(h('030000000000000000000000000000000000000000000000000000000000000005'))); - assert(ecc.isPrivate(h('79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); - // order - 1 - assert(ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); - // 0 - assert(!ecc.isPrivate(h('0000000000000000000000000000000000000000000000000000000000000000'))); - // order - assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141'))); - // order + 1 - assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142'))); - assert(Buffer.from(ecc.pointFromScalar(h('b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af'))).equals(h('02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99'))); - assert(Buffer.from(ecc.pointAddScalar(h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('0000000000000000000000000000000000000000000000000000000000000003'))).equals(h('02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5'))); - assert(Buffer.from(ecc.privateAdd(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e'), h('0000000000000000000000000000000000000000000000000000000000000002'))).equals(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); - assert(Buffer.from(ecc.sign(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))).equals(h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); - assert(ecc.verify(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); - if (ecc.signSchnorr) { - assert(Buffer.from(ecc.signSchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9'), h('c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906'))).equals(h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); - } - if (ecc.verifySchnorr) { - assert(ecc.verifySchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8'), h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); - } -} -testecc.testEcc = testEcc; -function assert(bool) { - if (!bool) - throw new Error('ecc library invalid'); -} - -var bs58check$1 = bs58check$4; - -function decodeRaw (buffer, version) { - // check version only if defined - if (version !== undefined && buffer[0] !== version) throw new Error('Invalid network version') - - // uncompressed - if (buffer.length === 33) { - return { - version: buffer[0], - privateKey: buffer.slice(1, 33), - compressed: false - } - } - - // invalid length - if (buffer.length !== 34) throw new Error('Invalid WIF length') - - // invalid compression flag - if (buffer[33] !== 0x01) throw new Error('Invalid compression flag') - - return { - version: buffer[0], - privateKey: buffer.slice(1, 33), - compressed: true - } -} - -function encodeRaw (version, privateKey, compressed) { - var result = new Buffer(compressed ? 34 : 33); - - result.writeUInt8(version, 0); - privateKey.copy(result, 1); - - if (compressed) { - result[33] = 0x01; - } - - return result -} - -function decode (string, version) { - return decodeRaw(bs58check$1.decode(string), version) -} - -function encode (version, privateKey, compressed) { - if (typeof version === 'number') return bs58check$1.encode(encodeRaw(version, privateKey, compressed)) - - return bs58check$1.encode( - encodeRaw( - version.version, - version.privateKey, - version.compressed - ) - ) -} - -var wif$1 = { - decode: decode, - decodeRaw: decodeRaw, - encode: encode, - encodeRaw: encodeRaw -}; - -Object.defineProperty(bip32$1, "__esModule", { value: true }); -const crypto$1 = crypto$2; -const testecc_1 = testecc; -const bs58check = bs58check$4; -const typeforce = typeforce_1; -const wif = wif$1; -function BIP32Factory(ecc) { - testecc_1.testEcc(ecc); - const UINT256_TYPE = typeforce.BufferN(32); - const NETWORK_TYPE = typeforce.compile({ - wif: typeforce.UInt8, - bip32: { - public: typeforce.UInt32, - private: typeforce.UInt32, - }, - }); - const BITCOIN = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'bc', - bip32: { - public: 0x0488b21e, - private: 0x0488ade4, - }, - pubKeyHash: 0x00, - scriptHash: 0x05, - wif: 0x80, - }; - const HIGHEST_BIT = 0x80000000; - const UINT31_MAX = Math.pow(2, 31) - 1; - function BIP32Path(value) { - return (typeforce.String(value) && value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) !== null); - } - function UInt31(value) { - return typeforce.UInt32(value) && value <= UINT31_MAX; - } - class BIP32 { - constructor(__D, __Q, chainCode, network, __DEPTH = 0, __INDEX = 0, __PARENT_FINGERPRINT = 0x00000000) { - this.__D = __D; - this.__Q = __Q; - this.chainCode = chainCode; - this.network = network; - this.__DEPTH = __DEPTH; - this.__INDEX = __INDEX; - this.__PARENT_FINGERPRINT = __PARENT_FINGERPRINT; - typeforce(NETWORK_TYPE, network); - this.lowR = false; - } - get depth() { - return this.__DEPTH; - } - get index() { - return this.__INDEX; - } - get parentFingerprint() { - return this.__PARENT_FINGERPRINT; - } - get publicKey() { - if (this.__Q === undefined) - this.__Q = Buffer.from(ecc.pointFromScalar(this.__D, true)); - return this.__Q; - } - get privateKey() { - return this.__D; - } - get identifier() { - return crypto$1.hash160(this.publicKey); - } - get fingerprint() { - return this.identifier.slice(0, 4); - } - get compressed() { - return true; - } - // Private === not neutered - // Public === neutered - isNeutered() { - return this.__D === undefined; - } - neutered() { - return fromPublicKeyLocal(this.publicKey, this.chainCode, this.network, this.depth, this.index, this.parentFingerprint); - } - toBase58() { - const network = this.network; - const version = !this.isNeutered() - ? network.bip32.private - : network.bip32.public; - const buffer = Buffer.allocUnsafe(78); - // 4 bytes: version bytes - buffer.writeUInt32BE(version, 0); - // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, .... - buffer.writeUInt8(this.depth, 4); - // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) - buffer.writeUInt32BE(this.parentFingerprint, 5); - // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. - // This is encoded in big endian. (0x00000000 if master key) - buffer.writeUInt32BE(this.index, 9); - // 32 bytes: the chain code - this.chainCode.copy(buffer, 13); - // 33 bytes: the public key or private key data - if (!this.isNeutered()) { - // 0x00 + k for private keys - buffer.writeUInt8(0, 45); - this.privateKey.copy(buffer, 46); - // 33 bytes: the public key - } - else { - // X9.62 encoding for public keys - this.publicKey.copy(buffer, 45); - } - return bs58check.encode(buffer); - } - toWIF() { - if (!this.privateKey) - throw new TypeError('Missing private key'); - return wif.encode(this.network.wif, this.privateKey, true); - } - // https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#child-key-derivation-ckd-functions - derive(index) { - typeforce(typeforce.UInt32, index); - const isHardened = index >= HIGHEST_BIT; - const data = Buffer.allocUnsafe(37); - // Hardened child - if (isHardened) { - if (this.isNeutered()) - throw new TypeError('Missing private key for hardened child key'); - // data = 0x00 || ser256(kpar) || ser32(index) - data[0] = 0x00; - this.privateKey.copy(data, 1); - data.writeUInt32BE(index, 33); - // Normal child - } - else { - // data = serP(point(kpar)) || ser32(index) - // = serP(Kpar) || ser32(index) - this.publicKey.copy(data, 0); - data.writeUInt32BE(index, 33); - } - const I = crypto$1.hmacSHA512(this.chainCode, data); - const IL = I.slice(0, 32); - const IR = I.slice(32); - // if parse256(IL) >= n, proceed with the next value for i - if (!ecc.isPrivate(IL)) - return this.derive(index + 1); - // Private parent key -> private child key - let hd; - if (!this.isNeutered()) { - // ki = parse256(IL) + kpar (mod n) - const ki = Buffer.from(ecc.privateAdd(this.privateKey, IL)); - // In case ki == 0, proceed with the next value for i - if (ki == null) - return this.derive(index + 1); - hd = fromPrivateKeyLocal(ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); - // Public parent key -> public child key - } - else { - // Ki = point(parse256(IL)) + Kpar - // = G*IL + Kpar - const Ki = Buffer.from(ecc.pointAddScalar(this.publicKey, IL, true)); - // In case Ki is the point at infinity, proceed with the next value for i - if (Ki === null) - return this.derive(index + 1); - hd = fromPublicKeyLocal(Ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); - } - return hd; - } - deriveHardened(index) { - typeforce(UInt31, index); - // Only derives hardened private keys by default - return this.derive(index + HIGHEST_BIT); - } - derivePath(path) { - typeforce(BIP32Path, path); - let splitPath = path.split('/'); - if (splitPath[0] === 'm') { - if (this.parentFingerprint) - throw new TypeError('Expected master, got child'); - splitPath = splitPath.slice(1); - } - return splitPath.reduce((prevHd, indexStr) => { - let index; - if (indexStr.slice(-1) === `'`) { - index = parseInt(indexStr.slice(0, -1), 10); - return prevHd.deriveHardened(index); - } - else { - index = parseInt(indexStr, 10); - return prevHd.derive(index); - } - }, this); - } - sign(hash, lowR) { - if (!this.privateKey) - throw new Error('Missing private key'); - if (lowR === undefined) - lowR = this.lowR; - if (lowR === false) { - return Buffer.from(ecc.sign(hash, this.privateKey)); - } - else { - let sig = Buffer.from(ecc.sign(hash, this.privateKey)); - const extraData = Buffer.alloc(32, 0); - let counter = 0; - // if first try is lowR, skip the loop - // for second try and on, add extra entropy counting up - while (sig[0] > 0x7f) { - counter++; - extraData.writeUIntLE(counter, 0, 6); - sig = Buffer.from(ecc.sign(hash, this.privateKey, extraData)); - } - return sig; - } - } - signSchnorr(hash) { - if (!this.privateKey) - throw new Error('Missing private key'); - if (!ecc.signSchnorr) - throw new Error('signSchnorr not supported by ecc library'); - return Buffer.from(ecc.signSchnorr(hash, this.privateKey)); - } - verify(hash, signature) { - return ecc.verify(hash, this.publicKey, signature); - } - verifySchnorr(hash, signature) { - if (!ecc.verifySchnorr) - throw new Error('verifySchnorr not supported by ecc library'); - return ecc.verifySchnorr(hash, this.publicKey.subarray(1, 33), signature); - } - } - function fromBase58(inString, network) { - const buffer = bs58check.decode(inString); - if (buffer.length !== 78) - throw new TypeError('Invalid buffer length'); - network = network || BITCOIN; - // 4 bytes: version bytes - const version = buffer.readUInt32BE(0); - if (version !== network.bip32.private && version !== network.bip32.public) - throw new TypeError('Invalid network version'); - // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, ... - const depth = buffer[4]; - // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) - const parentFingerprint = buffer.readUInt32BE(5); - if (depth === 0) { - if (parentFingerprint !== 0x00000000) - throw new TypeError('Invalid parent fingerprint'); - } - // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. - // This is encoded in MSB order. (0x00000000 if master key) - const index = buffer.readUInt32BE(9); - if (depth === 0 && index !== 0) - throw new TypeError('Invalid index'); - // 32 bytes: the chain code - const chainCode = buffer.slice(13, 45); - let hd; - // 33 bytes: private key data (0x00 + k) - if (version === network.bip32.private) { - if (buffer.readUInt8(45) !== 0x00) - throw new TypeError('Invalid private key'); - const k = buffer.slice(46, 78); - hd = fromPrivateKeyLocal(k, chainCode, network, depth, index, parentFingerprint); - // 33 bytes: public key data (0x02 + X or 0x03 + X) - } - else { - const X = buffer.slice(45, 78); - hd = fromPublicKeyLocal(X, chainCode, network, depth, index, parentFingerprint); - } - return hd; - } - function fromPrivateKey(privateKey, chainCode, network) { - return fromPrivateKeyLocal(privateKey, chainCode, network); - } - function fromPrivateKeyLocal(privateKey, chainCode, network, depth, index, parentFingerprint) { - typeforce({ - privateKey: UINT256_TYPE, - chainCode: UINT256_TYPE, - }, { privateKey, chainCode }); - network = network || BITCOIN; - if (!ecc.isPrivate(privateKey)) - throw new TypeError('Private key not in range [1, n)'); - return new BIP32(privateKey, undefined, chainCode, network, depth, index, parentFingerprint); - } - function fromPublicKey(publicKey, chainCode, network) { - return fromPublicKeyLocal(publicKey, chainCode, network); - } - function fromPublicKeyLocal(publicKey, chainCode, network, depth, index, parentFingerprint) { - typeforce({ - publicKey: typeforce.BufferN(33), - chainCode: UINT256_TYPE, - }, { publicKey, chainCode }); - network = network || BITCOIN; - // verify the X coordinate is a point on the curve - if (!ecc.isPoint(publicKey)) - throw new TypeError('Point is not on the curve'); - return new BIP32(undefined, publicKey, chainCode, network, depth, index, parentFingerprint); - } - function fromSeed(seed, network) { - typeforce(typeforce.Buffer, seed); - if (seed.length < 16) - throw new TypeError('Seed should be at least 128 bits'); - if (seed.length > 64) - throw new TypeError('Seed should be at most 512 bits'); - network = network || BITCOIN; - const I = crypto$1.hmacSHA512(Buffer.from('Bitcoin seed', 'utf8'), seed); - const IL = I.slice(0, 32); - const IR = I.slice(32); - return fromPrivateKey(IL, IR, network); - } - return { - fromSeed, - fromBase58, - fromPublicKey, - fromPrivateKey, - }; -} -bip32$1.BIP32Factory = BIP32Factory; - -Object.defineProperty(src, "__esModule", { value: true }); -var bip32_1 = bip32$1; -src.default = bip32_1.BIP32Factory; -src.BIP32Factory = bip32_1.BIP32Factory; - -// Constants -const { - FABRIC_KEY_DERIVATION_PATH -} = constants$1; - -// Node Modules -const crypto = require$$0__default["default"]; - -// Deterministic Random -// TODO: remove -const Generator = dist.exports.default.Generator; - -// Dependencies -// TODO: remove all external dependencies -const BN = bn.exports; -const EC = elliptic.ec; -const ec = new EC('secp256k1'); -const ecc = require$$5; -const payments = payments$1; - -// Simple Key Management -const BIP32 = src.default; -const bip32 = new BIP32(ecc); -const bip39 = require$$8__default["default"]; - -// NOTE: see also @fabric/passport -// expect a bech32m identifier using prefix "id" - -/** - * Represents a cryptographic key. - */ -class Key$1 { - /** - * Create an instance of a Fabric Key, either restoring from some known - * values or from prior knowledge. For instance, you can call `new Key()` - * to create a fresh keypair, or `new Key({ public: 'deadbeef...' })` to - * create it from a known public key. - * @param {Object} [settings] Initialization for the key. - * @param {String} [settings.network] Network string. - * @param {String} [settings.seed] Mnemonic seed for initializing the key. - * @param {String} [settings.public] Public key in hex. - * @param {String} [settings.private] Private key in hex. - * @param {String} [settings.purpose=44] Constrains derivations to this space. - */ - constructor (input = {}) { - this.settings = Object.assign({ - debug: false, - network: 'main', - curve: 'secp256k1', - derivation: FABRIC_KEY_DERIVATION_PATH, - mode: 'aes-256-cbc', - prefix: '00', - public: null, - private: null, - purpose: 44, - account: 0, - bits: 256, - hd: true, - seed: null, - password: null, - index: 0, - cipher: { - iv: { - size: 16 - } - }, - witness: true - }, input); - - this.clock = 0; - this.master = null; - this.private = null; - this.public = null; - - // Configure Deterministic Random - // WARNING: this will currently loop after 2^32 bits - // TODO: evaluate compression when treating seed phrase as ascii - // TODO: consider using sha256(masterprivkey) or sha256(sha256(...))? - this._starseed = this.settings.seed || crypto.randomBytes(4).readUInt32BE(); - - // TODO: design state machine for input (configuration) - if (this.settings.seed) { - this._mode = 'FROM_SEED'; - } else if (this.settings.private) { - this._mode = 'FROM_PRIVATE_KEY'; - } else if (this.settings.xprv) { - this._mode = 'FROM_XPRV'; - } else if (this.settings.xpub) { - this._mode = 'FROM_XPUB'; - } else if (this.settings.pubkey || this.settings.public) { - this._mode = 'FROM_PUBLIC_KEY'; - } else { - this._mode = 'FROM_RANDOM'; - } - - if (this.settings.debug) console.debug('mode:', this._mode); - - switch (this._mode) { - case 'FROM_SEED': - const seed = bip39.mnemonicToSeedSync(this.settings.seed); - const root = bip32.fromSeed(seed); - this.xprv = root.toBase58(); - this.xpub = root.neutered().toBase58(); - this.master = root; - this.keypair = ec.keyFromPrivate(root.privateKey); - // this.address = this.keyring.getAddress().toString(); - this.status = 'seeded'; - break; - case 'FROM_XPRV': - this.master = bip32.fromBase58(this.settings.xprv); - this.xprv = this.master.toBase58(); - this.xpub = this.master.neutered().toBase58(); - this.keypair = ec.keyFromPrivate(this.master.privateKey); - break; - case 'FROM_XPUB': - const xpub = bip32.fromBase58(this.settings.xpub); - this.keypair = ec.keyFromPublic(xpub.publicKey); - break; - case 'FROM_PRIVATE_KEY': - // Key is private - (this.settings.private instanceof Buffer) ? this.settings.private : Buffer.from(this.settings.private, 'hex'); - this.keypair = ec.keyFromPrivate(this.settings.private); - break; - case 'FROM_PUBLIC_KEY': - const pubkey = this.settings.pubkey || this.settings.public; - // Key is only public - this.keypair = ec.keyFromPublic((pubkey instanceof Buffer) ? pubkey : Buffer.from(pubkey, 'hex')); - break; - case 'FROM_RANDOM': - const mnemonic = bip39.generateMnemonic(); - const interim = bip39.mnemonicToSeedSync(mnemonic); - this.master = bip32.fromSeed(interim); - this.keypair = ec.keyFromPrivate(this.master.privateKey); - break; - } - - // Read the pair - this.private = ( - !this.settings.seed && - !this.settings.private && - !this.settings.xprv - ) ? false : this.keypair.getPrivate(); - - this.public = this.keypair.getPublic(true); - - // TODO: determine if this makes sense / needs to be private - this.privkey = (this.private) ? this.private.toString() : null; - - // STANDARD BEGINS HERE - this.pubkey = this.public.encodeCompressed('hex'); - - // BELOW THIS NON-STANDARD - // DO NOT USE IN PRODUCTION - // this.pubkeyhash = this.keyring.getKeyHash('hex'); - this.pubkeyhash = ''; - this.generator = new Generator(parseInt(this._starseed, 10)); - - this['@data'] = { - type: 'Key', - public: this.pubkey, - address: this.address - }; - - this._state = { - pubkey: this.pubkey - }; - - // Object.defineProperty(this, 'keyring', { enumerable: false }); - Object.defineProperty(this, 'keypair', { enumerable: false }); - Object.defineProperty(this, 'private', { enumerable: false }); - - return this; - } - - static Mnemonic (seed) { - return new Key$1({ seed }); - } - - get account () { - return this.settings.account; - } - - get id () { - return this.pubkeyhash; - } - - get iv () { - const self = this; - const bits = new BN([...Array(128)].map(() => { - return self.bit().toString(); - }).join(''), 2).toString(16); - return Buffer.from(bits.toString(16), 'hex'); - } - - get purpose () { - return this.settings.purpose; - } - - bit () { - return this.generator.next.bits(1); - } - - deriveAccountReceive (index) { - return this.deriveAddress(index); - } - - deriveAddress (index = 0, change = 0) { - const pair = this.deriveKeyPair(this.account, index, change); - return payments.p2pkh({ - pubkey: Buffer.from(pair.public, 'hex') - }); - } - - deriveKeyPair (addressID = 0, change = 0) { - const path = `m/${this.purpose}'/0'/${this.account}'/${change}/${addressID}`; - const derived = this.master.derivePath(path); - const pair = ec.keyFromPrivate(derived.privateKey); - return { - private: pair.getPrivate('hex'), - public: pair.getPublic(true, 'hex') - }; - } - - encrypt (value) { - try { - const ivbuff = Buffer.from(this.iv, 'hex'); - const cipher = crypto.createCipheriv(this.settings.mode, this.private.toBuffer(), ivbuff); - let encrypted = cipher.update(value); - encrypted = Buffer.concat([ - encrypted, - cipher.final() - ]); - return ivbuff.toString('hex') + ':' + encrypted.toString('hex'); - } catch (exception) { - console.error('err:', exception); - } - } - - decrypt (text) { - if (text instanceof Buffer) text = text.toString('utf8'); - - try { - const parts = text.split(':'); - const iv = Buffer.from(parts.shift(), 'hex'); - const blob = Buffer.from(parts.join(':'), 'hex'); - const decipher = crypto.createDecipheriv(this.settings.mode, this.private.toBuffer(), iv); - let decrypted = decipher.update(blob); - decrypted = Buffer.concat([ - decrypted, - decipher.final() - ]); - return decrypted.toString(); - } catch (exception) { - console.error('err:', exception); - } - } - - _sign (msg) { - if (typeof msg !== 'string') msg = JSON.stringify(msg); - const hmac = crypto.createHash('sha256').update(msg).digest('hex'); - return this.keypair.sign(hmac).toDER(); - } - - _verify (msg, sig) { - const hmac = crypto.createHash('sha256').update(msg).digest('hex'); - const valid = this.keypair.verify(hmac, sig); - return valid; - } - - derive (path = this.settings.derivation) { - if (!this.master) throw new Error('You cannot derive without a master key. Provide a seed phrase or an xprv.'); - const derived = this.master.derivePath(path); - const options = { - private: derived.privateKey.encodeCompressed('hex'), - public: derived.publicKey.encodeCompressed('hex') - }; - - return new Key$1(options); - } -} - -var key = Key$1; - -const Actor = actor; -const Bech32 = bech32_1$2; -const Hash256 = hash256$1; -const Key = key; - -class Identity extends Actor { - constructor (settings = {}) { - super(settings); - - this.settings = Object.assign({ - seed: null, - accountID: 0, - index: 0 - }, this.settings, settings); - - this.key = new Key(this.settings); - - this._state = { - content: { - accountID: this.settings.accountID, - index: this.settings.index - } - }; - - return this; - } - - get accountID () { - return this._state.content.accountID; - } - - get derivation () { - // m / purpose' / coin_type' / account' / change / address_index - // NOTE: - // Always using Coin Type 0 (Bitcoin) and Change 0 (Public Flag)! - // We will use Change 1 ("Internal Chain" as designated by BIP0044) - // for any kind of revoke mechanic; i.e., the key derived by the change - // address may be used to auto-encode a "revocation" contract. - return `m/44'/0'/${this.accountID}'/0/${this.index}`; - } - - get id () { - return this.toString(); - } - - get index () { - return this._state.content.index; - } - - get master () { - return this.key; - } - - get pubkey () { - return this.key.public.x.toString('hex'); - } - - get pubkeyhash () { - const input = Buffer.from(this.pubkey, 'hex'); - return Hash256.digest(input); - } - - static fromString (input = '') { - const parsed = Bech32.decode(input); - return { - content: parsed.content.toString('hex') - }; - } - - loadAccountByID (id = 0) { - this._state.content.accountID = id; - return this; - } - - toString () { - if (this.settings.debug) console.log('master key:', this.key.master.publicKey); - if (this.settings.debug) console.log('pubkey for id:', this.pubkey); - - const bech32 = new Bech32({ - hrp: 'id', - content: this.pubkeyhash - }); - - if (this.settings.debug) console.log('bech32:', bech32); - - return bech32.toString(); - } -} - -var identity = Identity; - -var SeedEntryForm = /*#__PURE__*/function (_Component) { - _inherits(SeedEntryForm, _Component); - - var _super = _createSuper(SeedEntryForm); - - function SeedEntryForm(props) { - var _this; - - _classCallCheck$1(this, SeedEntryForm); - - _this = _super.call(this, props); - _this.settings = merge__default["default"]({ - network: 'regtest' - }, props); - /* this.wallet = new Wallet({ - network: this.settings.network - }); */ - // TODO: prepare Fabric - // i.e., use _state here, then import from getter and apply properties - // _from_ @react - - _this.state = { - integrity: 'sha256-deadbeefbabe', - fields: { - seed: '', - password: '' - } - }; - return _this; - } - - _createClass$1(SeedEntryForm, [{ - key: "_seedWords", - get: function get() { - return require$$8__namespace.wordlists.english.map(function (x, i) { - return { - key: i, - text: x, - value: x - }; - }); - } - }, { - key: "handleChange", - value: function handleChange(e) { - var newFields = _objectSpread2(_objectSpread2({}, this.state.fields), {}, _defineProperty({}, e.target.name, e.target.value)); // TODO: merge old state - - - this.setState({ - fields: newFields - }); - } - }, { - key: "handleLoginSubmit", - value: function handleLoginSubmit(e) { - e.preventDefault(); // whatever you want to do when user submits a form - - console.log('e:', e); - console.log('e.target:', e.target); - console.log('e.target data:', e.target.data); - return false; - } - }, { - key: "handleSubmit", - value: function handleSubmit(e) { - this.handleLoginSubmit(e); - this.props.handleClose(); - } - }, { - key: "render", - value: function render() { - // const { fields } = this.state; - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, { - onSubmit: this.handleSubmit.bind(this) - }, /*#__PURE__*/React__default["default"].createElement("label", { - htmlFor: "seed" - }, "Seed Phrase (12 or 24 words)"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Dropdown, { - placeholder: "Your 12 or 24 word seed phrase", - fluid: true, - multiple: true, - search: true, - selection: true // options={this._seedWords} - , - minCharacters: 3, - onChange: this.props.handleChange('seed') - }), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, "Load"))); - } - }, { - key: "saveAndContinue", - value: function saveAndContinue(e) { - e.preventDefault(); - this.props.nextStep(); - } - }, { - key: "_handleRestoreButtonClick", - value: function _handleRestoreButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGeneratorButtonClick", - value: function _handleGeneratorButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGenerateClick", - value: function _handleGenerateClick() { - console.log('generate request click'); - } - }, { - key: "_handleGenerateKeyPress", - value: function _handleGenerateKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }, { - key: "_handleRestoreKeyPress", - value: function _handleRestoreKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }]); - - return SeedEntryForm; -}(React.Component); - -var FabricIdentity$1 = /*#__PURE__*/function (_Component) { - _inherits(FabricIdentity, _Component); - - var _super = _createSuper(FabricIdentity); - - function FabricIdentity(props) { - var _this; - - _classCallCheck$1(this, FabricIdentity); - - _this = _super.call(this, props); - _this.settings = Object.assign({ - explain: false, - modalOpen: false, - keys: [] - }, props); - _this.identity = new identity(_this.settings); // TODO: prepare Fabric - - _this._state = { - explain: true, - handle: _this.identity.id, - identity: _this.identity.toObject(), - status: 'PAUSED' - }; - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); - } - - _createClass$1(FabricIdentity, [{ - key: "handleChange", - value: function handleChange(e, v) { - console.log('change:', e, v); // this.setState({ seed: e }); - } - }, { - key: "handleClose", - value: function handleClose() { - this.setState({ - modalOpen: false - }); - } - }, { - key: "render", - value: function render() { - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Menu.Item, { - className: "borderless" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - icon: true, - onClick: this._handleCardClick.bind(this), - labelPosition: "left" - }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("code", null, this._state.handle || 'anonymous')), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "user" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal, { - open: this.state.modalOpen, - onClose: this.handleClose.bind(this), - closeIcon: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal.Header, null, "Login"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal.Content, null, /*#__PURE__*/React__default["default"].createElement(SeedEntryForm, { - handleClose: this.handleClose.bind(this), - handleChange: this.handleChange.bind(this) - })))); - } - }, { - key: "isVisible", - value: function isVisible() { - if (this.state.explain) return true; - return false; - } - }, { - key: "_handleCardClick", - value: function _handleCardClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleRestoreButtonClick", - value: function _handleRestoreButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGeneratorButtonClick", - value: function _handleGeneratorButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGenerateKeyPress", - value: function _handleGenerateKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }, { - key: "_handleRestoreKeyPress", - value: function _handleRestoreKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }]); - - return FabricIdentity; -}(React.Component); - -var FabricIdentity$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': FabricIdentity$1 -}); - -var require$$1 = /*@__PURE__*/getAugmentedNamespace(FabricIdentity$2); - -var IdentityPicker = /*#__PURE__*/function (_Component) { - _inherits(IdentityPicker, _Component); - - var _super = _createSuper(IdentityPicker); - - function IdentityPicker() { - _classCallCheck$1(this, IdentityPicker); - - return _super.apply(this, arguments); - } - - _createClass$1(IdentityPicker, [{ - key: "render", - value: function render() { - this.props.values; - return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - icon: true, - color: "green", - onClick: this._handleGeneratorButtonClick.bind(this), - onKeyPress: this._handleGenerateKeyPress.bind(this), - labelPosition: "left" - }, "Generate ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "leaf" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Or, null), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - icon: true, - color: "blue", - onClick: this._handleRestoreButtonClick.bind(this), - onKeyPress: this._handleRestoreKeyPress.bind(this), - labelPosition: "right" - }, "Restore from Seed Phrase ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "right chevron" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - type: "submit", - onClick: this.saveAndContinue.bind(this) - }, "Save And Continue")); - } - }, { - key: "saveAndContinue", - value: function saveAndContinue(e) { - e.preventDefault(); - this.props.nextStep(); - } - }, { - key: "_handleRestoreButtonClick", - value: function _handleRestoreButtonClick() { - this.setState({ - step: 'SEED_RESTORE_START' - }); - } - }, { - key: "_handleGeneratorButtonClick", - value: function _handleGeneratorButtonClick() { - this.setState({ - step: 'SEED_GENERATE_START' - }); - } - }, { - key: "_handleGenerateClick", - value: function _handleGenerateClick() { - console.log('generate request click'); - } - }, { - key: "_handleGenerateKeyPress", - value: function _handleGenerateKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }, { - key: "_handleRestoreKeyPress", - value: function _handleRestoreKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }]); - - return IdentityPicker; -}(React.Component); - -var FabricIdentityManager$1 = /*#__PURE__*/function (_Component) { - _inherits(FabricIdentityManager, _Component); - - var _super = _createSuper(FabricIdentityManager); - - function FabricIdentityManager(props) { - var _this; - - _classCallCheck$1(this, FabricIdentityManager); - - _this = _super.call(this, props); - - _defineProperty(_assertThisInitialized(_this), "handleChange", function (input) { - return function (event) { - _this.setState(_defineProperty({}, input, event.target.value)); - }; - }); - - _this.settings = merge__default["default"]({ - explain: false, - keys: [] - }, props); // TODO: prepare Fabric - // i.e., use _state here, then import from getter and apply properties - // _from_ @react - - _this.state = { - explain: true, - hash: null, - identities: [], - integrity: 'sha256-deadbeefbabe', - status: 'PAUSED', - step: 1 - }; - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); - } - - _createClass$1(FabricIdentityManager, [{ - key: "setStep", - value: function setStep() { - var step = this.state.step; - this.setState({ - step: step - }); - } - }, { - key: "nextStep", - value: function nextStep() { - var step = this.state.step; - this.setState({ - step: step + 1 - }); - } - }, { - key: "previoustStep", - value: function previoustStep() { - var step = this.state.step; - this.setState({ - step: step - 1 - }); - } - }, { - key: "start", - value: function start() { - TrezorConnect__default["default"].manifest({ - email: 'labs@fabric.pub', - appUrl: 'https://hub.fabric.pub' - }); - this.setState({ - status: 'STARTED' - }); - return this; - } - }, { - key: "render", - value: function render() { - var step = this.state.step; - var _this$state = this.state, - firstName = _this$state.firstName, - lastName = _this$state.lastName, - email = _this$state.email, - age = _this$state.age, - city = _this$state.city, - country = _this$state.country; - var values = { - firstName: firstName, - lastName: lastName, - email: email, - age: age, - city: city, - country: country - }; - var element = null; - - switch (step) { - case 1: - element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - - case 2: - element = /*#__PURE__*/React__default["default"].createElement(SeedEntryForm, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - - case 3: - element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - - case 4: - element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - } - - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - attached: "top" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Group, { - inline: true, - widths: "equal" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Field, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Input, { - disabled: true, - value: this.state.hash - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Field, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - floated: "right" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "history" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "refresh" - }))))))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - hidden: !this.isVisible() - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, null, "Identity Manager"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Meta, null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("strong", null, "Status:"), " ", /*#__PURE__*/React__default["default"].createElement("pre", null, this.state.status)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("strong", null, "State:"), " ", /*#__PURE__*/React__default["default"].createElement("pre", null, JSON.stringify(this.state, null, ' ')))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Description, null, "Get started by restoring from an existing seed phrase or generating a new one.")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - extra: true, - attached: "bottom" - }, element))); - } - }, { - key: "isVisible", - value: function isVisible() { - if (this.state.explain) return true; - return false; - } - }]); - - return FabricIdentityManager; -}(React.Component); - -var FabricIdentityManager$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': FabricIdentityManager$1 -}); - -var require$$2 = /*@__PURE__*/getAugmentedNamespace(FabricIdentityManager$2); - -var FabricBridge = require$$0$1; - -var FabricIdentity = require$$1; - -var FabricIdentityManager = require$$2; - -var FabricBridge_1 = components.FabricBridge = FabricBridge; -var FabricIdentity_1 = components.FabricIdentity = FabricIdentity; -var FabricIdentityManager_1 = components.FabricIdentityManager = FabricIdentityManager; - -exports.FabricBridge = FabricBridge_1; -exports.FabricIdentity = FabricIdentity_1; -exports.FabricIdentityManager = FabricIdentityManager_1; -exports["default"] = components; diff --git a/package.json b/package.json index 5307c7a..0baa559 100644 --- a/package.json +++ b/package.json @@ -2,8 +2,7 @@ "name": "@fabric/react", "version": "0.1.0", "description": "Fabric integration for React", - "main": "index.js", - "module": "assets/fabric.react.js", + "main": "assets/fabric.react.js", "type": "module", "scripts": { "build": "rollup -c", From 3d31afa40b02df4f9fd599a060c625e112827f6c Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 21:46:50 -0400 Subject: [PATCH 10/16] feature: add nodePolyfills, upgrade to react 18 --- package-lock.json | 258 +++++++++++++++++----------------------------- package.json | 1 + rollup.config.js | 4 +- 3 files changed, 98 insertions(+), 165 deletions(-) diff --git a/package-lock.json b/package-lock.json index c9b1ca6..29fd98c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,14 +24,15 @@ "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3", + "rollup-plugin-polyfill-node": "^0.9.0", "semantic-ui-react": "^2.1.3", "trezor-connect": "^8.2.9" }, "peerDependencies": { "@fabric/core": "FabricLabs/fabric#feature/node-16", "@fabric/http": "FabricLabs/fabric-http#feature/node-16", - "react": "^17.0.1", - "react-dom": "^17.0.1" + "react": "^18.2.0", + "react-dom": "^18.2.0" } }, "node_modules/@ampproject/remapping": { @@ -2376,6 +2377,20 @@ "rollup": "^2.68.0" } }, + "node_modules/@rollup/plugin-inject": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@rollup/plugin-inject/-/plugin-inject-4.0.4.tgz", + "integrity": "sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "estree-walker": "^2.0.1", + "magic-string": "^0.25.7" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, "node_modules/@rollup/plugin-json": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-4.1.0.tgz", @@ -3653,6 +3668,7 @@ "version": "4.20.3", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", + "dev": true, "funding": [ { "type": "opencollective", @@ -3853,6 +3869,7 @@ "version": "1.0.30001346", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz", "integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==", + "dev": true, "funding": [ { "type": "opencollective", @@ -5098,7 +5115,8 @@ "node_modules/electron-to-chromium": { "version": "1.4.147", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.147.tgz", - "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==" + "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==", + "dev": true }, "node_modules/elliptic": { "version": "6.5.4", @@ -5218,6 +5236,7 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, "engines": { "node": ">=6" } @@ -5660,18 +5679,6 @@ "node": ">= 0.6" } }, - "node_modules/fraction.js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", - "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==", - "engines": { - "node": "*" - }, - "funding": { - "type": "patreon", - "url": "https://www.patreon.com/infusion" - } - }, "node_modules/fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -8057,7 +8064,8 @@ "node_modules/node-releases": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "dev": true }, "node_modules/nopt": { "version": "5.0.0", @@ -8083,14 +8091,6 @@ "node": ">=0.10.0" } }, - "node_modules/normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -8568,7 +8568,8 @@ "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "node_modules/picomatch": { "version": "2.3.1", @@ -8634,47 +8635,6 @@ "mkdirp": "bin/cmd.js" } }, - "node_modules/postcss": { - "version": "8.4.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], - "peer": true, - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - }, - "node_modules/postcss/node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "peer": true, - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, "node_modules/prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -8889,30 +8849,28 @@ } }, "node_modules/react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", "peer": true, "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" }, "engines": { "node": ">=0.10.0" } }, "node_modules/react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", "peer": true, "dependencies": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "scheduler": "^0.23.0" }, "peerDependencies": { - "react": "17.0.2" + "react": "^18.2.0" } }, "node_modules/react-fast-compare": { @@ -9313,6 +9271,18 @@ "uglify-js": "^2.7.4" } }, + "node_modules/rollup-plugin-polyfill-node": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-polyfill-node/-/rollup-plugin-polyfill-node-0.9.0.tgz", + "integrity": "sha512-cVqm7LjgBqtZ77M9hLYayXrLz18nLIVPp3MPqNi2suStrFDg1LsA2cSdMIighr2yeuAQrphu8ymXTAsJNVABow==", + "dev": true, + "dependencies": { + "@rollup/plugin-inject": "^4.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, "node_modules/rollup-pluginutils": { "version": "2.8.2", "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", @@ -9430,13 +9400,12 @@ } }, "node_modules/scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", "peer": true, "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } }, "node_modules/sdp": { @@ -9674,15 +9643,6 @@ "node": ">=0.10.0" } }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "peer": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", @@ -12388,6 +12348,17 @@ "resolve": "^1.17.0" } }, + "@rollup/plugin-inject": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@rollup/plugin-inject/-/plugin-inject-4.0.4.tgz", + "integrity": "sha512-4pbcU4J/nS+zuHk+c+OL3WtmEQhqxlZ9uqfjQMQDOHOPld7PsCd8k5LWs8h5wjwJN7MgnAn768F2sDxEP4eNFQ==", + "dev": true, + "requires": { + "@rollup/pluginutils": "^3.1.0", + "estree-walker": "^2.0.1", + "magic-string": "^0.25.7" + } + }, "@rollup/plugin-json": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-4.1.0.tgz", @@ -12820,19 +12791,6 @@ "integrity": "sha512-yj9C819u3ED3/OyRd9mLKMXGy8wsElaf6bkkv6OqZEKrNAT461TjiznS4IfPBy8Mmh6DWaXCQCVYSq3+VHkpjQ==", "peer": true }, - "autoprefixer": { - "version": "10.4.7", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.7.tgz", - "integrity": "sha512-ypHju4Y2Oav95SipEcCcI5J7CGPuvz8oat7sUtYj3ClK44bldfvtvcxK6IEK++7rqB7YchDGzweZIBG+SD0ZAA==", - "requires": { - "browserslist": "^4.20.3", - "caniuse-lite": "^1.0.30001335", - "fraction.js": "^4.2.0", - "normalize-range": "^0.1.2", - "picocolors": "^1.0.0", - "postcss-value-parser": "^4.2.0" - } - }, "babel-plugin-dynamic-import-node": { "version": "2.3.3", "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", @@ -13386,6 +13344,7 @@ "version": "4.20.3", "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.20.3.tgz", "integrity": "sha512-NBhymBQl1zM0Y5dQT/O+xiLP9/rzOIQdKM/eMJBAq7yBgaB6krIYLGejrwVYnSHZdqjscB1SPuAjHwxjvN6Wdg==", + "dev": true, "requires": { "caniuse-lite": "^1.0.30001332", "electron-to-chromium": "^1.4.118", @@ -13532,7 +13491,8 @@ "caniuse-lite": { "version": "1.0.30001346", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001346.tgz", - "integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==" + "integrity": "sha512-q6ibZUO2t88QCIPayP/euuDREq+aMAxFE5S70PkrLh0iTDj/zEhgvJRKC2+CvXY6EWc6oQwUR48lL5vCW6jiXQ==", + "dev": true }, "catering": { "version": "2.1.1", @@ -14578,7 +14538,8 @@ "electron-to-chromium": { "version": "1.4.147", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.147.tgz", - "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==" + "integrity": "sha512-czclPqxLMPqPMkahKcske4TaS5lcznsc26ByBlEFDU8grTBVK9C5W6K9I6oEEhm4Ai4jTihGnys90xY1yjXcRg==", + "dev": true }, "elliptic": { "version": "6.5.4", @@ -14684,7 +14645,8 @@ "escalade": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true }, "escape-html": { "version": "1.0.3", @@ -15032,11 +14994,6 @@ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==", "peer": true }, - "fraction.js": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/fraction.js/-/fraction.js-4.2.0.tgz", - "integrity": "sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==" - }, "fresh": { "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", @@ -16850,7 +16807,8 @@ "node-releases": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", - "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", + "dev": true }, "nopt": { "version": "5.0.0", @@ -16867,11 +16825,6 @@ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true }, - "normalize-range": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", - "integrity": "sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==" - }, "normalize-url": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", @@ -17241,7 +17194,8 @@ "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true }, "picomatch": { "version": "2.3.1", @@ -17294,30 +17248,6 @@ } } }, - "postcss": { - "version": "8.4.14", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz", - "integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==", - "peer": true, - "requires": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "dependencies": { - "nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "peer": true - } - } - }, - "postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==" - }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", @@ -17482,24 +17412,22 @@ } }, "react": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz", - "integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react/-/react-18.2.0.tgz", + "integrity": "sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==", "peer": true, "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } }, "react-dom": { - "version": "17.0.2", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz", - "integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==", + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz", + "integrity": "sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==", "peer": true, "requires": { "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "scheduler": "^0.20.2" + "scheduler": "^0.23.0" } }, "react-fast-compare": { @@ -17824,6 +17752,15 @@ "uglify-js": "^2.7.4" } }, + "rollup-plugin-polyfill-node": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-polyfill-node/-/rollup-plugin-polyfill-node-0.9.0.tgz", + "integrity": "sha512-cVqm7LjgBqtZ77M9hLYayXrLz18nLIVPp3MPqNi2suStrFDg1LsA2cSdMIighr2yeuAQrphu8ymXTAsJNVABow==", + "dev": true, + "requires": { + "@rollup/plugin-inject": "^4.0.0" + } + }, "rollup-pluginutils": { "version": "2.8.2", "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", @@ -17894,13 +17831,12 @@ } }, "scheduler": { - "version": "0.20.2", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz", - "integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==", + "version": "0.23.0", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz", + "integrity": "sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==", "peer": true, "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" + "loose-envify": "^1.1.0" } }, "sdp": { @@ -18106,12 +18042,6 @@ "optional": true, "peer": true }, - "source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "peer": true - }, "sourcemap-codec": { "version": "1.4.8", "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", diff --git a/package.json b/package.json index 0baa559..22cedea 100644 --- a/package.json +++ b/package.json @@ -52,6 +52,7 @@ "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3", + "rollup-plugin-polyfill-node": "^0.9.0", "semantic-ui-react": "^2.1.3", "trezor-connect": "^8.2.9" }, diff --git a/rollup.config.js b/rollup.config.js index 92890d1..b6530d9 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -6,6 +6,7 @@ import commonjs from '@rollup/plugin-commonjs'; // import minify from 'rollup-plugin-minify' import resolve from '@rollup/plugin-node-resolve'; import babel from '@rollup/plugin-babel'; +import nodePolyfills from 'rollup-plugin-polyfill-node'; export default [{ input: 'components/index.js', @@ -50,7 +51,8 @@ export default [{ commonjs({ preferBuiltins: false }), - json() + json(), + nodePolyfills() ], // sourceMap: true }]; From 5fccb4fdd9f076334f938aa2a4749ad72178e14c Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 22:01:28 -0400 Subject: [PATCH 11/16] feature: add rollup watch build script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 22cedea..c2f3a58 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "build": "rollup -c", + "dev": "rollup -c -w", "test": "mocha tests" }, "repository": { From f33bf16a6d971771d1562c8843fda07f32ee785b Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 22:05:45 -0400 Subject: [PATCH 12/16] refactor: rm module.js --- module.js | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 module.js diff --git a/module.js b/module.js deleted file mode 100644 index 6ee901d..0000000 --- a/module.js +++ /dev/null @@ -1,9 +0,0 @@ -import * as FabricBridge from './components/FabricBridge'; -import * as FabricIdentity from './components/FabricIdentity'; -import * as FabricIdentityManager from './components/FabricIdentityManager'; - -export default { - FabricBridge, - FabricIdentity, - FabricIdentityManager -}; From 11d4ae9e73dd4cf436d36308948df0172b6917ab Mon Sep 17 00:00:00 2001 From: victorwu Date: Mon, 20 Jun 2022 23:14:48 -0400 Subject: [PATCH 13/16] build: update exports --- assets/fabric.react.js | 103967 +------------------------------------- components/index.js | 9 +- 2 files changed, 13 insertions(+), 103963 deletions(-) diff --git a/assets/fabric.react.js b/assets/fabric.react.js index 1c4c356..0d765b8 100644 --- a/assets/fabric.react.js +++ b/assets/fabric.react.js @@ -2,103966 +2,13 @@ Object.defineProperty(exports, '__esModule', { value: true }); -var React = require('react'); -var merge = require('lodash.merge'); -var semanticUiReact = require('semantic-ui-react'); -var require$$0$2 = require('crypto'); -var http$2 = require('http'); -var require$$2$1 = require('https'); -var require$$3 = require('querystring'); -var Stream = require('stream'); -var Url = require('url'); -var require$$0$3 = require('punycode'); -var zlib$1 = require('zlib'); -var require$$0$4 = require('events'); -var require$$4$1 = require('net'); -var require$$5$1 = require('tls'); -var fs = require('fs'); -var require$$0$5 = require('buffer'); -var require$$8 = require('bip39'); -var TrezorConnect = require('trezor-connect'); +var FabricBridge = require('./FabricBridge'); -function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } +var FabricIdentity = require('./FabricIdentity'); -function _interopNamespace(e) { - if (e && e.__esModule) return e; - var n = Object.create(null); - if (e) { - Object.keys(e).forEach(function (k) { - if (k !== 'default') { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - } - n["default"] = e; - return Object.freeze(n); -} +var FabricIdentityManager = require('./FabricIdentityManager'); -function _mergeNamespaces(n, m) { - m.forEach(function (e) { - e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) { - if (k !== 'default' && !(k in n)) { - var d = Object.getOwnPropertyDescriptor(e, k); - Object.defineProperty(n, k, d.get ? d : { - enumerable: true, - get: function () { return e[k]; } - }); - } - }); - }); - return Object.freeze(n); -} - -var React__default = /*#__PURE__*/_interopDefaultLegacy(React); -var merge__default = /*#__PURE__*/_interopDefaultLegacy(merge); -var require$$0__default = /*#__PURE__*/_interopDefaultLegacy(require$$0$2); -var http__default = /*#__PURE__*/_interopDefaultLegacy(http$2); -var require$$2__default = /*#__PURE__*/_interopDefaultLegacy(require$$2$1); -var require$$3__default = /*#__PURE__*/_interopDefaultLegacy(require$$3); -var Stream__default = /*#__PURE__*/_interopDefaultLegacy(Stream); -var Url__default = /*#__PURE__*/_interopDefaultLegacy(Url); -var require$$0__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$0$3); -var zlib__default = /*#__PURE__*/_interopDefaultLegacy(zlib$1); -var require$$0__default$2 = /*#__PURE__*/_interopDefaultLegacy(require$$0$4); -var require$$4__default = /*#__PURE__*/_interopDefaultLegacy(require$$4$1); -var require$$5__default = /*#__PURE__*/_interopDefaultLegacy(require$$5$1); -var require$$0__default$3 = /*#__PURE__*/_interopDefaultLegacy(require$$0$5); -var require$$8__default = /*#__PURE__*/_interopDefaultLegacy(require$$8); -var require$$8__namespace = /*#__PURE__*/_interopNamespace(require$$8); -var TrezorConnect__default = /*#__PURE__*/_interopDefaultLegacy(TrezorConnect); - -var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; - -function getAugmentedNamespace(n) { - var f = n.default; - if (typeof f == "function") { - var a = function () { - return f.apply(this, arguments); - }; - a.prototype = f.prototype; - } else a = {}; - Object.defineProperty(a, '__esModule', {value: true}); - Object.keys(n).forEach(function (k) { - var d = Object.getOwnPropertyDescriptor(n, k); - Object.defineProperty(a, k, d.get ? d : { - enumerable: true, - get: function () { - return n[k]; - } - }); - }); - return a; -} - -var components = {}; - -function ownKeys(object, enumerableOnly) { - var keys = Object.keys(object); - - if (Object.getOwnPropertySymbols) { - var symbols = Object.getOwnPropertySymbols(object); - enumerableOnly && (symbols = symbols.filter(function (sym) { - return Object.getOwnPropertyDescriptor(object, sym).enumerable; - })), keys.push.apply(keys, symbols); - } - - return keys; -} - -function _objectSpread2(target) { - for (var i = 1; i < arguments.length; i++) { - var source = null != arguments[i] ? arguments[i] : {}; - i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { - _defineProperty(target, key, source[key]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { - Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); - }); - } - - return target; -} - -function _regeneratorRuntime() { - /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ - - _regeneratorRuntime = function () { - return exports; - }; - - var exports = {}, - Op = Object.prototype, - hasOwn = Op.hasOwnProperty, - $Symbol = "function" == typeof Symbol ? Symbol : {}, - iteratorSymbol = $Symbol.iterator || "@@iterator", - asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", - toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; - - function define(obj, key, value) { - return Object.defineProperty(obj, key, { - value: value, - enumerable: !0, - configurable: !0, - writable: !0 - }), obj[key]; - } - - try { - define({}, ""); - } catch (err) { - define = function (obj, key, value) { - return obj[key] = value; - }; - } - - function wrap(innerFn, outerFn, self, tryLocsList) { - var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, - generator = Object.create(protoGenerator.prototype), - context = new Context(tryLocsList || []); - return generator._invoke = function (innerFn, self, context) { - var state = "suspendedStart"; - return function (method, arg) { - if ("executing" === state) throw new Error("Generator is already running"); - - if ("completed" === state) { - if ("throw" === method) throw arg; - return doneResult(); - } - - for (context.method = method, context.arg = arg;;) { - var delegate = context.delegate; - - if (delegate) { - var delegateResult = maybeInvokeDelegate(delegate, context); - - if (delegateResult) { - if (delegateResult === ContinueSentinel) continue; - return delegateResult; - } - } - - if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { - if ("suspendedStart" === state) throw state = "completed", context.arg; - context.dispatchException(context.arg); - } else "return" === context.method && context.abrupt("return", context.arg); - state = "executing"; - var record = tryCatch(innerFn, self, context); - - if ("normal" === record.type) { - if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; - return { - value: record.arg, - done: context.done - }; - } - - "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); - } - }; - }(innerFn, self, context), generator; - } - - function tryCatch(fn, obj, arg) { - try { - return { - type: "normal", - arg: fn.call(obj, arg) - }; - } catch (err) { - return { - type: "throw", - arg: err - }; - } - } - - exports.wrap = wrap; - var ContinueSentinel = {}; - - function Generator() {} - - function GeneratorFunction() {} - - function GeneratorFunctionPrototype() {} - - var IteratorPrototype = {}; - define(IteratorPrototype, iteratorSymbol, function () { - return this; - }); - var getProto = Object.getPrototypeOf, - NativeIteratorPrototype = getProto && getProto(getProto(values([]))); - NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); - var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); - - function defineIteratorMethods(prototype) { - ["next", "throw", "return"].forEach(function (method) { - define(prototype, method, function (arg) { - return this._invoke(method, arg); - }); - }); - } - - function AsyncIterator(generator, PromiseImpl) { - function invoke(method, arg, resolve, reject) { - var record = tryCatch(generator[method], generator, arg); - - if ("throw" !== record.type) { - var result = record.arg, - value = result.value; - return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { - invoke("next", value, resolve, reject); - }, function (err) { - invoke("throw", err, resolve, reject); - }) : PromiseImpl.resolve(value).then(function (unwrapped) { - result.value = unwrapped, resolve(result); - }, function (error) { - return invoke("throw", error, resolve, reject); - }); - } - - reject(record.arg); - } - - var previousPromise; - - this._invoke = function (method, arg) { - function callInvokeWithMethodAndArg() { - return new PromiseImpl(function (resolve, reject) { - invoke(method, arg, resolve, reject); - }); - } - - return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); - }; - } - - function maybeInvokeDelegate(delegate, context) { - var method = delegate.iterator[context.method]; - - if (undefined === method) { - if (context.delegate = null, "throw" === context.method) { - if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; - context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); - } - - return ContinueSentinel; - } - - var record = tryCatch(method, delegate.iterator, context.arg); - if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; - var info = record.arg; - return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); - } - - function pushTryEntry(locs) { - var entry = { - tryLoc: locs[0] - }; - 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); - } - - function resetTryEntry(entry) { - var record = entry.completion || {}; - record.type = "normal", delete record.arg, entry.completion = record; - } - - function Context(tryLocsList) { - this.tryEntries = [{ - tryLoc: "root" - }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); - } - - function values(iterable) { - if (iterable) { - var iteratorMethod = iterable[iteratorSymbol]; - if (iteratorMethod) return iteratorMethod.call(iterable); - if ("function" == typeof iterable.next) return iterable; - - if (!isNaN(iterable.length)) { - var i = -1, - next = function next() { - for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; - - return next.value = undefined, next.done = !0, next; - }; - - return next.next = next; - } - } - - return { - next: doneResult - }; - } - - function doneResult() { - return { - value: undefined, - done: !0 - }; - } - - return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { - var ctor = "function" == typeof genFun && genFun.constructor; - return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); - }, exports.mark = function (genFun) { - return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; - }, exports.awrap = function (arg) { - return { - __await: arg - }; - }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { - return this; - }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { - void 0 === PromiseImpl && (PromiseImpl = Promise); - var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); - return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { - return result.done ? result.value : iter.next(); - }); - }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { - return this; - }), define(Gp, "toString", function () { - return "[object Generator]"; - }), exports.keys = function (object) { - var keys = []; - - for (var key in object) keys.push(key); - - return keys.reverse(), function next() { - for (; keys.length;) { - var key = keys.pop(); - if (key in object) return next.value = key, next.done = !1, next; - } - - return next.done = !0, next; - }; - }, exports.values = values, Context.prototype = { - constructor: Context, - reset: function (skipTempReset) { - if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); - }, - stop: function () { - this.done = !0; - var rootRecord = this.tryEntries[0].completion; - if ("throw" === rootRecord.type) throw rootRecord.arg; - return this.rval; - }, - dispatchException: function (exception) { - if (this.done) throw exception; - var context = this; - - function handle(loc, caught) { - return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; - } - - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i], - record = entry.completion; - if ("root" === entry.tryLoc) return handle("end"); - - if (entry.tryLoc <= this.prev) { - var hasCatch = hasOwn.call(entry, "catchLoc"), - hasFinally = hasOwn.call(entry, "finallyLoc"); - - if (hasCatch && hasFinally) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } else if (hasCatch) { - if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); - } else { - if (!hasFinally) throw new Error("try statement without catch or finally"); - if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); - } - } - } - }, - abrupt: function (type, arg) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { - var finallyEntry = entry; - break; - } - } - - finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); - var record = finallyEntry ? finallyEntry.completion : {}; - return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); - }, - complete: function (record, afterLoc) { - if ("throw" === record.type) throw record.arg; - return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; - }, - finish: function (finallyLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; - } - }, - catch: function (tryLoc) { - for (var i = this.tryEntries.length - 1; i >= 0; --i) { - var entry = this.tryEntries[i]; - - if (entry.tryLoc === tryLoc) { - var record = entry.completion; - - if ("throw" === record.type) { - var thrown = record.arg; - resetTryEntry(entry); - } - - return thrown; - } - } - - throw new Error("illegal catch attempt"); - }, - delegateYield: function (iterable, resultName, nextLoc) { - return this.delegate = { - iterator: values(iterable), - resultName: resultName, - nextLoc: nextLoc - }, "next" === this.method && (this.arg = undefined), ContinueSentinel; - } - }, exports; -} - -function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { - try { - var info = gen[key](arg); - var value = info.value; - } catch (error) { - reject(error); - return; - } - - if (info.done) { - resolve(value); - } else { - Promise.resolve(value).then(_next, _throw); - } -} - -function _asyncToGenerator(fn) { - return function () { - var self = this, - args = arguments; - return new Promise(function (resolve, reject) { - var gen = fn.apply(self, args); - - function _next(value) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); - } - - function _throw(err) { - asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); - } - - _next(undefined); - }); - }; -} - -function _classCallCheck$1(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } -} - -function _defineProperties$1(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, descriptor.key, descriptor); - } -} - -function _createClass$1(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); - if (staticProps) _defineProperties$1(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; -} - -function _defineProperty(obj, key, value) { - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - - return obj; -} - -function _inherits(subClass, superClass) { - if (typeof superClass !== "function" && superClass !== null) { - throw new TypeError("Super expression must either be null or a function"); - } - - subClass.prototype = Object.create(superClass && superClass.prototype, { - constructor: { - value: subClass, - writable: true, - configurable: true - } - }); - Object.defineProperty(subClass, "prototype", { - writable: false - }); - if (superClass) _setPrototypeOf(subClass, superClass); -} - -function _getPrototypeOf(o) { - _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { - return o.__proto__ || Object.getPrototypeOf(o); - }; - return _getPrototypeOf(o); -} - -function _setPrototypeOf(o, p) { - _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { - o.__proto__ = p; - return o; - }; - return _setPrototypeOf(o, p); -} - -function _isNativeReflectConstruct() { - if (typeof Reflect === "undefined" || !Reflect.construct) return false; - if (Reflect.construct.sham) return false; - if (typeof Proxy === "function") return true; - - try { - Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); - return true; - } catch (e) { - return false; - } -} - -function _assertThisInitialized(self) { - if (self === void 0) { - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - } - - return self; -} - -function _possibleConstructorReturn(self, call) { - if (call && (typeof call === "object" || typeof call === "function")) { - return call; - } else if (call !== void 0) { - throw new TypeError("Derived constructors may only return object or undefined"); - } - - return _assertThisInitialized(self); -} - -function _createSuper(Derived) { - var hasNativeReflectConstruct = _isNativeReflectConstruct(); - - return function _createSuperInternal() { - var Super = _getPrototypeOf(Derived), - result; - - if (hasNativeReflectConstruct) { - var NewTarget = _getPrototypeOf(this).constructor; - - result = Reflect.construct(Super, arguments, NewTarget); - } else { - result = Super.apply(this, arguments); - } - - return _possibleConstructorReturn(this, result); - }; -} - -/* - Fabric Core Constants. - --- - Author: Fabric Labs - Copyright: All Rights Reserved. - */ - -// Dependencies -const crypto$a = require$$0__default["default"]; - -// Networking and Environment -const PEER_PORT = 9999; -const MAX_PEERS = 32; -const PRECISION = 100; - -// Fabric Core -const BITCOIN_GENESIS = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f'; -const BITCOIN_GENESIS_ROOT = '4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b'; -const FABRIC_KEY_DERIVATION_PATH$1 = "m/44'/0'/0'/0/0"; - -// Message Constants -const MAGIC_BYTES$1 = 0xC0D3F33D; -const VERSION_NUMBER$1 = 0x00; // 0 for development, pre-alpha, 1 for production -const HEADER_SIZE$1 = 144; // [4], [4], [32], [4], [4], [32], [64] bytes -const LARGE_COLLECTION_SIZE = 10; // TODO: test with 1,000,000 -const MAX_MESSAGE_SIZE$1 = 4096 - HEADER_SIZE$1; - -// Stacks and Frames -const MAX_STACK_HEIGHT = 32; // max height of stack (number of elements) -const MAX_FRAME_SIZE = 32; // max size of a stack frame in bytes -const MAX_MEMORY_ALLOC = MAX_STACK_HEIGHT * MAX_FRAME_SIZE; -const MAX_TX_PER_BLOCK = 100; -const MAX_CHANNEL_VALUE = 100000000; - -// Machine Constraints -const MACHINE_MAX_MEMORY = MAX_MEMORY_ALLOC * MAX_MESSAGE_SIZE$1; -const MAX_CHAT_MESSAGE_LENGTH = 2048; - -// FABRIC ONLY -const GENERIC_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericMessage').digest('hex').slice(0, 4), 16); -const LOG_MESSAGE_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericLogMessage').digest('hex').slice(0, 4), 16); -const GENERIC_LIST_TYPE$1 = MAGIC_BYTES$1 + parseInt(crypto$a.createHash('sha256').update('@types/GenericList').digest('hex').slice(0, 4), 16); -const DOCUMENT_PUBLISH_TYPE$1 = 998; -const DOCUMENT_REQUEST_TYPE$1 = 999; - -// Opcodes -const OP_CYCLE$1 = '00'; -const OP_DONE = 'ff'; - -// Bitcoin -const OP_0 = '00'; -const OP_36 = '24'; -const OP_CHECKSIG = 'ac'; -const OP_DUP = '76'; -const OP_EQUAL = '87'; -const OP_SHA256 = 'a8'; -const OP_HASH160 = 'a9'; -const OP_PUSHDATA1 = '4c'; -const OP_RETURN = '6a'; -const OP_EQUALVERIFY = '88'; -const OP_SEPARATOR = 'ab'; - -const P2P_GENERIC$1 = 0x80; // 128 in decimal -const P2P_IDENT_REQUEST$1 = 0x01; // 1, or the identity -const P2P_IDENT_RESPONSE$1 = 0x11; -const P2P_ROOT$1 = 0x00000000; -const P2P_PING$1 = 0x00000012; // same ID as Lightning (18) -const P2P_PONG$1 = 0x00000013; // same ID as Lightning (19) -const P2P_INSTRUCTION$1 = 0x00000020; // TODO: select w/ no overlap -const P2P_START_CHAIN$1 = 0x00000021; -const P2P_STATE_REQUEST$1 = 0x00000029; // TODO: select w/ no overlap -const P2P_STATE_ROOT$1 = 0x00000030; // TODO: select w/ no overlap -const P2P_BASE_MESSAGE$1 = 0x00000031; // TODO: select w/ no overlap -const P2P_STATE_COMMITTMENT$1 = 0x00000032; // TODO: select w/ no overlap -const P2P_STATE_CHANGE$1 = 0x00000033; // TODO: select w/ no overlap -const P2P_TRANSACTION$1 = 0x00000039; // TODO: select w/ no overlap -const P2P_CALL$2 = 0x00000042; -const P2P_CHAIN_SYNC_REQUEST$1 = 0x55; -const P2P_SESSION_ACK = 0x4200; -const P2P_MUSIG_START = 0x4220; -const P2P_MUSIG_ACCEPT = 0x4221; -const P2P_MUSIG_RECEIVE_COUNTER = 0x4222; -const P2P_MUSIG_SEND_PROPOSAL = 0x4223; -const P2P_MUSIG_REPLY_TO_PROPOSAL = 0x4224; -const P2P_MUSIG_ACCEPT_PROPOSAL = 0x4225; - -const PEER_CANDIDATE$1 = 0x09; -// TODO: should be 0x02 for Bitcoin P2P -const BLOCK_CANDIDATE$1 = 0x03; - -const SESSION_START$1 = 0x02; -const CHAT_MESSAGE$1 = 0x67; - -// Lightning -const LIGHTNING_TEST_HEADER = 'D0520C6E'; -const LIGHTNING_PROTOCOL_H_INIT = 'Noise_XK_secp256k1_ChaChaPoly_SHA256'; -const LIGHTNING_PROTOCOL_PROLOGUE = 'lightning'; - -// Lightning BMM -const LIGHTNING_BMM_HEADER = 'D0520C6E'; -const LIGHTNING_SIDECHAIN_NUM = 0xFF; // 1-byte - sidechain number - -const LIGHTNING_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; // 32-bytes -const LIGHTNING_PARENT_SIDEBLOCK_HASH = 0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001; // 32-bytes - -const ZERO_LENGTH_PLAINTEXT = ''; - -var constants$1 = { - PEER_PORT, - MAX_PEERS, - PRECISION, - BITCOIN_GENESIS, - BITCOIN_GENESIS_ROOT, - FABRIC_KEY_DERIVATION_PATH: FABRIC_KEY_DERIVATION_PATH$1, - HEADER_SIZE: HEADER_SIZE$1, - GENERIC_MESSAGE_TYPE: GENERIC_MESSAGE_TYPE$1, - LOG_MESSAGE_TYPE: LOG_MESSAGE_TYPE$1, - GENERIC_LIST_TYPE: GENERIC_LIST_TYPE$1, - LARGE_COLLECTION_SIZE, - BLOCK_CANDIDATE: BLOCK_CANDIDATE$1, - CHAT_MESSAGE: CHAT_MESSAGE$1, - ZERO_LENGTH_PLAINTEXT, - LIGHTNING_TEST_HEADER, - LIGHTNING_PROTOCOL_H_INIT, - LIGHTNING_PROTOCOL_PROLOGUE, - LIGHTNING_BMM_HEADER, - LIGHTNING_SIDECHAIN_NUM, - LIGHTNING_SIDEBLOCK_HASH, - LIGHTNING_PARENT_SIDEBLOCK_HASH, - MAGIC_BYTES: MAGIC_BYTES$1, - MAX_FRAME_SIZE, - MAX_MEMORY_ALLOC, - MAX_MESSAGE_SIZE: MAX_MESSAGE_SIZE$1, - MAX_STACK_HEIGHT, - MAX_CHANNEL_VALUE, - MAX_CHAT_MESSAGE_LENGTH, - MAX_TX_PER_BLOCK, - MACHINE_MAX_MEMORY, - OP_CYCLE: OP_CYCLE$1, - OP_DONE, - OP_0, - OP_36, - OP_CHECKSIG, - OP_DUP, - OP_EQUAL, - OP_SHA256, - OP_HASH160, - OP_PUSHDATA1, - OP_RETURN, - OP_EQUALVERIFY, - OP_SEPARATOR, - P2P_GENERIC: P2P_GENERIC$1, - P2P_IDENT_REQUEST: P2P_IDENT_REQUEST$1, - P2P_IDENT_RESPONSE: P2P_IDENT_RESPONSE$1, - P2P_CHAIN_SYNC_REQUEST: P2P_CHAIN_SYNC_REQUEST$1, - P2P_ROOT: P2P_ROOT$1, - P2P_PING: P2P_PING$1, - P2P_PONG: P2P_PONG$1, - P2P_START_CHAIN: P2P_START_CHAIN$1, - P2P_INSTRUCTION: P2P_INSTRUCTION$1, - P2P_BASE_MESSAGE: P2P_BASE_MESSAGE$1, - P2P_STATE_ROOT: P2P_STATE_ROOT$1, - P2P_STATE_COMMITTMENT: P2P_STATE_COMMITTMENT$1, - P2P_STATE_CHANGE: P2P_STATE_CHANGE$1, - P2P_STATE_REQUEST: P2P_STATE_REQUEST$1, - P2P_TRANSACTION: P2P_TRANSACTION$1, - P2P_CALL: P2P_CALL$2, - P2P_SESSION_ACK, - P2P_MUSIG_START, - P2P_MUSIG_ACCEPT, - P2P_MUSIG_RECEIVE_COUNTER, - P2P_MUSIG_SEND_PROPOSAL, - P2P_MUSIG_REPLY_TO_PROPOSAL, - P2P_MUSIG_ACCEPT_PROPOSAL, - PEER_CANDIDATE: PEER_CANDIDATE$1, - DOCUMENT_PUBLISH_TYPE: DOCUMENT_PUBLISH_TYPE$1, - DOCUMENT_REQUEST_TYPE: DOCUMENT_REQUEST_TYPE$1, - SESSION_START: SESSION_START$1, - VERSION_NUMBER: VERSION_NUMBER$1 -}; - -var publicApi = {}; - -var URL$2 = {exports: {}}; - -var conversions = {}; -var lib$3 = conversions; - -function sign$1(x) { - return x < 0 ? -1 : 1; -} - -function evenRound(x) { - // Round x to the nearest integer, choosing the even integer if it lies halfway between two. - if ((x % 1) === 0.5 && (x & 1) === 0) { // [even number].5; round down (i.e. floor) - return Math.floor(x); - } else { - return Math.round(x); - } -} - -function createNumberConversion(bitLength, typeOpts) { - if (!typeOpts.unsigned) { - --bitLength; - } - const lowerBound = typeOpts.unsigned ? 0 : -Math.pow(2, bitLength); - const upperBound = Math.pow(2, bitLength) - 1; - - const moduloVal = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength) : Math.pow(2, bitLength); - const moduloBound = typeOpts.moduloBitLength ? Math.pow(2, typeOpts.moduloBitLength - 1) : Math.pow(2, bitLength - 1); - - return function(V, opts) { - if (!opts) opts = {}; - - let x = +V; - - if (opts.enforceRange) { - if (!Number.isFinite(x)) { - throw new TypeError("Argument is not a finite number"); - } - - x = sign$1(x) * Math.floor(Math.abs(x)); - if (x < lowerBound || x > upperBound) { - throw new TypeError("Argument is not in byte range"); - } - - return x; - } - - if (!isNaN(x) && opts.clamp) { - x = evenRound(x); - - if (x < lowerBound) x = lowerBound; - if (x > upperBound) x = upperBound; - return x; - } - - if (!Number.isFinite(x) || x === 0) { - return 0; - } - - x = sign$1(x) * Math.floor(Math.abs(x)); - x = x % moduloVal; - - if (!typeOpts.unsigned && x >= moduloBound) { - return x - moduloVal; - } else if (typeOpts.unsigned) { - if (x < 0) { - x += moduloVal; - } else if (x === -0) { // don't return negative zero - return 0; - } - } - - return x; - } -} - -conversions["void"] = function () { - return undefined; -}; - -conversions["boolean"] = function (val) { - return !!val; -}; - -conversions["byte"] = createNumberConversion(8, { unsigned: false }); -conversions["octet"] = createNumberConversion(8, { unsigned: true }); - -conversions["short"] = createNumberConversion(16, { unsigned: false }); -conversions["unsigned short"] = createNumberConversion(16, { unsigned: true }); - -conversions["long"] = createNumberConversion(32, { unsigned: false }); -conversions["unsigned long"] = createNumberConversion(32, { unsigned: true }); - -conversions["long long"] = createNumberConversion(32, { unsigned: false, moduloBitLength: 64 }); -conversions["unsigned long long"] = createNumberConversion(32, { unsigned: true, moduloBitLength: 64 }); - -conversions["double"] = function (V) { - const x = +V; - - if (!Number.isFinite(x)) { - throw new TypeError("Argument is not a finite floating-point value"); - } - - return x; -}; - -conversions["unrestricted double"] = function (V) { - const x = +V; - - if (isNaN(x)) { - throw new TypeError("Argument is NaN"); - } - - return x; -}; - -// not quite valid, but good enough for JS -conversions["float"] = conversions["double"]; -conversions["unrestricted float"] = conversions["unrestricted double"]; - -conversions["DOMString"] = function (V, opts) { - if (!opts) opts = {}; - - if (opts.treatNullAsEmptyString && V === null) { - return ""; - } - - return String(V); -}; - -conversions["ByteString"] = function (V, opts) { - const x = String(V); - let c = undefined; - for (let i = 0; (c = x.codePointAt(i)) !== undefined; ++i) { - if (c > 255) { - throw new TypeError("Argument is not a valid bytestring"); - } - } - - return x; -}; - -conversions["USVString"] = function (V) { - const S = String(V); - const n = S.length; - const U = []; - for (let i = 0; i < n; ++i) { - const c = S.charCodeAt(i); - if (c < 0xD800 || c > 0xDFFF) { - U.push(String.fromCodePoint(c)); - } else if (0xDC00 <= c && c <= 0xDFFF) { - U.push(String.fromCodePoint(0xFFFD)); - } else { - if (i === n - 1) { - U.push(String.fromCodePoint(0xFFFD)); - } else { - const d = S.charCodeAt(i + 1); - if (0xDC00 <= d && d <= 0xDFFF) { - const a = c & 0x3FF; - const b = d & 0x3FF; - U.push(String.fromCodePoint((2 << 15) + (2 << 9) * a + b)); - ++i; - } else { - U.push(String.fromCodePoint(0xFFFD)); - } - } - } - } - - return U.join(''); -}; - -conversions["Date"] = function (V, opts) { - if (!(V instanceof Date)) { - throw new TypeError("Argument is not a Date object"); - } - if (isNaN(V)) { - return undefined; - } - - return V; -}; - -conversions["RegExp"] = function (V, opts) { - if (!(V instanceof RegExp)) { - V = new RegExp(V); - } - - return V; -}; - -var utils$n = {exports: {}}; - -(function (module) { - - module.exports.mixin = function mixin(target, source) { - const keys = Object.getOwnPropertyNames(source); - for (let i = 0; i < keys.length; ++i) { - Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); - } - }; - - module.exports.wrapperSymbol = Symbol("wrapper"); - module.exports.implSymbol = Symbol("impl"); - - module.exports.wrapperForImpl = function (impl) { - return impl[module.exports.wrapperSymbol]; - }; - - module.exports.implForWrapper = function (wrapper) { - return wrapper[module.exports.implSymbol]; - }; -} (utils$n)); - -var URLImpl = {}; - -var urlStateMachine = {exports: {}}; - -var tr46 = {}; - -var require$$1$1 = [ - [ - [ - 0, - 44 - ], - "disallowed_STD3_valid" - ], - [ - [ - 45, - 46 - ], - "valid" - ], - [ - [ - 47, - 47 - ], - "disallowed_STD3_valid" - ], - [ - [ - 48, - 57 - ], - "valid" - ], - [ - [ - 58, - 64 - ], - "disallowed_STD3_valid" - ], - [ - [ - 65, - 65 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 66, - 66 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 67, - 67 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 68, - 68 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 69, - 69 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 70, - 70 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 71, - 71 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 72, - 72 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 73, - 73 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 74, - 74 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 75, - 75 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 76, - 76 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 77, - 77 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 78, - 78 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 79, - 79 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 80, - 80 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 81, - 81 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 82, - 82 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 83, - 83 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 84, - 84 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 85, - 85 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 86, - 86 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 87, - 87 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 88, - 88 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 89, - 89 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 90, - 90 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 91, - 96 - ], - "disallowed_STD3_valid" - ], - [ - [ - 97, - 122 - ], - "valid" - ], - [ - [ - 123, - 127 - ], - "disallowed_STD3_valid" - ], - [ - [ - 128, - 159 - ], - "disallowed" - ], - [ - [ - 160, - 160 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 161, - 167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 168, - 168 - ], - "disallowed_STD3_mapped", - [ - 32, - 776 - ] - ], - [ - [ - 169, - 169 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 170, - 170 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 171, - 172 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 173, - 173 - ], - "ignored" - ], - [ - [ - 174, - 174 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 175, - 175 - ], - "disallowed_STD3_mapped", - [ - 32, - 772 - ] - ], - [ - [ - 176, - 177 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 178, - 178 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 179, - 179 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 180, - 180 - ], - "disallowed_STD3_mapped", - [ - 32, - 769 - ] - ], - [ - [ - 181, - 181 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 182, - 182 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 183, - 183 - ], - "valid" - ], - [ - [ - 184, - 184 - ], - "disallowed_STD3_mapped", - [ - 32, - 807 - ] - ], - [ - [ - 185, - 185 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 186, - 186 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 187, - 187 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 188, - 188 - ], - "mapped", - [ - 49, - 8260, - 52 - ] - ], - [ - [ - 189, - 189 - ], - "mapped", - [ - 49, - 8260, - 50 - ] - ], - [ - [ - 190, - 190 - ], - "mapped", - [ - 51, - 8260, - 52 - ] - ], - [ - [ - 191, - 191 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 192, - 192 - ], - "mapped", - [ - 224 - ] - ], - [ - [ - 193, - 193 - ], - "mapped", - [ - 225 - ] - ], - [ - [ - 194, - 194 - ], - "mapped", - [ - 226 - ] - ], - [ - [ - 195, - 195 - ], - "mapped", - [ - 227 - ] - ], - [ - [ - 196, - 196 - ], - "mapped", - [ - 228 - ] - ], - [ - [ - 197, - 197 - ], - "mapped", - [ - 229 - ] - ], - [ - [ - 198, - 198 - ], - "mapped", - [ - 230 - ] - ], - [ - [ - 199, - 199 - ], - "mapped", - [ - 231 - ] - ], - [ - [ - 200, - 200 - ], - "mapped", - [ - 232 - ] - ], - [ - [ - 201, - 201 - ], - "mapped", - [ - 233 - ] - ], - [ - [ - 202, - 202 - ], - "mapped", - [ - 234 - ] - ], - [ - [ - 203, - 203 - ], - "mapped", - [ - 235 - ] - ], - [ - [ - 204, - 204 - ], - "mapped", - [ - 236 - ] - ], - [ - [ - 205, - 205 - ], - "mapped", - [ - 237 - ] - ], - [ - [ - 206, - 206 - ], - "mapped", - [ - 238 - ] - ], - [ - [ - 207, - 207 - ], - "mapped", - [ - 239 - ] - ], - [ - [ - 208, - 208 - ], - "mapped", - [ - 240 - ] - ], - [ - [ - 209, - 209 - ], - "mapped", - [ - 241 - ] - ], - [ - [ - 210, - 210 - ], - "mapped", - [ - 242 - ] - ], - [ - [ - 211, - 211 - ], - "mapped", - [ - 243 - ] - ], - [ - [ - 212, - 212 - ], - "mapped", - [ - 244 - ] - ], - [ - [ - 213, - 213 - ], - "mapped", - [ - 245 - ] - ], - [ - [ - 214, - 214 - ], - "mapped", - [ - 246 - ] - ], - [ - [ - 215, - 215 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 216, - 216 - ], - "mapped", - [ - 248 - ] - ], - [ - [ - 217, - 217 - ], - "mapped", - [ - 249 - ] - ], - [ - [ - 218, - 218 - ], - "mapped", - [ - 250 - ] - ], - [ - [ - 219, - 219 - ], - "mapped", - [ - 251 - ] - ], - [ - [ - 220, - 220 - ], - "mapped", - [ - 252 - ] - ], - [ - [ - 221, - 221 - ], - "mapped", - [ - 253 - ] - ], - [ - [ - 222, - 222 - ], - "mapped", - [ - 254 - ] - ], - [ - [ - 223, - 223 - ], - "deviation", - [ - 115, - 115 - ] - ], - [ - [ - 224, - 246 - ], - "valid" - ], - [ - [ - 247, - 247 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 248, - 255 - ], - "valid" - ], - [ - [ - 256, - 256 - ], - "mapped", - [ - 257 - ] - ], - [ - [ - 257, - 257 - ], - "valid" - ], - [ - [ - 258, - 258 - ], - "mapped", - [ - 259 - ] - ], - [ - [ - 259, - 259 - ], - "valid" - ], - [ - [ - 260, - 260 - ], - "mapped", - [ - 261 - ] - ], - [ - [ - 261, - 261 - ], - "valid" - ], - [ - [ - 262, - 262 - ], - "mapped", - [ - 263 - ] - ], - [ - [ - 263, - 263 - ], - "valid" - ], - [ - [ - 264, - 264 - ], - "mapped", - [ - 265 - ] - ], - [ - [ - 265, - 265 - ], - "valid" - ], - [ - [ - 266, - 266 - ], - "mapped", - [ - 267 - ] - ], - [ - [ - 267, - 267 - ], - "valid" - ], - [ - [ - 268, - 268 - ], - "mapped", - [ - 269 - ] - ], - [ - [ - 269, - 269 - ], - "valid" - ], - [ - [ - 270, - 270 - ], - "mapped", - [ - 271 - ] - ], - [ - [ - 271, - 271 - ], - "valid" - ], - [ - [ - 272, - 272 - ], - "mapped", - [ - 273 - ] - ], - [ - [ - 273, - 273 - ], - "valid" - ], - [ - [ - 274, - 274 - ], - "mapped", - [ - 275 - ] - ], - [ - [ - 275, - 275 - ], - "valid" - ], - [ - [ - 276, - 276 - ], - "mapped", - [ - 277 - ] - ], - [ - [ - 277, - 277 - ], - "valid" - ], - [ - [ - 278, - 278 - ], - "mapped", - [ - 279 - ] - ], - [ - [ - 279, - 279 - ], - "valid" - ], - [ - [ - 280, - 280 - ], - "mapped", - [ - 281 - ] - ], - [ - [ - 281, - 281 - ], - "valid" - ], - [ - [ - 282, - 282 - ], - "mapped", - [ - 283 - ] - ], - [ - [ - 283, - 283 - ], - "valid" - ], - [ - [ - 284, - 284 - ], - "mapped", - [ - 285 - ] - ], - [ - [ - 285, - 285 - ], - "valid" - ], - [ - [ - 286, - 286 - ], - "mapped", - [ - 287 - ] - ], - [ - [ - 287, - 287 - ], - "valid" - ], - [ - [ - 288, - 288 - ], - "mapped", - [ - 289 - ] - ], - [ - [ - 289, - 289 - ], - "valid" - ], - [ - [ - 290, - 290 - ], - "mapped", - [ - 291 - ] - ], - [ - [ - 291, - 291 - ], - "valid" - ], - [ - [ - 292, - 292 - ], - "mapped", - [ - 293 - ] - ], - [ - [ - 293, - 293 - ], - "valid" - ], - [ - [ - 294, - 294 - ], - "mapped", - [ - 295 - ] - ], - [ - [ - 295, - 295 - ], - "valid" - ], - [ - [ - 296, - 296 - ], - "mapped", - [ - 297 - ] - ], - [ - [ - 297, - 297 - ], - "valid" - ], - [ - [ - 298, - 298 - ], - "mapped", - [ - 299 - ] - ], - [ - [ - 299, - 299 - ], - "valid" - ], - [ - [ - 300, - 300 - ], - "mapped", - [ - 301 - ] - ], - [ - [ - 301, - 301 - ], - "valid" - ], - [ - [ - 302, - 302 - ], - "mapped", - [ - 303 - ] - ], - [ - [ - 303, - 303 - ], - "valid" - ], - [ - [ - 304, - 304 - ], - "mapped", - [ - 105, - 775 - ] - ], - [ - [ - 305, - 305 - ], - "valid" - ], - [ - [ - 306, - 307 - ], - "mapped", - [ - 105, - 106 - ] - ], - [ - [ - 308, - 308 - ], - "mapped", - [ - 309 - ] - ], - [ - [ - 309, - 309 - ], - "valid" - ], - [ - [ - 310, - 310 - ], - "mapped", - [ - 311 - ] - ], - [ - [ - 311, - 312 - ], - "valid" - ], - [ - [ - 313, - 313 - ], - "mapped", - [ - 314 - ] - ], - [ - [ - 314, - 314 - ], - "valid" - ], - [ - [ - 315, - 315 - ], - "mapped", - [ - 316 - ] - ], - [ - [ - 316, - 316 - ], - "valid" - ], - [ - [ - 317, - 317 - ], - "mapped", - [ - 318 - ] - ], - [ - [ - 318, - 318 - ], - "valid" - ], - [ - [ - 319, - 320 - ], - "mapped", - [ - 108, - 183 - ] - ], - [ - [ - 321, - 321 - ], - "mapped", - [ - 322 - ] - ], - [ - [ - 322, - 322 - ], - "valid" - ], - [ - [ - 323, - 323 - ], - "mapped", - [ - 324 - ] - ], - [ - [ - 324, - 324 - ], - "valid" - ], - [ - [ - 325, - 325 - ], - "mapped", - [ - 326 - ] - ], - [ - [ - 326, - 326 - ], - "valid" - ], - [ - [ - 327, - 327 - ], - "mapped", - [ - 328 - ] - ], - [ - [ - 328, - 328 - ], - "valid" - ], - [ - [ - 329, - 329 - ], - "mapped", - [ - 700, - 110 - ] - ], - [ - [ - 330, - 330 - ], - "mapped", - [ - 331 - ] - ], - [ - [ - 331, - 331 - ], - "valid" - ], - [ - [ - 332, - 332 - ], - "mapped", - [ - 333 - ] - ], - [ - [ - 333, - 333 - ], - "valid" - ], - [ - [ - 334, - 334 - ], - "mapped", - [ - 335 - ] - ], - [ - [ - 335, - 335 - ], - "valid" - ], - [ - [ - 336, - 336 - ], - "mapped", - [ - 337 - ] - ], - [ - [ - 337, - 337 - ], - "valid" - ], - [ - [ - 338, - 338 - ], - "mapped", - [ - 339 - ] - ], - [ - [ - 339, - 339 - ], - "valid" - ], - [ - [ - 340, - 340 - ], - "mapped", - [ - 341 - ] - ], - [ - [ - 341, - 341 - ], - "valid" - ], - [ - [ - 342, - 342 - ], - "mapped", - [ - 343 - ] - ], - [ - [ - 343, - 343 - ], - "valid" - ], - [ - [ - 344, - 344 - ], - "mapped", - [ - 345 - ] - ], - [ - [ - 345, - 345 - ], - "valid" - ], - [ - [ - 346, - 346 - ], - "mapped", - [ - 347 - ] - ], - [ - [ - 347, - 347 - ], - "valid" - ], - [ - [ - 348, - 348 - ], - "mapped", - [ - 349 - ] - ], - [ - [ - 349, - 349 - ], - "valid" - ], - [ - [ - 350, - 350 - ], - "mapped", - [ - 351 - ] - ], - [ - [ - 351, - 351 - ], - "valid" - ], - [ - [ - 352, - 352 - ], - "mapped", - [ - 353 - ] - ], - [ - [ - 353, - 353 - ], - "valid" - ], - [ - [ - 354, - 354 - ], - "mapped", - [ - 355 - ] - ], - [ - [ - 355, - 355 - ], - "valid" - ], - [ - [ - 356, - 356 - ], - "mapped", - [ - 357 - ] - ], - [ - [ - 357, - 357 - ], - "valid" - ], - [ - [ - 358, - 358 - ], - "mapped", - [ - 359 - ] - ], - [ - [ - 359, - 359 - ], - "valid" - ], - [ - [ - 360, - 360 - ], - "mapped", - [ - 361 - ] - ], - [ - [ - 361, - 361 - ], - "valid" - ], - [ - [ - 362, - 362 - ], - "mapped", - [ - 363 - ] - ], - [ - [ - 363, - 363 - ], - "valid" - ], - [ - [ - 364, - 364 - ], - "mapped", - [ - 365 - ] - ], - [ - [ - 365, - 365 - ], - "valid" - ], - [ - [ - 366, - 366 - ], - "mapped", - [ - 367 - ] - ], - [ - [ - 367, - 367 - ], - "valid" - ], - [ - [ - 368, - 368 - ], - "mapped", - [ - 369 - ] - ], - [ - [ - 369, - 369 - ], - "valid" - ], - [ - [ - 370, - 370 - ], - "mapped", - [ - 371 - ] - ], - [ - [ - 371, - 371 - ], - "valid" - ], - [ - [ - 372, - 372 - ], - "mapped", - [ - 373 - ] - ], - [ - [ - 373, - 373 - ], - "valid" - ], - [ - [ - 374, - 374 - ], - "mapped", - [ - 375 - ] - ], - [ - [ - 375, - 375 - ], - "valid" - ], - [ - [ - 376, - 376 - ], - "mapped", - [ - 255 - ] - ], - [ - [ - 377, - 377 - ], - "mapped", - [ - 378 - ] - ], - [ - [ - 378, - 378 - ], - "valid" - ], - [ - [ - 379, - 379 - ], - "mapped", - [ - 380 - ] - ], - [ - [ - 380, - 380 - ], - "valid" - ], - [ - [ - 381, - 381 - ], - "mapped", - [ - 382 - ] - ], - [ - [ - 382, - 382 - ], - "valid" - ], - [ - [ - 383, - 383 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 384, - 384 - ], - "valid" - ], - [ - [ - 385, - 385 - ], - "mapped", - [ - 595 - ] - ], - [ - [ - 386, - 386 - ], - "mapped", - [ - 387 - ] - ], - [ - [ - 387, - 387 - ], - "valid" - ], - [ - [ - 388, - 388 - ], - "mapped", - [ - 389 - ] - ], - [ - [ - 389, - 389 - ], - "valid" - ], - [ - [ - 390, - 390 - ], - "mapped", - [ - 596 - ] - ], - [ - [ - 391, - 391 - ], - "mapped", - [ - 392 - ] - ], - [ - [ - 392, - 392 - ], - "valid" - ], - [ - [ - 393, - 393 - ], - "mapped", - [ - 598 - ] - ], - [ - [ - 394, - 394 - ], - "mapped", - [ - 599 - ] - ], - [ - [ - 395, - 395 - ], - "mapped", - [ - 396 - ] - ], - [ - [ - 396, - 397 - ], - "valid" - ], - [ - [ - 398, - 398 - ], - "mapped", - [ - 477 - ] - ], - [ - [ - 399, - 399 - ], - "mapped", - [ - 601 - ] - ], - [ - [ - 400, - 400 - ], - "mapped", - [ - 603 - ] - ], - [ - [ - 401, - 401 - ], - "mapped", - [ - 402 - ] - ], - [ - [ - 402, - 402 - ], - "valid" - ], - [ - [ - 403, - 403 - ], - "mapped", - [ - 608 - ] - ], - [ - [ - 404, - 404 - ], - "mapped", - [ - 611 - ] - ], - [ - [ - 405, - 405 - ], - "valid" - ], - [ - [ - 406, - 406 - ], - "mapped", - [ - 617 - ] - ], - [ - [ - 407, - 407 - ], - "mapped", - [ - 616 - ] - ], - [ - [ - 408, - 408 - ], - "mapped", - [ - 409 - ] - ], - [ - [ - 409, - 411 - ], - "valid" - ], - [ - [ - 412, - 412 - ], - "mapped", - [ - 623 - ] - ], - [ - [ - 413, - 413 - ], - "mapped", - [ - 626 - ] - ], - [ - [ - 414, - 414 - ], - "valid" - ], - [ - [ - 415, - 415 - ], - "mapped", - [ - 629 - ] - ], - [ - [ - 416, - 416 - ], - "mapped", - [ - 417 - ] - ], - [ - [ - 417, - 417 - ], - "valid" - ], - [ - [ - 418, - 418 - ], - "mapped", - [ - 419 - ] - ], - [ - [ - 419, - 419 - ], - "valid" - ], - [ - [ - 420, - 420 - ], - "mapped", - [ - 421 - ] - ], - [ - [ - 421, - 421 - ], - "valid" - ], - [ - [ - 422, - 422 - ], - "mapped", - [ - 640 - ] - ], - [ - [ - 423, - 423 - ], - "mapped", - [ - 424 - ] - ], - [ - [ - 424, - 424 - ], - "valid" - ], - [ - [ - 425, - 425 - ], - "mapped", - [ - 643 - ] - ], - [ - [ - 426, - 427 - ], - "valid" - ], - [ - [ - 428, - 428 - ], - "mapped", - [ - 429 - ] - ], - [ - [ - 429, - 429 - ], - "valid" - ], - [ - [ - 430, - 430 - ], - "mapped", - [ - 648 - ] - ], - [ - [ - 431, - 431 - ], - "mapped", - [ - 432 - ] - ], - [ - [ - 432, - 432 - ], - "valid" - ], - [ - [ - 433, - 433 - ], - "mapped", - [ - 650 - ] - ], - [ - [ - 434, - 434 - ], - "mapped", - [ - 651 - ] - ], - [ - [ - 435, - 435 - ], - "mapped", - [ - 436 - ] - ], - [ - [ - 436, - 436 - ], - "valid" - ], - [ - [ - 437, - 437 - ], - "mapped", - [ - 438 - ] - ], - [ - [ - 438, - 438 - ], - "valid" - ], - [ - [ - 439, - 439 - ], - "mapped", - [ - 658 - ] - ], - [ - [ - 440, - 440 - ], - "mapped", - [ - 441 - ] - ], - [ - [ - 441, - 443 - ], - "valid" - ], - [ - [ - 444, - 444 - ], - "mapped", - [ - 445 - ] - ], - [ - [ - 445, - 451 - ], - "valid" - ], - [ - [ - 452, - 454 - ], - "mapped", - [ - 100, - 382 - ] - ], - [ - [ - 455, - 457 - ], - "mapped", - [ - 108, - 106 - ] - ], - [ - [ - 458, - 460 - ], - "mapped", - [ - 110, - 106 - ] - ], - [ - [ - 461, - 461 - ], - "mapped", - [ - 462 - ] - ], - [ - [ - 462, - 462 - ], - "valid" - ], - [ - [ - 463, - 463 - ], - "mapped", - [ - 464 - ] - ], - [ - [ - 464, - 464 - ], - "valid" - ], - [ - [ - 465, - 465 - ], - "mapped", - [ - 466 - ] - ], - [ - [ - 466, - 466 - ], - "valid" - ], - [ - [ - 467, - 467 - ], - "mapped", - [ - 468 - ] - ], - [ - [ - 468, - 468 - ], - "valid" - ], - [ - [ - 469, - 469 - ], - "mapped", - [ - 470 - ] - ], - [ - [ - 470, - 470 - ], - "valid" - ], - [ - [ - 471, - 471 - ], - "mapped", - [ - 472 - ] - ], - [ - [ - 472, - 472 - ], - "valid" - ], - [ - [ - 473, - 473 - ], - "mapped", - [ - 474 - ] - ], - [ - [ - 474, - 474 - ], - "valid" - ], - [ - [ - 475, - 475 - ], - "mapped", - [ - 476 - ] - ], - [ - [ - 476, - 477 - ], - "valid" - ], - [ - [ - 478, - 478 - ], - "mapped", - [ - 479 - ] - ], - [ - [ - 479, - 479 - ], - "valid" - ], - [ - [ - 480, - 480 - ], - "mapped", - [ - 481 - ] - ], - [ - [ - 481, - 481 - ], - "valid" - ], - [ - [ - 482, - 482 - ], - "mapped", - [ - 483 - ] - ], - [ - [ - 483, - 483 - ], - "valid" - ], - [ - [ - 484, - 484 - ], - "mapped", - [ - 485 - ] - ], - [ - [ - 485, - 485 - ], - "valid" - ], - [ - [ - 486, - 486 - ], - "mapped", - [ - 487 - ] - ], - [ - [ - 487, - 487 - ], - "valid" - ], - [ - [ - 488, - 488 - ], - "mapped", - [ - 489 - ] - ], - [ - [ - 489, - 489 - ], - "valid" - ], - [ - [ - 490, - 490 - ], - "mapped", - [ - 491 - ] - ], - [ - [ - 491, - 491 - ], - "valid" - ], - [ - [ - 492, - 492 - ], - "mapped", - [ - 493 - ] - ], - [ - [ - 493, - 493 - ], - "valid" - ], - [ - [ - 494, - 494 - ], - "mapped", - [ - 495 - ] - ], - [ - [ - 495, - 496 - ], - "valid" - ], - [ - [ - 497, - 499 - ], - "mapped", - [ - 100, - 122 - ] - ], - [ - [ - 500, - 500 - ], - "mapped", - [ - 501 - ] - ], - [ - [ - 501, - 501 - ], - "valid" - ], - [ - [ - 502, - 502 - ], - "mapped", - [ - 405 - ] - ], - [ - [ - 503, - 503 - ], - "mapped", - [ - 447 - ] - ], - [ - [ - 504, - 504 - ], - "mapped", - [ - 505 - ] - ], - [ - [ - 505, - 505 - ], - "valid" - ], - [ - [ - 506, - 506 - ], - "mapped", - [ - 507 - ] - ], - [ - [ - 507, - 507 - ], - "valid" - ], - [ - [ - 508, - 508 - ], - "mapped", - [ - 509 - ] - ], - [ - [ - 509, - 509 - ], - "valid" - ], - [ - [ - 510, - 510 - ], - "mapped", - [ - 511 - ] - ], - [ - [ - 511, - 511 - ], - "valid" - ], - [ - [ - 512, - 512 - ], - "mapped", - [ - 513 - ] - ], - [ - [ - 513, - 513 - ], - "valid" - ], - [ - [ - 514, - 514 - ], - "mapped", - [ - 515 - ] - ], - [ - [ - 515, - 515 - ], - "valid" - ], - [ - [ - 516, - 516 - ], - "mapped", - [ - 517 - ] - ], - [ - [ - 517, - 517 - ], - "valid" - ], - [ - [ - 518, - 518 - ], - "mapped", - [ - 519 - ] - ], - [ - [ - 519, - 519 - ], - "valid" - ], - [ - [ - 520, - 520 - ], - "mapped", - [ - 521 - ] - ], - [ - [ - 521, - 521 - ], - "valid" - ], - [ - [ - 522, - 522 - ], - "mapped", - [ - 523 - ] - ], - [ - [ - 523, - 523 - ], - "valid" - ], - [ - [ - 524, - 524 - ], - "mapped", - [ - 525 - ] - ], - [ - [ - 525, - 525 - ], - "valid" - ], - [ - [ - 526, - 526 - ], - "mapped", - [ - 527 - ] - ], - [ - [ - 527, - 527 - ], - "valid" - ], - [ - [ - 528, - 528 - ], - "mapped", - [ - 529 - ] - ], - [ - [ - 529, - 529 - ], - "valid" - ], - [ - [ - 530, - 530 - ], - "mapped", - [ - 531 - ] - ], - [ - [ - 531, - 531 - ], - "valid" - ], - [ - [ - 532, - 532 - ], - "mapped", - [ - 533 - ] - ], - [ - [ - 533, - 533 - ], - "valid" - ], - [ - [ - 534, - 534 - ], - "mapped", - [ - 535 - ] - ], - [ - [ - 535, - 535 - ], - "valid" - ], - [ - [ - 536, - 536 - ], - "mapped", - [ - 537 - ] - ], - [ - [ - 537, - 537 - ], - "valid" - ], - [ - [ - 538, - 538 - ], - "mapped", - [ - 539 - ] - ], - [ - [ - 539, - 539 - ], - "valid" - ], - [ - [ - 540, - 540 - ], - "mapped", - [ - 541 - ] - ], - [ - [ - 541, - 541 - ], - "valid" - ], - [ - [ - 542, - 542 - ], - "mapped", - [ - 543 - ] - ], - [ - [ - 543, - 543 - ], - "valid" - ], - [ - [ - 544, - 544 - ], - "mapped", - [ - 414 - ] - ], - [ - [ - 545, - 545 - ], - "valid" - ], - [ - [ - 546, - 546 - ], - "mapped", - [ - 547 - ] - ], - [ - [ - 547, - 547 - ], - "valid" - ], - [ - [ - 548, - 548 - ], - "mapped", - [ - 549 - ] - ], - [ - [ - 549, - 549 - ], - "valid" - ], - [ - [ - 550, - 550 - ], - "mapped", - [ - 551 - ] - ], - [ - [ - 551, - 551 - ], - "valid" - ], - [ - [ - 552, - 552 - ], - "mapped", - [ - 553 - ] - ], - [ - [ - 553, - 553 - ], - "valid" - ], - [ - [ - 554, - 554 - ], - "mapped", - [ - 555 - ] - ], - [ - [ - 555, - 555 - ], - "valid" - ], - [ - [ - 556, - 556 - ], - "mapped", - [ - 557 - ] - ], - [ - [ - 557, - 557 - ], - "valid" - ], - [ - [ - 558, - 558 - ], - "mapped", - [ - 559 - ] - ], - [ - [ - 559, - 559 - ], - "valid" - ], - [ - [ - 560, - 560 - ], - "mapped", - [ - 561 - ] - ], - [ - [ - 561, - 561 - ], - "valid" - ], - [ - [ - 562, - 562 - ], - "mapped", - [ - 563 - ] - ], - [ - [ - 563, - 563 - ], - "valid" - ], - [ - [ - 564, - 566 - ], - "valid" - ], - [ - [ - 567, - 569 - ], - "valid" - ], - [ - [ - 570, - 570 - ], - "mapped", - [ - 11365 - ] - ], - [ - [ - 571, - 571 - ], - "mapped", - [ - 572 - ] - ], - [ - [ - 572, - 572 - ], - "valid" - ], - [ - [ - 573, - 573 - ], - "mapped", - [ - 410 - ] - ], - [ - [ - 574, - 574 - ], - "mapped", - [ - 11366 - ] - ], - [ - [ - 575, - 576 - ], - "valid" - ], - [ - [ - 577, - 577 - ], - "mapped", - [ - 578 - ] - ], - [ - [ - 578, - 578 - ], - "valid" - ], - [ - [ - 579, - 579 - ], - "mapped", - [ - 384 - ] - ], - [ - [ - 580, - 580 - ], - "mapped", - [ - 649 - ] - ], - [ - [ - 581, - 581 - ], - "mapped", - [ - 652 - ] - ], - [ - [ - 582, - 582 - ], - "mapped", - [ - 583 - ] - ], - [ - [ - 583, - 583 - ], - "valid" - ], - [ - [ - 584, - 584 - ], - "mapped", - [ - 585 - ] - ], - [ - [ - 585, - 585 - ], - "valid" - ], - [ - [ - 586, - 586 - ], - "mapped", - [ - 587 - ] - ], - [ - [ - 587, - 587 - ], - "valid" - ], - [ - [ - 588, - 588 - ], - "mapped", - [ - 589 - ] - ], - [ - [ - 589, - 589 - ], - "valid" - ], - [ - [ - 590, - 590 - ], - "mapped", - [ - 591 - ] - ], - [ - [ - 591, - 591 - ], - "valid" - ], - [ - [ - 592, - 680 - ], - "valid" - ], - [ - [ - 681, - 685 - ], - "valid" - ], - [ - [ - 686, - 687 - ], - "valid" - ], - [ - [ - 688, - 688 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 689, - 689 - ], - "mapped", - [ - 614 - ] - ], - [ - [ - 690, - 690 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 691, - 691 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 692, - 692 - ], - "mapped", - [ - 633 - ] - ], - [ - [ - 693, - 693 - ], - "mapped", - [ - 635 - ] - ], - [ - [ - 694, - 694 - ], - "mapped", - [ - 641 - ] - ], - [ - [ - 695, - 695 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 696, - 696 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 697, - 705 - ], - "valid" - ], - [ - [ - 706, - 709 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 710, - 721 - ], - "valid" - ], - [ - [ - 722, - 727 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 728, - 728 - ], - "disallowed_STD3_mapped", - [ - 32, - 774 - ] - ], - [ - [ - 729, - 729 - ], - "disallowed_STD3_mapped", - [ - 32, - 775 - ] - ], - [ - [ - 730, - 730 - ], - "disallowed_STD3_mapped", - [ - 32, - 778 - ] - ], - [ - [ - 731, - 731 - ], - "disallowed_STD3_mapped", - [ - 32, - 808 - ] - ], - [ - [ - 732, - 732 - ], - "disallowed_STD3_mapped", - [ - 32, - 771 - ] - ], - [ - [ - 733, - 733 - ], - "disallowed_STD3_mapped", - [ - 32, - 779 - ] - ], - [ - [ - 734, - 734 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 735, - 735 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 736, - 736 - ], - "mapped", - [ - 611 - ] - ], - [ - [ - 737, - 737 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 738, - 738 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 739, - 739 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 740, - 740 - ], - "mapped", - [ - 661 - ] - ], - [ - [ - 741, - 745 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 746, - 747 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 748, - 748 - ], - "valid" - ], - [ - [ - 749, - 749 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 750, - 750 - ], - "valid" - ], - [ - [ - 751, - 767 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 768, - 831 - ], - "valid" - ], - [ - [ - 832, - 832 - ], - "mapped", - [ - 768 - ] - ], - [ - [ - 833, - 833 - ], - "mapped", - [ - 769 - ] - ], - [ - [ - 834, - 834 - ], - "valid" - ], - [ - [ - 835, - 835 - ], - "mapped", - [ - 787 - ] - ], - [ - [ - 836, - 836 - ], - "mapped", - [ - 776, - 769 - ] - ], - [ - [ - 837, - 837 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 838, - 846 - ], - "valid" - ], - [ - [ - 847, - 847 - ], - "ignored" - ], - [ - [ - 848, - 855 - ], - "valid" - ], - [ - [ - 856, - 860 - ], - "valid" - ], - [ - [ - 861, - 863 - ], - "valid" - ], - [ - [ - 864, - 865 - ], - "valid" - ], - [ - [ - 866, - 866 - ], - "valid" - ], - [ - [ - 867, - 879 - ], - "valid" - ], - [ - [ - 880, - 880 - ], - "mapped", - [ - 881 - ] - ], - [ - [ - 881, - 881 - ], - "valid" - ], - [ - [ - 882, - 882 - ], - "mapped", - [ - 883 - ] - ], - [ - [ - 883, - 883 - ], - "valid" - ], - [ - [ - 884, - 884 - ], - "mapped", - [ - 697 - ] - ], - [ - [ - 885, - 885 - ], - "valid" - ], - [ - [ - 886, - 886 - ], - "mapped", - [ - 887 - ] - ], - [ - [ - 887, - 887 - ], - "valid" - ], - [ - [ - 888, - 889 - ], - "disallowed" - ], - [ - [ - 890, - 890 - ], - "disallowed_STD3_mapped", - [ - 32, - 953 - ] - ], - [ - [ - 891, - 893 - ], - "valid" - ], - [ - [ - 894, - 894 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 895, - 895 - ], - "mapped", - [ - 1011 - ] - ], - [ - [ - 896, - 899 - ], - "disallowed" - ], - [ - [ - 900, - 900 - ], - "disallowed_STD3_mapped", - [ - 32, - 769 - ] - ], - [ - [ - 901, - 901 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 769 - ] - ], - [ - [ - 902, - 902 - ], - "mapped", - [ - 940 - ] - ], - [ - [ - 903, - 903 - ], - "mapped", - [ - 183 - ] - ], - [ - [ - 904, - 904 - ], - "mapped", - [ - 941 - ] - ], - [ - [ - 905, - 905 - ], - "mapped", - [ - 942 - ] - ], - [ - [ - 906, - 906 - ], - "mapped", - [ - 943 - ] - ], - [ - [ - 907, - 907 - ], - "disallowed" - ], - [ - [ - 908, - 908 - ], - "mapped", - [ - 972 - ] - ], - [ - [ - 909, - 909 - ], - "disallowed" - ], - [ - [ - 910, - 910 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 911, - 911 - ], - "mapped", - [ - 974 - ] - ], - [ - [ - 912, - 912 - ], - "valid" - ], - [ - [ - 913, - 913 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 914, - 914 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 915, - 915 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 916, - 916 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 917, - 917 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 918, - 918 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 919, - 919 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 920, - 920 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 921, - 921 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 922, - 922 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 923, - 923 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 924, - 924 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 925, - 925 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 926, - 926 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 927, - 927 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 928, - 928 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 929, - 929 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 930, - 930 - ], - "disallowed" - ], - [ - [ - 931, - 931 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 932, - 932 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 933, - 933 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 934, - 934 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 935, - 935 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 936, - 936 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 937, - 937 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 938, - 938 - ], - "mapped", - [ - 970 - ] - ], - [ - [ - 939, - 939 - ], - "mapped", - [ - 971 - ] - ], - [ - [ - 940, - 961 - ], - "valid" - ], - [ - [ - 962, - 962 - ], - "deviation", - [ - 963 - ] - ], - [ - [ - 963, - 974 - ], - "valid" - ], - [ - [ - 975, - 975 - ], - "mapped", - [ - 983 - ] - ], - [ - [ - 976, - 976 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 977, - 977 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 978, - 978 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 979, - 979 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 980, - 980 - ], - "mapped", - [ - 971 - ] - ], - [ - [ - 981, - 981 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 982, - 982 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 983, - 983 - ], - "valid" - ], - [ - [ - 984, - 984 - ], - "mapped", - [ - 985 - ] - ], - [ - [ - 985, - 985 - ], - "valid" - ], - [ - [ - 986, - 986 - ], - "mapped", - [ - 987 - ] - ], - [ - [ - 987, - 987 - ], - "valid" - ], - [ - [ - 988, - 988 - ], - "mapped", - [ - 989 - ] - ], - [ - [ - 989, - 989 - ], - "valid" - ], - [ - [ - 990, - 990 - ], - "mapped", - [ - 991 - ] - ], - [ - [ - 991, - 991 - ], - "valid" - ], - [ - [ - 992, - 992 - ], - "mapped", - [ - 993 - ] - ], - [ - [ - 993, - 993 - ], - "valid" - ], - [ - [ - 994, - 994 - ], - "mapped", - [ - 995 - ] - ], - [ - [ - 995, - 995 - ], - "valid" - ], - [ - [ - 996, - 996 - ], - "mapped", - [ - 997 - ] - ], - [ - [ - 997, - 997 - ], - "valid" - ], - [ - [ - 998, - 998 - ], - "mapped", - [ - 999 - ] - ], - [ - [ - 999, - 999 - ], - "valid" - ], - [ - [ - 1000, - 1000 - ], - "mapped", - [ - 1001 - ] - ], - [ - [ - 1001, - 1001 - ], - "valid" - ], - [ - [ - 1002, - 1002 - ], - "mapped", - [ - 1003 - ] - ], - [ - [ - 1003, - 1003 - ], - "valid" - ], - [ - [ - 1004, - 1004 - ], - "mapped", - [ - 1005 - ] - ], - [ - [ - 1005, - 1005 - ], - "valid" - ], - [ - [ - 1006, - 1006 - ], - "mapped", - [ - 1007 - ] - ], - [ - [ - 1007, - 1007 - ], - "valid" - ], - [ - [ - 1008, - 1008 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 1009, - 1009 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 1010, - 1010 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 1011, - 1011 - ], - "valid" - ], - [ - [ - 1012, - 1012 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 1013, - 1013 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 1014, - 1014 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1015, - 1015 - ], - "mapped", - [ - 1016 - ] - ], - [ - [ - 1016, - 1016 - ], - "valid" - ], - [ - [ - 1017, - 1017 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 1018, - 1018 - ], - "mapped", - [ - 1019 - ] - ], - [ - [ - 1019, - 1019 - ], - "valid" - ], - [ - [ - 1020, - 1020 - ], - "valid" - ], - [ - [ - 1021, - 1021 - ], - "mapped", - [ - 891 - ] - ], - [ - [ - 1022, - 1022 - ], - "mapped", - [ - 892 - ] - ], - [ - [ - 1023, - 1023 - ], - "mapped", - [ - 893 - ] - ], - [ - [ - 1024, - 1024 - ], - "mapped", - [ - 1104 - ] - ], - [ - [ - 1025, - 1025 - ], - "mapped", - [ - 1105 - ] - ], - [ - [ - 1026, - 1026 - ], - "mapped", - [ - 1106 - ] - ], - [ - [ - 1027, - 1027 - ], - "mapped", - [ - 1107 - ] - ], - [ - [ - 1028, - 1028 - ], - "mapped", - [ - 1108 - ] - ], - [ - [ - 1029, - 1029 - ], - "mapped", - [ - 1109 - ] - ], - [ - [ - 1030, - 1030 - ], - "mapped", - [ - 1110 - ] - ], - [ - [ - 1031, - 1031 - ], - "mapped", - [ - 1111 - ] - ], - [ - [ - 1032, - 1032 - ], - "mapped", - [ - 1112 - ] - ], - [ - [ - 1033, - 1033 - ], - "mapped", - [ - 1113 - ] - ], - [ - [ - 1034, - 1034 - ], - "mapped", - [ - 1114 - ] - ], - [ - [ - 1035, - 1035 - ], - "mapped", - [ - 1115 - ] - ], - [ - [ - 1036, - 1036 - ], - "mapped", - [ - 1116 - ] - ], - [ - [ - 1037, - 1037 - ], - "mapped", - [ - 1117 - ] - ], - [ - [ - 1038, - 1038 - ], - "mapped", - [ - 1118 - ] - ], - [ - [ - 1039, - 1039 - ], - "mapped", - [ - 1119 - ] - ], - [ - [ - 1040, - 1040 - ], - "mapped", - [ - 1072 - ] - ], - [ - [ - 1041, - 1041 - ], - "mapped", - [ - 1073 - ] - ], - [ - [ - 1042, - 1042 - ], - "mapped", - [ - 1074 - ] - ], - [ - [ - 1043, - 1043 - ], - "mapped", - [ - 1075 - ] - ], - [ - [ - 1044, - 1044 - ], - "mapped", - [ - 1076 - ] - ], - [ - [ - 1045, - 1045 - ], - "mapped", - [ - 1077 - ] - ], - [ - [ - 1046, - 1046 - ], - "mapped", - [ - 1078 - ] - ], - [ - [ - 1047, - 1047 - ], - "mapped", - [ - 1079 - ] - ], - [ - [ - 1048, - 1048 - ], - "mapped", - [ - 1080 - ] - ], - [ - [ - 1049, - 1049 - ], - "mapped", - [ - 1081 - ] - ], - [ - [ - 1050, - 1050 - ], - "mapped", - [ - 1082 - ] - ], - [ - [ - 1051, - 1051 - ], - "mapped", - [ - 1083 - ] - ], - [ - [ - 1052, - 1052 - ], - "mapped", - [ - 1084 - ] - ], - [ - [ - 1053, - 1053 - ], - "mapped", - [ - 1085 - ] - ], - [ - [ - 1054, - 1054 - ], - "mapped", - [ - 1086 - ] - ], - [ - [ - 1055, - 1055 - ], - "mapped", - [ - 1087 - ] - ], - [ - [ - 1056, - 1056 - ], - "mapped", - [ - 1088 - ] - ], - [ - [ - 1057, - 1057 - ], - "mapped", - [ - 1089 - ] - ], - [ - [ - 1058, - 1058 - ], - "mapped", - [ - 1090 - ] - ], - [ - [ - 1059, - 1059 - ], - "mapped", - [ - 1091 - ] - ], - [ - [ - 1060, - 1060 - ], - "mapped", - [ - 1092 - ] - ], - [ - [ - 1061, - 1061 - ], - "mapped", - [ - 1093 - ] - ], - [ - [ - 1062, - 1062 - ], - "mapped", - [ - 1094 - ] - ], - [ - [ - 1063, - 1063 - ], - "mapped", - [ - 1095 - ] - ], - [ - [ - 1064, - 1064 - ], - "mapped", - [ - 1096 - ] - ], - [ - [ - 1065, - 1065 - ], - "mapped", - [ - 1097 - ] - ], - [ - [ - 1066, - 1066 - ], - "mapped", - [ - 1098 - ] - ], - [ - [ - 1067, - 1067 - ], - "mapped", - [ - 1099 - ] - ], - [ - [ - 1068, - 1068 - ], - "mapped", - [ - 1100 - ] - ], - [ - [ - 1069, - 1069 - ], - "mapped", - [ - 1101 - ] - ], - [ - [ - 1070, - 1070 - ], - "mapped", - [ - 1102 - ] - ], - [ - [ - 1071, - 1071 - ], - "mapped", - [ - 1103 - ] - ], - [ - [ - 1072, - 1103 - ], - "valid" - ], - [ - [ - 1104, - 1104 - ], - "valid" - ], - [ - [ - 1105, - 1116 - ], - "valid" - ], - [ - [ - 1117, - 1117 - ], - "valid" - ], - [ - [ - 1118, - 1119 - ], - "valid" - ], - [ - [ - 1120, - 1120 - ], - "mapped", - [ - 1121 - ] - ], - [ - [ - 1121, - 1121 - ], - "valid" - ], - [ - [ - 1122, - 1122 - ], - "mapped", - [ - 1123 - ] - ], - [ - [ - 1123, - 1123 - ], - "valid" - ], - [ - [ - 1124, - 1124 - ], - "mapped", - [ - 1125 - ] - ], - [ - [ - 1125, - 1125 - ], - "valid" - ], - [ - [ - 1126, - 1126 - ], - "mapped", - [ - 1127 - ] - ], - [ - [ - 1127, - 1127 - ], - "valid" - ], - [ - [ - 1128, - 1128 - ], - "mapped", - [ - 1129 - ] - ], - [ - [ - 1129, - 1129 - ], - "valid" - ], - [ - [ - 1130, - 1130 - ], - "mapped", - [ - 1131 - ] - ], - [ - [ - 1131, - 1131 - ], - "valid" - ], - [ - [ - 1132, - 1132 - ], - "mapped", - [ - 1133 - ] - ], - [ - [ - 1133, - 1133 - ], - "valid" - ], - [ - [ - 1134, - 1134 - ], - "mapped", - [ - 1135 - ] - ], - [ - [ - 1135, - 1135 - ], - "valid" - ], - [ - [ - 1136, - 1136 - ], - "mapped", - [ - 1137 - ] - ], - [ - [ - 1137, - 1137 - ], - "valid" - ], - [ - [ - 1138, - 1138 - ], - "mapped", - [ - 1139 - ] - ], - [ - [ - 1139, - 1139 - ], - "valid" - ], - [ - [ - 1140, - 1140 - ], - "mapped", - [ - 1141 - ] - ], - [ - [ - 1141, - 1141 - ], - "valid" - ], - [ - [ - 1142, - 1142 - ], - "mapped", - [ - 1143 - ] - ], - [ - [ - 1143, - 1143 - ], - "valid" - ], - [ - [ - 1144, - 1144 - ], - "mapped", - [ - 1145 - ] - ], - [ - [ - 1145, - 1145 - ], - "valid" - ], - [ - [ - 1146, - 1146 - ], - "mapped", - [ - 1147 - ] - ], - [ - [ - 1147, - 1147 - ], - "valid" - ], - [ - [ - 1148, - 1148 - ], - "mapped", - [ - 1149 - ] - ], - [ - [ - 1149, - 1149 - ], - "valid" - ], - [ - [ - 1150, - 1150 - ], - "mapped", - [ - 1151 - ] - ], - [ - [ - 1151, - 1151 - ], - "valid" - ], - [ - [ - 1152, - 1152 - ], - "mapped", - [ - 1153 - ] - ], - [ - [ - 1153, - 1153 - ], - "valid" - ], - [ - [ - 1154, - 1154 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1155, - 1158 - ], - "valid" - ], - [ - [ - 1159, - 1159 - ], - "valid" - ], - [ - [ - 1160, - 1161 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1162, - 1162 - ], - "mapped", - [ - 1163 - ] - ], - [ - [ - 1163, - 1163 - ], - "valid" - ], - [ - [ - 1164, - 1164 - ], - "mapped", - [ - 1165 - ] - ], - [ - [ - 1165, - 1165 - ], - "valid" - ], - [ - [ - 1166, - 1166 - ], - "mapped", - [ - 1167 - ] - ], - [ - [ - 1167, - 1167 - ], - "valid" - ], - [ - [ - 1168, - 1168 - ], - "mapped", - [ - 1169 - ] - ], - [ - [ - 1169, - 1169 - ], - "valid" - ], - [ - [ - 1170, - 1170 - ], - "mapped", - [ - 1171 - ] - ], - [ - [ - 1171, - 1171 - ], - "valid" - ], - [ - [ - 1172, - 1172 - ], - "mapped", - [ - 1173 - ] - ], - [ - [ - 1173, - 1173 - ], - "valid" - ], - [ - [ - 1174, - 1174 - ], - "mapped", - [ - 1175 - ] - ], - [ - [ - 1175, - 1175 - ], - "valid" - ], - [ - [ - 1176, - 1176 - ], - "mapped", - [ - 1177 - ] - ], - [ - [ - 1177, - 1177 - ], - "valid" - ], - [ - [ - 1178, - 1178 - ], - "mapped", - [ - 1179 - ] - ], - [ - [ - 1179, - 1179 - ], - "valid" - ], - [ - [ - 1180, - 1180 - ], - "mapped", - [ - 1181 - ] - ], - [ - [ - 1181, - 1181 - ], - "valid" - ], - [ - [ - 1182, - 1182 - ], - "mapped", - [ - 1183 - ] - ], - [ - [ - 1183, - 1183 - ], - "valid" - ], - [ - [ - 1184, - 1184 - ], - "mapped", - [ - 1185 - ] - ], - [ - [ - 1185, - 1185 - ], - "valid" - ], - [ - [ - 1186, - 1186 - ], - "mapped", - [ - 1187 - ] - ], - [ - [ - 1187, - 1187 - ], - "valid" - ], - [ - [ - 1188, - 1188 - ], - "mapped", - [ - 1189 - ] - ], - [ - [ - 1189, - 1189 - ], - "valid" - ], - [ - [ - 1190, - 1190 - ], - "mapped", - [ - 1191 - ] - ], - [ - [ - 1191, - 1191 - ], - "valid" - ], - [ - [ - 1192, - 1192 - ], - "mapped", - [ - 1193 - ] - ], - [ - [ - 1193, - 1193 - ], - "valid" - ], - [ - [ - 1194, - 1194 - ], - "mapped", - [ - 1195 - ] - ], - [ - [ - 1195, - 1195 - ], - "valid" - ], - [ - [ - 1196, - 1196 - ], - "mapped", - [ - 1197 - ] - ], - [ - [ - 1197, - 1197 - ], - "valid" - ], - [ - [ - 1198, - 1198 - ], - "mapped", - [ - 1199 - ] - ], - [ - [ - 1199, - 1199 - ], - "valid" - ], - [ - [ - 1200, - 1200 - ], - "mapped", - [ - 1201 - ] - ], - [ - [ - 1201, - 1201 - ], - "valid" - ], - [ - [ - 1202, - 1202 - ], - "mapped", - [ - 1203 - ] - ], - [ - [ - 1203, - 1203 - ], - "valid" - ], - [ - [ - 1204, - 1204 - ], - "mapped", - [ - 1205 - ] - ], - [ - [ - 1205, - 1205 - ], - "valid" - ], - [ - [ - 1206, - 1206 - ], - "mapped", - [ - 1207 - ] - ], - [ - [ - 1207, - 1207 - ], - "valid" - ], - [ - [ - 1208, - 1208 - ], - "mapped", - [ - 1209 - ] - ], - [ - [ - 1209, - 1209 - ], - "valid" - ], - [ - [ - 1210, - 1210 - ], - "mapped", - [ - 1211 - ] - ], - [ - [ - 1211, - 1211 - ], - "valid" - ], - [ - [ - 1212, - 1212 - ], - "mapped", - [ - 1213 - ] - ], - [ - [ - 1213, - 1213 - ], - "valid" - ], - [ - [ - 1214, - 1214 - ], - "mapped", - [ - 1215 - ] - ], - [ - [ - 1215, - 1215 - ], - "valid" - ], - [ - [ - 1216, - 1216 - ], - "disallowed" - ], - [ - [ - 1217, - 1217 - ], - "mapped", - [ - 1218 - ] - ], - [ - [ - 1218, - 1218 - ], - "valid" - ], - [ - [ - 1219, - 1219 - ], - "mapped", - [ - 1220 - ] - ], - [ - [ - 1220, - 1220 - ], - "valid" - ], - [ - [ - 1221, - 1221 - ], - "mapped", - [ - 1222 - ] - ], - [ - [ - 1222, - 1222 - ], - "valid" - ], - [ - [ - 1223, - 1223 - ], - "mapped", - [ - 1224 - ] - ], - [ - [ - 1224, - 1224 - ], - "valid" - ], - [ - [ - 1225, - 1225 - ], - "mapped", - [ - 1226 - ] - ], - [ - [ - 1226, - 1226 - ], - "valid" - ], - [ - [ - 1227, - 1227 - ], - "mapped", - [ - 1228 - ] - ], - [ - [ - 1228, - 1228 - ], - "valid" - ], - [ - [ - 1229, - 1229 - ], - "mapped", - [ - 1230 - ] - ], - [ - [ - 1230, - 1230 - ], - "valid" - ], - [ - [ - 1231, - 1231 - ], - "valid" - ], - [ - [ - 1232, - 1232 - ], - "mapped", - [ - 1233 - ] - ], - [ - [ - 1233, - 1233 - ], - "valid" - ], - [ - [ - 1234, - 1234 - ], - "mapped", - [ - 1235 - ] - ], - [ - [ - 1235, - 1235 - ], - "valid" - ], - [ - [ - 1236, - 1236 - ], - "mapped", - [ - 1237 - ] - ], - [ - [ - 1237, - 1237 - ], - "valid" - ], - [ - [ - 1238, - 1238 - ], - "mapped", - [ - 1239 - ] - ], - [ - [ - 1239, - 1239 - ], - "valid" - ], - [ - [ - 1240, - 1240 - ], - "mapped", - [ - 1241 - ] - ], - [ - [ - 1241, - 1241 - ], - "valid" - ], - [ - [ - 1242, - 1242 - ], - "mapped", - [ - 1243 - ] - ], - [ - [ - 1243, - 1243 - ], - "valid" - ], - [ - [ - 1244, - 1244 - ], - "mapped", - [ - 1245 - ] - ], - [ - [ - 1245, - 1245 - ], - "valid" - ], - [ - [ - 1246, - 1246 - ], - "mapped", - [ - 1247 - ] - ], - [ - [ - 1247, - 1247 - ], - "valid" - ], - [ - [ - 1248, - 1248 - ], - "mapped", - [ - 1249 - ] - ], - [ - [ - 1249, - 1249 - ], - "valid" - ], - [ - [ - 1250, - 1250 - ], - "mapped", - [ - 1251 - ] - ], - [ - [ - 1251, - 1251 - ], - "valid" - ], - [ - [ - 1252, - 1252 - ], - "mapped", - [ - 1253 - ] - ], - [ - [ - 1253, - 1253 - ], - "valid" - ], - [ - [ - 1254, - 1254 - ], - "mapped", - [ - 1255 - ] - ], - [ - [ - 1255, - 1255 - ], - "valid" - ], - [ - [ - 1256, - 1256 - ], - "mapped", - [ - 1257 - ] - ], - [ - [ - 1257, - 1257 - ], - "valid" - ], - [ - [ - 1258, - 1258 - ], - "mapped", - [ - 1259 - ] - ], - [ - [ - 1259, - 1259 - ], - "valid" - ], - [ - [ - 1260, - 1260 - ], - "mapped", - [ - 1261 - ] - ], - [ - [ - 1261, - 1261 - ], - "valid" - ], - [ - [ - 1262, - 1262 - ], - "mapped", - [ - 1263 - ] - ], - [ - [ - 1263, - 1263 - ], - "valid" - ], - [ - [ - 1264, - 1264 - ], - "mapped", - [ - 1265 - ] - ], - [ - [ - 1265, - 1265 - ], - "valid" - ], - [ - [ - 1266, - 1266 - ], - "mapped", - [ - 1267 - ] - ], - [ - [ - 1267, - 1267 - ], - "valid" - ], - [ - [ - 1268, - 1268 - ], - "mapped", - [ - 1269 - ] - ], - [ - [ - 1269, - 1269 - ], - "valid" - ], - [ - [ - 1270, - 1270 - ], - "mapped", - [ - 1271 - ] - ], - [ - [ - 1271, - 1271 - ], - "valid" - ], - [ - [ - 1272, - 1272 - ], - "mapped", - [ - 1273 - ] - ], - [ - [ - 1273, - 1273 - ], - "valid" - ], - [ - [ - 1274, - 1274 - ], - "mapped", - [ - 1275 - ] - ], - [ - [ - 1275, - 1275 - ], - "valid" - ], - [ - [ - 1276, - 1276 - ], - "mapped", - [ - 1277 - ] - ], - [ - [ - 1277, - 1277 - ], - "valid" - ], - [ - [ - 1278, - 1278 - ], - "mapped", - [ - 1279 - ] - ], - [ - [ - 1279, - 1279 - ], - "valid" - ], - [ - [ - 1280, - 1280 - ], - "mapped", - [ - 1281 - ] - ], - [ - [ - 1281, - 1281 - ], - "valid" - ], - [ - [ - 1282, - 1282 - ], - "mapped", - [ - 1283 - ] - ], - [ - [ - 1283, - 1283 - ], - "valid" - ], - [ - [ - 1284, - 1284 - ], - "mapped", - [ - 1285 - ] - ], - [ - [ - 1285, - 1285 - ], - "valid" - ], - [ - [ - 1286, - 1286 - ], - "mapped", - [ - 1287 - ] - ], - [ - [ - 1287, - 1287 - ], - "valid" - ], - [ - [ - 1288, - 1288 - ], - "mapped", - [ - 1289 - ] - ], - [ - [ - 1289, - 1289 - ], - "valid" - ], - [ - [ - 1290, - 1290 - ], - "mapped", - [ - 1291 - ] - ], - [ - [ - 1291, - 1291 - ], - "valid" - ], - [ - [ - 1292, - 1292 - ], - "mapped", - [ - 1293 - ] - ], - [ - [ - 1293, - 1293 - ], - "valid" - ], - [ - [ - 1294, - 1294 - ], - "mapped", - [ - 1295 - ] - ], - [ - [ - 1295, - 1295 - ], - "valid" - ], - [ - [ - 1296, - 1296 - ], - "mapped", - [ - 1297 - ] - ], - [ - [ - 1297, - 1297 - ], - "valid" - ], - [ - [ - 1298, - 1298 - ], - "mapped", - [ - 1299 - ] - ], - [ - [ - 1299, - 1299 - ], - "valid" - ], - [ - [ - 1300, - 1300 - ], - "mapped", - [ - 1301 - ] - ], - [ - [ - 1301, - 1301 - ], - "valid" - ], - [ - [ - 1302, - 1302 - ], - "mapped", - [ - 1303 - ] - ], - [ - [ - 1303, - 1303 - ], - "valid" - ], - [ - [ - 1304, - 1304 - ], - "mapped", - [ - 1305 - ] - ], - [ - [ - 1305, - 1305 - ], - "valid" - ], - [ - [ - 1306, - 1306 - ], - "mapped", - [ - 1307 - ] - ], - [ - [ - 1307, - 1307 - ], - "valid" - ], - [ - [ - 1308, - 1308 - ], - "mapped", - [ - 1309 - ] - ], - [ - [ - 1309, - 1309 - ], - "valid" - ], - [ - [ - 1310, - 1310 - ], - "mapped", - [ - 1311 - ] - ], - [ - [ - 1311, - 1311 - ], - "valid" - ], - [ - [ - 1312, - 1312 - ], - "mapped", - [ - 1313 - ] - ], - [ - [ - 1313, - 1313 - ], - "valid" - ], - [ - [ - 1314, - 1314 - ], - "mapped", - [ - 1315 - ] - ], - [ - [ - 1315, - 1315 - ], - "valid" - ], - [ - [ - 1316, - 1316 - ], - "mapped", - [ - 1317 - ] - ], - [ - [ - 1317, - 1317 - ], - "valid" - ], - [ - [ - 1318, - 1318 - ], - "mapped", - [ - 1319 - ] - ], - [ - [ - 1319, - 1319 - ], - "valid" - ], - [ - [ - 1320, - 1320 - ], - "mapped", - [ - 1321 - ] - ], - [ - [ - 1321, - 1321 - ], - "valid" - ], - [ - [ - 1322, - 1322 - ], - "mapped", - [ - 1323 - ] - ], - [ - [ - 1323, - 1323 - ], - "valid" - ], - [ - [ - 1324, - 1324 - ], - "mapped", - [ - 1325 - ] - ], - [ - [ - 1325, - 1325 - ], - "valid" - ], - [ - [ - 1326, - 1326 - ], - "mapped", - [ - 1327 - ] - ], - [ - [ - 1327, - 1327 - ], - "valid" - ], - [ - [ - 1328, - 1328 - ], - "disallowed" - ], - [ - [ - 1329, - 1329 - ], - "mapped", - [ - 1377 - ] - ], - [ - [ - 1330, - 1330 - ], - "mapped", - [ - 1378 - ] - ], - [ - [ - 1331, - 1331 - ], - "mapped", - [ - 1379 - ] - ], - [ - [ - 1332, - 1332 - ], - "mapped", - [ - 1380 - ] - ], - [ - [ - 1333, - 1333 - ], - "mapped", - [ - 1381 - ] - ], - [ - [ - 1334, - 1334 - ], - "mapped", - [ - 1382 - ] - ], - [ - [ - 1335, - 1335 - ], - "mapped", - [ - 1383 - ] - ], - [ - [ - 1336, - 1336 - ], - "mapped", - [ - 1384 - ] - ], - [ - [ - 1337, - 1337 - ], - "mapped", - [ - 1385 - ] - ], - [ - [ - 1338, - 1338 - ], - "mapped", - [ - 1386 - ] - ], - [ - [ - 1339, - 1339 - ], - "mapped", - [ - 1387 - ] - ], - [ - [ - 1340, - 1340 - ], - "mapped", - [ - 1388 - ] - ], - [ - [ - 1341, - 1341 - ], - "mapped", - [ - 1389 - ] - ], - [ - [ - 1342, - 1342 - ], - "mapped", - [ - 1390 - ] - ], - [ - [ - 1343, - 1343 - ], - "mapped", - [ - 1391 - ] - ], - [ - [ - 1344, - 1344 - ], - "mapped", - [ - 1392 - ] - ], - [ - [ - 1345, - 1345 - ], - "mapped", - [ - 1393 - ] - ], - [ - [ - 1346, - 1346 - ], - "mapped", - [ - 1394 - ] - ], - [ - [ - 1347, - 1347 - ], - "mapped", - [ - 1395 - ] - ], - [ - [ - 1348, - 1348 - ], - "mapped", - [ - 1396 - ] - ], - [ - [ - 1349, - 1349 - ], - "mapped", - [ - 1397 - ] - ], - [ - [ - 1350, - 1350 - ], - "mapped", - [ - 1398 - ] - ], - [ - [ - 1351, - 1351 - ], - "mapped", - [ - 1399 - ] - ], - [ - [ - 1352, - 1352 - ], - "mapped", - [ - 1400 - ] - ], - [ - [ - 1353, - 1353 - ], - "mapped", - [ - 1401 - ] - ], - [ - [ - 1354, - 1354 - ], - "mapped", - [ - 1402 - ] - ], - [ - [ - 1355, - 1355 - ], - "mapped", - [ - 1403 - ] - ], - [ - [ - 1356, - 1356 - ], - "mapped", - [ - 1404 - ] - ], - [ - [ - 1357, - 1357 - ], - "mapped", - [ - 1405 - ] - ], - [ - [ - 1358, - 1358 - ], - "mapped", - [ - 1406 - ] - ], - [ - [ - 1359, - 1359 - ], - "mapped", - [ - 1407 - ] - ], - [ - [ - 1360, - 1360 - ], - "mapped", - [ - 1408 - ] - ], - [ - [ - 1361, - 1361 - ], - "mapped", - [ - 1409 - ] - ], - [ - [ - 1362, - 1362 - ], - "mapped", - [ - 1410 - ] - ], - [ - [ - 1363, - 1363 - ], - "mapped", - [ - 1411 - ] - ], - [ - [ - 1364, - 1364 - ], - "mapped", - [ - 1412 - ] - ], - [ - [ - 1365, - 1365 - ], - "mapped", - [ - 1413 - ] - ], - [ - [ - 1366, - 1366 - ], - "mapped", - [ - 1414 - ] - ], - [ - [ - 1367, - 1368 - ], - "disallowed" - ], - [ - [ - 1369, - 1369 - ], - "valid" - ], - [ - [ - 1370, - 1375 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1376, - 1376 - ], - "disallowed" - ], - [ - [ - 1377, - 1414 - ], - "valid" - ], - [ - [ - 1415, - 1415 - ], - "mapped", - [ - 1381, - 1410 - ] - ], - [ - [ - 1416, - 1416 - ], - "disallowed" - ], - [ - [ - 1417, - 1417 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1418, - 1418 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1419, - 1420 - ], - "disallowed" - ], - [ - [ - 1421, - 1422 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1423, - 1423 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1424, - 1424 - ], - "disallowed" - ], - [ - [ - 1425, - 1441 - ], - "valid" - ], - [ - [ - 1442, - 1442 - ], - "valid" - ], - [ - [ - 1443, - 1455 - ], - "valid" - ], - [ - [ - 1456, - 1465 - ], - "valid" - ], - [ - [ - 1466, - 1466 - ], - "valid" - ], - [ - [ - 1467, - 1469 - ], - "valid" - ], - [ - [ - 1470, - 1470 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1471, - 1471 - ], - "valid" - ], - [ - [ - 1472, - 1472 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1473, - 1474 - ], - "valid" - ], - [ - [ - 1475, - 1475 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1476, - 1476 - ], - "valid" - ], - [ - [ - 1477, - 1477 - ], - "valid" - ], - [ - [ - 1478, - 1478 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1479, - 1479 - ], - "valid" - ], - [ - [ - 1480, - 1487 - ], - "disallowed" - ], - [ - [ - 1488, - 1514 - ], - "valid" - ], - [ - [ - 1515, - 1519 - ], - "disallowed" - ], - [ - [ - 1520, - 1524 - ], - "valid" - ], - [ - [ - 1525, - 1535 - ], - "disallowed" - ], - [ - [ - 1536, - 1539 - ], - "disallowed" - ], - [ - [ - 1540, - 1540 - ], - "disallowed" - ], - [ - [ - 1541, - 1541 - ], - "disallowed" - ], - [ - [ - 1542, - 1546 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1547, - 1547 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1548, - 1548 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1549, - 1551 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1552, - 1557 - ], - "valid" - ], - [ - [ - 1558, - 1562 - ], - "valid" - ], - [ - [ - 1563, - 1563 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1564, - 1564 - ], - "disallowed" - ], - [ - [ - 1565, - 1565 - ], - "disallowed" - ], - [ - [ - 1566, - 1566 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1567, - 1567 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1568, - 1568 - ], - "valid" - ], - [ - [ - 1569, - 1594 - ], - "valid" - ], - [ - [ - 1595, - 1599 - ], - "valid" - ], - [ - [ - 1600, - 1600 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1601, - 1618 - ], - "valid" - ], - [ - [ - 1619, - 1621 - ], - "valid" - ], - [ - [ - 1622, - 1624 - ], - "valid" - ], - [ - [ - 1625, - 1630 - ], - "valid" - ], - [ - [ - 1631, - 1631 - ], - "valid" - ], - [ - [ - 1632, - 1641 - ], - "valid" - ], - [ - [ - 1642, - 1645 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1646, - 1647 - ], - "valid" - ], - [ - [ - 1648, - 1652 - ], - "valid" - ], - [ - [ - 1653, - 1653 - ], - "mapped", - [ - 1575, - 1652 - ] - ], - [ - [ - 1654, - 1654 - ], - "mapped", - [ - 1608, - 1652 - ] - ], - [ - [ - 1655, - 1655 - ], - "mapped", - [ - 1735, - 1652 - ] - ], - [ - [ - 1656, - 1656 - ], - "mapped", - [ - 1610, - 1652 - ] - ], - [ - [ - 1657, - 1719 - ], - "valid" - ], - [ - [ - 1720, - 1721 - ], - "valid" - ], - [ - [ - 1722, - 1726 - ], - "valid" - ], - [ - [ - 1727, - 1727 - ], - "valid" - ], - [ - [ - 1728, - 1742 - ], - "valid" - ], - [ - [ - 1743, - 1743 - ], - "valid" - ], - [ - [ - 1744, - 1747 - ], - "valid" - ], - [ - [ - 1748, - 1748 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1749, - 1756 - ], - "valid" - ], - [ - [ - 1757, - 1757 - ], - "disallowed" - ], - [ - [ - 1758, - 1758 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1759, - 1768 - ], - "valid" - ], - [ - [ - 1769, - 1769 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1770, - 1773 - ], - "valid" - ], - [ - [ - 1774, - 1775 - ], - "valid" - ], - [ - [ - 1776, - 1785 - ], - "valid" - ], - [ - [ - 1786, - 1790 - ], - "valid" - ], - [ - [ - 1791, - 1791 - ], - "valid" - ], - [ - [ - 1792, - 1805 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 1806, - 1806 - ], - "disallowed" - ], - [ - [ - 1807, - 1807 - ], - "disallowed" - ], - [ - [ - 1808, - 1836 - ], - "valid" - ], - [ - [ - 1837, - 1839 - ], - "valid" - ], - [ - [ - 1840, - 1866 - ], - "valid" - ], - [ - [ - 1867, - 1868 - ], - "disallowed" - ], - [ - [ - 1869, - 1871 - ], - "valid" - ], - [ - [ - 1872, - 1901 - ], - "valid" - ], - [ - [ - 1902, - 1919 - ], - "valid" - ], - [ - [ - 1920, - 1968 - ], - "valid" - ], - [ - [ - 1969, - 1969 - ], - "valid" - ], - [ - [ - 1970, - 1983 - ], - "disallowed" - ], - [ - [ - 1984, - 2037 - ], - "valid" - ], - [ - [ - 2038, - 2042 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2043, - 2047 - ], - "disallowed" - ], - [ - [ - 2048, - 2093 - ], - "valid" - ], - [ - [ - 2094, - 2095 - ], - "disallowed" - ], - [ - [ - 2096, - 2110 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2111, - 2111 - ], - "disallowed" - ], - [ - [ - 2112, - 2139 - ], - "valid" - ], - [ - [ - 2140, - 2141 - ], - "disallowed" - ], - [ - [ - 2142, - 2142 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2143, - 2207 - ], - "disallowed" - ], - [ - [ - 2208, - 2208 - ], - "valid" - ], - [ - [ - 2209, - 2209 - ], - "valid" - ], - [ - [ - 2210, - 2220 - ], - "valid" - ], - [ - [ - 2221, - 2226 - ], - "valid" - ], - [ - [ - 2227, - 2228 - ], - "valid" - ], - [ - [ - 2229, - 2274 - ], - "disallowed" - ], - [ - [ - 2275, - 2275 - ], - "valid" - ], - [ - [ - 2276, - 2302 - ], - "valid" - ], - [ - [ - 2303, - 2303 - ], - "valid" - ], - [ - [ - 2304, - 2304 - ], - "valid" - ], - [ - [ - 2305, - 2307 - ], - "valid" - ], - [ - [ - 2308, - 2308 - ], - "valid" - ], - [ - [ - 2309, - 2361 - ], - "valid" - ], - [ - [ - 2362, - 2363 - ], - "valid" - ], - [ - [ - 2364, - 2381 - ], - "valid" - ], - [ - [ - 2382, - 2382 - ], - "valid" - ], - [ - [ - 2383, - 2383 - ], - "valid" - ], - [ - [ - 2384, - 2388 - ], - "valid" - ], - [ - [ - 2389, - 2389 - ], - "valid" - ], - [ - [ - 2390, - 2391 - ], - "valid" - ], - [ - [ - 2392, - 2392 - ], - "mapped", - [ - 2325, - 2364 - ] - ], - [ - [ - 2393, - 2393 - ], - "mapped", - [ - 2326, - 2364 - ] - ], - [ - [ - 2394, - 2394 - ], - "mapped", - [ - 2327, - 2364 - ] - ], - [ - [ - 2395, - 2395 - ], - "mapped", - [ - 2332, - 2364 - ] - ], - [ - [ - 2396, - 2396 - ], - "mapped", - [ - 2337, - 2364 - ] - ], - [ - [ - 2397, - 2397 - ], - "mapped", - [ - 2338, - 2364 - ] - ], - [ - [ - 2398, - 2398 - ], - "mapped", - [ - 2347, - 2364 - ] - ], - [ - [ - 2399, - 2399 - ], - "mapped", - [ - 2351, - 2364 - ] - ], - [ - [ - 2400, - 2403 - ], - "valid" - ], - [ - [ - 2404, - 2405 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2406, - 2415 - ], - "valid" - ], - [ - [ - 2416, - 2416 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2417, - 2418 - ], - "valid" - ], - [ - [ - 2419, - 2423 - ], - "valid" - ], - [ - [ - 2424, - 2424 - ], - "valid" - ], - [ - [ - 2425, - 2426 - ], - "valid" - ], - [ - [ - 2427, - 2428 - ], - "valid" - ], - [ - [ - 2429, - 2429 - ], - "valid" - ], - [ - [ - 2430, - 2431 - ], - "valid" - ], - [ - [ - 2432, - 2432 - ], - "valid" - ], - [ - [ - 2433, - 2435 - ], - "valid" - ], - [ - [ - 2436, - 2436 - ], - "disallowed" - ], - [ - [ - 2437, - 2444 - ], - "valid" - ], - [ - [ - 2445, - 2446 - ], - "disallowed" - ], - [ - [ - 2447, - 2448 - ], - "valid" - ], - [ - [ - 2449, - 2450 - ], - "disallowed" - ], - [ - [ - 2451, - 2472 - ], - "valid" - ], - [ - [ - 2473, - 2473 - ], - "disallowed" - ], - [ - [ - 2474, - 2480 - ], - "valid" - ], - [ - [ - 2481, - 2481 - ], - "disallowed" - ], - [ - [ - 2482, - 2482 - ], - "valid" - ], - [ - [ - 2483, - 2485 - ], - "disallowed" - ], - [ - [ - 2486, - 2489 - ], - "valid" - ], - [ - [ - 2490, - 2491 - ], - "disallowed" - ], - [ - [ - 2492, - 2492 - ], - "valid" - ], - [ - [ - 2493, - 2493 - ], - "valid" - ], - [ - [ - 2494, - 2500 - ], - "valid" - ], - [ - [ - 2501, - 2502 - ], - "disallowed" - ], - [ - [ - 2503, - 2504 - ], - "valid" - ], - [ - [ - 2505, - 2506 - ], - "disallowed" - ], - [ - [ - 2507, - 2509 - ], - "valid" - ], - [ - [ - 2510, - 2510 - ], - "valid" - ], - [ - [ - 2511, - 2518 - ], - "disallowed" - ], - [ - [ - 2519, - 2519 - ], - "valid" - ], - [ - [ - 2520, - 2523 - ], - "disallowed" - ], - [ - [ - 2524, - 2524 - ], - "mapped", - [ - 2465, - 2492 - ] - ], - [ - [ - 2525, - 2525 - ], - "mapped", - [ - 2466, - 2492 - ] - ], - [ - [ - 2526, - 2526 - ], - "disallowed" - ], - [ - [ - 2527, - 2527 - ], - "mapped", - [ - 2479, - 2492 - ] - ], - [ - [ - 2528, - 2531 - ], - "valid" - ], - [ - [ - 2532, - 2533 - ], - "disallowed" - ], - [ - [ - 2534, - 2545 - ], - "valid" - ], - [ - [ - 2546, - 2554 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2555, - 2555 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2556, - 2560 - ], - "disallowed" - ], - [ - [ - 2561, - 2561 - ], - "valid" - ], - [ - [ - 2562, - 2562 - ], - "valid" - ], - [ - [ - 2563, - 2563 - ], - "valid" - ], - [ - [ - 2564, - 2564 - ], - "disallowed" - ], - [ - [ - 2565, - 2570 - ], - "valid" - ], - [ - [ - 2571, - 2574 - ], - "disallowed" - ], - [ - [ - 2575, - 2576 - ], - "valid" - ], - [ - [ - 2577, - 2578 - ], - "disallowed" - ], - [ - [ - 2579, - 2600 - ], - "valid" - ], - [ - [ - 2601, - 2601 - ], - "disallowed" - ], - [ - [ - 2602, - 2608 - ], - "valid" - ], - [ - [ - 2609, - 2609 - ], - "disallowed" - ], - [ - [ - 2610, - 2610 - ], - "valid" - ], - [ - [ - 2611, - 2611 - ], - "mapped", - [ - 2610, - 2620 - ] - ], - [ - [ - 2612, - 2612 - ], - "disallowed" - ], - [ - [ - 2613, - 2613 - ], - "valid" - ], - [ - [ - 2614, - 2614 - ], - "mapped", - [ - 2616, - 2620 - ] - ], - [ - [ - 2615, - 2615 - ], - "disallowed" - ], - [ - [ - 2616, - 2617 - ], - "valid" - ], - [ - [ - 2618, - 2619 - ], - "disallowed" - ], - [ - [ - 2620, - 2620 - ], - "valid" - ], - [ - [ - 2621, - 2621 - ], - "disallowed" - ], - [ - [ - 2622, - 2626 - ], - "valid" - ], - [ - [ - 2627, - 2630 - ], - "disallowed" - ], - [ - [ - 2631, - 2632 - ], - "valid" - ], - [ - [ - 2633, - 2634 - ], - "disallowed" - ], - [ - [ - 2635, - 2637 - ], - "valid" - ], - [ - [ - 2638, - 2640 - ], - "disallowed" - ], - [ - [ - 2641, - 2641 - ], - "valid" - ], - [ - [ - 2642, - 2648 - ], - "disallowed" - ], - [ - [ - 2649, - 2649 - ], - "mapped", - [ - 2582, - 2620 - ] - ], - [ - [ - 2650, - 2650 - ], - "mapped", - [ - 2583, - 2620 - ] - ], - [ - [ - 2651, - 2651 - ], - "mapped", - [ - 2588, - 2620 - ] - ], - [ - [ - 2652, - 2652 - ], - "valid" - ], - [ - [ - 2653, - 2653 - ], - "disallowed" - ], - [ - [ - 2654, - 2654 - ], - "mapped", - [ - 2603, - 2620 - ] - ], - [ - [ - 2655, - 2661 - ], - "disallowed" - ], - [ - [ - 2662, - 2676 - ], - "valid" - ], - [ - [ - 2677, - 2677 - ], - "valid" - ], - [ - [ - 2678, - 2688 - ], - "disallowed" - ], - [ - [ - 2689, - 2691 - ], - "valid" - ], - [ - [ - 2692, - 2692 - ], - "disallowed" - ], - [ - [ - 2693, - 2699 - ], - "valid" - ], - [ - [ - 2700, - 2700 - ], - "valid" - ], - [ - [ - 2701, - 2701 - ], - "valid" - ], - [ - [ - 2702, - 2702 - ], - "disallowed" - ], - [ - [ - 2703, - 2705 - ], - "valid" - ], - [ - [ - 2706, - 2706 - ], - "disallowed" - ], - [ - [ - 2707, - 2728 - ], - "valid" - ], - [ - [ - 2729, - 2729 - ], - "disallowed" - ], - [ - [ - 2730, - 2736 - ], - "valid" - ], - [ - [ - 2737, - 2737 - ], - "disallowed" - ], - [ - [ - 2738, - 2739 - ], - "valid" - ], - [ - [ - 2740, - 2740 - ], - "disallowed" - ], - [ - [ - 2741, - 2745 - ], - "valid" - ], - [ - [ - 2746, - 2747 - ], - "disallowed" - ], - [ - [ - 2748, - 2757 - ], - "valid" - ], - [ - [ - 2758, - 2758 - ], - "disallowed" - ], - [ - [ - 2759, - 2761 - ], - "valid" - ], - [ - [ - 2762, - 2762 - ], - "disallowed" - ], - [ - [ - 2763, - 2765 - ], - "valid" - ], - [ - [ - 2766, - 2767 - ], - "disallowed" - ], - [ - [ - 2768, - 2768 - ], - "valid" - ], - [ - [ - 2769, - 2783 - ], - "disallowed" - ], - [ - [ - 2784, - 2784 - ], - "valid" - ], - [ - [ - 2785, - 2787 - ], - "valid" - ], - [ - [ - 2788, - 2789 - ], - "disallowed" - ], - [ - [ - 2790, - 2799 - ], - "valid" - ], - [ - [ - 2800, - 2800 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2801, - 2801 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2802, - 2808 - ], - "disallowed" - ], - [ - [ - 2809, - 2809 - ], - "valid" - ], - [ - [ - 2810, - 2816 - ], - "disallowed" - ], - [ - [ - 2817, - 2819 - ], - "valid" - ], - [ - [ - 2820, - 2820 - ], - "disallowed" - ], - [ - [ - 2821, - 2828 - ], - "valid" - ], - [ - [ - 2829, - 2830 - ], - "disallowed" - ], - [ - [ - 2831, - 2832 - ], - "valid" - ], - [ - [ - 2833, - 2834 - ], - "disallowed" - ], - [ - [ - 2835, - 2856 - ], - "valid" - ], - [ - [ - 2857, - 2857 - ], - "disallowed" - ], - [ - [ - 2858, - 2864 - ], - "valid" - ], - [ - [ - 2865, - 2865 - ], - "disallowed" - ], - [ - [ - 2866, - 2867 - ], - "valid" - ], - [ - [ - 2868, - 2868 - ], - "disallowed" - ], - [ - [ - 2869, - 2869 - ], - "valid" - ], - [ - [ - 2870, - 2873 - ], - "valid" - ], - [ - [ - 2874, - 2875 - ], - "disallowed" - ], - [ - [ - 2876, - 2883 - ], - "valid" - ], - [ - [ - 2884, - 2884 - ], - "valid" - ], - [ - [ - 2885, - 2886 - ], - "disallowed" - ], - [ - [ - 2887, - 2888 - ], - "valid" - ], - [ - [ - 2889, - 2890 - ], - "disallowed" - ], - [ - [ - 2891, - 2893 - ], - "valid" - ], - [ - [ - 2894, - 2901 - ], - "disallowed" - ], - [ - [ - 2902, - 2903 - ], - "valid" - ], - [ - [ - 2904, - 2907 - ], - "disallowed" - ], - [ - [ - 2908, - 2908 - ], - "mapped", - [ - 2849, - 2876 - ] - ], - [ - [ - 2909, - 2909 - ], - "mapped", - [ - 2850, - 2876 - ] - ], - [ - [ - 2910, - 2910 - ], - "disallowed" - ], - [ - [ - 2911, - 2913 - ], - "valid" - ], - [ - [ - 2914, - 2915 - ], - "valid" - ], - [ - [ - 2916, - 2917 - ], - "disallowed" - ], - [ - [ - 2918, - 2927 - ], - "valid" - ], - [ - [ - 2928, - 2928 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2929, - 2929 - ], - "valid" - ], - [ - [ - 2930, - 2935 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 2936, - 2945 - ], - "disallowed" - ], - [ - [ - 2946, - 2947 - ], - "valid" - ], - [ - [ - 2948, - 2948 - ], - "disallowed" - ], - [ - [ - 2949, - 2954 - ], - "valid" - ], - [ - [ - 2955, - 2957 - ], - "disallowed" - ], - [ - [ - 2958, - 2960 - ], - "valid" - ], - [ - [ - 2961, - 2961 - ], - "disallowed" - ], - [ - [ - 2962, - 2965 - ], - "valid" - ], - [ - [ - 2966, - 2968 - ], - "disallowed" - ], - [ - [ - 2969, - 2970 - ], - "valid" - ], - [ - [ - 2971, - 2971 - ], - "disallowed" - ], - [ - [ - 2972, - 2972 - ], - "valid" - ], - [ - [ - 2973, - 2973 - ], - "disallowed" - ], - [ - [ - 2974, - 2975 - ], - "valid" - ], - [ - [ - 2976, - 2978 - ], - "disallowed" - ], - [ - [ - 2979, - 2980 - ], - "valid" - ], - [ - [ - 2981, - 2983 - ], - "disallowed" - ], - [ - [ - 2984, - 2986 - ], - "valid" - ], - [ - [ - 2987, - 2989 - ], - "disallowed" - ], - [ - [ - 2990, - 2997 - ], - "valid" - ], - [ - [ - 2998, - 2998 - ], - "valid" - ], - [ - [ - 2999, - 3001 - ], - "valid" - ], - [ - [ - 3002, - 3005 - ], - "disallowed" - ], - [ - [ - 3006, - 3010 - ], - "valid" - ], - [ - [ - 3011, - 3013 - ], - "disallowed" - ], - [ - [ - 3014, - 3016 - ], - "valid" - ], - [ - [ - 3017, - 3017 - ], - "disallowed" - ], - [ - [ - 3018, - 3021 - ], - "valid" - ], - [ - [ - 3022, - 3023 - ], - "disallowed" - ], - [ - [ - 3024, - 3024 - ], - "valid" - ], - [ - [ - 3025, - 3030 - ], - "disallowed" - ], - [ - [ - 3031, - 3031 - ], - "valid" - ], - [ - [ - 3032, - 3045 - ], - "disallowed" - ], - [ - [ - 3046, - 3046 - ], - "valid" - ], - [ - [ - 3047, - 3055 - ], - "valid" - ], - [ - [ - 3056, - 3058 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3059, - 3066 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3067, - 3071 - ], - "disallowed" - ], - [ - [ - 3072, - 3072 - ], - "valid" - ], - [ - [ - 3073, - 3075 - ], - "valid" - ], - [ - [ - 3076, - 3076 - ], - "disallowed" - ], - [ - [ - 3077, - 3084 - ], - "valid" - ], - [ - [ - 3085, - 3085 - ], - "disallowed" - ], - [ - [ - 3086, - 3088 - ], - "valid" - ], - [ - [ - 3089, - 3089 - ], - "disallowed" - ], - [ - [ - 3090, - 3112 - ], - "valid" - ], - [ - [ - 3113, - 3113 - ], - "disallowed" - ], - [ - [ - 3114, - 3123 - ], - "valid" - ], - [ - [ - 3124, - 3124 - ], - "valid" - ], - [ - [ - 3125, - 3129 - ], - "valid" - ], - [ - [ - 3130, - 3132 - ], - "disallowed" - ], - [ - [ - 3133, - 3133 - ], - "valid" - ], - [ - [ - 3134, - 3140 - ], - "valid" - ], - [ - [ - 3141, - 3141 - ], - "disallowed" - ], - [ - [ - 3142, - 3144 - ], - "valid" - ], - [ - [ - 3145, - 3145 - ], - "disallowed" - ], - [ - [ - 3146, - 3149 - ], - "valid" - ], - [ - [ - 3150, - 3156 - ], - "disallowed" - ], - [ - [ - 3157, - 3158 - ], - "valid" - ], - [ - [ - 3159, - 3159 - ], - "disallowed" - ], - [ - [ - 3160, - 3161 - ], - "valid" - ], - [ - [ - 3162, - 3162 - ], - "valid" - ], - [ - [ - 3163, - 3167 - ], - "disallowed" - ], - [ - [ - 3168, - 3169 - ], - "valid" - ], - [ - [ - 3170, - 3171 - ], - "valid" - ], - [ - [ - 3172, - 3173 - ], - "disallowed" - ], - [ - [ - 3174, - 3183 - ], - "valid" - ], - [ - [ - 3184, - 3191 - ], - "disallowed" - ], - [ - [ - 3192, - 3199 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3200, - 3200 - ], - "disallowed" - ], - [ - [ - 3201, - 3201 - ], - "valid" - ], - [ - [ - 3202, - 3203 - ], - "valid" - ], - [ - [ - 3204, - 3204 - ], - "disallowed" - ], - [ - [ - 3205, - 3212 - ], - "valid" - ], - [ - [ - 3213, - 3213 - ], - "disallowed" - ], - [ - [ - 3214, - 3216 - ], - "valid" - ], - [ - [ - 3217, - 3217 - ], - "disallowed" - ], - [ - [ - 3218, - 3240 - ], - "valid" - ], - [ - [ - 3241, - 3241 - ], - "disallowed" - ], - [ - [ - 3242, - 3251 - ], - "valid" - ], - [ - [ - 3252, - 3252 - ], - "disallowed" - ], - [ - [ - 3253, - 3257 - ], - "valid" - ], - [ - [ - 3258, - 3259 - ], - "disallowed" - ], - [ - [ - 3260, - 3261 - ], - "valid" - ], - [ - [ - 3262, - 3268 - ], - "valid" - ], - [ - [ - 3269, - 3269 - ], - "disallowed" - ], - [ - [ - 3270, - 3272 - ], - "valid" - ], - [ - [ - 3273, - 3273 - ], - "disallowed" - ], - [ - [ - 3274, - 3277 - ], - "valid" - ], - [ - [ - 3278, - 3284 - ], - "disallowed" - ], - [ - [ - 3285, - 3286 - ], - "valid" - ], - [ - [ - 3287, - 3293 - ], - "disallowed" - ], - [ - [ - 3294, - 3294 - ], - "valid" - ], - [ - [ - 3295, - 3295 - ], - "disallowed" - ], - [ - [ - 3296, - 3297 - ], - "valid" - ], - [ - [ - 3298, - 3299 - ], - "valid" - ], - [ - [ - 3300, - 3301 - ], - "disallowed" - ], - [ - [ - 3302, - 3311 - ], - "valid" - ], - [ - [ - 3312, - 3312 - ], - "disallowed" - ], - [ - [ - 3313, - 3314 - ], - "valid" - ], - [ - [ - 3315, - 3328 - ], - "disallowed" - ], - [ - [ - 3329, - 3329 - ], - "valid" - ], - [ - [ - 3330, - 3331 - ], - "valid" - ], - [ - [ - 3332, - 3332 - ], - "disallowed" - ], - [ - [ - 3333, - 3340 - ], - "valid" - ], - [ - [ - 3341, - 3341 - ], - "disallowed" - ], - [ - [ - 3342, - 3344 - ], - "valid" - ], - [ - [ - 3345, - 3345 - ], - "disallowed" - ], - [ - [ - 3346, - 3368 - ], - "valid" - ], - [ - [ - 3369, - 3369 - ], - "valid" - ], - [ - [ - 3370, - 3385 - ], - "valid" - ], - [ - [ - 3386, - 3386 - ], - "valid" - ], - [ - [ - 3387, - 3388 - ], - "disallowed" - ], - [ - [ - 3389, - 3389 - ], - "valid" - ], - [ - [ - 3390, - 3395 - ], - "valid" - ], - [ - [ - 3396, - 3396 - ], - "valid" - ], - [ - [ - 3397, - 3397 - ], - "disallowed" - ], - [ - [ - 3398, - 3400 - ], - "valid" - ], - [ - [ - 3401, - 3401 - ], - "disallowed" - ], - [ - [ - 3402, - 3405 - ], - "valid" - ], - [ - [ - 3406, - 3406 - ], - "valid" - ], - [ - [ - 3407, - 3414 - ], - "disallowed" - ], - [ - [ - 3415, - 3415 - ], - "valid" - ], - [ - [ - 3416, - 3422 - ], - "disallowed" - ], - [ - [ - 3423, - 3423 - ], - "valid" - ], - [ - [ - 3424, - 3425 - ], - "valid" - ], - [ - [ - 3426, - 3427 - ], - "valid" - ], - [ - [ - 3428, - 3429 - ], - "disallowed" - ], - [ - [ - 3430, - 3439 - ], - "valid" - ], - [ - [ - 3440, - 3445 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3446, - 3448 - ], - "disallowed" - ], - [ - [ - 3449, - 3449 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3450, - 3455 - ], - "valid" - ], - [ - [ - 3456, - 3457 - ], - "disallowed" - ], - [ - [ - 3458, - 3459 - ], - "valid" - ], - [ - [ - 3460, - 3460 - ], - "disallowed" - ], - [ - [ - 3461, - 3478 - ], - "valid" - ], - [ - [ - 3479, - 3481 - ], - "disallowed" - ], - [ - [ - 3482, - 3505 - ], - "valid" - ], - [ - [ - 3506, - 3506 - ], - "disallowed" - ], - [ - [ - 3507, - 3515 - ], - "valid" - ], - [ - [ - 3516, - 3516 - ], - "disallowed" - ], - [ - [ - 3517, - 3517 - ], - "valid" - ], - [ - [ - 3518, - 3519 - ], - "disallowed" - ], - [ - [ - 3520, - 3526 - ], - "valid" - ], - [ - [ - 3527, - 3529 - ], - "disallowed" - ], - [ - [ - 3530, - 3530 - ], - "valid" - ], - [ - [ - 3531, - 3534 - ], - "disallowed" - ], - [ - [ - 3535, - 3540 - ], - "valid" - ], - [ - [ - 3541, - 3541 - ], - "disallowed" - ], - [ - [ - 3542, - 3542 - ], - "valid" - ], - [ - [ - 3543, - 3543 - ], - "disallowed" - ], - [ - [ - 3544, - 3551 - ], - "valid" - ], - [ - [ - 3552, - 3557 - ], - "disallowed" - ], - [ - [ - 3558, - 3567 - ], - "valid" - ], - [ - [ - 3568, - 3569 - ], - "disallowed" - ], - [ - [ - 3570, - 3571 - ], - "valid" - ], - [ - [ - 3572, - 3572 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3573, - 3584 - ], - "disallowed" - ], - [ - [ - 3585, - 3634 - ], - "valid" - ], - [ - [ - 3635, - 3635 - ], - "mapped", - [ - 3661, - 3634 - ] - ], - [ - [ - 3636, - 3642 - ], - "valid" - ], - [ - [ - 3643, - 3646 - ], - "disallowed" - ], - [ - [ - 3647, - 3647 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3648, - 3662 - ], - "valid" - ], - [ - [ - 3663, - 3663 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3664, - 3673 - ], - "valid" - ], - [ - [ - 3674, - 3675 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3676, - 3712 - ], - "disallowed" - ], - [ - [ - 3713, - 3714 - ], - "valid" - ], - [ - [ - 3715, - 3715 - ], - "disallowed" - ], - [ - [ - 3716, - 3716 - ], - "valid" - ], - [ - [ - 3717, - 3718 - ], - "disallowed" - ], - [ - [ - 3719, - 3720 - ], - "valid" - ], - [ - [ - 3721, - 3721 - ], - "disallowed" - ], - [ - [ - 3722, - 3722 - ], - "valid" - ], - [ - [ - 3723, - 3724 - ], - "disallowed" - ], - [ - [ - 3725, - 3725 - ], - "valid" - ], - [ - [ - 3726, - 3731 - ], - "disallowed" - ], - [ - [ - 3732, - 3735 - ], - "valid" - ], - [ - [ - 3736, - 3736 - ], - "disallowed" - ], - [ - [ - 3737, - 3743 - ], - "valid" - ], - [ - [ - 3744, - 3744 - ], - "disallowed" - ], - [ - [ - 3745, - 3747 - ], - "valid" - ], - [ - [ - 3748, - 3748 - ], - "disallowed" - ], - [ - [ - 3749, - 3749 - ], - "valid" - ], - [ - [ - 3750, - 3750 - ], - "disallowed" - ], - [ - [ - 3751, - 3751 - ], - "valid" - ], - [ - [ - 3752, - 3753 - ], - "disallowed" - ], - [ - [ - 3754, - 3755 - ], - "valid" - ], - [ - [ - 3756, - 3756 - ], - "disallowed" - ], - [ - [ - 3757, - 3762 - ], - "valid" - ], - [ - [ - 3763, - 3763 - ], - "mapped", - [ - 3789, - 3762 - ] - ], - [ - [ - 3764, - 3769 - ], - "valid" - ], - [ - [ - 3770, - 3770 - ], - "disallowed" - ], - [ - [ - 3771, - 3773 - ], - "valid" - ], - [ - [ - 3774, - 3775 - ], - "disallowed" - ], - [ - [ - 3776, - 3780 - ], - "valid" - ], - [ - [ - 3781, - 3781 - ], - "disallowed" - ], - [ - [ - 3782, - 3782 - ], - "valid" - ], - [ - [ - 3783, - 3783 - ], - "disallowed" - ], - [ - [ - 3784, - 3789 - ], - "valid" - ], - [ - [ - 3790, - 3791 - ], - "disallowed" - ], - [ - [ - 3792, - 3801 - ], - "valid" - ], - [ - [ - 3802, - 3803 - ], - "disallowed" - ], - [ - [ - 3804, - 3804 - ], - "mapped", - [ - 3755, - 3737 - ] - ], - [ - [ - 3805, - 3805 - ], - "mapped", - [ - 3755, - 3745 - ] - ], - [ - [ - 3806, - 3807 - ], - "valid" - ], - [ - [ - 3808, - 3839 - ], - "disallowed" - ], - [ - [ - 3840, - 3840 - ], - "valid" - ], - [ - [ - 3841, - 3850 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3851, - 3851 - ], - "valid" - ], - [ - [ - 3852, - 3852 - ], - "mapped", - [ - 3851 - ] - ], - [ - [ - 3853, - 3863 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3864, - 3865 - ], - "valid" - ], - [ - [ - 3866, - 3871 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3872, - 3881 - ], - "valid" - ], - [ - [ - 3882, - 3892 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3893, - 3893 - ], - "valid" - ], - [ - [ - 3894, - 3894 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3895, - 3895 - ], - "valid" - ], - [ - [ - 3896, - 3896 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3897, - 3897 - ], - "valid" - ], - [ - [ - 3898, - 3901 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3902, - 3906 - ], - "valid" - ], - [ - [ - 3907, - 3907 - ], - "mapped", - [ - 3906, - 4023 - ] - ], - [ - [ - 3908, - 3911 - ], - "valid" - ], - [ - [ - 3912, - 3912 - ], - "disallowed" - ], - [ - [ - 3913, - 3916 - ], - "valid" - ], - [ - [ - 3917, - 3917 - ], - "mapped", - [ - 3916, - 4023 - ] - ], - [ - [ - 3918, - 3921 - ], - "valid" - ], - [ - [ - 3922, - 3922 - ], - "mapped", - [ - 3921, - 4023 - ] - ], - [ - [ - 3923, - 3926 - ], - "valid" - ], - [ - [ - 3927, - 3927 - ], - "mapped", - [ - 3926, - 4023 - ] - ], - [ - [ - 3928, - 3931 - ], - "valid" - ], - [ - [ - 3932, - 3932 - ], - "mapped", - [ - 3931, - 4023 - ] - ], - [ - [ - 3933, - 3944 - ], - "valid" - ], - [ - [ - 3945, - 3945 - ], - "mapped", - [ - 3904, - 4021 - ] - ], - [ - [ - 3946, - 3946 - ], - "valid" - ], - [ - [ - 3947, - 3948 - ], - "valid" - ], - [ - [ - 3949, - 3952 - ], - "disallowed" - ], - [ - [ - 3953, - 3954 - ], - "valid" - ], - [ - [ - 3955, - 3955 - ], - "mapped", - [ - 3953, - 3954 - ] - ], - [ - [ - 3956, - 3956 - ], - "valid" - ], - [ - [ - 3957, - 3957 - ], - "mapped", - [ - 3953, - 3956 - ] - ], - [ - [ - 3958, - 3958 - ], - "mapped", - [ - 4018, - 3968 - ] - ], - [ - [ - 3959, - 3959 - ], - "mapped", - [ - 4018, - 3953, - 3968 - ] - ], - [ - [ - 3960, - 3960 - ], - "mapped", - [ - 4019, - 3968 - ] - ], - [ - [ - 3961, - 3961 - ], - "mapped", - [ - 4019, - 3953, - 3968 - ] - ], - [ - [ - 3962, - 3968 - ], - "valid" - ], - [ - [ - 3969, - 3969 - ], - "mapped", - [ - 3953, - 3968 - ] - ], - [ - [ - 3970, - 3972 - ], - "valid" - ], - [ - [ - 3973, - 3973 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 3974, - 3979 - ], - "valid" - ], - [ - [ - 3980, - 3983 - ], - "valid" - ], - [ - [ - 3984, - 3986 - ], - "valid" - ], - [ - [ - 3987, - 3987 - ], - "mapped", - [ - 3986, - 4023 - ] - ], - [ - [ - 3988, - 3989 - ], - "valid" - ], - [ - [ - 3990, - 3990 - ], - "valid" - ], - [ - [ - 3991, - 3991 - ], - "valid" - ], - [ - [ - 3992, - 3992 - ], - "disallowed" - ], - [ - [ - 3993, - 3996 - ], - "valid" - ], - [ - [ - 3997, - 3997 - ], - "mapped", - [ - 3996, - 4023 - ] - ], - [ - [ - 3998, - 4001 - ], - "valid" - ], - [ - [ - 4002, - 4002 - ], - "mapped", - [ - 4001, - 4023 - ] - ], - [ - [ - 4003, - 4006 - ], - "valid" - ], - [ - [ - 4007, - 4007 - ], - "mapped", - [ - 4006, - 4023 - ] - ], - [ - [ - 4008, - 4011 - ], - "valid" - ], - [ - [ - 4012, - 4012 - ], - "mapped", - [ - 4011, - 4023 - ] - ], - [ - [ - 4013, - 4013 - ], - "valid" - ], - [ - [ - 4014, - 4016 - ], - "valid" - ], - [ - [ - 4017, - 4023 - ], - "valid" - ], - [ - [ - 4024, - 4024 - ], - "valid" - ], - [ - [ - 4025, - 4025 - ], - "mapped", - [ - 3984, - 4021 - ] - ], - [ - [ - 4026, - 4028 - ], - "valid" - ], - [ - [ - 4029, - 4029 - ], - "disallowed" - ], - [ - [ - 4030, - 4037 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4038, - 4038 - ], - "valid" - ], - [ - [ - 4039, - 4044 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4045, - 4045 - ], - "disallowed" - ], - [ - [ - 4046, - 4046 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4047, - 4047 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4048, - 4049 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4050, - 4052 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4053, - 4056 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4057, - 4058 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4059, - 4095 - ], - "disallowed" - ], - [ - [ - 4096, - 4129 - ], - "valid" - ], - [ - [ - 4130, - 4130 - ], - "valid" - ], - [ - [ - 4131, - 4135 - ], - "valid" - ], - [ - [ - 4136, - 4136 - ], - "valid" - ], - [ - [ - 4137, - 4138 - ], - "valid" - ], - [ - [ - 4139, - 4139 - ], - "valid" - ], - [ - [ - 4140, - 4146 - ], - "valid" - ], - [ - [ - 4147, - 4149 - ], - "valid" - ], - [ - [ - 4150, - 4153 - ], - "valid" - ], - [ - [ - 4154, - 4159 - ], - "valid" - ], - [ - [ - 4160, - 4169 - ], - "valid" - ], - [ - [ - 4170, - 4175 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4176, - 4185 - ], - "valid" - ], - [ - [ - 4186, - 4249 - ], - "valid" - ], - [ - [ - 4250, - 4253 - ], - "valid" - ], - [ - [ - 4254, - 4255 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4256, - 4293 - ], - "disallowed" - ], - [ - [ - 4294, - 4294 - ], - "disallowed" - ], - [ - [ - 4295, - 4295 - ], - "mapped", - [ - 11559 - ] - ], - [ - [ - 4296, - 4300 - ], - "disallowed" - ], - [ - [ - 4301, - 4301 - ], - "mapped", - [ - 11565 - ] - ], - [ - [ - 4302, - 4303 - ], - "disallowed" - ], - [ - [ - 4304, - 4342 - ], - "valid" - ], - [ - [ - 4343, - 4344 - ], - "valid" - ], - [ - [ - 4345, - 4346 - ], - "valid" - ], - [ - [ - 4347, - 4347 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4348, - 4348 - ], - "mapped", - [ - 4316 - ] - ], - [ - [ - 4349, - 4351 - ], - "valid" - ], - [ - [ - 4352, - 4441 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4442, - 4446 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4447, - 4448 - ], - "disallowed" - ], - [ - [ - 4449, - 4514 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4515, - 4519 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4520, - 4601 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4602, - 4607 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4608, - 4614 - ], - "valid" - ], - [ - [ - 4615, - 4615 - ], - "valid" - ], - [ - [ - 4616, - 4678 - ], - "valid" - ], - [ - [ - 4679, - 4679 - ], - "valid" - ], - [ - [ - 4680, - 4680 - ], - "valid" - ], - [ - [ - 4681, - 4681 - ], - "disallowed" - ], - [ - [ - 4682, - 4685 - ], - "valid" - ], - [ - [ - 4686, - 4687 - ], - "disallowed" - ], - [ - [ - 4688, - 4694 - ], - "valid" - ], - [ - [ - 4695, - 4695 - ], - "disallowed" - ], - [ - [ - 4696, - 4696 - ], - "valid" - ], - [ - [ - 4697, - 4697 - ], - "disallowed" - ], - [ - [ - 4698, - 4701 - ], - "valid" - ], - [ - [ - 4702, - 4703 - ], - "disallowed" - ], - [ - [ - 4704, - 4742 - ], - "valid" - ], - [ - [ - 4743, - 4743 - ], - "valid" - ], - [ - [ - 4744, - 4744 - ], - "valid" - ], - [ - [ - 4745, - 4745 - ], - "disallowed" - ], - [ - [ - 4746, - 4749 - ], - "valid" - ], - [ - [ - 4750, - 4751 - ], - "disallowed" - ], - [ - [ - 4752, - 4782 - ], - "valid" - ], - [ - [ - 4783, - 4783 - ], - "valid" - ], - [ - [ - 4784, - 4784 - ], - "valid" - ], - [ - [ - 4785, - 4785 - ], - "disallowed" - ], - [ - [ - 4786, - 4789 - ], - "valid" - ], - [ - [ - 4790, - 4791 - ], - "disallowed" - ], - [ - [ - 4792, - 4798 - ], - "valid" - ], - [ - [ - 4799, - 4799 - ], - "disallowed" - ], - [ - [ - 4800, - 4800 - ], - "valid" - ], - [ - [ - 4801, - 4801 - ], - "disallowed" - ], - [ - [ - 4802, - 4805 - ], - "valid" - ], - [ - [ - 4806, - 4807 - ], - "disallowed" - ], - [ - [ - 4808, - 4814 - ], - "valid" - ], - [ - [ - 4815, - 4815 - ], - "valid" - ], - [ - [ - 4816, - 4822 - ], - "valid" - ], - [ - [ - 4823, - 4823 - ], - "disallowed" - ], - [ - [ - 4824, - 4846 - ], - "valid" - ], - [ - [ - 4847, - 4847 - ], - "valid" - ], - [ - [ - 4848, - 4878 - ], - "valid" - ], - [ - [ - 4879, - 4879 - ], - "valid" - ], - [ - [ - 4880, - 4880 - ], - "valid" - ], - [ - [ - 4881, - 4881 - ], - "disallowed" - ], - [ - [ - 4882, - 4885 - ], - "valid" - ], - [ - [ - 4886, - 4887 - ], - "disallowed" - ], - [ - [ - 4888, - 4894 - ], - "valid" - ], - [ - [ - 4895, - 4895 - ], - "valid" - ], - [ - [ - 4896, - 4934 - ], - "valid" - ], - [ - [ - 4935, - 4935 - ], - "valid" - ], - [ - [ - 4936, - 4954 - ], - "valid" - ], - [ - [ - 4955, - 4956 - ], - "disallowed" - ], - [ - [ - 4957, - 4958 - ], - "valid" - ], - [ - [ - 4959, - 4959 - ], - "valid" - ], - [ - [ - 4960, - 4960 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4961, - 4988 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 4989, - 4991 - ], - "disallowed" - ], - [ - [ - 4992, - 5007 - ], - "valid" - ], - [ - [ - 5008, - 5017 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5018, - 5023 - ], - "disallowed" - ], - [ - [ - 5024, - 5108 - ], - "valid" - ], - [ - [ - 5109, - 5109 - ], - "valid" - ], - [ - [ - 5110, - 5111 - ], - "disallowed" - ], - [ - [ - 5112, - 5112 - ], - "mapped", - [ - 5104 - ] - ], - [ - [ - 5113, - 5113 - ], - "mapped", - [ - 5105 - ] - ], - [ - [ - 5114, - 5114 - ], - "mapped", - [ - 5106 - ] - ], - [ - [ - 5115, - 5115 - ], - "mapped", - [ - 5107 - ] - ], - [ - [ - 5116, - 5116 - ], - "mapped", - [ - 5108 - ] - ], - [ - [ - 5117, - 5117 - ], - "mapped", - [ - 5109 - ] - ], - [ - [ - 5118, - 5119 - ], - "disallowed" - ], - [ - [ - 5120, - 5120 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5121, - 5740 - ], - "valid" - ], - [ - [ - 5741, - 5742 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5743, - 5750 - ], - "valid" - ], - [ - [ - 5751, - 5759 - ], - "valid" - ], - [ - [ - 5760, - 5760 - ], - "disallowed" - ], - [ - [ - 5761, - 5786 - ], - "valid" - ], - [ - [ - 5787, - 5788 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5789, - 5791 - ], - "disallowed" - ], - [ - [ - 5792, - 5866 - ], - "valid" - ], - [ - [ - 5867, - 5872 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5873, - 5880 - ], - "valid" - ], - [ - [ - 5881, - 5887 - ], - "disallowed" - ], - [ - [ - 5888, - 5900 - ], - "valid" - ], - [ - [ - 5901, - 5901 - ], - "disallowed" - ], - [ - [ - 5902, - 5908 - ], - "valid" - ], - [ - [ - 5909, - 5919 - ], - "disallowed" - ], - [ - [ - 5920, - 5940 - ], - "valid" - ], - [ - [ - 5941, - 5942 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 5943, - 5951 - ], - "disallowed" - ], - [ - [ - 5952, - 5971 - ], - "valid" - ], - [ - [ - 5972, - 5983 - ], - "disallowed" - ], - [ - [ - 5984, - 5996 - ], - "valid" - ], - [ - [ - 5997, - 5997 - ], - "disallowed" - ], - [ - [ - 5998, - 6000 - ], - "valid" - ], - [ - [ - 6001, - 6001 - ], - "disallowed" - ], - [ - [ - 6002, - 6003 - ], - "valid" - ], - [ - [ - 6004, - 6015 - ], - "disallowed" - ], - [ - [ - 6016, - 6067 - ], - "valid" - ], - [ - [ - 6068, - 6069 - ], - "disallowed" - ], - [ - [ - 6070, - 6099 - ], - "valid" - ], - [ - [ - 6100, - 6102 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6103, - 6103 - ], - "valid" - ], - [ - [ - 6104, - 6107 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6108, - 6108 - ], - "valid" - ], - [ - [ - 6109, - 6109 - ], - "valid" - ], - [ - [ - 6110, - 6111 - ], - "disallowed" - ], - [ - [ - 6112, - 6121 - ], - "valid" - ], - [ - [ - 6122, - 6127 - ], - "disallowed" - ], - [ - [ - 6128, - 6137 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6138, - 6143 - ], - "disallowed" - ], - [ - [ - 6144, - 6149 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6150, - 6150 - ], - "disallowed" - ], - [ - [ - 6151, - 6154 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6155, - 6157 - ], - "ignored" - ], - [ - [ - 6158, - 6158 - ], - "disallowed" - ], - [ - [ - 6159, - 6159 - ], - "disallowed" - ], - [ - [ - 6160, - 6169 - ], - "valid" - ], - [ - [ - 6170, - 6175 - ], - "disallowed" - ], - [ - [ - 6176, - 6263 - ], - "valid" - ], - [ - [ - 6264, - 6271 - ], - "disallowed" - ], - [ - [ - 6272, - 6313 - ], - "valid" - ], - [ - [ - 6314, - 6314 - ], - "valid" - ], - [ - [ - 6315, - 6319 - ], - "disallowed" - ], - [ - [ - 6320, - 6389 - ], - "valid" - ], - [ - [ - 6390, - 6399 - ], - "disallowed" - ], - [ - [ - 6400, - 6428 - ], - "valid" - ], - [ - [ - 6429, - 6430 - ], - "valid" - ], - [ - [ - 6431, - 6431 - ], - "disallowed" - ], - [ - [ - 6432, - 6443 - ], - "valid" - ], - [ - [ - 6444, - 6447 - ], - "disallowed" - ], - [ - [ - 6448, - 6459 - ], - "valid" - ], - [ - [ - 6460, - 6463 - ], - "disallowed" - ], - [ - [ - 6464, - 6464 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6465, - 6467 - ], - "disallowed" - ], - [ - [ - 6468, - 6469 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6470, - 6509 - ], - "valid" - ], - [ - [ - 6510, - 6511 - ], - "disallowed" - ], - [ - [ - 6512, - 6516 - ], - "valid" - ], - [ - [ - 6517, - 6527 - ], - "disallowed" - ], - [ - [ - 6528, - 6569 - ], - "valid" - ], - [ - [ - 6570, - 6571 - ], - "valid" - ], - [ - [ - 6572, - 6575 - ], - "disallowed" - ], - [ - [ - 6576, - 6601 - ], - "valid" - ], - [ - [ - 6602, - 6607 - ], - "disallowed" - ], - [ - [ - 6608, - 6617 - ], - "valid" - ], - [ - [ - 6618, - 6618 - ], - "valid", - [ - ], - "XV8" - ], - [ - [ - 6619, - 6621 - ], - "disallowed" - ], - [ - [ - 6622, - 6623 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6624, - 6655 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6656, - 6683 - ], - "valid" - ], - [ - [ - 6684, - 6685 - ], - "disallowed" - ], - [ - [ - 6686, - 6687 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6688, - 6750 - ], - "valid" - ], - [ - [ - 6751, - 6751 - ], - "disallowed" - ], - [ - [ - 6752, - 6780 - ], - "valid" - ], - [ - [ - 6781, - 6782 - ], - "disallowed" - ], - [ - [ - 6783, - 6793 - ], - "valid" - ], - [ - [ - 6794, - 6799 - ], - "disallowed" - ], - [ - [ - 6800, - 6809 - ], - "valid" - ], - [ - [ - 6810, - 6815 - ], - "disallowed" - ], - [ - [ - 6816, - 6822 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6823, - 6823 - ], - "valid" - ], - [ - [ - 6824, - 6829 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6830, - 6831 - ], - "disallowed" - ], - [ - [ - 6832, - 6845 - ], - "valid" - ], - [ - [ - 6846, - 6846 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 6847, - 6911 - ], - "disallowed" - ], - [ - [ - 6912, - 6987 - ], - "valid" - ], - [ - [ - 6988, - 6991 - ], - "disallowed" - ], - [ - [ - 6992, - 7001 - ], - "valid" - ], - [ - [ - 7002, - 7018 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7019, - 7027 - ], - "valid" - ], - [ - [ - 7028, - 7036 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7037, - 7039 - ], - "disallowed" - ], - [ - [ - 7040, - 7082 - ], - "valid" - ], - [ - [ - 7083, - 7085 - ], - "valid" - ], - [ - [ - 7086, - 7097 - ], - "valid" - ], - [ - [ - 7098, - 7103 - ], - "valid" - ], - [ - [ - 7104, - 7155 - ], - "valid" - ], - [ - [ - 7156, - 7163 - ], - "disallowed" - ], - [ - [ - 7164, - 7167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7168, - 7223 - ], - "valid" - ], - [ - [ - 7224, - 7226 - ], - "disallowed" - ], - [ - [ - 7227, - 7231 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7232, - 7241 - ], - "valid" - ], - [ - [ - 7242, - 7244 - ], - "disallowed" - ], - [ - [ - 7245, - 7293 - ], - "valid" - ], - [ - [ - 7294, - 7295 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7296, - 7359 - ], - "disallowed" - ], - [ - [ - 7360, - 7367 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7368, - 7375 - ], - "disallowed" - ], - [ - [ - 7376, - 7378 - ], - "valid" - ], - [ - [ - 7379, - 7379 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 7380, - 7410 - ], - "valid" - ], - [ - [ - 7411, - 7414 - ], - "valid" - ], - [ - [ - 7415, - 7415 - ], - "disallowed" - ], - [ - [ - 7416, - 7417 - ], - "valid" - ], - [ - [ - 7418, - 7423 - ], - "disallowed" - ], - [ - [ - 7424, - 7467 - ], - "valid" - ], - [ - [ - 7468, - 7468 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 7469, - 7469 - ], - "mapped", - [ - 230 - ] - ], - [ - [ - 7470, - 7470 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 7471, - 7471 - ], - "valid" - ], - [ - [ - 7472, - 7472 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 7473, - 7473 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 7474, - 7474 - ], - "mapped", - [ - 477 - ] - ], - [ - [ - 7475, - 7475 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 7476, - 7476 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 7477, - 7477 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 7478, - 7478 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 7479, - 7479 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 7480, - 7480 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 7481, - 7481 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 7482, - 7482 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 7483, - 7483 - ], - "valid" - ], - [ - [ - 7484, - 7484 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 7485, - 7485 - ], - "mapped", - [ - 547 - ] - ], - [ - [ - 7486, - 7486 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 7487, - 7487 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 7488, - 7488 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 7489, - 7489 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 7490, - 7490 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 7491, - 7491 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 7492, - 7492 - ], - "mapped", - [ - 592 - ] - ], - [ - [ - 7493, - 7493 - ], - "mapped", - [ - 593 - ] - ], - [ - [ - 7494, - 7494 - ], - "mapped", - [ - 7426 - ] - ], - [ - [ - 7495, - 7495 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 7496, - 7496 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 7497, - 7497 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 7498, - 7498 - ], - "mapped", - [ - 601 - ] - ], - [ - [ - 7499, - 7499 - ], - "mapped", - [ - 603 - ] - ], - [ - [ - 7500, - 7500 - ], - "mapped", - [ - 604 - ] - ], - [ - [ - 7501, - 7501 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 7502, - 7502 - ], - "valid" - ], - [ - [ - 7503, - 7503 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 7504, - 7504 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 7505, - 7505 - ], - "mapped", - [ - 331 - ] - ], - [ - [ - 7506, - 7506 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 7507, - 7507 - ], - "mapped", - [ - 596 - ] - ], - [ - [ - 7508, - 7508 - ], - "mapped", - [ - 7446 - ] - ], - [ - [ - 7509, - 7509 - ], - "mapped", - [ - 7447 - ] - ], - [ - [ - 7510, - 7510 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 7511, - 7511 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 7512, - 7512 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 7513, - 7513 - ], - "mapped", - [ - 7453 - ] - ], - [ - [ - 7514, - 7514 - ], - "mapped", - [ - 623 - ] - ], - [ - [ - 7515, - 7515 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 7516, - 7516 - ], - "mapped", - [ - 7461 - ] - ], - [ - [ - 7517, - 7517 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 7518, - 7518 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 7519, - 7519 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 7520, - 7520 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 7521, - 7521 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 7522, - 7522 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 7523, - 7523 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 7524, - 7524 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 7525, - 7525 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 7526, - 7526 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 7527, - 7527 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 7528, - 7528 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 7529, - 7529 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 7530, - 7530 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 7531, - 7531 - ], - "valid" - ], - [ - [ - 7532, - 7543 - ], - "valid" - ], - [ - [ - 7544, - 7544 - ], - "mapped", - [ - 1085 - ] - ], - [ - [ - 7545, - 7578 - ], - "valid" - ], - [ - [ - 7579, - 7579 - ], - "mapped", - [ - 594 - ] - ], - [ - [ - 7580, - 7580 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 7581, - 7581 - ], - "mapped", - [ - 597 - ] - ], - [ - [ - 7582, - 7582 - ], - "mapped", - [ - 240 - ] - ], - [ - [ - 7583, - 7583 - ], - "mapped", - [ - 604 - ] - ], - [ - [ - 7584, - 7584 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 7585, - 7585 - ], - "mapped", - [ - 607 - ] - ], - [ - [ - 7586, - 7586 - ], - "mapped", - [ - 609 - ] - ], - [ - [ - 7587, - 7587 - ], - "mapped", - [ - 613 - ] - ], - [ - [ - 7588, - 7588 - ], - "mapped", - [ - 616 - ] - ], - [ - [ - 7589, - 7589 - ], - "mapped", - [ - 617 - ] - ], - [ - [ - 7590, - 7590 - ], - "mapped", - [ - 618 - ] - ], - [ - [ - 7591, - 7591 - ], - "mapped", - [ - 7547 - ] - ], - [ - [ - 7592, - 7592 - ], - "mapped", - [ - 669 - ] - ], - [ - [ - 7593, - 7593 - ], - "mapped", - [ - 621 - ] - ], - [ - [ - 7594, - 7594 - ], - "mapped", - [ - 7557 - ] - ], - [ - [ - 7595, - 7595 - ], - "mapped", - [ - 671 - ] - ], - [ - [ - 7596, - 7596 - ], - "mapped", - [ - 625 - ] - ], - [ - [ - 7597, - 7597 - ], - "mapped", - [ - 624 - ] - ], - [ - [ - 7598, - 7598 - ], - "mapped", - [ - 626 - ] - ], - [ - [ - 7599, - 7599 - ], - "mapped", - [ - 627 - ] - ], - [ - [ - 7600, - 7600 - ], - "mapped", - [ - 628 - ] - ], - [ - [ - 7601, - 7601 - ], - "mapped", - [ - 629 - ] - ], - [ - [ - 7602, - 7602 - ], - "mapped", - [ - 632 - ] - ], - [ - [ - 7603, - 7603 - ], - "mapped", - [ - 642 - ] - ], - [ - [ - 7604, - 7604 - ], - "mapped", - [ - 643 - ] - ], - [ - [ - 7605, - 7605 - ], - "mapped", - [ - 427 - ] - ], - [ - [ - 7606, - 7606 - ], - "mapped", - [ - 649 - ] - ], - [ - [ - 7607, - 7607 - ], - "mapped", - [ - 650 - ] - ], - [ - [ - 7608, - 7608 - ], - "mapped", - [ - 7452 - ] - ], - [ - [ - 7609, - 7609 - ], - "mapped", - [ - 651 - ] - ], - [ - [ - 7610, - 7610 - ], - "mapped", - [ - 652 - ] - ], - [ - [ - 7611, - 7611 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 7612, - 7612 - ], - "mapped", - [ - 656 - ] - ], - [ - [ - 7613, - 7613 - ], - "mapped", - [ - 657 - ] - ], - [ - [ - 7614, - 7614 - ], - "mapped", - [ - 658 - ] - ], - [ - [ - 7615, - 7615 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 7616, - 7619 - ], - "valid" - ], - [ - [ - 7620, - 7626 - ], - "valid" - ], - [ - [ - 7627, - 7654 - ], - "valid" - ], - [ - [ - 7655, - 7669 - ], - "valid" - ], - [ - [ - 7670, - 7675 - ], - "disallowed" - ], - [ - [ - 7676, - 7676 - ], - "valid" - ], - [ - [ - 7677, - 7677 - ], - "valid" - ], - [ - [ - 7678, - 7679 - ], - "valid" - ], - [ - [ - 7680, - 7680 - ], - "mapped", - [ - 7681 - ] - ], - [ - [ - 7681, - 7681 - ], - "valid" - ], - [ - [ - 7682, - 7682 - ], - "mapped", - [ - 7683 - ] - ], - [ - [ - 7683, - 7683 - ], - "valid" - ], - [ - [ - 7684, - 7684 - ], - "mapped", - [ - 7685 - ] - ], - [ - [ - 7685, - 7685 - ], - "valid" - ], - [ - [ - 7686, - 7686 - ], - "mapped", - [ - 7687 - ] - ], - [ - [ - 7687, - 7687 - ], - "valid" - ], - [ - [ - 7688, - 7688 - ], - "mapped", - [ - 7689 - ] - ], - [ - [ - 7689, - 7689 - ], - "valid" - ], - [ - [ - 7690, - 7690 - ], - "mapped", - [ - 7691 - ] - ], - [ - [ - 7691, - 7691 - ], - "valid" - ], - [ - [ - 7692, - 7692 - ], - "mapped", - [ - 7693 - ] - ], - [ - [ - 7693, - 7693 - ], - "valid" - ], - [ - [ - 7694, - 7694 - ], - "mapped", - [ - 7695 - ] - ], - [ - [ - 7695, - 7695 - ], - "valid" - ], - [ - [ - 7696, - 7696 - ], - "mapped", - [ - 7697 - ] - ], - [ - [ - 7697, - 7697 - ], - "valid" - ], - [ - [ - 7698, - 7698 - ], - "mapped", - [ - 7699 - ] - ], - [ - [ - 7699, - 7699 - ], - "valid" - ], - [ - [ - 7700, - 7700 - ], - "mapped", - [ - 7701 - ] - ], - [ - [ - 7701, - 7701 - ], - "valid" - ], - [ - [ - 7702, - 7702 - ], - "mapped", - [ - 7703 - ] - ], - [ - [ - 7703, - 7703 - ], - "valid" - ], - [ - [ - 7704, - 7704 - ], - "mapped", - [ - 7705 - ] - ], - [ - [ - 7705, - 7705 - ], - "valid" - ], - [ - [ - 7706, - 7706 - ], - "mapped", - [ - 7707 - ] - ], - [ - [ - 7707, - 7707 - ], - "valid" - ], - [ - [ - 7708, - 7708 - ], - "mapped", - [ - 7709 - ] - ], - [ - [ - 7709, - 7709 - ], - "valid" - ], - [ - [ - 7710, - 7710 - ], - "mapped", - [ - 7711 - ] - ], - [ - [ - 7711, - 7711 - ], - "valid" - ], - [ - [ - 7712, - 7712 - ], - "mapped", - [ - 7713 - ] - ], - [ - [ - 7713, - 7713 - ], - "valid" - ], - [ - [ - 7714, - 7714 - ], - "mapped", - [ - 7715 - ] - ], - [ - [ - 7715, - 7715 - ], - "valid" - ], - [ - [ - 7716, - 7716 - ], - "mapped", - [ - 7717 - ] - ], - [ - [ - 7717, - 7717 - ], - "valid" - ], - [ - [ - 7718, - 7718 - ], - "mapped", - [ - 7719 - ] - ], - [ - [ - 7719, - 7719 - ], - "valid" - ], - [ - [ - 7720, - 7720 - ], - "mapped", - [ - 7721 - ] - ], - [ - [ - 7721, - 7721 - ], - "valid" - ], - [ - [ - 7722, - 7722 - ], - "mapped", - [ - 7723 - ] - ], - [ - [ - 7723, - 7723 - ], - "valid" - ], - [ - [ - 7724, - 7724 - ], - "mapped", - [ - 7725 - ] - ], - [ - [ - 7725, - 7725 - ], - "valid" - ], - [ - [ - 7726, - 7726 - ], - "mapped", - [ - 7727 - ] - ], - [ - [ - 7727, - 7727 - ], - "valid" - ], - [ - [ - 7728, - 7728 - ], - "mapped", - [ - 7729 - ] - ], - [ - [ - 7729, - 7729 - ], - "valid" - ], - [ - [ - 7730, - 7730 - ], - "mapped", - [ - 7731 - ] - ], - [ - [ - 7731, - 7731 - ], - "valid" - ], - [ - [ - 7732, - 7732 - ], - "mapped", - [ - 7733 - ] - ], - [ - [ - 7733, - 7733 - ], - "valid" - ], - [ - [ - 7734, - 7734 - ], - "mapped", - [ - 7735 - ] - ], - [ - [ - 7735, - 7735 - ], - "valid" - ], - [ - [ - 7736, - 7736 - ], - "mapped", - [ - 7737 - ] - ], - [ - [ - 7737, - 7737 - ], - "valid" - ], - [ - [ - 7738, - 7738 - ], - "mapped", - [ - 7739 - ] - ], - [ - [ - 7739, - 7739 - ], - "valid" - ], - [ - [ - 7740, - 7740 - ], - "mapped", - [ - 7741 - ] - ], - [ - [ - 7741, - 7741 - ], - "valid" - ], - [ - [ - 7742, - 7742 - ], - "mapped", - [ - 7743 - ] - ], - [ - [ - 7743, - 7743 - ], - "valid" - ], - [ - [ - 7744, - 7744 - ], - "mapped", - [ - 7745 - ] - ], - [ - [ - 7745, - 7745 - ], - "valid" - ], - [ - [ - 7746, - 7746 - ], - "mapped", - [ - 7747 - ] - ], - [ - [ - 7747, - 7747 - ], - "valid" - ], - [ - [ - 7748, - 7748 - ], - "mapped", - [ - 7749 - ] - ], - [ - [ - 7749, - 7749 - ], - "valid" - ], - [ - [ - 7750, - 7750 - ], - "mapped", - [ - 7751 - ] - ], - [ - [ - 7751, - 7751 - ], - "valid" - ], - [ - [ - 7752, - 7752 - ], - "mapped", - [ - 7753 - ] - ], - [ - [ - 7753, - 7753 - ], - "valid" - ], - [ - [ - 7754, - 7754 - ], - "mapped", - [ - 7755 - ] - ], - [ - [ - 7755, - 7755 - ], - "valid" - ], - [ - [ - 7756, - 7756 - ], - "mapped", - [ - 7757 - ] - ], - [ - [ - 7757, - 7757 - ], - "valid" - ], - [ - [ - 7758, - 7758 - ], - "mapped", - [ - 7759 - ] - ], - [ - [ - 7759, - 7759 - ], - "valid" - ], - [ - [ - 7760, - 7760 - ], - "mapped", - [ - 7761 - ] - ], - [ - [ - 7761, - 7761 - ], - "valid" - ], - [ - [ - 7762, - 7762 - ], - "mapped", - [ - 7763 - ] - ], - [ - [ - 7763, - 7763 - ], - "valid" - ], - [ - [ - 7764, - 7764 - ], - "mapped", - [ - 7765 - ] - ], - [ - [ - 7765, - 7765 - ], - "valid" - ], - [ - [ - 7766, - 7766 - ], - "mapped", - [ - 7767 - ] - ], - [ - [ - 7767, - 7767 - ], - "valid" - ], - [ - [ - 7768, - 7768 - ], - "mapped", - [ - 7769 - ] - ], - [ - [ - 7769, - 7769 - ], - "valid" - ], - [ - [ - 7770, - 7770 - ], - "mapped", - [ - 7771 - ] - ], - [ - [ - 7771, - 7771 - ], - "valid" - ], - [ - [ - 7772, - 7772 - ], - "mapped", - [ - 7773 - ] - ], - [ - [ - 7773, - 7773 - ], - "valid" - ], - [ - [ - 7774, - 7774 - ], - "mapped", - [ - 7775 - ] - ], - [ - [ - 7775, - 7775 - ], - "valid" - ], - [ - [ - 7776, - 7776 - ], - "mapped", - [ - 7777 - ] - ], - [ - [ - 7777, - 7777 - ], - "valid" - ], - [ - [ - 7778, - 7778 - ], - "mapped", - [ - 7779 - ] - ], - [ - [ - 7779, - 7779 - ], - "valid" - ], - [ - [ - 7780, - 7780 - ], - "mapped", - [ - 7781 - ] - ], - [ - [ - 7781, - 7781 - ], - "valid" - ], - [ - [ - 7782, - 7782 - ], - "mapped", - [ - 7783 - ] - ], - [ - [ - 7783, - 7783 - ], - "valid" - ], - [ - [ - 7784, - 7784 - ], - "mapped", - [ - 7785 - ] - ], - [ - [ - 7785, - 7785 - ], - "valid" - ], - [ - [ - 7786, - 7786 - ], - "mapped", - [ - 7787 - ] - ], - [ - [ - 7787, - 7787 - ], - "valid" - ], - [ - [ - 7788, - 7788 - ], - "mapped", - [ - 7789 - ] - ], - [ - [ - 7789, - 7789 - ], - "valid" - ], - [ - [ - 7790, - 7790 - ], - "mapped", - [ - 7791 - ] - ], - [ - [ - 7791, - 7791 - ], - "valid" - ], - [ - [ - 7792, - 7792 - ], - "mapped", - [ - 7793 - ] - ], - [ - [ - 7793, - 7793 - ], - "valid" - ], - [ - [ - 7794, - 7794 - ], - "mapped", - [ - 7795 - ] - ], - [ - [ - 7795, - 7795 - ], - "valid" - ], - [ - [ - 7796, - 7796 - ], - "mapped", - [ - 7797 - ] - ], - [ - [ - 7797, - 7797 - ], - "valid" - ], - [ - [ - 7798, - 7798 - ], - "mapped", - [ - 7799 - ] - ], - [ - [ - 7799, - 7799 - ], - "valid" - ], - [ - [ - 7800, - 7800 - ], - "mapped", - [ - 7801 - ] - ], - [ - [ - 7801, - 7801 - ], - "valid" - ], - [ - [ - 7802, - 7802 - ], - "mapped", - [ - 7803 - ] - ], - [ - [ - 7803, - 7803 - ], - "valid" - ], - [ - [ - 7804, - 7804 - ], - "mapped", - [ - 7805 - ] - ], - [ - [ - 7805, - 7805 - ], - "valid" - ], - [ - [ - 7806, - 7806 - ], - "mapped", - [ - 7807 - ] - ], - [ - [ - 7807, - 7807 - ], - "valid" - ], - [ - [ - 7808, - 7808 - ], - "mapped", - [ - 7809 - ] - ], - [ - [ - 7809, - 7809 - ], - "valid" - ], - [ - [ - 7810, - 7810 - ], - "mapped", - [ - 7811 - ] - ], - [ - [ - 7811, - 7811 - ], - "valid" - ], - [ - [ - 7812, - 7812 - ], - "mapped", - [ - 7813 - ] - ], - [ - [ - 7813, - 7813 - ], - "valid" - ], - [ - [ - 7814, - 7814 - ], - "mapped", - [ - 7815 - ] - ], - [ - [ - 7815, - 7815 - ], - "valid" - ], - [ - [ - 7816, - 7816 - ], - "mapped", - [ - 7817 - ] - ], - [ - [ - 7817, - 7817 - ], - "valid" - ], - [ - [ - 7818, - 7818 - ], - "mapped", - [ - 7819 - ] - ], - [ - [ - 7819, - 7819 - ], - "valid" - ], - [ - [ - 7820, - 7820 - ], - "mapped", - [ - 7821 - ] - ], - [ - [ - 7821, - 7821 - ], - "valid" - ], - [ - [ - 7822, - 7822 - ], - "mapped", - [ - 7823 - ] - ], - [ - [ - 7823, - 7823 - ], - "valid" - ], - [ - [ - 7824, - 7824 - ], - "mapped", - [ - 7825 - ] - ], - [ - [ - 7825, - 7825 - ], - "valid" - ], - [ - [ - 7826, - 7826 - ], - "mapped", - [ - 7827 - ] - ], - [ - [ - 7827, - 7827 - ], - "valid" - ], - [ - [ - 7828, - 7828 - ], - "mapped", - [ - 7829 - ] - ], - [ - [ - 7829, - 7833 - ], - "valid" - ], - [ - [ - 7834, - 7834 - ], - "mapped", - [ - 97, - 702 - ] - ], - [ - [ - 7835, - 7835 - ], - "mapped", - [ - 7777 - ] - ], - [ - [ - 7836, - 7837 - ], - "valid" - ], - [ - [ - 7838, - 7838 - ], - "mapped", - [ - 115, - 115 - ] - ], - [ - [ - 7839, - 7839 - ], - "valid" - ], - [ - [ - 7840, - 7840 - ], - "mapped", - [ - 7841 - ] - ], - [ - [ - 7841, - 7841 - ], - "valid" - ], - [ - [ - 7842, - 7842 - ], - "mapped", - [ - 7843 - ] - ], - [ - [ - 7843, - 7843 - ], - "valid" - ], - [ - [ - 7844, - 7844 - ], - "mapped", - [ - 7845 - ] - ], - [ - [ - 7845, - 7845 - ], - "valid" - ], - [ - [ - 7846, - 7846 - ], - "mapped", - [ - 7847 - ] - ], - [ - [ - 7847, - 7847 - ], - "valid" - ], - [ - [ - 7848, - 7848 - ], - "mapped", - [ - 7849 - ] - ], - [ - [ - 7849, - 7849 - ], - "valid" - ], - [ - [ - 7850, - 7850 - ], - "mapped", - [ - 7851 - ] - ], - [ - [ - 7851, - 7851 - ], - "valid" - ], - [ - [ - 7852, - 7852 - ], - "mapped", - [ - 7853 - ] - ], - [ - [ - 7853, - 7853 - ], - "valid" - ], - [ - [ - 7854, - 7854 - ], - "mapped", - [ - 7855 - ] - ], - [ - [ - 7855, - 7855 - ], - "valid" - ], - [ - [ - 7856, - 7856 - ], - "mapped", - [ - 7857 - ] - ], - [ - [ - 7857, - 7857 - ], - "valid" - ], - [ - [ - 7858, - 7858 - ], - "mapped", - [ - 7859 - ] - ], - [ - [ - 7859, - 7859 - ], - "valid" - ], - [ - [ - 7860, - 7860 - ], - "mapped", - [ - 7861 - ] - ], - [ - [ - 7861, - 7861 - ], - "valid" - ], - [ - [ - 7862, - 7862 - ], - "mapped", - [ - 7863 - ] - ], - [ - [ - 7863, - 7863 - ], - "valid" - ], - [ - [ - 7864, - 7864 - ], - "mapped", - [ - 7865 - ] - ], - [ - [ - 7865, - 7865 - ], - "valid" - ], - [ - [ - 7866, - 7866 - ], - "mapped", - [ - 7867 - ] - ], - [ - [ - 7867, - 7867 - ], - "valid" - ], - [ - [ - 7868, - 7868 - ], - "mapped", - [ - 7869 - ] - ], - [ - [ - 7869, - 7869 - ], - "valid" - ], - [ - [ - 7870, - 7870 - ], - "mapped", - [ - 7871 - ] - ], - [ - [ - 7871, - 7871 - ], - "valid" - ], - [ - [ - 7872, - 7872 - ], - "mapped", - [ - 7873 - ] - ], - [ - [ - 7873, - 7873 - ], - "valid" - ], - [ - [ - 7874, - 7874 - ], - "mapped", - [ - 7875 - ] - ], - [ - [ - 7875, - 7875 - ], - "valid" - ], - [ - [ - 7876, - 7876 - ], - "mapped", - [ - 7877 - ] - ], - [ - [ - 7877, - 7877 - ], - "valid" - ], - [ - [ - 7878, - 7878 - ], - "mapped", - [ - 7879 - ] - ], - [ - [ - 7879, - 7879 - ], - "valid" - ], - [ - [ - 7880, - 7880 - ], - "mapped", - [ - 7881 - ] - ], - [ - [ - 7881, - 7881 - ], - "valid" - ], - [ - [ - 7882, - 7882 - ], - "mapped", - [ - 7883 - ] - ], - [ - [ - 7883, - 7883 - ], - "valid" - ], - [ - [ - 7884, - 7884 - ], - "mapped", - [ - 7885 - ] - ], - [ - [ - 7885, - 7885 - ], - "valid" - ], - [ - [ - 7886, - 7886 - ], - "mapped", - [ - 7887 - ] - ], - [ - [ - 7887, - 7887 - ], - "valid" - ], - [ - [ - 7888, - 7888 - ], - "mapped", - [ - 7889 - ] - ], - [ - [ - 7889, - 7889 - ], - "valid" - ], - [ - [ - 7890, - 7890 - ], - "mapped", - [ - 7891 - ] - ], - [ - [ - 7891, - 7891 - ], - "valid" - ], - [ - [ - 7892, - 7892 - ], - "mapped", - [ - 7893 - ] - ], - [ - [ - 7893, - 7893 - ], - "valid" - ], - [ - [ - 7894, - 7894 - ], - "mapped", - [ - 7895 - ] - ], - [ - [ - 7895, - 7895 - ], - "valid" - ], - [ - [ - 7896, - 7896 - ], - "mapped", - [ - 7897 - ] - ], - [ - [ - 7897, - 7897 - ], - "valid" - ], - [ - [ - 7898, - 7898 - ], - "mapped", - [ - 7899 - ] - ], - [ - [ - 7899, - 7899 - ], - "valid" - ], - [ - [ - 7900, - 7900 - ], - "mapped", - [ - 7901 - ] - ], - [ - [ - 7901, - 7901 - ], - "valid" - ], - [ - [ - 7902, - 7902 - ], - "mapped", - [ - 7903 - ] - ], - [ - [ - 7903, - 7903 - ], - "valid" - ], - [ - [ - 7904, - 7904 - ], - "mapped", - [ - 7905 - ] - ], - [ - [ - 7905, - 7905 - ], - "valid" - ], - [ - [ - 7906, - 7906 - ], - "mapped", - [ - 7907 - ] - ], - [ - [ - 7907, - 7907 - ], - "valid" - ], - [ - [ - 7908, - 7908 - ], - "mapped", - [ - 7909 - ] - ], - [ - [ - 7909, - 7909 - ], - "valid" - ], - [ - [ - 7910, - 7910 - ], - "mapped", - [ - 7911 - ] - ], - [ - [ - 7911, - 7911 - ], - "valid" - ], - [ - [ - 7912, - 7912 - ], - "mapped", - [ - 7913 - ] - ], - [ - [ - 7913, - 7913 - ], - "valid" - ], - [ - [ - 7914, - 7914 - ], - "mapped", - [ - 7915 - ] - ], - [ - [ - 7915, - 7915 - ], - "valid" - ], - [ - [ - 7916, - 7916 - ], - "mapped", - [ - 7917 - ] - ], - [ - [ - 7917, - 7917 - ], - "valid" - ], - [ - [ - 7918, - 7918 - ], - "mapped", - [ - 7919 - ] - ], - [ - [ - 7919, - 7919 - ], - "valid" - ], - [ - [ - 7920, - 7920 - ], - "mapped", - [ - 7921 - ] - ], - [ - [ - 7921, - 7921 - ], - "valid" - ], - [ - [ - 7922, - 7922 - ], - "mapped", - [ - 7923 - ] - ], - [ - [ - 7923, - 7923 - ], - "valid" - ], - [ - [ - 7924, - 7924 - ], - "mapped", - [ - 7925 - ] - ], - [ - [ - 7925, - 7925 - ], - "valid" - ], - [ - [ - 7926, - 7926 - ], - "mapped", - [ - 7927 - ] - ], - [ - [ - 7927, - 7927 - ], - "valid" - ], - [ - [ - 7928, - 7928 - ], - "mapped", - [ - 7929 - ] - ], - [ - [ - 7929, - 7929 - ], - "valid" - ], - [ - [ - 7930, - 7930 - ], - "mapped", - [ - 7931 - ] - ], - [ - [ - 7931, - 7931 - ], - "valid" - ], - [ - [ - 7932, - 7932 - ], - "mapped", - [ - 7933 - ] - ], - [ - [ - 7933, - 7933 - ], - "valid" - ], - [ - [ - 7934, - 7934 - ], - "mapped", - [ - 7935 - ] - ], - [ - [ - 7935, - 7935 - ], - "valid" - ], - [ - [ - 7936, - 7943 - ], - "valid" - ], - [ - [ - 7944, - 7944 - ], - "mapped", - [ - 7936 - ] - ], - [ - [ - 7945, - 7945 - ], - "mapped", - [ - 7937 - ] - ], - [ - [ - 7946, - 7946 - ], - "mapped", - [ - 7938 - ] - ], - [ - [ - 7947, - 7947 - ], - "mapped", - [ - 7939 - ] - ], - [ - [ - 7948, - 7948 - ], - "mapped", - [ - 7940 - ] - ], - [ - [ - 7949, - 7949 - ], - "mapped", - [ - 7941 - ] - ], - [ - [ - 7950, - 7950 - ], - "mapped", - [ - 7942 - ] - ], - [ - [ - 7951, - 7951 - ], - "mapped", - [ - 7943 - ] - ], - [ - [ - 7952, - 7957 - ], - "valid" - ], - [ - [ - 7958, - 7959 - ], - "disallowed" - ], - [ - [ - 7960, - 7960 - ], - "mapped", - [ - 7952 - ] - ], - [ - [ - 7961, - 7961 - ], - "mapped", - [ - 7953 - ] - ], - [ - [ - 7962, - 7962 - ], - "mapped", - [ - 7954 - ] - ], - [ - [ - 7963, - 7963 - ], - "mapped", - [ - 7955 - ] - ], - [ - [ - 7964, - 7964 - ], - "mapped", - [ - 7956 - ] - ], - [ - [ - 7965, - 7965 - ], - "mapped", - [ - 7957 - ] - ], - [ - [ - 7966, - 7967 - ], - "disallowed" - ], - [ - [ - 7968, - 7975 - ], - "valid" - ], - [ - [ - 7976, - 7976 - ], - "mapped", - [ - 7968 - ] - ], - [ - [ - 7977, - 7977 - ], - "mapped", - [ - 7969 - ] - ], - [ - [ - 7978, - 7978 - ], - "mapped", - [ - 7970 - ] - ], - [ - [ - 7979, - 7979 - ], - "mapped", - [ - 7971 - ] - ], - [ - [ - 7980, - 7980 - ], - "mapped", - [ - 7972 - ] - ], - [ - [ - 7981, - 7981 - ], - "mapped", - [ - 7973 - ] - ], - [ - [ - 7982, - 7982 - ], - "mapped", - [ - 7974 - ] - ], - [ - [ - 7983, - 7983 - ], - "mapped", - [ - 7975 - ] - ], - [ - [ - 7984, - 7991 - ], - "valid" - ], - [ - [ - 7992, - 7992 - ], - "mapped", - [ - 7984 - ] - ], - [ - [ - 7993, - 7993 - ], - "mapped", - [ - 7985 - ] - ], - [ - [ - 7994, - 7994 - ], - "mapped", - [ - 7986 - ] - ], - [ - [ - 7995, - 7995 - ], - "mapped", - [ - 7987 - ] - ], - [ - [ - 7996, - 7996 - ], - "mapped", - [ - 7988 - ] - ], - [ - [ - 7997, - 7997 - ], - "mapped", - [ - 7989 - ] - ], - [ - [ - 7998, - 7998 - ], - "mapped", - [ - 7990 - ] - ], - [ - [ - 7999, - 7999 - ], - "mapped", - [ - 7991 - ] - ], - [ - [ - 8000, - 8005 - ], - "valid" - ], - [ - [ - 8006, - 8007 - ], - "disallowed" - ], - [ - [ - 8008, - 8008 - ], - "mapped", - [ - 8000 - ] - ], - [ - [ - 8009, - 8009 - ], - "mapped", - [ - 8001 - ] - ], - [ - [ - 8010, - 8010 - ], - "mapped", - [ - 8002 - ] - ], - [ - [ - 8011, - 8011 - ], - "mapped", - [ - 8003 - ] - ], - [ - [ - 8012, - 8012 - ], - "mapped", - [ - 8004 - ] - ], - [ - [ - 8013, - 8013 - ], - "mapped", - [ - 8005 - ] - ], - [ - [ - 8014, - 8015 - ], - "disallowed" - ], - [ - [ - 8016, - 8023 - ], - "valid" - ], - [ - [ - 8024, - 8024 - ], - "disallowed" - ], - [ - [ - 8025, - 8025 - ], - "mapped", - [ - 8017 - ] - ], - [ - [ - 8026, - 8026 - ], - "disallowed" - ], - [ - [ - 8027, - 8027 - ], - "mapped", - [ - 8019 - ] - ], - [ - [ - 8028, - 8028 - ], - "disallowed" - ], - [ - [ - 8029, - 8029 - ], - "mapped", - [ - 8021 - ] - ], - [ - [ - 8030, - 8030 - ], - "disallowed" - ], - [ - [ - 8031, - 8031 - ], - "mapped", - [ - 8023 - ] - ], - [ - [ - 8032, - 8039 - ], - "valid" - ], - [ - [ - 8040, - 8040 - ], - "mapped", - [ - 8032 - ] - ], - [ - [ - 8041, - 8041 - ], - "mapped", - [ - 8033 - ] - ], - [ - [ - 8042, - 8042 - ], - "mapped", - [ - 8034 - ] - ], - [ - [ - 8043, - 8043 - ], - "mapped", - [ - 8035 - ] - ], - [ - [ - 8044, - 8044 - ], - "mapped", - [ - 8036 - ] - ], - [ - [ - 8045, - 8045 - ], - "mapped", - [ - 8037 - ] - ], - [ - [ - 8046, - 8046 - ], - "mapped", - [ - 8038 - ] - ], - [ - [ - 8047, - 8047 - ], - "mapped", - [ - 8039 - ] - ], - [ - [ - 8048, - 8048 - ], - "valid" - ], - [ - [ - 8049, - 8049 - ], - "mapped", - [ - 940 - ] - ], - [ - [ - 8050, - 8050 - ], - "valid" - ], - [ - [ - 8051, - 8051 - ], - "mapped", - [ - 941 - ] - ], - [ - [ - 8052, - 8052 - ], - "valid" - ], - [ - [ - 8053, - 8053 - ], - "mapped", - [ - 942 - ] - ], - [ - [ - 8054, - 8054 - ], - "valid" - ], - [ - [ - 8055, - 8055 - ], - "mapped", - [ - 943 - ] - ], - [ - [ - 8056, - 8056 - ], - "valid" - ], - [ - [ - 8057, - 8057 - ], - "mapped", - [ - 972 - ] - ], - [ - [ - 8058, - 8058 - ], - "valid" - ], - [ - [ - 8059, - 8059 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 8060, - 8060 - ], - "valid" - ], - [ - [ - 8061, - 8061 - ], - "mapped", - [ - 974 - ] - ], - [ - [ - 8062, - 8063 - ], - "disallowed" - ], - [ - [ - 8064, - 8064 - ], - "mapped", - [ - 7936, - 953 - ] - ], - [ - [ - 8065, - 8065 - ], - "mapped", - [ - 7937, - 953 - ] - ], - [ - [ - 8066, - 8066 - ], - "mapped", - [ - 7938, - 953 - ] - ], - [ - [ - 8067, - 8067 - ], - "mapped", - [ - 7939, - 953 - ] - ], - [ - [ - 8068, - 8068 - ], - "mapped", - [ - 7940, - 953 - ] - ], - [ - [ - 8069, - 8069 - ], - "mapped", - [ - 7941, - 953 - ] - ], - [ - [ - 8070, - 8070 - ], - "mapped", - [ - 7942, - 953 - ] - ], - [ - [ - 8071, - 8071 - ], - "mapped", - [ - 7943, - 953 - ] - ], - [ - [ - 8072, - 8072 - ], - "mapped", - [ - 7936, - 953 - ] - ], - [ - [ - 8073, - 8073 - ], - "mapped", - [ - 7937, - 953 - ] - ], - [ - [ - 8074, - 8074 - ], - "mapped", - [ - 7938, - 953 - ] - ], - [ - [ - 8075, - 8075 - ], - "mapped", - [ - 7939, - 953 - ] - ], - [ - [ - 8076, - 8076 - ], - "mapped", - [ - 7940, - 953 - ] - ], - [ - [ - 8077, - 8077 - ], - "mapped", - [ - 7941, - 953 - ] - ], - [ - [ - 8078, - 8078 - ], - "mapped", - [ - 7942, - 953 - ] - ], - [ - [ - 8079, - 8079 - ], - "mapped", - [ - 7943, - 953 - ] - ], - [ - [ - 8080, - 8080 - ], - "mapped", - [ - 7968, - 953 - ] - ], - [ - [ - 8081, - 8081 - ], - "mapped", - [ - 7969, - 953 - ] - ], - [ - [ - 8082, - 8082 - ], - "mapped", - [ - 7970, - 953 - ] - ], - [ - [ - 8083, - 8083 - ], - "mapped", - [ - 7971, - 953 - ] - ], - [ - [ - 8084, - 8084 - ], - "mapped", - [ - 7972, - 953 - ] - ], - [ - [ - 8085, - 8085 - ], - "mapped", - [ - 7973, - 953 - ] - ], - [ - [ - 8086, - 8086 - ], - "mapped", - [ - 7974, - 953 - ] - ], - [ - [ - 8087, - 8087 - ], - "mapped", - [ - 7975, - 953 - ] - ], - [ - [ - 8088, - 8088 - ], - "mapped", - [ - 7968, - 953 - ] - ], - [ - [ - 8089, - 8089 - ], - "mapped", - [ - 7969, - 953 - ] - ], - [ - [ - 8090, - 8090 - ], - "mapped", - [ - 7970, - 953 - ] - ], - [ - [ - 8091, - 8091 - ], - "mapped", - [ - 7971, - 953 - ] - ], - [ - [ - 8092, - 8092 - ], - "mapped", - [ - 7972, - 953 - ] - ], - [ - [ - 8093, - 8093 - ], - "mapped", - [ - 7973, - 953 - ] - ], - [ - [ - 8094, - 8094 - ], - "mapped", - [ - 7974, - 953 - ] - ], - [ - [ - 8095, - 8095 - ], - "mapped", - [ - 7975, - 953 - ] - ], - [ - [ - 8096, - 8096 - ], - "mapped", - [ - 8032, - 953 - ] - ], - [ - [ - 8097, - 8097 - ], - "mapped", - [ - 8033, - 953 - ] - ], - [ - [ - 8098, - 8098 - ], - "mapped", - [ - 8034, - 953 - ] - ], - [ - [ - 8099, - 8099 - ], - "mapped", - [ - 8035, - 953 - ] - ], - [ - [ - 8100, - 8100 - ], - "mapped", - [ - 8036, - 953 - ] - ], - [ - [ - 8101, - 8101 - ], - "mapped", - [ - 8037, - 953 - ] - ], - [ - [ - 8102, - 8102 - ], - "mapped", - [ - 8038, - 953 - ] - ], - [ - [ - 8103, - 8103 - ], - "mapped", - [ - 8039, - 953 - ] - ], - [ - [ - 8104, - 8104 - ], - "mapped", - [ - 8032, - 953 - ] - ], - [ - [ - 8105, - 8105 - ], - "mapped", - [ - 8033, - 953 - ] - ], - [ - [ - 8106, - 8106 - ], - "mapped", - [ - 8034, - 953 - ] - ], - [ - [ - 8107, - 8107 - ], - "mapped", - [ - 8035, - 953 - ] - ], - [ - [ - 8108, - 8108 - ], - "mapped", - [ - 8036, - 953 - ] - ], - [ - [ - 8109, - 8109 - ], - "mapped", - [ - 8037, - 953 - ] - ], - [ - [ - 8110, - 8110 - ], - "mapped", - [ - 8038, - 953 - ] - ], - [ - [ - 8111, - 8111 - ], - "mapped", - [ - 8039, - 953 - ] - ], - [ - [ - 8112, - 8113 - ], - "valid" - ], - [ - [ - 8114, - 8114 - ], - "mapped", - [ - 8048, - 953 - ] - ], - [ - [ - 8115, - 8115 - ], - "mapped", - [ - 945, - 953 - ] - ], - [ - [ - 8116, - 8116 - ], - "mapped", - [ - 940, - 953 - ] - ], - [ - [ - 8117, - 8117 - ], - "disallowed" - ], - [ - [ - 8118, - 8118 - ], - "valid" - ], - [ - [ - 8119, - 8119 - ], - "mapped", - [ - 8118, - 953 - ] - ], - [ - [ - 8120, - 8120 - ], - "mapped", - [ - 8112 - ] - ], - [ - [ - 8121, - 8121 - ], - "mapped", - [ - 8113 - ] - ], - [ - [ - 8122, - 8122 - ], - "mapped", - [ - 8048 - ] - ], - [ - [ - 8123, - 8123 - ], - "mapped", - [ - 940 - ] - ], - [ - [ - 8124, - 8124 - ], - "mapped", - [ - 945, - 953 - ] - ], - [ - [ - 8125, - 8125 - ], - "disallowed_STD3_mapped", - [ - 32, - 787 - ] - ], - [ - [ - 8126, - 8126 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 8127, - 8127 - ], - "disallowed_STD3_mapped", - [ - 32, - 787 - ] - ], - [ - [ - 8128, - 8128 - ], - "disallowed_STD3_mapped", - [ - 32, - 834 - ] - ], - [ - [ - 8129, - 8129 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 834 - ] - ], - [ - [ - 8130, - 8130 - ], - "mapped", - [ - 8052, - 953 - ] - ], - [ - [ - 8131, - 8131 - ], - "mapped", - [ - 951, - 953 - ] - ], - [ - [ - 8132, - 8132 - ], - "mapped", - [ - 942, - 953 - ] - ], - [ - [ - 8133, - 8133 - ], - "disallowed" - ], - [ - [ - 8134, - 8134 - ], - "valid" - ], - [ - [ - 8135, - 8135 - ], - "mapped", - [ - 8134, - 953 - ] - ], - [ - [ - 8136, - 8136 - ], - "mapped", - [ - 8050 - ] - ], - [ - [ - 8137, - 8137 - ], - "mapped", - [ - 941 - ] - ], - [ - [ - 8138, - 8138 - ], - "mapped", - [ - 8052 - ] - ], - [ - [ - 8139, - 8139 - ], - "mapped", - [ - 942 - ] - ], - [ - [ - 8140, - 8140 - ], - "mapped", - [ - 951, - 953 - ] - ], - [ - [ - 8141, - 8141 - ], - "disallowed_STD3_mapped", - [ - 32, - 787, - 768 - ] - ], - [ - [ - 8142, - 8142 - ], - "disallowed_STD3_mapped", - [ - 32, - 787, - 769 - ] - ], - [ - [ - 8143, - 8143 - ], - "disallowed_STD3_mapped", - [ - 32, - 787, - 834 - ] - ], - [ - [ - 8144, - 8146 - ], - "valid" - ], - [ - [ - 8147, - 8147 - ], - "mapped", - [ - 912 - ] - ], - [ - [ - 8148, - 8149 - ], - "disallowed" - ], - [ - [ - 8150, - 8151 - ], - "valid" - ], - [ - [ - 8152, - 8152 - ], - "mapped", - [ - 8144 - ] - ], - [ - [ - 8153, - 8153 - ], - "mapped", - [ - 8145 - ] - ], - [ - [ - 8154, - 8154 - ], - "mapped", - [ - 8054 - ] - ], - [ - [ - 8155, - 8155 - ], - "mapped", - [ - 943 - ] - ], - [ - [ - 8156, - 8156 - ], - "disallowed" - ], - [ - [ - 8157, - 8157 - ], - "disallowed_STD3_mapped", - [ - 32, - 788, - 768 - ] - ], - [ - [ - 8158, - 8158 - ], - "disallowed_STD3_mapped", - [ - 32, - 788, - 769 - ] - ], - [ - [ - 8159, - 8159 - ], - "disallowed_STD3_mapped", - [ - 32, - 788, - 834 - ] - ], - [ - [ - 8160, - 8162 - ], - "valid" - ], - [ - [ - 8163, - 8163 - ], - "mapped", - [ - 944 - ] - ], - [ - [ - 8164, - 8167 - ], - "valid" - ], - [ - [ - 8168, - 8168 - ], - "mapped", - [ - 8160 - ] - ], - [ - [ - 8169, - 8169 - ], - "mapped", - [ - 8161 - ] - ], - [ - [ - 8170, - 8170 - ], - "mapped", - [ - 8058 - ] - ], - [ - [ - 8171, - 8171 - ], - "mapped", - [ - 973 - ] - ], - [ - [ - 8172, - 8172 - ], - "mapped", - [ - 8165 - ] - ], - [ - [ - 8173, - 8173 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 768 - ] - ], - [ - [ - 8174, - 8174 - ], - "disallowed_STD3_mapped", - [ - 32, - 776, - 769 - ] - ], - [ - [ - 8175, - 8175 - ], - "disallowed_STD3_mapped", - [ - 96 - ] - ], - [ - [ - 8176, - 8177 - ], - "disallowed" - ], - [ - [ - 8178, - 8178 - ], - "mapped", - [ - 8060, - 953 - ] - ], - [ - [ - 8179, - 8179 - ], - "mapped", - [ - 969, - 953 - ] - ], - [ - [ - 8180, - 8180 - ], - "mapped", - [ - 974, - 953 - ] - ], - [ - [ - 8181, - 8181 - ], - "disallowed" - ], - [ - [ - 8182, - 8182 - ], - "valid" - ], - [ - [ - 8183, - 8183 - ], - "mapped", - [ - 8182, - 953 - ] - ], - [ - [ - 8184, - 8184 - ], - "mapped", - [ - 8056 - ] - ], - [ - [ - 8185, - 8185 - ], - "mapped", - [ - 972 - ] - ], - [ - [ - 8186, - 8186 - ], - "mapped", - [ - 8060 - ] - ], - [ - [ - 8187, - 8187 - ], - "mapped", - [ - 974 - ] - ], - [ - [ - 8188, - 8188 - ], - "mapped", - [ - 969, - 953 - ] - ], - [ - [ - 8189, - 8189 - ], - "disallowed_STD3_mapped", - [ - 32, - 769 - ] - ], - [ - [ - 8190, - 8190 - ], - "disallowed_STD3_mapped", - [ - 32, - 788 - ] - ], - [ - [ - 8191, - 8191 - ], - "disallowed" - ], - [ - [ - 8192, - 8202 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 8203, - 8203 - ], - "ignored" - ], - [ - [ - 8204, - 8205 - ], - "deviation", - [ - ] - ], - [ - [ - 8206, - 8207 - ], - "disallowed" - ], - [ - [ - 8208, - 8208 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8209, - 8209 - ], - "mapped", - [ - 8208 - ] - ], - [ - [ - 8210, - 8214 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8215, - 8215 - ], - "disallowed_STD3_mapped", - [ - 32, - 819 - ] - ], - [ - [ - 8216, - 8227 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8228, - 8230 - ], - "disallowed" - ], - [ - [ - 8231, - 8231 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8232, - 8238 - ], - "disallowed" - ], - [ - [ - 8239, - 8239 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 8240, - 8242 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8243, - 8243 - ], - "mapped", - [ - 8242, - 8242 - ] - ], - [ - [ - 8244, - 8244 - ], - "mapped", - [ - 8242, - 8242, - 8242 - ] - ], - [ - [ - 8245, - 8245 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8246, - 8246 - ], - "mapped", - [ - 8245, - 8245 - ] - ], - [ - [ - 8247, - 8247 - ], - "mapped", - [ - 8245, - 8245, - 8245 - ] - ], - [ - [ - 8248, - 8251 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8252, - 8252 - ], - "disallowed_STD3_mapped", - [ - 33, - 33 - ] - ], - [ - [ - 8253, - 8253 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8254, - 8254 - ], - "disallowed_STD3_mapped", - [ - 32, - 773 - ] - ], - [ - [ - 8255, - 8262 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8263, - 8263 - ], - "disallowed_STD3_mapped", - [ - 63, - 63 - ] - ], - [ - [ - 8264, - 8264 - ], - "disallowed_STD3_mapped", - [ - 63, - 33 - ] - ], - [ - [ - 8265, - 8265 - ], - "disallowed_STD3_mapped", - [ - 33, - 63 - ] - ], - [ - [ - 8266, - 8269 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8270, - 8274 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8275, - 8276 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8277, - 8278 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8279, - 8279 - ], - "mapped", - [ - 8242, - 8242, - 8242, - 8242 - ] - ], - [ - [ - 8280, - 8286 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8287, - 8287 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 8288, - 8288 - ], - "ignored" - ], - [ - [ - 8289, - 8291 - ], - "disallowed" - ], - [ - [ - 8292, - 8292 - ], - "ignored" - ], - [ - [ - 8293, - 8293 - ], - "disallowed" - ], - [ - [ - 8294, - 8297 - ], - "disallowed" - ], - [ - [ - 8298, - 8303 - ], - "disallowed" - ], - [ - [ - 8304, - 8304 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 8305, - 8305 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8306, - 8307 - ], - "disallowed" - ], - [ - [ - 8308, - 8308 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 8309, - 8309 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 8310, - 8310 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 8311, - 8311 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 8312, - 8312 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 8313, - 8313 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 8314, - 8314 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 8315, - 8315 - ], - "mapped", - [ - 8722 - ] - ], - [ - [ - 8316, - 8316 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 8317, - 8317 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 8318, - 8318 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 8319, - 8319 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 8320, - 8320 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 8321, - 8321 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 8322, - 8322 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 8323, - 8323 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 8324, - 8324 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 8325, - 8325 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 8326, - 8326 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 8327, - 8327 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 8328, - 8328 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 8329, - 8329 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 8330, - 8330 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 8331, - 8331 - ], - "mapped", - [ - 8722 - ] - ], - [ - [ - 8332, - 8332 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 8333, - 8333 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 8334, - 8334 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 8335, - 8335 - ], - "disallowed" - ], - [ - [ - 8336, - 8336 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 8337, - 8337 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 8338, - 8338 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 8339, - 8339 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 8340, - 8340 - ], - "mapped", - [ - 601 - ] - ], - [ - [ - 8341, - 8341 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 8342, - 8342 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 8343, - 8343 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8344, - 8344 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8345, - 8345 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 8346, - 8346 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 8347, - 8347 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 8348, - 8348 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 8349, - 8351 - ], - "disallowed" - ], - [ - [ - 8352, - 8359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8360, - 8360 - ], - "mapped", - [ - 114, - 115 - ] - ], - [ - [ - 8361, - 8362 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8363, - 8363 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8364, - 8364 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8365, - 8367 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8368, - 8369 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8370, - 8373 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8374, - 8376 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8377, - 8377 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8378, - 8378 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8379, - 8381 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8382, - 8382 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8383, - 8399 - ], - "disallowed" - ], - [ - [ - 8400, - 8417 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8418, - 8419 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8420, - 8426 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8427, - 8427 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8428, - 8431 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8432, - 8432 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8433, - 8447 - ], - "disallowed" - ], - [ - [ - 8448, - 8448 - ], - "disallowed_STD3_mapped", - [ - 97, - 47, - 99 - ] - ], - [ - [ - 8449, - 8449 - ], - "disallowed_STD3_mapped", - [ - 97, - 47, - 115 - ] - ], - [ - [ - 8450, - 8450 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8451, - 8451 - ], - "mapped", - [ - 176, - 99 - ] - ], - [ - [ - 8452, - 8452 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8453, - 8453 - ], - "disallowed_STD3_mapped", - [ - 99, - 47, - 111 - ] - ], - [ - [ - 8454, - 8454 - ], - "disallowed_STD3_mapped", - [ - 99, - 47, - 117 - ] - ], - [ - [ - 8455, - 8455 - ], - "mapped", - [ - 603 - ] - ], - [ - [ - 8456, - 8456 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8457, - 8457 - ], - "mapped", - [ - 176, - 102 - ] - ], - [ - [ - 8458, - 8458 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 8459, - 8462 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 8463, - 8463 - ], - "mapped", - [ - 295 - ] - ], - [ - [ - 8464, - 8465 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8466, - 8467 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8468, - 8468 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8469, - 8469 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 8470, - 8470 - ], - "mapped", - [ - 110, - 111 - ] - ], - [ - [ - 8471, - 8472 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8473, - 8473 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 8474, - 8474 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 8475, - 8477 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 8478, - 8479 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8480, - 8480 - ], - "mapped", - [ - 115, - 109 - ] - ], - [ - [ - 8481, - 8481 - ], - "mapped", - [ - 116, - 101, - 108 - ] - ], - [ - [ - 8482, - 8482 - ], - "mapped", - [ - 116, - 109 - ] - ], - [ - [ - 8483, - 8483 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8484, - 8484 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 8485, - 8485 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8486, - 8486 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 8487, - 8487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8488, - 8488 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 8489, - 8489 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8490, - 8490 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 8491, - 8491 - ], - "mapped", - [ - 229 - ] - ], - [ - [ - 8492, - 8492 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 8493, - 8493 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8494, - 8494 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8495, - 8496 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 8497, - 8497 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 8498, - 8498 - ], - "disallowed" - ], - [ - [ - 8499, - 8499 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8500, - 8500 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 8501, - 8501 - ], - "mapped", - [ - 1488 - ] - ], - [ - [ - 8502, - 8502 - ], - "mapped", - [ - 1489 - ] - ], - [ - [ - 8503, - 8503 - ], - "mapped", - [ - 1490 - ] - ], - [ - [ - 8504, - 8504 - ], - "mapped", - [ - 1491 - ] - ], - [ - [ - 8505, - 8505 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8506, - 8506 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8507, - 8507 - ], - "mapped", - [ - 102, - 97, - 120 - ] - ], - [ - [ - 8508, - 8508 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 8509, - 8510 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 8511, - 8511 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 8512, - 8512 - ], - "mapped", - [ - 8721 - ] - ], - [ - [ - 8513, - 8516 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8517, - 8518 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 8519, - 8519 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 8520, - 8520 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8521, - 8521 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 8522, - 8523 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8524, - 8524 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8525, - 8525 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8526, - 8526 - ], - "valid" - ], - [ - [ - 8527, - 8527 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8528, - 8528 - ], - "mapped", - [ - 49, - 8260, - 55 - ] - ], - [ - [ - 8529, - 8529 - ], - "mapped", - [ - 49, - 8260, - 57 - ] - ], - [ - [ - 8530, - 8530 - ], - "mapped", - [ - 49, - 8260, - 49, - 48 - ] - ], - [ - [ - 8531, - 8531 - ], - "mapped", - [ - 49, - 8260, - 51 - ] - ], - [ - [ - 8532, - 8532 - ], - "mapped", - [ - 50, - 8260, - 51 - ] - ], - [ - [ - 8533, - 8533 - ], - "mapped", - [ - 49, - 8260, - 53 - ] - ], - [ - [ - 8534, - 8534 - ], - "mapped", - [ - 50, - 8260, - 53 - ] - ], - [ - [ - 8535, - 8535 - ], - "mapped", - [ - 51, - 8260, - 53 - ] - ], - [ - [ - 8536, - 8536 - ], - "mapped", - [ - 52, - 8260, - 53 - ] - ], - [ - [ - 8537, - 8537 - ], - "mapped", - [ - 49, - 8260, - 54 - ] - ], - [ - [ - 8538, - 8538 - ], - "mapped", - [ - 53, - 8260, - 54 - ] - ], - [ - [ - 8539, - 8539 - ], - "mapped", - [ - 49, - 8260, - 56 - ] - ], - [ - [ - 8540, - 8540 - ], - "mapped", - [ - 51, - 8260, - 56 - ] - ], - [ - [ - 8541, - 8541 - ], - "mapped", - [ - 53, - 8260, - 56 - ] - ], - [ - [ - 8542, - 8542 - ], - "mapped", - [ - 55, - 8260, - 56 - ] - ], - [ - [ - 8543, - 8543 - ], - "mapped", - [ - 49, - 8260 - ] - ], - [ - [ - 8544, - 8544 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8545, - 8545 - ], - "mapped", - [ - 105, - 105 - ] - ], - [ - [ - 8546, - 8546 - ], - "mapped", - [ - 105, - 105, - 105 - ] - ], - [ - [ - 8547, - 8547 - ], - "mapped", - [ - 105, - 118 - ] - ], - [ - [ - 8548, - 8548 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 8549, - 8549 - ], - "mapped", - [ - 118, - 105 - ] - ], - [ - [ - 8550, - 8550 - ], - "mapped", - [ - 118, - 105, - 105 - ] - ], - [ - [ - 8551, - 8551 - ], - "mapped", - [ - 118, - 105, - 105, - 105 - ] - ], - [ - [ - 8552, - 8552 - ], - "mapped", - [ - 105, - 120 - ] - ], - [ - [ - 8553, - 8553 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 8554, - 8554 - ], - "mapped", - [ - 120, - 105 - ] - ], - [ - [ - 8555, - 8555 - ], - "mapped", - [ - 120, - 105, - 105 - ] - ], - [ - [ - 8556, - 8556 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8557, - 8557 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8558, - 8558 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 8559, - 8559 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8560, - 8560 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 8561, - 8561 - ], - "mapped", - [ - 105, - 105 - ] - ], - [ - [ - 8562, - 8562 - ], - "mapped", - [ - 105, - 105, - 105 - ] - ], - [ - [ - 8563, - 8563 - ], - "mapped", - [ - 105, - 118 - ] - ], - [ - [ - 8564, - 8564 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 8565, - 8565 - ], - "mapped", - [ - 118, - 105 - ] - ], - [ - [ - 8566, - 8566 - ], - "mapped", - [ - 118, - 105, - 105 - ] - ], - [ - [ - 8567, - 8567 - ], - "mapped", - [ - 118, - 105, - 105, - 105 - ] - ], - [ - [ - 8568, - 8568 - ], - "mapped", - [ - 105, - 120 - ] - ], - [ - [ - 8569, - 8569 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 8570, - 8570 - ], - "mapped", - [ - 120, - 105 - ] - ], - [ - [ - 8571, - 8571 - ], - "mapped", - [ - 120, - 105, - 105 - ] - ], - [ - [ - 8572, - 8572 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 8573, - 8573 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 8574, - 8574 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 8575, - 8575 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 8576, - 8578 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8579, - 8579 - ], - "disallowed" - ], - [ - [ - 8580, - 8580 - ], - "valid" - ], - [ - [ - 8581, - 8584 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8585, - 8585 - ], - "mapped", - [ - 48, - 8260, - 51 - ] - ], - [ - [ - 8586, - 8587 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8588, - 8591 - ], - "disallowed" - ], - [ - [ - 8592, - 8682 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8683, - 8691 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8692, - 8703 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8704, - 8747 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8748, - 8748 - ], - "mapped", - [ - 8747, - 8747 - ] - ], - [ - [ - 8749, - 8749 - ], - "mapped", - [ - 8747, - 8747, - 8747 - ] - ], - [ - [ - 8750, - 8750 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8751, - 8751 - ], - "mapped", - [ - 8750, - 8750 - ] - ], - [ - [ - 8752, - 8752 - ], - "mapped", - [ - 8750, - 8750, - 8750 - ] - ], - [ - [ - 8753, - 8799 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8800, - 8800 - ], - "disallowed_STD3_valid" - ], - [ - [ - 8801, - 8813 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8814, - 8815 - ], - "disallowed_STD3_valid" - ], - [ - [ - 8816, - 8945 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8946, - 8959 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8960, - 8960 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8961, - 8961 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 8962, - 9000 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9001, - 9001 - ], - "mapped", - [ - 12296 - ] - ], - [ - [ - 9002, - 9002 - ], - "mapped", - [ - 12297 - ] - ], - [ - [ - 9003, - 9082 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9083, - 9083 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9084, - 9084 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9085, - 9114 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9115, - 9166 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9167, - 9168 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9169, - 9179 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9180, - 9191 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9192, - 9192 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9193, - 9203 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9204, - 9210 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9211, - 9215 - ], - "disallowed" - ], - [ - [ - 9216, - 9252 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9253, - 9254 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9255, - 9279 - ], - "disallowed" - ], - [ - [ - 9280, - 9290 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9291, - 9311 - ], - "disallowed" - ], - [ - [ - 9312, - 9312 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 9313, - 9313 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 9314, - 9314 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 9315, - 9315 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 9316, - 9316 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 9317, - 9317 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 9318, - 9318 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 9319, - 9319 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 9320, - 9320 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 9321, - 9321 - ], - "mapped", - [ - 49, - 48 - ] - ], - [ - [ - 9322, - 9322 - ], - "mapped", - [ - 49, - 49 - ] - ], - [ - [ - 9323, - 9323 - ], - "mapped", - [ - 49, - 50 - ] - ], - [ - [ - 9324, - 9324 - ], - "mapped", - [ - 49, - 51 - ] - ], - [ - [ - 9325, - 9325 - ], - "mapped", - [ - 49, - 52 - ] - ], - [ - [ - 9326, - 9326 - ], - "mapped", - [ - 49, - 53 - ] - ], - [ - [ - 9327, - 9327 - ], - "mapped", - [ - 49, - 54 - ] - ], - [ - [ - 9328, - 9328 - ], - "mapped", - [ - 49, - 55 - ] - ], - [ - [ - 9329, - 9329 - ], - "mapped", - [ - 49, - 56 - ] - ], - [ - [ - 9330, - 9330 - ], - "mapped", - [ - 49, - 57 - ] - ], - [ - [ - 9331, - 9331 - ], - "mapped", - [ - 50, - 48 - ] - ], - [ - [ - 9332, - 9332 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 41 - ] - ], - [ - [ - 9333, - 9333 - ], - "disallowed_STD3_mapped", - [ - 40, - 50, - 41 - ] - ], - [ - [ - 9334, - 9334 - ], - "disallowed_STD3_mapped", - [ - 40, - 51, - 41 - ] - ], - [ - [ - 9335, - 9335 - ], - "disallowed_STD3_mapped", - [ - 40, - 52, - 41 - ] - ], - [ - [ - 9336, - 9336 - ], - "disallowed_STD3_mapped", - [ - 40, - 53, - 41 - ] - ], - [ - [ - 9337, - 9337 - ], - "disallowed_STD3_mapped", - [ - 40, - 54, - 41 - ] - ], - [ - [ - 9338, - 9338 - ], - "disallowed_STD3_mapped", - [ - 40, - 55, - 41 - ] - ], - [ - [ - 9339, - 9339 - ], - "disallowed_STD3_mapped", - [ - 40, - 56, - 41 - ] - ], - [ - [ - 9340, - 9340 - ], - "disallowed_STD3_mapped", - [ - 40, - 57, - 41 - ] - ], - [ - [ - 9341, - 9341 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 48, - 41 - ] - ], - [ - [ - 9342, - 9342 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 49, - 41 - ] - ], - [ - [ - 9343, - 9343 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 50, - 41 - ] - ], - [ - [ - 9344, - 9344 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 51, - 41 - ] - ], - [ - [ - 9345, - 9345 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 52, - 41 - ] - ], - [ - [ - 9346, - 9346 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 53, - 41 - ] - ], - [ - [ - 9347, - 9347 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 54, - 41 - ] - ], - [ - [ - 9348, - 9348 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 55, - 41 - ] - ], - [ - [ - 9349, - 9349 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 56, - 41 - ] - ], - [ - [ - 9350, - 9350 - ], - "disallowed_STD3_mapped", - [ - 40, - 49, - 57, - 41 - ] - ], - [ - [ - 9351, - 9351 - ], - "disallowed_STD3_mapped", - [ - 40, - 50, - 48, - 41 - ] - ], - [ - [ - 9352, - 9371 - ], - "disallowed" - ], - [ - [ - 9372, - 9372 - ], - "disallowed_STD3_mapped", - [ - 40, - 97, - 41 - ] - ], - [ - [ - 9373, - 9373 - ], - "disallowed_STD3_mapped", - [ - 40, - 98, - 41 - ] - ], - [ - [ - 9374, - 9374 - ], - "disallowed_STD3_mapped", - [ - 40, - 99, - 41 - ] - ], - [ - [ - 9375, - 9375 - ], - "disallowed_STD3_mapped", - [ - 40, - 100, - 41 - ] - ], - [ - [ - 9376, - 9376 - ], - "disallowed_STD3_mapped", - [ - 40, - 101, - 41 - ] - ], - [ - [ - 9377, - 9377 - ], - "disallowed_STD3_mapped", - [ - 40, - 102, - 41 - ] - ], - [ - [ - 9378, - 9378 - ], - "disallowed_STD3_mapped", - [ - 40, - 103, - 41 - ] - ], - [ - [ - 9379, - 9379 - ], - "disallowed_STD3_mapped", - [ - 40, - 104, - 41 - ] - ], - [ - [ - 9380, - 9380 - ], - "disallowed_STD3_mapped", - [ - 40, - 105, - 41 - ] - ], - [ - [ - 9381, - 9381 - ], - "disallowed_STD3_mapped", - [ - 40, - 106, - 41 - ] - ], - [ - [ - 9382, - 9382 - ], - "disallowed_STD3_mapped", - [ - 40, - 107, - 41 - ] - ], - [ - [ - 9383, - 9383 - ], - "disallowed_STD3_mapped", - [ - 40, - 108, - 41 - ] - ], - [ - [ - 9384, - 9384 - ], - "disallowed_STD3_mapped", - [ - 40, - 109, - 41 - ] - ], - [ - [ - 9385, - 9385 - ], - "disallowed_STD3_mapped", - [ - 40, - 110, - 41 - ] - ], - [ - [ - 9386, - 9386 - ], - "disallowed_STD3_mapped", - [ - 40, - 111, - 41 - ] - ], - [ - [ - 9387, - 9387 - ], - "disallowed_STD3_mapped", - [ - 40, - 112, - 41 - ] - ], - [ - [ - 9388, - 9388 - ], - "disallowed_STD3_mapped", - [ - 40, - 113, - 41 - ] - ], - [ - [ - 9389, - 9389 - ], - "disallowed_STD3_mapped", - [ - 40, - 114, - 41 - ] - ], - [ - [ - 9390, - 9390 - ], - "disallowed_STD3_mapped", - [ - 40, - 115, - 41 - ] - ], - [ - [ - 9391, - 9391 - ], - "disallowed_STD3_mapped", - [ - 40, - 116, - 41 - ] - ], - [ - [ - 9392, - 9392 - ], - "disallowed_STD3_mapped", - [ - 40, - 117, - 41 - ] - ], - [ - [ - 9393, - 9393 - ], - "disallowed_STD3_mapped", - [ - 40, - 118, - 41 - ] - ], - [ - [ - 9394, - 9394 - ], - "disallowed_STD3_mapped", - [ - 40, - 119, - 41 - ] - ], - [ - [ - 9395, - 9395 - ], - "disallowed_STD3_mapped", - [ - 40, - 120, - 41 - ] - ], - [ - [ - 9396, - 9396 - ], - "disallowed_STD3_mapped", - [ - 40, - 121, - 41 - ] - ], - [ - [ - 9397, - 9397 - ], - "disallowed_STD3_mapped", - [ - 40, - 122, - 41 - ] - ], - [ - [ - 9398, - 9398 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 9399, - 9399 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 9400, - 9400 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 9401, - 9401 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 9402, - 9402 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 9403, - 9403 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 9404, - 9404 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 9405, - 9405 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 9406, - 9406 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 9407, - 9407 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 9408, - 9408 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 9409, - 9409 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 9410, - 9410 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 9411, - 9411 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 9412, - 9412 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 9413, - 9413 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 9414, - 9414 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 9415, - 9415 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 9416, - 9416 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 9417, - 9417 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 9418, - 9418 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 9419, - 9419 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 9420, - 9420 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 9421, - 9421 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 9422, - 9422 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 9423, - 9423 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 9424, - 9424 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 9425, - 9425 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 9426, - 9426 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 9427, - 9427 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 9428, - 9428 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 9429, - 9429 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 9430, - 9430 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 9431, - 9431 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 9432, - 9432 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 9433, - 9433 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 9434, - 9434 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 9435, - 9435 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 9436, - 9436 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 9437, - 9437 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 9438, - 9438 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 9439, - 9439 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 9440, - 9440 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 9441, - 9441 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 9442, - 9442 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 9443, - 9443 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 9444, - 9444 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 9445, - 9445 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 9446, - 9446 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 9447, - 9447 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 9448, - 9448 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 9449, - 9449 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 9450, - 9450 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 9451, - 9470 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9471, - 9471 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9472, - 9621 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9622, - 9631 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9632, - 9711 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9712, - 9719 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9720, - 9727 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9728, - 9747 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9748, - 9749 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9750, - 9751 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9752, - 9752 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9753, - 9753 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9754, - 9839 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9840, - 9841 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9842, - 9853 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9854, - 9855 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9856, - 9865 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9866, - 9873 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9874, - 9884 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9885, - 9885 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9886, - 9887 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9888, - 9889 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9890, - 9905 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9906, - 9906 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9907, - 9916 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9917, - 9919 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9920, - 9923 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9924, - 9933 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9934, - 9934 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9935, - 9953 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9954, - 9954 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9955, - 9955 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9956, - 9959 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9960, - 9983 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9984, - 9984 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9985, - 9988 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9989, - 9989 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9990, - 9993 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9994, - 9995 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 9996, - 10023 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10024, - 10024 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10025, - 10059 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10060, - 10060 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10061, - 10061 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10062, - 10062 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10063, - 10066 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10067, - 10069 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10070, - 10070 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10071, - 10071 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10072, - 10078 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10079, - 10080 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10081, - 10087 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10088, - 10101 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10102, - 10132 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10133, - 10135 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10136, - 10159 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10160, - 10160 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10161, - 10174 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10175, - 10175 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10176, - 10182 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10183, - 10186 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10187, - 10187 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10188, - 10188 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10189, - 10189 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10190, - 10191 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10192, - 10219 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10220, - 10223 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10224, - 10239 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10240, - 10495 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10496, - 10763 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10764, - 10764 - ], - "mapped", - [ - 8747, - 8747, - 8747, - 8747 - ] - ], - [ - [ - 10765, - 10867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10868, - 10868 - ], - "disallowed_STD3_mapped", - [ - 58, - 58, - 61 - ] - ], - [ - [ - 10869, - 10869 - ], - "disallowed_STD3_mapped", - [ - 61, - 61 - ] - ], - [ - [ - 10870, - 10870 - ], - "disallowed_STD3_mapped", - [ - 61, - 61, - 61 - ] - ], - [ - [ - 10871, - 10971 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 10972, - 10972 - ], - "mapped", - [ - 10973, - 824 - ] - ], - [ - [ - 10973, - 11007 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11008, - 11021 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11022, - 11027 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11028, - 11034 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11035, - 11039 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11040, - 11043 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11044, - 11084 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11085, - 11087 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11088, - 11092 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11093, - 11097 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11098, - 11123 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11124, - 11125 - ], - "disallowed" - ], - [ - [ - 11126, - 11157 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11158, - 11159 - ], - "disallowed" - ], - [ - [ - 11160, - 11193 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11194, - 11196 - ], - "disallowed" - ], - [ - [ - 11197, - 11208 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11209, - 11209 - ], - "disallowed" - ], - [ - [ - 11210, - 11217 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11218, - 11243 - ], - "disallowed" - ], - [ - [ - 11244, - 11247 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11248, - 11263 - ], - "disallowed" - ], - [ - [ - 11264, - 11264 - ], - "mapped", - [ - 11312 - ] - ], - [ - [ - 11265, - 11265 - ], - "mapped", - [ - 11313 - ] - ], - [ - [ - 11266, - 11266 - ], - "mapped", - [ - 11314 - ] - ], - [ - [ - 11267, - 11267 - ], - "mapped", - [ - 11315 - ] - ], - [ - [ - 11268, - 11268 - ], - "mapped", - [ - 11316 - ] - ], - [ - [ - 11269, - 11269 - ], - "mapped", - [ - 11317 - ] - ], - [ - [ - 11270, - 11270 - ], - "mapped", - [ - 11318 - ] - ], - [ - [ - 11271, - 11271 - ], - "mapped", - [ - 11319 - ] - ], - [ - [ - 11272, - 11272 - ], - "mapped", - [ - 11320 - ] - ], - [ - [ - 11273, - 11273 - ], - "mapped", - [ - 11321 - ] - ], - [ - [ - 11274, - 11274 - ], - "mapped", - [ - 11322 - ] - ], - [ - [ - 11275, - 11275 - ], - "mapped", - [ - 11323 - ] - ], - [ - [ - 11276, - 11276 - ], - "mapped", - [ - 11324 - ] - ], - [ - [ - 11277, - 11277 - ], - "mapped", - [ - 11325 - ] - ], - [ - [ - 11278, - 11278 - ], - "mapped", - [ - 11326 - ] - ], - [ - [ - 11279, - 11279 - ], - "mapped", - [ - 11327 - ] - ], - [ - [ - 11280, - 11280 - ], - "mapped", - [ - 11328 - ] - ], - [ - [ - 11281, - 11281 - ], - "mapped", - [ - 11329 - ] - ], - [ - [ - 11282, - 11282 - ], - "mapped", - [ - 11330 - ] - ], - [ - [ - 11283, - 11283 - ], - "mapped", - [ - 11331 - ] - ], - [ - [ - 11284, - 11284 - ], - "mapped", - [ - 11332 - ] - ], - [ - [ - 11285, - 11285 - ], - "mapped", - [ - 11333 - ] - ], - [ - [ - 11286, - 11286 - ], - "mapped", - [ - 11334 - ] - ], - [ - [ - 11287, - 11287 - ], - "mapped", - [ - 11335 - ] - ], - [ - [ - 11288, - 11288 - ], - "mapped", - [ - 11336 - ] - ], - [ - [ - 11289, - 11289 - ], - "mapped", - [ - 11337 - ] - ], - [ - [ - 11290, - 11290 - ], - "mapped", - [ - 11338 - ] - ], - [ - [ - 11291, - 11291 - ], - "mapped", - [ - 11339 - ] - ], - [ - [ - 11292, - 11292 - ], - "mapped", - [ - 11340 - ] - ], - [ - [ - 11293, - 11293 - ], - "mapped", - [ - 11341 - ] - ], - [ - [ - 11294, - 11294 - ], - "mapped", - [ - 11342 - ] - ], - [ - [ - 11295, - 11295 - ], - "mapped", - [ - 11343 - ] - ], - [ - [ - 11296, - 11296 - ], - "mapped", - [ - 11344 - ] - ], - [ - [ - 11297, - 11297 - ], - "mapped", - [ - 11345 - ] - ], - [ - [ - 11298, - 11298 - ], - "mapped", - [ - 11346 - ] - ], - [ - [ - 11299, - 11299 - ], - "mapped", - [ - 11347 - ] - ], - [ - [ - 11300, - 11300 - ], - "mapped", - [ - 11348 - ] - ], - [ - [ - 11301, - 11301 - ], - "mapped", - [ - 11349 - ] - ], - [ - [ - 11302, - 11302 - ], - "mapped", - [ - 11350 - ] - ], - [ - [ - 11303, - 11303 - ], - "mapped", - [ - 11351 - ] - ], - [ - [ - 11304, - 11304 - ], - "mapped", - [ - 11352 - ] - ], - [ - [ - 11305, - 11305 - ], - "mapped", - [ - 11353 - ] - ], - [ - [ - 11306, - 11306 - ], - "mapped", - [ - 11354 - ] - ], - [ - [ - 11307, - 11307 - ], - "mapped", - [ - 11355 - ] - ], - [ - [ - 11308, - 11308 - ], - "mapped", - [ - 11356 - ] - ], - [ - [ - 11309, - 11309 - ], - "mapped", - [ - 11357 - ] - ], - [ - [ - 11310, - 11310 - ], - "mapped", - [ - 11358 - ] - ], - [ - [ - 11311, - 11311 - ], - "disallowed" - ], - [ - [ - 11312, - 11358 - ], - "valid" - ], - [ - [ - 11359, - 11359 - ], - "disallowed" - ], - [ - [ - 11360, - 11360 - ], - "mapped", - [ - 11361 - ] - ], - [ - [ - 11361, - 11361 - ], - "valid" - ], - [ - [ - 11362, - 11362 - ], - "mapped", - [ - 619 - ] - ], - [ - [ - 11363, - 11363 - ], - "mapped", - [ - 7549 - ] - ], - [ - [ - 11364, - 11364 - ], - "mapped", - [ - 637 - ] - ], - [ - [ - 11365, - 11366 - ], - "valid" - ], - [ - [ - 11367, - 11367 - ], - "mapped", - [ - 11368 - ] - ], - [ - [ - 11368, - 11368 - ], - "valid" - ], - [ - [ - 11369, - 11369 - ], - "mapped", - [ - 11370 - ] - ], - [ - [ - 11370, - 11370 - ], - "valid" - ], - [ - [ - 11371, - 11371 - ], - "mapped", - [ - 11372 - ] - ], - [ - [ - 11372, - 11372 - ], - "valid" - ], - [ - [ - 11373, - 11373 - ], - "mapped", - [ - 593 - ] - ], - [ - [ - 11374, - 11374 - ], - "mapped", - [ - 625 - ] - ], - [ - [ - 11375, - 11375 - ], - "mapped", - [ - 592 - ] - ], - [ - [ - 11376, - 11376 - ], - "mapped", - [ - 594 - ] - ], - [ - [ - 11377, - 11377 - ], - "valid" - ], - [ - [ - 11378, - 11378 - ], - "mapped", - [ - 11379 - ] - ], - [ - [ - 11379, - 11379 - ], - "valid" - ], - [ - [ - 11380, - 11380 - ], - "valid" - ], - [ - [ - 11381, - 11381 - ], - "mapped", - [ - 11382 - ] - ], - [ - [ - 11382, - 11383 - ], - "valid" - ], - [ - [ - 11384, - 11387 - ], - "valid" - ], - [ - [ - 11388, - 11388 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 11389, - 11389 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 11390, - 11390 - ], - "mapped", - [ - 575 - ] - ], - [ - [ - 11391, - 11391 - ], - "mapped", - [ - 576 - ] - ], - [ - [ - 11392, - 11392 - ], - "mapped", - [ - 11393 - ] - ], - [ - [ - 11393, - 11393 - ], - "valid" - ], - [ - [ - 11394, - 11394 - ], - "mapped", - [ - 11395 - ] - ], - [ - [ - 11395, - 11395 - ], - "valid" - ], - [ - [ - 11396, - 11396 - ], - "mapped", - [ - 11397 - ] - ], - [ - [ - 11397, - 11397 - ], - "valid" - ], - [ - [ - 11398, - 11398 - ], - "mapped", - [ - 11399 - ] - ], - [ - [ - 11399, - 11399 - ], - "valid" - ], - [ - [ - 11400, - 11400 - ], - "mapped", - [ - 11401 - ] - ], - [ - [ - 11401, - 11401 - ], - "valid" - ], - [ - [ - 11402, - 11402 - ], - "mapped", - [ - 11403 - ] - ], - [ - [ - 11403, - 11403 - ], - "valid" - ], - [ - [ - 11404, - 11404 - ], - "mapped", - [ - 11405 - ] - ], - [ - [ - 11405, - 11405 - ], - "valid" - ], - [ - [ - 11406, - 11406 - ], - "mapped", - [ - 11407 - ] - ], - [ - [ - 11407, - 11407 - ], - "valid" - ], - [ - [ - 11408, - 11408 - ], - "mapped", - [ - 11409 - ] - ], - [ - [ - 11409, - 11409 - ], - "valid" - ], - [ - [ - 11410, - 11410 - ], - "mapped", - [ - 11411 - ] - ], - [ - [ - 11411, - 11411 - ], - "valid" - ], - [ - [ - 11412, - 11412 - ], - "mapped", - [ - 11413 - ] - ], - [ - [ - 11413, - 11413 - ], - "valid" - ], - [ - [ - 11414, - 11414 - ], - "mapped", - [ - 11415 - ] - ], - [ - [ - 11415, - 11415 - ], - "valid" - ], - [ - [ - 11416, - 11416 - ], - "mapped", - [ - 11417 - ] - ], - [ - [ - 11417, - 11417 - ], - "valid" - ], - [ - [ - 11418, - 11418 - ], - "mapped", - [ - 11419 - ] - ], - [ - [ - 11419, - 11419 - ], - "valid" - ], - [ - [ - 11420, - 11420 - ], - "mapped", - [ - 11421 - ] - ], - [ - [ - 11421, - 11421 - ], - "valid" - ], - [ - [ - 11422, - 11422 - ], - "mapped", - [ - 11423 - ] - ], - [ - [ - 11423, - 11423 - ], - "valid" - ], - [ - [ - 11424, - 11424 - ], - "mapped", - [ - 11425 - ] - ], - [ - [ - 11425, - 11425 - ], - "valid" - ], - [ - [ - 11426, - 11426 - ], - "mapped", - [ - 11427 - ] - ], - [ - [ - 11427, - 11427 - ], - "valid" - ], - [ - [ - 11428, - 11428 - ], - "mapped", - [ - 11429 - ] - ], - [ - [ - 11429, - 11429 - ], - "valid" - ], - [ - [ - 11430, - 11430 - ], - "mapped", - [ - 11431 - ] - ], - [ - [ - 11431, - 11431 - ], - "valid" - ], - [ - [ - 11432, - 11432 - ], - "mapped", - [ - 11433 - ] - ], - [ - [ - 11433, - 11433 - ], - "valid" - ], - [ - [ - 11434, - 11434 - ], - "mapped", - [ - 11435 - ] - ], - [ - [ - 11435, - 11435 - ], - "valid" - ], - [ - [ - 11436, - 11436 - ], - "mapped", - [ - 11437 - ] - ], - [ - [ - 11437, - 11437 - ], - "valid" - ], - [ - [ - 11438, - 11438 - ], - "mapped", - [ - 11439 - ] - ], - [ - [ - 11439, - 11439 - ], - "valid" - ], - [ - [ - 11440, - 11440 - ], - "mapped", - [ - 11441 - ] - ], - [ - [ - 11441, - 11441 - ], - "valid" - ], - [ - [ - 11442, - 11442 - ], - "mapped", - [ - 11443 - ] - ], - [ - [ - 11443, - 11443 - ], - "valid" - ], - [ - [ - 11444, - 11444 - ], - "mapped", - [ - 11445 - ] - ], - [ - [ - 11445, - 11445 - ], - "valid" - ], - [ - [ - 11446, - 11446 - ], - "mapped", - [ - 11447 - ] - ], - [ - [ - 11447, - 11447 - ], - "valid" - ], - [ - [ - 11448, - 11448 - ], - "mapped", - [ - 11449 - ] - ], - [ - [ - 11449, - 11449 - ], - "valid" - ], - [ - [ - 11450, - 11450 - ], - "mapped", - [ - 11451 - ] - ], - [ - [ - 11451, - 11451 - ], - "valid" - ], - [ - [ - 11452, - 11452 - ], - "mapped", - [ - 11453 - ] - ], - [ - [ - 11453, - 11453 - ], - "valid" - ], - [ - [ - 11454, - 11454 - ], - "mapped", - [ - 11455 - ] - ], - [ - [ - 11455, - 11455 - ], - "valid" - ], - [ - [ - 11456, - 11456 - ], - "mapped", - [ - 11457 - ] - ], - [ - [ - 11457, - 11457 - ], - "valid" - ], - [ - [ - 11458, - 11458 - ], - "mapped", - [ - 11459 - ] - ], - [ - [ - 11459, - 11459 - ], - "valid" - ], - [ - [ - 11460, - 11460 - ], - "mapped", - [ - 11461 - ] - ], - [ - [ - 11461, - 11461 - ], - "valid" - ], - [ - [ - 11462, - 11462 - ], - "mapped", - [ - 11463 - ] - ], - [ - [ - 11463, - 11463 - ], - "valid" - ], - [ - [ - 11464, - 11464 - ], - "mapped", - [ - 11465 - ] - ], - [ - [ - 11465, - 11465 - ], - "valid" - ], - [ - [ - 11466, - 11466 - ], - "mapped", - [ - 11467 - ] - ], - [ - [ - 11467, - 11467 - ], - "valid" - ], - [ - [ - 11468, - 11468 - ], - "mapped", - [ - 11469 - ] - ], - [ - [ - 11469, - 11469 - ], - "valid" - ], - [ - [ - 11470, - 11470 - ], - "mapped", - [ - 11471 - ] - ], - [ - [ - 11471, - 11471 - ], - "valid" - ], - [ - [ - 11472, - 11472 - ], - "mapped", - [ - 11473 - ] - ], - [ - [ - 11473, - 11473 - ], - "valid" - ], - [ - [ - 11474, - 11474 - ], - "mapped", - [ - 11475 - ] - ], - [ - [ - 11475, - 11475 - ], - "valid" - ], - [ - [ - 11476, - 11476 - ], - "mapped", - [ - 11477 - ] - ], - [ - [ - 11477, - 11477 - ], - "valid" - ], - [ - [ - 11478, - 11478 - ], - "mapped", - [ - 11479 - ] - ], - [ - [ - 11479, - 11479 - ], - "valid" - ], - [ - [ - 11480, - 11480 - ], - "mapped", - [ - 11481 - ] - ], - [ - [ - 11481, - 11481 - ], - "valid" - ], - [ - [ - 11482, - 11482 - ], - "mapped", - [ - 11483 - ] - ], - [ - [ - 11483, - 11483 - ], - "valid" - ], - [ - [ - 11484, - 11484 - ], - "mapped", - [ - 11485 - ] - ], - [ - [ - 11485, - 11485 - ], - "valid" - ], - [ - [ - 11486, - 11486 - ], - "mapped", - [ - 11487 - ] - ], - [ - [ - 11487, - 11487 - ], - "valid" - ], - [ - [ - 11488, - 11488 - ], - "mapped", - [ - 11489 - ] - ], - [ - [ - 11489, - 11489 - ], - "valid" - ], - [ - [ - 11490, - 11490 - ], - "mapped", - [ - 11491 - ] - ], - [ - [ - 11491, - 11492 - ], - "valid" - ], - [ - [ - 11493, - 11498 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11499, - 11499 - ], - "mapped", - [ - 11500 - ] - ], - [ - [ - 11500, - 11500 - ], - "valid" - ], - [ - [ - 11501, - 11501 - ], - "mapped", - [ - 11502 - ] - ], - [ - [ - 11502, - 11505 - ], - "valid" - ], - [ - [ - 11506, - 11506 - ], - "mapped", - [ - 11507 - ] - ], - [ - [ - 11507, - 11507 - ], - "valid" - ], - [ - [ - 11508, - 11512 - ], - "disallowed" - ], - [ - [ - 11513, - 11519 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11520, - 11557 - ], - "valid" - ], - [ - [ - 11558, - 11558 - ], - "disallowed" - ], - [ - [ - 11559, - 11559 - ], - "valid" - ], - [ - [ - 11560, - 11564 - ], - "disallowed" - ], - [ - [ - 11565, - 11565 - ], - "valid" - ], - [ - [ - 11566, - 11567 - ], - "disallowed" - ], - [ - [ - 11568, - 11621 - ], - "valid" - ], - [ - [ - 11622, - 11623 - ], - "valid" - ], - [ - [ - 11624, - 11630 - ], - "disallowed" - ], - [ - [ - 11631, - 11631 - ], - "mapped", - [ - 11617 - ] - ], - [ - [ - 11632, - 11632 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11633, - 11646 - ], - "disallowed" - ], - [ - [ - 11647, - 11647 - ], - "valid" - ], - [ - [ - 11648, - 11670 - ], - "valid" - ], - [ - [ - 11671, - 11679 - ], - "disallowed" - ], - [ - [ - 11680, - 11686 - ], - "valid" - ], - [ - [ - 11687, - 11687 - ], - "disallowed" - ], - [ - [ - 11688, - 11694 - ], - "valid" - ], - [ - [ - 11695, - 11695 - ], - "disallowed" - ], - [ - [ - 11696, - 11702 - ], - "valid" - ], - [ - [ - 11703, - 11703 - ], - "disallowed" - ], - [ - [ - 11704, - 11710 - ], - "valid" - ], - [ - [ - 11711, - 11711 - ], - "disallowed" - ], - [ - [ - 11712, - 11718 - ], - "valid" - ], - [ - [ - 11719, - 11719 - ], - "disallowed" - ], - [ - [ - 11720, - 11726 - ], - "valid" - ], - [ - [ - 11727, - 11727 - ], - "disallowed" - ], - [ - [ - 11728, - 11734 - ], - "valid" - ], - [ - [ - 11735, - 11735 - ], - "disallowed" - ], - [ - [ - 11736, - 11742 - ], - "valid" - ], - [ - [ - 11743, - 11743 - ], - "disallowed" - ], - [ - [ - 11744, - 11775 - ], - "valid" - ], - [ - [ - 11776, - 11799 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11800, - 11803 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11804, - 11805 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11806, - 11822 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11823, - 11823 - ], - "valid" - ], - [ - [ - 11824, - 11824 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11825, - 11825 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11826, - 11835 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11836, - 11842 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11843, - 11903 - ], - "disallowed" - ], - [ - [ - 11904, - 11929 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11930, - 11930 - ], - "disallowed" - ], - [ - [ - 11931, - 11934 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 11935, - 11935 - ], - "mapped", - [ - 27597 - ] - ], - [ - [ - 11936, - 12018 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12019, - 12019 - ], - "mapped", - [ - 40863 - ] - ], - [ - [ - 12020, - 12031 - ], - "disallowed" - ], - [ - [ - 12032, - 12032 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 12033, - 12033 - ], - "mapped", - [ - 20008 - ] - ], - [ - [ - 12034, - 12034 - ], - "mapped", - [ - 20022 - ] - ], - [ - [ - 12035, - 12035 - ], - "mapped", - [ - 20031 - ] - ], - [ - [ - 12036, - 12036 - ], - "mapped", - [ - 20057 - ] - ], - [ - [ - 12037, - 12037 - ], - "mapped", - [ - 20101 - ] - ], - [ - [ - 12038, - 12038 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 12039, - 12039 - ], - "mapped", - [ - 20128 - ] - ], - [ - [ - 12040, - 12040 - ], - "mapped", - [ - 20154 - ] - ], - [ - [ - 12041, - 12041 - ], - "mapped", - [ - 20799 - ] - ], - [ - [ - 12042, - 12042 - ], - "mapped", - [ - 20837 - ] - ], - [ - [ - 12043, - 12043 - ], - "mapped", - [ - 20843 - ] - ], - [ - [ - 12044, - 12044 - ], - "mapped", - [ - 20866 - ] - ], - [ - [ - 12045, - 12045 - ], - "mapped", - [ - 20886 - ] - ], - [ - [ - 12046, - 12046 - ], - "mapped", - [ - 20907 - ] - ], - [ - [ - 12047, - 12047 - ], - "mapped", - [ - 20960 - ] - ], - [ - [ - 12048, - 12048 - ], - "mapped", - [ - 20981 - ] - ], - [ - [ - 12049, - 12049 - ], - "mapped", - [ - 20992 - ] - ], - [ - [ - 12050, - 12050 - ], - "mapped", - [ - 21147 - ] - ], - [ - [ - 12051, - 12051 - ], - "mapped", - [ - 21241 - ] - ], - [ - [ - 12052, - 12052 - ], - "mapped", - [ - 21269 - ] - ], - [ - [ - 12053, - 12053 - ], - "mapped", - [ - 21274 - ] - ], - [ - [ - 12054, - 12054 - ], - "mapped", - [ - 21304 - ] - ], - [ - [ - 12055, - 12055 - ], - "mapped", - [ - 21313 - ] - ], - [ - [ - 12056, - 12056 - ], - "mapped", - [ - 21340 - ] - ], - [ - [ - 12057, - 12057 - ], - "mapped", - [ - 21353 - ] - ], - [ - [ - 12058, - 12058 - ], - "mapped", - [ - 21378 - ] - ], - [ - [ - 12059, - 12059 - ], - "mapped", - [ - 21430 - ] - ], - [ - [ - 12060, - 12060 - ], - "mapped", - [ - 21448 - ] - ], - [ - [ - 12061, - 12061 - ], - "mapped", - [ - 21475 - ] - ], - [ - [ - 12062, - 12062 - ], - "mapped", - [ - 22231 - ] - ], - [ - [ - 12063, - 12063 - ], - "mapped", - [ - 22303 - ] - ], - [ - [ - 12064, - 12064 - ], - "mapped", - [ - 22763 - ] - ], - [ - [ - 12065, - 12065 - ], - "mapped", - [ - 22786 - ] - ], - [ - [ - 12066, - 12066 - ], - "mapped", - [ - 22794 - ] - ], - [ - [ - 12067, - 12067 - ], - "mapped", - [ - 22805 - ] - ], - [ - [ - 12068, - 12068 - ], - "mapped", - [ - 22823 - ] - ], - [ - [ - 12069, - 12069 - ], - "mapped", - [ - 22899 - ] - ], - [ - [ - 12070, - 12070 - ], - "mapped", - [ - 23376 - ] - ], - [ - [ - 12071, - 12071 - ], - "mapped", - [ - 23424 - ] - ], - [ - [ - 12072, - 12072 - ], - "mapped", - [ - 23544 - ] - ], - [ - [ - 12073, - 12073 - ], - "mapped", - [ - 23567 - ] - ], - [ - [ - 12074, - 12074 - ], - "mapped", - [ - 23586 - ] - ], - [ - [ - 12075, - 12075 - ], - "mapped", - [ - 23608 - ] - ], - [ - [ - 12076, - 12076 - ], - "mapped", - [ - 23662 - ] - ], - [ - [ - 12077, - 12077 - ], - "mapped", - [ - 23665 - ] - ], - [ - [ - 12078, - 12078 - ], - "mapped", - [ - 24027 - ] - ], - [ - [ - 12079, - 12079 - ], - "mapped", - [ - 24037 - ] - ], - [ - [ - 12080, - 12080 - ], - "mapped", - [ - 24049 - ] - ], - [ - [ - 12081, - 12081 - ], - "mapped", - [ - 24062 - ] - ], - [ - [ - 12082, - 12082 - ], - "mapped", - [ - 24178 - ] - ], - [ - [ - 12083, - 12083 - ], - "mapped", - [ - 24186 - ] - ], - [ - [ - 12084, - 12084 - ], - "mapped", - [ - 24191 - ] - ], - [ - [ - 12085, - 12085 - ], - "mapped", - [ - 24308 - ] - ], - [ - [ - 12086, - 12086 - ], - "mapped", - [ - 24318 - ] - ], - [ - [ - 12087, - 12087 - ], - "mapped", - [ - 24331 - ] - ], - [ - [ - 12088, - 12088 - ], - "mapped", - [ - 24339 - ] - ], - [ - [ - 12089, - 12089 - ], - "mapped", - [ - 24400 - ] - ], - [ - [ - 12090, - 12090 - ], - "mapped", - [ - 24417 - ] - ], - [ - [ - 12091, - 12091 - ], - "mapped", - [ - 24435 - ] - ], - [ - [ - 12092, - 12092 - ], - "mapped", - [ - 24515 - ] - ], - [ - [ - 12093, - 12093 - ], - "mapped", - [ - 25096 - ] - ], - [ - [ - 12094, - 12094 - ], - "mapped", - [ - 25142 - ] - ], - [ - [ - 12095, - 12095 - ], - "mapped", - [ - 25163 - ] - ], - [ - [ - 12096, - 12096 - ], - "mapped", - [ - 25903 - ] - ], - [ - [ - 12097, - 12097 - ], - "mapped", - [ - 25908 - ] - ], - [ - [ - 12098, - 12098 - ], - "mapped", - [ - 25991 - ] - ], - [ - [ - 12099, - 12099 - ], - "mapped", - [ - 26007 - ] - ], - [ - [ - 12100, - 12100 - ], - "mapped", - [ - 26020 - ] - ], - [ - [ - 12101, - 12101 - ], - "mapped", - [ - 26041 - ] - ], - [ - [ - 12102, - 12102 - ], - "mapped", - [ - 26080 - ] - ], - [ - [ - 12103, - 12103 - ], - "mapped", - [ - 26085 - ] - ], - [ - [ - 12104, - 12104 - ], - "mapped", - [ - 26352 - ] - ], - [ - [ - 12105, - 12105 - ], - "mapped", - [ - 26376 - ] - ], - [ - [ - 12106, - 12106 - ], - "mapped", - [ - 26408 - ] - ], - [ - [ - 12107, - 12107 - ], - "mapped", - [ - 27424 - ] - ], - [ - [ - 12108, - 12108 - ], - "mapped", - [ - 27490 - ] - ], - [ - [ - 12109, - 12109 - ], - "mapped", - [ - 27513 - ] - ], - [ - [ - 12110, - 12110 - ], - "mapped", - [ - 27571 - ] - ], - [ - [ - 12111, - 12111 - ], - "mapped", - [ - 27595 - ] - ], - [ - [ - 12112, - 12112 - ], - "mapped", - [ - 27604 - ] - ], - [ - [ - 12113, - 12113 - ], - "mapped", - [ - 27611 - ] - ], - [ - [ - 12114, - 12114 - ], - "mapped", - [ - 27663 - ] - ], - [ - [ - 12115, - 12115 - ], - "mapped", - [ - 27668 - ] - ], - [ - [ - 12116, - 12116 - ], - "mapped", - [ - 27700 - ] - ], - [ - [ - 12117, - 12117 - ], - "mapped", - [ - 28779 - ] - ], - [ - [ - 12118, - 12118 - ], - "mapped", - [ - 29226 - ] - ], - [ - [ - 12119, - 12119 - ], - "mapped", - [ - 29238 - ] - ], - [ - [ - 12120, - 12120 - ], - "mapped", - [ - 29243 - ] - ], - [ - [ - 12121, - 12121 - ], - "mapped", - [ - 29247 - ] - ], - [ - [ - 12122, - 12122 - ], - "mapped", - [ - 29255 - ] - ], - [ - [ - 12123, - 12123 - ], - "mapped", - [ - 29273 - ] - ], - [ - [ - 12124, - 12124 - ], - "mapped", - [ - 29275 - ] - ], - [ - [ - 12125, - 12125 - ], - "mapped", - [ - 29356 - ] - ], - [ - [ - 12126, - 12126 - ], - "mapped", - [ - 29572 - ] - ], - [ - [ - 12127, - 12127 - ], - "mapped", - [ - 29577 - ] - ], - [ - [ - 12128, - 12128 - ], - "mapped", - [ - 29916 - ] - ], - [ - [ - 12129, - 12129 - ], - "mapped", - [ - 29926 - ] - ], - [ - [ - 12130, - 12130 - ], - "mapped", - [ - 29976 - ] - ], - [ - [ - 12131, - 12131 - ], - "mapped", - [ - 29983 - ] - ], - [ - [ - 12132, - 12132 - ], - "mapped", - [ - 29992 - ] - ], - [ - [ - 12133, - 12133 - ], - "mapped", - [ - 30000 - ] - ], - [ - [ - 12134, - 12134 - ], - "mapped", - [ - 30091 - ] - ], - [ - [ - 12135, - 12135 - ], - "mapped", - [ - 30098 - ] - ], - [ - [ - 12136, - 12136 - ], - "mapped", - [ - 30326 - ] - ], - [ - [ - 12137, - 12137 - ], - "mapped", - [ - 30333 - ] - ], - [ - [ - 12138, - 12138 - ], - "mapped", - [ - 30382 - ] - ], - [ - [ - 12139, - 12139 - ], - "mapped", - [ - 30399 - ] - ], - [ - [ - 12140, - 12140 - ], - "mapped", - [ - 30446 - ] - ], - [ - [ - 12141, - 12141 - ], - "mapped", - [ - 30683 - ] - ], - [ - [ - 12142, - 12142 - ], - "mapped", - [ - 30690 - ] - ], - [ - [ - 12143, - 12143 - ], - "mapped", - [ - 30707 - ] - ], - [ - [ - 12144, - 12144 - ], - "mapped", - [ - 31034 - ] - ], - [ - [ - 12145, - 12145 - ], - "mapped", - [ - 31160 - ] - ], - [ - [ - 12146, - 12146 - ], - "mapped", - [ - 31166 - ] - ], - [ - [ - 12147, - 12147 - ], - "mapped", - [ - 31348 - ] - ], - [ - [ - 12148, - 12148 - ], - "mapped", - [ - 31435 - ] - ], - [ - [ - 12149, - 12149 - ], - "mapped", - [ - 31481 - ] - ], - [ - [ - 12150, - 12150 - ], - "mapped", - [ - 31859 - ] - ], - [ - [ - 12151, - 12151 - ], - "mapped", - [ - 31992 - ] - ], - [ - [ - 12152, - 12152 - ], - "mapped", - [ - 32566 - ] - ], - [ - [ - 12153, - 12153 - ], - "mapped", - [ - 32593 - ] - ], - [ - [ - 12154, - 12154 - ], - "mapped", - [ - 32650 - ] - ], - [ - [ - 12155, - 12155 - ], - "mapped", - [ - 32701 - ] - ], - [ - [ - 12156, - 12156 - ], - "mapped", - [ - 32769 - ] - ], - [ - [ - 12157, - 12157 - ], - "mapped", - [ - 32780 - ] - ], - [ - [ - 12158, - 12158 - ], - "mapped", - [ - 32786 - ] - ], - [ - [ - 12159, - 12159 - ], - "mapped", - [ - 32819 - ] - ], - [ - [ - 12160, - 12160 - ], - "mapped", - [ - 32895 - ] - ], - [ - [ - 12161, - 12161 - ], - "mapped", - [ - 32905 - ] - ], - [ - [ - 12162, - 12162 - ], - "mapped", - [ - 33251 - ] - ], - [ - [ - 12163, - 12163 - ], - "mapped", - [ - 33258 - ] - ], - [ - [ - 12164, - 12164 - ], - "mapped", - [ - 33267 - ] - ], - [ - [ - 12165, - 12165 - ], - "mapped", - [ - 33276 - ] - ], - [ - [ - 12166, - 12166 - ], - "mapped", - [ - 33292 - ] - ], - [ - [ - 12167, - 12167 - ], - "mapped", - [ - 33307 - ] - ], - [ - [ - 12168, - 12168 - ], - "mapped", - [ - 33311 - ] - ], - [ - [ - 12169, - 12169 - ], - "mapped", - [ - 33390 - ] - ], - [ - [ - 12170, - 12170 - ], - "mapped", - [ - 33394 - ] - ], - [ - [ - 12171, - 12171 - ], - "mapped", - [ - 33400 - ] - ], - [ - [ - 12172, - 12172 - ], - "mapped", - [ - 34381 - ] - ], - [ - [ - 12173, - 12173 - ], - "mapped", - [ - 34411 - ] - ], - [ - [ - 12174, - 12174 - ], - "mapped", - [ - 34880 - ] - ], - [ - [ - 12175, - 12175 - ], - "mapped", - [ - 34892 - ] - ], - [ - [ - 12176, - 12176 - ], - "mapped", - [ - 34915 - ] - ], - [ - [ - 12177, - 12177 - ], - "mapped", - [ - 35198 - ] - ], - [ - [ - 12178, - 12178 - ], - "mapped", - [ - 35211 - ] - ], - [ - [ - 12179, - 12179 - ], - "mapped", - [ - 35282 - ] - ], - [ - [ - 12180, - 12180 - ], - "mapped", - [ - 35328 - ] - ], - [ - [ - 12181, - 12181 - ], - "mapped", - [ - 35895 - ] - ], - [ - [ - 12182, - 12182 - ], - "mapped", - [ - 35910 - ] - ], - [ - [ - 12183, - 12183 - ], - "mapped", - [ - 35925 - ] - ], - [ - [ - 12184, - 12184 - ], - "mapped", - [ - 35960 - ] - ], - [ - [ - 12185, - 12185 - ], - "mapped", - [ - 35997 - ] - ], - [ - [ - 12186, - 12186 - ], - "mapped", - [ - 36196 - ] - ], - [ - [ - 12187, - 12187 - ], - "mapped", - [ - 36208 - ] - ], - [ - [ - 12188, - 12188 - ], - "mapped", - [ - 36275 - ] - ], - [ - [ - 12189, - 12189 - ], - "mapped", - [ - 36523 - ] - ], - [ - [ - 12190, - 12190 - ], - "mapped", - [ - 36554 - ] - ], - [ - [ - 12191, - 12191 - ], - "mapped", - [ - 36763 - ] - ], - [ - [ - 12192, - 12192 - ], - "mapped", - [ - 36784 - ] - ], - [ - [ - 12193, - 12193 - ], - "mapped", - [ - 36789 - ] - ], - [ - [ - 12194, - 12194 - ], - "mapped", - [ - 37009 - ] - ], - [ - [ - 12195, - 12195 - ], - "mapped", - [ - 37193 - ] - ], - [ - [ - 12196, - 12196 - ], - "mapped", - [ - 37318 - ] - ], - [ - [ - 12197, - 12197 - ], - "mapped", - [ - 37324 - ] - ], - [ - [ - 12198, - 12198 - ], - "mapped", - [ - 37329 - ] - ], - [ - [ - 12199, - 12199 - ], - "mapped", - [ - 38263 - ] - ], - [ - [ - 12200, - 12200 - ], - "mapped", - [ - 38272 - ] - ], - [ - [ - 12201, - 12201 - ], - "mapped", - [ - 38428 - ] - ], - [ - [ - 12202, - 12202 - ], - "mapped", - [ - 38582 - ] - ], - [ - [ - 12203, - 12203 - ], - "mapped", - [ - 38585 - ] - ], - [ - [ - 12204, - 12204 - ], - "mapped", - [ - 38632 - ] - ], - [ - [ - 12205, - 12205 - ], - "mapped", - [ - 38737 - ] - ], - [ - [ - 12206, - 12206 - ], - "mapped", - [ - 38750 - ] - ], - [ - [ - 12207, - 12207 - ], - "mapped", - [ - 38754 - ] - ], - [ - [ - 12208, - 12208 - ], - "mapped", - [ - 38761 - ] - ], - [ - [ - 12209, - 12209 - ], - "mapped", - [ - 38859 - ] - ], - [ - [ - 12210, - 12210 - ], - "mapped", - [ - 38893 - ] - ], - [ - [ - 12211, - 12211 - ], - "mapped", - [ - 38899 - ] - ], - [ - [ - 12212, - 12212 - ], - "mapped", - [ - 38913 - ] - ], - [ - [ - 12213, - 12213 - ], - "mapped", - [ - 39080 - ] - ], - [ - [ - 12214, - 12214 - ], - "mapped", - [ - 39131 - ] - ], - [ - [ - 12215, - 12215 - ], - "mapped", - [ - 39135 - ] - ], - [ - [ - 12216, - 12216 - ], - "mapped", - [ - 39318 - ] - ], - [ - [ - 12217, - 12217 - ], - "mapped", - [ - 39321 - ] - ], - [ - [ - 12218, - 12218 - ], - "mapped", - [ - 39340 - ] - ], - [ - [ - 12219, - 12219 - ], - "mapped", - [ - 39592 - ] - ], - [ - [ - 12220, - 12220 - ], - "mapped", - [ - 39640 - ] - ], - [ - [ - 12221, - 12221 - ], - "mapped", - [ - 39647 - ] - ], - [ - [ - 12222, - 12222 - ], - "mapped", - [ - 39717 - ] - ], - [ - [ - 12223, - 12223 - ], - "mapped", - [ - 39727 - ] - ], - [ - [ - 12224, - 12224 - ], - "mapped", - [ - 39730 - ] - ], - [ - [ - 12225, - 12225 - ], - "mapped", - [ - 39740 - ] - ], - [ - [ - 12226, - 12226 - ], - "mapped", - [ - 39770 - ] - ], - [ - [ - 12227, - 12227 - ], - "mapped", - [ - 40165 - ] - ], - [ - [ - 12228, - 12228 - ], - "mapped", - [ - 40565 - ] - ], - [ - [ - 12229, - 12229 - ], - "mapped", - [ - 40575 - ] - ], - [ - [ - 12230, - 12230 - ], - "mapped", - [ - 40613 - ] - ], - [ - [ - 12231, - 12231 - ], - "mapped", - [ - 40635 - ] - ], - [ - [ - 12232, - 12232 - ], - "mapped", - [ - 40643 - ] - ], - [ - [ - 12233, - 12233 - ], - "mapped", - [ - 40653 - ] - ], - [ - [ - 12234, - 12234 - ], - "mapped", - [ - 40657 - ] - ], - [ - [ - 12235, - 12235 - ], - "mapped", - [ - 40697 - ] - ], - [ - [ - 12236, - 12236 - ], - "mapped", - [ - 40701 - ] - ], - [ - [ - 12237, - 12237 - ], - "mapped", - [ - 40718 - ] - ], - [ - [ - 12238, - 12238 - ], - "mapped", - [ - 40723 - ] - ], - [ - [ - 12239, - 12239 - ], - "mapped", - [ - 40736 - ] - ], - [ - [ - 12240, - 12240 - ], - "mapped", - [ - 40763 - ] - ], - [ - [ - 12241, - 12241 - ], - "mapped", - [ - 40778 - ] - ], - [ - [ - 12242, - 12242 - ], - "mapped", - [ - 40786 - ] - ], - [ - [ - 12243, - 12243 - ], - "mapped", - [ - 40845 - ] - ], - [ - [ - 12244, - 12244 - ], - "mapped", - [ - 40860 - ] - ], - [ - [ - 12245, - 12245 - ], - "mapped", - [ - 40864 - ] - ], - [ - [ - 12246, - 12271 - ], - "disallowed" - ], - [ - [ - 12272, - 12283 - ], - "disallowed" - ], - [ - [ - 12284, - 12287 - ], - "disallowed" - ], - [ - [ - 12288, - 12288 - ], - "disallowed_STD3_mapped", - [ - 32 - ] - ], - [ - [ - 12289, - 12289 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12290, - 12290 - ], - "mapped", - [ - 46 - ] - ], - [ - [ - 12291, - 12292 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12293, - 12295 - ], - "valid" - ], - [ - [ - 12296, - 12329 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12330, - 12333 - ], - "valid" - ], - [ - [ - 12334, - 12341 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12342, - 12342 - ], - "mapped", - [ - 12306 - ] - ], - [ - [ - 12343, - 12343 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12344, - 12344 - ], - "mapped", - [ - 21313 - ] - ], - [ - [ - 12345, - 12345 - ], - "mapped", - [ - 21316 - ] - ], - [ - [ - 12346, - 12346 - ], - "mapped", - [ - 21317 - ] - ], - [ - [ - 12347, - 12347 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12348, - 12348 - ], - "valid" - ], - [ - [ - 12349, - 12349 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12350, - 12350 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12351, - 12351 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12352, - 12352 - ], - "disallowed" - ], - [ - [ - 12353, - 12436 - ], - "valid" - ], - [ - [ - 12437, - 12438 - ], - "valid" - ], - [ - [ - 12439, - 12440 - ], - "disallowed" - ], - [ - [ - 12441, - 12442 - ], - "valid" - ], - [ - [ - 12443, - 12443 - ], - "disallowed_STD3_mapped", - [ - 32, - 12441 - ] - ], - [ - [ - 12444, - 12444 - ], - "disallowed_STD3_mapped", - [ - 32, - 12442 - ] - ], - [ - [ - 12445, - 12446 - ], - "valid" - ], - [ - [ - 12447, - 12447 - ], - "mapped", - [ - 12424, - 12426 - ] - ], - [ - [ - 12448, - 12448 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12449, - 12542 - ], - "valid" - ], - [ - [ - 12543, - 12543 - ], - "mapped", - [ - 12467, - 12488 - ] - ], - [ - [ - 12544, - 12548 - ], - "disallowed" - ], - [ - [ - 12549, - 12588 - ], - "valid" - ], - [ - [ - 12589, - 12589 - ], - "valid" - ], - [ - [ - 12590, - 12592 - ], - "disallowed" - ], - [ - [ - 12593, - 12593 - ], - "mapped", - [ - 4352 - ] - ], - [ - [ - 12594, - 12594 - ], - "mapped", - [ - 4353 - ] - ], - [ - [ - 12595, - 12595 - ], - "mapped", - [ - 4522 - ] - ], - [ - [ - 12596, - 12596 - ], - "mapped", - [ - 4354 - ] - ], - [ - [ - 12597, - 12597 - ], - "mapped", - [ - 4524 - ] - ], - [ - [ - 12598, - 12598 - ], - "mapped", - [ - 4525 - ] - ], - [ - [ - 12599, - 12599 - ], - "mapped", - [ - 4355 - ] - ], - [ - [ - 12600, - 12600 - ], - "mapped", - [ - 4356 - ] - ], - [ - [ - 12601, - 12601 - ], - "mapped", - [ - 4357 - ] - ], - [ - [ - 12602, - 12602 - ], - "mapped", - [ - 4528 - ] - ], - [ - [ - 12603, - 12603 - ], - "mapped", - [ - 4529 - ] - ], - [ - [ - 12604, - 12604 - ], - "mapped", - [ - 4530 - ] - ], - [ - [ - 12605, - 12605 - ], - "mapped", - [ - 4531 - ] - ], - [ - [ - 12606, - 12606 - ], - "mapped", - [ - 4532 - ] - ], - [ - [ - 12607, - 12607 - ], - "mapped", - [ - 4533 - ] - ], - [ - [ - 12608, - 12608 - ], - "mapped", - [ - 4378 - ] - ], - [ - [ - 12609, - 12609 - ], - "mapped", - [ - 4358 - ] - ], - [ - [ - 12610, - 12610 - ], - "mapped", - [ - 4359 - ] - ], - [ - [ - 12611, - 12611 - ], - "mapped", - [ - 4360 - ] - ], - [ - [ - 12612, - 12612 - ], - "mapped", - [ - 4385 - ] - ], - [ - [ - 12613, - 12613 - ], - "mapped", - [ - 4361 - ] - ], - [ - [ - 12614, - 12614 - ], - "mapped", - [ - 4362 - ] - ], - [ - [ - 12615, - 12615 - ], - "mapped", - [ - 4363 - ] - ], - [ - [ - 12616, - 12616 - ], - "mapped", - [ - 4364 - ] - ], - [ - [ - 12617, - 12617 - ], - "mapped", - [ - 4365 - ] - ], - [ - [ - 12618, - 12618 - ], - "mapped", - [ - 4366 - ] - ], - [ - [ - 12619, - 12619 - ], - "mapped", - [ - 4367 - ] - ], - [ - [ - 12620, - 12620 - ], - "mapped", - [ - 4368 - ] - ], - [ - [ - 12621, - 12621 - ], - "mapped", - [ - 4369 - ] - ], - [ - [ - 12622, - 12622 - ], - "mapped", - [ - 4370 - ] - ], - [ - [ - 12623, - 12623 - ], - "mapped", - [ - 4449 - ] - ], - [ - [ - 12624, - 12624 - ], - "mapped", - [ - 4450 - ] - ], - [ - [ - 12625, - 12625 - ], - "mapped", - [ - 4451 - ] - ], - [ - [ - 12626, - 12626 - ], - "mapped", - [ - 4452 - ] - ], - [ - [ - 12627, - 12627 - ], - "mapped", - [ - 4453 - ] - ], - [ - [ - 12628, - 12628 - ], - "mapped", - [ - 4454 - ] - ], - [ - [ - 12629, - 12629 - ], - "mapped", - [ - 4455 - ] - ], - [ - [ - 12630, - 12630 - ], - "mapped", - [ - 4456 - ] - ], - [ - [ - 12631, - 12631 - ], - "mapped", - [ - 4457 - ] - ], - [ - [ - 12632, - 12632 - ], - "mapped", - [ - 4458 - ] - ], - [ - [ - 12633, - 12633 - ], - "mapped", - [ - 4459 - ] - ], - [ - [ - 12634, - 12634 - ], - "mapped", - [ - 4460 - ] - ], - [ - [ - 12635, - 12635 - ], - "mapped", - [ - 4461 - ] - ], - [ - [ - 12636, - 12636 - ], - "mapped", - [ - 4462 - ] - ], - [ - [ - 12637, - 12637 - ], - "mapped", - [ - 4463 - ] - ], - [ - [ - 12638, - 12638 - ], - "mapped", - [ - 4464 - ] - ], - [ - [ - 12639, - 12639 - ], - "mapped", - [ - 4465 - ] - ], - [ - [ - 12640, - 12640 - ], - "mapped", - [ - 4466 - ] - ], - [ - [ - 12641, - 12641 - ], - "mapped", - [ - 4467 - ] - ], - [ - [ - 12642, - 12642 - ], - "mapped", - [ - 4468 - ] - ], - [ - [ - 12643, - 12643 - ], - "mapped", - [ - 4469 - ] - ], - [ - [ - 12644, - 12644 - ], - "disallowed" - ], - [ - [ - 12645, - 12645 - ], - "mapped", - [ - 4372 - ] - ], - [ - [ - 12646, - 12646 - ], - "mapped", - [ - 4373 - ] - ], - [ - [ - 12647, - 12647 - ], - "mapped", - [ - 4551 - ] - ], - [ - [ - 12648, - 12648 - ], - "mapped", - [ - 4552 - ] - ], - [ - [ - 12649, - 12649 - ], - "mapped", - [ - 4556 - ] - ], - [ - [ - 12650, - 12650 - ], - "mapped", - [ - 4558 - ] - ], - [ - [ - 12651, - 12651 - ], - "mapped", - [ - 4563 - ] - ], - [ - [ - 12652, - 12652 - ], - "mapped", - [ - 4567 - ] - ], - [ - [ - 12653, - 12653 - ], - "mapped", - [ - 4569 - ] - ], - [ - [ - 12654, - 12654 - ], - "mapped", - [ - 4380 - ] - ], - [ - [ - 12655, - 12655 - ], - "mapped", - [ - 4573 - ] - ], - [ - [ - 12656, - 12656 - ], - "mapped", - [ - 4575 - ] - ], - [ - [ - 12657, - 12657 - ], - "mapped", - [ - 4381 - ] - ], - [ - [ - 12658, - 12658 - ], - "mapped", - [ - 4382 - ] - ], - [ - [ - 12659, - 12659 - ], - "mapped", - [ - 4384 - ] - ], - [ - [ - 12660, - 12660 - ], - "mapped", - [ - 4386 - ] - ], - [ - [ - 12661, - 12661 - ], - "mapped", - [ - 4387 - ] - ], - [ - [ - 12662, - 12662 - ], - "mapped", - [ - 4391 - ] - ], - [ - [ - 12663, - 12663 - ], - "mapped", - [ - 4393 - ] - ], - [ - [ - 12664, - 12664 - ], - "mapped", - [ - 4395 - ] - ], - [ - [ - 12665, - 12665 - ], - "mapped", - [ - 4396 - ] - ], - [ - [ - 12666, - 12666 - ], - "mapped", - [ - 4397 - ] - ], - [ - [ - 12667, - 12667 - ], - "mapped", - [ - 4398 - ] - ], - [ - [ - 12668, - 12668 - ], - "mapped", - [ - 4399 - ] - ], - [ - [ - 12669, - 12669 - ], - "mapped", - [ - 4402 - ] - ], - [ - [ - 12670, - 12670 - ], - "mapped", - [ - 4406 - ] - ], - [ - [ - 12671, - 12671 - ], - "mapped", - [ - 4416 - ] - ], - [ - [ - 12672, - 12672 - ], - "mapped", - [ - 4423 - ] - ], - [ - [ - 12673, - 12673 - ], - "mapped", - [ - 4428 - ] - ], - [ - [ - 12674, - 12674 - ], - "mapped", - [ - 4593 - ] - ], - [ - [ - 12675, - 12675 - ], - "mapped", - [ - 4594 - ] - ], - [ - [ - 12676, - 12676 - ], - "mapped", - [ - 4439 - ] - ], - [ - [ - 12677, - 12677 - ], - "mapped", - [ - 4440 - ] - ], - [ - [ - 12678, - 12678 - ], - "mapped", - [ - 4441 - ] - ], - [ - [ - 12679, - 12679 - ], - "mapped", - [ - 4484 - ] - ], - [ - [ - 12680, - 12680 - ], - "mapped", - [ - 4485 - ] - ], - [ - [ - 12681, - 12681 - ], - "mapped", - [ - 4488 - ] - ], - [ - [ - 12682, - 12682 - ], - "mapped", - [ - 4497 - ] - ], - [ - [ - 12683, - 12683 - ], - "mapped", - [ - 4498 - ] - ], - [ - [ - 12684, - 12684 - ], - "mapped", - [ - 4500 - ] - ], - [ - [ - 12685, - 12685 - ], - "mapped", - [ - 4510 - ] - ], - [ - [ - 12686, - 12686 - ], - "mapped", - [ - 4513 - ] - ], - [ - [ - 12687, - 12687 - ], - "disallowed" - ], - [ - [ - 12688, - 12689 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12690, - 12690 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 12691, - 12691 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 12692, - 12692 - ], - "mapped", - [ - 19977 - ] - ], - [ - [ - 12693, - 12693 - ], - "mapped", - [ - 22235 - ] - ], - [ - [ - 12694, - 12694 - ], - "mapped", - [ - 19978 - ] - ], - [ - [ - 12695, - 12695 - ], - "mapped", - [ - 20013 - ] - ], - [ - [ - 12696, - 12696 - ], - "mapped", - [ - 19979 - ] - ], - [ - [ - 12697, - 12697 - ], - "mapped", - [ - 30002 - ] - ], - [ - [ - 12698, - 12698 - ], - "mapped", - [ - 20057 - ] - ], - [ - [ - 12699, - 12699 - ], - "mapped", - [ - 19993 - ] - ], - [ - [ - 12700, - 12700 - ], - "mapped", - [ - 19969 - ] - ], - [ - [ - 12701, - 12701 - ], - "mapped", - [ - 22825 - ] - ], - [ - [ - 12702, - 12702 - ], - "mapped", - [ - 22320 - ] - ], - [ - [ - 12703, - 12703 - ], - "mapped", - [ - 20154 - ] - ], - [ - [ - 12704, - 12727 - ], - "valid" - ], - [ - [ - 12728, - 12730 - ], - "valid" - ], - [ - [ - 12731, - 12735 - ], - "disallowed" - ], - [ - [ - 12736, - 12751 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12752, - 12771 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12772, - 12783 - ], - "disallowed" - ], - [ - [ - 12784, - 12799 - ], - "valid" - ], - [ - [ - 12800, - 12800 - ], - "disallowed_STD3_mapped", - [ - 40, - 4352, - 41 - ] - ], - [ - [ - 12801, - 12801 - ], - "disallowed_STD3_mapped", - [ - 40, - 4354, - 41 - ] - ], - [ - [ - 12802, - 12802 - ], - "disallowed_STD3_mapped", - [ - 40, - 4355, - 41 - ] - ], - [ - [ - 12803, - 12803 - ], - "disallowed_STD3_mapped", - [ - 40, - 4357, - 41 - ] - ], - [ - [ - 12804, - 12804 - ], - "disallowed_STD3_mapped", - [ - 40, - 4358, - 41 - ] - ], - [ - [ - 12805, - 12805 - ], - "disallowed_STD3_mapped", - [ - 40, - 4359, - 41 - ] - ], - [ - [ - 12806, - 12806 - ], - "disallowed_STD3_mapped", - [ - 40, - 4361, - 41 - ] - ], - [ - [ - 12807, - 12807 - ], - "disallowed_STD3_mapped", - [ - 40, - 4363, - 41 - ] - ], - [ - [ - 12808, - 12808 - ], - "disallowed_STD3_mapped", - [ - 40, - 4364, - 41 - ] - ], - [ - [ - 12809, - 12809 - ], - "disallowed_STD3_mapped", - [ - 40, - 4366, - 41 - ] - ], - [ - [ - 12810, - 12810 - ], - "disallowed_STD3_mapped", - [ - 40, - 4367, - 41 - ] - ], - [ - [ - 12811, - 12811 - ], - "disallowed_STD3_mapped", - [ - 40, - 4368, - 41 - ] - ], - [ - [ - 12812, - 12812 - ], - "disallowed_STD3_mapped", - [ - 40, - 4369, - 41 - ] - ], - [ - [ - 12813, - 12813 - ], - "disallowed_STD3_mapped", - [ - 40, - 4370, - 41 - ] - ], - [ - [ - 12814, - 12814 - ], - "disallowed_STD3_mapped", - [ - 40, - 44032, - 41 - ] - ], - [ - [ - 12815, - 12815 - ], - "disallowed_STD3_mapped", - [ - 40, - 45208, - 41 - ] - ], - [ - [ - 12816, - 12816 - ], - "disallowed_STD3_mapped", - [ - 40, - 45796, - 41 - ] - ], - [ - [ - 12817, - 12817 - ], - "disallowed_STD3_mapped", - [ - 40, - 46972, - 41 - ] - ], - [ - [ - 12818, - 12818 - ], - "disallowed_STD3_mapped", - [ - 40, - 47560, - 41 - ] - ], - [ - [ - 12819, - 12819 - ], - "disallowed_STD3_mapped", - [ - 40, - 48148, - 41 - ] - ], - [ - [ - 12820, - 12820 - ], - "disallowed_STD3_mapped", - [ - 40, - 49324, - 41 - ] - ], - [ - [ - 12821, - 12821 - ], - "disallowed_STD3_mapped", - [ - 40, - 50500, - 41 - ] - ], - [ - [ - 12822, - 12822 - ], - "disallowed_STD3_mapped", - [ - 40, - 51088, - 41 - ] - ], - [ - [ - 12823, - 12823 - ], - "disallowed_STD3_mapped", - [ - 40, - 52264, - 41 - ] - ], - [ - [ - 12824, - 12824 - ], - "disallowed_STD3_mapped", - [ - 40, - 52852, - 41 - ] - ], - [ - [ - 12825, - 12825 - ], - "disallowed_STD3_mapped", - [ - 40, - 53440, - 41 - ] - ], - [ - [ - 12826, - 12826 - ], - "disallowed_STD3_mapped", - [ - 40, - 54028, - 41 - ] - ], - [ - [ - 12827, - 12827 - ], - "disallowed_STD3_mapped", - [ - 40, - 54616, - 41 - ] - ], - [ - [ - 12828, - 12828 - ], - "disallowed_STD3_mapped", - [ - 40, - 51452, - 41 - ] - ], - [ - [ - 12829, - 12829 - ], - "disallowed_STD3_mapped", - [ - 40, - 50724, - 51204, - 41 - ] - ], - [ - [ - 12830, - 12830 - ], - "disallowed_STD3_mapped", - [ - 40, - 50724, - 54980, - 41 - ] - ], - [ - [ - 12831, - 12831 - ], - "disallowed" - ], - [ - [ - 12832, - 12832 - ], - "disallowed_STD3_mapped", - [ - 40, - 19968, - 41 - ] - ], - [ - [ - 12833, - 12833 - ], - "disallowed_STD3_mapped", - [ - 40, - 20108, - 41 - ] - ], - [ - [ - 12834, - 12834 - ], - "disallowed_STD3_mapped", - [ - 40, - 19977, - 41 - ] - ], - [ - [ - 12835, - 12835 - ], - "disallowed_STD3_mapped", - [ - 40, - 22235, - 41 - ] - ], - [ - [ - 12836, - 12836 - ], - "disallowed_STD3_mapped", - [ - 40, - 20116, - 41 - ] - ], - [ - [ - 12837, - 12837 - ], - "disallowed_STD3_mapped", - [ - 40, - 20845, - 41 - ] - ], - [ - [ - 12838, - 12838 - ], - "disallowed_STD3_mapped", - [ - 40, - 19971, - 41 - ] - ], - [ - [ - 12839, - 12839 - ], - "disallowed_STD3_mapped", - [ - 40, - 20843, - 41 - ] - ], - [ - [ - 12840, - 12840 - ], - "disallowed_STD3_mapped", - [ - 40, - 20061, - 41 - ] - ], - [ - [ - 12841, - 12841 - ], - "disallowed_STD3_mapped", - [ - 40, - 21313, - 41 - ] - ], - [ - [ - 12842, - 12842 - ], - "disallowed_STD3_mapped", - [ - 40, - 26376, - 41 - ] - ], - [ - [ - 12843, - 12843 - ], - "disallowed_STD3_mapped", - [ - 40, - 28779, - 41 - ] - ], - [ - [ - 12844, - 12844 - ], - "disallowed_STD3_mapped", - [ - 40, - 27700, - 41 - ] - ], - [ - [ - 12845, - 12845 - ], - "disallowed_STD3_mapped", - [ - 40, - 26408, - 41 - ] - ], - [ - [ - 12846, - 12846 - ], - "disallowed_STD3_mapped", - [ - 40, - 37329, - 41 - ] - ], - [ - [ - 12847, - 12847 - ], - "disallowed_STD3_mapped", - [ - 40, - 22303, - 41 - ] - ], - [ - [ - 12848, - 12848 - ], - "disallowed_STD3_mapped", - [ - 40, - 26085, - 41 - ] - ], - [ - [ - 12849, - 12849 - ], - "disallowed_STD3_mapped", - [ - 40, - 26666, - 41 - ] - ], - [ - [ - 12850, - 12850 - ], - "disallowed_STD3_mapped", - [ - 40, - 26377, - 41 - ] - ], - [ - [ - 12851, - 12851 - ], - "disallowed_STD3_mapped", - [ - 40, - 31038, - 41 - ] - ], - [ - [ - 12852, - 12852 - ], - "disallowed_STD3_mapped", - [ - 40, - 21517, - 41 - ] - ], - [ - [ - 12853, - 12853 - ], - "disallowed_STD3_mapped", - [ - 40, - 29305, - 41 - ] - ], - [ - [ - 12854, - 12854 - ], - "disallowed_STD3_mapped", - [ - 40, - 36001, - 41 - ] - ], - [ - [ - 12855, - 12855 - ], - "disallowed_STD3_mapped", - [ - 40, - 31069, - 41 - ] - ], - [ - [ - 12856, - 12856 - ], - "disallowed_STD3_mapped", - [ - 40, - 21172, - 41 - ] - ], - [ - [ - 12857, - 12857 - ], - "disallowed_STD3_mapped", - [ - 40, - 20195, - 41 - ] - ], - [ - [ - 12858, - 12858 - ], - "disallowed_STD3_mapped", - [ - 40, - 21628, - 41 - ] - ], - [ - [ - 12859, - 12859 - ], - "disallowed_STD3_mapped", - [ - 40, - 23398, - 41 - ] - ], - [ - [ - 12860, - 12860 - ], - "disallowed_STD3_mapped", - [ - 40, - 30435, - 41 - ] - ], - [ - [ - 12861, - 12861 - ], - "disallowed_STD3_mapped", - [ - 40, - 20225, - 41 - ] - ], - [ - [ - 12862, - 12862 - ], - "disallowed_STD3_mapped", - [ - 40, - 36039, - 41 - ] - ], - [ - [ - 12863, - 12863 - ], - "disallowed_STD3_mapped", - [ - 40, - 21332, - 41 - ] - ], - [ - [ - 12864, - 12864 - ], - "disallowed_STD3_mapped", - [ - 40, - 31085, - 41 - ] - ], - [ - [ - 12865, - 12865 - ], - "disallowed_STD3_mapped", - [ - 40, - 20241, - 41 - ] - ], - [ - [ - 12866, - 12866 - ], - "disallowed_STD3_mapped", - [ - 40, - 33258, - 41 - ] - ], - [ - [ - 12867, - 12867 - ], - "disallowed_STD3_mapped", - [ - 40, - 33267, - 41 - ] - ], - [ - [ - 12868, - 12868 - ], - "mapped", - [ - 21839 - ] - ], - [ - [ - 12869, - 12869 - ], - "mapped", - [ - 24188 - ] - ], - [ - [ - 12870, - 12870 - ], - "mapped", - [ - 25991 - ] - ], - [ - [ - 12871, - 12871 - ], - "mapped", - [ - 31631 - ] - ], - [ - [ - 12872, - 12879 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12880, - 12880 - ], - "mapped", - [ - 112, - 116, - 101 - ] - ], - [ - [ - 12881, - 12881 - ], - "mapped", - [ - 50, - 49 - ] - ], - [ - [ - 12882, - 12882 - ], - "mapped", - [ - 50, - 50 - ] - ], - [ - [ - 12883, - 12883 - ], - "mapped", - [ - 50, - 51 - ] - ], - [ - [ - 12884, - 12884 - ], - "mapped", - [ - 50, - 52 - ] - ], - [ - [ - 12885, - 12885 - ], - "mapped", - [ - 50, - 53 - ] - ], - [ - [ - 12886, - 12886 - ], - "mapped", - [ - 50, - 54 - ] - ], - [ - [ - 12887, - 12887 - ], - "mapped", - [ - 50, - 55 - ] - ], - [ - [ - 12888, - 12888 - ], - "mapped", - [ - 50, - 56 - ] - ], - [ - [ - 12889, - 12889 - ], - "mapped", - [ - 50, - 57 - ] - ], - [ - [ - 12890, - 12890 - ], - "mapped", - [ - 51, - 48 - ] - ], - [ - [ - 12891, - 12891 - ], - "mapped", - [ - 51, - 49 - ] - ], - [ - [ - 12892, - 12892 - ], - "mapped", - [ - 51, - 50 - ] - ], - [ - [ - 12893, - 12893 - ], - "mapped", - [ - 51, - 51 - ] - ], - [ - [ - 12894, - 12894 - ], - "mapped", - [ - 51, - 52 - ] - ], - [ - [ - 12895, - 12895 - ], - "mapped", - [ - 51, - 53 - ] - ], - [ - [ - 12896, - 12896 - ], - "mapped", - [ - 4352 - ] - ], - [ - [ - 12897, - 12897 - ], - "mapped", - [ - 4354 - ] - ], - [ - [ - 12898, - 12898 - ], - "mapped", - [ - 4355 - ] - ], - [ - [ - 12899, - 12899 - ], - "mapped", - [ - 4357 - ] - ], - [ - [ - 12900, - 12900 - ], - "mapped", - [ - 4358 - ] - ], - [ - [ - 12901, - 12901 - ], - "mapped", - [ - 4359 - ] - ], - [ - [ - 12902, - 12902 - ], - "mapped", - [ - 4361 - ] - ], - [ - [ - 12903, - 12903 - ], - "mapped", - [ - 4363 - ] - ], - [ - [ - 12904, - 12904 - ], - "mapped", - [ - 4364 - ] - ], - [ - [ - 12905, - 12905 - ], - "mapped", - [ - 4366 - ] - ], - [ - [ - 12906, - 12906 - ], - "mapped", - [ - 4367 - ] - ], - [ - [ - 12907, - 12907 - ], - "mapped", - [ - 4368 - ] - ], - [ - [ - 12908, - 12908 - ], - "mapped", - [ - 4369 - ] - ], - [ - [ - 12909, - 12909 - ], - "mapped", - [ - 4370 - ] - ], - [ - [ - 12910, - 12910 - ], - "mapped", - [ - 44032 - ] - ], - [ - [ - 12911, - 12911 - ], - "mapped", - [ - 45208 - ] - ], - [ - [ - 12912, - 12912 - ], - "mapped", - [ - 45796 - ] - ], - [ - [ - 12913, - 12913 - ], - "mapped", - [ - 46972 - ] - ], - [ - [ - 12914, - 12914 - ], - "mapped", - [ - 47560 - ] - ], - [ - [ - 12915, - 12915 - ], - "mapped", - [ - 48148 - ] - ], - [ - [ - 12916, - 12916 - ], - "mapped", - [ - 49324 - ] - ], - [ - [ - 12917, - 12917 - ], - "mapped", - [ - 50500 - ] - ], - [ - [ - 12918, - 12918 - ], - "mapped", - [ - 51088 - ] - ], - [ - [ - 12919, - 12919 - ], - "mapped", - [ - 52264 - ] - ], - [ - [ - 12920, - 12920 - ], - "mapped", - [ - 52852 - ] - ], - [ - [ - 12921, - 12921 - ], - "mapped", - [ - 53440 - ] - ], - [ - [ - 12922, - 12922 - ], - "mapped", - [ - 54028 - ] - ], - [ - [ - 12923, - 12923 - ], - "mapped", - [ - 54616 - ] - ], - [ - [ - 12924, - 12924 - ], - "mapped", - [ - 52280, - 44256 - ] - ], - [ - [ - 12925, - 12925 - ], - "mapped", - [ - 51452, - 51032 - ] - ], - [ - [ - 12926, - 12926 - ], - "mapped", - [ - 50864 - ] - ], - [ - [ - 12927, - 12927 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 12928, - 12928 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 12929, - 12929 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 12930, - 12930 - ], - "mapped", - [ - 19977 - ] - ], - [ - [ - 12931, - 12931 - ], - "mapped", - [ - 22235 - ] - ], - [ - [ - 12932, - 12932 - ], - "mapped", - [ - 20116 - ] - ], - [ - [ - 12933, - 12933 - ], - "mapped", - [ - 20845 - ] - ], - [ - [ - 12934, - 12934 - ], - "mapped", - [ - 19971 - ] - ], - [ - [ - 12935, - 12935 - ], - "mapped", - [ - 20843 - ] - ], - [ - [ - 12936, - 12936 - ], - "mapped", - [ - 20061 - ] - ], - [ - [ - 12937, - 12937 - ], - "mapped", - [ - 21313 - ] - ], - [ - [ - 12938, - 12938 - ], - "mapped", - [ - 26376 - ] - ], - [ - [ - 12939, - 12939 - ], - "mapped", - [ - 28779 - ] - ], - [ - [ - 12940, - 12940 - ], - "mapped", - [ - 27700 - ] - ], - [ - [ - 12941, - 12941 - ], - "mapped", - [ - 26408 - ] - ], - [ - [ - 12942, - 12942 - ], - "mapped", - [ - 37329 - ] - ], - [ - [ - 12943, - 12943 - ], - "mapped", - [ - 22303 - ] - ], - [ - [ - 12944, - 12944 - ], - "mapped", - [ - 26085 - ] - ], - [ - [ - 12945, - 12945 - ], - "mapped", - [ - 26666 - ] - ], - [ - [ - 12946, - 12946 - ], - "mapped", - [ - 26377 - ] - ], - [ - [ - 12947, - 12947 - ], - "mapped", - [ - 31038 - ] - ], - [ - [ - 12948, - 12948 - ], - "mapped", - [ - 21517 - ] - ], - [ - [ - 12949, - 12949 - ], - "mapped", - [ - 29305 - ] - ], - [ - [ - 12950, - 12950 - ], - "mapped", - [ - 36001 - ] - ], - [ - [ - 12951, - 12951 - ], - "mapped", - [ - 31069 - ] - ], - [ - [ - 12952, - 12952 - ], - "mapped", - [ - 21172 - ] - ], - [ - [ - 12953, - 12953 - ], - "mapped", - [ - 31192 - ] - ], - [ - [ - 12954, - 12954 - ], - "mapped", - [ - 30007 - ] - ], - [ - [ - 12955, - 12955 - ], - "mapped", - [ - 22899 - ] - ], - [ - [ - 12956, - 12956 - ], - "mapped", - [ - 36969 - ] - ], - [ - [ - 12957, - 12957 - ], - "mapped", - [ - 20778 - ] - ], - [ - [ - 12958, - 12958 - ], - "mapped", - [ - 21360 - ] - ], - [ - [ - 12959, - 12959 - ], - "mapped", - [ - 27880 - ] - ], - [ - [ - 12960, - 12960 - ], - "mapped", - [ - 38917 - ] - ], - [ - [ - 12961, - 12961 - ], - "mapped", - [ - 20241 - ] - ], - [ - [ - 12962, - 12962 - ], - "mapped", - [ - 20889 - ] - ], - [ - [ - 12963, - 12963 - ], - "mapped", - [ - 27491 - ] - ], - [ - [ - 12964, - 12964 - ], - "mapped", - [ - 19978 - ] - ], - [ - [ - 12965, - 12965 - ], - "mapped", - [ - 20013 - ] - ], - [ - [ - 12966, - 12966 - ], - "mapped", - [ - 19979 - ] - ], - [ - [ - 12967, - 12967 - ], - "mapped", - [ - 24038 - ] - ], - [ - [ - 12968, - 12968 - ], - "mapped", - [ - 21491 - ] - ], - [ - [ - 12969, - 12969 - ], - "mapped", - [ - 21307 - ] - ], - [ - [ - 12970, - 12970 - ], - "mapped", - [ - 23447 - ] - ], - [ - [ - 12971, - 12971 - ], - "mapped", - [ - 23398 - ] - ], - [ - [ - 12972, - 12972 - ], - "mapped", - [ - 30435 - ] - ], - [ - [ - 12973, - 12973 - ], - "mapped", - [ - 20225 - ] - ], - [ - [ - 12974, - 12974 - ], - "mapped", - [ - 36039 - ] - ], - [ - [ - 12975, - 12975 - ], - "mapped", - [ - 21332 - ] - ], - [ - [ - 12976, - 12976 - ], - "mapped", - [ - 22812 - ] - ], - [ - [ - 12977, - 12977 - ], - "mapped", - [ - 51, - 54 - ] - ], - [ - [ - 12978, - 12978 - ], - "mapped", - [ - 51, - 55 - ] - ], - [ - [ - 12979, - 12979 - ], - "mapped", - [ - 51, - 56 - ] - ], - [ - [ - 12980, - 12980 - ], - "mapped", - [ - 51, - 57 - ] - ], - [ - [ - 12981, - 12981 - ], - "mapped", - [ - 52, - 48 - ] - ], - [ - [ - 12982, - 12982 - ], - "mapped", - [ - 52, - 49 - ] - ], - [ - [ - 12983, - 12983 - ], - "mapped", - [ - 52, - 50 - ] - ], - [ - [ - 12984, - 12984 - ], - "mapped", - [ - 52, - 51 - ] - ], - [ - [ - 12985, - 12985 - ], - "mapped", - [ - 52, - 52 - ] - ], - [ - [ - 12986, - 12986 - ], - "mapped", - [ - 52, - 53 - ] - ], - [ - [ - 12987, - 12987 - ], - "mapped", - [ - 52, - 54 - ] - ], - [ - [ - 12988, - 12988 - ], - "mapped", - [ - 52, - 55 - ] - ], - [ - [ - 12989, - 12989 - ], - "mapped", - [ - 52, - 56 - ] - ], - [ - [ - 12990, - 12990 - ], - "mapped", - [ - 52, - 57 - ] - ], - [ - [ - 12991, - 12991 - ], - "mapped", - [ - 53, - 48 - ] - ], - [ - [ - 12992, - 12992 - ], - "mapped", - [ - 49, - 26376 - ] - ], - [ - [ - 12993, - 12993 - ], - "mapped", - [ - 50, - 26376 - ] - ], - [ - [ - 12994, - 12994 - ], - "mapped", - [ - 51, - 26376 - ] - ], - [ - [ - 12995, - 12995 - ], - "mapped", - [ - 52, - 26376 - ] - ], - [ - [ - 12996, - 12996 - ], - "mapped", - [ - 53, - 26376 - ] - ], - [ - [ - 12997, - 12997 - ], - "mapped", - [ - 54, - 26376 - ] - ], - [ - [ - 12998, - 12998 - ], - "mapped", - [ - 55, - 26376 - ] - ], - [ - [ - 12999, - 12999 - ], - "mapped", - [ - 56, - 26376 - ] - ], - [ - [ - 13000, - 13000 - ], - "mapped", - [ - 57, - 26376 - ] - ], - [ - [ - 13001, - 13001 - ], - "mapped", - [ - 49, - 48, - 26376 - ] - ], - [ - [ - 13002, - 13002 - ], - "mapped", - [ - 49, - 49, - 26376 - ] - ], - [ - [ - 13003, - 13003 - ], - "mapped", - [ - 49, - 50, - 26376 - ] - ], - [ - [ - 13004, - 13004 - ], - "mapped", - [ - 104, - 103 - ] - ], - [ - [ - 13005, - 13005 - ], - "mapped", - [ - 101, - 114, - 103 - ] - ], - [ - [ - 13006, - 13006 - ], - "mapped", - [ - 101, - 118 - ] - ], - [ - [ - 13007, - 13007 - ], - "mapped", - [ - 108, - 116, - 100 - ] - ], - [ - [ - 13008, - 13008 - ], - "mapped", - [ - 12450 - ] - ], - [ - [ - 13009, - 13009 - ], - "mapped", - [ - 12452 - ] - ], - [ - [ - 13010, - 13010 - ], - "mapped", - [ - 12454 - ] - ], - [ - [ - 13011, - 13011 - ], - "mapped", - [ - 12456 - ] - ], - [ - [ - 13012, - 13012 - ], - "mapped", - [ - 12458 - ] - ], - [ - [ - 13013, - 13013 - ], - "mapped", - [ - 12459 - ] - ], - [ - [ - 13014, - 13014 - ], - "mapped", - [ - 12461 - ] - ], - [ - [ - 13015, - 13015 - ], - "mapped", - [ - 12463 - ] - ], - [ - [ - 13016, - 13016 - ], - "mapped", - [ - 12465 - ] - ], - [ - [ - 13017, - 13017 - ], - "mapped", - [ - 12467 - ] - ], - [ - [ - 13018, - 13018 - ], - "mapped", - [ - 12469 - ] - ], - [ - [ - 13019, - 13019 - ], - "mapped", - [ - 12471 - ] - ], - [ - [ - 13020, - 13020 - ], - "mapped", - [ - 12473 - ] - ], - [ - [ - 13021, - 13021 - ], - "mapped", - [ - 12475 - ] - ], - [ - [ - 13022, - 13022 - ], - "mapped", - [ - 12477 - ] - ], - [ - [ - 13023, - 13023 - ], - "mapped", - [ - 12479 - ] - ], - [ - [ - 13024, - 13024 - ], - "mapped", - [ - 12481 - ] - ], - [ - [ - 13025, - 13025 - ], - "mapped", - [ - 12484 - ] - ], - [ - [ - 13026, - 13026 - ], - "mapped", - [ - 12486 - ] - ], - [ - [ - 13027, - 13027 - ], - "mapped", - [ - 12488 - ] - ], - [ - [ - 13028, - 13028 - ], - "mapped", - [ - 12490 - ] - ], - [ - [ - 13029, - 13029 - ], - "mapped", - [ - 12491 - ] - ], - [ - [ - 13030, - 13030 - ], - "mapped", - [ - 12492 - ] - ], - [ - [ - 13031, - 13031 - ], - "mapped", - [ - 12493 - ] - ], - [ - [ - 13032, - 13032 - ], - "mapped", - [ - 12494 - ] - ], - [ - [ - 13033, - 13033 - ], - "mapped", - [ - 12495 - ] - ], - [ - [ - 13034, - 13034 - ], - "mapped", - [ - 12498 - ] - ], - [ - [ - 13035, - 13035 - ], - "mapped", - [ - 12501 - ] - ], - [ - [ - 13036, - 13036 - ], - "mapped", - [ - 12504 - ] - ], - [ - [ - 13037, - 13037 - ], - "mapped", - [ - 12507 - ] - ], - [ - [ - 13038, - 13038 - ], - "mapped", - [ - 12510 - ] - ], - [ - [ - 13039, - 13039 - ], - "mapped", - [ - 12511 - ] - ], - [ - [ - 13040, - 13040 - ], - "mapped", - [ - 12512 - ] - ], - [ - [ - 13041, - 13041 - ], - "mapped", - [ - 12513 - ] - ], - [ - [ - 13042, - 13042 - ], - "mapped", - [ - 12514 - ] - ], - [ - [ - 13043, - 13043 - ], - "mapped", - [ - 12516 - ] - ], - [ - [ - 13044, - 13044 - ], - "mapped", - [ - 12518 - ] - ], - [ - [ - 13045, - 13045 - ], - "mapped", - [ - 12520 - ] - ], - [ - [ - 13046, - 13046 - ], - "mapped", - [ - 12521 - ] - ], - [ - [ - 13047, - 13047 - ], - "mapped", - [ - 12522 - ] - ], - [ - [ - 13048, - 13048 - ], - "mapped", - [ - 12523 - ] - ], - [ - [ - 13049, - 13049 - ], - "mapped", - [ - 12524 - ] - ], - [ - [ - 13050, - 13050 - ], - "mapped", - [ - 12525 - ] - ], - [ - [ - 13051, - 13051 - ], - "mapped", - [ - 12527 - ] - ], - [ - [ - 13052, - 13052 - ], - "mapped", - [ - 12528 - ] - ], - [ - [ - 13053, - 13053 - ], - "mapped", - [ - 12529 - ] - ], - [ - [ - 13054, - 13054 - ], - "mapped", - [ - 12530 - ] - ], - [ - [ - 13055, - 13055 - ], - "disallowed" - ], - [ - [ - 13056, - 13056 - ], - "mapped", - [ - 12450, - 12497, - 12540, - 12488 - ] - ], - [ - [ - 13057, - 13057 - ], - "mapped", - [ - 12450, - 12523, - 12501, - 12449 - ] - ], - [ - [ - 13058, - 13058 - ], - "mapped", - [ - 12450, - 12531, - 12506, - 12450 - ] - ], - [ - [ - 13059, - 13059 - ], - "mapped", - [ - 12450, - 12540, - 12523 - ] - ], - [ - [ - 13060, - 13060 - ], - "mapped", - [ - 12452, - 12491, - 12531, - 12464 - ] - ], - [ - [ - 13061, - 13061 - ], - "mapped", - [ - 12452, - 12531, - 12481 - ] - ], - [ - [ - 13062, - 13062 - ], - "mapped", - [ - 12454, - 12457, - 12531 - ] - ], - [ - [ - 13063, - 13063 - ], - "mapped", - [ - 12456, - 12473, - 12463, - 12540, - 12489 - ] - ], - [ - [ - 13064, - 13064 - ], - "mapped", - [ - 12456, - 12540, - 12459, - 12540 - ] - ], - [ - [ - 13065, - 13065 - ], - "mapped", - [ - 12458, - 12531, - 12473 - ] - ], - [ - [ - 13066, - 13066 - ], - "mapped", - [ - 12458, - 12540, - 12512 - ] - ], - [ - [ - 13067, - 13067 - ], - "mapped", - [ - 12459, - 12452, - 12522 - ] - ], - [ - [ - 13068, - 13068 - ], - "mapped", - [ - 12459, - 12521, - 12483, - 12488 - ] - ], - [ - [ - 13069, - 13069 - ], - "mapped", - [ - 12459, - 12525, - 12522, - 12540 - ] - ], - [ - [ - 13070, - 13070 - ], - "mapped", - [ - 12460, - 12525, - 12531 - ] - ], - [ - [ - 13071, - 13071 - ], - "mapped", - [ - 12460, - 12531, - 12510 - ] - ], - [ - [ - 13072, - 13072 - ], - "mapped", - [ - 12462, - 12460 - ] - ], - [ - [ - 13073, - 13073 - ], - "mapped", - [ - 12462, - 12491, - 12540 - ] - ], - [ - [ - 13074, - 13074 - ], - "mapped", - [ - 12461, - 12517, - 12522, - 12540 - ] - ], - [ - [ - 13075, - 13075 - ], - "mapped", - [ - 12462, - 12523, - 12480, - 12540 - ] - ], - [ - [ - 13076, - 13076 - ], - "mapped", - [ - 12461, - 12525 - ] - ], - [ - [ - 13077, - 13077 - ], - "mapped", - [ - 12461, - 12525, - 12464, - 12521, - 12512 - ] - ], - [ - [ - 13078, - 13078 - ], - "mapped", - [ - 12461, - 12525, - 12513, - 12540, - 12488, - 12523 - ] - ], - [ - [ - 13079, - 13079 - ], - "mapped", - [ - 12461, - 12525, - 12527, - 12483, - 12488 - ] - ], - [ - [ - 13080, - 13080 - ], - "mapped", - [ - 12464, - 12521, - 12512 - ] - ], - [ - [ - 13081, - 13081 - ], - "mapped", - [ - 12464, - 12521, - 12512, - 12488, - 12531 - ] - ], - [ - [ - 13082, - 13082 - ], - "mapped", - [ - 12463, - 12523, - 12476, - 12452, - 12525 - ] - ], - [ - [ - 13083, - 13083 - ], - "mapped", - [ - 12463, - 12525, - 12540, - 12493 - ] - ], - [ - [ - 13084, - 13084 - ], - "mapped", - [ - 12465, - 12540, - 12473 - ] - ], - [ - [ - 13085, - 13085 - ], - "mapped", - [ - 12467, - 12523, - 12490 - ] - ], - [ - [ - 13086, - 13086 - ], - "mapped", - [ - 12467, - 12540, - 12509 - ] - ], - [ - [ - 13087, - 13087 - ], - "mapped", - [ - 12469, - 12452, - 12463, - 12523 - ] - ], - [ - [ - 13088, - 13088 - ], - "mapped", - [ - 12469, - 12531, - 12481, - 12540, - 12512 - ] - ], - [ - [ - 13089, - 13089 - ], - "mapped", - [ - 12471, - 12522, - 12531, - 12464 - ] - ], - [ - [ - 13090, - 13090 - ], - "mapped", - [ - 12475, - 12531, - 12481 - ] - ], - [ - [ - 13091, - 13091 - ], - "mapped", - [ - 12475, - 12531, - 12488 - ] - ], - [ - [ - 13092, - 13092 - ], - "mapped", - [ - 12480, - 12540, - 12473 - ] - ], - [ - [ - 13093, - 13093 - ], - "mapped", - [ - 12487, - 12471 - ] - ], - [ - [ - 13094, - 13094 - ], - "mapped", - [ - 12489, - 12523 - ] - ], - [ - [ - 13095, - 13095 - ], - "mapped", - [ - 12488, - 12531 - ] - ], - [ - [ - 13096, - 13096 - ], - "mapped", - [ - 12490, - 12494 - ] - ], - [ - [ - 13097, - 13097 - ], - "mapped", - [ - 12494, - 12483, - 12488 - ] - ], - [ - [ - 13098, - 13098 - ], - "mapped", - [ - 12495, - 12452, - 12484 - ] - ], - [ - [ - 13099, - 13099 - ], - "mapped", - [ - 12497, - 12540, - 12475, - 12531, - 12488 - ] - ], - [ - [ - 13100, - 13100 - ], - "mapped", - [ - 12497, - 12540, - 12484 - ] - ], - [ - [ - 13101, - 13101 - ], - "mapped", - [ - 12496, - 12540, - 12524, - 12523 - ] - ], - [ - [ - 13102, - 13102 - ], - "mapped", - [ - 12500, - 12450, - 12473, - 12488, - 12523 - ] - ], - [ - [ - 13103, - 13103 - ], - "mapped", - [ - 12500, - 12463, - 12523 - ] - ], - [ - [ - 13104, - 13104 - ], - "mapped", - [ - 12500, - 12467 - ] - ], - [ - [ - 13105, - 13105 - ], - "mapped", - [ - 12499, - 12523 - ] - ], - [ - [ - 13106, - 13106 - ], - "mapped", - [ - 12501, - 12449, - 12521, - 12483, - 12489 - ] - ], - [ - [ - 13107, - 13107 - ], - "mapped", - [ - 12501, - 12451, - 12540, - 12488 - ] - ], - [ - [ - 13108, - 13108 - ], - "mapped", - [ - 12502, - 12483, - 12471, - 12455, - 12523 - ] - ], - [ - [ - 13109, - 13109 - ], - "mapped", - [ - 12501, - 12521, - 12531 - ] - ], - [ - [ - 13110, - 13110 - ], - "mapped", - [ - 12504, - 12463, - 12479, - 12540, - 12523 - ] - ], - [ - [ - 13111, - 13111 - ], - "mapped", - [ - 12506, - 12477 - ] - ], - [ - [ - 13112, - 13112 - ], - "mapped", - [ - 12506, - 12491, - 12498 - ] - ], - [ - [ - 13113, - 13113 - ], - "mapped", - [ - 12504, - 12523, - 12484 - ] - ], - [ - [ - 13114, - 13114 - ], - "mapped", - [ - 12506, - 12531, - 12473 - ] - ], - [ - [ - 13115, - 13115 - ], - "mapped", - [ - 12506, - 12540, - 12472 - ] - ], - [ - [ - 13116, - 13116 - ], - "mapped", - [ - 12505, - 12540, - 12479 - ] - ], - [ - [ - 13117, - 13117 - ], - "mapped", - [ - 12509, - 12452, - 12531, - 12488 - ] - ], - [ - [ - 13118, - 13118 - ], - "mapped", - [ - 12508, - 12523, - 12488 - ] - ], - [ - [ - 13119, - 13119 - ], - "mapped", - [ - 12507, - 12531 - ] - ], - [ - [ - 13120, - 13120 - ], - "mapped", - [ - 12509, - 12531, - 12489 - ] - ], - [ - [ - 13121, - 13121 - ], - "mapped", - [ - 12507, - 12540, - 12523 - ] - ], - [ - [ - 13122, - 13122 - ], - "mapped", - [ - 12507, - 12540, - 12531 - ] - ], - [ - [ - 13123, - 13123 - ], - "mapped", - [ - 12510, - 12452, - 12463, - 12525 - ] - ], - [ - [ - 13124, - 13124 - ], - "mapped", - [ - 12510, - 12452, - 12523 - ] - ], - [ - [ - 13125, - 13125 - ], - "mapped", - [ - 12510, - 12483, - 12495 - ] - ], - [ - [ - 13126, - 13126 - ], - "mapped", - [ - 12510, - 12523, - 12463 - ] - ], - [ - [ - 13127, - 13127 - ], - "mapped", - [ - 12510, - 12531, - 12471, - 12519, - 12531 - ] - ], - [ - [ - 13128, - 13128 - ], - "mapped", - [ - 12511, - 12463, - 12525, - 12531 - ] - ], - [ - [ - 13129, - 13129 - ], - "mapped", - [ - 12511, - 12522 - ] - ], - [ - [ - 13130, - 13130 - ], - "mapped", - [ - 12511, - 12522, - 12496, - 12540, - 12523 - ] - ], - [ - [ - 13131, - 13131 - ], - "mapped", - [ - 12513, - 12460 - ] - ], - [ - [ - 13132, - 13132 - ], - "mapped", - [ - 12513, - 12460, - 12488, - 12531 - ] - ], - [ - [ - 13133, - 13133 - ], - "mapped", - [ - 12513, - 12540, - 12488, - 12523 - ] - ], - [ - [ - 13134, - 13134 - ], - "mapped", - [ - 12516, - 12540, - 12489 - ] - ], - [ - [ - 13135, - 13135 - ], - "mapped", - [ - 12516, - 12540, - 12523 - ] - ], - [ - [ - 13136, - 13136 - ], - "mapped", - [ - 12518, - 12450, - 12531 - ] - ], - [ - [ - 13137, - 13137 - ], - "mapped", - [ - 12522, - 12483, - 12488, - 12523 - ] - ], - [ - [ - 13138, - 13138 - ], - "mapped", - [ - 12522, - 12521 - ] - ], - [ - [ - 13139, - 13139 - ], - "mapped", - [ - 12523, - 12500, - 12540 - ] - ], - [ - [ - 13140, - 13140 - ], - "mapped", - [ - 12523, - 12540, - 12502, - 12523 - ] - ], - [ - [ - 13141, - 13141 - ], - "mapped", - [ - 12524, - 12512 - ] - ], - [ - [ - 13142, - 13142 - ], - "mapped", - [ - 12524, - 12531, - 12488, - 12466, - 12531 - ] - ], - [ - [ - 13143, - 13143 - ], - "mapped", - [ - 12527, - 12483, - 12488 - ] - ], - [ - [ - 13144, - 13144 - ], - "mapped", - [ - 48, - 28857 - ] - ], - [ - [ - 13145, - 13145 - ], - "mapped", - [ - 49, - 28857 - ] - ], - [ - [ - 13146, - 13146 - ], - "mapped", - [ - 50, - 28857 - ] - ], - [ - [ - 13147, - 13147 - ], - "mapped", - [ - 51, - 28857 - ] - ], - [ - [ - 13148, - 13148 - ], - "mapped", - [ - 52, - 28857 - ] - ], - [ - [ - 13149, - 13149 - ], - "mapped", - [ - 53, - 28857 - ] - ], - [ - [ - 13150, - 13150 - ], - "mapped", - [ - 54, - 28857 - ] - ], - [ - [ - 13151, - 13151 - ], - "mapped", - [ - 55, - 28857 - ] - ], - [ - [ - 13152, - 13152 - ], - "mapped", - [ - 56, - 28857 - ] - ], - [ - [ - 13153, - 13153 - ], - "mapped", - [ - 57, - 28857 - ] - ], - [ - [ - 13154, - 13154 - ], - "mapped", - [ - 49, - 48, - 28857 - ] - ], - [ - [ - 13155, - 13155 - ], - "mapped", - [ - 49, - 49, - 28857 - ] - ], - [ - [ - 13156, - 13156 - ], - "mapped", - [ - 49, - 50, - 28857 - ] - ], - [ - [ - 13157, - 13157 - ], - "mapped", - [ - 49, - 51, - 28857 - ] - ], - [ - [ - 13158, - 13158 - ], - "mapped", - [ - 49, - 52, - 28857 - ] - ], - [ - [ - 13159, - 13159 - ], - "mapped", - [ - 49, - 53, - 28857 - ] - ], - [ - [ - 13160, - 13160 - ], - "mapped", - [ - 49, - 54, - 28857 - ] - ], - [ - [ - 13161, - 13161 - ], - "mapped", - [ - 49, - 55, - 28857 - ] - ], - [ - [ - 13162, - 13162 - ], - "mapped", - [ - 49, - 56, - 28857 - ] - ], - [ - [ - 13163, - 13163 - ], - "mapped", - [ - 49, - 57, - 28857 - ] - ], - [ - [ - 13164, - 13164 - ], - "mapped", - [ - 50, - 48, - 28857 - ] - ], - [ - [ - 13165, - 13165 - ], - "mapped", - [ - 50, - 49, - 28857 - ] - ], - [ - [ - 13166, - 13166 - ], - "mapped", - [ - 50, - 50, - 28857 - ] - ], - [ - [ - 13167, - 13167 - ], - "mapped", - [ - 50, - 51, - 28857 - ] - ], - [ - [ - 13168, - 13168 - ], - "mapped", - [ - 50, - 52, - 28857 - ] - ], - [ - [ - 13169, - 13169 - ], - "mapped", - [ - 104, - 112, - 97 - ] - ], - [ - [ - 13170, - 13170 - ], - "mapped", - [ - 100, - 97 - ] - ], - [ - [ - 13171, - 13171 - ], - "mapped", - [ - 97, - 117 - ] - ], - [ - [ - 13172, - 13172 - ], - "mapped", - [ - 98, - 97, - 114 - ] - ], - [ - [ - 13173, - 13173 - ], - "mapped", - [ - 111, - 118 - ] - ], - [ - [ - 13174, - 13174 - ], - "mapped", - [ - 112, - 99 - ] - ], - [ - [ - 13175, - 13175 - ], - "mapped", - [ - 100, - 109 - ] - ], - [ - [ - 13176, - 13176 - ], - "mapped", - [ - 100, - 109, - 50 - ] - ], - [ - [ - 13177, - 13177 - ], - "mapped", - [ - 100, - 109, - 51 - ] - ], - [ - [ - 13178, - 13178 - ], - "mapped", - [ - 105, - 117 - ] - ], - [ - [ - 13179, - 13179 - ], - "mapped", - [ - 24179, - 25104 - ] - ], - [ - [ - 13180, - 13180 - ], - "mapped", - [ - 26157, - 21644 - ] - ], - [ - [ - 13181, - 13181 - ], - "mapped", - [ - 22823, - 27491 - ] - ], - [ - [ - 13182, - 13182 - ], - "mapped", - [ - 26126, - 27835 - ] - ], - [ - [ - 13183, - 13183 - ], - "mapped", - [ - 26666, - 24335, - 20250, - 31038 - ] - ], - [ - [ - 13184, - 13184 - ], - "mapped", - [ - 112, - 97 - ] - ], - [ - [ - 13185, - 13185 - ], - "mapped", - [ - 110, - 97 - ] - ], - [ - [ - 13186, - 13186 - ], - "mapped", - [ - 956, - 97 - ] - ], - [ - [ - 13187, - 13187 - ], - "mapped", - [ - 109, - 97 - ] - ], - [ - [ - 13188, - 13188 - ], - "mapped", - [ - 107, - 97 - ] - ], - [ - [ - 13189, - 13189 - ], - "mapped", - [ - 107, - 98 - ] - ], - [ - [ - 13190, - 13190 - ], - "mapped", - [ - 109, - 98 - ] - ], - [ - [ - 13191, - 13191 - ], - "mapped", - [ - 103, - 98 - ] - ], - [ - [ - 13192, - 13192 - ], - "mapped", - [ - 99, - 97, - 108 - ] - ], - [ - [ - 13193, - 13193 - ], - "mapped", - [ - 107, - 99, - 97, - 108 - ] - ], - [ - [ - 13194, - 13194 - ], - "mapped", - [ - 112, - 102 - ] - ], - [ - [ - 13195, - 13195 - ], - "mapped", - [ - 110, - 102 - ] - ], - [ - [ - 13196, - 13196 - ], - "mapped", - [ - 956, - 102 - ] - ], - [ - [ - 13197, - 13197 - ], - "mapped", - [ - 956, - 103 - ] - ], - [ - [ - 13198, - 13198 - ], - "mapped", - [ - 109, - 103 - ] - ], - [ - [ - 13199, - 13199 - ], - "mapped", - [ - 107, - 103 - ] - ], - [ - [ - 13200, - 13200 - ], - "mapped", - [ - 104, - 122 - ] - ], - [ - [ - 13201, - 13201 - ], - "mapped", - [ - 107, - 104, - 122 - ] - ], - [ - [ - 13202, - 13202 - ], - "mapped", - [ - 109, - 104, - 122 - ] - ], - [ - [ - 13203, - 13203 - ], - "mapped", - [ - 103, - 104, - 122 - ] - ], - [ - [ - 13204, - 13204 - ], - "mapped", - [ - 116, - 104, - 122 - ] - ], - [ - [ - 13205, - 13205 - ], - "mapped", - [ - 956, - 108 - ] - ], - [ - [ - 13206, - 13206 - ], - "mapped", - [ - 109, - 108 - ] - ], - [ - [ - 13207, - 13207 - ], - "mapped", - [ - 100, - 108 - ] - ], - [ - [ - 13208, - 13208 - ], - "mapped", - [ - 107, - 108 - ] - ], - [ - [ - 13209, - 13209 - ], - "mapped", - [ - 102, - 109 - ] - ], - [ - [ - 13210, - 13210 - ], - "mapped", - [ - 110, - 109 - ] - ], - [ - [ - 13211, - 13211 - ], - "mapped", - [ - 956, - 109 - ] - ], - [ - [ - 13212, - 13212 - ], - "mapped", - [ - 109, - 109 - ] - ], - [ - [ - 13213, - 13213 - ], - "mapped", - [ - 99, - 109 - ] - ], - [ - [ - 13214, - 13214 - ], - "mapped", - [ - 107, - 109 - ] - ], - [ - [ - 13215, - 13215 - ], - "mapped", - [ - 109, - 109, - 50 - ] - ], - [ - [ - 13216, - 13216 - ], - "mapped", - [ - 99, - 109, - 50 - ] - ], - [ - [ - 13217, - 13217 - ], - "mapped", - [ - 109, - 50 - ] - ], - [ - [ - 13218, - 13218 - ], - "mapped", - [ - 107, - 109, - 50 - ] - ], - [ - [ - 13219, - 13219 - ], - "mapped", - [ - 109, - 109, - 51 - ] - ], - [ - [ - 13220, - 13220 - ], - "mapped", - [ - 99, - 109, - 51 - ] - ], - [ - [ - 13221, - 13221 - ], - "mapped", - [ - 109, - 51 - ] - ], - [ - [ - 13222, - 13222 - ], - "mapped", - [ - 107, - 109, - 51 - ] - ], - [ - [ - 13223, - 13223 - ], - "mapped", - [ - 109, - 8725, - 115 - ] - ], - [ - [ - 13224, - 13224 - ], - "mapped", - [ - 109, - 8725, - 115, - 50 - ] - ], - [ - [ - 13225, - 13225 - ], - "mapped", - [ - 112, - 97 - ] - ], - [ - [ - 13226, - 13226 - ], - "mapped", - [ - 107, - 112, - 97 - ] - ], - [ - [ - 13227, - 13227 - ], - "mapped", - [ - 109, - 112, - 97 - ] - ], - [ - [ - 13228, - 13228 - ], - "mapped", - [ - 103, - 112, - 97 - ] - ], - [ - [ - 13229, - 13229 - ], - "mapped", - [ - 114, - 97, - 100 - ] - ], - [ - [ - 13230, - 13230 - ], - "mapped", - [ - 114, - 97, - 100, - 8725, - 115 - ] - ], - [ - [ - 13231, - 13231 - ], - "mapped", - [ - 114, - 97, - 100, - 8725, - 115, - 50 - ] - ], - [ - [ - 13232, - 13232 - ], - "mapped", - [ - 112, - 115 - ] - ], - [ - [ - 13233, - 13233 - ], - "mapped", - [ - 110, - 115 - ] - ], - [ - [ - 13234, - 13234 - ], - "mapped", - [ - 956, - 115 - ] - ], - [ - [ - 13235, - 13235 - ], - "mapped", - [ - 109, - 115 - ] - ], - [ - [ - 13236, - 13236 - ], - "mapped", - [ - 112, - 118 - ] - ], - [ - [ - 13237, - 13237 - ], - "mapped", - [ - 110, - 118 - ] - ], - [ - [ - 13238, - 13238 - ], - "mapped", - [ - 956, - 118 - ] - ], - [ - [ - 13239, - 13239 - ], - "mapped", - [ - 109, - 118 - ] - ], - [ - [ - 13240, - 13240 - ], - "mapped", - [ - 107, - 118 - ] - ], - [ - [ - 13241, - 13241 - ], - "mapped", - [ - 109, - 118 - ] - ], - [ - [ - 13242, - 13242 - ], - "mapped", - [ - 112, - 119 - ] - ], - [ - [ - 13243, - 13243 - ], - "mapped", - [ - 110, - 119 - ] - ], - [ - [ - 13244, - 13244 - ], - "mapped", - [ - 956, - 119 - ] - ], - [ - [ - 13245, - 13245 - ], - "mapped", - [ - 109, - 119 - ] - ], - [ - [ - 13246, - 13246 - ], - "mapped", - [ - 107, - 119 - ] - ], - [ - [ - 13247, - 13247 - ], - "mapped", - [ - 109, - 119 - ] - ], - [ - [ - 13248, - 13248 - ], - "mapped", - [ - 107, - 969 - ] - ], - [ - [ - 13249, - 13249 - ], - "mapped", - [ - 109, - 969 - ] - ], - [ - [ - 13250, - 13250 - ], - "disallowed" - ], - [ - [ - 13251, - 13251 - ], - "mapped", - [ - 98, - 113 - ] - ], - [ - [ - 13252, - 13252 - ], - "mapped", - [ - 99, - 99 - ] - ], - [ - [ - 13253, - 13253 - ], - "mapped", - [ - 99, - 100 - ] - ], - [ - [ - 13254, - 13254 - ], - "mapped", - [ - 99, - 8725, - 107, - 103 - ] - ], - [ - [ - 13255, - 13255 - ], - "disallowed" - ], - [ - [ - 13256, - 13256 - ], - "mapped", - [ - 100, - 98 - ] - ], - [ - [ - 13257, - 13257 - ], - "mapped", - [ - 103, - 121 - ] - ], - [ - [ - 13258, - 13258 - ], - "mapped", - [ - 104, - 97 - ] - ], - [ - [ - 13259, - 13259 - ], - "mapped", - [ - 104, - 112 - ] - ], - [ - [ - 13260, - 13260 - ], - "mapped", - [ - 105, - 110 - ] - ], - [ - [ - 13261, - 13261 - ], - "mapped", - [ - 107, - 107 - ] - ], - [ - [ - 13262, - 13262 - ], - "mapped", - [ - 107, - 109 - ] - ], - [ - [ - 13263, - 13263 - ], - "mapped", - [ - 107, - 116 - ] - ], - [ - [ - 13264, - 13264 - ], - "mapped", - [ - 108, - 109 - ] - ], - [ - [ - 13265, - 13265 - ], - "mapped", - [ - 108, - 110 - ] - ], - [ - [ - 13266, - 13266 - ], - "mapped", - [ - 108, - 111, - 103 - ] - ], - [ - [ - 13267, - 13267 - ], - "mapped", - [ - 108, - 120 - ] - ], - [ - [ - 13268, - 13268 - ], - "mapped", - [ - 109, - 98 - ] - ], - [ - [ - 13269, - 13269 - ], - "mapped", - [ - 109, - 105, - 108 - ] - ], - [ - [ - 13270, - 13270 - ], - "mapped", - [ - 109, - 111, - 108 - ] - ], - [ - [ - 13271, - 13271 - ], - "mapped", - [ - 112, - 104 - ] - ], - [ - [ - 13272, - 13272 - ], - "disallowed" - ], - [ - [ - 13273, - 13273 - ], - "mapped", - [ - 112, - 112, - 109 - ] - ], - [ - [ - 13274, - 13274 - ], - "mapped", - [ - 112, - 114 - ] - ], - [ - [ - 13275, - 13275 - ], - "mapped", - [ - 115, - 114 - ] - ], - [ - [ - 13276, - 13276 - ], - "mapped", - [ - 115, - 118 - ] - ], - [ - [ - 13277, - 13277 - ], - "mapped", - [ - 119, - 98 - ] - ], - [ - [ - 13278, - 13278 - ], - "mapped", - [ - 118, - 8725, - 109 - ] - ], - [ - [ - 13279, - 13279 - ], - "mapped", - [ - 97, - 8725, - 109 - ] - ], - [ - [ - 13280, - 13280 - ], - "mapped", - [ - 49, - 26085 - ] - ], - [ - [ - 13281, - 13281 - ], - "mapped", - [ - 50, - 26085 - ] - ], - [ - [ - 13282, - 13282 - ], - "mapped", - [ - 51, - 26085 - ] - ], - [ - [ - 13283, - 13283 - ], - "mapped", - [ - 52, - 26085 - ] - ], - [ - [ - 13284, - 13284 - ], - "mapped", - [ - 53, - 26085 - ] - ], - [ - [ - 13285, - 13285 - ], - "mapped", - [ - 54, - 26085 - ] - ], - [ - [ - 13286, - 13286 - ], - "mapped", - [ - 55, - 26085 - ] - ], - [ - [ - 13287, - 13287 - ], - "mapped", - [ - 56, - 26085 - ] - ], - [ - [ - 13288, - 13288 - ], - "mapped", - [ - 57, - 26085 - ] - ], - [ - [ - 13289, - 13289 - ], - "mapped", - [ - 49, - 48, - 26085 - ] - ], - [ - [ - 13290, - 13290 - ], - "mapped", - [ - 49, - 49, - 26085 - ] - ], - [ - [ - 13291, - 13291 - ], - "mapped", - [ - 49, - 50, - 26085 - ] - ], - [ - [ - 13292, - 13292 - ], - "mapped", - [ - 49, - 51, - 26085 - ] - ], - [ - [ - 13293, - 13293 - ], - "mapped", - [ - 49, - 52, - 26085 - ] - ], - [ - [ - 13294, - 13294 - ], - "mapped", - [ - 49, - 53, - 26085 - ] - ], - [ - [ - 13295, - 13295 - ], - "mapped", - [ - 49, - 54, - 26085 - ] - ], - [ - [ - 13296, - 13296 - ], - "mapped", - [ - 49, - 55, - 26085 - ] - ], - [ - [ - 13297, - 13297 - ], - "mapped", - [ - 49, - 56, - 26085 - ] - ], - [ - [ - 13298, - 13298 - ], - "mapped", - [ - 49, - 57, - 26085 - ] - ], - [ - [ - 13299, - 13299 - ], - "mapped", - [ - 50, - 48, - 26085 - ] - ], - [ - [ - 13300, - 13300 - ], - "mapped", - [ - 50, - 49, - 26085 - ] - ], - [ - [ - 13301, - 13301 - ], - "mapped", - [ - 50, - 50, - 26085 - ] - ], - [ - [ - 13302, - 13302 - ], - "mapped", - [ - 50, - 51, - 26085 - ] - ], - [ - [ - 13303, - 13303 - ], - "mapped", - [ - 50, - 52, - 26085 - ] - ], - [ - [ - 13304, - 13304 - ], - "mapped", - [ - 50, - 53, - 26085 - ] - ], - [ - [ - 13305, - 13305 - ], - "mapped", - [ - 50, - 54, - 26085 - ] - ], - [ - [ - 13306, - 13306 - ], - "mapped", - [ - 50, - 55, - 26085 - ] - ], - [ - [ - 13307, - 13307 - ], - "mapped", - [ - 50, - 56, - 26085 - ] - ], - [ - [ - 13308, - 13308 - ], - "mapped", - [ - 50, - 57, - 26085 - ] - ], - [ - [ - 13309, - 13309 - ], - "mapped", - [ - 51, - 48, - 26085 - ] - ], - [ - [ - 13310, - 13310 - ], - "mapped", - [ - 51, - 49, - 26085 - ] - ], - [ - [ - 13311, - 13311 - ], - "mapped", - [ - 103, - 97, - 108 - ] - ], - [ - [ - 13312, - 19893 - ], - "valid" - ], - [ - [ - 19894, - 19903 - ], - "disallowed" - ], - [ - [ - 19904, - 19967 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 19968, - 40869 - ], - "valid" - ], - [ - [ - 40870, - 40891 - ], - "valid" - ], - [ - [ - 40892, - 40899 - ], - "valid" - ], - [ - [ - 40900, - 40907 - ], - "valid" - ], - [ - [ - 40908, - 40908 - ], - "valid" - ], - [ - [ - 40909, - 40917 - ], - "valid" - ], - [ - [ - 40918, - 40959 - ], - "disallowed" - ], - [ - [ - 40960, - 42124 - ], - "valid" - ], - [ - [ - 42125, - 42127 - ], - "disallowed" - ], - [ - [ - 42128, - 42145 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42146, - 42147 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42148, - 42163 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42164, - 42164 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42165, - 42176 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42177, - 42177 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42178, - 42180 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42181, - 42181 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42182, - 42182 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42183, - 42191 - ], - "disallowed" - ], - [ - [ - 42192, - 42237 - ], - "valid" - ], - [ - [ - 42238, - 42239 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42240, - 42508 - ], - "valid" - ], - [ - [ - 42509, - 42511 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42512, - 42539 - ], - "valid" - ], - [ - [ - 42540, - 42559 - ], - "disallowed" - ], - [ - [ - 42560, - 42560 - ], - "mapped", - [ - 42561 - ] - ], - [ - [ - 42561, - 42561 - ], - "valid" - ], - [ - [ - 42562, - 42562 - ], - "mapped", - [ - 42563 - ] - ], - [ - [ - 42563, - 42563 - ], - "valid" - ], - [ - [ - 42564, - 42564 - ], - "mapped", - [ - 42565 - ] - ], - [ - [ - 42565, - 42565 - ], - "valid" - ], - [ - [ - 42566, - 42566 - ], - "mapped", - [ - 42567 - ] - ], - [ - [ - 42567, - 42567 - ], - "valid" - ], - [ - [ - 42568, - 42568 - ], - "mapped", - [ - 42569 - ] - ], - [ - [ - 42569, - 42569 - ], - "valid" - ], - [ - [ - 42570, - 42570 - ], - "mapped", - [ - 42571 - ] - ], - [ - [ - 42571, - 42571 - ], - "valid" - ], - [ - [ - 42572, - 42572 - ], - "mapped", - [ - 42573 - ] - ], - [ - [ - 42573, - 42573 - ], - "valid" - ], - [ - [ - 42574, - 42574 - ], - "mapped", - [ - 42575 - ] - ], - [ - [ - 42575, - 42575 - ], - "valid" - ], - [ - [ - 42576, - 42576 - ], - "mapped", - [ - 42577 - ] - ], - [ - [ - 42577, - 42577 - ], - "valid" - ], - [ - [ - 42578, - 42578 - ], - "mapped", - [ - 42579 - ] - ], - [ - [ - 42579, - 42579 - ], - "valid" - ], - [ - [ - 42580, - 42580 - ], - "mapped", - [ - 42581 - ] - ], - [ - [ - 42581, - 42581 - ], - "valid" - ], - [ - [ - 42582, - 42582 - ], - "mapped", - [ - 42583 - ] - ], - [ - [ - 42583, - 42583 - ], - "valid" - ], - [ - [ - 42584, - 42584 - ], - "mapped", - [ - 42585 - ] - ], - [ - [ - 42585, - 42585 - ], - "valid" - ], - [ - [ - 42586, - 42586 - ], - "mapped", - [ - 42587 - ] - ], - [ - [ - 42587, - 42587 - ], - "valid" - ], - [ - [ - 42588, - 42588 - ], - "mapped", - [ - 42589 - ] - ], - [ - [ - 42589, - 42589 - ], - "valid" - ], - [ - [ - 42590, - 42590 - ], - "mapped", - [ - 42591 - ] - ], - [ - [ - 42591, - 42591 - ], - "valid" - ], - [ - [ - 42592, - 42592 - ], - "mapped", - [ - 42593 - ] - ], - [ - [ - 42593, - 42593 - ], - "valid" - ], - [ - [ - 42594, - 42594 - ], - "mapped", - [ - 42595 - ] - ], - [ - [ - 42595, - 42595 - ], - "valid" - ], - [ - [ - 42596, - 42596 - ], - "mapped", - [ - 42597 - ] - ], - [ - [ - 42597, - 42597 - ], - "valid" - ], - [ - [ - 42598, - 42598 - ], - "mapped", - [ - 42599 - ] - ], - [ - [ - 42599, - 42599 - ], - "valid" - ], - [ - [ - 42600, - 42600 - ], - "mapped", - [ - 42601 - ] - ], - [ - [ - 42601, - 42601 - ], - "valid" - ], - [ - [ - 42602, - 42602 - ], - "mapped", - [ - 42603 - ] - ], - [ - [ - 42603, - 42603 - ], - "valid" - ], - [ - [ - 42604, - 42604 - ], - "mapped", - [ - 42605 - ] - ], - [ - [ - 42605, - 42607 - ], - "valid" - ], - [ - [ - 42608, - 42611 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42612, - 42619 - ], - "valid" - ], - [ - [ - 42620, - 42621 - ], - "valid" - ], - [ - [ - 42622, - 42622 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42623, - 42623 - ], - "valid" - ], - [ - [ - 42624, - 42624 - ], - "mapped", - [ - 42625 - ] - ], - [ - [ - 42625, - 42625 - ], - "valid" - ], - [ - [ - 42626, - 42626 - ], - "mapped", - [ - 42627 - ] - ], - [ - [ - 42627, - 42627 - ], - "valid" - ], - [ - [ - 42628, - 42628 - ], - "mapped", - [ - 42629 - ] - ], - [ - [ - 42629, - 42629 - ], - "valid" - ], - [ - [ - 42630, - 42630 - ], - "mapped", - [ - 42631 - ] - ], - [ - [ - 42631, - 42631 - ], - "valid" - ], - [ - [ - 42632, - 42632 - ], - "mapped", - [ - 42633 - ] - ], - [ - [ - 42633, - 42633 - ], - "valid" - ], - [ - [ - 42634, - 42634 - ], - "mapped", - [ - 42635 - ] - ], - [ - [ - 42635, - 42635 - ], - "valid" - ], - [ - [ - 42636, - 42636 - ], - "mapped", - [ - 42637 - ] - ], - [ - [ - 42637, - 42637 - ], - "valid" - ], - [ - [ - 42638, - 42638 - ], - "mapped", - [ - 42639 - ] - ], - [ - [ - 42639, - 42639 - ], - "valid" - ], - [ - [ - 42640, - 42640 - ], - "mapped", - [ - 42641 - ] - ], - [ - [ - 42641, - 42641 - ], - "valid" - ], - [ - [ - 42642, - 42642 - ], - "mapped", - [ - 42643 - ] - ], - [ - [ - 42643, - 42643 - ], - "valid" - ], - [ - [ - 42644, - 42644 - ], - "mapped", - [ - 42645 - ] - ], - [ - [ - 42645, - 42645 - ], - "valid" - ], - [ - [ - 42646, - 42646 - ], - "mapped", - [ - 42647 - ] - ], - [ - [ - 42647, - 42647 - ], - "valid" - ], - [ - [ - 42648, - 42648 - ], - "mapped", - [ - 42649 - ] - ], - [ - [ - 42649, - 42649 - ], - "valid" - ], - [ - [ - 42650, - 42650 - ], - "mapped", - [ - 42651 - ] - ], - [ - [ - 42651, - 42651 - ], - "valid" - ], - [ - [ - 42652, - 42652 - ], - "mapped", - [ - 1098 - ] - ], - [ - [ - 42653, - 42653 - ], - "mapped", - [ - 1100 - ] - ], - [ - [ - 42654, - 42654 - ], - "valid" - ], - [ - [ - 42655, - 42655 - ], - "valid" - ], - [ - [ - 42656, - 42725 - ], - "valid" - ], - [ - [ - 42726, - 42735 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42736, - 42737 - ], - "valid" - ], - [ - [ - 42738, - 42743 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42744, - 42751 - ], - "disallowed" - ], - [ - [ - 42752, - 42774 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42775, - 42778 - ], - "valid" - ], - [ - [ - 42779, - 42783 - ], - "valid" - ], - [ - [ - 42784, - 42785 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42786, - 42786 - ], - "mapped", - [ - 42787 - ] - ], - [ - [ - 42787, - 42787 - ], - "valid" - ], - [ - [ - 42788, - 42788 - ], - "mapped", - [ - 42789 - ] - ], - [ - [ - 42789, - 42789 - ], - "valid" - ], - [ - [ - 42790, - 42790 - ], - "mapped", - [ - 42791 - ] - ], - [ - [ - 42791, - 42791 - ], - "valid" - ], - [ - [ - 42792, - 42792 - ], - "mapped", - [ - 42793 - ] - ], - [ - [ - 42793, - 42793 - ], - "valid" - ], - [ - [ - 42794, - 42794 - ], - "mapped", - [ - 42795 - ] - ], - [ - [ - 42795, - 42795 - ], - "valid" - ], - [ - [ - 42796, - 42796 - ], - "mapped", - [ - 42797 - ] - ], - [ - [ - 42797, - 42797 - ], - "valid" - ], - [ - [ - 42798, - 42798 - ], - "mapped", - [ - 42799 - ] - ], - [ - [ - 42799, - 42801 - ], - "valid" - ], - [ - [ - 42802, - 42802 - ], - "mapped", - [ - 42803 - ] - ], - [ - [ - 42803, - 42803 - ], - "valid" - ], - [ - [ - 42804, - 42804 - ], - "mapped", - [ - 42805 - ] - ], - [ - [ - 42805, - 42805 - ], - "valid" - ], - [ - [ - 42806, - 42806 - ], - "mapped", - [ - 42807 - ] - ], - [ - [ - 42807, - 42807 - ], - "valid" - ], - [ - [ - 42808, - 42808 - ], - "mapped", - [ - 42809 - ] - ], - [ - [ - 42809, - 42809 - ], - "valid" - ], - [ - [ - 42810, - 42810 - ], - "mapped", - [ - 42811 - ] - ], - [ - [ - 42811, - 42811 - ], - "valid" - ], - [ - [ - 42812, - 42812 - ], - "mapped", - [ - 42813 - ] - ], - [ - [ - 42813, - 42813 - ], - "valid" - ], - [ - [ - 42814, - 42814 - ], - "mapped", - [ - 42815 - ] - ], - [ - [ - 42815, - 42815 - ], - "valid" - ], - [ - [ - 42816, - 42816 - ], - "mapped", - [ - 42817 - ] - ], - [ - [ - 42817, - 42817 - ], - "valid" - ], - [ - [ - 42818, - 42818 - ], - "mapped", - [ - 42819 - ] - ], - [ - [ - 42819, - 42819 - ], - "valid" - ], - [ - [ - 42820, - 42820 - ], - "mapped", - [ - 42821 - ] - ], - [ - [ - 42821, - 42821 - ], - "valid" - ], - [ - [ - 42822, - 42822 - ], - "mapped", - [ - 42823 - ] - ], - [ - [ - 42823, - 42823 - ], - "valid" - ], - [ - [ - 42824, - 42824 - ], - "mapped", - [ - 42825 - ] - ], - [ - [ - 42825, - 42825 - ], - "valid" - ], - [ - [ - 42826, - 42826 - ], - "mapped", - [ - 42827 - ] - ], - [ - [ - 42827, - 42827 - ], - "valid" - ], - [ - [ - 42828, - 42828 - ], - "mapped", - [ - 42829 - ] - ], - [ - [ - 42829, - 42829 - ], - "valid" - ], - [ - [ - 42830, - 42830 - ], - "mapped", - [ - 42831 - ] - ], - [ - [ - 42831, - 42831 - ], - "valid" - ], - [ - [ - 42832, - 42832 - ], - "mapped", - [ - 42833 - ] - ], - [ - [ - 42833, - 42833 - ], - "valid" - ], - [ - [ - 42834, - 42834 - ], - "mapped", - [ - 42835 - ] - ], - [ - [ - 42835, - 42835 - ], - "valid" - ], - [ - [ - 42836, - 42836 - ], - "mapped", - [ - 42837 - ] - ], - [ - [ - 42837, - 42837 - ], - "valid" - ], - [ - [ - 42838, - 42838 - ], - "mapped", - [ - 42839 - ] - ], - [ - [ - 42839, - 42839 - ], - "valid" - ], - [ - [ - 42840, - 42840 - ], - "mapped", - [ - 42841 - ] - ], - [ - [ - 42841, - 42841 - ], - "valid" - ], - [ - [ - 42842, - 42842 - ], - "mapped", - [ - 42843 - ] - ], - [ - [ - 42843, - 42843 - ], - "valid" - ], - [ - [ - 42844, - 42844 - ], - "mapped", - [ - 42845 - ] - ], - [ - [ - 42845, - 42845 - ], - "valid" - ], - [ - [ - 42846, - 42846 - ], - "mapped", - [ - 42847 - ] - ], - [ - [ - 42847, - 42847 - ], - "valid" - ], - [ - [ - 42848, - 42848 - ], - "mapped", - [ - 42849 - ] - ], - [ - [ - 42849, - 42849 - ], - "valid" - ], - [ - [ - 42850, - 42850 - ], - "mapped", - [ - 42851 - ] - ], - [ - [ - 42851, - 42851 - ], - "valid" - ], - [ - [ - 42852, - 42852 - ], - "mapped", - [ - 42853 - ] - ], - [ - [ - 42853, - 42853 - ], - "valid" - ], - [ - [ - 42854, - 42854 - ], - "mapped", - [ - 42855 - ] - ], - [ - [ - 42855, - 42855 - ], - "valid" - ], - [ - [ - 42856, - 42856 - ], - "mapped", - [ - 42857 - ] - ], - [ - [ - 42857, - 42857 - ], - "valid" - ], - [ - [ - 42858, - 42858 - ], - "mapped", - [ - 42859 - ] - ], - [ - [ - 42859, - 42859 - ], - "valid" - ], - [ - [ - 42860, - 42860 - ], - "mapped", - [ - 42861 - ] - ], - [ - [ - 42861, - 42861 - ], - "valid" - ], - [ - [ - 42862, - 42862 - ], - "mapped", - [ - 42863 - ] - ], - [ - [ - 42863, - 42863 - ], - "valid" - ], - [ - [ - 42864, - 42864 - ], - "mapped", - [ - 42863 - ] - ], - [ - [ - 42865, - 42872 - ], - "valid" - ], - [ - [ - 42873, - 42873 - ], - "mapped", - [ - 42874 - ] - ], - [ - [ - 42874, - 42874 - ], - "valid" - ], - [ - [ - 42875, - 42875 - ], - "mapped", - [ - 42876 - ] - ], - [ - [ - 42876, - 42876 - ], - "valid" - ], - [ - [ - 42877, - 42877 - ], - "mapped", - [ - 7545 - ] - ], - [ - [ - 42878, - 42878 - ], - "mapped", - [ - 42879 - ] - ], - [ - [ - 42879, - 42879 - ], - "valid" - ], - [ - [ - 42880, - 42880 - ], - "mapped", - [ - 42881 - ] - ], - [ - [ - 42881, - 42881 - ], - "valid" - ], - [ - [ - 42882, - 42882 - ], - "mapped", - [ - 42883 - ] - ], - [ - [ - 42883, - 42883 - ], - "valid" - ], - [ - [ - 42884, - 42884 - ], - "mapped", - [ - 42885 - ] - ], - [ - [ - 42885, - 42885 - ], - "valid" - ], - [ - [ - 42886, - 42886 - ], - "mapped", - [ - 42887 - ] - ], - [ - [ - 42887, - 42888 - ], - "valid" - ], - [ - [ - 42889, - 42890 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 42891, - 42891 - ], - "mapped", - [ - 42892 - ] - ], - [ - [ - 42892, - 42892 - ], - "valid" - ], - [ - [ - 42893, - 42893 - ], - "mapped", - [ - 613 - ] - ], - [ - [ - 42894, - 42894 - ], - "valid" - ], - [ - [ - 42895, - 42895 - ], - "valid" - ], - [ - [ - 42896, - 42896 - ], - "mapped", - [ - 42897 - ] - ], - [ - [ - 42897, - 42897 - ], - "valid" - ], - [ - [ - 42898, - 42898 - ], - "mapped", - [ - 42899 - ] - ], - [ - [ - 42899, - 42899 - ], - "valid" - ], - [ - [ - 42900, - 42901 - ], - "valid" - ], - [ - [ - 42902, - 42902 - ], - "mapped", - [ - 42903 - ] - ], - [ - [ - 42903, - 42903 - ], - "valid" - ], - [ - [ - 42904, - 42904 - ], - "mapped", - [ - 42905 - ] - ], - [ - [ - 42905, - 42905 - ], - "valid" - ], - [ - [ - 42906, - 42906 - ], - "mapped", - [ - 42907 - ] - ], - [ - [ - 42907, - 42907 - ], - "valid" - ], - [ - [ - 42908, - 42908 - ], - "mapped", - [ - 42909 - ] - ], - [ - [ - 42909, - 42909 - ], - "valid" - ], - [ - [ - 42910, - 42910 - ], - "mapped", - [ - 42911 - ] - ], - [ - [ - 42911, - 42911 - ], - "valid" - ], - [ - [ - 42912, - 42912 - ], - "mapped", - [ - 42913 - ] - ], - [ - [ - 42913, - 42913 - ], - "valid" - ], - [ - [ - 42914, - 42914 - ], - "mapped", - [ - 42915 - ] - ], - [ - [ - 42915, - 42915 - ], - "valid" - ], - [ - [ - 42916, - 42916 - ], - "mapped", - [ - 42917 - ] - ], - [ - [ - 42917, - 42917 - ], - "valid" - ], - [ - [ - 42918, - 42918 - ], - "mapped", - [ - 42919 - ] - ], - [ - [ - 42919, - 42919 - ], - "valid" - ], - [ - [ - 42920, - 42920 - ], - "mapped", - [ - 42921 - ] - ], - [ - [ - 42921, - 42921 - ], - "valid" - ], - [ - [ - 42922, - 42922 - ], - "mapped", - [ - 614 - ] - ], - [ - [ - 42923, - 42923 - ], - "mapped", - [ - 604 - ] - ], - [ - [ - 42924, - 42924 - ], - "mapped", - [ - 609 - ] - ], - [ - [ - 42925, - 42925 - ], - "mapped", - [ - 620 - ] - ], - [ - [ - 42926, - 42927 - ], - "disallowed" - ], - [ - [ - 42928, - 42928 - ], - "mapped", - [ - 670 - ] - ], - [ - [ - 42929, - 42929 - ], - "mapped", - [ - 647 - ] - ], - [ - [ - 42930, - 42930 - ], - "mapped", - [ - 669 - ] - ], - [ - [ - 42931, - 42931 - ], - "mapped", - [ - 43859 - ] - ], - [ - [ - 42932, - 42932 - ], - "mapped", - [ - 42933 - ] - ], - [ - [ - 42933, - 42933 - ], - "valid" - ], - [ - [ - 42934, - 42934 - ], - "mapped", - [ - 42935 - ] - ], - [ - [ - 42935, - 42935 - ], - "valid" - ], - [ - [ - 42936, - 42998 - ], - "disallowed" - ], - [ - [ - 42999, - 42999 - ], - "valid" - ], - [ - [ - 43000, - 43000 - ], - "mapped", - [ - 295 - ] - ], - [ - [ - 43001, - 43001 - ], - "mapped", - [ - 339 - ] - ], - [ - [ - 43002, - 43002 - ], - "valid" - ], - [ - [ - 43003, - 43007 - ], - "valid" - ], - [ - [ - 43008, - 43047 - ], - "valid" - ], - [ - [ - 43048, - 43051 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43052, - 43055 - ], - "disallowed" - ], - [ - [ - 43056, - 43065 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43066, - 43071 - ], - "disallowed" - ], - [ - [ - 43072, - 43123 - ], - "valid" - ], - [ - [ - 43124, - 43127 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43128, - 43135 - ], - "disallowed" - ], - [ - [ - 43136, - 43204 - ], - "valid" - ], - [ - [ - 43205, - 43213 - ], - "disallowed" - ], - [ - [ - 43214, - 43215 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43216, - 43225 - ], - "valid" - ], - [ - [ - 43226, - 43231 - ], - "disallowed" - ], - [ - [ - 43232, - 43255 - ], - "valid" - ], - [ - [ - 43256, - 43258 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43259, - 43259 - ], - "valid" - ], - [ - [ - 43260, - 43260 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43261, - 43261 - ], - "valid" - ], - [ - [ - 43262, - 43263 - ], - "disallowed" - ], - [ - [ - 43264, - 43309 - ], - "valid" - ], - [ - [ - 43310, - 43311 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43312, - 43347 - ], - "valid" - ], - [ - [ - 43348, - 43358 - ], - "disallowed" - ], - [ - [ - 43359, - 43359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43360, - 43388 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43389, - 43391 - ], - "disallowed" - ], - [ - [ - 43392, - 43456 - ], - "valid" - ], - [ - [ - 43457, - 43469 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43470, - 43470 - ], - "disallowed" - ], - [ - [ - 43471, - 43481 - ], - "valid" - ], - [ - [ - 43482, - 43485 - ], - "disallowed" - ], - [ - [ - 43486, - 43487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43488, - 43518 - ], - "valid" - ], - [ - [ - 43519, - 43519 - ], - "disallowed" - ], - [ - [ - 43520, - 43574 - ], - "valid" - ], - [ - [ - 43575, - 43583 - ], - "disallowed" - ], - [ - [ - 43584, - 43597 - ], - "valid" - ], - [ - [ - 43598, - 43599 - ], - "disallowed" - ], - [ - [ - 43600, - 43609 - ], - "valid" - ], - [ - [ - 43610, - 43611 - ], - "disallowed" - ], - [ - [ - 43612, - 43615 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43616, - 43638 - ], - "valid" - ], - [ - [ - 43639, - 43641 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43642, - 43643 - ], - "valid" - ], - [ - [ - 43644, - 43647 - ], - "valid" - ], - [ - [ - 43648, - 43714 - ], - "valid" - ], - [ - [ - 43715, - 43738 - ], - "disallowed" - ], - [ - [ - 43739, - 43741 - ], - "valid" - ], - [ - [ - 43742, - 43743 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43744, - 43759 - ], - "valid" - ], - [ - [ - 43760, - 43761 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43762, - 43766 - ], - "valid" - ], - [ - [ - 43767, - 43776 - ], - "disallowed" - ], - [ - [ - 43777, - 43782 - ], - "valid" - ], - [ - [ - 43783, - 43784 - ], - "disallowed" - ], - [ - [ - 43785, - 43790 - ], - "valid" - ], - [ - [ - 43791, - 43792 - ], - "disallowed" - ], - [ - [ - 43793, - 43798 - ], - "valid" - ], - [ - [ - 43799, - 43807 - ], - "disallowed" - ], - [ - [ - 43808, - 43814 - ], - "valid" - ], - [ - [ - 43815, - 43815 - ], - "disallowed" - ], - [ - [ - 43816, - 43822 - ], - "valid" - ], - [ - [ - 43823, - 43823 - ], - "disallowed" - ], - [ - [ - 43824, - 43866 - ], - "valid" - ], - [ - [ - 43867, - 43867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 43868, - 43868 - ], - "mapped", - [ - 42791 - ] - ], - [ - [ - 43869, - 43869 - ], - "mapped", - [ - 43831 - ] - ], - [ - [ - 43870, - 43870 - ], - "mapped", - [ - 619 - ] - ], - [ - [ - 43871, - 43871 - ], - "mapped", - [ - 43858 - ] - ], - [ - [ - 43872, - 43875 - ], - "valid" - ], - [ - [ - 43876, - 43877 - ], - "valid" - ], - [ - [ - 43878, - 43887 - ], - "disallowed" - ], - [ - [ - 43888, - 43888 - ], - "mapped", - [ - 5024 - ] - ], - [ - [ - 43889, - 43889 - ], - "mapped", - [ - 5025 - ] - ], - [ - [ - 43890, - 43890 - ], - "mapped", - [ - 5026 - ] - ], - [ - [ - 43891, - 43891 - ], - "mapped", - [ - 5027 - ] - ], - [ - [ - 43892, - 43892 - ], - "mapped", - [ - 5028 - ] - ], - [ - [ - 43893, - 43893 - ], - "mapped", - [ - 5029 - ] - ], - [ - [ - 43894, - 43894 - ], - "mapped", - [ - 5030 - ] - ], - [ - [ - 43895, - 43895 - ], - "mapped", - [ - 5031 - ] - ], - [ - [ - 43896, - 43896 - ], - "mapped", - [ - 5032 - ] - ], - [ - [ - 43897, - 43897 - ], - "mapped", - [ - 5033 - ] - ], - [ - [ - 43898, - 43898 - ], - "mapped", - [ - 5034 - ] - ], - [ - [ - 43899, - 43899 - ], - "mapped", - [ - 5035 - ] - ], - [ - [ - 43900, - 43900 - ], - "mapped", - [ - 5036 - ] - ], - [ - [ - 43901, - 43901 - ], - "mapped", - [ - 5037 - ] - ], - [ - [ - 43902, - 43902 - ], - "mapped", - [ - 5038 - ] - ], - [ - [ - 43903, - 43903 - ], - "mapped", - [ - 5039 - ] - ], - [ - [ - 43904, - 43904 - ], - "mapped", - [ - 5040 - ] - ], - [ - [ - 43905, - 43905 - ], - "mapped", - [ - 5041 - ] - ], - [ - [ - 43906, - 43906 - ], - "mapped", - [ - 5042 - ] - ], - [ - [ - 43907, - 43907 - ], - "mapped", - [ - 5043 - ] - ], - [ - [ - 43908, - 43908 - ], - "mapped", - [ - 5044 - ] - ], - [ - [ - 43909, - 43909 - ], - "mapped", - [ - 5045 - ] - ], - [ - [ - 43910, - 43910 - ], - "mapped", - [ - 5046 - ] - ], - [ - [ - 43911, - 43911 - ], - "mapped", - [ - 5047 - ] - ], - [ - [ - 43912, - 43912 - ], - "mapped", - [ - 5048 - ] - ], - [ - [ - 43913, - 43913 - ], - "mapped", - [ - 5049 - ] - ], - [ - [ - 43914, - 43914 - ], - "mapped", - [ - 5050 - ] - ], - [ - [ - 43915, - 43915 - ], - "mapped", - [ - 5051 - ] - ], - [ - [ - 43916, - 43916 - ], - "mapped", - [ - 5052 - ] - ], - [ - [ - 43917, - 43917 - ], - "mapped", - [ - 5053 - ] - ], - [ - [ - 43918, - 43918 - ], - "mapped", - [ - 5054 - ] - ], - [ - [ - 43919, - 43919 - ], - "mapped", - [ - 5055 - ] - ], - [ - [ - 43920, - 43920 - ], - "mapped", - [ - 5056 - ] - ], - [ - [ - 43921, - 43921 - ], - "mapped", - [ - 5057 - ] - ], - [ - [ - 43922, - 43922 - ], - "mapped", - [ - 5058 - ] - ], - [ - [ - 43923, - 43923 - ], - "mapped", - [ - 5059 - ] - ], - [ - [ - 43924, - 43924 - ], - "mapped", - [ - 5060 - ] - ], - [ - [ - 43925, - 43925 - ], - "mapped", - [ - 5061 - ] - ], - [ - [ - 43926, - 43926 - ], - "mapped", - [ - 5062 - ] - ], - [ - [ - 43927, - 43927 - ], - "mapped", - [ - 5063 - ] - ], - [ - [ - 43928, - 43928 - ], - "mapped", - [ - 5064 - ] - ], - [ - [ - 43929, - 43929 - ], - "mapped", - [ - 5065 - ] - ], - [ - [ - 43930, - 43930 - ], - "mapped", - [ - 5066 - ] - ], - [ - [ - 43931, - 43931 - ], - "mapped", - [ - 5067 - ] - ], - [ - [ - 43932, - 43932 - ], - "mapped", - [ - 5068 - ] - ], - [ - [ - 43933, - 43933 - ], - "mapped", - [ - 5069 - ] - ], - [ - [ - 43934, - 43934 - ], - "mapped", - [ - 5070 - ] - ], - [ - [ - 43935, - 43935 - ], - "mapped", - [ - 5071 - ] - ], - [ - [ - 43936, - 43936 - ], - "mapped", - [ - 5072 - ] - ], - [ - [ - 43937, - 43937 - ], - "mapped", - [ - 5073 - ] - ], - [ - [ - 43938, - 43938 - ], - "mapped", - [ - 5074 - ] - ], - [ - [ - 43939, - 43939 - ], - "mapped", - [ - 5075 - ] - ], - [ - [ - 43940, - 43940 - ], - "mapped", - [ - 5076 - ] - ], - [ - [ - 43941, - 43941 - ], - "mapped", - [ - 5077 - ] - ], - [ - [ - 43942, - 43942 - ], - "mapped", - [ - 5078 - ] - ], - [ - [ - 43943, - 43943 - ], - "mapped", - [ - 5079 - ] - ], - [ - [ - 43944, - 43944 - ], - "mapped", - [ - 5080 - ] - ], - [ - [ - 43945, - 43945 - ], - "mapped", - [ - 5081 - ] - ], - [ - [ - 43946, - 43946 - ], - "mapped", - [ - 5082 - ] - ], - [ - [ - 43947, - 43947 - ], - "mapped", - [ - 5083 - ] - ], - [ - [ - 43948, - 43948 - ], - "mapped", - [ - 5084 - ] - ], - [ - [ - 43949, - 43949 - ], - "mapped", - [ - 5085 - ] - ], - [ - [ - 43950, - 43950 - ], - "mapped", - [ - 5086 - ] - ], - [ - [ - 43951, - 43951 - ], - "mapped", - [ - 5087 - ] - ], - [ - [ - 43952, - 43952 - ], - "mapped", - [ - 5088 - ] - ], - [ - [ - 43953, - 43953 - ], - "mapped", - [ - 5089 - ] - ], - [ - [ - 43954, - 43954 - ], - "mapped", - [ - 5090 - ] - ], - [ - [ - 43955, - 43955 - ], - "mapped", - [ - 5091 - ] - ], - [ - [ - 43956, - 43956 - ], - "mapped", - [ - 5092 - ] - ], - [ - [ - 43957, - 43957 - ], - "mapped", - [ - 5093 - ] - ], - [ - [ - 43958, - 43958 - ], - "mapped", - [ - 5094 - ] - ], - [ - [ - 43959, - 43959 - ], - "mapped", - [ - 5095 - ] - ], - [ - [ - 43960, - 43960 - ], - "mapped", - [ - 5096 - ] - ], - [ - [ - 43961, - 43961 - ], - "mapped", - [ - 5097 - ] - ], - [ - [ - 43962, - 43962 - ], - "mapped", - [ - 5098 - ] - ], - [ - [ - 43963, - 43963 - ], - "mapped", - [ - 5099 - ] - ], - [ - [ - 43964, - 43964 - ], - "mapped", - [ - 5100 - ] - ], - [ - [ - 43965, - 43965 - ], - "mapped", - [ - 5101 - ] - ], - [ - [ - 43966, - 43966 - ], - "mapped", - [ - 5102 - ] - ], - [ - [ - 43967, - 43967 - ], - "mapped", - [ - 5103 - ] - ], - [ - [ - 43968, - 44010 - ], - "valid" - ], - [ - [ - 44011, - 44011 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 44012, - 44013 - ], - "valid" - ], - [ - [ - 44014, - 44015 - ], - "disallowed" - ], - [ - [ - 44016, - 44025 - ], - "valid" - ], - [ - [ - 44026, - 44031 - ], - "disallowed" - ], - [ - [ - 44032, - 55203 - ], - "valid" - ], - [ - [ - 55204, - 55215 - ], - "disallowed" - ], - [ - [ - 55216, - 55238 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 55239, - 55242 - ], - "disallowed" - ], - [ - [ - 55243, - 55291 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 55292, - 55295 - ], - "disallowed" - ], - [ - [ - 55296, - 57343 - ], - "disallowed" - ], - [ - [ - 57344, - 63743 - ], - "disallowed" - ], - [ - [ - 63744, - 63744 - ], - "mapped", - [ - 35912 - ] - ], - [ - [ - 63745, - 63745 - ], - "mapped", - [ - 26356 - ] - ], - [ - [ - 63746, - 63746 - ], - "mapped", - [ - 36554 - ] - ], - [ - [ - 63747, - 63747 - ], - "mapped", - [ - 36040 - ] - ], - [ - [ - 63748, - 63748 - ], - "mapped", - [ - 28369 - ] - ], - [ - [ - 63749, - 63749 - ], - "mapped", - [ - 20018 - ] - ], - [ - [ - 63750, - 63750 - ], - "mapped", - [ - 21477 - ] - ], - [ - [ - 63751, - 63752 - ], - "mapped", - [ - 40860 - ] - ], - [ - [ - 63753, - 63753 - ], - "mapped", - [ - 22865 - ] - ], - [ - [ - 63754, - 63754 - ], - "mapped", - [ - 37329 - ] - ], - [ - [ - 63755, - 63755 - ], - "mapped", - [ - 21895 - ] - ], - [ - [ - 63756, - 63756 - ], - "mapped", - [ - 22856 - ] - ], - [ - [ - 63757, - 63757 - ], - "mapped", - [ - 25078 - ] - ], - [ - [ - 63758, - 63758 - ], - "mapped", - [ - 30313 - ] - ], - [ - [ - 63759, - 63759 - ], - "mapped", - [ - 32645 - ] - ], - [ - [ - 63760, - 63760 - ], - "mapped", - [ - 34367 - ] - ], - [ - [ - 63761, - 63761 - ], - "mapped", - [ - 34746 - ] - ], - [ - [ - 63762, - 63762 - ], - "mapped", - [ - 35064 - ] - ], - [ - [ - 63763, - 63763 - ], - "mapped", - [ - 37007 - ] - ], - [ - [ - 63764, - 63764 - ], - "mapped", - [ - 27138 - ] - ], - [ - [ - 63765, - 63765 - ], - "mapped", - [ - 27931 - ] - ], - [ - [ - 63766, - 63766 - ], - "mapped", - [ - 28889 - ] - ], - [ - [ - 63767, - 63767 - ], - "mapped", - [ - 29662 - ] - ], - [ - [ - 63768, - 63768 - ], - "mapped", - [ - 33853 - ] - ], - [ - [ - 63769, - 63769 - ], - "mapped", - [ - 37226 - ] - ], - [ - [ - 63770, - 63770 - ], - "mapped", - [ - 39409 - ] - ], - [ - [ - 63771, - 63771 - ], - "mapped", - [ - 20098 - ] - ], - [ - [ - 63772, - 63772 - ], - "mapped", - [ - 21365 - ] - ], - [ - [ - 63773, - 63773 - ], - "mapped", - [ - 27396 - ] - ], - [ - [ - 63774, - 63774 - ], - "mapped", - [ - 29211 - ] - ], - [ - [ - 63775, - 63775 - ], - "mapped", - [ - 34349 - ] - ], - [ - [ - 63776, - 63776 - ], - "mapped", - [ - 40478 - ] - ], - [ - [ - 63777, - 63777 - ], - "mapped", - [ - 23888 - ] - ], - [ - [ - 63778, - 63778 - ], - "mapped", - [ - 28651 - ] - ], - [ - [ - 63779, - 63779 - ], - "mapped", - [ - 34253 - ] - ], - [ - [ - 63780, - 63780 - ], - "mapped", - [ - 35172 - ] - ], - [ - [ - 63781, - 63781 - ], - "mapped", - [ - 25289 - ] - ], - [ - [ - 63782, - 63782 - ], - "mapped", - [ - 33240 - ] - ], - [ - [ - 63783, - 63783 - ], - "mapped", - [ - 34847 - ] - ], - [ - [ - 63784, - 63784 - ], - "mapped", - [ - 24266 - ] - ], - [ - [ - 63785, - 63785 - ], - "mapped", - [ - 26391 - ] - ], - [ - [ - 63786, - 63786 - ], - "mapped", - [ - 28010 - ] - ], - [ - [ - 63787, - 63787 - ], - "mapped", - [ - 29436 - ] - ], - [ - [ - 63788, - 63788 - ], - "mapped", - [ - 37070 - ] - ], - [ - [ - 63789, - 63789 - ], - "mapped", - [ - 20358 - ] - ], - [ - [ - 63790, - 63790 - ], - "mapped", - [ - 20919 - ] - ], - [ - [ - 63791, - 63791 - ], - "mapped", - [ - 21214 - ] - ], - [ - [ - 63792, - 63792 - ], - "mapped", - [ - 25796 - ] - ], - [ - [ - 63793, - 63793 - ], - "mapped", - [ - 27347 - ] - ], - [ - [ - 63794, - 63794 - ], - "mapped", - [ - 29200 - ] - ], - [ - [ - 63795, - 63795 - ], - "mapped", - [ - 30439 - ] - ], - [ - [ - 63796, - 63796 - ], - "mapped", - [ - 32769 - ] - ], - [ - [ - 63797, - 63797 - ], - "mapped", - [ - 34310 - ] - ], - [ - [ - 63798, - 63798 - ], - "mapped", - [ - 34396 - ] - ], - [ - [ - 63799, - 63799 - ], - "mapped", - [ - 36335 - ] - ], - [ - [ - 63800, - 63800 - ], - "mapped", - [ - 38706 - ] - ], - [ - [ - 63801, - 63801 - ], - "mapped", - [ - 39791 - ] - ], - [ - [ - 63802, - 63802 - ], - "mapped", - [ - 40442 - ] - ], - [ - [ - 63803, - 63803 - ], - "mapped", - [ - 30860 - ] - ], - [ - [ - 63804, - 63804 - ], - "mapped", - [ - 31103 - ] - ], - [ - [ - 63805, - 63805 - ], - "mapped", - [ - 32160 - ] - ], - [ - [ - 63806, - 63806 - ], - "mapped", - [ - 33737 - ] - ], - [ - [ - 63807, - 63807 - ], - "mapped", - [ - 37636 - ] - ], - [ - [ - 63808, - 63808 - ], - "mapped", - [ - 40575 - ] - ], - [ - [ - 63809, - 63809 - ], - "mapped", - [ - 35542 - ] - ], - [ - [ - 63810, - 63810 - ], - "mapped", - [ - 22751 - ] - ], - [ - [ - 63811, - 63811 - ], - "mapped", - [ - 24324 - ] - ], - [ - [ - 63812, - 63812 - ], - "mapped", - [ - 31840 - ] - ], - [ - [ - 63813, - 63813 - ], - "mapped", - [ - 32894 - ] - ], - [ - [ - 63814, - 63814 - ], - "mapped", - [ - 29282 - ] - ], - [ - [ - 63815, - 63815 - ], - "mapped", - [ - 30922 - ] - ], - [ - [ - 63816, - 63816 - ], - "mapped", - [ - 36034 - ] - ], - [ - [ - 63817, - 63817 - ], - "mapped", - [ - 38647 - ] - ], - [ - [ - 63818, - 63818 - ], - "mapped", - [ - 22744 - ] - ], - [ - [ - 63819, - 63819 - ], - "mapped", - [ - 23650 - ] - ], - [ - [ - 63820, - 63820 - ], - "mapped", - [ - 27155 - ] - ], - [ - [ - 63821, - 63821 - ], - "mapped", - [ - 28122 - ] - ], - [ - [ - 63822, - 63822 - ], - "mapped", - [ - 28431 - ] - ], - [ - [ - 63823, - 63823 - ], - "mapped", - [ - 32047 - ] - ], - [ - [ - 63824, - 63824 - ], - "mapped", - [ - 32311 - ] - ], - [ - [ - 63825, - 63825 - ], - "mapped", - [ - 38475 - ] - ], - [ - [ - 63826, - 63826 - ], - "mapped", - [ - 21202 - ] - ], - [ - [ - 63827, - 63827 - ], - "mapped", - [ - 32907 - ] - ], - [ - [ - 63828, - 63828 - ], - "mapped", - [ - 20956 - ] - ], - [ - [ - 63829, - 63829 - ], - "mapped", - [ - 20940 - ] - ], - [ - [ - 63830, - 63830 - ], - "mapped", - [ - 31260 - ] - ], - [ - [ - 63831, - 63831 - ], - "mapped", - [ - 32190 - ] - ], - [ - [ - 63832, - 63832 - ], - "mapped", - [ - 33777 - ] - ], - [ - [ - 63833, - 63833 - ], - "mapped", - [ - 38517 - ] - ], - [ - [ - 63834, - 63834 - ], - "mapped", - [ - 35712 - ] - ], - [ - [ - 63835, - 63835 - ], - "mapped", - [ - 25295 - ] - ], - [ - [ - 63836, - 63836 - ], - "mapped", - [ - 27138 - ] - ], - [ - [ - 63837, - 63837 - ], - "mapped", - [ - 35582 - ] - ], - [ - [ - 63838, - 63838 - ], - "mapped", - [ - 20025 - ] - ], - [ - [ - 63839, - 63839 - ], - "mapped", - [ - 23527 - ] - ], - [ - [ - 63840, - 63840 - ], - "mapped", - [ - 24594 - ] - ], - [ - [ - 63841, - 63841 - ], - "mapped", - [ - 29575 - ] - ], - [ - [ - 63842, - 63842 - ], - "mapped", - [ - 30064 - ] - ], - [ - [ - 63843, - 63843 - ], - "mapped", - [ - 21271 - ] - ], - [ - [ - 63844, - 63844 - ], - "mapped", - [ - 30971 - ] - ], - [ - [ - 63845, - 63845 - ], - "mapped", - [ - 20415 - ] - ], - [ - [ - 63846, - 63846 - ], - "mapped", - [ - 24489 - ] - ], - [ - [ - 63847, - 63847 - ], - "mapped", - [ - 19981 - ] - ], - [ - [ - 63848, - 63848 - ], - "mapped", - [ - 27852 - ] - ], - [ - [ - 63849, - 63849 - ], - "mapped", - [ - 25976 - ] - ], - [ - [ - 63850, - 63850 - ], - "mapped", - [ - 32034 - ] - ], - [ - [ - 63851, - 63851 - ], - "mapped", - [ - 21443 - ] - ], - [ - [ - 63852, - 63852 - ], - "mapped", - [ - 22622 - ] - ], - [ - [ - 63853, - 63853 - ], - "mapped", - [ - 30465 - ] - ], - [ - [ - 63854, - 63854 - ], - "mapped", - [ - 33865 - ] - ], - [ - [ - 63855, - 63855 - ], - "mapped", - [ - 35498 - ] - ], - [ - [ - 63856, - 63856 - ], - "mapped", - [ - 27578 - ] - ], - [ - [ - 63857, - 63857 - ], - "mapped", - [ - 36784 - ] - ], - [ - [ - 63858, - 63858 - ], - "mapped", - [ - 27784 - ] - ], - [ - [ - 63859, - 63859 - ], - "mapped", - [ - 25342 - ] - ], - [ - [ - 63860, - 63860 - ], - "mapped", - [ - 33509 - ] - ], - [ - [ - 63861, - 63861 - ], - "mapped", - [ - 25504 - ] - ], - [ - [ - 63862, - 63862 - ], - "mapped", - [ - 30053 - ] - ], - [ - [ - 63863, - 63863 - ], - "mapped", - [ - 20142 - ] - ], - [ - [ - 63864, - 63864 - ], - "mapped", - [ - 20841 - ] - ], - [ - [ - 63865, - 63865 - ], - "mapped", - [ - 20937 - ] - ], - [ - [ - 63866, - 63866 - ], - "mapped", - [ - 26753 - ] - ], - [ - [ - 63867, - 63867 - ], - "mapped", - [ - 31975 - ] - ], - [ - [ - 63868, - 63868 - ], - "mapped", - [ - 33391 - ] - ], - [ - [ - 63869, - 63869 - ], - "mapped", - [ - 35538 - ] - ], - [ - [ - 63870, - 63870 - ], - "mapped", - [ - 37327 - ] - ], - [ - [ - 63871, - 63871 - ], - "mapped", - [ - 21237 - ] - ], - [ - [ - 63872, - 63872 - ], - "mapped", - [ - 21570 - ] - ], - [ - [ - 63873, - 63873 - ], - "mapped", - [ - 22899 - ] - ], - [ - [ - 63874, - 63874 - ], - "mapped", - [ - 24300 - ] - ], - [ - [ - 63875, - 63875 - ], - "mapped", - [ - 26053 - ] - ], - [ - [ - 63876, - 63876 - ], - "mapped", - [ - 28670 - ] - ], - [ - [ - 63877, - 63877 - ], - "mapped", - [ - 31018 - ] - ], - [ - [ - 63878, - 63878 - ], - "mapped", - [ - 38317 - ] - ], - [ - [ - 63879, - 63879 - ], - "mapped", - [ - 39530 - ] - ], - [ - [ - 63880, - 63880 - ], - "mapped", - [ - 40599 - ] - ], - [ - [ - 63881, - 63881 - ], - "mapped", - [ - 40654 - ] - ], - [ - [ - 63882, - 63882 - ], - "mapped", - [ - 21147 - ] - ], - [ - [ - 63883, - 63883 - ], - "mapped", - [ - 26310 - ] - ], - [ - [ - 63884, - 63884 - ], - "mapped", - [ - 27511 - ] - ], - [ - [ - 63885, - 63885 - ], - "mapped", - [ - 36706 - ] - ], - [ - [ - 63886, - 63886 - ], - "mapped", - [ - 24180 - ] - ], - [ - [ - 63887, - 63887 - ], - "mapped", - [ - 24976 - ] - ], - [ - [ - 63888, - 63888 - ], - "mapped", - [ - 25088 - ] - ], - [ - [ - 63889, - 63889 - ], - "mapped", - [ - 25754 - ] - ], - [ - [ - 63890, - 63890 - ], - "mapped", - [ - 28451 - ] - ], - [ - [ - 63891, - 63891 - ], - "mapped", - [ - 29001 - ] - ], - [ - [ - 63892, - 63892 - ], - "mapped", - [ - 29833 - ] - ], - [ - [ - 63893, - 63893 - ], - "mapped", - [ - 31178 - ] - ], - [ - [ - 63894, - 63894 - ], - "mapped", - [ - 32244 - ] - ], - [ - [ - 63895, - 63895 - ], - "mapped", - [ - 32879 - ] - ], - [ - [ - 63896, - 63896 - ], - "mapped", - [ - 36646 - ] - ], - [ - [ - 63897, - 63897 - ], - "mapped", - [ - 34030 - ] - ], - [ - [ - 63898, - 63898 - ], - "mapped", - [ - 36899 - ] - ], - [ - [ - 63899, - 63899 - ], - "mapped", - [ - 37706 - ] - ], - [ - [ - 63900, - 63900 - ], - "mapped", - [ - 21015 - ] - ], - [ - [ - 63901, - 63901 - ], - "mapped", - [ - 21155 - ] - ], - [ - [ - 63902, - 63902 - ], - "mapped", - [ - 21693 - ] - ], - [ - [ - 63903, - 63903 - ], - "mapped", - [ - 28872 - ] - ], - [ - [ - 63904, - 63904 - ], - "mapped", - [ - 35010 - ] - ], - [ - [ - 63905, - 63905 - ], - "mapped", - [ - 35498 - ] - ], - [ - [ - 63906, - 63906 - ], - "mapped", - [ - 24265 - ] - ], - [ - [ - 63907, - 63907 - ], - "mapped", - [ - 24565 - ] - ], - [ - [ - 63908, - 63908 - ], - "mapped", - [ - 25467 - ] - ], - [ - [ - 63909, - 63909 - ], - "mapped", - [ - 27566 - ] - ], - [ - [ - 63910, - 63910 - ], - "mapped", - [ - 31806 - ] - ], - [ - [ - 63911, - 63911 - ], - "mapped", - [ - 29557 - ] - ], - [ - [ - 63912, - 63912 - ], - "mapped", - [ - 20196 - ] - ], - [ - [ - 63913, - 63913 - ], - "mapped", - [ - 22265 - ] - ], - [ - [ - 63914, - 63914 - ], - "mapped", - [ - 23527 - ] - ], - [ - [ - 63915, - 63915 - ], - "mapped", - [ - 23994 - ] - ], - [ - [ - 63916, - 63916 - ], - "mapped", - [ - 24604 - ] - ], - [ - [ - 63917, - 63917 - ], - "mapped", - [ - 29618 - ] - ], - [ - [ - 63918, - 63918 - ], - "mapped", - [ - 29801 - ] - ], - [ - [ - 63919, - 63919 - ], - "mapped", - [ - 32666 - ] - ], - [ - [ - 63920, - 63920 - ], - "mapped", - [ - 32838 - ] - ], - [ - [ - 63921, - 63921 - ], - "mapped", - [ - 37428 - ] - ], - [ - [ - 63922, - 63922 - ], - "mapped", - [ - 38646 - ] - ], - [ - [ - 63923, - 63923 - ], - "mapped", - [ - 38728 - ] - ], - [ - [ - 63924, - 63924 - ], - "mapped", - [ - 38936 - ] - ], - [ - [ - 63925, - 63925 - ], - "mapped", - [ - 20363 - ] - ], - [ - [ - 63926, - 63926 - ], - "mapped", - [ - 31150 - ] - ], - [ - [ - 63927, - 63927 - ], - "mapped", - [ - 37300 - ] - ], - [ - [ - 63928, - 63928 - ], - "mapped", - [ - 38584 - ] - ], - [ - [ - 63929, - 63929 - ], - "mapped", - [ - 24801 - ] - ], - [ - [ - 63930, - 63930 - ], - "mapped", - [ - 20102 - ] - ], - [ - [ - 63931, - 63931 - ], - "mapped", - [ - 20698 - ] - ], - [ - [ - 63932, - 63932 - ], - "mapped", - [ - 23534 - ] - ], - [ - [ - 63933, - 63933 - ], - "mapped", - [ - 23615 - ] - ], - [ - [ - 63934, - 63934 - ], - "mapped", - [ - 26009 - ] - ], - [ - [ - 63935, - 63935 - ], - "mapped", - [ - 27138 - ] - ], - [ - [ - 63936, - 63936 - ], - "mapped", - [ - 29134 - ] - ], - [ - [ - 63937, - 63937 - ], - "mapped", - [ - 30274 - ] - ], - [ - [ - 63938, - 63938 - ], - "mapped", - [ - 34044 - ] - ], - [ - [ - 63939, - 63939 - ], - "mapped", - [ - 36988 - ] - ], - [ - [ - 63940, - 63940 - ], - "mapped", - [ - 40845 - ] - ], - [ - [ - 63941, - 63941 - ], - "mapped", - [ - 26248 - ] - ], - [ - [ - 63942, - 63942 - ], - "mapped", - [ - 38446 - ] - ], - [ - [ - 63943, - 63943 - ], - "mapped", - [ - 21129 - ] - ], - [ - [ - 63944, - 63944 - ], - "mapped", - [ - 26491 - ] - ], - [ - [ - 63945, - 63945 - ], - "mapped", - [ - 26611 - ] - ], - [ - [ - 63946, - 63946 - ], - "mapped", - [ - 27969 - ] - ], - [ - [ - 63947, - 63947 - ], - "mapped", - [ - 28316 - ] - ], - [ - [ - 63948, - 63948 - ], - "mapped", - [ - 29705 - ] - ], - [ - [ - 63949, - 63949 - ], - "mapped", - [ - 30041 - ] - ], - [ - [ - 63950, - 63950 - ], - "mapped", - [ - 30827 - ] - ], - [ - [ - 63951, - 63951 - ], - "mapped", - [ - 32016 - ] - ], - [ - [ - 63952, - 63952 - ], - "mapped", - [ - 39006 - ] - ], - [ - [ - 63953, - 63953 - ], - "mapped", - [ - 20845 - ] - ], - [ - [ - 63954, - 63954 - ], - "mapped", - [ - 25134 - ] - ], - [ - [ - 63955, - 63955 - ], - "mapped", - [ - 38520 - ] - ], - [ - [ - 63956, - 63956 - ], - "mapped", - [ - 20523 - ] - ], - [ - [ - 63957, - 63957 - ], - "mapped", - [ - 23833 - ] - ], - [ - [ - 63958, - 63958 - ], - "mapped", - [ - 28138 - ] - ], - [ - [ - 63959, - 63959 - ], - "mapped", - [ - 36650 - ] - ], - [ - [ - 63960, - 63960 - ], - "mapped", - [ - 24459 - ] - ], - [ - [ - 63961, - 63961 - ], - "mapped", - [ - 24900 - ] - ], - [ - [ - 63962, - 63962 - ], - "mapped", - [ - 26647 - ] - ], - [ - [ - 63963, - 63963 - ], - "mapped", - [ - 29575 - ] - ], - [ - [ - 63964, - 63964 - ], - "mapped", - [ - 38534 - ] - ], - [ - [ - 63965, - 63965 - ], - "mapped", - [ - 21033 - ] - ], - [ - [ - 63966, - 63966 - ], - "mapped", - [ - 21519 - ] - ], - [ - [ - 63967, - 63967 - ], - "mapped", - [ - 23653 - ] - ], - [ - [ - 63968, - 63968 - ], - "mapped", - [ - 26131 - ] - ], - [ - [ - 63969, - 63969 - ], - "mapped", - [ - 26446 - ] - ], - [ - [ - 63970, - 63970 - ], - "mapped", - [ - 26792 - ] - ], - [ - [ - 63971, - 63971 - ], - "mapped", - [ - 27877 - ] - ], - [ - [ - 63972, - 63972 - ], - "mapped", - [ - 29702 - ] - ], - [ - [ - 63973, - 63973 - ], - "mapped", - [ - 30178 - ] - ], - [ - [ - 63974, - 63974 - ], - "mapped", - [ - 32633 - ] - ], - [ - [ - 63975, - 63975 - ], - "mapped", - [ - 35023 - ] - ], - [ - [ - 63976, - 63976 - ], - "mapped", - [ - 35041 - ] - ], - [ - [ - 63977, - 63977 - ], - "mapped", - [ - 37324 - ] - ], - [ - [ - 63978, - 63978 - ], - "mapped", - [ - 38626 - ] - ], - [ - [ - 63979, - 63979 - ], - "mapped", - [ - 21311 - ] - ], - [ - [ - 63980, - 63980 - ], - "mapped", - [ - 28346 - ] - ], - [ - [ - 63981, - 63981 - ], - "mapped", - [ - 21533 - ] - ], - [ - [ - 63982, - 63982 - ], - "mapped", - [ - 29136 - ] - ], - [ - [ - 63983, - 63983 - ], - "mapped", - [ - 29848 - ] - ], - [ - [ - 63984, - 63984 - ], - "mapped", - [ - 34298 - ] - ], - [ - [ - 63985, - 63985 - ], - "mapped", - [ - 38563 - ] - ], - [ - [ - 63986, - 63986 - ], - "mapped", - [ - 40023 - ] - ], - [ - [ - 63987, - 63987 - ], - "mapped", - [ - 40607 - ] - ], - [ - [ - 63988, - 63988 - ], - "mapped", - [ - 26519 - ] - ], - [ - [ - 63989, - 63989 - ], - "mapped", - [ - 28107 - ] - ], - [ - [ - 63990, - 63990 - ], - "mapped", - [ - 33256 - ] - ], - [ - [ - 63991, - 63991 - ], - "mapped", - [ - 31435 - ] - ], - [ - [ - 63992, - 63992 - ], - "mapped", - [ - 31520 - ] - ], - [ - [ - 63993, - 63993 - ], - "mapped", - [ - 31890 - ] - ], - [ - [ - 63994, - 63994 - ], - "mapped", - [ - 29376 - ] - ], - [ - [ - 63995, - 63995 - ], - "mapped", - [ - 28825 - ] - ], - [ - [ - 63996, - 63996 - ], - "mapped", - [ - 35672 - ] - ], - [ - [ - 63997, - 63997 - ], - "mapped", - [ - 20160 - ] - ], - [ - [ - 63998, - 63998 - ], - "mapped", - [ - 33590 - ] - ], - [ - [ - 63999, - 63999 - ], - "mapped", - [ - 21050 - ] - ], - [ - [ - 64000, - 64000 - ], - "mapped", - [ - 20999 - ] - ], - [ - [ - 64001, - 64001 - ], - "mapped", - [ - 24230 - ] - ], - [ - [ - 64002, - 64002 - ], - "mapped", - [ - 25299 - ] - ], - [ - [ - 64003, - 64003 - ], - "mapped", - [ - 31958 - ] - ], - [ - [ - 64004, - 64004 - ], - "mapped", - [ - 23429 - ] - ], - [ - [ - 64005, - 64005 - ], - "mapped", - [ - 27934 - ] - ], - [ - [ - 64006, - 64006 - ], - "mapped", - [ - 26292 - ] - ], - [ - [ - 64007, - 64007 - ], - "mapped", - [ - 36667 - ] - ], - [ - [ - 64008, - 64008 - ], - "mapped", - [ - 34892 - ] - ], - [ - [ - 64009, - 64009 - ], - "mapped", - [ - 38477 - ] - ], - [ - [ - 64010, - 64010 - ], - "mapped", - [ - 35211 - ] - ], - [ - [ - 64011, - 64011 - ], - "mapped", - [ - 24275 - ] - ], - [ - [ - 64012, - 64012 - ], - "mapped", - [ - 20800 - ] - ], - [ - [ - 64013, - 64013 - ], - "mapped", - [ - 21952 - ] - ], - [ - [ - 64014, - 64015 - ], - "valid" - ], - [ - [ - 64016, - 64016 - ], - "mapped", - [ - 22618 - ] - ], - [ - [ - 64017, - 64017 - ], - "valid" - ], - [ - [ - 64018, - 64018 - ], - "mapped", - [ - 26228 - ] - ], - [ - [ - 64019, - 64020 - ], - "valid" - ], - [ - [ - 64021, - 64021 - ], - "mapped", - [ - 20958 - ] - ], - [ - [ - 64022, - 64022 - ], - "mapped", - [ - 29482 - ] - ], - [ - [ - 64023, - 64023 - ], - "mapped", - [ - 30410 - ] - ], - [ - [ - 64024, - 64024 - ], - "mapped", - [ - 31036 - ] - ], - [ - [ - 64025, - 64025 - ], - "mapped", - [ - 31070 - ] - ], - [ - [ - 64026, - 64026 - ], - "mapped", - [ - 31077 - ] - ], - [ - [ - 64027, - 64027 - ], - "mapped", - [ - 31119 - ] - ], - [ - [ - 64028, - 64028 - ], - "mapped", - [ - 38742 - ] - ], - [ - [ - 64029, - 64029 - ], - "mapped", - [ - 31934 - ] - ], - [ - [ - 64030, - 64030 - ], - "mapped", - [ - 32701 - ] - ], - [ - [ - 64031, - 64031 - ], - "valid" - ], - [ - [ - 64032, - 64032 - ], - "mapped", - [ - 34322 - ] - ], - [ - [ - 64033, - 64033 - ], - "valid" - ], - [ - [ - 64034, - 64034 - ], - "mapped", - [ - 35576 - ] - ], - [ - [ - 64035, - 64036 - ], - "valid" - ], - [ - [ - 64037, - 64037 - ], - "mapped", - [ - 36920 - ] - ], - [ - [ - 64038, - 64038 - ], - "mapped", - [ - 37117 - ] - ], - [ - [ - 64039, - 64041 - ], - "valid" - ], - [ - [ - 64042, - 64042 - ], - "mapped", - [ - 39151 - ] - ], - [ - [ - 64043, - 64043 - ], - "mapped", - [ - 39164 - ] - ], - [ - [ - 64044, - 64044 - ], - "mapped", - [ - 39208 - ] - ], - [ - [ - 64045, - 64045 - ], - "mapped", - [ - 40372 - ] - ], - [ - [ - 64046, - 64046 - ], - "mapped", - [ - 37086 - ] - ], - [ - [ - 64047, - 64047 - ], - "mapped", - [ - 38583 - ] - ], - [ - [ - 64048, - 64048 - ], - "mapped", - [ - 20398 - ] - ], - [ - [ - 64049, - 64049 - ], - "mapped", - [ - 20711 - ] - ], - [ - [ - 64050, - 64050 - ], - "mapped", - [ - 20813 - ] - ], - [ - [ - 64051, - 64051 - ], - "mapped", - [ - 21193 - ] - ], - [ - [ - 64052, - 64052 - ], - "mapped", - [ - 21220 - ] - ], - [ - [ - 64053, - 64053 - ], - "mapped", - [ - 21329 - ] - ], - [ - [ - 64054, - 64054 - ], - "mapped", - [ - 21917 - ] - ], - [ - [ - 64055, - 64055 - ], - "mapped", - [ - 22022 - ] - ], - [ - [ - 64056, - 64056 - ], - "mapped", - [ - 22120 - ] - ], - [ - [ - 64057, - 64057 - ], - "mapped", - [ - 22592 - ] - ], - [ - [ - 64058, - 64058 - ], - "mapped", - [ - 22696 - ] - ], - [ - [ - 64059, - 64059 - ], - "mapped", - [ - 23652 - ] - ], - [ - [ - 64060, - 64060 - ], - "mapped", - [ - 23662 - ] - ], - [ - [ - 64061, - 64061 - ], - "mapped", - [ - 24724 - ] - ], - [ - [ - 64062, - 64062 - ], - "mapped", - [ - 24936 - ] - ], - [ - [ - 64063, - 64063 - ], - "mapped", - [ - 24974 - ] - ], - [ - [ - 64064, - 64064 - ], - "mapped", - [ - 25074 - ] - ], - [ - [ - 64065, - 64065 - ], - "mapped", - [ - 25935 - ] - ], - [ - [ - 64066, - 64066 - ], - "mapped", - [ - 26082 - ] - ], - [ - [ - 64067, - 64067 - ], - "mapped", - [ - 26257 - ] - ], - [ - [ - 64068, - 64068 - ], - "mapped", - [ - 26757 - ] - ], - [ - [ - 64069, - 64069 - ], - "mapped", - [ - 28023 - ] - ], - [ - [ - 64070, - 64070 - ], - "mapped", - [ - 28186 - ] - ], - [ - [ - 64071, - 64071 - ], - "mapped", - [ - 28450 - ] - ], - [ - [ - 64072, - 64072 - ], - "mapped", - [ - 29038 - ] - ], - [ - [ - 64073, - 64073 - ], - "mapped", - [ - 29227 - ] - ], - [ - [ - 64074, - 64074 - ], - "mapped", - [ - 29730 - ] - ], - [ - [ - 64075, - 64075 - ], - "mapped", - [ - 30865 - ] - ], - [ - [ - 64076, - 64076 - ], - "mapped", - [ - 31038 - ] - ], - [ - [ - 64077, - 64077 - ], - "mapped", - [ - 31049 - ] - ], - [ - [ - 64078, - 64078 - ], - "mapped", - [ - 31048 - ] - ], - [ - [ - 64079, - 64079 - ], - "mapped", - [ - 31056 - ] - ], - [ - [ - 64080, - 64080 - ], - "mapped", - [ - 31062 - ] - ], - [ - [ - 64081, - 64081 - ], - "mapped", - [ - 31069 - ] - ], - [ - [ - 64082, - 64082 - ], - "mapped", - [ - 31117 - ] - ], - [ - [ - 64083, - 64083 - ], - "mapped", - [ - 31118 - ] - ], - [ - [ - 64084, - 64084 - ], - "mapped", - [ - 31296 - ] - ], - [ - [ - 64085, - 64085 - ], - "mapped", - [ - 31361 - ] - ], - [ - [ - 64086, - 64086 - ], - "mapped", - [ - 31680 - ] - ], - [ - [ - 64087, - 64087 - ], - "mapped", - [ - 32244 - ] - ], - [ - [ - 64088, - 64088 - ], - "mapped", - [ - 32265 - ] - ], - [ - [ - 64089, - 64089 - ], - "mapped", - [ - 32321 - ] - ], - [ - [ - 64090, - 64090 - ], - "mapped", - [ - 32626 - ] - ], - [ - [ - 64091, - 64091 - ], - "mapped", - [ - 32773 - ] - ], - [ - [ - 64092, - 64092 - ], - "mapped", - [ - 33261 - ] - ], - [ - [ - 64093, - 64094 - ], - "mapped", - [ - 33401 - ] - ], - [ - [ - 64095, - 64095 - ], - "mapped", - [ - 33879 - ] - ], - [ - [ - 64096, - 64096 - ], - "mapped", - [ - 35088 - ] - ], - [ - [ - 64097, - 64097 - ], - "mapped", - [ - 35222 - ] - ], - [ - [ - 64098, - 64098 - ], - "mapped", - [ - 35585 - ] - ], - [ - [ - 64099, - 64099 - ], - "mapped", - [ - 35641 - ] - ], - [ - [ - 64100, - 64100 - ], - "mapped", - [ - 36051 - ] - ], - [ - [ - 64101, - 64101 - ], - "mapped", - [ - 36104 - ] - ], - [ - [ - 64102, - 64102 - ], - "mapped", - [ - 36790 - ] - ], - [ - [ - 64103, - 64103 - ], - "mapped", - [ - 36920 - ] - ], - [ - [ - 64104, - 64104 - ], - "mapped", - [ - 38627 - ] - ], - [ - [ - 64105, - 64105 - ], - "mapped", - [ - 38911 - ] - ], - [ - [ - 64106, - 64106 - ], - "mapped", - [ - 38971 - ] - ], - [ - [ - 64107, - 64107 - ], - "mapped", - [ - 24693 - ] - ], - [ - [ - 64108, - 64108 - ], - "mapped", - [ - 148206 - ] - ], - [ - [ - 64109, - 64109 - ], - "mapped", - [ - 33304 - ] - ], - [ - [ - 64110, - 64111 - ], - "disallowed" - ], - [ - [ - 64112, - 64112 - ], - "mapped", - [ - 20006 - ] - ], - [ - [ - 64113, - 64113 - ], - "mapped", - [ - 20917 - ] - ], - [ - [ - 64114, - 64114 - ], - "mapped", - [ - 20840 - ] - ], - [ - [ - 64115, - 64115 - ], - "mapped", - [ - 20352 - ] - ], - [ - [ - 64116, - 64116 - ], - "mapped", - [ - 20805 - ] - ], - [ - [ - 64117, - 64117 - ], - "mapped", - [ - 20864 - ] - ], - [ - [ - 64118, - 64118 - ], - "mapped", - [ - 21191 - ] - ], - [ - [ - 64119, - 64119 - ], - "mapped", - [ - 21242 - ] - ], - [ - [ - 64120, - 64120 - ], - "mapped", - [ - 21917 - ] - ], - [ - [ - 64121, - 64121 - ], - "mapped", - [ - 21845 - ] - ], - [ - [ - 64122, - 64122 - ], - "mapped", - [ - 21913 - ] - ], - [ - [ - 64123, - 64123 - ], - "mapped", - [ - 21986 - ] - ], - [ - [ - 64124, - 64124 - ], - "mapped", - [ - 22618 - ] - ], - [ - [ - 64125, - 64125 - ], - "mapped", - [ - 22707 - ] - ], - [ - [ - 64126, - 64126 - ], - "mapped", - [ - 22852 - ] - ], - [ - [ - 64127, - 64127 - ], - "mapped", - [ - 22868 - ] - ], - [ - [ - 64128, - 64128 - ], - "mapped", - [ - 23138 - ] - ], - [ - [ - 64129, - 64129 - ], - "mapped", - [ - 23336 - ] - ], - [ - [ - 64130, - 64130 - ], - "mapped", - [ - 24274 - ] - ], - [ - [ - 64131, - 64131 - ], - "mapped", - [ - 24281 - ] - ], - [ - [ - 64132, - 64132 - ], - "mapped", - [ - 24425 - ] - ], - [ - [ - 64133, - 64133 - ], - "mapped", - [ - 24493 - ] - ], - [ - [ - 64134, - 64134 - ], - "mapped", - [ - 24792 - ] - ], - [ - [ - 64135, - 64135 - ], - "mapped", - [ - 24910 - ] - ], - [ - [ - 64136, - 64136 - ], - "mapped", - [ - 24840 - ] - ], - [ - [ - 64137, - 64137 - ], - "mapped", - [ - 24974 - ] - ], - [ - [ - 64138, - 64138 - ], - "mapped", - [ - 24928 - ] - ], - [ - [ - 64139, - 64139 - ], - "mapped", - [ - 25074 - ] - ], - [ - [ - 64140, - 64140 - ], - "mapped", - [ - 25140 - ] - ], - [ - [ - 64141, - 64141 - ], - "mapped", - [ - 25540 - ] - ], - [ - [ - 64142, - 64142 - ], - "mapped", - [ - 25628 - ] - ], - [ - [ - 64143, - 64143 - ], - "mapped", - [ - 25682 - ] - ], - [ - [ - 64144, - 64144 - ], - "mapped", - [ - 25942 - ] - ], - [ - [ - 64145, - 64145 - ], - "mapped", - [ - 26228 - ] - ], - [ - [ - 64146, - 64146 - ], - "mapped", - [ - 26391 - ] - ], - [ - [ - 64147, - 64147 - ], - "mapped", - [ - 26395 - ] - ], - [ - [ - 64148, - 64148 - ], - "mapped", - [ - 26454 - ] - ], - [ - [ - 64149, - 64149 - ], - "mapped", - [ - 27513 - ] - ], - [ - [ - 64150, - 64150 - ], - "mapped", - [ - 27578 - ] - ], - [ - [ - 64151, - 64151 - ], - "mapped", - [ - 27969 - ] - ], - [ - [ - 64152, - 64152 - ], - "mapped", - [ - 28379 - ] - ], - [ - [ - 64153, - 64153 - ], - "mapped", - [ - 28363 - ] - ], - [ - [ - 64154, - 64154 - ], - "mapped", - [ - 28450 - ] - ], - [ - [ - 64155, - 64155 - ], - "mapped", - [ - 28702 - ] - ], - [ - [ - 64156, - 64156 - ], - "mapped", - [ - 29038 - ] - ], - [ - [ - 64157, - 64157 - ], - "mapped", - [ - 30631 - ] - ], - [ - [ - 64158, - 64158 - ], - "mapped", - [ - 29237 - ] - ], - [ - [ - 64159, - 64159 - ], - "mapped", - [ - 29359 - ] - ], - [ - [ - 64160, - 64160 - ], - "mapped", - [ - 29482 - ] - ], - [ - [ - 64161, - 64161 - ], - "mapped", - [ - 29809 - ] - ], - [ - [ - 64162, - 64162 - ], - "mapped", - [ - 29958 - ] - ], - [ - [ - 64163, - 64163 - ], - "mapped", - [ - 30011 - ] - ], - [ - [ - 64164, - 64164 - ], - "mapped", - [ - 30237 - ] - ], - [ - [ - 64165, - 64165 - ], - "mapped", - [ - 30239 - ] - ], - [ - [ - 64166, - 64166 - ], - "mapped", - [ - 30410 - ] - ], - [ - [ - 64167, - 64167 - ], - "mapped", - [ - 30427 - ] - ], - [ - [ - 64168, - 64168 - ], - "mapped", - [ - 30452 - ] - ], - [ - [ - 64169, - 64169 - ], - "mapped", - [ - 30538 - ] - ], - [ - [ - 64170, - 64170 - ], - "mapped", - [ - 30528 - ] - ], - [ - [ - 64171, - 64171 - ], - "mapped", - [ - 30924 - ] - ], - [ - [ - 64172, - 64172 - ], - "mapped", - [ - 31409 - ] - ], - [ - [ - 64173, - 64173 - ], - "mapped", - [ - 31680 - ] - ], - [ - [ - 64174, - 64174 - ], - "mapped", - [ - 31867 - ] - ], - [ - [ - 64175, - 64175 - ], - "mapped", - [ - 32091 - ] - ], - [ - [ - 64176, - 64176 - ], - "mapped", - [ - 32244 - ] - ], - [ - [ - 64177, - 64177 - ], - "mapped", - [ - 32574 - ] - ], - [ - [ - 64178, - 64178 - ], - "mapped", - [ - 32773 - ] - ], - [ - [ - 64179, - 64179 - ], - "mapped", - [ - 33618 - ] - ], - [ - [ - 64180, - 64180 - ], - "mapped", - [ - 33775 - ] - ], - [ - [ - 64181, - 64181 - ], - "mapped", - [ - 34681 - ] - ], - [ - [ - 64182, - 64182 - ], - "mapped", - [ - 35137 - ] - ], - [ - [ - 64183, - 64183 - ], - "mapped", - [ - 35206 - ] - ], - [ - [ - 64184, - 64184 - ], - "mapped", - [ - 35222 - ] - ], - [ - [ - 64185, - 64185 - ], - "mapped", - [ - 35519 - ] - ], - [ - [ - 64186, - 64186 - ], - "mapped", - [ - 35576 - ] - ], - [ - [ - 64187, - 64187 - ], - "mapped", - [ - 35531 - ] - ], - [ - [ - 64188, - 64188 - ], - "mapped", - [ - 35585 - ] - ], - [ - [ - 64189, - 64189 - ], - "mapped", - [ - 35582 - ] - ], - [ - [ - 64190, - 64190 - ], - "mapped", - [ - 35565 - ] - ], - [ - [ - 64191, - 64191 - ], - "mapped", - [ - 35641 - ] - ], - [ - [ - 64192, - 64192 - ], - "mapped", - [ - 35722 - ] - ], - [ - [ - 64193, - 64193 - ], - "mapped", - [ - 36104 - ] - ], - [ - [ - 64194, - 64194 - ], - "mapped", - [ - 36664 - ] - ], - [ - [ - 64195, - 64195 - ], - "mapped", - [ - 36978 - ] - ], - [ - [ - 64196, - 64196 - ], - "mapped", - [ - 37273 - ] - ], - [ - [ - 64197, - 64197 - ], - "mapped", - [ - 37494 - ] - ], - [ - [ - 64198, - 64198 - ], - "mapped", - [ - 38524 - ] - ], - [ - [ - 64199, - 64199 - ], - "mapped", - [ - 38627 - ] - ], - [ - [ - 64200, - 64200 - ], - "mapped", - [ - 38742 - ] - ], - [ - [ - 64201, - 64201 - ], - "mapped", - [ - 38875 - ] - ], - [ - [ - 64202, - 64202 - ], - "mapped", - [ - 38911 - ] - ], - [ - [ - 64203, - 64203 - ], - "mapped", - [ - 38923 - ] - ], - [ - [ - 64204, - 64204 - ], - "mapped", - [ - 38971 - ] - ], - [ - [ - 64205, - 64205 - ], - "mapped", - [ - 39698 - ] - ], - [ - [ - 64206, - 64206 - ], - "mapped", - [ - 40860 - ] - ], - [ - [ - 64207, - 64207 - ], - "mapped", - [ - 141386 - ] - ], - [ - [ - 64208, - 64208 - ], - "mapped", - [ - 141380 - ] - ], - [ - [ - 64209, - 64209 - ], - "mapped", - [ - 144341 - ] - ], - [ - [ - 64210, - 64210 - ], - "mapped", - [ - 15261 - ] - ], - [ - [ - 64211, - 64211 - ], - "mapped", - [ - 16408 - ] - ], - [ - [ - 64212, - 64212 - ], - "mapped", - [ - 16441 - ] - ], - [ - [ - 64213, - 64213 - ], - "mapped", - [ - 152137 - ] - ], - [ - [ - 64214, - 64214 - ], - "mapped", - [ - 154832 - ] - ], - [ - [ - 64215, - 64215 - ], - "mapped", - [ - 163539 - ] - ], - [ - [ - 64216, - 64216 - ], - "mapped", - [ - 40771 - ] - ], - [ - [ - 64217, - 64217 - ], - "mapped", - [ - 40846 - ] - ], - [ - [ - 64218, - 64255 - ], - "disallowed" - ], - [ - [ - 64256, - 64256 - ], - "mapped", - [ - 102, - 102 - ] - ], - [ - [ - 64257, - 64257 - ], - "mapped", - [ - 102, - 105 - ] - ], - [ - [ - 64258, - 64258 - ], - "mapped", - [ - 102, - 108 - ] - ], - [ - [ - 64259, - 64259 - ], - "mapped", - [ - 102, - 102, - 105 - ] - ], - [ - [ - 64260, - 64260 - ], - "mapped", - [ - 102, - 102, - 108 - ] - ], - [ - [ - 64261, - 64262 - ], - "mapped", - [ - 115, - 116 - ] - ], - [ - [ - 64263, - 64274 - ], - "disallowed" - ], - [ - [ - 64275, - 64275 - ], - "mapped", - [ - 1396, - 1398 - ] - ], - [ - [ - 64276, - 64276 - ], - "mapped", - [ - 1396, - 1381 - ] - ], - [ - [ - 64277, - 64277 - ], - "mapped", - [ - 1396, - 1387 - ] - ], - [ - [ - 64278, - 64278 - ], - "mapped", - [ - 1406, - 1398 - ] - ], - [ - [ - 64279, - 64279 - ], - "mapped", - [ - 1396, - 1389 - ] - ], - [ - [ - 64280, - 64284 - ], - "disallowed" - ], - [ - [ - 64285, - 64285 - ], - "mapped", - [ - 1497, - 1460 - ] - ], - [ - [ - 64286, - 64286 - ], - "valid" - ], - [ - [ - 64287, - 64287 - ], - "mapped", - [ - 1522, - 1463 - ] - ], - [ - [ - 64288, - 64288 - ], - "mapped", - [ - 1506 - ] - ], - [ - [ - 64289, - 64289 - ], - "mapped", - [ - 1488 - ] - ], - [ - [ - 64290, - 64290 - ], - "mapped", - [ - 1491 - ] - ], - [ - [ - 64291, - 64291 - ], - "mapped", - [ - 1492 - ] - ], - [ - [ - 64292, - 64292 - ], - "mapped", - [ - 1499 - ] - ], - [ - [ - 64293, - 64293 - ], - "mapped", - [ - 1500 - ] - ], - [ - [ - 64294, - 64294 - ], - "mapped", - [ - 1501 - ] - ], - [ - [ - 64295, - 64295 - ], - "mapped", - [ - 1512 - ] - ], - [ - [ - 64296, - 64296 - ], - "mapped", - [ - 1514 - ] - ], - [ - [ - 64297, - 64297 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 64298, - 64298 - ], - "mapped", - [ - 1513, - 1473 - ] - ], - [ - [ - 64299, - 64299 - ], - "mapped", - [ - 1513, - 1474 - ] - ], - [ - [ - 64300, - 64300 - ], - "mapped", - [ - 1513, - 1468, - 1473 - ] - ], - [ - [ - 64301, - 64301 - ], - "mapped", - [ - 1513, - 1468, - 1474 - ] - ], - [ - [ - 64302, - 64302 - ], - "mapped", - [ - 1488, - 1463 - ] - ], - [ - [ - 64303, - 64303 - ], - "mapped", - [ - 1488, - 1464 - ] - ], - [ - [ - 64304, - 64304 - ], - "mapped", - [ - 1488, - 1468 - ] - ], - [ - [ - 64305, - 64305 - ], - "mapped", - [ - 1489, - 1468 - ] - ], - [ - [ - 64306, - 64306 - ], - "mapped", - [ - 1490, - 1468 - ] - ], - [ - [ - 64307, - 64307 - ], - "mapped", - [ - 1491, - 1468 - ] - ], - [ - [ - 64308, - 64308 - ], - "mapped", - [ - 1492, - 1468 - ] - ], - [ - [ - 64309, - 64309 - ], - "mapped", - [ - 1493, - 1468 - ] - ], - [ - [ - 64310, - 64310 - ], - "mapped", - [ - 1494, - 1468 - ] - ], - [ - [ - 64311, - 64311 - ], - "disallowed" - ], - [ - [ - 64312, - 64312 - ], - "mapped", - [ - 1496, - 1468 - ] - ], - [ - [ - 64313, - 64313 - ], - "mapped", - [ - 1497, - 1468 - ] - ], - [ - [ - 64314, - 64314 - ], - "mapped", - [ - 1498, - 1468 - ] - ], - [ - [ - 64315, - 64315 - ], - "mapped", - [ - 1499, - 1468 - ] - ], - [ - [ - 64316, - 64316 - ], - "mapped", - [ - 1500, - 1468 - ] - ], - [ - [ - 64317, - 64317 - ], - "disallowed" - ], - [ - [ - 64318, - 64318 - ], - "mapped", - [ - 1502, - 1468 - ] - ], - [ - [ - 64319, - 64319 - ], - "disallowed" - ], - [ - [ - 64320, - 64320 - ], - "mapped", - [ - 1504, - 1468 - ] - ], - [ - [ - 64321, - 64321 - ], - "mapped", - [ - 1505, - 1468 - ] - ], - [ - [ - 64322, - 64322 - ], - "disallowed" - ], - [ - [ - 64323, - 64323 - ], - "mapped", - [ - 1507, - 1468 - ] - ], - [ - [ - 64324, - 64324 - ], - "mapped", - [ - 1508, - 1468 - ] - ], - [ - [ - 64325, - 64325 - ], - "disallowed" - ], - [ - [ - 64326, - 64326 - ], - "mapped", - [ - 1510, - 1468 - ] - ], - [ - [ - 64327, - 64327 - ], - "mapped", - [ - 1511, - 1468 - ] - ], - [ - [ - 64328, - 64328 - ], - "mapped", - [ - 1512, - 1468 - ] - ], - [ - [ - 64329, - 64329 - ], - "mapped", - [ - 1513, - 1468 - ] - ], - [ - [ - 64330, - 64330 - ], - "mapped", - [ - 1514, - 1468 - ] - ], - [ - [ - 64331, - 64331 - ], - "mapped", - [ - 1493, - 1465 - ] - ], - [ - [ - 64332, - 64332 - ], - "mapped", - [ - 1489, - 1471 - ] - ], - [ - [ - 64333, - 64333 - ], - "mapped", - [ - 1499, - 1471 - ] - ], - [ - [ - 64334, - 64334 - ], - "mapped", - [ - 1508, - 1471 - ] - ], - [ - [ - 64335, - 64335 - ], - "mapped", - [ - 1488, - 1500 - ] - ], - [ - [ - 64336, - 64337 - ], - "mapped", - [ - 1649 - ] - ], - [ - [ - 64338, - 64341 - ], - "mapped", - [ - 1659 - ] - ], - [ - [ - 64342, - 64345 - ], - "mapped", - [ - 1662 - ] - ], - [ - [ - 64346, - 64349 - ], - "mapped", - [ - 1664 - ] - ], - [ - [ - 64350, - 64353 - ], - "mapped", - [ - 1658 - ] - ], - [ - [ - 64354, - 64357 - ], - "mapped", - [ - 1663 - ] - ], - [ - [ - 64358, - 64361 - ], - "mapped", - [ - 1657 - ] - ], - [ - [ - 64362, - 64365 - ], - "mapped", - [ - 1700 - ] - ], - [ - [ - 64366, - 64369 - ], - "mapped", - [ - 1702 - ] - ], - [ - [ - 64370, - 64373 - ], - "mapped", - [ - 1668 - ] - ], - [ - [ - 64374, - 64377 - ], - "mapped", - [ - 1667 - ] - ], - [ - [ - 64378, - 64381 - ], - "mapped", - [ - 1670 - ] - ], - [ - [ - 64382, - 64385 - ], - "mapped", - [ - 1671 - ] - ], - [ - [ - 64386, - 64387 - ], - "mapped", - [ - 1677 - ] - ], - [ - [ - 64388, - 64389 - ], - "mapped", - [ - 1676 - ] - ], - [ - [ - 64390, - 64391 - ], - "mapped", - [ - 1678 - ] - ], - [ - [ - 64392, - 64393 - ], - "mapped", - [ - 1672 - ] - ], - [ - [ - 64394, - 64395 - ], - "mapped", - [ - 1688 - ] - ], - [ - [ - 64396, - 64397 - ], - "mapped", - [ - 1681 - ] - ], - [ - [ - 64398, - 64401 - ], - "mapped", - [ - 1705 - ] - ], - [ - [ - 64402, - 64405 - ], - "mapped", - [ - 1711 - ] - ], - [ - [ - 64406, - 64409 - ], - "mapped", - [ - 1715 - ] - ], - [ - [ - 64410, - 64413 - ], - "mapped", - [ - 1713 - ] - ], - [ - [ - 64414, - 64415 - ], - "mapped", - [ - 1722 - ] - ], - [ - [ - 64416, - 64419 - ], - "mapped", - [ - 1723 - ] - ], - [ - [ - 64420, - 64421 - ], - "mapped", - [ - 1728 - ] - ], - [ - [ - 64422, - 64425 - ], - "mapped", - [ - 1729 - ] - ], - [ - [ - 64426, - 64429 - ], - "mapped", - [ - 1726 - ] - ], - [ - [ - 64430, - 64431 - ], - "mapped", - [ - 1746 - ] - ], - [ - [ - 64432, - 64433 - ], - "mapped", - [ - 1747 - ] - ], - [ - [ - 64434, - 64449 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 64450, - 64466 - ], - "disallowed" - ], - [ - [ - 64467, - 64470 - ], - "mapped", - [ - 1709 - ] - ], - [ - [ - 64471, - 64472 - ], - "mapped", - [ - 1735 - ] - ], - [ - [ - 64473, - 64474 - ], - "mapped", - [ - 1734 - ] - ], - [ - [ - 64475, - 64476 - ], - "mapped", - [ - 1736 - ] - ], - [ - [ - 64477, - 64477 - ], - "mapped", - [ - 1735, - 1652 - ] - ], - [ - [ - 64478, - 64479 - ], - "mapped", - [ - 1739 - ] - ], - [ - [ - 64480, - 64481 - ], - "mapped", - [ - 1733 - ] - ], - [ - [ - 64482, - 64483 - ], - "mapped", - [ - 1737 - ] - ], - [ - [ - 64484, - 64487 - ], - "mapped", - [ - 1744 - ] - ], - [ - [ - 64488, - 64489 - ], - "mapped", - [ - 1609 - ] - ], - [ - [ - 64490, - 64491 - ], - "mapped", - [ - 1574, - 1575 - ] - ], - [ - [ - 64492, - 64493 - ], - "mapped", - [ - 1574, - 1749 - ] - ], - [ - [ - 64494, - 64495 - ], - "mapped", - [ - 1574, - 1608 - ] - ], - [ - [ - 64496, - 64497 - ], - "mapped", - [ - 1574, - 1735 - ] - ], - [ - [ - 64498, - 64499 - ], - "mapped", - [ - 1574, - 1734 - ] - ], - [ - [ - 64500, - 64501 - ], - "mapped", - [ - 1574, - 1736 - ] - ], - [ - [ - 64502, - 64504 - ], - "mapped", - [ - 1574, - 1744 - ] - ], - [ - [ - 64505, - 64507 - ], - "mapped", - [ - 1574, - 1609 - ] - ], - [ - [ - 64508, - 64511 - ], - "mapped", - [ - 1740 - ] - ], - [ - [ - 64512, - 64512 - ], - "mapped", - [ - 1574, - 1580 - ] - ], - [ - [ - 64513, - 64513 - ], - "mapped", - [ - 1574, - 1581 - ] - ], - [ - [ - 64514, - 64514 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64515, - 64515 - ], - "mapped", - [ - 1574, - 1609 - ] - ], - [ - [ - 64516, - 64516 - ], - "mapped", - [ - 1574, - 1610 - ] - ], - [ - [ - 64517, - 64517 - ], - "mapped", - [ - 1576, - 1580 - ] - ], - [ - [ - 64518, - 64518 - ], - "mapped", - [ - 1576, - 1581 - ] - ], - [ - [ - 64519, - 64519 - ], - "mapped", - [ - 1576, - 1582 - ] - ], - [ - [ - 64520, - 64520 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64521, - 64521 - ], - "mapped", - [ - 1576, - 1609 - ] - ], - [ - [ - 64522, - 64522 - ], - "mapped", - [ - 1576, - 1610 - ] - ], - [ - [ - 64523, - 64523 - ], - "mapped", - [ - 1578, - 1580 - ] - ], - [ - [ - 64524, - 64524 - ], - "mapped", - [ - 1578, - 1581 - ] - ], - [ - [ - 64525, - 64525 - ], - "mapped", - [ - 1578, - 1582 - ] - ], - [ - [ - 64526, - 64526 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64527, - 64527 - ], - "mapped", - [ - 1578, - 1609 - ] - ], - [ - [ - 64528, - 64528 - ], - "mapped", - [ - 1578, - 1610 - ] - ], - [ - [ - 64529, - 64529 - ], - "mapped", - [ - 1579, - 1580 - ] - ], - [ - [ - 64530, - 64530 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64531, - 64531 - ], - "mapped", - [ - 1579, - 1609 - ] - ], - [ - [ - 64532, - 64532 - ], - "mapped", - [ - 1579, - 1610 - ] - ], - [ - [ - 64533, - 64533 - ], - "mapped", - [ - 1580, - 1581 - ] - ], - [ - [ - 64534, - 64534 - ], - "mapped", - [ - 1580, - 1605 - ] - ], - [ - [ - 64535, - 64535 - ], - "mapped", - [ - 1581, - 1580 - ] - ], - [ - [ - 64536, - 64536 - ], - "mapped", - [ - 1581, - 1605 - ] - ], - [ - [ - 64537, - 64537 - ], - "mapped", - [ - 1582, - 1580 - ] - ], - [ - [ - 64538, - 64538 - ], - "mapped", - [ - 1582, - 1581 - ] - ], - [ - [ - 64539, - 64539 - ], - "mapped", - [ - 1582, - 1605 - ] - ], - [ - [ - 64540, - 64540 - ], - "mapped", - [ - 1587, - 1580 - ] - ], - [ - [ - 64541, - 64541 - ], - "mapped", - [ - 1587, - 1581 - ] - ], - [ - [ - 64542, - 64542 - ], - "mapped", - [ - 1587, - 1582 - ] - ], - [ - [ - 64543, - 64543 - ], - "mapped", - [ - 1587, - 1605 - ] - ], - [ - [ - 64544, - 64544 - ], - "mapped", - [ - 1589, - 1581 - ] - ], - [ - [ - 64545, - 64545 - ], - "mapped", - [ - 1589, - 1605 - ] - ], - [ - [ - 64546, - 64546 - ], - "mapped", - [ - 1590, - 1580 - ] - ], - [ - [ - 64547, - 64547 - ], - "mapped", - [ - 1590, - 1581 - ] - ], - [ - [ - 64548, - 64548 - ], - "mapped", - [ - 1590, - 1582 - ] - ], - [ - [ - 64549, - 64549 - ], - "mapped", - [ - 1590, - 1605 - ] - ], - [ - [ - 64550, - 64550 - ], - "mapped", - [ - 1591, - 1581 - ] - ], - [ - [ - 64551, - 64551 - ], - "mapped", - [ - 1591, - 1605 - ] - ], - [ - [ - 64552, - 64552 - ], - "mapped", - [ - 1592, - 1605 - ] - ], - [ - [ - 64553, - 64553 - ], - "mapped", - [ - 1593, - 1580 - ] - ], - [ - [ - 64554, - 64554 - ], - "mapped", - [ - 1593, - 1605 - ] - ], - [ - [ - 64555, - 64555 - ], - "mapped", - [ - 1594, - 1580 - ] - ], - [ - [ - 64556, - 64556 - ], - "mapped", - [ - 1594, - 1605 - ] - ], - [ - [ - 64557, - 64557 - ], - "mapped", - [ - 1601, - 1580 - ] - ], - [ - [ - 64558, - 64558 - ], - "mapped", - [ - 1601, - 1581 - ] - ], - [ - [ - 64559, - 64559 - ], - "mapped", - [ - 1601, - 1582 - ] - ], - [ - [ - 64560, - 64560 - ], - "mapped", - [ - 1601, - 1605 - ] - ], - [ - [ - 64561, - 64561 - ], - "mapped", - [ - 1601, - 1609 - ] - ], - [ - [ - 64562, - 64562 - ], - "mapped", - [ - 1601, - 1610 - ] - ], - [ - [ - 64563, - 64563 - ], - "mapped", - [ - 1602, - 1581 - ] - ], - [ - [ - 64564, - 64564 - ], - "mapped", - [ - 1602, - 1605 - ] - ], - [ - [ - 64565, - 64565 - ], - "mapped", - [ - 1602, - 1609 - ] - ], - [ - [ - 64566, - 64566 - ], - "mapped", - [ - 1602, - 1610 - ] - ], - [ - [ - 64567, - 64567 - ], - "mapped", - [ - 1603, - 1575 - ] - ], - [ - [ - 64568, - 64568 - ], - "mapped", - [ - 1603, - 1580 - ] - ], - [ - [ - 64569, - 64569 - ], - "mapped", - [ - 1603, - 1581 - ] - ], - [ - [ - 64570, - 64570 - ], - "mapped", - [ - 1603, - 1582 - ] - ], - [ - [ - 64571, - 64571 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64572, - 64572 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64573, - 64573 - ], - "mapped", - [ - 1603, - 1609 - ] - ], - [ - [ - 64574, - 64574 - ], - "mapped", - [ - 1603, - 1610 - ] - ], - [ - [ - 64575, - 64575 - ], - "mapped", - [ - 1604, - 1580 - ] - ], - [ - [ - 64576, - 64576 - ], - "mapped", - [ - 1604, - 1581 - ] - ], - [ - [ - 64577, - 64577 - ], - "mapped", - [ - 1604, - 1582 - ] - ], - [ - [ - 64578, - 64578 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64579, - 64579 - ], - "mapped", - [ - 1604, - 1609 - ] - ], - [ - [ - 64580, - 64580 - ], - "mapped", - [ - 1604, - 1610 - ] - ], - [ - [ - 64581, - 64581 - ], - "mapped", - [ - 1605, - 1580 - ] - ], - [ - [ - 64582, - 64582 - ], - "mapped", - [ - 1605, - 1581 - ] - ], - [ - [ - 64583, - 64583 - ], - "mapped", - [ - 1605, - 1582 - ] - ], - [ - [ - 64584, - 64584 - ], - "mapped", - [ - 1605, - 1605 - ] - ], - [ - [ - 64585, - 64585 - ], - "mapped", - [ - 1605, - 1609 - ] - ], - [ - [ - 64586, - 64586 - ], - "mapped", - [ - 1605, - 1610 - ] - ], - [ - [ - 64587, - 64587 - ], - "mapped", - [ - 1606, - 1580 - ] - ], - [ - [ - 64588, - 64588 - ], - "mapped", - [ - 1606, - 1581 - ] - ], - [ - [ - 64589, - 64589 - ], - "mapped", - [ - 1606, - 1582 - ] - ], - [ - [ - 64590, - 64590 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64591, - 64591 - ], - "mapped", - [ - 1606, - 1609 - ] - ], - [ - [ - 64592, - 64592 - ], - "mapped", - [ - 1606, - 1610 - ] - ], - [ - [ - 64593, - 64593 - ], - "mapped", - [ - 1607, - 1580 - ] - ], - [ - [ - 64594, - 64594 - ], - "mapped", - [ - 1607, - 1605 - ] - ], - [ - [ - 64595, - 64595 - ], - "mapped", - [ - 1607, - 1609 - ] - ], - [ - [ - 64596, - 64596 - ], - "mapped", - [ - 1607, - 1610 - ] - ], - [ - [ - 64597, - 64597 - ], - "mapped", - [ - 1610, - 1580 - ] - ], - [ - [ - 64598, - 64598 - ], - "mapped", - [ - 1610, - 1581 - ] - ], - [ - [ - 64599, - 64599 - ], - "mapped", - [ - 1610, - 1582 - ] - ], - [ - [ - 64600, - 64600 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64601, - 64601 - ], - "mapped", - [ - 1610, - 1609 - ] - ], - [ - [ - 64602, - 64602 - ], - "mapped", - [ - 1610, - 1610 - ] - ], - [ - [ - 64603, - 64603 - ], - "mapped", - [ - 1584, - 1648 - ] - ], - [ - [ - 64604, - 64604 - ], - "mapped", - [ - 1585, - 1648 - ] - ], - [ - [ - 64605, - 64605 - ], - "mapped", - [ - 1609, - 1648 - ] - ], - [ - [ - 64606, - 64606 - ], - "disallowed_STD3_mapped", - [ - 32, - 1612, - 1617 - ] - ], - [ - [ - 64607, - 64607 - ], - "disallowed_STD3_mapped", - [ - 32, - 1613, - 1617 - ] - ], - [ - [ - 64608, - 64608 - ], - "disallowed_STD3_mapped", - [ - 32, - 1614, - 1617 - ] - ], - [ - [ - 64609, - 64609 - ], - "disallowed_STD3_mapped", - [ - 32, - 1615, - 1617 - ] - ], - [ - [ - 64610, - 64610 - ], - "disallowed_STD3_mapped", - [ - 32, - 1616, - 1617 - ] - ], - [ - [ - 64611, - 64611 - ], - "disallowed_STD3_mapped", - [ - 32, - 1617, - 1648 - ] - ], - [ - [ - 64612, - 64612 - ], - "mapped", - [ - 1574, - 1585 - ] - ], - [ - [ - 64613, - 64613 - ], - "mapped", - [ - 1574, - 1586 - ] - ], - [ - [ - 64614, - 64614 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64615, - 64615 - ], - "mapped", - [ - 1574, - 1606 - ] - ], - [ - [ - 64616, - 64616 - ], - "mapped", - [ - 1574, - 1609 - ] - ], - [ - [ - 64617, - 64617 - ], - "mapped", - [ - 1574, - 1610 - ] - ], - [ - [ - 64618, - 64618 - ], - "mapped", - [ - 1576, - 1585 - ] - ], - [ - [ - 64619, - 64619 - ], - "mapped", - [ - 1576, - 1586 - ] - ], - [ - [ - 64620, - 64620 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64621, - 64621 - ], - "mapped", - [ - 1576, - 1606 - ] - ], - [ - [ - 64622, - 64622 - ], - "mapped", - [ - 1576, - 1609 - ] - ], - [ - [ - 64623, - 64623 - ], - "mapped", - [ - 1576, - 1610 - ] - ], - [ - [ - 64624, - 64624 - ], - "mapped", - [ - 1578, - 1585 - ] - ], - [ - [ - 64625, - 64625 - ], - "mapped", - [ - 1578, - 1586 - ] - ], - [ - [ - 64626, - 64626 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64627, - 64627 - ], - "mapped", - [ - 1578, - 1606 - ] - ], - [ - [ - 64628, - 64628 - ], - "mapped", - [ - 1578, - 1609 - ] - ], - [ - [ - 64629, - 64629 - ], - "mapped", - [ - 1578, - 1610 - ] - ], - [ - [ - 64630, - 64630 - ], - "mapped", - [ - 1579, - 1585 - ] - ], - [ - [ - 64631, - 64631 - ], - "mapped", - [ - 1579, - 1586 - ] - ], - [ - [ - 64632, - 64632 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64633, - 64633 - ], - "mapped", - [ - 1579, - 1606 - ] - ], - [ - [ - 64634, - 64634 - ], - "mapped", - [ - 1579, - 1609 - ] - ], - [ - [ - 64635, - 64635 - ], - "mapped", - [ - 1579, - 1610 - ] - ], - [ - [ - 64636, - 64636 - ], - "mapped", - [ - 1601, - 1609 - ] - ], - [ - [ - 64637, - 64637 - ], - "mapped", - [ - 1601, - 1610 - ] - ], - [ - [ - 64638, - 64638 - ], - "mapped", - [ - 1602, - 1609 - ] - ], - [ - [ - 64639, - 64639 - ], - "mapped", - [ - 1602, - 1610 - ] - ], - [ - [ - 64640, - 64640 - ], - "mapped", - [ - 1603, - 1575 - ] - ], - [ - [ - 64641, - 64641 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64642, - 64642 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64643, - 64643 - ], - "mapped", - [ - 1603, - 1609 - ] - ], - [ - [ - 64644, - 64644 - ], - "mapped", - [ - 1603, - 1610 - ] - ], - [ - [ - 64645, - 64645 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64646, - 64646 - ], - "mapped", - [ - 1604, - 1609 - ] - ], - [ - [ - 64647, - 64647 - ], - "mapped", - [ - 1604, - 1610 - ] - ], - [ - [ - 64648, - 64648 - ], - "mapped", - [ - 1605, - 1575 - ] - ], - [ - [ - 64649, - 64649 - ], - "mapped", - [ - 1605, - 1605 - ] - ], - [ - [ - 64650, - 64650 - ], - "mapped", - [ - 1606, - 1585 - ] - ], - [ - [ - 64651, - 64651 - ], - "mapped", - [ - 1606, - 1586 - ] - ], - [ - [ - 64652, - 64652 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64653, - 64653 - ], - "mapped", - [ - 1606, - 1606 - ] - ], - [ - [ - 64654, - 64654 - ], - "mapped", - [ - 1606, - 1609 - ] - ], - [ - [ - 64655, - 64655 - ], - "mapped", - [ - 1606, - 1610 - ] - ], - [ - [ - 64656, - 64656 - ], - "mapped", - [ - 1609, - 1648 - ] - ], - [ - [ - 64657, - 64657 - ], - "mapped", - [ - 1610, - 1585 - ] - ], - [ - [ - 64658, - 64658 - ], - "mapped", - [ - 1610, - 1586 - ] - ], - [ - [ - 64659, - 64659 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64660, - 64660 - ], - "mapped", - [ - 1610, - 1606 - ] - ], - [ - [ - 64661, - 64661 - ], - "mapped", - [ - 1610, - 1609 - ] - ], - [ - [ - 64662, - 64662 - ], - "mapped", - [ - 1610, - 1610 - ] - ], - [ - [ - 64663, - 64663 - ], - "mapped", - [ - 1574, - 1580 - ] - ], - [ - [ - 64664, - 64664 - ], - "mapped", - [ - 1574, - 1581 - ] - ], - [ - [ - 64665, - 64665 - ], - "mapped", - [ - 1574, - 1582 - ] - ], - [ - [ - 64666, - 64666 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64667, - 64667 - ], - "mapped", - [ - 1574, - 1607 - ] - ], - [ - [ - 64668, - 64668 - ], - "mapped", - [ - 1576, - 1580 - ] - ], - [ - [ - 64669, - 64669 - ], - "mapped", - [ - 1576, - 1581 - ] - ], - [ - [ - 64670, - 64670 - ], - "mapped", - [ - 1576, - 1582 - ] - ], - [ - [ - 64671, - 64671 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64672, - 64672 - ], - "mapped", - [ - 1576, - 1607 - ] - ], - [ - [ - 64673, - 64673 - ], - "mapped", - [ - 1578, - 1580 - ] - ], - [ - [ - 64674, - 64674 - ], - "mapped", - [ - 1578, - 1581 - ] - ], - [ - [ - 64675, - 64675 - ], - "mapped", - [ - 1578, - 1582 - ] - ], - [ - [ - 64676, - 64676 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64677, - 64677 - ], - "mapped", - [ - 1578, - 1607 - ] - ], - [ - [ - 64678, - 64678 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64679, - 64679 - ], - "mapped", - [ - 1580, - 1581 - ] - ], - [ - [ - 64680, - 64680 - ], - "mapped", - [ - 1580, - 1605 - ] - ], - [ - [ - 64681, - 64681 - ], - "mapped", - [ - 1581, - 1580 - ] - ], - [ - [ - 64682, - 64682 - ], - "mapped", - [ - 1581, - 1605 - ] - ], - [ - [ - 64683, - 64683 - ], - "mapped", - [ - 1582, - 1580 - ] - ], - [ - [ - 64684, - 64684 - ], - "mapped", - [ - 1582, - 1605 - ] - ], - [ - [ - 64685, - 64685 - ], - "mapped", - [ - 1587, - 1580 - ] - ], - [ - [ - 64686, - 64686 - ], - "mapped", - [ - 1587, - 1581 - ] - ], - [ - [ - 64687, - 64687 - ], - "mapped", - [ - 1587, - 1582 - ] - ], - [ - [ - 64688, - 64688 - ], - "mapped", - [ - 1587, - 1605 - ] - ], - [ - [ - 64689, - 64689 - ], - "mapped", - [ - 1589, - 1581 - ] - ], - [ - [ - 64690, - 64690 - ], - "mapped", - [ - 1589, - 1582 - ] - ], - [ - [ - 64691, - 64691 - ], - "mapped", - [ - 1589, - 1605 - ] - ], - [ - [ - 64692, - 64692 - ], - "mapped", - [ - 1590, - 1580 - ] - ], - [ - [ - 64693, - 64693 - ], - "mapped", - [ - 1590, - 1581 - ] - ], - [ - [ - 64694, - 64694 - ], - "mapped", - [ - 1590, - 1582 - ] - ], - [ - [ - 64695, - 64695 - ], - "mapped", - [ - 1590, - 1605 - ] - ], - [ - [ - 64696, - 64696 - ], - "mapped", - [ - 1591, - 1581 - ] - ], - [ - [ - 64697, - 64697 - ], - "mapped", - [ - 1592, - 1605 - ] - ], - [ - [ - 64698, - 64698 - ], - "mapped", - [ - 1593, - 1580 - ] - ], - [ - [ - 64699, - 64699 - ], - "mapped", - [ - 1593, - 1605 - ] - ], - [ - [ - 64700, - 64700 - ], - "mapped", - [ - 1594, - 1580 - ] - ], - [ - [ - 64701, - 64701 - ], - "mapped", - [ - 1594, - 1605 - ] - ], - [ - [ - 64702, - 64702 - ], - "mapped", - [ - 1601, - 1580 - ] - ], - [ - [ - 64703, - 64703 - ], - "mapped", - [ - 1601, - 1581 - ] - ], - [ - [ - 64704, - 64704 - ], - "mapped", - [ - 1601, - 1582 - ] - ], - [ - [ - 64705, - 64705 - ], - "mapped", - [ - 1601, - 1605 - ] - ], - [ - [ - 64706, - 64706 - ], - "mapped", - [ - 1602, - 1581 - ] - ], - [ - [ - 64707, - 64707 - ], - "mapped", - [ - 1602, - 1605 - ] - ], - [ - [ - 64708, - 64708 - ], - "mapped", - [ - 1603, - 1580 - ] - ], - [ - [ - 64709, - 64709 - ], - "mapped", - [ - 1603, - 1581 - ] - ], - [ - [ - 64710, - 64710 - ], - "mapped", - [ - 1603, - 1582 - ] - ], - [ - [ - 64711, - 64711 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64712, - 64712 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64713, - 64713 - ], - "mapped", - [ - 1604, - 1580 - ] - ], - [ - [ - 64714, - 64714 - ], - "mapped", - [ - 1604, - 1581 - ] - ], - [ - [ - 64715, - 64715 - ], - "mapped", - [ - 1604, - 1582 - ] - ], - [ - [ - 64716, - 64716 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64717, - 64717 - ], - "mapped", - [ - 1604, - 1607 - ] - ], - [ - [ - 64718, - 64718 - ], - "mapped", - [ - 1605, - 1580 - ] - ], - [ - [ - 64719, - 64719 - ], - "mapped", - [ - 1605, - 1581 - ] - ], - [ - [ - 64720, - 64720 - ], - "mapped", - [ - 1605, - 1582 - ] - ], - [ - [ - 64721, - 64721 - ], - "mapped", - [ - 1605, - 1605 - ] - ], - [ - [ - 64722, - 64722 - ], - "mapped", - [ - 1606, - 1580 - ] - ], - [ - [ - 64723, - 64723 - ], - "mapped", - [ - 1606, - 1581 - ] - ], - [ - [ - 64724, - 64724 - ], - "mapped", - [ - 1606, - 1582 - ] - ], - [ - [ - 64725, - 64725 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64726, - 64726 - ], - "mapped", - [ - 1606, - 1607 - ] - ], - [ - [ - 64727, - 64727 - ], - "mapped", - [ - 1607, - 1580 - ] - ], - [ - [ - 64728, - 64728 - ], - "mapped", - [ - 1607, - 1605 - ] - ], - [ - [ - 64729, - 64729 - ], - "mapped", - [ - 1607, - 1648 - ] - ], - [ - [ - 64730, - 64730 - ], - "mapped", - [ - 1610, - 1580 - ] - ], - [ - [ - 64731, - 64731 - ], - "mapped", - [ - 1610, - 1581 - ] - ], - [ - [ - 64732, - 64732 - ], - "mapped", - [ - 1610, - 1582 - ] - ], - [ - [ - 64733, - 64733 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64734, - 64734 - ], - "mapped", - [ - 1610, - 1607 - ] - ], - [ - [ - 64735, - 64735 - ], - "mapped", - [ - 1574, - 1605 - ] - ], - [ - [ - 64736, - 64736 - ], - "mapped", - [ - 1574, - 1607 - ] - ], - [ - [ - 64737, - 64737 - ], - "mapped", - [ - 1576, - 1605 - ] - ], - [ - [ - 64738, - 64738 - ], - "mapped", - [ - 1576, - 1607 - ] - ], - [ - [ - 64739, - 64739 - ], - "mapped", - [ - 1578, - 1605 - ] - ], - [ - [ - 64740, - 64740 - ], - "mapped", - [ - 1578, - 1607 - ] - ], - [ - [ - 64741, - 64741 - ], - "mapped", - [ - 1579, - 1605 - ] - ], - [ - [ - 64742, - 64742 - ], - "mapped", - [ - 1579, - 1607 - ] - ], - [ - [ - 64743, - 64743 - ], - "mapped", - [ - 1587, - 1605 - ] - ], - [ - [ - 64744, - 64744 - ], - "mapped", - [ - 1587, - 1607 - ] - ], - [ - [ - 64745, - 64745 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64746, - 64746 - ], - "mapped", - [ - 1588, - 1607 - ] - ], - [ - [ - 64747, - 64747 - ], - "mapped", - [ - 1603, - 1604 - ] - ], - [ - [ - 64748, - 64748 - ], - "mapped", - [ - 1603, - 1605 - ] - ], - [ - [ - 64749, - 64749 - ], - "mapped", - [ - 1604, - 1605 - ] - ], - [ - [ - 64750, - 64750 - ], - "mapped", - [ - 1606, - 1605 - ] - ], - [ - [ - 64751, - 64751 - ], - "mapped", - [ - 1606, - 1607 - ] - ], - [ - [ - 64752, - 64752 - ], - "mapped", - [ - 1610, - 1605 - ] - ], - [ - [ - 64753, - 64753 - ], - "mapped", - [ - 1610, - 1607 - ] - ], - [ - [ - 64754, - 64754 - ], - "mapped", - [ - 1600, - 1614, - 1617 - ] - ], - [ - [ - 64755, - 64755 - ], - "mapped", - [ - 1600, - 1615, - 1617 - ] - ], - [ - [ - 64756, - 64756 - ], - "mapped", - [ - 1600, - 1616, - 1617 - ] - ], - [ - [ - 64757, - 64757 - ], - "mapped", - [ - 1591, - 1609 - ] - ], - [ - [ - 64758, - 64758 - ], - "mapped", - [ - 1591, - 1610 - ] - ], - [ - [ - 64759, - 64759 - ], - "mapped", - [ - 1593, - 1609 - ] - ], - [ - [ - 64760, - 64760 - ], - "mapped", - [ - 1593, - 1610 - ] - ], - [ - [ - 64761, - 64761 - ], - "mapped", - [ - 1594, - 1609 - ] - ], - [ - [ - 64762, - 64762 - ], - "mapped", - [ - 1594, - 1610 - ] - ], - [ - [ - 64763, - 64763 - ], - "mapped", - [ - 1587, - 1609 - ] - ], - [ - [ - 64764, - 64764 - ], - "mapped", - [ - 1587, - 1610 - ] - ], - [ - [ - 64765, - 64765 - ], - "mapped", - [ - 1588, - 1609 - ] - ], - [ - [ - 64766, - 64766 - ], - "mapped", - [ - 1588, - 1610 - ] - ], - [ - [ - 64767, - 64767 - ], - "mapped", - [ - 1581, - 1609 - ] - ], - [ - [ - 64768, - 64768 - ], - "mapped", - [ - 1581, - 1610 - ] - ], - [ - [ - 64769, - 64769 - ], - "mapped", - [ - 1580, - 1609 - ] - ], - [ - [ - 64770, - 64770 - ], - "mapped", - [ - 1580, - 1610 - ] - ], - [ - [ - 64771, - 64771 - ], - "mapped", - [ - 1582, - 1609 - ] - ], - [ - [ - 64772, - 64772 - ], - "mapped", - [ - 1582, - 1610 - ] - ], - [ - [ - 64773, - 64773 - ], - "mapped", - [ - 1589, - 1609 - ] - ], - [ - [ - 64774, - 64774 - ], - "mapped", - [ - 1589, - 1610 - ] - ], - [ - [ - 64775, - 64775 - ], - "mapped", - [ - 1590, - 1609 - ] - ], - [ - [ - 64776, - 64776 - ], - "mapped", - [ - 1590, - 1610 - ] - ], - [ - [ - 64777, - 64777 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64778, - 64778 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64779, - 64779 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64780, - 64780 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64781, - 64781 - ], - "mapped", - [ - 1588, - 1585 - ] - ], - [ - [ - 64782, - 64782 - ], - "mapped", - [ - 1587, - 1585 - ] - ], - [ - [ - 64783, - 64783 - ], - "mapped", - [ - 1589, - 1585 - ] - ], - [ - [ - 64784, - 64784 - ], - "mapped", - [ - 1590, - 1585 - ] - ], - [ - [ - 64785, - 64785 - ], - "mapped", - [ - 1591, - 1609 - ] - ], - [ - [ - 64786, - 64786 - ], - "mapped", - [ - 1591, - 1610 - ] - ], - [ - [ - 64787, - 64787 - ], - "mapped", - [ - 1593, - 1609 - ] - ], - [ - [ - 64788, - 64788 - ], - "mapped", - [ - 1593, - 1610 - ] - ], - [ - [ - 64789, - 64789 - ], - "mapped", - [ - 1594, - 1609 - ] - ], - [ - [ - 64790, - 64790 - ], - "mapped", - [ - 1594, - 1610 - ] - ], - [ - [ - 64791, - 64791 - ], - "mapped", - [ - 1587, - 1609 - ] - ], - [ - [ - 64792, - 64792 - ], - "mapped", - [ - 1587, - 1610 - ] - ], - [ - [ - 64793, - 64793 - ], - "mapped", - [ - 1588, - 1609 - ] - ], - [ - [ - 64794, - 64794 - ], - "mapped", - [ - 1588, - 1610 - ] - ], - [ - [ - 64795, - 64795 - ], - "mapped", - [ - 1581, - 1609 - ] - ], - [ - [ - 64796, - 64796 - ], - "mapped", - [ - 1581, - 1610 - ] - ], - [ - [ - 64797, - 64797 - ], - "mapped", - [ - 1580, - 1609 - ] - ], - [ - [ - 64798, - 64798 - ], - "mapped", - [ - 1580, - 1610 - ] - ], - [ - [ - 64799, - 64799 - ], - "mapped", - [ - 1582, - 1609 - ] - ], - [ - [ - 64800, - 64800 - ], - "mapped", - [ - 1582, - 1610 - ] - ], - [ - [ - 64801, - 64801 - ], - "mapped", - [ - 1589, - 1609 - ] - ], - [ - [ - 64802, - 64802 - ], - "mapped", - [ - 1589, - 1610 - ] - ], - [ - [ - 64803, - 64803 - ], - "mapped", - [ - 1590, - 1609 - ] - ], - [ - [ - 64804, - 64804 - ], - "mapped", - [ - 1590, - 1610 - ] - ], - [ - [ - 64805, - 64805 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64806, - 64806 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64807, - 64807 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64808, - 64808 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64809, - 64809 - ], - "mapped", - [ - 1588, - 1585 - ] - ], - [ - [ - 64810, - 64810 - ], - "mapped", - [ - 1587, - 1585 - ] - ], - [ - [ - 64811, - 64811 - ], - "mapped", - [ - 1589, - 1585 - ] - ], - [ - [ - 64812, - 64812 - ], - "mapped", - [ - 1590, - 1585 - ] - ], - [ - [ - 64813, - 64813 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64814, - 64814 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64815, - 64815 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64816, - 64816 - ], - "mapped", - [ - 1588, - 1605 - ] - ], - [ - [ - 64817, - 64817 - ], - "mapped", - [ - 1587, - 1607 - ] - ], - [ - [ - 64818, - 64818 - ], - "mapped", - [ - 1588, - 1607 - ] - ], - [ - [ - 64819, - 64819 - ], - "mapped", - [ - 1591, - 1605 - ] - ], - [ - [ - 64820, - 64820 - ], - "mapped", - [ - 1587, - 1580 - ] - ], - [ - [ - 64821, - 64821 - ], - "mapped", - [ - 1587, - 1581 - ] - ], - [ - [ - 64822, - 64822 - ], - "mapped", - [ - 1587, - 1582 - ] - ], - [ - [ - 64823, - 64823 - ], - "mapped", - [ - 1588, - 1580 - ] - ], - [ - [ - 64824, - 64824 - ], - "mapped", - [ - 1588, - 1581 - ] - ], - [ - [ - 64825, - 64825 - ], - "mapped", - [ - 1588, - 1582 - ] - ], - [ - [ - 64826, - 64826 - ], - "mapped", - [ - 1591, - 1605 - ] - ], - [ - [ - 64827, - 64827 - ], - "mapped", - [ - 1592, - 1605 - ] - ], - [ - [ - 64828, - 64829 - ], - "mapped", - [ - 1575, - 1611 - ] - ], - [ - [ - 64830, - 64831 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 64832, - 64847 - ], - "disallowed" - ], - [ - [ - 64848, - 64848 - ], - "mapped", - [ - 1578, - 1580, - 1605 - ] - ], - [ - [ - 64849, - 64850 - ], - "mapped", - [ - 1578, - 1581, - 1580 - ] - ], - [ - [ - 64851, - 64851 - ], - "mapped", - [ - 1578, - 1581, - 1605 - ] - ], - [ - [ - 64852, - 64852 - ], - "mapped", - [ - 1578, - 1582, - 1605 - ] - ], - [ - [ - 64853, - 64853 - ], - "mapped", - [ - 1578, - 1605, - 1580 - ] - ], - [ - [ - 64854, - 64854 - ], - "mapped", - [ - 1578, - 1605, - 1581 - ] - ], - [ - [ - 64855, - 64855 - ], - "mapped", - [ - 1578, - 1605, - 1582 - ] - ], - [ - [ - 64856, - 64857 - ], - "mapped", - [ - 1580, - 1605, - 1581 - ] - ], - [ - [ - 64858, - 64858 - ], - "mapped", - [ - 1581, - 1605, - 1610 - ] - ], - [ - [ - 64859, - 64859 - ], - "mapped", - [ - 1581, - 1605, - 1609 - ] - ], - [ - [ - 64860, - 64860 - ], - "mapped", - [ - 1587, - 1581, - 1580 - ] - ], - [ - [ - 64861, - 64861 - ], - "mapped", - [ - 1587, - 1580, - 1581 - ] - ], - [ - [ - 64862, - 64862 - ], - "mapped", - [ - 1587, - 1580, - 1609 - ] - ], - [ - [ - 64863, - 64864 - ], - "mapped", - [ - 1587, - 1605, - 1581 - ] - ], - [ - [ - 64865, - 64865 - ], - "mapped", - [ - 1587, - 1605, - 1580 - ] - ], - [ - [ - 64866, - 64867 - ], - "mapped", - [ - 1587, - 1605, - 1605 - ] - ], - [ - [ - 64868, - 64869 - ], - "mapped", - [ - 1589, - 1581, - 1581 - ] - ], - [ - [ - 64870, - 64870 - ], - "mapped", - [ - 1589, - 1605, - 1605 - ] - ], - [ - [ - 64871, - 64872 - ], - "mapped", - [ - 1588, - 1581, - 1605 - ] - ], - [ - [ - 64873, - 64873 - ], - "mapped", - [ - 1588, - 1580, - 1610 - ] - ], - [ - [ - 64874, - 64875 - ], - "mapped", - [ - 1588, - 1605, - 1582 - ] - ], - [ - [ - 64876, - 64877 - ], - "mapped", - [ - 1588, - 1605, - 1605 - ] - ], - [ - [ - 64878, - 64878 - ], - "mapped", - [ - 1590, - 1581, - 1609 - ] - ], - [ - [ - 64879, - 64880 - ], - "mapped", - [ - 1590, - 1582, - 1605 - ] - ], - [ - [ - 64881, - 64882 - ], - "mapped", - [ - 1591, - 1605, - 1581 - ] - ], - [ - [ - 64883, - 64883 - ], - "mapped", - [ - 1591, - 1605, - 1605 - ] - ], - [ - [ - 64884, - 64884 - ], - "mapped", - [ - 1591, - 1605, - 1610 - ] - ], - [ - [ - 64885, - 64885 - ], - "mapped", - [ - 1593, - 1580, - 1605 - ] - ], - [ - [ - 64886, - 64887 - ], - "mapped", - [ - 1593, - 1605, - 1605 - ] - ], - [ - [ - 64888, - 64888 - ], - "mapped", - [ - 1593, - 1605, - 1609 - ] - ], - [ - [ - 64889, - 64889 - ], - "mapped", - [ - 1594, - 1605, - 1605 - ] - ], - [ - [ - 64890, - 64890 - ], - "mapped", - [ - 1594, - 1605, - 1610 - ] - ], - [ - [ - 64891, - 64891 - ], - "mapped", - [ - 1594, - 1605, - 1609 - ] - ], - [ - [ - 64892, - 64893 - ], - "mapped", - [ - 1601, - 1582, - 1605 - ] - ], - [ - [ - 64894, - 64894 - ], - "mapped", - [ - 1602, - 1605, - 1581 - ] - ], - [ - [ - 64895, - 64895 - ], - "mapped", - [ - 1602, - 1605, - 1605 - ] - ], - [ - [ - 64896, - 64896 - ], - "mapped", - [ - 1604, - 1581, - 1605 - ] - ], - [ - [ - 64897, - 64897 - ], - "mapped", - [ - 1604, - 1581, - 1610 - ] - ], - [ - [ - 64898, - 64898 - ], - "mapped", - [ - 1604, - 1581, - 1609 - ] - ], - [ - [ - 64899, - 64900 - ], - "mapped", - [ - 1604, - 1580, - 1580 - ] - ], - [ - [ - 64901, - 64902 - ], - "mapped", - [ - 1604, - 1582, - 1605 - ] - ], - [ - [ - 64903, - 64904 - ], - "mapped", - [ - 1604, - 1605, - 1581 - ] - ], - [ - [ - 64905, - 64905 - ], - "mapped", - [ - 1605, - 1581, - 1580 - ] - ], - [ - [ - 64906, - 64906 - ], - "mapped", - [ - 1605, - 1581, - 1605 - ] - ], - [ - [ - 64907, - 64907 - ], - "mapped", - [ - 1605, - 1581, - 1610 - ] - ], - [ - [ - 64908, - 64908 - ], - "mapped", - [ - 1605, - 1580, - 1581 - ] - ], - [ - [ - 64909, - 64909 - ], - "mapped", - [ - 1605, - 1580, - 1605 - ] - ], - [ - [ - 64910, - 64910 - ], - "mapped", - [ - 1605, - 1582, - 1580 - ] - ], - [ - [ - 64911, - 64911 - ], - "mapped", - [ - 1605, - 1582, - 1605 - ] - ], - [ - [ - 64912, - 64913 - ], - "disallowed" - ], - [ - [ - 64914, - 64914 - ], - "mapped", - [ - 1605, - 1580, - 1582 - ] - ], - [ - [ - 64915, - 64915 - ], - "mapped", - [ - 1607, - 1605, - 1580 - ] - ], - [ - [ - 64916, - 64916 - ], - "mapped", - [ - 1607, - 1605, - 1605 - ] - ], - [ - [ - 64917, - 64917 - ], - "mapped", - [ - 1606, - 1581, - 1605 - ] - ], - [ - [ - 64918, - 64918 - ], - "mapped", - [ - 1606, - 1581, - 1609 - ] - ], - [ - [ - 64919, - 64920 - ], - "mapped", - [ - 1606, - 1580, - 1605 - ] - ], - [ - [ - 64921, - 64921 - ], - "mapped", - [ - 1606, - 1580, - 1609 - ] - ], - [ - [ - 64922, - 64922 - ], - "mapped", - [ - 1606, - 1605, - 1610 - ] - ], - [ - [ - 64923, - 64923 - ], - "mapped", - [ - 1606, - 1605, - 1609 - ] - ], - [ - [ - 64924, - 64925 - ], - "mapped", - [ - 1610, - 1605, - 1605 - ] - ], - [ - [ - 64926, - 64926 - ], - "mapped", - [ - 1576, - 1582, - 1610 - ] - ], - [ - [ - 64927, - 64927 - ], - "mapped", - [ - 1578, - 1580, - 1610 - ] - ], - [ - [ - 64928, - 64928 - ], - "mapped", - [ - 1578, - 1580, - 1609 - ] - ], - [ - [ - 64929, - 64929 - ], - "mapped", - [ - 1578, - 1582, - 1610 - ] - ], - [ - [ - 64930, - 64930 - ], - "mapped", - [ - 1578, - 1582, - 1609 - ] - ], - [ - [ - 64931, - 64931 - ], - "mapped", - [ - 1578, - 1605, - 1610 - ] - ], - [ - [ - 64932, - 64932 - ], - "mapped", - [ - 1578, - 1605, - 1609 - ] - ], - [ - [ - 64933, - 64933 - ], - "mapped", - [ - 1580, - 1605, - 1610 - ] - ], - [ - [ - 64934, - 64934 - ], - "mapped", - [ - 1580, - 1581, - 1609 - ] - ], - [ - [ - 64935, - 64935 - ], - "mapped", - [ - 1580, - 1605, - 1609 - ] - ], - [ - [ - 64936, - 64936 - ], - "mapped", - [ - 1587, - 1582, - 1609 - ] - ], - [ - [ - 64937, - 64937 - ], - "mapped", - [ - 1589, - 1581, - 1610 - ] - ], - [ - [ - 64938, - 64938 - ], - "mapped", - [ - 1588, - 1581, - 1610 - ] - ], - [ - [ - 64939, - 64939 - ], - "mapped", - [ - 1590, - 1581, - 1610 - ] - ], - [ - [ - 64940, - 64940 - ], - "mapped", - [ - 1604, - 1580, - 1610 - ] - ], - [ - [ - 64941, - 64941 - ], - "mapped", - [ - 1604, - 1605, - 1610 - ] - ], - [ - [ - 64942, - 64942 - ], - "mapped", - [ - 1610, - 1581, - 1610 - ] - ], - [ - [ - 64943, - 64943 - ], - "mapped", - [ - 1610, - 1580, - 1610 - ] - ], - [ - [ - 64944, - 64944 - ], - "mapped", - [ - 1610, - 1605, - 1610 - ] - ], - [ - [ - 64945, - 64945 - ], - "mapped", - [ - 1605, - 1605, - 1610 - ] - ], - [ - [ - 64946, - 64946 - ], - "mapped", - [ - 1602, - 1605, - 1610 - ] - ], - [ - [ - 64947, - 64947 - ], - "mapped", - [ - 1606, - 1581, - 1610 - ] - ], - [ - [ - 64948, - 64948 - ], - "mapped", - [ - 1602, - 1605, - 1581 - ] - ], - [ - [ - 64949, - 64949 - ], - "mapped", - [ - 1604, - 1581, - 1605 - ] - ], - [ - [ - 64950, - 64950 - ], - "mapped", - [ - 1593, - 1605, - 1610 - ] - ], - [ - [ - 64951, - 64951 - ], - "mapped", - [ - 1603, - 1605, - 1610 - ] - ], - [ - [ - 64952, - 64952 - ], - "mapped", - [ - 1606, - 1580, - 1581 - ] - ], - [ - [ - 64953, - 64953 - ], - "mapped", - [ - 1605, - 1582, - 1610 - ] - ], - [ - [ - 64954, - 64954 - ], - "mapped", - [ - 1604, - 1580, - 1605 - ] - ], - [ - [ - 64955, - 64955 - ], - "mapped", - [ - 1603, - 1605, - 1605 - ] - ], - [ - [ - 64956, - 64956 - ], - "mapped", - [ - 1604, - 1580, - 1605 - ] - ], - [ - [ - 64957, - 64957 - ], - "mapped", - [ - 1606, - 1580, - 1581 - ] - ], - [ - [ - 64958, - 64958 - ], - "mapped", - [ - 1580, - 1581, - 1610 - ] - ], - [ - [ - 64959, - 64959 - ], - "mapped", - [ - 1581, - 1580, - 1610 - ] - ], - [ - [ - 64960, - 64960 - ], - "mapped", - [ - 1605, - 1580, - 1610 - ] - ], - [ - [ - 64961, - 64961 - ], - "mapped", - [ - 1601, - 1605, - 1610 - ] - ], - [ - [ - 64962, - 64962 - ], - "mapped", - [ - 1576, - 1581, - 1610 - ] - ], - [ - [ - 64963, - 64963 - ], - "mapped", - [ - 1603, - 1605, - 1605 - ] - ], - [ - [ - 64964, - 64964 - ], - "mapped", - [ - 1593, - 1580, - 1605 - ] - ], - [ - [ - 64965, - 64965 - ], - "mapped", - [ - 1589, - 1605, - 1605 - ] - ], - [ - [ - 64966, - 64966 - ], - "mapped", - [ - 1587, - 1582, - 1610 - ] - ], - [ - [ - 64967, - 64967 - ], - "mapped", - [ - 1606, - 1580, - 1610 - ] - ], - [ - [ - 64968, - 64975 - ], - "disallowed" - ], - [ - [ - 64976, - 65007 - ], - "disallowed" - ], - [ - [ - 65008, - 65008 - ], - "mapped", - [ - 1589, - 1604, - 1746 - ] - ], - [ - [ - 65009, - 65009 - ], - "mapped", - [ - 1602, - 1604, - 1746 - ] - ], - [ - [ - 65010, - 65010 - ], - "mapped", - [ - 1575, - 1604, - 1604, - 1607 - ] - ], - [ - [ - 65011, - 65011 - ], - "mapped", - [ - 1575, - 1603, - 1576, - 1585 - ] - ], - [ - [ - 65012, - 65012 - ], - "mapped", - [ - 1605, - 1581, - 1605, - 1583 - ] - ], - [ - [ - 65013, - 65013 - ], - "mapped", - [ - 1589, - 1604, - 1593, - 1605 - ] - ], - [ - [ - 65014, - 65014 - ], - "mapped", - [ - 1585, - 1587, - 1608, - 1604 - ] - ], - [ - [ - 65015, - 65015 - ], - "mapped", - [ - 1593, - 1604, - 1610, - 1607 - ] - ], - [ - [ - 65016, - 65016 - ], - "mapped", - [ - 1608, - 1587, - 1604, - 1605 - ] - ], - [ - [ - 65017, - 65017 - ], - "mapped", - [ - 1589, - 1604, - 1609 - ] - ], - [ - [ - 65018, - 65018 - ], - "disallowed_STD3_mapped", - [ - 1589, - 1604, - 1609, - 32, - 1575, - 1604, - 1604, - 1607, - 32, - 1593, - 1604, - 1610, - 1607, - 32, - 1608, - 1587, - 1604, - 1605 - ] - ], - [ - [ - 65019, - 65019 - ], - "disallowed_STD3_mapped", - [ - 1580, - 1604, - 32, - 1580, - 1604, - 1575, - 1604, - 1607 - ] - ], - [ - [ - 65020, - 65020 - ], - "mapped", - [ - 1585, - 1740, - 1575, - 1604 - ] - ], - [ - [ - 65021, - 65021 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65022, - 65023 - ], - "disallowed" - ], - [ - [ - 65024, - 65039 - ], - "ignored" - ], - [ - [ - 65040, - 65040 - ], - "disallowed_STD3_mapped", - [ - 44 - ] - ], - [ - [ - 65041, - 65041 - ], - "mapped", - [ - 12289 - ] - ], - [ - [ - 65042, - 65042 - ], - "disallowed" - ], - [ - [ - 65043, - 65043 - ], - "disallowed_STD3_mapped", - [ - 58 - ] - ], - [ - [ - 65044, - 65044 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 65045, - 65045 - ], - "disallowed_STD3_mapped", - [ - 33 - ] - ], - [ - [ - 65046, - 65046 - ], - "disallowed_STD3_mapped", - [ - 63 - ] - ], - [ - [ - 65047, - 65047 - ], - "mapped", - [ - 12310 - ] - ], - [ - [ - 65048, - 65048 - ], - "mapped", - [ - 12311 - ] - ], - [ - [ - 65049, - 65049 - ], - "disallowed" - ], - [ - [ - 65050, - 65055 - ], - "disallowed" - ], - [ - [ - 65056, - 65059 - ], - "valid" - ], - [ - [ - 65060, - 65062 - ], - "valid" - ], - [ - [ - 65063, - 65069 - ], - "valid" - ], - [ - [ - 65070, - 65071 - ], - "valid" - ], - [ - [ - 65072, - 65072 - ], - "disallowed" - ], - [ - [ - 65073, - 65073 - ], - "mapped", - [ - 8212 - ] - ], - [ - [ - 65074, - 65074 - ], - "mapped", - [ - 8211 - ] - ], - [ - [ - 65075, - 65076 - ], - "disallowed_STD3_mapped", - [ - 95 - ] - ], - [ - [ - 65077, - 65077 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 65078, - 65078 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 65079, - 65079 - ], - "disallowed_STD3_mapped", - [ - 123 - ] - ], - [ - [ - 65080, - 65080 - ], - "disallowed_STD3_mapped", - [ - 125 - ] - ], - [ - [ - 65081, - 65081 - ], - "mapped", - [ - 12308 - ] - ], - [ - [ - 65082, - 65082 - ], - "mapped", - [ - 12309 - ] - ], - [ - [ - 65083, - 65083 - ], - "mapped", - [ - 12304 - ] - ], - [ - [ - 65084, - 65084 - ], - "mapped", - [ - 12305 - ] - ], - [ - [ - 65085, - 65085 - ], - "mapped", - [ - 12298 - ] - ], - [ - [ - 65086, - 65086 - ], - "mapped", - [ - 12299 - ] - ], - [ - [ - 65087, - 65087 - ], - "mapped", - [ - 12296 - ] - ], - [ - [ - 65088, - 65088 - ], - "mapped", - [ - 12297 - ] - ], - [ - [ - 65089, - 65089 - ], - "mapped", - [ - 12300 - ] - ], - [ - [ - 65090, - 65090 - ], - "mapped", - [ - 12301 - ] - ], - [ - [ - 65091, - 65091 - ], - "mapped", - [ - 12302 - ] - ], - [ - [ - 65092, - 65092 - ], - "mapped", - [ - 12303 - ] - ], - [ - [ - 65093, - 65094 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65095, - 65095 - ], - "disallowed_STD3_mapped", - [ - 91 - ] - ], - [ - [ - 65096, - 65096 - ], - "disallowed_STD3_mapped", - [ - 93 - ] - ], - [ - [ - 65097, - 65100 - ], - "disallowed_STD3_mapped", - [ - 32, - 773 - ] - ], - [ - [ - 65101, - 65103 - ], - "disallowed_STD3_mapped", - [ - 95 - ] - ], - [ - [ - 65104, - 65104 - ], - "disallowed_STD3_mapped", - [ - 44 - ] - ], - [ - [ - 65105, - 65105 - ], - "mapped", - [ - 12289 - ] - ], - [ - [ - 65106, - 65106 - ], - "disallowed" - ], - [ - [ - 65107, - 65107 - ], - "disallowed" - ], - [ - [ - 65108, - 65108 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 65109, - 65109 - ], - "disallowed_STD3_mapped", - [ - 58 - ] - ], - [ - [ - 65110, - 65110 - ], - "disallowed_STD3_mapped", - [ - 63 - ] - ], - [ - [ - 65111, - 65111 - ], - "disallowed_STD3_mapped", - [ - 33 - ] - ], - [ - [ - 65112, - 65112 - ], - "mapped", - [ - 8212 - ] - ], - [ - [ - 65113, - 65113 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 65114, - 65114 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 65115, - 65115 - ], - "disallowed_STD3_mapped", - [ - 123 - ] - ], - [ - [ - 65116, - 65116 - ], - "disallowed_STD3_mapped", - [ - 125 - ] - ], - [ - [ - 65117, - 65117 - ], - "mapped", - [ - 12308 - ] - ], - [ - [ - 65118, - 65118 - ], - "mapped", - [ - 12309 - ] - ], - [ - [ - 65119, - 65119 - ], - "disallowed_STD3_mapped", - [ - 35 - ] - ], - [ - [ - 65120, - 65120 - ], - "disallowed_STD3_mapped", - [ - 38 - ] - ], - [ - [ - 65121, - 65121 - ], - "disallowed_STD3_mapped", - [ - 42 - ] - ], - [ - [ - 65122, - 65122 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 65123, - 65123 - ], - "mapped", - [ - 45 - ] - ], - [ - [ - 65124, - 65124 - ], - "disallowed_STD3_mapped", - [ - 60 - ] - ], - [ - [ - 65125, - 65125 - ], - "disallowed_STD3_mapped", - [ - 62 - ] - ], - [ - [ - 65126, - 65126 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 65127, - 65127 - ], - "disallowed" - ], - [ - [ - 65128, - 65128 - ], - "disallowed_STD3_mapped", - [ - 92 - ] - ], - [ - [ - 65129, - 65129 - ], - "disallowed_STD3_mapped", - [ - 36 - ] - ], - [ - [ - 65130, - 65130 - ], - "disallowed_STD3_mapped", - [ - 37 - ] - ], - [ - [ - 65131, - 65131 - ], - "disallowed_STD3_mapped", - [ - 64 - ] - ], - [ - [ - 65132, - 65135 - ], - "disallowed" - ], - [ - [ - 65136, - 65136 - ], - "disallowed_STD3_mapped", - [ - 32, - 1611 - ] - ], - [ - [ - 65137, - 65137 - ], - "mapped", - [ - 1600, - 1611 - ] - ], - [ - [ - 65138, - 65138 - ], - "disallowed_STD3_mapped", - [ - 32, - 1612 - ] - ], - [ - [ - 65139, - 65139 - ], - "valid" - ], - [ - [ - 65140, - 65140 - ], - "disallowed_STD3_mapped", - [ - 32, - 1613 - ] - ], - [ - [ - 65141, - 65141 - ], - "disallowed" - ], - [ - [ - 65142, - 65142 - ], - "disallowed_STD3_mapped", - [ - 32, - 1614 - ] - ], - [ - [ - 65143, - 65143 - ], - "mapped", - [ - 1600, - 1614 - ] - ], - [ - [ - 65144, - 65144 - ], - "disallowed_STD3_mapped", - [ - 32, - 1615 - ] - ], - [ - [ - 65145, - 65145 - ], - "mapped", - [ - 1600, - 1615 - ] - ], - [ - [ - 65146, - 65146 - ], - "disallowed_STD3_mapped", - [ - 32, - 1616 - ] - ], - [ - [ - 65147, - 65147 - ], - "mapped", - [ - 1600, - 1616 - ] - ], - [ - [ - 65148, - 65148 - ], - "disallowed_STD3_mapped", - [ - 32, - 1617 - ] - ], - [ - [ - 65149, - 65149 - ], - "mapped", - [ - 1600, - 1617 - ] - ], - [ - [ - 65150, - 65150 - ], - "disallowed_STD3_mapped", - [ - 32, - 1618 - ] - ], - [ - [ - 65151, - 65151 - ], - "mapped", - [ - 1600, - 1618 - ] - ], - [ - [ - 65152, - 65152 - ], - "mapped", - [ - 1569 - ] - ], - [ - [ - 65153, - 65154 - ], - "mapped", - [ - 1570 - ] - ], - [ - [ - 65155, - 65156 - ], - "mapped", - [ - 1571 - ] - ], - [ - [ - 65157, - 65158 - ], - "mapped", - [ - 1572 - ] - ], - [ - [ - 65159, - 65160 - ], - "mapped", - [ - 1573 - ] - ], - [ - [ - 65161, - 65164 - ], - "mapped", - [ - 1574 - ] - ], - [ - [ - 65165, - 65166 - ], - "mapped", - [ - 1575 - ] - ], - [ - [ - 65167, - 65170 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 65171, - 65172 - ], - "mapped", - [ - 1577 - ] - ], - [ - [ - 65173, - 65176 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 65177, - 65180 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 65181, - 65184 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 65185, - 65188 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 65189, - 65192 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 65193, - 65194 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 65195, - 65196 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 65197, - 65198 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 65199, - 65200 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 65201, - 65204 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 65205, - 65208 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 65209, - 65212 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 65213, - 65216 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 65217, - 65220 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 65221, - 65224 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 65225, - 65228 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 65229, - 65232 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 65233, - 65236 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 65237, - 65240 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 65241, - 65244 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 65245, - 65248 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 65249, - 65252 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 65253, - 65256 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 65257, - 65260 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 65261, - 65262 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 65263, - 65264 - ], - "mapped", - [ - 1609 - ] - ], - [ - [ - 65265, - 65268 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 65269, - 65270 - ], - "mapped", - [ - 1604, - 1570 - ] - ], - [ - [ - 65271, - 65272 - ], - "mapped", - [ - 1604, - 1571 - ] - ], - [ - [ - 65273, - 65274 - ], - "mapped", - [ - 1604, - 1573 - ] - ], - [ - [ - 65275, - 65276 - ], - "mapped", - [ - 1604, - 1575 - ] - ], - [ - [ - 65277, - 65278 - ], - "disallowed" - ], - [ - [ - 65279, - 65279 - ], - "ignored" - ], - [ - [ - 65280, - 65280 - ], - "disallowed" - ], - [ - [ - 65281, - 65281 - ], - "disallowed_STD3_mapped", - [ - 33 - ] - ], - [ - [ - 65282, - 65282 - ], - "disallowed_STD3_mapped", - [ - 34 - ] - ], - [ - [ - 65283, - 65283 - ], - "disallowed_STD3_mapped", - [ - 35 - ] - ], - [ - [ - 65284, - 65284 - ], - "disallowed_STD3_mapped", - [ - 36 - ] - ], - [ - [ - 65285, - 65285 - ], - "disallowed_STD3_mapped", - [ - 37 - ] - ], - [ - [ - 65286, - 65286 - ], - "disallowed_STD3_mapped", - [ - 38 - ] - ], - [ - [ - 65287, - 65287 - ], - "disallowed_STD3_mapped", - [ - 39 - ] - ], - [ - [ - 65288, - 65288 - ], - "disallowed_STD3_mapped", - [ - 40 - ] - ], - [ - [ - 65289, - 65289 - ], - "disallowed_STD3_mapped", - [ - 41 - ] - ], - [ - [ - 65290, - 65290 - ], - "disallowed_STD3_mapped", - [ - 42 - ] - ], - [ - [ - 65291, - 65291 - ], - "disallowed_STD3_mapped", - [ - 43 - ] - ], - [ - [ - 65292, - 65292 - ], - "disallowed_STD3_mapped", - [ - 44 - ] - ], - [ - [ - 65293, - 65293 - ], - "mapped", - [ - 45 - ] - ], - [ - [ - 65294, - 65294 - ], - "mapped", - [ - 46 - ] - ], - [ - [ - 65295, - 65295 - ], - "disallowed_STD3_mapped", - [ - 47 - ] - ], - [ - [ - 65296, - 65296 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 65297, - 65297 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 65298, - 65298 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 65299, - 65299 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 65300, - 65300 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 65301, - 65301 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 65302, - 65302 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 65303, - 65303 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 65304, - 65304 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 65305, - 65305 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 65306, - 65306 - ], - "disallowed_STD3_mapped", - [ - 58 - ] - ], - [ - [ - 65307, - 65307 - ], - "disallowed_STD3_mapped", - [ - 59 - ] - ], - [ - [ - 65308, - 65308 - ], - "disallowed_STD3_mapped", - [ - 60 - ] - ], - [ - [ - 65309, - 65309 - ], - "disallowed_STD3_mapped", - [ - 61 - ] - ], - [ - [ - 65310, - 65310 - ], - "disallowed_STD3_mapped", - [ - 62 - ] - ], - [ - [ - 65311, - 65311 - ], - "disallowed_STD3_mapped", - [ - 63 - ] - ], - [ - [ - 65312, - 65312 - ], - "disallowed_STD3_mapped", - [ - 64 - ] - ], - [ - [ - 65313, - 65313 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 65314, - 65314 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 65315, - 65315 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 65316, - 65316 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 65317, - 65317 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 65318, - 65318 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 65319, - 65319 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 65320, - 65320 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 65321, - 65321 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 65322, - 65322 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 65323, - 65323 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 65324, - 65324 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 65325, - 65325 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 65326, - 65326 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 65327, - 65327 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 65328, - 65328 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 65329, - 65329 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 65330, - 65330 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 65331, - 65331 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 65332, - 65332 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 65333, - 65333 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 65334, - 65334 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 65335, - 65335 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 65336, - 65336 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 65337, - 65337 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 65338, - 65338 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 65339, - 65339 - ], - "disallowed_STD3_mapped", - [ - 91 - ] - ], - [ - [ - 65340, - 65340 - ], - "disallowed_STD3_mapped", - [ - 92 - ] - ], - [ - [ - 65341, - 65341 - ], - "disallowed_STD3_mapped", - [ - 93 - ] - ], - [ - [ - 65342, - 65342 - ], - "disallowed_STD3_mapped", - [ - 94 - ] - ], - [ - [ - 65343, - 65343 - ], - "disallowed_STD3_mapped", - [ - 95 - ] - ], - [ - [ - 65344, - 65344 - ], - "disallowed_STD3_mapped", - [ - 96 - ] - ], - [ - [ - 65345, - 65345 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 65346, - 65346 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 65347, - 65347 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 65348, - 65348 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 65349, - 65349 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 65350, - 65350 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 65351, - 65351 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 65352, - 65352 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 65353, - 65353 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 65354, - 65354 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 65355, - 65355 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 65356, - 65356 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 65357, - 65357 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 65358, - 65358 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 65359, - 65359 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 65360, - 65360 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 65361, - 65361 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 65362, - 65362 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 65363, - 65363 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 65364, - 65364 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 65365, - 65365 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 65366, - 65366 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 65367, - 65367 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 65368, - 65368 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 65369, - 65369 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 65370, - 65370 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 65371, - 65371 - ], - "disallowed_STD3_mapped", - [ - 123 - ] - ], - [ - [ - 65372, - 65372 - ], - "disallowed_STD3_mapped", - [ - 124 - ] - ], - [ - [ - 65373, - 65373 - ], - "disallowed_STD3_mapped", - [ - 125 - ] - ], - [ - [ - 65374, - 65374 - ], - "disallowed_STD3_mapped", - [ - 126 - ] - ], - [ - [ - 65375, - 65375 - ], - "mapped", - [ - 10629 - ] - ], - [ - [ - 65376, - 65376 - ], - "mapped", - [ - 10630 - ] - ], - [ - [ - 65377, - 65377 - ], - "mapped", - [ - 46 - ] - ], - [ - [ - 65378, - 65378 - ], - "mapped", - [ - 12300 - ] - ], - [ - [ - 65379, - 65379 - ], - "mapped", - [ - 12301 - ] - ], - [ - [ - 65380, - 65380 - ], - "mapped", - [ - 12289 - ] - ], - [ - [ - 65381, - 65381 - ], - "mapped", - [ - 12539 - ] - ], - [ - [ - 65382, - 65382 - ], - "mapped", - [ - 12530 - ] - ], - [ - [ - 65383, - 65383 - ], - "mapped", - [ - 12449 - ] - ], - [ - [ - 65384, - 65384 - ], - "mapped", - [ - 12451 - ] - ], - [ - [ - 65385, - 65385 - ], - "mapped", - [ - 12453 - ] - ], - [ - [ - 65386, - 65386 - ], - "mapped", - [ - 12455 - ] - ], - [ - [ - 65387, - 65387 - ], - "mapped", - [ - 12457 - ] - ], - [ - [ - 65388, - 65388 - ], - "mapped", - [ - 12515 - ] - ], - [ - [ - 65389, - 65389 - ], - "mapped", - [ - 12517 - ] - ], - [ - [ - 65390, - 65390 - ], - "mapped", - [ - 12519 - ] - ], - [ - [ - 65391, - 65391 - ], - "mapped", - [ - 12483 - ] - ], - [ - [ - 65392, - 65392 - ], - "mapped", - [ - 12540 - ] - ], - [ - [ - 65393, - 65393 - ], - "mapped", - [ - 12450 - ] - ], - [ - [ - 65394, - 65394 - ], - "mapped", - [ - 12452 - ] - ], - [ - [ - 65395, - 65395 - ], - "mapped", - [ - 12454 - ] - ], - [ - [ - 65396, - 65396 - ], - "mapped", - [ - 12456 - ] - ], - [ - [ - 65397, - 65397 - ], - "mapped", - [ - 12458 - ] - ], - [ - [ - 65398, - 65398 - ], - "mapped", - [ - 12459 - ] - ], - [ - [ - 65399, - 65399 - ], - "mapped", - [ - 12461 - ] - ], - [ - [ - 65400, - 65400 - ], - "mapped", - [ - 12463 - ] - ], - [ - [ - 65401, - 65401 - ], - "mapped", - [ - 12465 - ] - ], - [ - [ - 65402, - 65402 - ], - "mapped", - [ - 12467 - ] - ], - [ - [ - 65403, - 65403 - ], - "mapped", - [ - 12469 - ] - ], - [ - [ - 65404, - 65404 - ], - "mapped", - [ - 12471 - ] - ], - [ - [ - 65405, - 65405 - ], - "mapped", - [ - 12473 - ] - ], - [ - [ - 65406, - 65406 - ], - "mapped", - [ - 12475 - ] - ], - [ - [ - 65407, - 65407 - ], - "mapped", - [ - 12477 - ] - ], - [ - [ - 65408, - 65408 - ], - "mapped", - [ - 12479 - ] - ], - [ - [ - 65409, - 65409 - ], - "mapped", - [ - 12481 - ] - ], - [ - [ - 65410, - 65410 - ], - "mapped", - [ - 12484 - ] - ], - [ - [ - 65411, - 65411 - ], - "mapped", - [ - 12486 - ] - ], - [ - [ - 65412, - 65412 - ], - "mapped", - [ - 12488 - ] - ], - [ - [ - 65413, - 65413 - ], - "mapped", - [ - 12490 - ] - ], - [ - [ - 65414, - 65414 - ], - "mapped", - [ - 12491 - ] - ], - [ - [ - 65415, - 65415 - ], - "mapped", - [ - 12492 - ] - ], - [ - [ - 65416, - 65416 - ], - "mapped", - [ - 12493 - ] - ], - [ - [ - 65417, - 65417 - ], - "mapped", - [ - 12494 - ] - ], - [ - [ - 65418, - 65418 - ], - "mapped", - [ - 12495 - ] - ], - [ - [ - 65419, - 65419 - ], - "mapped", - [ - 12498 - ] - ], - [ - [ - 65420, - 65420 - ], - "mapped", - [ - 12501 - ] - ], - [ - [ - 65421, - 65421 - ], - "mapped", - [ - 12504 - ] - ], - [ - [ - 65422, - 65422 - ], - "mapped", - [ - 12507 - ] - ], - [ - [ - 65423, - 65423 - ], - "mapped", - [ - 12510 - ] - ], - [ - [ - 65424, - 65424 - ], - "mapped", - [ - 12511 - ] - ], - [ - [ - 65425, - 65425 - ], - "mapped", - [ - 12512 - ] - ], - [ - [ - 65426, - 65426 - ], - "mapped", - [ - 12513 - ] - ], - [ - [ - 65427, - 65427 - ], - "mapped", - [ - 12514 - ] - ], - [ - [ - 65428, - 65428 - ], - "mapped", - [ - 12516 - ] - ], - [ - [ - 65429, - 65429 - ], - "mapped", - [ - 12518 - ] - ], - [ - [ - 65430, - 65430 - ], - "mapped", - [ - 12520 - ] - ], - [ - [ - 65431, - 65431 - ], - "mapped", - [ - 12521 - ] - ], - [ - [ - 65432, - 65432 - ], - "mapped", - [ - 12522 - ] - ], - [ - [ - 65433, - 65433 - ], - "mapped", - [ - 12523 - ] - ], - [ - [ - 65434, - 65434 - ], - "mapped", - [ - 12524 - ] - ], - [ - [ - 65435, - 65435 - ], - "mapped", - [ - 12525 - ] - ], - [ - [ - 65436, - 65436 - ], - "mapped", - [ - 12527 - ] - ], - [ - [ - 65437, - 65437 - ], - "mapped", - [ - 12531 - ] - ], - [ - [ - 65438, - 65438 - ], - "mapped", - [ - 12441 - ] - ], - [ - [ - 65439, - 65439 - ], - "mapped", - [ - 12442 - ] - ], - [ - [ - 65440, - 65440 - ], - "disallowed" - ], - [ - [ - 65441, - 65441 - ], - "mapped", - [ - 4352 - ] - ], - [ - [ - 65442, - 65442 - ], - "mapped", - [ - 4353 - ] - ], - [ - [ - 65443, - 65443 - ], - "mapped", - [ - 4522 - ] - ], - [ - [ - 65444, - 65444 - ], - "mapped", - [ - 4354 - ] - ], - [ - [ - 65445, - 65445 - ], - "mapped", - [ - 4524 - ] - ], - [ - [ - 65446, - 65446 - ], - "mapped", - [ - 4525 - ] - ], - [ - [ - 65447, - 65447 - ], - "mapped", - [ - 4355 - ] - ], - [ - [ - 65448, - 65448 - ], - "mapped", - [ - 4356 - ] - ], - [ - [ - 65449, - 65449 - ], - "mapped", - [ - 4357 - ] - ], - [ - [ - 65450, - 65450 - ], - "mapped", - [ - 4528 - ] - ], - [ - [ - 65451, - 65451 - ], - "mapped", - [ - 4529 - ] - ], - [ - [ - 65452, - 65452 - ], - "mapped", - [ - 4530 - ] - ], - [ - [ - 65453, - 65453 - ], - "mapped", - [ - 4531 - ] - ], - [ - [ - 65454, - 65454 - ], - "mapped", - [ - 4532 - ] - ], - [ - [ - 65455, - 65455 - ], - "mapped", - [ - 4533 - ] - ], - [ - [ - 65456, - 65456 - ], - "mapped", - [ - 4378 - ] - ], - [ - [ - 65457, - 65457 - ], - "mapped", - [ - 4358 - ] - ], - [ - [ - 65458, - 65458 - ], - "mapped", - [ - 4359 - ] - ], - [ - [ - 65459, - 65459 - ], - "mapped", - [ - 4360 - ] - ], - [ - [ - 65460, - 65460 - ], - "mapped", - [ - 4385 - ] - ], - [ - [ - 65461, - 65461 - ], - "mapped", - [ - 4361 - ] - ], - [ - [ - 65462, - 65462 - ], - "mapped", - [ - 4362 - ] - ], - [ - [ - 65463, - 65463 - ], - "mapped", - [ - 4363 - ] - ], - [ - [ - 65464, - 65464 - ], - "mapped", - [ - 4364 - ] - ], - [ - [ - 65465, - 65465 - ], - "mapped", - [ - 4365 - ] - ], - [ - [ - 65466, - 65466 - ], - "mapped", - [ - 4366 - ] - ], - [ - [ - 65467, - 65467 - ], - "mapped", - [ - 4367 - ] - ], - [ - [ - 65468, - 65468 - ], - "mapped", - [ - 4368 - ] - ], - [ - [ - 65469, - 65469 - ], - "mapped", - [ - 4369 - ] - ], - [ - [ - 65470, - 65470 - ], - "mapped", - [ - 4370 - ] - ], - [ - [ - 65471, - 65473 - ], - "disallowed" - ], - [ - [ - 65474, - 65474 - ], - "mapped", - [ - 4449 - ] - ], - [ - [ - 65475, - 65475 - ], - "mapped", - [ - 4450 - ] - ], - [ - [ - 65476, - 65476 - ], - "mapped", - [ - 4451 - ] - ], - [ - [ - 65477, - 65477 - ], - "mapped", - [ - 4452 - ] - ], - [ - [ - 65478, - 65478 - ], - "mapped", - [ - 4453 - ] - ], - [ - [ - 65479, - 65479 - ], - "mapped", - [ - 4454 - ] - ], - [ - [ - 65480, - 65481 - ], - "disallowed" - ], - [ - [ - 65482, - 65482 - ], - "mapped", - [ - 4455 - ] - ], - [ - [ - 65483, - 65483 - ], - "mapped", - [ - 4456 - ] - ], - [ - [ - 65484, - 65484 - ], - "mapped", - [ - 4457 - ] - ], - [ - [ - 65485, - 65485 - ], - "mapped", - [ - 4458 - ] - ], - [ - [ - 65486, - 65486 - ], - "mapped", - [ - 4459 - ] - ], - [ - [ - 65487, - 65487 - ], - "mapped", - [ - 4460 - ] - ], - [ - [ - 65488, - 65489 - ], - "disallowed" - ], - [ - [ - 65490, - 65490 - ], - "mapped", - [ - 4461 - ] - ], - [ - [ - 65491, - 65491 - ], - "mapped", - [ - 4462 - ] - ], - [ - [ - 65492, - 65492 - ], - "mapped", - [ - 4463 - ] - ], - [ - [ - 65493, - 65493 - ], - "mapped", - [ - 4464 - ] - ], - [ - [ - 65494, - 65494 - ], - "mapped", - [ - 4465 - ] - ], - [ - [ - 65495, - 65495 - ], - "mapped", - [ - 4466 - ] - ], - [ - [ - 65496, - 65497 - ], - "disallowed" - ], - [ - [ - 65498, - 65498 - ], - "mapped", - [ - 4467 - ] - ], - [ - [ - 65499, - 65499 - ], - "mapped", - [ - 4468 - ] - ], - [ - [ - 65500, - 65500 - ], - "mapped", - [ - 4469 - ] - ], - [ - [ - 65501, - 65503 - ], - "disallowed" - ], - [ - [ - 65504, - 65504 - ], - "mapped", - [ - 162 - ] - ], - [ - [ - 65505, - 65505 - ], - "mapped", - [ - 163 - ] - ], - [ - [ - 65506, - 65506 - ], - "mapped", - [ - 172 - ] - ], - [ - [ - 65507, - 65507 - ], - "disallowed_STD3_mapped", - [ - 32, - 772 - ] - ], - [ - [ - 65508, - 65508 - ], - "mapped", - [ - 166 - ] - ], - [ - [ - 65509, - 65509 - ], - "mapped", - [ - 165 - ] - ], - [ - [ - 65510, - 65510 - ], - "mapped", - [ - 8361 - ] - ], - [ - [ - 65511, - 65511 - ], - "disallowed" - ], - [ - [ - 65512, - 65512 - ], - "mapped", - [ - 9474 - ] - ], - [ - [ - 65513, - 65513 - ], - "mapped", - [ - 8592 - ] - ], - [ - [ - 65514, - 65514 - ], - "mapped", - [ - 8593 - ] - ], - [ - [ - 65515, - 65515 - ], - "mapped", - [ - 8594 - ] - ], - [ - [ - 65516, - 65516 - ], - "mapped", - [ - 8595 - ] - ], - [ - [ - 65517, - 65517 - ], - "mapped", - [ - 9632 - ] - ], - [ - [ - 65518, - 65518 - ], - "mapped", - [ - 9675 - ] - ], - [ - [ - 65519, - 65528 - ], - "disallowed" - ], - [ - [ - 65529, - 65531 - ], - "disallowed" - ], - [ - [ - 65532, - 65532 - ], - "disallowed" - ], - [ - [ - 65533, - 65533 - ], - "disallowed" - ], - [ - [ - 65534, - 65535 - ], - "disallowed" - ], - [ - [ - 65536, - 65547 - ], - "valid" - ], - [ - [ - 65548, - 65548 - ], - "disallowed" - ], - [ - [ - 65549, - 65574 - ], - "valid" - ], - [ - [ - 65575, - 65575 - ], - "disallowed" - ], - [ - [ - 65576, - 65594 - ], - "valid" - ], - [ - [ - 65595, - 65595 - ], - "disallowed" - ], - [ - [ - 65596, - 65597 - ], - "valid" - ], - [ - [ - 65598, - 65598 - ], - "disallowed" - ], - [ - [ - 65599, - 65613 - ], - "valid" - ], - [ - [ - 65614, - 65615 - ], - "disallowed" - ], - [ - [ - 65616, - 65629 - ], - "valid" - ], - [ - [ - 65630, - 65663 - ], - "disallowed" - ], - [ - [ - 65664, - 65786 - ], - "valid" - ], - [ - [ - 65787, - 65791 - ], - "disallowed" - ], - [ - [ - 65792, - 65794 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65795, - 65798 - ], - "disallowed" - ], - [ - [ - 65799, - 65843 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65844, - 65846 - ], - "disallowed" - ], - [ - [ - 65847, - 65855 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65856, - 65930 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65931, - 65932 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65933, - 65935 - ], - "disallowed" - ], - [ - [ - 65936, - 65947 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65948, - 65951 - ], - "disallowed" - ], - [ - [ - 65952, - 65952 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 65953, - 65999 - ], - "disallowed" - ], - [ - [ - 66000, - 66044 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66045, - 66045 - ], - "valid" - ], - [ - [ - 66046, - 66175 - ], - "disallowed" - ], - [ - [ - 66176, - 66204 - ], - "valid" - ], - [ - [ - 66205, - 66207 - ], - "disallowed" - ], - [ - [ - 66208, - 66256 - ], - "valid" - ], - [ - [ - 66257, - 66271 - ], - "disallowed" - ], - [ - [ - 66272, - 66272 - ], - "valid" - ], - [ - [ - 66273, - 66299 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66300, - 66303 - ], - "disallowed" - ], - [ - [ - 66304, - 66334 - ], - "valid" - ], - [ - [ - 66335, - 66335 - ], - "valid" - ], - [ - [ - 66336, - 66339 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66340, - 66351 - ], - "disallowed" - ], - [ - [ - 66352, - 66368 - ], - "valid" - ], - [ - [ - 66369, - 66369 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66370, - 66377 - ], - "valid" - ], - [ - [ - 66378, - 66378 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66379, - 66383 - ], - "disallowed" - ], - [ - [ - 66384, - 66426 - ], - "valid" - ], - [ - [ - 66427, - 66431 - ], - "disallowed" - ], - [ - [ - 66432, - 66461 - ], - "valid" - ], - [ - [ - 66462, - 66462 - ], - "disallowed" - ], - [ - [ - 66463, - 66463 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66464, - 66499 - ], - "valid" - ], - [ - [ - 66500, - 66503 - ], - "disallowed" - ], - [ - [ - 66504, - 66511 - ], - "valid" - ], - [ - [ - 66512, - 66517 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66518, - 66559 - ], - "disallowed" - ], - [ - [ - 66560, - 66560 - ], - "mapped", - [ - 66600 - ] - ], - [ - [ - 66561, - 66561 - ], - "mapped", - [ - 66601 - ] - ], - [ - [ - 66562, - 66562 - ], - "mapped", - [ - 66602 - ] - ], - [ - [ - 66563, - 66563 - ], - "mapped", - [ - 66603 - ] - ], - [ - [ - 66564, - 66564 - ], - "mapped", - [ - 66604 - ] - ], - [ - [ - 66565, - 66565 - ], - "mapped", - [ - 66605 - ] - ], - [ - [ - 66566, - 66566 - ], - "mapped", - [ - 66606 - ] - ], - [ - [ - 66567, - 66567 - ], - "mapped", - [ - 66607 - ] - ], - [ - [ - 66568, - 66568 - ], - "mapped", - [ - 66608 - ] - ], - [ - [ - 66569, - 66569 - ], - "mapped", - [ - 66609 - ] - ], - [ - [ - 66570, - 66570 - ], - "mapped", - [ - 66610 - ] - ], - [ - [ - 66571, - 66571 - ], - "mapped", - [ - 66611 - ] - ], - [ - [ - 66572, - 66572 - ], - "mapped", - [ - 66612 - ] - ], - [ - [ - 66573, - 66573 - ], - "mapped", - [ - 66613 - ] - ], - [ - [ - 66574, - 66574 - ], - "mapped", - [ - 66614 - ] - ], - [ - [ - 66575, - 66575 - ], - "mapped", - [ - 66615 - ] - ], - [ - [ - 66576, - 66576 - ], - "mapped", - [ - 66616 - ] - ], - [ - [ - 66577, - 66577 - ], - "mapped", - [ - 66617 - ] - ], - [ - [ - 66578, - 66578 - ], - "mapped", - [ - 66618 - ] - ], - [ - [ - 66579, - 66579 - ], - "mapped", - [ - 66619 - ] - ], - [ - [ - 66580, - 66580 - ], - "mapped", - [ - 66620 - ] - ], - [ - [ - 66581, - 66581 - ], - "mapped", - [ - 66621 - ] - ], - [ - [ - 66582, - 66582 - ], - "mapped", - [ - 66622 - ] - ], - [ - [ - 66583, - 66583 - ], - "mapped", - [ - 66623 - ] - ], - [ - [ - 66584, - 66584 - ], - "mapped", - [ - 66624 - ] - ], - [ - [ - 66585, - 66585 - ], - "mapped", - [ - 66625 - ] - ], - [ - [ - 66586, - 66586 - ], - "mapped", - [ - 66626 - ] - ], - [ - [ - 66587, - 66587 - ], - "mapped", - [ - 66627 - ] - ], - [ - [ - 66588, - 66588 - ], - "mapped", - [ - 66628 - ] - ], - [ - [ - 66589, - 66589 - ], - "mapped", - [ - 66629 - ] - ], - [ - [ - 66590, - 66590 - ], - "mapped", - [ - 66630 - ] - ], - [ - [ - 66591, - 66591 - ], - "mapped", - [ - 66631 - ] - ], - [ - [ - 66592, - 66592 - ], - "mapped", - [ - 66632 - ] - ], - [ - [ - 66593, - 66593 - ], - "mapped", - [ - 66633 - ] - ], - [ - [ - 66594, - 66594 - ], - "mapped", - [ - 66634 - ] - ], - [ - [ - 66595, - 66595 - ], - "mapped", - [ - 66635 - ] - ], - [ - [ - 66596, - 66596 - ], - "mapped", - [ - 66636 - ] - ], - [ - [ - 66597, - 66597 - ], - "mapped", - [ - 66637 - ] - ], - [ - [ - 66598, - 66598 - ], - "mapped", - [ - 66638 - ] - ], - [ - [ - 66599, - 66599 - ], - "mapped", - [ - 66639 - ] - ], - [ - [ - 66600, - 66637 - ], - "valid" - ], - [ - [ - 66638, - 66717 - ], - "valid" - ], - [ - [ - 66718, - 66719 - ], - "disallowed" - ], - [ - [ - 66720, - 66729 - ], - "valid" - ], - [ - [ - 66730, - 66815 - ], - "disallowed" - ], - [ - [ - 66816, - 66855 - ], - "valid" - ], - [ - [ - 66856, - 66863 - ], - "disallowed" - ], - [ - [ - 66864, - 66915 - ], - "valid" - ], - [ - [ - 66916, - 66926 - ], - "disallowed" - ], - [ - [ - 66927, - 66927 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 66928, - 67071 - ], - "disallowed" - ], - [ - [ - 67072, - 67382 - ], - "valid" - ], - [ - [ - 67383, - 67391 - ], - "disallowed" - ], - [ - [ - 67392, - 67413 - ], - "valid" - ], - [ - [ - 67414, - 67423 - ], - "disallowed" - ], - [ - [ - 67424, - 67431 - ], - "valid" - ], - [ - [ - 67432, - 67583 - ], - "disallowed" - ], - [ - [ - 67584, - 67589 - ], - "valid" - ], - [ - [ - 67590, - 67591 - ], - "disallowed" - ], - [ - [ - 67592, - 67592 - ], - "valid" - ], - [ - [ - 67593, - 67593 - ], - "disallowed" - ], - [ - [ - 67594, - 67637 - ], - "valid" - ], - [ - [ - 67638, - 67638 - ], - "disallowed" - ], - [ - [ - 67639, - 67640 - ], - "valid" - ], - [ - [ - 67641, - 67643 - ], - "disallowed" - ], - [ - [ - 67644, - 67644 - ], - "valid" - ], - [ - [ - 67645, - 67646 - ], - "disallowed" - ], - [ - [ - 67647, - 67647 - ], - "valid" - ], - [ - [ - 67648, - 67669 - ], - "valid" - ], - [ - [ - 67670, - 67670 - ], - "disallowed" - ], - [ - [ - 67671, - 67679 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67680, - 67702 - ], - "valid" - ], - [ - [ - 67703, - 67711 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67712, - 67742 - ], - "valid" - ], - [ - [ - 67743, - 67750 - ], - "disallowed" - ], - [ - [ - 67751, - 67759 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67760, - 67807 - ], - "disallowed" - ], - [ - [ - 67808, - 67826 - ], - "valid" - ], - [ - [ - 67827, - 67827 - ], - "disallowed" - ], - [ - [ - 67828, - 67829 - ], - "valid" - ], - [ - [ - 67830, - 67834 - ], - "disallowed" - ], - [ - [ - 67835, - 67839 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67840, - 67861 - ], - "valid" - ], - [ - [ - 67862, - 67865 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67866, - 67867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67868, - 67870 - ], - "disallowed" - ], - [ - [ - 67871, - 67871 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67872, - 67897 - ], - "valid" - ], - [ - [ - 67898, - 67902 - ], - "disallowed" - ], - [ - [ - 67903, - 67903 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 67904, - 67967 - ], - "disallowed" - ], - [ - [ - 67968, - 68023 - ], - "valid" - ], - [ - [ - 68024, - 68027 - ], - "disallowed" - ], - [ - [ - 68028, - 68029 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68030, - 68031 - ], - "valid" - ], - [ - [ - 68032, - 68047 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68048, - 68049 - ], - "disallowed" - ], - [ - [ - 68050, - 68095 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68096, - 68099 - ], - "valid" - ], - [ - [ - 68100, - 68100 - ], - "disallowed" - ], - [ - [ - 68101, - 68102 - ], - "valid" - ], - [ - [ - 68103, - 68107 - ], - "disallowed" - ], - [ - [ - 68108, - 68115 - ], - "valid" - ], - [ - [ - 68116, - 68116 - ], - "disallowed" - ], - [ - [ - 68117, - 68119 - ], - "valid" - ], - [ - [ - 68120, - 68120 - ], - "disallowed" - ], - [ - [ - 68121, - 68147 - ], - "valid" - ], - [ - [ - 68148, - 68151 - ], - "disallowed" - ], - [ - [ - 68152, - 68154 - ], - "valid" - ], - [ - [ - 68155, - 68158 - ], - "disallowed" - ], - [ - [ - 68159, - 68159 - ], - "valid" - ], - [ - [ - 68160, - 68167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68168, - 68175 - ], - "disallowed" - ], - [ - [ - 68176, - 68184 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68185, - 68191 - ], - "disallowed" - ], - [ - [ - 68192, - 68220 - ], - "valid" - ], - [ - [ - 68221, - 68223 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68224, - 68252 - ], - "valid" - ], - [ - [ - 68253, - 68255 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68256, - 68287 - ], - "disallowed" - ], - [ - [ - 68288, - 68295 - ], - "valid" - ], - [ - [ - 68296, - 68296 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68297, - 68326 - ], - "valid" - ], - [ - [ - 68327, - 68330 - ], - "disallowed" - ], - [ - [ - 68331, - 68342 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68343, - 68351 - ], - "disallowed" - ], - [ - [ - 68352, - 68405 - ], - "valid" - ], - [ - [ - 68406, - 68408 - ], - "disallowed" - ], - [ - [ - 68409, - 68415 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68416, - 68437 - ], - "valid" - ], - [ - [ - 68438, - 68439 - ], - "disallowed" - ], - [ - [ - 68440, - 68447 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68448, - 68466 - ], - "valid" - ], - [ - [ - 68467, - 68471 - ], - "disallowed" - ], - [ - [ - 68472, - 68479 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68480, - 68497 - ], - "valid" - ], - [ - [ - 68498, - 68504 - ], - "disallowed" - ], - [ - [ - 68505, - 68508 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68509, - 68520 - ], - "disallowed" - ], - [ - [ - 68521, - 68527 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68528, - 68607 - ], - "disallowed" - ], - [ - [ - 68608, - 68680 - ], - "valid" - ], - [ - [ - 68681, - 68735 - ], - "disallowed" - ], - [ - [ - 68736, - 68736 - ], - "mapped", - [ - 68800 - ] - ], - [ - [ - 68737, - 68737 - ], - "mapped", - [ - 68801 - ] - ], - [ - [ - 68738, - 68738 - ], - "mapped", - [ - 68802 - ] - ], - [ - [ - 68739, - 68739 - ], - "mapped", - [ - 68803 - ] - ], - [ - [ - 68740, - 68740 - ], - "mapped", - [ - 68804 - ] - ], - [ - [ - 68741, - 68741 - ], - "mapped", - [ - 68805 - ] - ], - [ - [ - 68742, - 68742 - ], - "mapped", - [ - 68806 - ] - ], - [ - [ - 68743, - 68743 - ], - "mapped", - [ - 68807 - ] - ], - [ - [ - 68744, - 68744 - ], - "mapped", - [ - 68808 - ] - ], - [ - [ - 68745, - 68745 - ], - "mapped", - [ - 68809 - ] - ], - [ - [ - 68746, - 68746 - ], - "mapped", - [ - 68810 - ] - ], - [ - [ - 68747, - 68747 - ], - "mapped", - [ - 68811 - ] - ], - [ - [ - 68748, - 68748 - ], - "mapped", - [ - 68812 - ] - ], - [ - [ - 68749, - 68749 - ], - "mapped", - [ - 68813 - ] - ], - [ - [ - 68750, - 68750 - ], - "mapped", - [ - 68814 - ] - ], - [ - [ - 68751, - 68751 - ], - "mapped", - [ - 68815 - ] - ], - [ - [ - 68752, - 68752 - ], - "mapped", - [ - 68816 - ] - ], - [ - [ - 68753, - 68753 - ], - "mapped", - [ - 68817 - ] - ], - [ - [ - 68754, - 68754 - ], - "mapped", - [ - 68818 - ] - ], - [ - [ - 68755, - 68755 - ], - "mapped", - [ - 68819 - ] - ], - [ - [ - 68756, - 68756 - ], - "mapped", - [ - 68820 - ] - ], - [ - [ - 68757, - 68757 - ], - "mapped", - [ - 68821 - ] - ], - [ - [ - 68758, - 68758 - ], - "mapped", - [ - 68822 - ] - ], - [ - [ - 68759, - 68759 - ], - "mapped", - [ - 68823 - ] - ], - [ - [ - 68760, - 68760 - ], - "mapped", - [ - 68824 - ] - ], - [ - [ - 68761, - 68761 - ], - "mapped", - [ - 68825 - ] - ], - [ - [ - 68762, - 68762 - ], - "mapped", - [ - 68826 - ] - ], - [ - [ - 68763, - 68763 - ], - "mapped", - [ - 68827 - ] - ], - [ - [ - 68764, - 68764 - ], - "mapped", - [ - 68828 - ] - ], - [ - [ - 68765, - 68765 - ], - "mapped", - [ - 68829 - ] - ], - [ - [ - 68766, - 68766 - ], - "mapped", - [ - 68830 - ] - ], - [ - [ - 68767, - 68767 - ], - "mapped", - [ - 68831 - ] - ], - [ - [ - 68768, - 68768 - ], - "mapped", - [ - 68832 - ] - ], - [ - [ - 68769, - 68769 - ], - "mapped", - [ - 68833 - ] - ], - [ - [ - 68770, - 68770 - ], - "mapped", - [ - 68834 - ] - ], - [ - [ - 68771, - 68771 - ], - "mapped", - [ - 68835 - ] - ], - [ - [ - 68772, - 68772 - ], - "mapped", - [ - 68836 - ] - ], - [ - [ - 68773, - 68773 - ], - "mapped", - [ - 68837 - ] - ], - [ - [ - 68774, - 68774 - ], - "mapped", - [ - 68838 - ] - ], - [ - [ - 68775, - 68775 - ], - "mapped", - [ - 68839 - ] - ], - [ - [ - 68776, - 68776 - ], - "mapped", - [ - 68840 - ] - ], - [ - [ - 68777, - 68777 - ], - "mapped", - [ - 68841 - ] - ], - [ - [ - 68778, - 68778 - ], - "mapped", - [ - 68842 - ] - ], - [ - [ - 68779, - 68779 - ], - "mapped", - [ - 68843 - ] - ], - [ - [ - 68780, - 68780 - ], - "mapped", - [ - 68844 - ] - ], - [ - [ - 68781, - 68781 - ], - "mapped", - [ - 68845 - ] - ], - [ - [ - 68782, - 68782 - ], - "mapped", - [ - 68846 - ] - ], - [ - [ - 68783, - 68783 - ], - "mapped", - [ - 68847 - ] - ], - [ - [ - 68784, - 68784 - ], - "mapped", - [ - 68848 - ] - ], - [ - [ - 68785, - 68785 - ], - "mapped", - [ - 68849 - ] - ], - [ - [ - 68786, - 68786 - ], - "mapped", - [ - 68850 - ] - ], - [ - [ - 68787, - 68799 - ], - "disallowed" - ], - [ - [ - 68800, - 68850 - ], - "valid" - ], - [ - [ - 68851, - 68857 - ], - "disallowed" - ], - [ - [ - 68858, - 68863 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 68864, - 69215 - ], - "disallowed" - ], - [ - [ - 69216, - 69246 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69247, - 69631 - ], - "disallowed" - ], - [ - [ - 69632, - 69702 - ], - "valid" - ], - [ - [ - 69703, - 69709 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69710, - 69713 - ], - "disallowed" - ], - [ - [ - 69714, - 69733 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69734, - 69743 - ], - "valid" - ], - [ - [ - 69744, - 69758 - ], - "disallowed" - ], - [ - [ - 69759, - 69759 - ], - "valid" - ], - [ - [ - 69760, - 69818 - ], - "valid" - ], - [ - [ - 69819, - 69820 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69821, - 69821 - ], - "disallowed" - ], - [ - [ - 69822, - 69825 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69826, - 69839 - ], - "disallowed" - ], - [ - [ - 69840, - 69864 - ], - "valid" - ], - [ - [ - 69865, - 69871 - ], - "disallowed" - ], - [ - [ - 69872, - 69881 - ], - "valid" - ], - [ - [ - 69882, - 69887 - ], - "disallowed" - ], - [ - [ - 69888, - 69940 - ], - "valid" - ], - [ - [ - 69941, - 69941 - ], - "disallowed" - ], - [ - [ - 69942, - 69951 - ], - "valid" - ], - [ - [ - 69952, - 69955 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 69956, - 69967 - ], - "disallowed" - ], - [ - [ - 69968, - 70003 - ], - "valid" - ], - [ - [ - 70004, - 70005 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70006, - 70006 - ], - "valid" - ], - [ - [ - 70007, - 70015 - ], - "disallowed" - ], - [ - [ - 70016, - 70084 - ], - "valid" - ], - [ - [ - 70085, - 70088 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70089, - 70089 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70090, - 70092 - ], - "valid" - ], - [ - [ - 70093, - 70093 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70094, - 70095 - ], - "disallowed" - ], - [ - [ - 70096, - 70105 - ], - "valid" - ], - [ - [ - 70106, - 70106 - ], - "valid" - ], - [ - [ - 70107, - 70107 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70108, - 70108 - ], - "valid" - ], - [ - [ - 70109, - 70111 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70112, - 70112 - ], - "disallowed" - ], - [ - [ - 70113, - 70132 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70133, - 70143 - ], - "disallowed" - ], - [ - [ - 70144, - 70161 - ], - "valid" - ], - [ - [ - 70162, - 70162 - ], - "disallowed" - ], - [ - [ - 70163, - 70199 - ], - "valid" - ], - [ - [ - 70200, - 70205 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70206, - 70271 - ], - "disallowed" - ], - [ - [ - 70272, - 70278 - ], - "valid" - ], - [ - [ - 70279, - 70279 - ], - "disallowed" - ], - [ - [ - 70280, - 70280 - ], - "valid" - ], - [ - [ - 70281, - 70281 - ], - "disallowed" - ], - [ - [ - 70282, - 70285 - ], - "valid" - ], - [ - [ - 70286, - 70286 - ], - "disallowed" - ], - [ - [ - 70287, - 70301 - ], - "valid" - ], - [ - [ - 70302, - 70302 - ], - "disallowed" - ], - [ - [ - 70303, - 70312 - ], - "valid" - ], - [ - [ - 70313, - 70313 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70314, - 70319 - ], - "disallowed" - ], - [ - [ - 70320, - 70378 - ], - "valid" - ], - [ - [ - 70379, - 70383 - ], - "disallowed" - ], - [ - [ - 70384, - 70393 - ], - "valid" - ], - [ - [ - 70394, - 70399 - ], - "disallowed" - ], - [ - [ - 70400, - 70400 - ], - "valid" - ], - [ - [ - 70401, - 70403 - ], - "valid" - ], - [ - [ - 70404, - 70404 - ], - "disallowed" - ], - [ - [ - 70405, - 70412 - ], - "valid" - ], - [ - [ - 70413, - 70414 - ], - "disallowed" - ], - [ - [ - 70415, - 70416 - ], - "valid" - ], - [ - [ - 70417, - 70418 - ], - "disallowed" - ], - [ - [ - 70419, - 70440 - ], - "valid" - ], - [ - [ - 70441, - 70441 - ], - "disallowed" - ], - [ - [ - 70442, - 70448 - ], - "valid" - ], - [ - [ - 70449, - 70449 - ], - "disallowed" - ], - [ - [ - 70450, - 70451 - ], - "valid" - ], - [ - [ - 70452, - 70452 - ], - "disallowed" - ], - [ - [ - 70453, - 70457 - ], - "valid" - ], - [ - [ - 70458, - 70459 - ], - "disallowed" - ], - [ - [ - 70460, - 70468 - ], - "valid" - ], - [ - [ - 70469, - 70470 - ], - "disallowed" - ], - [ - [ - 70471, - 70472 - ], - "valid" - ], - [ - [ - 70473, - 70474 - ], - "disallowed" - ], - [ - [ - 70475, - 70477 - ], - "valid" - ], - [ - [ - 70478, - 70479 - ], - "disallowed" - ], - [ - [ - 70480, - 70480 - ], - "valid" - ], - [ - [ - 70481, - 70486 - ], - "disallowed" - ], - [ - [ - 70487, - 70487 - ], - "valid" - ], - [ - [ - 70488, - 70492 - ], - "disallowed" - ], - [ - [ - 70493, - 70499 - ], - "valid" - ], - [ - [ - 70500, - 70501 - ], - "disallowed" - ], - [ - [ - 70502, - 70508 - ], - "valid" - ], - [ - [ - 70509, - 70511 - ], - "disallowed" - ], - [ - [ - 70512, - 70516 - ], - "valid" - ], - [ - [ - 70517, - 70783 - ], - "disallowed" - ], - [ - [ - 70784, - 70853 - ], - "valid" - ], - [ - [ - 70854, - 70854 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 70855, - 70855 - ], - "valid" - ], - [ - [ - 70856, - 70863 - ], - "disallowed" - ], - [ - [ - 70864, - 70873 - ], - "valid" - ], - [ - [ - 70874, - 71039 - ], - "disallowed" - ], - [ - [ - 71040, - 71093 - ], - "valid" - ], - [ - [ - 71094, - 71095 - ], - "disallowed" - ], - [ - [ - 71096, - 71104 - ], - "valid" - ], - [ - [ - 71105, - 71113 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71114, - 71127 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71128, - 71133 - ], - "valid" - ], - [ - [ - 71134, - 71167 - ], - "disallowed" - ], - [ - [ - 71168, - 71232 - ], - "valid" - ], - [ - [ - 71233, - 71235 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71236, - 71236 - ], - "valid" - ], - [ - [ - 71237, - 71247 - ], - "disallowed" - ], - [ - [ - 71248, - 71257 - ], - "valid" - ], - [ - [ - 71258, - 71295 - ], - "disallowed" - ], - [ - [ - 71296, - 71351 - ], - "valid" - ], - [ - [ - 71352, - 71359 - ], - "disallowed" - ], - [ - [ - 71360, - 71369 - ], - "valid" - ], - [ - [ - 71370, - 71423 - ], - "disallowed" - ], - [ - [ - 71424, - 71449 - ], - "valid" - ], - [ - [ - 71450, - 71452 - ], - "disallowed" - ], - [ - [ - 71453, - 71467 - ], - "valid" - ], - [ - [ - 71468, - 71471 - ], - "disallowed" - ], - [ - [ - 71472, - 71481 - ], - "valid" - ], - [ - [ - 71482, - 71487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71488, - 71839 - ], - "disallowed" - ], - [ - [ - 71840, - 71840 - ], - "mapped", - [ - 71872 - ] - ], - [ - [ - 71841, - 71841 - ], - "mapped", - [ - 71873 - ] - ], - [ - [ - 71842, - 71842 - ], - "mapped", - [ - 71874 - ] - ], - [ - [ - 71843, - 71843 - ], - "mapped", - [ - 71875 - ] - ], - [ - [ - 71844, - 71844 - ], - "mapped", - [ - 71876 - ] - ], - [ - [ - 71845, - 71845 - ], - "mapped", - [ - 71877 - ] - ], - [ - [ - 71846, - 71846 - ], - "mapped", - [ - 71878 - ] - ], - [ - [ - 71847, - 71847 - ], - "mapped", - [ - 71879 - ] - ], - [ - [ - 71848, - 71848 - ], - "mapped", - [ - 71880 - ] - ], - [ - [ - 71849, - 71849 - ], - "mapped", - [ - 71881 - ] - ], - [ - [ - 71850, - 71850 - ], - "mapped", - [ - 71882 - ] - ], - [ - [ - 71851, - 71851 - ], - "mapped", - [ - 71883 - ] - ], - [ - [ - 71852, - 71852 - ], - "mapped", - [ - 71884 - ] - ], - [ - [ - 71853, - 71853 - ], - "mapped", - [ - 71885 - ] - ], - [ - [ - 71854, - 71854 - ], - "mapped", - [ - 71886 - ] - ], - [ - [ - 71855, - 71855 - ], - "mapped", - [ - 71887 - ] - ], - [ - [ - 71856, - 71856 - ], - "mapped", - [ - 71888 - ] - ], - [ - [ - 71857, - 71857 - ], - "mapped", - [ - 71889 - ] - ], - [ - [ - 71858, - 71858 - ], - "mapped", - [ - 71890 - ] - ], - [ - [ - 71859, - 71859 - ], - "mapped", - [ - 71891 - ] - ], - [ - [ - 71860, - 71860 - ], - "mapped", - [ - 71892 - ] - ], - [ - [ - 71861, - 71861 - ], - "mapped", - [ - 71893 - ] - ], - [ - [ - 71862, - 71862 - ], - "mapped", - [ - 71894 - ] - ], - [ - [ - 71863, - 71863 - ], - "mapped", - [ - 71895 - ] - ], - [ - [ - 71864, - 71864 - ], - "mapped", - [ - 71896 - ] - ], - [ - [ - 71865, - 71865 - ], - "mapped", - [ - 71897 - ] - ], - [ - [ - 71866, - 71866 - ], - "mapped", - [ - 71898 - ] - ], - [ - [ - 71867, - 71867 - ], - "mapped", - [ - 71899 - ] - ], - [ - [ - 71868, - 71868 - ], - "mapped", - [ - 71900 - ] - ], - [ - [ - 71869, - 71869 - ], - "mapped", - [ - 71901 - ] - ], - [ - [ - 71870, - 71870 - ], - "mapped", - [ - 71902 - ] - ], - [ - [ - 71871, - 71871 - ], - "mapped", - [ - 71903 - ] - ], - [ - [ - 71872, - 71913 - ], - "valid" - ], - [ - [ - 71914, - 71922 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 71923, - 71934 - ], - "disallowed" - ], - [ - [ - 71935, - 71935 - ], - "valid" - ], - [ - [ - 71936, - 72383 - ], - "disallowed" - ], - [ - [ - 72384, - 72440 - ], - "valid" - ], - [ - [ - 72441, - 73727 - ], - "disallowed" - ], - [ - [ - 73728, - 74606 - ], - "valid" - ], - [ - [ - 74607, - 74648 - ], - "valid" - ], - [ - [ - 74649, - 74649 - ], - "valid" - ], - [ - [ - 74650, - 74751 - ], - "disallowed" - ], - [ - [ - 74752, - 74850 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74851, - 74862 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74863, - 74863 - ], - "disallowed" - ], - [ - [ - 74864, - 74867 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74868, - 74868 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 74869, - 74879 - ], - "disallowed" - ], - [ - [ - 74880, - 75075 - ], - "valid" - ], - [ - [ - 75076, - 77823 - ], - "disallowed" - ], - [ - [ - 77824, - 78894 - ], - "valid" - ], - [ - [ - 78895, - 82943 - ], - "disallowed" - ], - [ - [ - 82944, - 83526 - ], - "valid" - ], - [ - [ - 83527, - 92159 - ], - "disallowed" - ], - [ - [ - 92160, - 92728 - ], - "valid" - ], - [ - [ - 92729, - 92735 - ], - "disallowed" - ], - [ - [ - 92736, - 92766 - ], - "valid" - ], - [ - [ - 92767, - 92767 - ], - "disallowed" - ], - [ - [ - 92768, - 92777 - ], - "valid" - ], - [ - [ - 92778, - 92781 - ], - "disallowed" - ], - [ - [ - 92782, - 92783 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92784, - 92879 - ], - "disallowed" - ], - [ - [ - 92880, - 92909 - ], - "valid" - ], - [ - [ - 92910, - 92911 - ], - "disallowed" - ], - [ - [ - 92912, - 92916 - ], - "valid" - ], - [ - [ - 92917, - 92917 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92918, - 92927 - ], - "disallowed" - ], - [ - [ - 92928, - 92982 - ], - "valid" - ], - [ - [ - 92983, - 92991 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92992, - 92995 - ], - "valid" - ], - [ - [ - 92996, - 92997 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 92998, - 93007 - ], - "disallowed" - ], - [ - [ - 93008, - 93017 - ], - "valid" - ], - [ - [ - 93018, - 93018 - ], - "disallowed" - ], - [ - [ - 93019, - 93025 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 93026, - 93026 - ], - "disallowed" - ], - [ - [ - 93027, - 93047 - ], - "valid" - ], - [ - [ - 93048, - 93052 - ], - "disallowed" - ], - [ - [ - 93053, - 93071 - ], - "valid" - ], - [ - [ - 93072, - 93951 - ], - "disallowed" - ], - [ - [ - 93952, - 94020 - ], - "valid" - ], - [ - [ - 94021, - 94031 - ], - "disallowed" - ], - [ - [ - 94032, - 94078 - ], - "valid" - ], - [ - [ - 94079, - 94094 - ], - "disallowed" - ], - [ - [ - 94095, - 94111 - ], - "valid" - ], - [ - [ - 94112, - 110591 - ], - "disallowed" - ], - [ - [ - 110592, - 110593 - ], - "valid" - ], - [ - [ - 110594, - 113663 - ], - "disallowed" - ], - [ - [ - 113664, - 113770 - ], - "valid" - ], - [ - [ - 113771, - 113775 - ], - "disallowed" - ], - [ - [ - 113776, - 113788 - ], - "valid" - ], - [ - [ - 113789, - 113791 - ], - "disallowed" - ], - [ - [ - 113792, - 113800 - ], - "valid" - ], - [ - [ - 113801, - 113807 - ], - "disallowed" - ], - [ - [ - 113808, - 113817 - ], - "valid" - ], - [ - [ - 113818, - 113819 - ], - "disallowed" - ], - [ - [ - 113820, - 113820 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 113821, - 113822 - ], - "valid" - ], - [ - [ - 113823, - 113823 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 113824, - 113827 - ], - "ignored" - ], - [ - [ - 113828, - 118783 - ], - "disallowed" - ], - [ - [ - 118784, - 119029 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119030, - 119039 - ], - "disallowed" - ], - [ - [ - 119040, - 119078 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119079, - 119080 - ], - "disallowed" - ], - [ - [ - 119081, - 119081 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119082, - 119133 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119134, - 119134 - ], - "mapped", - [ - 119127, - 119141 - ] - ], - [ - [ - 119135, - 119135 - ], - "mapped", - [ - 119128, - 119141 - ] - ], - [ - [ - 119136, - 119136 - ], - "mapped", - [ - 119128, - 119141, - 119150 - ] - ], - [ - [ - 119137, - 119137 - ], - "mapped", - [ - 119128, - 119141, - 119151 - ] - ], - [ - [ - 119138, - 119138 - ], - "mapped", - [ - 119128, - 119141, - 119152 - ] - ], - [ - [ - 119139, - 119139 - ], - "mapped", - [ - 119128, - 119141, - 119153 - ] - ], - [ - [ - 119140, - 119140 - ], - "mapped", - [ - 119128, - 119141, - 119154 - ] - ], - [ - [ - 119141, - 119154 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119155, - 119162 - ], - "disallowed" - ], - [ - [ - 119163, - 119226 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119227, - 119227 - ], - "mapped", - [ - 119225, - 119141 - ] - ], - [ - [ - 119228, - 119228 - ], - "mapped", - [ - 119226, - 119141 - ] - ], - [ - [ - 119229, - 119229 - ], - "mapped", - [ - 119225, - 119141, - 119150 - ] - ], - [ - [ - 119230, - 119230 - ], - "mapped", - [ - 119226, - 119141, - 119150 - ] - ], - [ - [ - 119231, - 119231 - ], - "mapped", - [ - 119225, - 119141, - 119151 - ] - ], - [ - [ - 119232, - 119232 - ], - "mapped", - [ - 119226, - 119141, - 119151 - ] - ], - [ - [ - 119233, - 119261 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119262, - 119272 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119273, - 119295 - ], - "disallowed" - ], - [ - [ - 119296, - 119365 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119366, - 119551 - ], - "disallowed" - ], - [ - [ - 119552, - 119638 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119639, - 119647 - ], - "disallowed" - ], - [ - [ - 119648, - 119665 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 119666, - 119807 - ], - "disallowed" - ], - [ - [ - 119808, - 119808 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119809, - 119809 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119810, - 119810 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119811, - 119811 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119812, - 119812 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119813, - 119813 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119814, - 119814 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119815, - 119815 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119816, - 119816 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119817, - 119817 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119818, - 119818 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119819, - 119819 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119820, - 119820 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119821, - 119821 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119822, - 119822 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119823, - 119823 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119824, - 119824 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119825, - 119825 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119826, - 119826 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119827, - 119827 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119828, - 119828 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119829, - 119829 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119830, - 119830 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119831, - 119831 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119832, - 119832 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119833, - 119833 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119834, - 119834 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119835, - 119835 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119836, - 119836 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119837, - 119837 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119838, - 119838 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119839, - 119839 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119840, - 119840 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119841, - 119841 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119842, - 119842 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119843, - 119843 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119844, - 119844 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119845, - 119845 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119846, - 119846 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119847, - 119847 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119848, - 119848 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119849, - 119849 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119850, - 119850 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119851, - 119851 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119852, - 119852 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119853, - 119853 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119854, - 119854 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119855, - 119855 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119856, - 119856 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119857, - 119857 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119858, - 119858 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119859, - 119859 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119860, - 119860 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119861, - 119861 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119862, - 119862 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119863, - 119863 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119864, - 119864 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119865, - 119865 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119866, - 119866 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119867, - 119867 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119868, - 119868 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119869, - 119869 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119870, - 119870 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119871, - 119871 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119872, - 119872 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119873, - 119873 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119874, - 119874 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119875, - 119875 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119876, - 119876 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119877, - 119877 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119878, - 119878 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119879, - 119879 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119880, - 119880 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119881, - 119881 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119882, - 119882 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119883, - 119883 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119884, - 119884 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119885, - 119885 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119886, - 119886 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119887, - 119887 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119888, - 119888 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119889, - 119889 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119890, - 119890 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119891, - 119891 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119892, - 119892 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119893, - 119893 - ], - "disallowed" - ], - [ - [ - 119894, - 119894 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119895, - 119895 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119896, - 119896 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119897, - 119897 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119898, - 119898 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119899, - 119899 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119900, - 119900 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119901, - 119901 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119902, - 119902 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119903, - 119903 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119904, - 119904 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119905, - 119905 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119906, - 119906 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119907, - 119907 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119908, - 119908 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119909, - 119909 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119910, - 119910 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119911, - 119911 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119912, - 119912 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119913, - 119913 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119914, - 119914 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119915, - 119915 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119916, - 119916 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119917, - 119917 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119918, - 119918 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119919, - 119919 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119920, - 119920 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119921, - 119921 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119922, - 119922 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119923, - 119923 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119924, - 119924 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119925, - 119925 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119926, - 119926 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119927, - 119927 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119928, - 119928 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119929, - 119929 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119930, - 119930 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119931, - 119931 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119932, - 119932 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119933, - 119933 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119934, - 119934 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119935, - 119935 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119936, - 119936 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119937, - 119937 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119938, - 119938 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119939, - 119939 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119940, - 119940 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119941, - 119941 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119942, - 119942 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 119943, - 119943 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119944, - 119944 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119945, - 119945 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119946, - 119946 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119947, - 119947 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119948, - 119948 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119949, - 119949 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 119950, - 119950 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 119951, - 119951 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119952, - 119952 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119953, - 119953 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119954, - 119954 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119955, - 119955 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 119956, - 119956 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119957, - 119957 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119958, - 119958 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119959, - 119959 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119960, - 119960 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119961, - 119961 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119962, - 119962 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119963, - 119963 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119964, - 119964 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119965, - 119965 - ], - "disallowed" - ], - [ - [ - 119966, - 119966 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119967, - 119967 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119968, - 119969 - ], - "disallowed" - ], - [ - [ - 119970, - 119970 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 119971, - 119972 - ], - "disallowed" - ], - [ - [ - 119973, - 119973 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 119974, - 119974 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 119975, - 119976 - ], - "disallowed" - ], - [ - [ - 119977, - 119977 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 119978, - 119978 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 119979, - 119979 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 119980, - 119980 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 119981, - 119981 - ], - "disallowed" - ], - [ - [ - 119982, - 119982 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 119983, - 119983 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 119984, - 119984 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 119985, - 119985 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 119986, - 119986 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 119987, - 119987 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 119988, - 119988 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 119989, - 119989 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 119990, - 119990 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 119991, - 119991 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 119992, - 119992 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 119993, - 119993 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 119994, - 119994 - ], - "disallowed" - ], - [ - [ - 119995, - 119995 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 119996, - 119996 - ], - "disallowed" - ], - [ - [ - 119997, - 119997 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 119998, - 119998 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 119999, - 119999 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120000, - 120000 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120001, - 120001 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120002, - 120002 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120003, - 120003 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120004, - 120004 - ], - "disallowed" - ], - [ - [ - 120005, - 120005 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120006, - 120006 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120007, - 120007 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120008, - 120008 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120009, - 120009 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120010, - 120010 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120011, - 120011 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120012, - 120012 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120013, - 120013 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120014, - 120014 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120015, - 120015 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120016, - 120016 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120017, - 120017 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120018, - 120018 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120019, - 120019 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120020, - 120020 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120021, - 120021 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120022, - 120022 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120023, - 120023 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120024, - 120024 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120025, - 120025 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120026, - 120026 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120027, - 120027 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120028, - 120028 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120029, - 120029 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120030, - 120030 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120031, - 120031 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120032, - 120032 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120033, - 120033 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120034, - 120034 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120035, - 120035 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120036, - 120036 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120037, - 120037 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120038, - 120038 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120039, - 120039 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120040, - 120040 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120041, - 120041 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120042, - 120042 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120043, - 120043 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120044, - 120044 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120045, - 120045 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120046, - 120046 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120047, - 120047 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120048, - 120048 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120049, - 120049 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120050, - 120050 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120051, - 120051 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120052, - 120052 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120053, - 120053 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120054, - 120054 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120055, - 120055 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120056, - 120056 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120057, - 120057 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120058, - 120058 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120059, - 120059 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120060, - 120060 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120061, - 120061 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120062, - 120062 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120063, - 120063 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120064, - 120064 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120065, - 120065 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120066, - 120066 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120067, - 120067 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120068, - 120068 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120069, - 120069 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120070, - 120070 - ], - "disallowed" - ], - [ - [ - 120071, - 120071 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120072, - 120072 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120073, - 120073 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120074, - 120074 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120075, - 120076 - ], - "disallowed" - ], - [ - [ - 120077, - 120077 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120078, - 120078 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120079, - 120079 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120080, - 120080 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120081, - 120081 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120082, - 120082 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120083, - 120083 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120084, - 120084 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120085, - 120085 - ], - "disallowed" - ], - [ - [ - 120086, - 120086 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120087, - 120087 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120088, - 120088 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120089, - 120089 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120090, - 120090 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120091, - 120091 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120092, - 120092 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120093, - 120093 - ], - "disallowed" - ], - [ - [ - 120094, - 120094 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120095, - 120095 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120096, - 120096 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120097, - 120097 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120098, - 120098 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120099, - 120099 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120100, - 120100 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120101, - 120101 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120102, - 120102 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120103, - 120103 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120104, - 120104 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120105, - 120105 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120106, - 120106 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120107, - 120107 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120108, - 120108 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120109, - 120109 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120110, - 120110 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120111, - 120111 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120112, - 120112 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120113, - 120113 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120114, - 120114 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120115, - 120115 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120116, - 120116 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120117, - 120117 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120118, - 120118 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120119, - 120119 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120120, - 120120 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120121, - 120121 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120122, - 120122 - ], - "disallowed" - ], - [ - [ - 120123, - 120123 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120124, - 120124 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120125, - 120125 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120126, - 120126 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120127, - 120127 - ], - "disallowed" - ], - [ - [ - 120128, - 120128 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120129, - 120129 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120130, - 120130 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120131, - 120131 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120132, - 120132 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120133, - 120133 - ], - "disallowed" - ], - [ - [ - 120134, - 120134 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120135, - 120137 - ], - "disallowed" - ], - [ - [ - 120138, - 120138 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120139, - 120139 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120140, - 120140 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120141, - 120141 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120142, - 120142 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120143, - 120143 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120144, - 120144 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120145, - 120145 - ], - "disallowed" - ], - [ - [ - 120146, - 120146 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120147, - 120147 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120148, - 120148 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120149, - 120149 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120150, - 120150 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120151, - 120151 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120152, - 120152 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120153, - 120153 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120154, - 120154 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120155, - 120155 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120156, - 120156 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120157, - 120157 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120158, - 120158 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120159, - 120159 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120160, - 120160 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120161, - 120161 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120162, - 120162 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120163, - 120163 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120164, - 120164 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120165, - 120165 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120166, - 120166 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120167, - 120167 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120168, - 120168 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120169, - 120169 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120170, - 120170 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120171, - 120171 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120172, - 120172 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120173, - 120173 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120174, - 120174 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120175, - 120175 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120176, - 120176 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120177, - 120177 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120178, - 120178 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120179, - 120179 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120180, - 120180 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120181, - 120181 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120182, - 120182 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120183, - 120183 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120184, - 120184 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120185, - 120185 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120186, - 120186 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120187, - 120187 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120188, - 120188 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120189, - 120189 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120190, - 120190 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120191, - 120191 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120192, - 120192 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120193, - 120193 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120194, - 120194 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120195, - 120195 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120196, - 120196 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120197, - 120197 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120198, - 120198 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120199, - 120199 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120200, - 120200 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120201, - 120201 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120202, - 120202 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120203, - 120203 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120204, - 120204 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120205, - 120205 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120206, - 120206 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120207, - 120207 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120208, - 120208 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120209, - 120209 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120210, - 120210 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120211, - 120211 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120212, - 120212 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120213, - 120213 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120214, - 120214 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120215, - 120215 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120216, - 120216 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120217, - 120217 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120218, - 120218 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120219, - 120219 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120220, - 120220 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120221, - 120221 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120222, - 120222 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120223, - 120223 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120224, - 120224 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120225, - 120225 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120226, - 120226 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120227, - 120227 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120228, - 120228 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120229, - 120229 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120230, - 120230 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120231, - 120231 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120232, - 120232 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120233, - 120233 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120234, - 120234 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120235, - 120235 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120236, - 120236 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120237, - 120237 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120238, - 120238 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120239, - 120239 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120240, - 120240 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120241, - 120241 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120242, - 120242 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120243, - 120243 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120244, - 120244 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120245, - 120245 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120246, - 120246 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120247, - 120247 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120248, - 120248 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120249, - 120249 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120250, - 120250 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120251, - 120251 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120252, - 120252 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120253, - 120253 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120254, - 120254 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120255, - 120255 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120256, - 120256 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120257, - 120257 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120258, - 120258 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120259, - 120259 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120260, - 120260 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120261, - 120261 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120262, - 120262 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120263, - 120263 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120264, - 120264 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120265, - 120265 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120266, - 120266 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120267, - 120267 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120268, - 120268 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120269, - 120269 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120270, - 120270 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120271, - 120271 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120272, - 120272 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120273, - 120273 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120274, - 120274 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120275, - 120275 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120276, - 120276 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120277, - 120277 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120278, - 120278 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120279, - 120279 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120280, - 120280 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120281, - 120281 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120282, - 120282 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120283, - 120283 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120284, - 120284 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120285, - 120285 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120286, - 120286 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120287, - 120287 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120288, - 120288 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120289, - 120289 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120290, - 120290 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120291, - 120291 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120292, - 120292 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120293, - 120293 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120294, - 120294 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120295, - 120295 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120296, - 120296 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120297, - 120297 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120298, - 120298 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120299, - 120299 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120300, - 120300 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120301, - 120301 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120302, - 120302 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120303, - 120303 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120304, - 120304 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120305, - 120305 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120306, - 120306 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120307, - 120307 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120308, - 120308 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120309, - 120309 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120310, - 120310 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120311, - 120311 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120312, - 120312 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120313, - 120313 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120314, - 120314 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120315, - 120315 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120316, - 120316 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120317, - 120317 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120318, - 120318 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120319, - 120319 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120320, - 120320 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120321, - 120321 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120322, - 120322 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120323, - 120323 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120324, - 120324 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120325, - 120325 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120326, - 120326 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120327, - 120327 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120328, - 120328 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120329, - 120329 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120330, - 120330 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120331, - 120331 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120332, - 120332 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120333, - 120333 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120334, - 120334 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120335, - 120335 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120336, - 120336 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120337, - 120337 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120338, - 120338 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120339, - 120339 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120340, - 120340 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120341, - 120341 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120342, - 120342 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120343, - 120343 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120344, - 120344 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120345, - 120345 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120346, - 120346 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120347, - 120347 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120348, - 120348 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120349, - 120349 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120350, - 120350 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120351, - 120351 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120352, - 120352 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120353, - 120353 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120354, - 120354 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120355, - 120355 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120356, - 120356 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120357, - 120357 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120358, - 120358 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120359, - 120359 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120360, - 120360 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120361, - 120361 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120362, - 120362 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120363, - 120363 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120364, - 120364 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120365, - 120365 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120366, - 120366 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120367, - 120367 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120368, - 120368 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120369, - 120369 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120370, - 120370 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120371, - 120371 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120372, - 120372 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120373, - 120373 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120374, - 120374 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120375, - 120375 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120376, - 120376 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120377, - 120377 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120378, - 120378 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120379, - 120379 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120380, - 120380 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120381, - 120381 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120382, - 120382 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120383, - 120383 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120384, - 120384 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120385, - 120385 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120386, - 120386 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120387, - 120387 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120388, - 120388 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120389, - 120389 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120390, - 120390 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120391, - 120391 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120392, - 120392 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120393, - 120393 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120394, - 120394 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120395, - 120395 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120396, - 120396 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120397, - 120397 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120398, - 120398 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120399, - 120399 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120400, - 120400 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120401, - 120401 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120402, - 120402 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120403, - 120403 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120404, - 120404 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120405, - 120405 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120406, - 120406 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120407, - 120407 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120408, - 120408 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120409, - 120409 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120410, - 120410 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120411, - 120411 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120412, - 120412 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120413, - 120413 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120414, - 120414 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120415, - 120415 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120416, - 120416 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120417, - 120417 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120418, - 120418 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120419, - 120419 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120420, - 120420 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120421, - 120421 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120422, - 120422 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120423, - 120423 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120424, - 120424 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120425, - 120425 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120426, - 120426 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120427, - 120427 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120428, - 120428 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120429, - 120429 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120430, - 120430 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120431, - 120431 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120432, - 120432 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120433, - 120433 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120434, - 120434 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120435, - 120435 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120436, - 120436 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120437, - 120437 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120438, - 120438 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120439, - 120439 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120440, - 120440 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120441, - 120441 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120442, - 120442 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120443, - 120443 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120444, - 120444 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120445, - 120445 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120446, - 120446 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120447, - 120447 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120448, - 120448 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120449, - 120449 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120450, - 120450 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120451, - 120451 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120452, - 120452 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120453, - 120453 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120454, - 120454 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120455, - 120455 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120456, - 120456 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120457, - 120457 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120458, - 120458 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 120459, - 120459 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 120460, - 120460 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 120461, - 120461 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 120462, - 120462 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 120463, - 120463 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 120464, - 120464 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 120465, - 120465 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 120466, - 120466 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 120467, - 120467 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 120468, - 120468 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 120469, - 120469 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 120470, - 120470 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 120471, - 120471 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 120472, - 120472 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 120473, - 120473 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 120474, - 120474 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 120475, - 120475 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 120476, - 120476 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 120477, - 120477 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 120478, - 120478 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 120479, - 120479 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 120480, - 120480 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 120481, - 120481 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 120482, - 120482 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 120483, - 120483 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 120484, - 120484 - ], - "mapped", - [ - 305 - ] - ], - [ - [ - 120485, - 120485 - ], - "mapped", - [ - 567 - ] - ], - [ - [ - 120486, - 120487 - ], - "disallowed" - ], - [ - [ - 120488, - 120488 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120489, - 120489 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120490, - 120490 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120491, - 120491 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120492, - 120492 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120493, - 120493 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120494, - 120494 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120495, - 120495 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120496, - 120496 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120497, - 120497 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120498, - 120498 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120499, - 120499 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120500, - 120500 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120501, - 120501 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120502, - 120502 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120503, - 120503 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120504, - 120504 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120505, - 120505 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120506, - 120506 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120507, - 120507 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120508, - 120508 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120509, - 120509 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120510, - 120510 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120511, - 120511 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120512, - 120512 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120513, - 120513 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120514, - 120514 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120515, - 120515 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120516, - 120516 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120517, - 120517 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120518, - 120518 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120519, - 120519 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120520, - 120520 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120521, - 120521 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120522, - 120522 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120523, - 120523 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120524, - 120524 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120525, - 120525 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120526, - 120526 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120527, - 120527 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120528, - 120528 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120529, - 120529 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120530, - 120530 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120531, - 120532 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120533, - 120533 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120534, - 120534 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120535, - 120535 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120536, - 120536 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120537, - 120537 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120538, - 120538 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120539, - 120539 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120540, - 120540 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120541, - 120541 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120542, - 120542 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120543, - 120543 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120544, - 120544 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120545, - 120545 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120546, - 120546 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120547, - 120547 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120548, - 120548 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120549, - 120549 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120550, - 120550 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120551, - 120551 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120552, - 120552 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120553, - 120553 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120554, - 120554 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120555, - 120555 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120556, - 120556 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120557, - 120557 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120558, - 120558 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120559, - 120559 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120560, - 120560 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120561, - 120561 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120562, - 120562 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120563, - 120563 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120564, - 120564 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120565, - 120565 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120566, - 120566 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120567, - 120567 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120568, - 120568 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120569, - 120569 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120570, - 120570 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120571, - 120571 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120572, - 120572 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120573, - 120573 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120574, - 120574 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120575, - 120575 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120576, - 120576 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120577, - 120577 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120578, - 120578 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120579, - 120579 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120580, - 120580 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120581, - 120581 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120582, - 120582 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120583, - 120583 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120584, - 120584 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120585, - 120585 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120586, - 120586 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120587, - 120587 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120588, - 120588 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120589, - 120590 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120591, - 120591 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120592, - 120592 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120593, - 120593 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120594, - 120594 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120595, - 120595 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120596, - 120596 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120597, - 120597 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120598, - 120598 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120599, - 120599 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120600, - 120600 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120601, - 120601 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120602, - 120602 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120603, - 120603 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120604, - 120604 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120605, - 120605 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120606, - 120606 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120607, - 120607 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120608, - 120608 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120609, - 120609 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120610, - 120610 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120611, - 120611 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120612, - 120612 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120613, - 120613 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120614, - 120614 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120615, - 120615 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120616, - 120616 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120617, - 120617 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120618, - 120618 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120619, - 120619 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120620, - 120620 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120621, - 120621 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120622, - 120622 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120623, - 120623 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120624, - 120624 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120625, - 120625 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120626, - 120626 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120627, - 120627 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120628, - 120628 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120629, - 120629 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120630, - 120630 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120631, - 120631 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120632, - 120632 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120633, - 120633 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120634, - 120634 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120635, - 120635 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120636, - 120636 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120637, - 120637 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120638, - 120638 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120639, - 120639 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120640, - 120640 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120641, - 120641 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120642, - 120642 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120643, - 120643 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120644, - 120644 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120645, - 120645 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120646, - 120646 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120647, - 120648 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120649, - 120649 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120650, - 120650 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120651, - 120651 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120652, - 120652 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120653, - 120653 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120654, - 120654 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120655, - 120655 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120656, - 120656 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120657, - 120657 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120658, - 120658 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120659, - 120659 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120660, - 120660 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120661, - 120661 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120662, - 120662 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120663, - 120663 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120664, - 120664 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120665, - 120665 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120666, - 120666 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120667, - 120667 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120668, - 120668 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120669, - 120669 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120670, - 120670 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120671, - 120671 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120672, - 120672 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120673, - 120673 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120674, - 120674 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120675, - 120675 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120676, - 120676 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120677, - 120677 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120678, - 120678 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120679, - 120679 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120680, - 120680 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120681, - 120681 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120682, - 120682 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120683, - 120683 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120684, - 120684 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120685, - 120685 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120686, - 120686 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120687, - 120687 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120688, - 120688 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120689, - 120689 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120690, - 120690 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120691, - 120691 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120692, - 120692 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120693, - 120693 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120694, - 120694 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120695, - 120695 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120696, - 120696 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120697, - 120697 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120698, - 120698 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120699, - 120699 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120700, - 120700 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120701, - 120701 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120702, - 120702 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120703, - 120703 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120704, - 120704 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120705, - 120706 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120707, - 120707 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120708, - 120708 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120709, - 120709 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120710, - 120710 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120711, - 120711 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120712, - 120712 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120713, - 120713 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120714, - 120714 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120715, - 120715 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120716, - 120716 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120717, - 120717 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120718, - 120718 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120719, - 120719 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120720, - 120720 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120721, - 120721 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120722, - 120722 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120723, - 120723 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120724, - 120724 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120725, - 120725 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120726, - 120726 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120727, - 120727 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120728, - 120728 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120729, - 120729 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120730, - 120730 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120731, - 120731 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120732, - 120732 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120733, - 120733 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120734, - 120734 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120735, - 120735 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120736, - 120736 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120737, - 120737 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120738, - 120738 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120739, - 120739 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120740, - 120740 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120741, - 120741 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120742, - 120742 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120743, - 120743 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120744, - 120744 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120745, - 120745 - ], - "mapped", - [ - 8711 - ] - ], - [ - [ - 120746, - 120746 - ], - "mapped", - [ - 945 - ] - ], - [ - [ - 120747, - 120747 - ], - "mapped", - [ - 946 - ] - ], - [ - [ - 120748, - 120748 - ], - "mapped", - [ - 947 - ] - ], - [ - [ - 120749, - 120749 - ], - "mapped", - [ - 948 - ] - ], - [ - [ - 120750, - 120750 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120751, - 120751 - ], - "mapped", - [ - 950 - ] - ], - [ - [ - 120752, - 120752 - ], - "mapped", - [ - 951 - ] - ], - [ - [ - 120753, - 120753 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120754, - 120754 - ], - "mapped", - [ - 953 - ] - ], - [ - [ - 120755, - 120755 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120756, - 120756 - ], - "mapped", - [ - 955 - ] - ], - [ - [ - 120757, - 120757 - ], - "mapped", - [ - 956 - ] - ], - [ - [ - 120758, - 120758 - ], - "mapped", - [ - 957 - ] - ], - [ - [ - 120759, - 120759 - ], - "mapped", - [ - 958 - ] - ], - [ - [ - 120760, - 120760 - ], - "mapped", - [ - 959 - ] - ], - [ - [ - 120761, - 120761 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120762, - 120762 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120763, - 120764 - ], - "mapped", - [ - 963 - ] - ], - [ - [ - 120765, - 120765 - ], - "mapped", - [ - 964 - ] - ], - [ - [ - 120766, - 120766 - ], - "mapped", - [ - 965 - ] - ], - [ - [ - 120767, - 120767 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120768, - 120768 - ], - "mapped", - [ - 967 - ] - ], - [ - [ - 120769, - 120769 - ], - "mapped", - [ - 968 - ] - ], - [ - [ - 120770, - 120770 - ], - "mapped", - [ - 969 - ] - ], - [ - [ - 120771, - 120771 - ], - "mapped", - [ - 8706 - ] - ], - [ - [ - 120772, - 120772 - ], - "mapped", - [ - 949 - ] - ], - [ - [ - 120773, - 120773 - ], - "mapped", - [ - 952 - ] - ], - [ - [ - 120774, - 120774 - ], - "mapped", - [ - 954 - ] - ], - [ - [ - 120775, - 120775 - ], - "mapped", - [ - 966 - ] - ], - [ - [ - 120776, - 120776 - ], - "mapped", - [ - 961 - ] - ], - [ - [ - 120777, - 120777 - ], - "mapped", - [ - 960 - ] - ], - [ - [ - 120778, - 120779 - ], - "mapped", - [ - 989 - ] - ], - [ - [ - 120780, - 120781 - ], - "disallowed" - ], - [ - [ - 120782, - 120782 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120783, - 120783 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120784, - 120784 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120785, - 120785 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120786, - 120786 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120787, - 120787 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120788, - 120788 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120789, - 120789 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120790, - 120790 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120791, - 120791 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120792, - 120792 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120793, - 120793 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120794, - 120794 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120795, - 120795 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120796, - 120796 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120797, - 120797 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120798, - 120798 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120799, - 120799 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120800, - 120800 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120801, - 120801 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120802, - 120802 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120803, - 120803 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120804, - 120804 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120805, - 120805 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120806, - 120806 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120807, - 120807 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120808, - 120808 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120809, - 120809 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120810, - 120810 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120811, - 120811 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120812, - 120812 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120813, - 120813 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120814, - 120814 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120815, - 120815 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120816, - 120816 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120817, - 120817 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120818, - 120818 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120819, - 120819 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120820, - 120820 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120821, - 120821 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120822, - 120822 - ], - "mapped", - [ - 48 - ] - ], - [ - [ - 120823, - 120823 - ], - "mapped", - [ - 49 - ] - ], - [ - [ - 120824, - 120824 - ], - "mapped", - [ - 50 - ] - ], - [ - [ - 120825, - 120825 - ], - "mapped", - [ - 51 - ] - ], - [ - [ - 120826, - 120826 - ], - "mapped", - [ - 52 - ] - ], - [ - [ - 120827, - 120827 - ], - "mapped", - [ - 53 - ] - ], - [ - [ - 120828, - 120828 - ], - "mapped", - [ - 54 - ] - ], - [ - [ - 120829, - 120829 - ], - "mapped", - [ - 55 - ] - ], - [ - [ - 120830, - 120830 - ], - "mapped", - [ - 56 - ] - ], - [ - [ - 120831, - 120831 - ], - "mapped", - [ - 57 - ] - ], - [ - [ - 120832, - 121343 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121344, - 121398 - ], - "valid" - ], - [ - [ - 121399, - 121402 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121403, - 121452 - ], - "valid" - ], - [ - [ - 121453, - 121460 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121461, - 121461 - ], - "valid" - ], - [ - [ - 121462, - 121475 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121476, - 121476 - ], - "valid" - ], - [ - [ - 121477, - 121483 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 121484, - 121498 - ], - "disallowed" - ], - [ - [ - 121499, - 121503 - ], - "valid" - ], - [ - [ - 121504, - 121504 - ], - "disallowed" - ], - [ - [ - 121505, - 121519 - ], - "valid" - ], - [ - [ - 121520, - 124927 - ], - "disallowed" - ], - [ - [ - 124928, - 125124 - ], - "valid" - ], - [ - [ - 125125, - 125126 - ], - "disallowed" - ], - [ - [ - 125127, - 125135 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 125136, - 125142 - ], - "valid" - ], - [ - [ - 125143, - 126463 - ], - "disallowed" - ], - [ - [ - 126464, - 126464 - ], - "mapped", - [ - 1575 - ] - ], - [ - [ - 126465, - 126465 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126466, - 126466 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126467, - 126467 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 126468, - 126468 - ], - "disallowed" - ], - [ - [ - 126469, - 126469 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 126470, - 126470 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 126471, - 126471 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126472, - 126472 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126473, - 126473 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126474, - 126474 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 126475, - 126475 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126476, - 126476 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126477, - 126477 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126478, - 126478 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126479, - 126479 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126480, - 126480 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126481, - 126481 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126482, - 126482 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126483, - 126483 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 126484, - 126484 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126485, - 126485 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126486, - 126486 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126487, - 126487 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126488, - 126488 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 126489, - 126489 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126490, - 126490 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126491, - 126491 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126492, - 126492 - ], - "mapped", - [ - 1646 - ] - ], - [ - [ - 126493, - 126493 - ], - "mapped", - [ - 1722 - ] - ], - [ - [ - 126494, - 126494 - ], - "mapped", - [ - 1697 - ] - ], - [ - [ - 126495, - 126495 - ], - "mapped", - [ - 1647 - ] - ], - [ - [ - 126496, - 126496 - ], - "disallowed" - ], - [ - [ - 126497, - 126497 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126498, - 126498 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126499, - 126499 - ], - "disallowed" - ], - [ - [ - 126500, - 126500 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 126501, - 126502 - ], - "disallowed" - ], - [ - [ - 126503, - 126503 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126504, - 126504 - ], - "disallowed" - ], - [ - [ - 126505, - 126505 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126506, - 126506 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 126507, - 126507 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126508, - 126508 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126509, - 126509 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126510, - 126510 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126511, - 126511 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126512, - 126512 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126513, - 126513 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126514, - 126514 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126515, - 126515 - ], - "disallowed" - ], - [ - [ - 126516, - 126516 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126517, - 126517 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126518, - 126518 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126519, - 126519 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126520, - 126520 - ], - "disallowed" - ], - [ - [ - 126521, - 126521 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126522, - 126522 - ], - "disallowed" - ], - [ - [ - 126523, - 126523 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126524, - 126529 - ], - "disallowed" - ], - [ - [ - 126530, - 126530 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126531, - 126534 - ], - "disallowed" - ], - [ - [ - 126535, - 126535 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126536, - 126536 - ], - "disallowed" - ], - [ - [ - 126537, - 126537 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126538, - 126538 - ], - "disallowed" - ], - [ - [ - 126539, - 126539 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126540, - 126540 - ], - "disallowed" - ], - [ - [ - 126541, - 126541 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126542, - 126542 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126543, - 126543 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126544, - 126544 - ], - "disallowed" - ], - [ - [ - 126545, - 126545 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126546, - 126546 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126547, - 126547 - ], - "disallowed" - ], - [ - [ - 126548, - 126548 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126549, - 126550 - ], - "disallowed" - ], - [ - [ - 126551, - 126551 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126552, - 126552 - ], - "disallowed" - ], - [ - [ - 126553, - 126553 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126554, - 126554 - ], - "disallowed" - ], - [ - [ - 126555, - 126555 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126556, - 126556 - ], - "disallowed" - ], - [ - [ - 126557, - 126557 - ], - "mapped", - [ - 1722 - ] - ], - [ - [ - 126558, - 126558 - ], - "disallowed" - ], - [ - [ - 126559, - 126559 - ], - "mapped", - [ - 1647 - ] - ], - [ - [ - 126560, - 126560 - ], - "disallowed" - ], - [ - [ - 126561, - 126561 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126562, - 126562 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126563, - 126563 - ], - "disallowed" - ], - [ - [ - 126564, - 126564 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 126565, - 126566 - ], - "disallowed" - ], - [ - [ - 126567, - 126567 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126568, - 126568 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126569, - 126569 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126570, - 126570 - ], - "mapped", - [ - 1603 - ] - ], - [ - [ - 126571, - 126571 - ], - "disallowed" - ], - [ - [ - 126572, - 126572 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126573, - 126573 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126574, - 126574 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126575, - 126575 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126576, - 126576 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126577, - 126577 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126578, - 126578 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126579, - 126579 - ], - "disallowed" - ], - [ - [ - 126580, - 126580 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126581, - 126581 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126582, - 126582 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126583, - 126583 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126584, - 126584 - ], - "disallowed" - ], - [ - [ - 126585, - 126585 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126586, - 126586 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126587, - 126587 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126588, - 126588 - ], - "mapped", - [ - 1646 - ] - ], - [ - [ - 126589, - 126589 - ], - "disallowed" - ], - [ - [ - 126590, - 126590 - ], - "mapped", - [ - 1697 - ] - ], - [ - [ - 126591, - 126591 - ], - "disallowed" - ], - [ - [ - 126592, - 126592 - ], - "mapped", - [ - 1575 - ] - ], - [ - [ - 126593, - 126593 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126594, - 126594 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126595, - 126595 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 126596, - 126596 - ], - "mapped", - [ - 1607 - ] - ], - [ - [ - 126597, - 126597 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 126598, - 126598 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 126599, - 126599 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126600, - 126600 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126601, - 126601 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126602, - 126602 - ], - "disallowed" - ], - [ - [ - 126603, - 126603 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126604, - 126604 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126605, - 126605 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126606, - 126606 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126607, - 126607 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126608, - 126608 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126609, - 126609 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126610, - 126610 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126611, - 126611 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 126612, - 126612 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126613, - 126613 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126614, - 126614 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126615, - 126615 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126616, - 126616 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 126617, - 126617 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126618, - 126618 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126619, - 126619 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126620, - 126624 - ], - "disallowed" - ], - [ - [ - 126625, - 126625 - ], - "mapped", - [ - 1576 - ] - ], - [ - [ - 126626, - 126626 - ], - "mapped", - [ - 1580 - ] - ], - [ - [ - 126627, - 126627 - ], - "mapped", - [ - 1583 - ] - ], - [ - [ - 126628, - 126628 - ], - "disallowed" - ], - [ - [ - 126629, - 126629 - ], - "mapped", - [ - 1608 - ] - ], - [ - [ - 126630, - 126630 - ], - "mapped", - [ - 1586 - ] - ], - [ - [ - 126631, - 126631 - ], - "mapped", - [ - 1581 - ] - ], - [ - [ - 126632, - 126632 - ], - "mapped", - [ - 1591 - ] - ], - [ - [ - 126633, - 126633 - ], - "mapped", - [ - 1610 - ] - ], - [ - [ - 126634, - 126634 - ], - "disallowed" - ], - [ - [ - 126635, - 126635 - ], - "mapped", - [ - 1604 - ] - ], - [ - [ - 126636, - 126636 - ], - "mapped", - [ - 1605 - ] - ], - [ - [ - 126637, - 126637 - ], - "mapped", - [ - 1606 - ] - ], - [ - [ - 126638, - 126638 - ], - "mapped", - [ - 1587 - ] - ], - [ - [ - 126639, - 126639 - ], - "mapped", - [ - 1593 - ] - ], - [ - [ - 126640, - 126640 - ], - "mapped", - [ - 1601 - ] - ], - [ - [ - 126641, - 126641 - ], - "mapped", - [ - 1589 - ] - ], - [ - [ - 126642, - 126642 - ], - "mapped", - [ - 1602 - ] - ], - [ - [ - 126643, - 126643 - ], - "mapped", - [ - 1585 - ] - ], - [ - [ - 126644, - 126644 - ], - "mapped", - [ - 1588 - ] - ], - [ - [ - 126645, - 126645 - ], - "mapped", - [ - 1578 - ] - ], - [ - [ - 126646, - 126646 - ], - "mapped", - [ - 1579 - ] - ], - [ - [ - 126647, - 126647 - ], - "mapped", - [ - 1582 - ] - ], - [ - [ - 126648, - 126648 - ], - "mapped", - [ - 1584 - ] - ], - [ - [ - 126649, - 126649 - ], - "mapped", - [ - 1590 - ] - ], - [ - [ - 126650, - 126650 - ], - "mapped", - [ - 1592 - ] - ], - [ - [ - 126651, - 126651 - ], - "mapped", - [ - 1594 - ] - ], - [ - [ - 126652, - 126703 - ], - "disallowed" - ], - [ - [ - 126704, - 126705 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 126706, - 126975 - ], - "disallowed" - ], - [ - [ - 126976, - 127019 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127020, - 127023 - ], - "disallowed" - ], - [ - [ - 127024, - 127123 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127124, - 127135 - ], - "disallowed" - ], - [ - [ - 127136, - 127150 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127151, - 127152 - ], - "disallowed" - ], - [ - [ - 127153, - 127166 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127167, - 127167 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127168, - 127168 - ], - "disallowed" - ], - [ - [ - 127169, - 127183 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127184, - 127184 - ], - "disallowed" - ], - [ - [ - 127185, - 127199 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127200, - 127221 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127222, - 127231 - ], - "disallowed" - ], - [ - [ - 127232, - 127232 - ], - "disallowed" - ], - [ - [ - 127233, - 127233 - ], - "disallowed_STD3_mapped", - [ - 48, - 44 - ] - ], - [ - [ - 127234, - 127234 - ], - "disallowed_STD3_mapped", - [ - 49, - 44 - ] - ], - [ - [ - 127235, - 127235 - ], - "disallowed_STD3_mapped", - [ - 50, - 44 - ] - ], - [ - [ - 127236, - 127236 - ], - "disallowed_STD3_mapped", - [ - 51, - 44 - ] - ], - [ - [ - 127237, - 127237 - ], - "disallowed_STD3_mapped", - [ - 52, - 44 - ] - ], - [ - [ - 127238, - 127238 - ], - "disallowed_STD3_mapped", - [ - 53, - 44 - ] - ], - [ - [ - 127239, - 127239 - ], - "disallowed_STD3_mapped", - [ - 54, - 44 - ] - ], - [ - [ - 127240, - 127240 - ], - "disallowed_STD3_mapped", - [ - 55, - 44 - ] - ], - [ - [ - 127241, - 127241 - ], - "disallowed_STD3_mapped", - [ - 56, - 44 - ] - ], - [ - [ - 127242, - 127242 - ], - "disallowed_STD3_mapped", - [ - 57, - 44 - ] - ], - [ - [ - 127243, - 127244 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127245, - 127247 - ], - "disallowed" - ], - [ - [ - 127248, - 127248 - ], - "disallowed_STD3_mapped", - [ - 40, - 97, - 41 - ] - ], - [ - [ - 127249, - 127249 - ], - "disallowed_STD3_mapped", - [ - 40, - 98, - 41 - ] - ], - [ - [ - 127250, - 127250 - ], - "disallowed_STD3_mapped", - [ - 40, - 99, - 41 - ] - ], - [ - [ - 127251, - 127251 - ], - "disallowed_STD3_mapped", - [ - 40, - 100, - 41 - ] - ], - [ - [ - 127252, - 127252 - ], - "disallowed_STD3_mapped", - [ - 40, - 101, - 41 - ] - ], - [ - [ - 127253, - 127253 - ], - "disallowed_STD3_mapped", - [ - 40, - 102, - 41 - ] - ], - [ - [ - 127254, - 127254 - ], - "disallowed_STD3_mapped", - [ - 40, - 103, - 41 - ] - ], - [ - [ - 127255, - 127255 - ], - "disallowed_STD3_mapped", - [ - 40, - 104, - 41 - ] - ], - [ - [ - 127256, - 127256 - ], - "disallowed_STD3_mapped", - [ - 40, - 105, - 41 - ] - ], - [ - [ - 127257, - 127257 - ], - "disallowed_STD3_mapped", - [ - 40, - 106, - 41 - ] - ], - [ - [ - 127258, - 127258 - ], - "disallowed_STD3_mapped", - [ - 40, - 107, - 41 - ] - ], - [ - [ - 127259, - 127259 - ], - "disallowed_STD3_mapped", - [ - 40, - 108, - 41 - ] - ], - [ - [ - 127260, - 127260 - ], - "disallowed_STD3_mapped", - [ - 40, - 109, - 41 - ] - ], - [ - [ - 127261, - 127261 - ], - "disallowed_STD3_mapped", - [ - 40, - 110, - 41 - ] - ], - [ - [ - 127262, - 127262 - ], - "disallowed_STD3_mapped", - [ - 40, - 111, - 41 - ] - ], - [ - [ - 127263, - 127263 - ], - "disallowed_STD3_mapped", - [ - 40, - 112, - 41 - ] - ], - [ - [ - 127264, - 127264 - ], - "disallowed_STD3_mapped", - [ - 40, - 113, - 41 - ] - ], - [ - [ - 127265, - 127265 - ], - "disallowed_STD3_mapped", - [ - 40, - 114, - 41 - ] - ], - [ - [ - 127266, - 127266 - ], - "disallowed_STD3_mapped", - [ - 40, - 115, - 41 - ] - ], - [ - [ - 127267, - 127267 - ], - "disallowed_STD3_mapped", - [ - 40, - 116, - 41 - ] - ], - [ - [ - 127268, - 127268 - ], - "disallowed_STD3_mapped", - [ - 40, - 117, - 41 - ] - ], - [ - [ - 127269, - 127269 - ], - "disallowed_STD3_mapped", - [ - 40, - 118, - 41 - ] - ], - [ - [ - 127270, - 127270 - ], - "disallowed_STD3_mapped", - [ - 40, - 119, - 41 - ] - ], - [ - [ - 127271, - 127271 - ], - "disallowed_STD3_mapped", - [ - 40, - 120, - 41 - ] - ], - [ - [ - 127272, - 127272 - ], - "disallowed_STD3_mapped", - [ - 40, - 121, - 41 - ] - ], - [ - [ - 127273, - 127273 - ], - "disallowed_STD3_mapped", - [ - 40, - 122, - 41 - ] - ], - [ - [ - 127274, - 127274 - ], - "mapped", - [ - 12308, - 115, - 12309 - ] - ], - [ - [ - 127275, - 127275 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 127276, - 127276 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 127277, - 127277 - ], - "mapped", - [ - 99, - 100 - ] - ], - [ - [ - 127278, - 127278 - ], - "mapped", - [ - 119, - 122 - ] - ], - [ - [ - 127279, - 127279 - ], - "disallowed" - ], - [ - [ - 127280, - 127280 - ], - "mapped", - [ - 97 - ] - ], - [ - [ - 127281, - 127281 - ], - "mapped", - [ - 98 - ] - ], - [ - [ - 127282, - 127282 - ], - "mapped", - [ - 99 - ] - ], - [ - [ - 127283, - 127283 - ], - "mapped", - [ - 100 - ] - ], - [ - [ - 127284, - 127284 - ], - "mapped", - [ - 101 - ] - ], - [ - [ - 127285, - 127285 - ], - "mapped", - [ - 102 - ] - ], - [ - [ - 127286, - 127286 - ], - "mapped", - [ - 103 - ] - ], - [ - [ - 127287, - 127287 - ], - "mapped", - [ - 104 - ] - ], - [ - [ - 127288, - 127288 - ], - "mapped", - [ - 105 - ] - ], - [ - [ - 127289, - 127289 - ], - "mapped", - [ - 106 - ] - ], - [ - [ - 127290, - 127290 - ], - "mapped", - [ - 107 - ] - ], - [ - [ - 127291, - 127291 - ], - "mapped", - [ - 108 - ] - ], - [ - [ - 127292, - 127292 - ], - "mapped", - [ - 109 - ] - ], - [ - [ - 127293, - 127293 - ], - "mapped", - [ - 110 - ] - ], - [ - [ - 127294, - 127294 - ], - "mapped", - [ - 111 - ] - ], - [ - [ - 127295, - 127295 - ], - "mapped", - [ - 112 - ] - ], - [ - [ - 127296, - 127296 - ], - "mapped", - [ - 113 - ] - ], - [ - [ - 127297, - 127297 - ], - "mapped", - [ - 114 - ] - ], - [ - [ - 127298, - 127298 - ], - "mapped", - [ - 115 - ] - ], - [ - [ - 127299, - 127299 - ], - "mapped", - [ - 116 - ] - ], - [ - [ - 127300, - 127300 - ], - "mapped", - [ - 117 - ] - ], - [ - [ - 127301, - 127301 - ], - "mapped", - [ - 118 - ] - ], - [ - [ - 127302, - 127302 - ], - "mapped", - [ - 119 - ] - ], - [ - [ - 127303, - 127303 - ], - "mapped", - [ - 120 - ] - ], - [ - [ - 127304, - 127304 - ], - "mapped", - [ - 121 - ] - ], - [ - [ - 127305, - 127305 - ], - "mapped", - [ - 122 - ] - ], - [ - [ - 127306, - 127306 - ], - "mapped", - [ - 104, - 118 - ] - ], - [ - [ - 127307, - 127307 - ], - "mapped", - [ - 109, - 118 - ] - ], - [ - [ - 127308, - 127308 - ], - "mapped", - [ - 115, - 100 - ] - ], - [ - [ - 127309, - 127309 - ], - "mapped", - [ - 115, - 115 - ] - ], - [ - [ - 127310, - 127310 - ], - "mapped", - [ - 112, - 112, - 118 - ] - ], - [ - [ - 127311, - 127311 - ], - "mapped", - [ - 119, - 99 - ] - ], - [ - [ - 127312, - 127318 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127319, - 127319 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127320, - 127326 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127327, - 127327 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127328, - 127337 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127338, - 127338 - ], - "mapped", - [ - 109, - 99 - ] - ], - [ - [ - 127339, - 127339 - ], - "mapped", - [ - 109, - 100 - ] - ], - [ - [ - 127340, - 127343 - ], - "disallowed" - ], - [ - [ - 127344, - 127352 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127353, - 127353 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127354, - 127354 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127355, - 127356 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127357, - 127358 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127359, - 127359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127360, - 127369 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127370, - 127373 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127374, - 127375 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127376, - 127376 - ], - "mapped", - [ - 100, - 106 - ] - ], - [ - [ - 127377, - 127386 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127387, - 127461 - ], - "disallowed" - ], - [ - [ - 127462, - 127487 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127488, - 127488 - ], - "mapped", - [ - 12411, - 12363 - ] - ], - [ - [ - 127489, - 127489 - ], - "mapped", - [ - 12467, - 12467 - ] - ], - [ - [ - 127490, - 127490 - ], - "mapped", - [ - 12469 - ] - ], - [ - [ - 127491, - 127503 - ], - "disallowed" - ], - [ - [ - 127504, - 127504 - ], - "mapped", - [ - 25163 - ] - ], - [ - [ - 127505, - 127505 - ], - "mapped", - [ - 23383 - ] - ], - [ - [ - 127506, - 127506 - ], - "mapped", - [ - 21452 - ] - ], - [ - [ - 127507, - 127507 - ], - "mapped", - [ - 12487 - ] - ], - [ - [ - 127508, - 127508 - ], - "mapped", - [ - 20108 - ] - ], - [ - [ - 127509, - 127509 - ], - "mapped", - [ - 22810 - ] - ], - [ - [ - 127510, - 127510 - ], - "mapped", - [ - 35299 - ] - ], - [ - [ - 127511, - 127511 - ], - "mapped", - [ - 22825 - ] - ], - [ - [ - 127512, - 127512 - ], - "mapped", - [ - 20132 - ] - ], - [ - [ - 127513, - 127513 - ], - "mapped", - [ - 26144 - ] - ], - [ - [ - 127514, - 127514 - ], - "mapped", - [ - 28961 - ] - ], - [ - [ - 127515, - 127515 - ], - "mapped", - [ - 26009 - ] - ], - [ - [ - 127516, - 127516 - ], - "mapped", - [ - 21069 - ] - ], - [ - [ - 127517, - 127517 - ], - "mapped", - [ - 24460 - ] - ], - [ - [ - 127518, - 127518 - ], - "mapped", - [ - 20877 - ] - ], - [ - [ - 127519, - 127519 - ], - "mapped", - [ - 26032 - ] - ], - [ - [ - 127520, - 127520 - ], - "mapped", - [ - 21021 - ] - ], - [ - [ - 127521, - 127521 - ], - "mapped", - [ - 32066 - ] - ], - [ - [ - 127522, - 127522 - ], - "mapped", - [ - 29983 - ] - ], - [ - [ - 127523, - 127523 - ], - "mapped", - [ - 36009 - ] - ], - [ - [ - 127524, - 127524 - ], - "mapped", - [ - 22768 - ] - ], - [ - [ - 127525, - 127525 - ], - "mapped", - [ - 21561 - ] - ], - [ - [ - 127526, - 127526 - ], - "mapped", - [ - 28436 - ] - ], - [ - [ - 127527, - 127527 - ], - "mapped", - [ - 25237 - ] - ], - [ - [ - 127528, - 127528 - ], - "mapped", - [ - 25429 - ] - ], - [ - [ - 127529, - 127529 - ], - "mapped", - [ - 19968 - ] - ], - [ - [ - 127530, - 127530 - ], - "mapped", - [ - 19977 - ] - ], - [ - [ - 127531, - 127531 - ], - "mapped", - [ - 36938 - ] - ], - [ - [ - 127532, - 127532 - ], - "mapped", - [ - 24038 - ] - ], - [ - [ - 127533, - 127533 - ], - "mapped", - [ - 20013 - ] - ], - [ - [ - 127534, - 127534 - ], - "mapped", - [ - 21491 - ] - ], - [ - [ - 127535, - 127535 - ], - "mapped", - [ - 25351 - ] - ], - [ - [ - 127536, - 127536 - ], - "mapped", - [ - 36208 - ] - ], - [ - [ - 127537, - 127537 - ], - "mapped", - [ - 25171 - ] - ], - [ - [ - 127538, - 127538 - ], - "mapped", - [ - 31105 - ] - ], - [ - [ - 127539, - 127539 - ], - "mapped", - [ - 31354 - ] - ], - [ - [ - 127540, - 127540 - ], - "mapped", - [ - 21512 - ] - ], - [ - [ - 127541, - 127541 - ], - "mapped", - [ - 28288 - ] - ], - [ - [ - 127542, - 127542 - ], - "mapped", - [ - 26377 - ] - ], - [ - [ - 127543, - 127543 - ], - "mapped", - [ - 26376 - ] - ], - [ - [ - 127544, - 127544 - ], - "mapped", - [ - 30003 - ] - ], - [ - [ - 127545, - 127545 - ], - "mapped", - [ - 21106 - ] - ], - [ - [ - 127546, - 127546 - ], - "mapped", - [ - 21942 - ] - ], - [ - [ - 127547, - 127551 - ], - "disallowed" - ], - [ - [ - 127552, - 127552 - ], - "mapped", - [ - 12308, - 26412, - 12309 - ] - ], - [ - [ - 127553, - 127553 - ], - "mapped", - [ - 12308, - 19977, - 12309 - ] - ], - [ - [ - 127554, - 127554 - ], - "mapped", - [ - 12308, - 20108, - 12309 - ] - ], - [ - [ - 127555, - 127555 - ], - "mapped", - [ - 12308, - 23433, - 12309 - ] - ], - [ - [ - 127556, - 127556 - ], - "mapped", - [ - 12308, - 28857, - 12309 - ] - ], - [ - [ - 127557, - 127557 - ], - "mapped", - [ - 12308, - 25171, - 12309 - ] - ], - [ - [ - 127558, - 127558 - ], - "mapped", - [ - 12308, - 30423, - 12309 - ] - ], - [ - [ - 127559, - 127559 - ], - "mapped", - [ - 12308, - 21213, - 12309 - ] - ], - [ - [ - 127560, - 127560 - ], - "mapped", - [ - 12308, - 25943, - 12309 - ] - ], - [ - [ - 127561, - 127567 - ], - "disallowed" - ], - [ - [ - 127568, - 127568 - ], - "mapped", - [ - 24471 - ] - ], - [ - [ - 127569, - 127569 - ], - "mapped", - [ - 21487 - ] - ], - [ - [ - 127570, - 127743 - ], - "disallowed" - ], - [ - [ - 127744, - 127776 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127777, - 127788 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127789, - 127791 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127792, - 127797 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127798, - 127798 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127799, - 127868 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127869, - 127869 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127870, - 127871 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127872, - 127891 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127892, - 127903 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127904, - 127940 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127941, - 127941 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127942, - 127946 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127947, - 127950 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127951, - 127955 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127956, - 127967 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127968, - 127984 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127985, - 127991 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 127992, - 127999 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128000, - 128062 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128063, - 128063 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128064, - 128064 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128065, - 128065 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128066, - 128247 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128248, - 128248 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128249, - 128252 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128253, - 128254 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128255, - 128255 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128256, - 128317 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128318, - 128319 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128320, - 128323 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128324, - 128330 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128331, - 128335 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128336, - 128359 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128360, - 128377 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128378, - 128378 - ], - "disallowed" - ], - [ - [ - 128379, - 128419 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128420, - 128420 - ], - "disallowed" - ], - [ - [ - 128421, - 128506 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128507, - 128511 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128512, - 128512 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128513, - 128528 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128529, - 128529 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128530, - 128532 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128533, - 128533 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128534, - 128534 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128535, - 128535 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128536, - 128536 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128537, - 128537 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128538, - 128538 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128539, - 128539 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128540, - 128542 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128543, - 128543 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128544, - 128549 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128550, - 128551 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128552, - 128555 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128556, - 128556 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128557, - 128557 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128558, - 128559 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128560, - 128563 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128564, - 128564 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128565, - 128576 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128577, - 128578 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128579, - 128580 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128581, - 128591 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128592, - 128639 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128640, - 128709 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128710, - 128719 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128720, - 128720 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128721, - 128735 - ], - "disallowed" - ], - [ - [ - 128736, - 128748 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128749, - 128751 - ], - "disallowed" - ], - [ - [ - 128752, - 128755 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128756, - 128767 - ], - "disallowed" - ], - [ - [ - 128768, - 128883 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128884, - 128895 - ], - "disallowed" - ], - [ - [ - 128896, - 128980 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 128981, - 129023 - ], - "disallowed" - ], - [ - [ - 129024, - 129035 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129036, - 129039 - ], - "disallowed" - ], - [ - [ - 129040, - 129095 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129096, - 129103 - ], - "disallowed" - ], - [ - [ - 129104, - 129113 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129114, - 129119 - ], - "disallowed" - ], - [ - [ - 129120, - 129159 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129160, - 129167 - ], - "disallowed" - ], - [ - [ - 129168, - 129197 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129198, - 129295 - ], - "disallowed" - ], - [ - [ - 129296, - 129304 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129305, - 129407 - ], - "disallowed" - ], - [ - [ - 129408, - 129412 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129413, - 129471 - ], - "disallowed" - ], - [ - [ - 129472, - 129472 - ], - "valid", - [ - ], - "NV8" - ], - [ - [ - 129473, - 131069 - ], - "disallowed" - ], - [ - [ - 131070, - 131071 - ], - "disallowed" - ], - [ - [ - 131072, - 173782 - ], - "valid" - ], - [ - [ - 173783, - 173823 - ], - "disallowed" - ], - [ - [ - 173824, - 177972 - ], - "valid" - ], - [ - [ - 177973, - 177983 - ], - "disallowed" - ], - [ - [ - 177984, - 178205 - ], - "valid" - ], - [ - [ - 178206, - 178207 - ], - "disallowed" - ], - [ - [ - 178208, - 183969 - ], - "valid" - ], - [ - [ - 183970, - 194559 - ], - "disallowed" - ], - [ - [ - 194560, - 194560 - ], - "mapped", - [ - 20029 - ] - ], - [ - [ - 194561, - 194561 - ], - "mapped", - [ - 20024 - ] - ], - [ - [ - 194562, - 194562 - ], - "mapped", - [ - 20033 - ] - ], - [ - [ - 194563, - 194563 - ], - "mapped", - [ - 131362 - ] - ], - [ - [ - 194564, - 194564 - ], - "mapped", - [ - 20320 - ] - ], - [ - [ - 194565, - 194565 - ], - "mapped", - [ - 20398 - ] - ], - [ - [ - 194566, - 194566 - ], - "mapped", - [ - 20411 - ] - ], - [ - [ - 194567, - 194567 - ], - "mapped", - [ - 20482 - ] - ], - [ - [ - 194568, - 194568 - ], - "mapped", - [ - 20602 - ] - ], - [ - [ - 194569, - 194569 - ], - "mapped", - [ - 20633 - ] - ], - [ - [ - 194570, - 194570 - ], - "mapped", - [ - 20711 - ] - ], - [ - [ - 194571, - 194571 - ], - "mapped", - [ - 20687 - ] - ], - [ - [ - 194572, - 194572 - ], - "mapped", - [ - 13470 - ] - ], - [ - [ - 194573, - 194573 - ], - "mapped", - [ - 132666 - ] - ], - [ - [ - 194574, - 194574 - ], - "mapped", - [ - 20813 - ] - ], - [ - [ - 194575, - 194575 - ], - "mapped", - [ - 20820 - ] - ], - [ - [ - 194576, - 194576 - ], - "mapped", - [ - 20836 - ] - ], - [ - [ - 194577, - 194577 - ], - "mapped", - [ - 20855 - ] - ], - [ - [ - 194578, - 194578 - ], - "mapped", - [ - 132380 - ] - ], - [ - [ - 194579, - 194579 - ], - "mapped", - [ - 13497 - ] - ], - [ - [ - 194580, - 194580 - ], - "mapped", - [ - 20839 - ] - ], - [ - [ - 194581, - 194581 - ], - "mapped", - [ - 20877 - ] - ], - [ - [ - 194582, - 194582 - ], - "mapped", - [ - 132427 - ] - ], - [ - [ - 194583, - 194583 - ], - "mapped", - [ - 20887 - ] - ], - [ - [ - 194584, - 194584 - ], - "mapped", - [ - 20900 - ] - ], - [ - [ - 194585, - 194585 - ], - "mapped", - [ - 20172 - ] - ], - [ - [ - 194586, - 194586 - ], - "mapped", - [ - 20908 - ] - ], - [ - [ - 194587, - 194587 - ], - "mapped", - [ - 20917 - ] - ], - [ - [ - 194588, - 194588 - ], - "mapped", - [ - 168415 - ] - ], - [ - [ - 194589, - 194589 - ], - "mapped", - [ - 20981 - ] - ], - [ - [ - 194590, - 194590 - ], - "mapped", - [ - 20995 - ] - ], - [ - [ - 194591, - 194591 - ], - "mapped", - [ - 13535 - ] - ], - [ - [ - 194592, - 194592 - ], - "mapped", - [ - 21051 - ] - ], - [ - [ - 194593, - 194593 - ], - "mapped", - [ - 21062 - ] - ], - [ - [ - 194594, - 194594 - ], - "mapped", - [ - 21106 - ] - ], - [ - [ - 194595, - 194595 - ], - "mapped", - [ - 21111 - ] - ], - [ - [ - 194596, - 194596 - ], - "mapped", - [ - 13589 - ] - ], - [ - [ - 194597, - 194597 - ], - "mapped", - [ - 21191 - ] - ], - [ - [ - 194598, - 194598 - ], - "mapped", - [ - 21193 - ] - ], - [ - [ - 194599, - 194599 - ], - "mapped", - [ - 21220 - ] - ], - [ - [ - 194600, - 194600 - ], - "mapped", - [ - 21242 - ] - ], - [ - [ - 194601, - 194601 - ], - "mapped", - [ - 21253 - ] - ], - [ - [ - 194602, - 194602 - ], - "mapped", - [ - 21254 - ] - ], - [ - [ - 194603, - 194603 - ], - "mapped", - [ - 21271 - ] - ], - [ - [ - 194604, - 194604 - ], - "mapped", - [ - 21321 - ] - ], - [ - [ - 194605, - 194605 - ], - "mapped", - [ - 21329 - ] - ], - [ - [ - 194606, - 194606 - ], - "mapped", - [ - 21338 - ] - ], - [ - [ - 194607, - 194607 - ], - "mapped", - [ - 21363 - ] - ], - [ - [ - 194608, - 194608 - ], - "mapped", - [ - 21373 - ] - ], - [ - [ - 194609, - 194611 - ], - "mapped", - [ - 21375 - ] - ], - [ - [ - 194612, - 194612 - ], - "mapped", - [ - 133676 - ] - ], - [ - [ - 194613, - 194613 - ], - "mapped", - [ - 28784 - ] - ], - [ - [ - 194614, - 194614 - ], - "mapped", - [ - 21450 - ] - ], - [ - [ - 194615, - 194615 - ], - "mapped", - [ - 21471 - ] - ], - [ - [ - 194616, - 194616 - ], - "mapped", - [ - 133987 - ] - ], - [ - [ - 194617, - 194617 - ], - "mapped", - [ - 21483 - ] - ], - [ - [ - 194618, - 194618 - ], - "mapped", - [ - 21489 - ] - ], - [ - [ - 194619, - 194619 - ], - "mapped", - [ - 21510 - ] - ], - [ - [ - 194620, - 194620 - ], - "mapped", - [ - 21662 - ] - ], - [ - [ - 194621, - 194621 - ], - "mapped", - [ - 21560 - ] - ], - [ - [ - 194622, - 194622 - ], - "mapped", - [ - 21576 - ] - ], - [ - [ - 194623, - 194623 - ], - "mapped", - [ - 21608 - ] - ], - [ - [ - 194624, - 194624 - ], - "mapped", - [ - 21666 - ] - ], - [ - [ - 194625, - 194625 - ], - "mapped", - [ - 21750 - ] - ], - [ - [ - 194626, - 194626 - ], - "mapped", - [ - 21776 - ] - ], - [ - [ - 194627, - 194627 - ], - "mapped", - [ - 21843 - ] - ], - [ - [ - 194628, - 194628 - ], - "mapped", - [ - 21859 - ] - ], - [ - [ - 194629, - 194630 - ], - "mapped", - [ - 21892 - ] - ], - [ - [ - 194631, - 194631 - ], - "mapped", - [ - 21913 - ] - ], - [ - [ - 194632, - 194632 - ], - "mapped", - [ - 21931 - ] - ], - [ - [ - 194633, - 194633 - ], - "mapped", - [ - 21939 - ] - ], - [ - [ - 194634, - 194634 - ], - "mapped", - [ - 21954 - ] - ], - [ - [ - 194635, - 194635 - ], - "mapped", - [ - 22294 - ] - ], - [ - [ - 194636, - 194636 - ], - "mapped", - [ - 22022 - ] - ], - [ - [ - 194637, - 194637 - ], - "mapped", - [ - 22295 - ] - ], - [ - [ - 194638, - 194638 - ], - "mapped", - [ - 22097 - ] - ], - [ - [ - 194639, - 194639 - ], - "mapped", - [ - 22132 - ] - ], - [ - [ - 194640, - 194640 - ], - "mapped", - [ - 20999 - ] - ], - [ - [ - 194641, - 194641 - ], - "mapped", - [ - 22766 - ] - ], - [ - [ - 194642, - 194642 - ], - "mapped", - [ - 22478 - ] - ], - [ - [ - 194643, - 194643 - ], - "mapped", - [ - 22516 - ] - ], - [ - [ - 194644, - 194644 - ], - "mapped", - [ - 22541 - ] - ], - [ - [ - 194645, - 194645 - ], - "mapped", - [ - 22411 - ] - ], - [ - [ - 194646, - 194646 - ], - "mapped", - [ - 22578 - ] - ], - [ - [ - 194647, - 194647 - ], - "mapped", - [ - 22577 - ] - ], - [ - [ - 194648, - 194648 - ], - "mapped", - [ - 22700 - ] - ], - [ - [ - 194649, - 194649 - ], - "mapped", - [ - 136420 - ] - ], - [ - [ - 194650, - 194650 - ], - "mapped", - [ - 22770 - ] - ], - [ - [ - 194651, - 194651 - ], - "mapped", - [ - 22775 - ] - ], - [ - [ - 194652, - 194652 - ], - "mapped", - [ - 22790 - ] - ], - [ - [ - 194653, - 194653 - ], - "mapped", - [ - 22810 - ] - ], - [ - [ - 194654, - 194654 - ], - "mapped", - [ - 22818 - ] - ], - [ - [ - 194655, - 194655 - ], - "mapped", - [ - 22882 - ] - ], - [ - [ - 194656, - 194656 - ], - "mapped", - [ - 136872 - ] - ], - [ - [ - 194657, - 194657 - ], - "mapped", - [ - 136938 - ] - ], - [ - [ - 194658, - 194658 - ], - "mapped", - [ - 23020 - ] - ], - [ - [ - 194659, - 194659 - ], - "mapped", - [ - 23067 - ] - ], - [ - [ - 194660, - 194660 - ], - "mapped", - [ - 23079 - ] - ], - [ - [ - 194661, - 194661 - ], - "mapped", - [ - 23000 - ] - ], - [ - [ - 194662, - 194662 - ], - "mapped", - [ - 23142 - ] - ], - [ - [ - 194663, - 194663 - ], - "mapped", - [ - 14062 - ] - ], - [ - [ - 194664, - 194664 - ], - "disallowed" - ], - [ - [ - 194665, - 194665 - ], - "mapped", - [ - 23304 - ] - ], - [ - [ - 194666, - 194667 - ], - "mapped", - [ - 23358 - ] - ], - [ - [ - 194668, - 194668 - ], - "mapped", - [ - 137672 - ] - ], - [ - [ - 194669, - 194669 - ], - "mapped", - [ - 23491 - ] - ], - [ - [ - 194670, - 194670 - ], - "mapped", - [ - 23512 - ] - ], - [ - [ - 194671, - 194671 - ], - "mapped", - [ - 23527 - ] - ], - [ - [ - 194672, - 194672 - ], - "mapped", - [ - 23539 - ] - ], - [ - [ - 194673, - 194673 - ], - "mapped", - [ - 138008 - ] - ], - [ - [ - 194674, - 194674 - ], - "mapped", - [ - 23551 - ] - ], - [ - [ - 194675, - 194675 - ], - "mapped", - [ - 23558 - ] - ], - [ - [ - 194676, - 194676 - ], - "disallowed" - ], - [ - [ - 194677, - 194677 - ], - "mapped", - [ - 23586 - ] - ], - [ - [ - 194678, - 194678 - ], - "mapped", - [ - 14209 - ] - ], - [ - [ - 194679, - 194679 - ], - "mapped", - [ - 23648 - ] - ], - [ - [ - 194680, - 194680 - ], - "mapped", - [ - 23662 - ] - ], - [ - [ - 194681, - 194681 - ], - "mapped", - [ - 23744 - ] - ], - [ - [ - 194682, - 194682 - ], - "mapped", - [ - 23693 - ] - ], - [ - [ - 194683, - 194683 - ], - "mapped", - [ - 138724 - ] - ], - [ - [ - 194684, - 194684 - ], - "mapped", - [ - 23875 - ] - ], - [ - [ - 194685, - 194685 - ], - "mapped", - [ - 138726 - ] - ], - [ - [ - 194686, - 194686 - ], - "mapped", - [ - 23918 - ] - ], - [ - [ - 194687, - 194687 - ], - "mapped", - [ - 23915 - ] - ], - [ - [ - 194688, - 194688 - ], - "mapped", - [ - 23932 - ] - ], - [ - [ - 194689, - 194689 - ], - "mapped", - [ - 24033 - ] - ], - [ - [ - 194690, - 194690 - ], - "mapped", - [ - 24034 - ] - ], - [ - [ - 194691, - 194691 - ], - "mapped", - [ - 14383 - ] - ], - [ - [ - 194692, - 194692 - ], - "mapped", - [ - 24061 - ] - ], - [ - [ - 194693, - 194693 - ], - "mapped", - [ - 24104 - ] - ], - [ - [ - 194694, - 194694 - ], - "mapped", - [ - 24125 - ] - ], - [ - [ - 194695, - 194695 - ], - "mapped", - [ - 24169 - ] - ], - [ - [ - 194696, - 194696 - ], - "mapped", - [ - 14434 - ] - ], - [ - [ - 194697, - 194697 - ], - "mapped", - [ - 139651 - ] - ], - [ - [ - 194698, - 194698 - ], - "mapped", - [ - 14460 - ] - ], - [ - [ - 194699, - 194699 - ], - "mapped", - [ - 24240 - ] - ], - [ - [ - 194700, - 194700 - ], - "mapped", - [ - 24243 - ] - ], - [ - [ - 194701, - 194701 - ], - "mapped", - [ - 24246 - ] - ], - [ - [ - 194702, - 194702 - ], - "mapped", - [ - 24266 - ] - ], - [ - [ - 194703, - 194703 - ], - "mapped", - [ - 172946 - ] - ], - [ - [ - 194704, - 194704 - ], - "mapped", - [ - 24318 - ] - ], - [ - [ - 194705, - 194706 - ], - "mapped", - [ - 140081 - ] - ], - [ - [ - 194707, - 194707 - ], - "mapped", - [ - 33281 - ] - ], - [ - [ - 194708, - 194709 - ], - "mapped", - [ - 24354 - ] - ], - [ - [ - 194710, - 194710 - ], - "mapped", - [ - 14535 - ] - ], - [ - [ - 194711, - 194711 - ], - "mapped", - [ - 144056 - ] - ], - [ - [ - 194712, - 194712 - ], - "mapped", - [ - 156122 - ] - ], - [ - [ - 194713, - 194713 - ], - "mapped", - [ - 24418 - ] - ], - [ - [ - 194714, - 194714 - ], - "mapped", - [ - 24427 - ] - ], - [ - [ - 194715, - 194715 - ], - "mapped", - [ - 14563 - ] - ], - [ - [ - 194716, - 194716 - ], - "mapped", - [ - 24474 - ] - ], - [ - [ - 194717, - 194717 - ], - "mapped", - [ - 24525 - ] - ], - [ - [ - 194718, - 194718 - ], - "mapped", - [ - 24535 - ] - ], - [ - [ - 194719, - 194719 - ], - "mapped", - [ - 24569 - ] - ], - [ - [ - 194720, - 194720 - ], - "mapped", - [ - 24705 - ] - ], - [ - [ - 194721, - 194721 - ], - "mapped", - [ - 14650 - ] - ], - [ - [ - 194722, - 194722 - ], - "mapped", - [ - 14620 - ] - ], - [ - [ - 194723, - 194723 - ], - "mapped", - [ - 24724 - ] - ], - [ - [ - 194724, - 194724 - ], - "mapped", - [ - 141012 - ] - ], - [ - [ - 194725, - 194725 - ], - "mapped", - [ - 24775 - ] - ], - [ - [ - 194726, - 194726 - ], - "mapped", - [ - 24904 - ] - ], - [ - [ - 194727, - 194727 - ], - "mapped", - [ - 24908 - ] - ], - [ - [ - 194728, - 194728 - ], - "mapped", - [ - 24910 - ] - ], - [ - [ - 194729, - 194729 - ], - "mapped", - [ - 24908 - ] - ], - [ - [ - 194730, - 194730 - ], - "mapped", - [ - 24954 - ] - ], - [ - [ - 194731, - 194731 - ], - "mapped", - [ - 24974 - ] - ], - [ - [ - 194732, - 194732 - ], - "mapped", - [ - 25010 - ] - ], - [ - [ - 194733, - 194733 - ], - "mapped", - [ - 24996 - ] - ], - [ - [ - 194734, - 194734 - ], - "mapped", - [ - 25007 - ] - ], - [ - [ - 194735, - 194735 - ], - "mapped", - [ - 25054 - ] - ], - [ - [ - 194736, - 194736 - ], - "mapped", - [ - 25074 - ] - ], - [ - [ - 194737, - 194737 - ], - "mapped", - [ - 25078 - ] - ], - [ - [ - 194738, - 194738 - ], - "mapped", - [ - 25104 - ] - ], - [ - [ - 194739, - 194739 - ], - "mapped", - [ - 25115 - ] - ], - [ - [ - 194740, - 194740 - ], - "mapped", - [ - 25181 - ] - ], - [ - [ - 194741, - 194741 - ], - "mapped", - [ - 25265 - ] - ], - [ - [ - 194742, - 194742 - ], - "mapped", - [ - 25300 - ] - ], - [ - [ - 194743, - 194743 - ], - "mapped", - [ - 25424 - ] - ], - [ - [ - 194744, - 194744 - ], - "mapped", - [ - 142092 - ] - ], - [ - [ - 194745, - 194745 - ], - "mapped", - [ - 25405 - ] - ], - [ - [ - 194746, - 194746 - ], - "mapped", - [ - 25340 - ] - ], - [ - [ - 194747, - 194747 - ], - "mapped", - [ - 25448 - ] - ], - [ - [ - 194748, - 194748 - ], - "mapped", - [ - 25475 - ] - ], - [ - [ - 194749, - 194749 - ], - "mapped", - [ - 25572 - ] - ], - [ - [ - 194750, - 194750 - ], - "mapped", - [ - 142321 - ] - ], - [ - [ - 194751, - 194751 - ], - "mapped", - [ - 25634 - ] - ], - [ - [ - 194752, - 194752 - ], - "mapped", - [ - 25541 - ] - ], - [ - [ - 194753, - 194753 - ], - "mapped", - [ - 25513 - ] - ], - [ - [ - 194754, - 194754 - ], - "mapped", - [ - 14894 - ] - ], - [ - [ - 194755, - 194755 - ], - "mapped", - [ - 25705 - ] - ], - [ - [ - 194756, - 194756 - ], - "mapped", - [ - 25726 - ] - ], - [ - [ - 194757, - 194757 - ], - "mapped", - [ - 25757 - ] - ], - [ - [ - 194758, - 194758 - ], - "mapped", - [ - 25719 - ] - ], - [ - [ - 194759, - 194759 - ], - "mapped", - [ - 14956 - ] - ], - [ - [ - 194760, - 194760 - ], - "mapped", - [ - 25935 - ] - ], - [ - [ - 194761, - 194761 - ], - "mapped", - [ - 25964 - ] - ], - [ - [ - 194762, - 194762 - ], - "mapped", - [ - 143370 - ] - ], - [ - [ - 194763, - 194763 - ], - "mapped", - [ - 26083 - ] - ], - [ - [ - 194764, - 194764 - ], - "mapped", - [ - 26360 - ] - ], - [ - [ - 194765, - 194765 - ], - "mapped", - [ - 26185 - ] - ], - [ - [ - 194766, - 194766 - ], - "mapped", - [ - 15129 - ] - ], - [ - [ - 194767, - 194767 - ], - "mapped", - [ - 26257 - ] - ], - [ - [ - 194768, - 194768 - ], - "mapped", - [ - 15112 - ] - ], - [ - [ - 194769, - 194769 - ], - "mapped", - [ - 15076 - ] - ], - [ - [ - 194770, - 194770 - ], - "mapped", - [ - 20882 - ] - ], - [ - [ - 194771, - 194771 - ], - "mapped", - [ - 20885 - ] - ], - [ - [ - 194772, - 194772 - ], - "mapped", - [ - 26368 - ] - ], - [ - [ - 194773, - 194773 - ], - "mapped", - [ - 26268 - ] - ], - [ - [ - 194774, - 194774 - ], - "mapped", - [ - 32941 - ] - ], - [ - [ - 194775, - 194775 - ], - "mapped", - [ - 17369 - ] - ], - [ - [ - 194776, - 194776 - ], - "mapped", - [ - 26391 - ] - ], - [ - [ - 194777, - 194777 - ], - "mapped", - [ - 26395 - ] - ], - [ - [ - 194778, - 194778 - ], - "mapped", - [ - 26401 - ] - ], - [ - [ - 194779, - 194779 - ], - "mapped", - [ - 26462 - ] - ], - [ - [ - 194780, - 194780 - ], - "mapped", - [ - 26451 - ] - ], - [ - [ - 194781, - 194781 - ], - "mapped", - [ - 144323 - ] - ], - [ - [ - 194782, - 194782 - ], - "mapped", - [ - 15177 - ] - ], - [ - [ - 194783, - 194783 - ], - "mapped", - [ - 26618 - ] - ], - [ - [ - 194784, - 194784 - ], - "mapped", - [ - 26501 - ] - ], - [ - [ - 194785, - 194785 - ], - "mapped", - [ - 26706 - ] - ], - [ - [ - 194786, - 194786 - ], - "mapped", - [ - 26757 - ] - ], - [ - [ - 194787, - 194787 - ], - "mapped", - [ - 144493 - ] - ], - [ - [ - 194788, - 194788 - ], - "mapped", - [ - 26766 - ] - ], - [ - [ - 194789, - 194789 - ], - "mapped", - [ - 26655 - ] - ], - [ - [ - 194790, - 194790 - ], - "mapped", - [ - 26900 - ] - ], - [ - [ - 194791, - 194791 - ], - "mapped", - [ - 15261 - ] - ], - [ - [ - 194792, - 194792 - ], - "mapped", - [ - 26946 - ] - ], - [ - [ - 194793, - 194793 - ], - "mapped", - [ - 27043 - ] - ], - [ - [ - 194794, - 194794 - ], - "mapped", - [ - 27114 - ] - ], - [ - [ - 194795, - 194795 - ], - "mapped", - [ - 27304 - ] - ], - [ - [ - 194796, - 194796 - ], - "mapped", - [ - 145059 - ] - ], - [ - [ - 194797, - 194797 - ], - "mapped", - [ - 27355 - ] - ], - [ - [ - 194798, - 194798 - ], - "mapped", - [ - 15384 - ] - ], - [ - [ - 194799, - 194799 - ], - "mapped", - [ - 27425 - ] - ], - [ - [ - 194800, - 194800 - ], - "mapped", - [ - 145575 - ] - ], - [ - [ - 194801, - 194801 - ], - "mapped", - [ - 27476 - ] - ], - [ - [ - 194802, - 194802 - ], - "mapped", - [ - 15438 - ] - ], - [ - [ - 194803, - 194803 - ], - "mapped", - [ - 27506 - ] - ], - [ - [ - 194804, - 194804 - ], - "mapped", - [ - 27551 - ] - ], - [ - [ - 194805, - 194805 - ], - "mapped", - [ - 27578 - ] - ], - [ - [ - 194806, - 194806 - ], - "mapped", - [ - 27579 - ] - ], - [ - [ - 194807, - 194807 - ], - "mapped", - [ - 146061 - ] - ], - [ - [ - 194808, - 194808 - ], - "mapped", - [ - 138507 - ] - ], - [ - [ - 194809, - 194809 - ], - "mapped", - [ - 146170 - ] - ], - [ - [ - 194810, - 194810 - ], - "mapped", - [ - 27726 - ] - ], - [ - [ - 194811, - 194811 - ], - "mapped", - [ - 146620 - ] - ], - [ - [ - 194812, - 194812 - ], - "mapped", - [ - 27839 - ] - ], - [ - [ - 194813, - 194813 - ], - "mapped", - [ - 27853 - ] - ], - [ - [ - 194814, - 194814 - ], - "mapped", - [ - 27751 - ] - ], - [ - [ - 194815, - 194815 - ], - "mapped", - [ - 27926 - ] - ], - [ - [ - 194816, - 194816 - ], - "mapped", - [ - 27966 - ] - ], - [ - [ - 194817, - 194817 - ], - "mapped", - [ - 28023 - ] - ], - [ - [ - 194818, - 194818 - ], - "mapped", - [ - 27969 - ] - ], - [ - [ - 194819, - 194819 - ], - "mapped", - [ - 28009 - ] - ], - [ - [ - 194820, - 194820 - ], - "mapped", - [ - 28024 - ] - ], - [ - [ - 194821, - 194821 - ], - "mapped", - [ - 28037 - ] - ], - [ - [ - 194822, - 194822 - ], - "mapped", - [ - 146718 - ] - ], - [ - [ - 194823, - 194823 - ], - "mapped", - [ - 27956 - ] - ], - [ - [ - 194824, - 194824 - ], - "mapped", - [ - 28207 - ] - ], - [ - [ - 194825, - 194825 - ], - "mapped", - [ - 28270 - ] - ], - [ - [ - 194826, - 194826 - ], - "mapped", - [ - 15667 - ] - ], - [ - [ - 194827, - 194827 - ], - "mapped", - [ - 28363 - ] - ], - [ - [ - 194828, - 194828 - ], - "mapped", - [ - 28359 - ] - ], - [ - [ - 194829, - 194829 - ], - "mapped", - [ - 147153 - ] - ], - [ - [ - 194830, - 194830 - ], - "mapped", - [ - 28153 - ] - ], - [ - [ - 194831, - 194831 - ], - "mapped", - [ - 28526 - ] - ], - [ - [ - 194832, - 194832 - ], - "mapped", - [ - 147294 - ] - ], - [ - [ - 194833, - 194833 - ], - "mapped", - [ - 147342 - ] - ], - [ - [ - 194834, - 194834 - ], - "mapped", - [ - 28614 - ] - ], - [ - [ - 194835, - 194835 - ], - "mapped", - [ - 28729 - ] - ], - [ - [ - 194836, - 194836 - ], - "mapped", - [ - 28702 - ] - ], - [ - [ - 194837, - 194837 - ], - "mapped", - [ - 28699 - ] - ], - [ - [ - 194838, - 194838 - ], - "mapped", - [ - 15766 - ] - ], - [ - [ - 194839, - 194839 - ], - "mapped", - [ - 28746 - ] - ], - [ - [ - 194840, - 194840 - ], - "mapped", - [ - 28797 - ] - ], - [ - [ - 194841, - 194841 - ], - "mapped", - [ - 28791 - ] - ], - [ - [ - 194842, - 194842 - ], - "mapped", - [ - 28845 - ] - ], - [ - [ - 194843, - 194843 - ], - "mapped", - [ - 132389 - ] - ], - [ - [ - 194844, - 194844 - ], - "mapped", - [ - 28997 - ] - ], - [ - [ - 194845, - 194845 - ], - "mapped", - [ - 148067 - ] - ], - [ - [ - 194846, - 194846 - ], - "mapped", - [ - 29084 - ] - ], - [ - [ - 194847, - 194847 - ], - "disallowed" - ], - [ - [ - 194848, - 194848 - ], - "mapped", - [ - 29224 - ] - ], - [ - [ - 194849, - 194849 - ], - "mapped", - [ - 29237 - ] - ], - [ - [ - 194850, - 194850 - ], - "mapped", - [ - 29264 - ] - ], - [ - [ - 194851, - 194851 - ], - "mapped", - [ - 149000 - ] - ], - [ - [ - 194852, - 194852 - ], - "mapped", - [ - 29312 - ] - ], - [ - [ - 194853, - 194853 - ], - "mapped", - [ - 29333 - ] - ], - [ - [ - 194854, - 194854 - ], - "mapped", - [ - 149301 - ] - ], - [ - [ - 194855, - 194855 - ], - "mapped", - [ - 149524 - ] - ], - [ - [ - 194856, - 194856 - ], - "mapped", - [ - 29562 - ] - ], - [ - [ - 194857, - 194857 - ], - "mapped", - [ - 29579 - ] - ], - [ - [ - 194858, - 194858 - ], - "mapped", - [ - 16044 - ] - ], - [ - [ - 194859, - 194859 - ], - "mapped", - [ - 29605 - ] - ], - [ - [ - 194860, - 194861 - ], - "mapped", - [ - 16056 - ] - ], - [ - [ - 194862, - 194862 - ], - "mapped", - [ - 29767 - ] - ], - [ - [ - 194863, - 194863 - ], - "mapped", - [ - 29788 - ] - ], - [ - [ - 194864, - 194864 - ], - "mapped", - [ - 29809 - ] - ], - [ - [ - 194865, - 194865 - ], - "mapped", - [ - 29829 - ] - ], - [ - [ - 194866, - 194866 - ], - "mapped", - [ - 29898 - ] - ], - [ - [ - 194867, - 194867 - ], - "mapped", - [ - 16155 - ] - ], - [ - [ - 194868, - 194868 - ], - "mapped", - [ - 29988 - ] - ], - [ - [ - 194869, - 194869 - ], - "mapped", - [ - 150582 - ] - ], - [ - [ - 194870, - 194870 - ], - "mapped", - [ - 30014 - ] - ], - [ - [ - 194871, - 194871 - ], - "mapped", - [ - 150674 - ] - ], - [ - [ - 194872, - 194872 - ], - "mapped", - [ - 30064 - ] - ], - [ - [ - 194873, - 194873 - ], - "mapped", - [ - 139679 - ] - ], - [ - [ - 194874, - 194874 - ], - "mapped", - [ - 30224 - ] - ], - [ - [ - 194875, - 194875 - ], - "mapped", - [ - 151457 - ] - ], - [ - [ - 194876, - 194876 - ], - "mapped", - [ - 151480 - ] - ], - [ - [ - 194877, - 194877 - ], - "mapped", - [ - 151620 - ] - ], - [ - [ - 194878, - 194878 - ], - "mapped", - [ - 16380 - ] - ], - [ - [ - 194879, - 194879 - ], - "mapped", - [ - 16392 - ] - ], - [ - [ - 194880, - 194880 - ], - "mapped", - [ - 30452 - ] - ], - [ - [ - 194881, - 194881 - ], - "mapped", - [ - 151795 - ] - ], - [ - [ - 194882, - 194882 - ], - "mapped", - [ - 151794 - ] - ], - [ - [ - 194883, - 194883 - ], - "mapped", - [ - 151833 - ] - ], - [ - [ - 194884, - 194884 - ], - "mapped", - [ - 151859 - ] - ], - [ - [ - 194885, - 194885 - ], - "mapped", - [ - 30494 - ] - ], - [ - [ - 194886, - 194887 - ], - "mapped", - [ - 30495 - ] - ], - [ - [ - 194888, - 194888 - ], - "mapped", - [ - 30538 - ] - ], - [ - [ - 194889, - 194889 - ], - "mapped", - [ - 16441 - ] - ], - [ - [ - 194890, - 194890 - ], - "mapped", - [ - 30603 - ] - ], - [ - [ - 194891, - 194891 - ], - "mapped", - [ - 16454 - ] - ], - [ - [ - 194892, - 194892 - ], - "mapped", - [ - 16534 - ] - ], - [ - [ - 194893, - 194893 - ], - "mapped", - [ - 152605 - ] - ], - [ - [ - 194894, - 194894 - ], - "mapped", - [ - 30798 - ] - ], - [ - [ - 194895, - 194895 - ], - "mapped", - [ - 30860 - ] - ], - [ - [ - 194896, - 194896 - ], - "mapped", - [ - 30924 - ] - ], - [ - [ - 194897, - 194897 - ], - "mapped", - [ - 16611 - ] - ], - [ - [ - 194898, - 194898 - ], - "mapped", - [ - 153126 - ] - ], - [ - [ - 194899, - 194899 - ], - "mapped", - [ - 31062 - ] - ], - [ - [ - 194900, - 194900 - ], - "mapped", - [ - 153242 - ] - ], - [ - [ - 194901, - 194901 - ], - "mapped", - [ - 153285 - ] - ], - [ - [ - 194902, - 194902 - ], - "mapped", - [ - 31119 - ] - ], - [ - [ - 194903, - 194903 - ], - "mapped", - [ - 31211 - ] - ], - [ - [ - 194904, - 194904 - ], - "mapped", - [ - 16687 - ] - ], - [ - [ - 194905, - 194905 - ], - "mapped", - [ - 31296 - ] - ], - [ - [ - 194906, - 194906 - ], - "mapped", - [ - 31306 - ] - ], - [ - [ - 194907, - 194907 - ], - "mapped", - [ - 31311 - ] - ], - [ - [ - 194908, - 194908 - ], - "mapped", - [ - 153980 - ] - ], - [ - [ - 194909, - 194910 - ], - "mapped", - [ - 154279 - ] - ], - [ - [ - 194911, - 194911 - ], - "disallowed" - ], - [ - [ - 194912, - 194912 - ], - "mapped", - [ - 16898 - ] - ], - [ - [ - 194913, - 194913 - ], - "mapped", - [ - 154539 - ] - ], - [ - [ - 194914, - 194914 - ], - "mapped", - [ - 31686 - ] - ], - [ - [ - 194915, - 194915 - ], - "mapped", - [ - 31689 - ] - ], - [ - [ - 194916, - 194916 - ], - "mapped", - [ - 16935 - ] - ], - [ - [ - 194917, - 194917 - ], - "mapped", - [ - 154752 - ] - ], - [ - [ - 194918, - 194918 - ], - "mapped", - [ - 31954 - ] - ], - [ - [ - 194919, - 194919 - ], - "mapped", - [ - 17056 - ] - ], - [ - [ - 194920, - 194920 - ], - "mapped", - [ - 31976 - ] - ], - [ - [ - 194921, - 194921 - ], - "mapped", - [ - 31971 - ] - ], - [ - [ - 194922, - 194922 - ], - "mapped", - [ - 32000 - ] - ], - [ - [ - 194923, - 194923 - ], - "mapped", - [ - 155526 - ] - ], - [ - [ - 194924, - 194924 - ], - "mapped", - [ - 32099 - ] - ], - [ - [ - 194925, - 194925 - ], - "mapped", - [ - 17153 - ] - ], - [ - [ - 194926, - 194926 - ], - "mapped", - [ - 32199 - ] - ], - [ - [ - 194927, - 194927 - ], - "mapped", - [ - 32258 - ] - ], - [ - [ - 194928, - 194928 - ], - "mapped", - [ - 32325 - ] - ], - [ - [ - 194929, - 194929 - ], - "mapped", - [ - 17204 - ] - ], - [ - [ - 194930, - 194930 - ], - "mapped", - [ - 156200 - ] - ], - [ - [ - 194931, - 194931 - ], - "mapped", - [ - 156231 - ] - ], - [ - [ - 194932, - 194932 - ], - "mapped", - [ - 17241 - ] - ], - [ - [ - 194933, - 194933 - ], - "mapped", - [ - 156377 - ] - ], - [ - [ - 194934, - 194934 - ], - "mapped", - [ - 32634 - ] - ], - [ - [ - 194935, - 194935 - ], - "mapped", - [ - 156478 - ] - ], - [ - [ - 194936, - 194936 - ], - "mapped", - [ - 32661 - ] - ], - [ - [ - 194937, - 194937 - ], - "mapped", - [ - 32762 - ] - ], - [ - [ - 194938, - 194938 - ], - "mapped", - [ - 32773 - ] - ], - [ - [ - 194939, - 194939 - ], - "mapped", - [ - 156890 - ] - ], - [ - [ - 194940, - 194940 - ], - "mapped", - [ - 156963 - ] - ], - [ - [ - 194941, - 194941 - ], - "mapped", - [ - 32864 - ] - ], - [ - [ - 194942, - 194942 - ], - "mapped", - [ - 157096 - ] - ], - [ - [ - 194943, - 194943 - ], - "mapped", - [ - 32880 - ] - ], - [ - [ - 194944, - 194944 - ], - "mapped", - [ - 144223 - ] - ], - [ - [ - 194945, - 194945 - ], - "mapped", - [ - 17365 - ] - ], - [ - [ - 194946, - 194946 - ], - "mapped", - [ - 32946 - ] - ], - [ - [ - 194947, - 194947 - ], - "mapped", - [ - 33027 - ] - ], - [ - [ - 194948, - 194948 - ], - "mapped", - [ - 17419 - ] - ], - [ - [ - 194949, - 194949 - ], - "mapped", - [ - 33086 - ] - ], - [ - [ - 194950, - 194950 - ], - "mapped", - [ - 23221 - ] - ], - [ - [ - 194951, - 194951 - ], - "mapped", - [ - 157607 - ] - ], - [ - [ - 194952, - 194952 - ], - "mapped", - [ - 157621 - ] - ], - [ - [ - 194953, - 194953 - ], - "mapped", - [ - 144275 - ] - ], - [ - [ - 194954, - 194954 - ], - "mapped", - [ - 144284 - ] - ], - [ - [ - 194955, - 194955 - ], - "mapped", - [ - 33281 - ] - ], - [ - [ - 194956, - 194956 - ], - "mapped", - [ - 33284 - ] - ], - [ - [ - 194957, - 194957 - ], - "mapped", - [ - 36766 - ] - ], - [ - [ - 194958, - 194958 - ], - "mapped", - [ - 17515 - ] - ], - [ - [ - 194959, - 194959 - ], - "mapped", - [ - 33425 - ] - ], - [ - [ - 194960, - 194960 - ], - "mapped", - [ - 33419 - ] - ], - [ - [ - 194961, - 194961 - ], - "mapped", - [ - 33437 - ] - ], - [ - [ - 194962, - 194962 - ], - "mapped", - [ - 21171 - ] - ], - [ - [ - 194963, - 194963 - ], - "mapped", - [ - 33457 - ] - ], - [ - [ - 194964, - 194964 - ], - "mapped", - [ - 33459 - ] - ], - [ - [ - 194965, - 194965 - ], - "mapped", - [ - 33469 - ] - ], - [ - [ - 194966, - 194966 - ], - "mapped", - [ - 33510 - ] - ], - [ - [ - 194967, - 194967 - ], - "mapped", - [ - 158524 - ] - ], - [ - [ - 194968, - 194968 - ], - "mapped", - [ - 33509 - ] - ], - [ - [ - 194969, - 194969 - ], - "mapped", - [ - 33565 - ] - ], - [ - [ - 194970, - 194970 - ], - "mapped", - [ - 33635 - ] - ], - [ - [ - 194971, - 194971 - ], - "mapped", - [ - 33709 - ] - ], - [ - [ - 194972, - 194972 - ], - "mapped", - [ - 33571 - ] - ], - [ - [ - 194973, - 194973 - ], - "mapped", - [ - 33725 - ] - ], - [ - [ - 194974, - 194974 - ], - "mapped", - [ - 33767 - ] - ], - [ - [ - 194975, - 194975 - ], - "mapped", - [ - 33879 - ] - ], - [ - [ - 194976, - 194976 - ], - "mapped", - [ - 33619 - ] - ], - [ - [ - 194977, - 194977 - ], - "mapped", - [ - 33738 - ] - ], - [ - [ - 194978, - 194978 - ], - "mapped", - [ - 33740 - ] - ], - [ - [ - 194979, - 194979 - ], - "mapped", - [ - 33756 - ] - ], - [ - [ - 194980, - 194980 - ], - "mapped", - [ - 158774 - ] - ], - [ - [ - 194981, - 194981 - ], - "mapped", - [ - 159083 - ] - ], - [ - [ - 194982, - 194982 - ], - "mapped", - [ - 158933 - ] - ], - [ - [ - 194983, - 194983 - ], - "mapped", - [ - 17707 - ] - ], - [ - [ - 194984, - 194984 - ], - "mapped", - [ - 34033 - ] - ], - [ - [ - 194985, - 194985 - ], - "mapped", - [ - 34035 - ] - ], - [ - [ - 194986, - 194986 - ], - "mapped", - [ - 34070 - ] - ], - [ - [ - 194987, - 194987 - ], - "mapped", - [ - 160714 - ] - ], - [ - [ - 194988, - 194988 - ], - "mapped", - [ - 34148 - ] - ], - [ - [ - 194989, - 194989 - ], - "mapped", - [ - 159532 - ] - ], - [ - [ - 194990, - 194990 - ], - "mapped", - [ - 17757 - ] - ], - [ - [ - 194991, - 194991 - ], - "mapped", - [ - 17761 - ] - ], - [ - [ - 194992, - 194992 - ], - "mapped", - [ - 159665 - ] - ], - [ - [ - 194993, - 194993 - ], - "mapped", - [ - 159954 - ] - ], - [ - [ - 194994, - 194994 - ], - "mapped", - [ - 17771 - ] - ], - [ - [ - 194995, - 194995 - ], - "mapped", - [ - 34384 - ] - ], - [ - [ - 194996, - 194996 - ], - "mapped", - [ - 34396 - ] - ], - [ - [ - 194997, - 194997 - ], - "mapped", - [ - 34407 - ] - ], - [ - [ - 194998, - 194998 - ], - "mapped", - [ - 34409 - ] - ], - [ - [ - 194999, - 194999 - ], - "mapped", - [ - 34473 - ] - ], - [ - [ - 195000, - 195000 - ], - "mapped", - [ - 34440 - ] - ], - [ - [ - 195001, - 195001 - ], - "mapped", - [ - 34574 - ] - ], - [ - [ - 195002, - 195002 - ], - "mapped", - [ - 34530 - ] - ], - [ - [ - 195003, - 195003 - ], - "mapped", - [ - 34681 - ] - ], - [ - [ - 195004, - 195004 - ], - "mapped", - [ - 34600 - ] - ], - [ - [ - 195005, - 195005 - ], - "mapped", - [ - 34667 - ] - ], - [ - [ - 195006, - 195006 - ], - "mapped", - [ - 34694 - ] - ], - [ - [ - 195007, - 195007 - ], - "disallowed" - ], - [ - [ - 195008, - 195008 - ], - "mapped", - [ - 34785 - ] - ], - [ - [ - 195009, - 195009 - ], - "mapped", - [ - 34817 - ] - ], - [ - [ - 195010, - 195010 - ], - "mapped", - [ - 17913 - ] - ], - [ - [ - 195011, - 195011 - ], - "mapped", - [ - 34912 - ] - ], - [ - [ - 195012, - 195012 - ], - "mapped", - [ - 34915 - ] - ], - [ - [ - 195013, - 195013 - ], - "mapped", - [ - 161383 - ] - ], - [ - [ - 195014, - 195014 - ], - "mapped", - [ - 35031 - ] - ], - [ - [ - 195015, - 195015 - ], - "mapped", - [ - 35038 - ] - ], - [ - [ - 195016, - 195016 - ], - "mapped", - [ - 17973 - ] - ], - [ - [ - 195017, - 195017 - ], - "mapped", - [ - 35066 - ] - ], - [ - [ - 195018, - 195018 - ], - "mapped", - [ - 13499 - ] - ], - [ - [ - 195019, - 195019 - ], - "mapped", - [ - 161966 - ] - ], - [ - [ - 195020, - 195020 - ], - "mapped", - [ - 162150 - ] - ], - [ - [ - 195021, - 195021 - ], - "mapped", - [ - 18110 - ] - ], - [ - [ - 195022, - 195022 - ], - "mapped", - [ - 18119 - ] - ], - [ - [ - 195023, - 195023 - ], - "mapped", - [ - 35488 - ] - ], - [ - [ - 195024, - 195024 - ], - "mapped", - [ - 35565 - ] - ], - [ - [ - 195025, - 195025 - ], - "mapped", - [ - 35722 - ] - ], - [ - [ - 195026, - 195026 - ], - "mapped", - [ - 35925 - ] - ], - [ - [ - 195027, - 195027 - ], - "mapped", - [ - 162984 - ] - ], - [ - [ - 195028, - 195028 - ], - "mapped", - [ - 36011 - ] - ], - [ - [ - 195029, - 195029 - ], - "mapped", - [ - 36033 - ] - ], - [ - [ - 195030, - 195030 - ], - "mapped", - [ - 36123 - ] - ], - [ - [ - 195031, - 195031 - ], - "mapped", - [ - 36215 - ] - ], - [ - [ - 195032, - 195032 - ], - "mapped", - [ - 163631 - ] - ], - [ - [ - 195033, - 195033 - ], - "mapped", - [ - 133124 - ] - ], - [ - [ - 195034, - 195034 - ], - "mapped", - [ - 36299 - ] - ], - [ - [ - 195035, - 195035 - ], - "mapped", - [ - 36284 - ] - ], - [ - [ - 195036, - 195036 - ], - "mapped", - [ - 36336 - ] - ], - [ - [ - 195037, - 195037 - ], - "mapped", - [ - 133342 - ] - ], - [ - [ - 195038, - 195038 - ], - "mapped", - [ - 36564 - ] - ], - [ - [ - 195039, - 195039 - ], - "mapped", - [ - 36664 - ] - ], - [ - [ - 195040, - 195040 - ], - "mapped", - [ - 165330 - ] - ], - [ - [ - 195041, - 195041 - ], - "mapped", - [ - 165357 - ] - ], - [ - [ - 195042, - 195042 - ], - "mapped", - [ - 37012 - ] - ], - [ - [ - 195043, - 195043 - ], - "mapped", - [ - 37105 - ] - ], - [ - [ - 195044, - 195044 - ], - "mapped", - [ - 37137 - ] - ], - [ - [ - 195045, - 195045 - ], - "mapped", - [ - 165678 - ] - ], - [ - [ - 195046, - 195046 - ], - "mapped", - [ - 37147 - ] - ], - [ - [ - 195047, - 195047 - ], - "mapped", - [ - 37432 - ] - ], - [ - [ - 195048, - 195048 - ], - "mapped", - [ - 37591 - ] - ], - [ - [ - 195049, - 195049 - ], - "mapped", - [ - 37592 - ] - ], - [ - [ - 195050, - 195050 - ], - "mapped", - [ - 37500 - ] - ], - [ - [ - 195051, - 195051 - ], - "mapped", - [ - 37881 - ] - ], - [ - [ - 195052, - 195052 - ], - "mapped", - [ - 37909 - ] - ], - [ - [ - 195053, - 195053 - ], - "mapped", - [ - 166906 - ] - ], - [ - [ - 195054, - 195054 - ], - "mapped", - [ - 38283 - ] - ], - [ - [ - 195055, - 195055 - ], - "mapped", - [ - 18837 - ] - ], - [ - [ - 195056, - 195056 - ], - "mapped", - [ - 38327 - ] - ], - [ - [ - 195057, - 195057 - ], - "mapped", - [ - 167287 - ] - ], - [ - [ - 195058, - 195058 - ], - "mapped", - [ - 18918 - ] - ], - [ - [ - 195059, - 195059 - ], - "mapped", - [ - 38595 - ] - ], - [ - [ - 195060, - 195060 - ], - "mapped", - [ - 23986 - ] - ], - [ - [ - 195061, - 195061 - ], - "mapped", - [ - 38691 - ] - ], - [ - [ - 195062, - 195062 - ], - "mapped", - [ - 168261 - ] - ], - [ - [ - 195063, - 195063 - ], - "mapped", - [ - 168474 - ] - ], - [ - [ - 195064, - 195064 - ], - "mapped", - [ - 19054 - ] - ], - [ - [ - 195065, - 195065 - ], - "mapped", - [ - 19062 - ] - ], - [ - [ - 195066, - 195066 - ], - "mapped", - [ - 38880 - ] - ], - [ - [ - 195067, - 195067 - ], - "mapped", - [ - 168970 - ] - ], - [ - [ - 195068, - 195068 - ], - "mapped", - [ - 19122 - ] - ], - [ - [ - 195069, - 195069 - ], - "mapped", - [ - 169110 - ] - ], - [ - [ - 195070, - 195071 - ], - "mapped", - [ - 38923 - ] - ], - [ - [ - 195072, - 195072 - ], - "mapped", - [ - 38953 - ] - ], - [ - [ - 195073, - 195073 - ], - "mapped", - [ - 169398 - ] - ], - [ - [ - 195074, - 195074 - ], - "mapped", - [ - 39138 - ] - ], - [ - [ - 195075, - 195075 - ], - "mapped", - [ - 19251 - ] - ], - [ - [ - 195076, - 195076 - ], - "mapped", - [ - 39209 - ] - ], - [ - [ - 195077, - 195077 - ], - "mapped", - [ - 39335 - ] - ], - [ - [ - 195078, - 195078 - ], - "mapped", - [ - 39362 - ] - ], - [ - [ - 195079, - 195079 - ], - "mapped", - [ - 39422 - ] - ], - [ - [ - 195080, - 195080 - ], - "mapped", - [ - 19406 - ] - ], - [ - [ - 195081, - 195081 - ], - "mapped", - [ - 170800 - ] - ], - [ - [ - 195082, - 195082 - ], - "mapped", - [ - 39698 - ] - ], - [ - [ - 195083, - 195083 - ], - "mapped", - [ - 40000 - ] - ], - [ - [ - 195084, - 195084 - ], - "mapped", - [ - 40189 - ] - ], - [ - [ - 195085, - 195085 - ], - "mapped", - [ - 19662 - ] - ], - [ - [ - 195086, - 195086 - ], - "mapped", - [ - 19693 - ] - ], - [ - [ - 195087, - 195087 - ], - "mapped", - [ - 40295 - ] - ], - [ - [ - 195088, - 195088 - ], - "mapped", - [ - 172238 - ] - ], - [ - [ - 195089, - 195089 - ], - "mapped", - [ - 19704 - ] - ], - [ - [ - 195090, - 195090 - ], - "mapped", - [ - 172293 - ] - ], - [ - [ - 195091, - 195091 - ], - "mapped", - [ - 172558 - ] - ], - [ - [ - 195092, - 195092 - ], - "mapped", - [ - 172689 - ] - ], - [ - [ - 195093, - 195093 - ], - "mapped", - [ - 40635 - ] - ], - [ - [ - 195094, - 195094 - ], - "mapped", - [ - 19798 - ] - ], - [ - [ - 195095, - 195095 - ], - "mapped", - [ - 40697 - ] - ], - [ - [ - 195096, - 195096 - ], - "mapped", - [ - 40702 - ] - ], - [ - [ - 195097, - 195097 - ], - "mapped", - [ - 40709 - ] - ], - [ - [ - 195098, - 195098 - ], - "mapped", - [ - 40719 - ] - ], - [ - [ - 195099, - 195099 - ], - "mapped", - [ - 40726 - ] - ], - [ - [ - 195100, - 195100 - ], - "mapped", - [ - 40763 - ] - ], - [ - [ - 195101, - 195101 - ], - "mapped", - [ - 173568 - ] - ], - [ - [ - 195102, - 196605 - ], - "disallowed" - ], - [ - [ - 196606, - 196607 - ], - "disallowed" - ], - [ - [ - 196608, - 262141 - ], - "disallowed" - ], - [ - [ - 262142, - 262143 - ], - "disallowed" - ], - [ - [ - 262144, - 327677 - ], - "disallowed" - ], - [ - [ - 327678, - 327679 - ], - "disallowed" - ], - [ - [ - 327680, - 393213 - ], - "disallowed" - ], - [ - [ - 393214, - 393215 - ], - "disallowed" - ], - [ - [ - 393216, - 458749 - ], - "disallowed" - ], - [ - [ - 458750, - 458751 - ], - "disallowed" - ], - [ - [ - 458752, - 524285 - ], - "disallowed" - ], - [ - [ - 524286, - 524287 - ], - "disallowed" - ], - [ - [ - 524288, - 589821 - ], - "disallowed" - ], - [ - [ - 589822, - 589823 - ], - "disallowed" - ], - [ - [ - 589824, - 655357 - ], - "disallowed" - ], - [ - [ - 655358, - 655359 - ], - "disallowed" - ], - [ - [ - 655360, - 720893 - ], - "disallowed" - ], - [ - [ - 720894, - 720895 - ], - "disallowed" - ], - [ - [ - 720896, - 786429 - ], - "disallowed" - ], - [ - [ - 786430, - 786431 - ], - "disallowed" - ], - [ - [ - 786432, - 851965 - ], - "disallowed" - ], - [ - [ - 851966, - 851967 - ], - "disallowed" - ], - [ - [ - 851968, - 917501 - ], - "disallowed" - ], - [ - [ - 917502, - 917503 - ], - "disallowed" - ], - [ - [ - 917504, - 917504 - ], - "disallowed" - ], - [ - [ - 917505, - 917505 - ], - "disallowed" - ], - [ - [ - 917506, - 917535 - ], - "disallowed" - ], - [ - [ - 917536, - 917631 - ], - "disallowed" - ], - [ - [ - 917632, - 917759 - ], - "disallowed" - ], - [ - [ - 917760, - 917999 - ], - "ignored" - ], - [ - [ - 918000, - 983037 - ], - "disallowed" - ], - [ - [ - 983038, - 983039 - ], - "disallowed" - ], - [ - [ - 983040, - 1048573 - ], - "disallowed" - ], - [ - [ - 1048574, - 1048575 - ], - "disallowed" - ], - [ - [ - 1048576, - 1114109 - ], - "disallowed" - ], - [ - [ - 1114110, - 1114111 - ], - "disallowed" - ] -]; - -var punycode = require$$0__default$1["default"]; -var mappingTable = require$$1$1; - -var PROCESSING_OPTIONS = { - TRANSITIONAL: 0, - NONTRANSITIONAL: 1 -}; - -function normalize(str) { // fix bug in v8 - return str.split('\u0000').map(function (s) { return s.normalize('NFC'); }).join('\u0000'); -} - -function findStatus(val) { - var start = 0; - var end = mappingTable.length - 1; - - while (start <= end) { - var mid = Math.floor((start + end) / 2); - - var target = mappingTable[mid]; - if (target[0][0] <= val && target[0][1] >= val) { - return target; - } else if (target[0][0] > val) { - end = mid - 1; - } else { - start = mid + 1; - } - } - - return null; -} - -var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; - -function countSymbols(string) { - return string - // replace every surrogate pair with a BMP symbol - .replace(regexAstralSymbols, '_') - // then get the length - .length; -} - -function mapChars(domain_name, useSTD3, processing_option) { - var hasError = false; - var processed = ""; - - var len = countSymbols(domain_name); - for (var i = 0; i < len; ++i) { - var codePoint = domain_name.codePointAt(i); - var status = findStatus(codePoint); - - switch (status[1]) { - case "disallowed": - hasError = true; - processed += String.fromCodePoint(codePoint); - break; - case "ignored": - break; - case "mapped": - processed += String.fromCodePoint.apply(String, status[2]); - break; - case "deviation": - if (processing_option === PROCESSING_OPTIONS.TRANSITIONAL) { - processed += String.fromCodePoint.apply(String, status[2]); - } else { - processed += String.fromCodePoint(codePoint); - } - break; - case "valid": - processed += String.fromCodePoint(codePoint); - break; - case "disallowed_STD3_mapped": - if (useSTD3) { - hasError = true; - processed += String.fromCodePoint(codePoint); - } else { - processed += String.fromCodePoint.apply(String, status[2]); - } - break; - case "disallowed_STD3_valid": - if (useSTD3) { - hasError = true; - } - - processed += String.fromCodePoint(codePoint); - break; - } - } - - return { - string: processed, - error: hasError - }; -} - -var combiningMarksRegex = /[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/; - -function validateLabel(label, processing_option) { - if (label.substr(0, 4) === "xn--") { - label = punycode.toUnicode(label); - PROCESSING_OPTIONS.NONTRANSITIONAL; - } - - var error = false; - - if (normalize(label) !== label || - (label[3] === "-" && label[4] === "-") || - label[0] === "-" || label[label.length - 1] === "-" || - label.indexOf(".") !== -1 || - label.search(combiningMarksRegex) === 0) { - error = true; - } - - var len = countSymbols(label); - for (var i = 0; i < len; ++i) { - var status = findStatus(label.codePointAt(i)); - if ((processing === PROCESSING_OPTIONS.TRANSITIONAL && status[1] !== "valid") || - (processing === PROCESSING_OPTIONS.NONTRANSITIONAL && - status[1] !== "valid" && status[1] !== "deviation")) { - error = true; - break; - } - } - - return { - label: label, - error: error - }; -} - -function processing(domain_name, useSTD3, processing_option) { - var result = mapChars(domain_name, useSTD3, processing_option); - result.string = normalize(result.string); - - var labels = result.string.split("."); - for (var i = 0; i < labels.length; ++i) { - try { - var validation = validateLabel(labels[i]); - labels[i] = validation.label; - result.error = result.error || validation.error; - } catch(e) { - result.error = true; - } - } - - return { - string: labels.join("."), - error: result.error - }; -} - -tr46.toASCII = function(domain_name, useSTD3, processing_option, verifyDnsLength) { - var result = processing(domain_name, useSTD3, processing_option); - var labels = result.string.split("."); - labels = labels.map(function(l) { - try { - return punycode.toASCII(l); - } catch(e) { - result.error = true; - return l; - } - }); - - if (verifyDnsLength) { - var total = labels.slice(0, labels.length - 1).join(".").length; - if (total.length > 253 || total.length === 0) { - result.error = true; - } - - for (var i=0; i < labels.length; ++i) { - if (labels.length > 63 || labels.length === 0) { - result.error = true; - break; - } - } - } - - if (result.error) return null; - return labels.join("."); -}; - -tr46.toUnicode = function(domain_name, useSTD3) { - var result = processing(domain_name, useSTD3, PROCESSING_OPTIONS.NONTRANSITIONAL); - - return { - domain: result.string, - error: result.error - }; -}; - -tr46.PROCESSING_OPTIONS = PROCESSING_OPTIONS; - -(function (module) { - const punycode = require$$0__default$1["default"]; - const tr46$1 = tr46; - - const specialSchemes = { - ftp: 21, - file: null, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 - }; - - const failure = Symbol("failure"); - - function countSymbols(str) { - return punycode.ucs2.decode(str).length; - } - - function at(input, idx) { - const c = input[idx]; - return isNaN(c) ? undefined : String.fromCodePoint(c); - } - - function isASCIIDigit(c) { - return c >= 0x30 && c <= 0x39; - } - - function isASCIIAlpha(c) { - return (c >= 0x41 && c <= 0x5A) || (c >= 0x61 && c <= 0x7A); - } - - function isASCIIAlphanumeric(c) { - return isASCIIAlpha(c) || isASCIIDigit(c); - } - - function isASCIIHex(c) { - return isASCIIDigit(c) || (c >= 0x41 && c <= 0x46) || (c >= 0x61 && c <= 0x66); - } - - function isSingleDot(buffer) { - return buffer === "." || buffer.toLowerCase() === "%2e"; - } - - function isDoubleDot(buffer) { - buffer = buffer.toLowerCase(); - return buffer === ".." || buffer === "%2e." || buffer === ".%2e" || buffer === "%2e%2e"; - } - - function isWindowsDriveLetterCodePoints(cp1, cp2) { - return isASCIIAlpha(cp1) && (cp2 === 58 || cp2 === 124); - } - - function isWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && (string[1] === ":" || string[1] === "|"); - } - - function isNormalizedWindowsDriveLetterString(string) { - return string.length === 2 && isASCIIAlpha(string.codePointAt(0)) && string[1] === ":"; - } - - function containsForbiddenHostCodePoint(string) { - return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/) !== -1; - } - - function containsForbiddenHostCodePointExcludingPercent(string) { - return string.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/) !== -1; - } - - function isSpecialScheme(scheme) { - return specialSchemes[scheme] !== undefined; - } - - function isSpecial(url) { - return isSpecialScheme(url.scheme); - } - - function defaultPort(scheme) { - return specialSchemes[scheme]; - } - - function percentEncode(c) { - let hex = c.toString(16).toUpperCase(); - if (hex.length === 1) { - hex = "0" + hex; - } - - return "%" + hex; - } - - function utf8PercentEncode(c) { - const buf = new Buffer(c); - - let str = ""; - - for (let i = 0; i < buf.length; ++i) { - str += percentEncode(buf[i]); - } - - return str; - } - - function utf8PercentDecode(str) { - const input = new Buffer(str); - const output = []; - for (let i = 0; i < input.length; ++i) { - if (input[i] !== 37) { - output.push(input[i]); - } else if (input[i] === 37 && isASCIIHex(input[i + 1]) && isASCIIHex(input[i + 2])) { - output.push(parseInt(input.slice(i + 1, i + 3).toString(), 16)); - i += 2; - } else { - output.push(input[i]); - } - } - return new Buffer(output).toString(); - } - - function isC0ControlPercentEncode(c) { - return c <= 0x1F || c > 0x7E; - } - - const extraPathPercentEncodeSet = new Set([32, 34, 35, 60, 62, 63, 96, 123, 125]); - function isPathPercentEncode(c) { - return isC0ControlPercentEncode(c) || extraPathPercentEncodeSet.has(c); - } - - const extraUserinfoPercentEncodeSet = - new Set([47, 58, 59, 61, 64, 91, 92, 93, 94, 124]); - function isUserinfoPercentEncode(c) { - return isPathPercentEncode(c) || extraUserinfoPercentEncodeSet.has(c); - } - - function percentEncodeChar(c, encodeSetPredicate) { - const cStr = String.fromCodePoint(c); - - if (encodeSetPredicate(c)) { - return utf8PercentEncode(cStr); - } - - return cStr; - } - - function parseIPv4Number(input) { - let R = 10; - - if (input.length >= 2 && input.charAt(0) === "0" && input.charAt(1).toLowerCase() === "x") { - input = input.substring(2); - R = 16; - } else if (input.length >= 2 && input.charAt(0) === "0") { - input = input.substring(1); - R = 8; - } - - if (input === "") { - return 0; - } - - const regex = R === 10 ? /[^0-9]/ : (R === 16 ? /[^0-9A-Fa-f]/ : /[^0-7]/); - if (regex.test(input)) { - return failure; - } - - return parseInt(input, R); - } - - function parseIPv4(input) { - const parts = input.split("."); - if (parts[parts.length - 1] === "") { - if (parts.length > 1) { - parts.pop(); - } - } - - if (parts.length > 4) { - return input; - } - - const numbers = []; - for (const part of parts) { - if (part === "") { - return input; - } - const n = parseIPv4Number(part); - if (n === failure) { - return input; - } - - numbers.push(n); - } - - for (let i = 0; i < numbers.length - 1; ++i) { - if (numbers[i] > 255) { - return failure; - } - } - if (numbers[numbers.length - 1] >= Math.pow(256, 5 - numbers.length)) { - return failure; - } - - let ipv4 = numbers.pop(); - let counter = 0; - - for (const n of numbers) { - ipv4 += n * Math.pow(256, 3 - counter); - ++counter; - } - - return ipv4; - } - - function serializeIPv4(address) { - let output = ""; - let n = address; - - for (let i = 1; i <= 4; ++i) { - output = String(n % 256) + output; - if (i !== 4) { - output = "." + output; - } - n = Math.floor(n / 256); - } - - return output; - } - - function parseIPv6(input) { - const address = [0, 0, 0, 0, 0, 0, 0, 0]; - let pieceIndex = 0; - let compress = null; - let pointer = 0; - - input = punycode.ucs2.decode(input); - - if (input[pointer] === 58) { - if (input[pointer + 1] !== 58) { - return failure; - } - - pointer += 2; - ++pieceIndex; - compress = pieceIndex; - } - - while (pointer < input.length) { - if (pieceIndex === 8) { - return failure; - } - - if (input[pointer] === 58) { - if (compress !== null) { - return failure; - } - ++pointer; - ++pieceIndex; - compress = pieceIndex; - continue; - } - - let value = 0; - let length = 0; - - while (length < 4 && isASCIIHex(input[pointer])) { - value = value * 0x10 + parseInt(at(input, pointer), 16); - ++pointer; - ++length; - } - - if (input[pointer] === 46) { - if (length === 0) { - return failure; - } - - pointer -= length; - - if (pieceIndex > 6) { - return failure; - } - - let numbersSeen = 0; - - while (input[pointer] !== undefined) { - let ipv4Piece = null; - - if (numbersSeen > 0) { - if (input[pointer] === 46 && numbersSeen < 4) { - ++pointer; - } else { - return failure; - } - } - - if (!isASCIIDigit(input[pointer])) { - return failure; - } - - while (isASCIIDigit(input[pointer])) { - const number = parseInt(at(input, pointer)); - if (ipv4Piece === null) { - ipv4Piece = number; - } else if (ipv4Piece === 0) { - return failure; - } else { - ipv4Piece = ipv4Piece * 10 + number; - } - if (ipv4Piece > 255) { - return failure; - } - ++pointer; - } - - address[pieceIndex] = address[pieceIndex] * 0x100 + ipv4Piece; - - ++numbersSeen; - - if (numbersSeen === 2 || numbersSeen === 4) { - ++pieceIndex; - } - } - - if (numbersSeen !== 4) { - return failure; - } - - break; - } else if (input[pointer] === 58) { - ++pointer; - if (input[pointer] === undefined) { - return failure; - } - } else if (input[pointer] !== undefined) { - return failure; - } - - address[pieceIndex] = value; - ++pieceIndex; - } - - if (compress !== null) { - let swaps = pieceIndex - compress; - pieceIndex = 7; - while (pieceIndex !== 0 && swaps > 0) { - const temp = address[compress + swaps - 1]; - address[compress + swaps - 1] = address[pieceIndex]; - address[pieceIndex] = temp; - --pieceIndex; - --swaps; - } - } else if (compress === null && pieceIndex !== 8) { - return failure; - } - - return address; - } - - function serializeIPv6(address) { - let output = ""; - const seqResult = findLongestZeroSequence(address); - const compress = seqResult.idx; - let ignore0 = false; - - for (let pieceIndex = 0; pieceIndex <= 7; ++pieceIndex) { - if (ignore0 && address[pieceIndex] === 0) { - continue; - } else if (ignore0) { - ignore0 = false; - } - - if (compress === pieceIndex) { - const separator = pieceIndex === 0 ? "::" : ":"; - output += separator; - ignore0 = true; - continue; - } - - output += address[pieceIndex].toString(16); - - if (pieceIndex !== 7) { - output += ":"; - } - } - - return output; - } - - function parseHost(input, isSpecialArg) { - if (input[0] === "[") { - if (input[input.length - 1] !== "]") { - return failure; - } - - return parseIPv6(input.substring(1, input.length - 1)); - } - - if (!isSpecialArg) { - return parseOpaqueHost(input); - } - - const domain = utf8PercentDecode(input); - const asciiDomain = tr46$1.toASCII(domain, false, tr46$1.PROCESSING_OPTIONS.NONTRANSITIONAL, false); - if (asciiDomain === null) { - return failure; - } - - if (containsForbiddenHostCodePoint(asciiDomain)) { - return failure; - } - - const ipv4Host = parseIPv4(asciiDomain); - if (typeof ipv4Host === "number" || ipv4Host === failure) { - return ipv4Host; - } - - return asciiDomain; - } - - function parseOpaqueHost(input) { - if (containsForbiddenHostCodePointExcludingPercent(input)) { - return failure; - } - - let output = ""; - const decoded = punycode.ucs2.decode(input); - for (let i = 0; i < decoded.length; ++i) { - output += percentEncodeChar(decoded[i], isC0ControlPercentEncode); - } - return output; - } - - function findLongestZeroSequence(arr) { - let maxIdx = null; - let maxLen = 1; // only find elements > 1 - let currStart = null; - let currLen = 0; - - for (let i = 0; i < arr.length; ++i) { - if (arr[i] !== 0) { - if (currLen > maxLen) { - maxIdx = currStart; - maxLen = currLen; - } - - currStart = null; - currLen = 0; - } else { - if (currStart === null) { - currStart = i; - } - ++currLen; - } - } - - // if trailing zeros - if (currLen > maxLen) { - maxIdx = currStart; - maxLen = currLen; - } - - return { - idx: maxIdx, - len: maxLen - }; - } - - function serializeHost(host) { - if (typeof host === "number") { - return serializeIPv4(host); - } - - // IPv6 serializer - if (host instanceof Array) { - return "[" + serializeIPv6(host) + "]"; - } - - return host; - } - - function trimControlChars(url) { - return url.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g, ""); - } - - function trimTabAndNewline(url) { - return url.replace(/\u0009|\u000A|\u000D/g, ""); - } - - function shortenPath(url) { - const path = url.path; - if (path.length === 0) { - return; - } - if (url.scheme === "file" && path.length === 1 && isNormalizedWindowsDriveLetter(path[0])) { - return; - } - - path.pop(); - } - - function includesCredentials(url) { - return url.username !== "" || url.password !== ""; - } - - function cannotHaveAUsernamePasswordPort(url) { - return url.host === null || url.host === "" || url.cannotBeABaseURL || url.scheme === "file"; - } - - function isNormalizedWindowsDriveLetter(string) { - return /^[A-Za-z]:$/.test(string); - } - - function URLStateMachine(input, base, encodingOverride, url, stateOverride) { - this.pointer = 0; - this.input = input; - this.base = base || null; - this.encodingOverride = encodingOverride || "utf-8"; - this.stateOverride = stateOverride; - this.url = url; - this.failure = false; - this.parseError = false; - - if (!this.url) { - this.url = { - scheme: "", - username: "", - password: "", - host: null, - port: null, - path: [], - query: null, - fragment: null, - - cannotBeABaseURL: false - }; - - const res = trimControlChars(this.input); - if (res !== this.input) { - this.parseError = true; - } - this.input = res; - } - - const res = trimTabAndNewline(this.input); - if (res !== this.input) { - this.parseError = true; - } - this.input = res; - - this.state = stateOverride || "scheme start"; - - this.buffer = ""; - this.atFlag = false; - this.arrFlag = false; - this.passwordTokenSeenFlag = false; - - this.input = punycode.ucs2.decode(this.input); - - for (; this.pointer <= this.input.length; ++this.pointer) { - const c = this.input[this.pointer]; - const cStr = isNaN(c) ? undefined : String.fromCodePoint(c); - - // exec state machine - const ret = this["parse " + this.state](c, cStr); - if (!ret) { - break; // terminate algorithm - } else if (ret === failure) { - this.failure = true; - break; - } - } - } - - URLStateMachine.prototype["parse scheme start"] = function parseSchemeStart(c, cStr) { - if (isASCIIAlpha(c)) { - this.buffer += cStr.toLowerCase(); - this.state = "scheme"; - } else if (!this.stateOverride) { - this.state = "no scheme"; - --this.pointer; - } else { - this.parseError = true; - return failure; - } - - return true; - }; - - URLStateMachine.prototype["parse scheme"] = function parseScheme(c, cStr) { - if (isASCIIAlphanumeric(c) || c === 43 || c === 45 || c === 46) { - this.buffer += cStr.toLowerCase(); - } else if (c === 58) { - if (this.stateOverride) { - if (isSpecial(this.url) && !isSpecialScheme(this.buffer)) { - return false; - } - - if (!isSpecial(this.url) && isSpecialScheme(this.buffer)) { - return false; - } - - if ((includesCredentials(this.url) || this.url.port !== null) && this.buffer === "file") { - return false; - } - - if (this.url.scheme === "file" && (this.url.host === "" || this.url.host === null)) { - return false; - } - } - this.url.scheme = this.buffer; - this.buffer = ""; - if (this.stateOverride) { - return false; - } - if (this.url.scheme === "file") { - if (this.input[this.pointer + 1] !== 47 || this.input[this.pointer + 2] !== 47) { - this.parseError = true; - } - this.state = "file"; - } else if (isSpecial(this.url) && this.base !== null && this.base.scheme === this.url.scheme) { - this.state = "special relative or authority"; - } else if (isSpecial(this.url)) { - this.state = "special authority slashes"; - } else if (this.input[this.pointer + 1] === 47) { - this.state = "path or authority"; - ++this.pointer; - } else { - this.url.cannotBeABaseURL = true; - this.url.path.push(""); - this.state = "cannot-be-a-base-URL path"; - } - } else if (!this.stateOverride) { - this.buffer = ""; - this.state = "no scheme"; - this.pointer = -1; - } else { - this.parseError = true; - return failure; - } - - return true; - }; - - URLStateMachine.prototype["parse no scheme"] = function parseNoScheme(c) { - if (this.base === null || (this.base.cannotBeABaseURL && c !== 35)) { - return failure; - } else if (this.base.cannotBeABaseURL && c === 35) { - this.url.scheme = this.base.scheme; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.url.cannotBeABaseURL = true; - this.state = "fragment"; - } else if (this.base.scheme === "file") { - this.state = "file"; - --this.pointer; - } else { - this.state = "relative"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse special relative or authority"] = function parseSpecialRelativeOrAuthority(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "relative"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse path or authority"] = function parsePathOrAuthority(c) { - if (c === 47) { - this.state = "authority"; - } else { - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse relative"] = function parseRelative(c) { - this.url.scheme = this.base.scheme; - if (isNaN(c)) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - } else if (c === 47) { - this.state = "relative slash"; - } else if (c === 63) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; - } else if (isSpecial(this.url) && c === 92) { - this.parseError = true; - this.state = "relative slash"; - } else { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.url.path = this.base.path.slice(0, this.base.path.length - 1); - - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse relative slash"] = function parseRelativeSlash(c) { - if (isSpecial(this.url) && (c === 47 || c === 92)) { - if (c === 92) { - this.parseError = true; - } - this.state = "special authority ignore slashes"; - } else if (c === 47) { - this.state = "authority"; - } else { - this.url.username = this.base.username; - this.url.password = this.base.password; - this.url.host = this.base.host; - this.url.port = this.base.port; - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse special authority slashes"] = function parseSpecialAuthoritySlashes(c) { - if (c === 47 && this.input[this.pointer + 1] === 47) { - this.state = "special authority ignore slashes"; - ++this.pointer; - } else { - this.parseError = true; - this.state = "special authority ignore slashes"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse special authority ignore slashes"] = function parseSpecialAuthorityIgnoreSlashes(c) { - if (c !== 47 && c !== 92) { - this.state = "authority"; - --this.pointer; - } else { - this.parseError = true; - } - - return true; - }; - - URLStateMachine.prototype["parse authority"] = function parseAuthority(c, cStr) { - if (c === 64) { - this.parseError = true; - if (this.atFlag) { - this.buffer = "%40" + this.buffer; - } - this.atFlag = true; - - // careful, this is based on buffer and has its own pointer (this.pointer != pointer) and inner chars - const len = countSymbols(this.buffer); - for (let pointer = 0; pointer < len; ++pointer) { - const codePoint = this.buffer.codePointAt(pointer); - - if (codePoint === 58 && !this.passwordTokenSeenFlag) { - this.passwordTokenSeenFlag = true; - continue; - } - const encodedCodePoints = percentEncodeChar(codePoint, isUserinfoPercentEncode); - if (this.passwordTokenSeenFlag) { - this.url.password += encodedCodePoints; - } else { - this.url.username += encodedCodePoints; - } - } - this.buffer = ""; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92)) { - if (this.atFlag && this.buffer === "") { - this.parseError = true; - return failure; - } - this.pointer -= countSymbols(this.buffer) + 1; - this.buffer = ""; - this.state = "host"; - } else { - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse hostname"] = - URLStateMachine.prototype["parse host"] = function parseHostName(c, cStr) { - if (this.stateOverride && this.url.scheme === "file") { - --this.pointer; - this.state = "file host"; - } else if (c === 58 && !this.arrFlag) { - if (this.buffer === "") { - this.parseError = true; - return failure; - } - - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - - this.url.host = host; - this.buffer = ""; - this.state = "port"; - if (this.stateOverride === "hostname") { - return false; - } - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92)) { - --this.pointer; - if (isSpecial(this.url) && this.buffer === "") { - this.parseError = true; - return failure; - } else if (this.stateOverride && this.buffer === "" && - (includesCredentials(this.url) || this.url.port !== null)) { - this.parseError = true; - return false; - } - - const host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - - this.url.host = host; - this.buffer = ""; - this.state = "path start"; - if (this.stateOverride) { - return false; - } - } else { - if (c === 91) { - this.arrFlag = true; - } else if (c === 93) { - this.arrFlag = false; - } - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse port"] = function parsePort(c, cStr) { - if (isASCIIDigit(c)) { - this.buffer += cStr; - } else if (isNaN(c) || c === 47 || c === 63 || c === 35 || - (isSpecial(this.url) && c === 92) || - this.stateOverride) { - if (this.buffer !== "") { - const port = parseInt(this.buffer); - if (port > Math.pow(2, 16) - 1) { - this.parseError = true; - return failure; - } - this.url.port = port === defaultPort(this.url.scheme) ? null : port; - this.buffer = ""; - } - if (this.stateOverride) { - return false; - } - this.state = "path start"; - --this.pointer; - } else { - this.parseError = true; - return failure; - } - - return true; - }; - - const fileOtherwiseCodePoints = new Set([47, 92, 63, 35]); - - URLStateMachine.prototype["parse file"] = function parseFile(c) { - this.url.scheme = "file"; - - if (c === 47 || c === 92) { - if (c === 92) { - this.parseError = true; - } - this.state = "file slash"; - } else if (this.base !== null && this.base.scheme === "file") { - if (isNaN(c)) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - } else if (c === 63) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - this.url.query = this.base.query; - this.url.fragment = ""; - this.state = "fragment"; - } else { - if (this.input.length - this.pointer - 1 === 0 || // remaining consists of 0 code points - !isWindowsDriveLetterCodePoints(c, this.input[this.pointer + 1]) || - (this.input.length - this.pointer - 1 >= 2 && // remaining has at least 2 code points - !fileOtherwiseCodePoints.has(this.input[this.pointer + 2]))) { - this.url.host = this.base.host; - this.url.path = this.base.path.slice(); - shortenPath(this.url); - } else { - this.parseError = true; - } - - this.state = "path"; - --this.pointer; - } - } else { - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse file slash"] = function parseFileSlash(c) { - if (c === 47 || c === 92) { - if (c === 92) { - this.parseError = true; - } - this.state = "file host"; - } else { - if (this.base !== null && this.base.scheme === "file") { - if (isNormalizedWindowsDriveLetterString(this.base.path[0])) { - this.url.path.push(this.base.path[0]); - } else { - this.url.host = this.base.host; - } - } - this.state = "path"; - --this.pointer; - } - - return true; - }; - - URLStateMachine.prototype["parse file host"] = function parseFileHost(c, cStr) { - if (isNaN(c) || c === 47 || c === 92 || c === 63 || c === 35) { - --this.pointer; - if (!this.stateOverride && isWindowsDriveLetterString(this.buffer)) { - this.parseError = true; - this.state = "path"; - } else if (this.buffer === "") { - this.url.host = ""; - if (this.stateOverride) { - return false; - } - this.state = "path start"; - } else { - let host = parseHost(this.buffer, isSpecial(this.url)); - if (host === failure) { - return failure; - } - if (host === "localhost") { - host = ""; - } - this.url.host = host; - - if (this.stateOverride) { - return false; - } - - this.buffer = ""; - this.state = "path start"; - } - } else { - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse path start"] = function parsePathStart(c) { - if (isSpecial(this.url)) { - if (c === 92) { - this.parseError = true; - } - this.state = "path"; - - if (c !== 47 && c !== 92) { - --this.pointer; - } - } else if (!this.stateOverride && c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (!this.stateOverride && c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else if (c !== undefined) { - this.state = "path"; - if (c !== 47) { - --this.pointer; - } - } - - return true; - }; - - URLStateMachine.prototype["parse path"] = function parsePath(c) { - if (isNaN(c) || c === 47 || (isSpecial(this.url) && c === 92) || - (!this.stateOverride && (c === 63 || c === 35))) { - if (isSpecial(this.url) && c === 92) { - this.parseError = true; - } - - if (isDoubleDot(this.buffer)) { - shortenPath(this.url); - if (c !== 47 && !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); - } - } else if (isSingleDot(this.buffer) && c !== 47 && - !(isSpecial(this.url) && c === 92)) { - this.url.path.push(""); - } else if (!isSingleDot(this.buffer)) { - if (this.url.scheme === "file" && this.url.path.length === 0 && isWindowsDriveLetterString(this.buffer)) { - if (this.url.host !== "" && this.url.host !== null) { - this.parseError = true; - this.url.host = ""; - } - this.buffer = this.buffer[0] + ":"; - } - this.url.path.push(this.buffer); - } - this.buffer = ""; - if (this.url.scheme === "file" && (c === undefined || c === 63 || c === 35)) { - while (this.url.path.length > 1 && this.url.path[0] === "") { - this.parseError = true; - this.url.path.shift(); - } - } - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } - if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } - } else { - // TODO: If c is not a URL code point and not "%", parse error. - - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.buffer += percentEncodeChar(c, isPathPercentEncode); - } - - return true; - }; - - URLStateMachine.prototype["parse cannot-be-a-base-URL path"] = function parseCannotBeABaseURLPath(c) { - if (c === 63) { - this.url.query = ""; - this.state = "query"; - } else if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } else { - // TODO: Add: not a URL code point - if (!isNaN(c) && c !== 37) { - this.parseError = true; - } - - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - if (!isNaN(c)) { - this.url.path[0] = this.url.path[0] + percentEncodeChar(c, isC0ControlPercentEncode); - } - } - - return true; - }; - - URLStateMachine.prototype["parse query"] = function parseQuery(c, cStr) { - if (isNaN(c) || (!this.stateOverride && c === 35)) { - if (!isSpecial(this.url) || this.url.scheme === "ws" || this.url.scheme === "wss") { - this.encodingOverride = "utf-8"; - } - - const buffer = new Buffer(this.buffer); // TODO: Use encoding override instead - for (let i = 0; i < buffer.length; ++i) { - if (buffer[i] < 0x21 || buffer[i] > 0x7E || buffer[i] === 0x22 || buffer[i] === 0x23 || - buffer[i] === 0x3C || buffer[i] === 0x3E) { - this.url.query += percentEncode(buffer[i]); - } else { - this.url.query += String.fromCodePoint(buffer[i]); - } - } - - this.buffer = ""; - if (c === 35) { - this.url.fragment = ""; - this.state = "fragment"; - } - } else { - // TODO: If c is not a URL code point and not "%", parse error. - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.buffer += cStr; - } - - return true; - }; - - URLStateMachine.prototype["parse fragment"] = function parseFragment(c) { - if (isNaN(c)) ; else if (c === 0x0) { - this.parseError = true; - } else { - // TODO: If c is not a URL code point and not "%", parse error. - if (c === 37 && - (!isASCIIHex(this.input[this.pointer + 1]) || - !isASCIIHex(this.input[this.pointer + 2]))) { - this.parseError = true; - } - - this.url.fragment += percentEncodeChar(c, isC0ControlPercentEncode); - } - - return true; - }; - - function serializeURL(url, excludeFragment) { - let output = url.scheme + ":"; - if (url.host !== null) { - output += "//"; - - if (url.username !== "" || url.password !== "") { - output += url.username; - if (url.password !== "") { - output += ":" + url.password; - } - output += "@"; - } - - output += serializeHost(url.host); - - if (url.port !== null) { - output += ":" + url.port; - } - } else if (url.host === null && url.scheme === "file") { - output += "//"; - } - - if (url.cannotBeABaseURL) { - output += url.path[0]; - } else { - for (const string of url.path) { - output += "/" + string; - } - } - - if (url.query !== null) { - output += "?" + url.query; - } - - if (!excludeFragment && url.fragment !== null) { - output += "#" + url.fragment; - } - - return output; - } - - function serializeOrigin(tuple) { - let result = tuple.scheme + "://"; - result += serializeHost(tuple.host); - - if (tuple.port !== null) { - result += ":" + tuple.port; - } - - return result; - } - - module.exports.serializeURL = serializeURL; - - module.exports.serializeURLOrigin = function (url) { - // https://url.spec.whatwg.org/#concept-url-origin - switch (url.scheme) { - case "blob": - try { - return module.exports.serializeURLOrigin(module.exports.parseURL(url.path[0])); - } catch (e) { - // serializing an opaque origin returns "null" - return "null"; - } - case "ftp": - case "gopher": - case "http": - case "https": - case "ws": - case "wss": - return serializeOrigin({ - scheme: url.scheme, - host: url.host, - port: url.port - }); - case "file": - // spec says "exercise to the reader", chrome says "file://" - return "file://"; - default: - // serializing an opaque origin returns "null" - return "null"; - } - }; - - module.exports.basicURLParse = function (input, options) { - if (options === undefined) { - options = {}; - } - - const usm = new URLStateMachine(input, options.baseURL, options.encodingOverride, options.url, options.stateOverride); - if (usm.failure) { - return "failure"; - } - - return usm.url; - }; - - module.exports.setTheUsername = function (url, username) { - url.username = ""; - const decoded = punycode.ucs2.decode(username); - for (let i = 0; i < decoded.length; ++i) { - url.username += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - } - }; - - module.exports.setThePassword = function (url, password) { - url.password = ""; - const decoded = punycode.ucs2.decode(password); - for (let i = 0; i < decoded.length; ++i) { - url.password += percentEncodeChar(decoded[i], isUserinfoPercentEncode); - } - }; - - module.exports.serializeHost = serializeHost; - - module.exports.cannotHaveAUsernamePasswordPort = cannotHaveAUsernamePasswordPort; - - module.exports.serializeInteger = function (integer) { - return String(integer); - }; - - module.exports.parseURL = function (input, options) { - if (options === undefined) { - options = {}; - } - - // We don't handle blobs, so this just delegates: - return module.exports.basicURLParse(input, { baseURL: options.baseURL, encodingOverride: options.encodingOverride }); - }; -} (urlStateMachine)); - -const usm = urlStateMachine.exports; - -URLImpl.implementation = class URLImpl { - constructor(constructorArgs) { - const url = constructorArgs[0]; - const base = constructorArgs[1]; - - let parsedBase = null; - if (base !== undefined) { - parsedBase = usm.basicURLParse(base); - if (parsedBase === "failure") { - throw new TypeError("Invalid base URL"); - } - } - - const parsedURL = usm.basicURLParse(url, { baseURL: parsedBase }); - if (parsedURL === "failure") { - throw new TypeError("Invalid URL"); - } - - this._url = parsedURL; - - // TODO: query stuff - } - - get href() { - return usm.serializeURL(this._url); - } - - set href(v) { - const parsedURL = usm.basicURLParse(v); - if (parsedURL === "failure") { - throw new TypeError("Invalid URL"); - } - - this._url = parsedURL; - } - - get origin() { - return usm.serializeURLOrigin(this._url); - } - - get protocol() { - return this._url.scheme + ":"; - } - - set protocol(v) { - usm.basicURLParse(v + ":", { url: this._url, stateOverride: "scheme start" }); - } - - get username() { - return this._url.username; - } - - set username(v) { - if (usm.cannotHaveAUsernamePasswordPort(this._url)) { - return; - } - - usm.setTheUsername(this._url, v); - } - - get password() { - return this._url.password; - } - - set password(v) { - if (usm.cannotHaveAUsernamePasswordPort(this._url)) { - return; - } - - usm.setThePassword(this._url, v); - } - - get host() { - const url = this._url; - - if (url.host === null) { - return ""; - } - - if (url.port === null) { - return usm.serializeHost(url.host); - } - - return usm.serializeHost(url.host) + ":" + usm.serializeInteger(url.port); - } - - set host(v) { - if (this._url.cannotBeABaseURL) { - return; - } - - usm.basicURLParse(v, { url: this._url, stateOverride: "host" }); - } - - get hostname() { - if (this._url.host === null) { - return ""; - } - - return usm.serializeHost(this._url.host); - } - - set hostname(v) { - if (this._url.cannotBeABaseURL) { - return; - } - - usm.basicURLParse(v, { url: this._url, stateOverride: "hostname" }); - } - - get port() { - if (this._url.port === null) { - return ""; - } - - return usm.serializeInteger(this._url.port); - } - - set port(v) { - if (usm.cannotHaveAUsernamePasswordPort(this._url)) { - return; - } - - if (v === "") { - this._url.port = null; - } else { - usm.basicURLParse(v, { url: this._url, stateOverride: "port" }); - } - } - - get pathname() { - if (this._url.cannotBeABaseURL) { - return this._url.path[0]; - } - - if (this._url.path.length === 0) { - return ""; - } - - return "/" + this._url.path.join("/"); - } - - set pathname(v) { - if (this._url.cannotBeABaseURL) { - return; - } - - this._url.path = []; - usm.basicURLParse(v, { url: this._url, stateOverride: "path start" }); - } - - get search() { - if (this._url.query === null || this._url.query === "") { - return ""; - } - - return "?" + this._url.query; - } - - set search(v) { - // TODO: query stuff - - const url = this._url; - - if (v === "") { - url.query = null; - return; - } - - const input = v[0] === "?" ? v.substring(1) : v; - url.query = ""; - usm.basicURLParse(input, { url, stateOverride: "query" }); - } - - get hash() { - if (this._url.fragment === null || this._url.fragment === "") { - return ""; - } - - return "#" + this._url.fragment; - } - - set hash(v) { - if (v === "") { - this._url.fragment = null; - return; - } - - const input = v[0] === "#" ? v.substring(1) : v; - this._url.fragment = ""; - usm.basicURLParse(input, { url: this._url, stateOverride: "fragment" }); - } - - toJSON() { - return this.href; - } -}; - -(function (module) { - - const conversions = lib$3; - const utils = utils$n.exports; - const Impl = URLImpl; - - const impl = utils.implSymbol; - - function URL(url) { - if (!this || this[impl] || !(this instanceof URL)) { - throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function."); - } - if (arguments.length < 1) { - throw new TypeError("Failed to construct 'URL': 1 argument required, but only " + arguments.length + " present."); - } - const args = []; - for (let i = 0; i < arguments.length && i < 2; ++i) { - args[i] = arguments[i]; - } - args[0] = conversions["USVString"](args[0]); - if (args[1] !== undefined) { - args[1] = conversions["USVString"](args[1]); - } - - module.exports.setup(this, args); - } - - URL.prototype.toJSON = function toJSON() { - if (!this || !module.exports.is(this)) { - throw new TypeError("Illegal invocation"); - } - const args = []; - for (let i = 0; i < arguments.length && i < 0; ++i) { - args[i] = arguments[i]; - } - return this[impl].toJSON.apply(this[impl], args); - }; - Object.defineProperty(URL.prototype, "href", { - get() { - return this[impl].href; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].href = V; - }, - enumerable: true, - configurable: true - }); - - URL.prototype.toString = function () { - if (!this || !module.exports.is(this)) { - throw new TypeError("Illegal invocation"); - } - return this.href; - }; - - Object.defineProperty(URL.prototype, "origin", { - get() { - return this[impl].origin; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "protocol", { - get() { - return this[impl].protocol; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].protocol = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "username", { - get() { - return this[impl].username; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].username = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "password", { - get() { - return this[impl].password; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].password = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "host", { - get() { - return this[impl].host; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].host = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "hostname", { - get() { - return this[impl].hostname; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].hostname = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "port", { - get() { - return this[impl].port; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].port = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "pathname", { - get() { - return this[impl].pathname; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].pathname = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "search", { - get() { - return this[impl].search; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].search = V; - }, - enumerable: true, - configurable: true - }); - - Object.defineProperty(URL.prototype, "hash", { - get() { - return this[impl].hash; - }, - set(V) { - V = conversions["USVString"](V); - this[impl].hash = V; - }, - enumerable: true, - configurable: true - }); - - - module.exports = { - is(obj) { - return !!obj && obj[impl] instanceof Impl.implementation; - }, - create(constructorArgs, privateData) { - let obj = Object.create(URL.prototype); - this.setup(obj, constructorArgs, privateData); - return obj; - }, - setup(obj, constructorArgs, privateData) { - if (!privateData) privateData = {}; - privateData.wrapper = obj; - - obj[impl] = new Impl.implementation(constructorArgs, privateData); - obj[impl][utils.wrapperSymbol] = obj; - }, - interface: URL, - expose: { - Window: { URL: URL }, - Worker: { URL: URL } - } - }; -} (URL$2)); - -publicApi.URL = URL$2.exports.interface; -publicApi.serializeURL = urlStateMachine.exports.serializeURL; -publicApi.serializeURLOrigin = urlStateMachine.exports.serializeURLOrigin; -publicApi.basicURLParse = urlStateMachine.exports.basicURLParse; -publicApi.setTheUsername = urlStateMachine.exports.setTheUsername; -publicApi.setThePassword = urlStateMachine.exports.setThePassword; -publicApi.serializeHost = urlStateMachine.exports.serializeHost; -publicApi.serializeInteger = urlStateMachine.exports.serializeInteger; -publicApi.parseURL = urlStateMachine.exports.parseURL; - -// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js - -// fix for "Readable" isn't a named export issue -const Readable = Stream__default["default"].Readable; - -const BUFFER = Symbol('buffer'); -const TYPE = Symbol('type'); - -class Blob { - constructor() { - this[TYPE] = ''; - - const blobParts = arguments[0]; - const options = arguments[1]; - - const buffers = []; - let size = 0; - - if (blobParts) { - const a = blobParts; - const length = Number(a.length); - for (let i = 0; i < length; i++) { - const element = a[i]; - let buffer; - if (element instanceof Buffer) { - buffer = element; - } else if (ArrayBuffer.isView(element)) { - buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength); - } else if (element instanceof ArrayBuffer) { - buffer = Buffer.from(element); - } else if (element instanceof Blob) { - buffer = element[BUFFER]; - } else { - buffer = Buffer.from(typeof element === 'string' ? element : String(element)); - } - size += buffer.length; - buffers.push(buffer); - } - } - - this[BUFFER] = Buffer.concat(buffers); - - let type = options && options.type !== undefined && String(options.type).toLowerCase(); - if (type && !/[^\u0020-\u007E]/.test(type)) { - this[TYPE] = type; - } - } - get size() { - return this[BUFFER].length; - } - get type() { - return this[TYPE]; - } - text() { - return Promise.resolve(this[BUFFER].toString()); - } - arrayBuffer() { - const buf = this[BUFFER]; - const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - return Promise.resolve(ab); - } - stream() { - const readable = new Readable(); - readable._read = function () {}; - readable.push(this[BUFFER]); - readable.push(null); - return readable; - } - toString() { - return '[object Blob]'; - } - slice() { - const size = this.size; - - const start = arguments[0]; - const end = arguments[1]; - let relativeStart, relativeEnd; - if (start === undefined) { - relativeStart = 0; - } else if (start < 0) { - relativeStart = Math.max(size + start, 0); - } else { - relativeStart = Math.min(start, size); - } - if (end === undefined) { - relativeEnd = size; - } else if (end < 0) { - relativeEnd = Math.max(size + end, 0); - } else { - relativeEnd = Math.min(end, size); - } - const span = Math.max(relativeEnd - relativeStart, 0); - - const buffer = this[BUFFER]; - const slicedBuffer = buffer.slice(relativeStart, relativeStart + span); - const blob = new Blob([], { type: arguments[2] }); - blob[BUFFER] = slicedBuffer; - return blob; - } -} - -Object.defineProperties(Blob.prototype, { - size: { enumerable: true }, - type: { enumerable: true }, - slice: { enumerable: true } -}); - -Object.defineProperty(Blob.prototype, Symbol.toStringTag, { - value: 'Blob', - writable: false, - enumerable: false, - configurable: true -}); - -/** - * fetch-error.js - * - * FetchError interface for operational errors - */ - -/** - * Create FetchError instance - * - * @param String message Error message for human - * @param String type Error type for machine - * @param String systemError For Node.js system error - * @return FetchError - */ -function FetchError(message, type, systemError) { - Error.call(this, message); - - this.message = message; - this.type = type; - - // when err.type is `system`, err.code contains system error code - if (systemError) { - this.code = this.errno = systemError.code; - } - - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); -} - -FetchError.prototype = Object.create(Error.prototype); -FetchError.prototype.constructor = FetchError; -FetchError.prototype.name = 'FetchError'; - -let convert$2; -try { - convert$2 = require('encoding').convert; -} catch (e) {} - -const INTERNALS = Symbol('Body internals'); - -// fix an issue where "PassThrough" isn't a named export for node <10 -const PassThrough = Stream__default["default"].PassThrough; - -/** - * Body mixin - * - * Ref: https://fetch.spec.whatwg.org/#body - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -function Body(body) { - var _this = this; - - var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}, - _ref$size = _ref.size; - - let size = _ref$size === undefined ? 0 : _ref$size; - var _ref$timeout = _ref.timeout; - let timeout = _ref$timeout === undefined ? 0 : _ref$timeout; - - if (body == null) { - // body is undefined or null - body = null; - } else if (isURLSearchParams(body)) { - // body is a URLSearchParams - body = Buffer.from(body.toString()); - } else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') { - // body is ArrayBuffer - body = Buffer.from(body); - } else if (ArrayBuffer.isView(body)) { - // body is ArrayBufferView - body = Buffer.from(body.buffer, body.byteOffset, body.byteLength); - } else if (body instanceof Stream__default["default"]) ; else { - // none of the above - // coerce to string then buffer - body = Buffer.from(String(body)); - } - this[INTERNALS] = { - body, - disturbed: false, - error: null - }; - this.size = size; - this.timeout = timeout; - - if (body instanceof Stream__default["default"]) { - body.on('error', function (err) { - const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err); - _this[INTERNALS].error = error; - }); - } -} - -Body.prototype = { - get body() { - return this[INTERNALS].body; - }, - - get bodyUsed() { - return this[INTERNALS].disturbed; - }, - - /** - * Decode response as ArrayBuffer - * - * @return Promise - */ - arrayBuffer() { - return consumeBody.call(this).then(function (buf) { - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); - }); - }, - - /** - * Return raw response as Blob - * - * @return Promise - */ - blob() { - let ct = this.headers && this.headers.get('content-type') || ''; - return consumeBody.call(this).then(function (buf) { - return Object.assign( - // Prevent copying - new Blob([], { - type: ct.toLowerCase() - }), { - [BUFFER]: buf - }); - }); - }, - - /** - * Decode response as json - * - * @return Promise - */ - json() { - var _this2 = this; - - return consumeBody.call(this).then(function (buffer) { - try { - return JSON.parse(buffer.toString()); - } catch (err) { - return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json')); - } - }); - }, - - /** - * Decode response as text - * - * @return Promise - */ - text() { - return consumeBody.call(this).then(function (buffer) { - return buffer.toString(); - }); - }, - - /** - * Decode response as buffer (non-spec api) - * - * @return Promise - */ - buffer() { - return consumeBody.call(this); - }, - - /** - * Decode response as text, while automatically detecting the encoding and - * trying to decode to UTF-8 (non-spec api) - * - * @return Promise - */ - textConverted() { - var _this3 = this; - - return consumeBody.call(this).then(function (buffer) { - return convertBody(buffer, _this3.headers); - }); - } -}; - -// In browsers, all properties are enumerable. -Object.defineProperties(Body.prototype, { - body: { enumerable: true }, - bodyUsed: { enumerable: true }, - arrayBuffer: { enumerable: true }, - blob: { enumerable: true }, - json: { enumerable: true }, - text: { enumerable: true } -}); - -Body.mixIn = function (proto) { - for (const name of Object.getOwnPropertyNames(Body.prototype)) { - // istanbul ignore else: future proof - if (!(name in proto)) { - const desc = Object.getOwnPropertyDescriptor(Body.prototype, name); - Object.defineProperty(proto, name, desc); - } - } -}; - -/** - * Consume and convert an entire Body to a Buffer. - * - * Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body - * - * @return Promise - */ -function consumeBody() { - var _this4 = this; - - if (this[INTERNALS].disturbed) { - return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`)); - } - - this[INTERNALS].disturbed = true; - - if (this[INTERNALS].error) { - return Body.Promise.reject(this[INTERNALS].error); - } - - let body = this.body; - - // body is null - if (body === null) { - return Body.Promise.resolve(Buffer.alloc(0)); - } - - // body is blob - if (isBlob(body)) { - body = body.stream(); - } - - // body is buffer - if (Buffer.isBuffer(body)) { - return Body.Promise.resolve(body); - } - - // istanbul ignore if: should never happen - if (!(body instanceof Stream__default["default"])) { - return Body.Promise.resolve(Buffer.alloc(0)); - } - - // body is stream - // get ready to actually consume the body - let accum = []; - let accumBytes = 0; - let abort = false; - - return new Body.Promise(function (resolve, reject) { - let resTimeout; - - // allow timeout on slow response body - if (_this4.timeout) { - resTimeout = setTimeout(function () { - abort = true; - reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout')); - }, _this4.timeout); - } - - // handle stream errors - body.on('error', function (err) { - if (err.name === 'AbortError') { - // if the request was aborted, reject with this Error - abort = true; - reject(err); - } else { - // other errors, such as incorrect content-encoding - reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err)); - } - }); - - body.on('data', function (chunk) { - if (abort || chunk === null) { - return; - } - - if (_this4.size && accumBytes + chunk.length > _this4.size) { - abort = true; - reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size')); - return; - } - - accumBytes += chunk.length; - accum.push(chunk); - }); - - body.on('end', function () { - if (abort) { - return; - } - - clearTimeout(resTimeout); - - try { - resolve(Buffer.concat(accum, accumBytes)); - } catch (err) { - // handle streams that have accumulated too much data (issue #414) - reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err)); - } - }); - }); -} - -/** - * Detect buffer encoding and convert to target encoding - * ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding - * - * @param Buffer buffer Incoming buffer - * @param String encoding Target encoding - * @return String - */ -function convertBody(buffer, headers) { - if (typeof convert$2 !== 'function') { - throw new Error('The package `encoding` must be installed to use the textConverted() function'); - } - - const ct = headers.get('content-type'); - let charset = 'utf-8'; - let res, str; - - // header - if (ct) { - res = /charset=([^;]*)/i.exec(ct); - } - - // no charset in content type, peek at response body for at most 1024 bytes - str = buffer.slice(0, 1024).toString(); - - // html5 - if (!res && str) { - res = / 0 && arguments[0] !== undefined ? arguments[0] : undefined; - - this[MAP] = Object.create(null); - - if (init instanceof Headers) { - const rawHeaders = init.raw(); - const headerNames = Object.keys(rawHeaders); - - for (const headerName of headerNames) { - for (const value of rawHeaders[headerName]) { - this.append(headerName, value); - } - } - - return; - } - - // We don't worry about converting prop to ByteString here as append() - // will handle it. - if (init == null) ; else if (typeof init === 'object') { - const method = init[Symbol.iterator]; - if (method != null) { - if (typeof method !== 'function') { - throw new TypeError('Header pairs must be iterable'); - } - - // sequence> - // Note: per spec we have to first exhaust the lists then process them - const pairs = []; - for (const pair of init) { - if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') { - throw new TypeError('Each header pair must be iterable'); - } - pairs.push(Array.from(pair)); - } - - for (const pair of pairs) { - if (pair.length !== 2) { - throw new TypeError('Each header pair must be a name/value tuple'); - } - this.append(pair[0], pair[1]); - } - } else { - // record - for (const key of Object.keys(init)) { - const value = init[key]; - this.append(key, value); - } - } - } else { - throw new TypeError('Provided initializer must be an object'); - } - } - - /** - * Return combined header value given name - * - * @param String name Header name - * @return Mixed - */ - get(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key === undefined) { - return null; - } - - return this[MAP][key].join(', '); - } - - /** - * Iterate over all headers - * - * @param Function callback Executed for each item with parameters (value, name, thisArg) - * @param Boolean thisArg `this` context for callback function - * @return Void - */ - forEach(callback) { - let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined; - - let pairs = getHeaders(this); - let i = 0; - while (i < pairs.length) { - var _pairs$i = pairs[i]; - const name = _pairs$i[0], - value = _pairs$i[1]; - - callback.call(thisArg, value, name, this); - pairs = getHeaders(this); - i++; - } - } - - /** - * Overwrite header values given name - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - set(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - this[MAP][key !== undefined ? key : name] = [value]; - } - - /** - * Append a value onto existing header - * - * @param String name Header name - * @param String value Header value - * @return Void - */ - append(name, value) { - name = `${name}`; - value = `${value}`; - validateName(name); - validateValue(value); - const key = find(this[MAP], name); - if (key !== undefined) { - this[MAP][key].push(value); - } else { - this[MAP][name] = [value]; - } - } - - /** - * Check for header name existence - * - * @param String name Header name - * @return Boolean - */ - has(name) { - name = `${name}`; - validateName(name); - return find(this[MAP], name) !== undefined; - } - - /** - * Delete all header values given name - * - * @param String name Header name - * @return Void - */ - delete(name) { - name = `${name}`; - validateName(name); - const key = find(this[MAP], name); - if (key !== undefined) { - delete this[MAP][key]; - } - } - - /** - * Return raw headers (non-spec api) - * - * @return Object - */ - raw() { - return this[MAP]; - } - - /** - * Get an iterator on keys. - * - * @return Iterator - */ - keys() { - return createHeadersIterator(this, 'key'); - } - - /** - * Get an iterator on values. - * - * @return Iterator - */ - values() { - return createHeadersIterator(this, 'value'); - } - - /** - * Get an iterator on entries. - * - * This is the default iterator of the Headers object. - * - * @return Iterator - */ - [Symbol.iterator]() { - return createHeadersIterator(this, 'key+value'); - } -} -Headers.prototype.entries = Headers.prototype[Symbol.iterator]; - -Object.defineProperty(Headers.prototype, Symbol.toStringTag, { - value: 'Headers', - writable: false, - enumerable: false, - configurable: true -}); - -Object.defineProperties(Headers.prototype, { - get: { enumerable: true }, - forEach: { enumerable: true }, - set: { enumerable: true }, - append: { enumerable: true }, - has: { enumerable: true }, - delete: { enumerable: true }, - keys: { enumerable: true }, - values: { enumerable: true }, - entries: { enumerable: true } -}); - -function getHeaders(headers) { - let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value'; - - const keys = Object.keys(headers[MAP]).sort(); - return keys.map(kind === 'key' ? function (k) { - return k.toLowerCase(); - } : kind === 'value' ? function (k) { - return headers[MAP][k].join(', '); - } : function (k) { - return [k.toLowerCase(), headers[MAP][k].join(', ')]; - }); -} - -const INTERNAL = Symbol('internal'); - -function createHeadersIterator(target, kind) { - const iterator = Object.create(HeadersIteratorPrototype); - iterator[INTERNAL] = { - target, - kind, - index: 0 - }; - return iterator; -} - -const HeadersIteratorPrototype = Object.setPrototypeOf({ - next() { - // istanbul ignore if - if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) { - throw new TypeError('Value of `this` is not a HeadersIterator'); - } - - var _INTERNAL = this[INTERNAL]; - const target = _INTERNAL.target, - kind = _INTERNAL.kind, - index = _INTERNAL.index; - - const values = getHeaders(target, kind); - const len = values.length; - if (index >= len) { - return { - value: undefined, - done: true - }; - } - - this[INTERNAL].index = index + 1; - - return { - value: values[index], - done: false - }; - } -}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))); - -Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, { - value: 'HeadersIterator', - writable: false, - enumerable: false, - configurable: true -}); - -/** - * Export the Headers object in a form that Node.js can consume. - * - * @param Headers headers - * @return Object - */ -function exportNodeCompatibleHeaders(headers) { - const obj = Object.assign({ __proto__: null }, headers[MAP]); - - // http.request() only supports string as Host header. This hack makes - // specifying custom Host header possible. - const hostHeaderKey = find(headers[MAP], 'Host'); - if (hostHeaderKey !== undefined) { - obj[hostHeaderKey] = obj[hostHeaderKey][0]; - } - - return obj; -} - -/** - * Create a Headers object from an object of headers, ignoring those that do - * not conform to HTTP grammar productions. - * - * @param Object obj Object of headers - * @return Headers - */ -function createHeadersLenient(obj) { - const headers = new Headers(); - for (const name of Object.keys(obj)) { - if (invalidTokenRegex.test(name)) { - continue; - } - if (Array.isArray(obj[name])) { - for (const val of obj[name]) { - if (invalidHeaderCharRegex.test(val)) { - continue; - } - if (headers[MAP][name] === undefined) { - headers[MAP][name] = [val]; - } else { - headers[MAP][name].push(val); - } - } - } else if (!invalidHeaderCharRegex.test(obj[name])) { - headers[MAP][name] = [obj[name]]; - } - } - return headers; -} - -const INTERNALS$1 = Symbol('Response internals'); - -// fix an issue where "STATUS_CODES" aren't a named export for node <10 -const STATUS_CODES = http__default["default"].STATUS_CODES; - -/** - * Response class - * - * @param Stream body Readable stream - * @param Object opts Response options - * @return Void - */ -class Response { - constructor() { - let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null; - let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - Body.call(this, body, opts); - - const status = opts.status || 200; - const headers = new Headers(opts.headers); - - if (body != null && !headers.has('Content-Type')) { - const contentType = extractContentType(body); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - this[INTERNALS$1] = { - url: opts.url, - status, - statusText: opts.statusText || STATUS_CODES[status], - headers, - counter: opts.counter - }; - } - - get url() { - return this[INTERNALS$1].url || ''; - } - - get status() { - return this[INTERNALS$1].status; - } - - /** - * Convenience property representing if the request ended normally - */ - get ok() { - return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300; - } - - get redirected() { - return this[INTERNALS$1].counter > 0; - } - - get statusText() { - return this[INTERNALS$1].statusText; - } - - get headers() { - return this[INTERNALS$1].headers; - } - - /** - * Clone this response - * - * @return Response - */ - clone() { - return new Response(clone(this), { - url: this.url, - status: this.status, - statusText: this.statusText, - headers: this.headers, - ok: this.ok, - redirected: this.redirected - }); - } -} - -Body.mixIn(Response.prototype); - -Object.defineProperties(Response.prototype, { - url: { enumerable: true }, - status: { enumerable: true }, - ok: { enumerable: true }, - redirected: { enumerable: true }, - statusText: { enumerable: true }, - headers: { enumerable: true }, - clone: { enumerable: true } -}); - -Object.defineProperty(Response.prototype, Symbol.toStringTag, { - value: 'Response', - writable: false, - enumerable: false, - configurable: true -}); - -const INTERNALS$2 = Symbol('Request internals'); -const URL$1 = Url__default["default"].URL || publicApi.URL; - -// fix an issue where "format", "parse" aren't a named export for node <10 -const parse_url = Url__default["default"].parse; -const format_url = Url__default["default"].format; - -/** - * Wrapper around `new URL` to handle arbitrary URLs - * - * @param {string} urlStr - * @return {void} - */ -function parseURL(urlStr) { - /* - Check whether the URL is absolute or not - Scheme: https://tools.ietf.org/html/rfc3986#section-3.1 - Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3 - */ - if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) { - urlStr = new URL$1(urlStr).toString(); - } - - // Fallback to old implementation for arbitrary URLs - return parse_url(urlStr); -} - -const streamDestructionSupported = 'destroy' in Stream__default["default"].Readable.prototype; - -/** - * Check if a value is an instance of Request. - * - * @param Mixed input - * @return Boolean - */ -function isRequest(input) { - return typeof input === 'object' && typeof input[INTERNALS$2] === 'object'; -} - -function isAbortSignal(signal) { - const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal); - return !!(proto && proto.constructor.name === 'AbortSignal'); -} - -/** - * Request class - * - * @param Mixed input Url or Request instance - * @param Object init Custom options - * @return Void - */ -class Request { - constructor(input) { - let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - let parsedURL; - - // normalize input - if (!isRequest(input)) { - if (input && input.href) { - // in order to support Node.js' Url objects; though WHATWG's URL objects - // will fall into this branch also (since their `toString()` will return - // `href` property anyway) - parsedURL = parseURL(input.href); - } else { - // coerce input to a string before attempting to parse - parsedURL = parseURL(`${input}`); - } - input = {}; - } else { - parsedURL = parseURL(input.url); - } - - let method = init.method || input.method || 'GET'; - method = method.toUpperCase(); - - if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) { - throw new TypeError('Request with GET/HEAD method cannot have body'); - } - - let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null; - - Body.call(this, inputBody, { - timeout: init.timeout || input.timeout || 0, - size: init.size || input.size || 0 - }); - - const headers = new Headers(init.headers || input.headers || {}); - - if (inputBody != null && !headers.has('Content-Type')) { - const contentType = extractContentType(inputBody); - if (contentType) { - headers.append('Content-Type', contentType); - } - } - - let signal = isRequest(input) ? input.signal : null; - if ('signal' in init) signal = init.signal; - - if (signal != null && !isAbortSignal(signal)) { - throw new TypeError('Expected signal to be an instanceof AbortSignal'); - } - - this[INTERNALS$2] = { - method, - redirect: init.redirect || input.redirect || 'follow', - headers, - parsedURL, - signal - }; - - // node-fetch-only options - this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20; - this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true; - this.counter = init.counter || input.counter || 0; - this.agent = init.agent || input.agent; - } - - get method() { - return this[INTERNALS$2].method; - } - - get url() { - return format_url(this[INTERNALS$2].parsedURL); - } - - get headers() { - return this[INTERNALS$2].headers; - } - - get redirect() { - return this[INTERNALS$2].redirect; - } - - get signal() { - return this[INTERNALS$2].signal; - } - - /** - * Clone this request - * - * @return Request - */ - clone() { - return new Request(this); - } -} - -Body.mixIn(Request.prototype); - -Object.defineProperty(Request.prototype, Symbol.toStringTag, { - value: 'Request', - writable: false, - enumerable: false, - configurable: true -}); - -Object.defineProperties(Request.prototype, { - method: { enumerable: true }, - url: { enumerable: true }, - headers: { enumerable: true }, - redirect: { enumerable: true }, - clone: { enumerable: true }, - signal: { enumerable: true } -}); - -/** - * Convert a Request to Node.js http request options. - * - * @param Request A Request instance - * @return Object The options object to be passed to http.request - */ -function getNodeRequestOptions(request) { - const parsedURL = request[INTERNALS$2].parsedURL; - const headers = new Headers(request[INTERNALS$2].headers); - - // fetch step 1.3 - if (!headers.has('Accept')) { - headers.set('Accept', '*/*'); - } - - // Basic fetch - if (!parsedURL.protocol || !parsedURL.hostname) { - throw new TypeError('Only absolute URLs are supported'); - } - - if (!/^https?:$/.test(parsedURL.protocol)) { - throw new TypeError('Only HTTP(S) protocols are supported'); - } - - if (request.signal && request.body instanceof Stream__default["default"].Readable && !streamDestructionSupported) { - throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8'); - } - - // HTTP-network-or-cache fetch steps 2.4-2.7 - let contentLengthValue = null; - if (request.body == null && /^(POST|PUT)$/i.test(request.method)) { - contentLengthValue = '0'; - } - if (request.body != null) { - const totalBytes = getTotalBytes(request); - if (typeof totalBytes === 'number') { - contentLengthValue = String(totalBytes); - } - } - if (contentLengthValue) { - headers.set('Content-Length', contentLengthValue); - } - - // HTTP-network-or-cache fetch step 2.11 - if (!headers.has('User-Agent')) { - headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)'); - } - - // HTTP-network-or-cache fetch step 2.15 - if (request.compress && !headers.has('Accept-Encoding')) { - headers.set('Accept-Encoding', 'gzip,deflate'); - } - - let agent = request.agent; - if (typeof agent === 'function') { - agent = agent(parsedURL); - } - - if (!headers.has('Connection') && !agent) { - headers.set('Connection', 'close'); - } - - // HTTP-network fetch step 4.2 - // chunked encoding is handled by Node.js - - return Object.assign({}, parsedURL, { - method: request.method, - headers: exportNodeCompatibleHeaders(headers), - agent - }); -} - -/** - * abort-error.js - * - * AbortError interface for cancelled requests - */ - -/** - * Create AbortError instance - * - * @param String message Error message for human - * @return AbortError - */ -function AbortError(message) { - Error.call(this, message); - - this.type = 'aborted'; - this.message = message; - - // hide custom error implementation details from end-users - Error.captureStackTrace(this, this.constructor); -} - -AbortError.prototype = Object.create(Error.prototype); -AbortError.prototype.constructor = AbortError; -AbortError.prototype.name = 'AbortError'; - -const URL$1$1 = Url__default["default"].URL || publicApi.URL; - -// fix an issue where "PassThrough", "resolve" aren't a named export for node <10 -const PassThrough$1 = Stream__default["default"].PassThrough; - -const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) { - const orig = new URL$1$1(original).hostname; - const dest = new URL$1$1(destination).hostname; - - return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest); -}; - -/** - * Fetch function - * - * @param Mixed url Absolute url or Request instance - * @param Object opts Fetch options - * @return Promise - */ -function fetch$1(url, opts) { - - // allow custom promise - if (!fetch$1.Promise) { - throw new Error('native promise missing, set fetch.Promise to your favorite alternative'); - } - - Body.Promise = fetch$1.Promise; - - // wrap http.request into fetch - return new fetch$1.Promise(function (resolve, reject) { - // build request object - const request = new Request(url, opts); - const options = getNodeRequestOptions(request); - - const send = (options.protocol === 'https:' ? require$$2__default["default"] : http__default["default"]).request; - const signal = request.signal; - - let response = null; - - const abort = function abort() { - let error = new AbortError('The user aborted a request.'); - reject(error); - if (request.body && request.body instanceof Stream__default["default"].Readable) { - request.body.destroy(error); - } - if (!response || !response.body) return; - response.body.emit('error', error); - }; - - if (signal && signal.aborted) { - abort(); - return; - } - - const abortAndFinalize = function abortAndFinalize() { - abort(); - finalize(); - }; - - // send request - const req = send(options); - let reqTimeout; - - if (signal) { - signal.addEventListener('abort', abortAndFinalize); - } - - function finalize() { - req.abort(); - if (signal) signal.removeEventListener('abort', abortAndFinalize); - clearTimeout(reqTimeout); - } - - if (request.timeout) { - req.once('socket', function (socket) { - reqTimeout = setTimeout(function () { - reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout')); - finalize(); - }, request.timeout); - }); - } - - req.on('error', function (err) { - reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err)); - finalize(); - }); - - req.on('response', function (res) { - clearTimeout(reqTimeout); - - const headers = createHeadersLenient(res.headers); - - // HTTP fetch step 5 - if (fetch$1.isRedirect(res.statusCode)) { - // HTTP fetch step 5.2 - const location = headers.get('Location'); - - // HTTP fetch step 5.3 - let locationURL = null; - try { - locationURL = location === null ? null : new URL$1$1(location, request.url).toString(); - } catch (err) { - // error here can only be invalid URL in Location: header - // do not throw when options.redirect == manual - // let the user extract the errorneous redirect URL - if (request.redirect !== 'manual') { - reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect')); - finalize(); - return; - } - } - - // HTTP fetch step 5.5 - switch (request.redirect) { - case 'error': - reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect')); - finalize(); - return; - case 'manual': - // node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL. - if (locationURL !== null) { - // handle corrupted header - try { - headers.set('Location', locationURL); - } catch (err) { - // istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request - reject(err); - } - } - break; - case 'follow': - // HTTP-redirect fetch step 2 - if (locationURL === null) { - break; - } - - // HTTP-redirect fetch step 5 - if (request.counter >= request.follow) { - reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 6 (counter increment) - // Create a new Request object. - const requestOpts = { - headers: new Headers(request.headers), - follow: request.follow, - counter: request.counter + 1, - agent: request.agent, - compress: request.compress, - method: request.method, - body: request.body, - signal: request.signal, - timeout: request.timeout, - size: request.size - }; - - if (!isDomainOrSubdomain(request.url, locationURL)) { - for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) { - requestOpts.headers.delete(name); - } - } - - // HTTP-redirect fetch step 9 - if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) { - reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect')); - finalize(); - return; - } - - // HTTP-redirect fetch step 11 - if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') { - requestOpts.method = 'GET'; - requestOpts.body = undefined; - requestOpts.headers.delete('content-length'); - } - - // HTTP-redirect fetch step 15 - resolve(fetch$1(new Request(locationURL, requestOpts))); - finalize(); - return; - } - } - - // prepare response - res.once('end', function () { - if (signal) signal.removeEventListener('abort', abortAndFinalize); - }); - let body = res.pipe(new PassThrough$1()); - - const response_options = { - url: request.url, - status: res.statusCode, - statusText: res.statusMessage, - headers: headers, - size: request.size, - timeout: request.timeout, - counter: request.counter - }; - - // HTTP-network fetch step 12.1.1.3 - const codings = headers.get('Content-Encoding'); - - // HTTP-network fetch step 12.1.1.4: handle content codings - - // in following scenarios we ignore compression support - // 1. compression support is disabled - // 2. HEAD request - // 3. no Content-Encoding header - // 4. no content response (204) - // 5. content not modified response (304) - if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) { - response = new Response(body, response_options); - resolve(response); - return; - } - - // For Node v6+ - // Be less strict when decoding compressed responses, since sometimes - // servers send slightly invalid responses that are still accepted - // by common browsers. - // Always using Z_SYNC_FLUSH is what cURL does. - const zlibOptions = { - flush: zlib__default["default"].Z_SYNC_FLUSH, - finishFlush: zlib__default["default"].Z_SYNC_FLUSH - }; - - // for gzip - if (codings == 'gzip' || codings == 'x-gzip') { - body = body.pipe(zlib__default["default"].createGunzip(zlibOptions)); - response = new Response(body, response_options); - resolve(response); - return; - } - - // for deflate - if (codings == 'deflate' || codings == 'x-deflate') { - // handle the infamous raw deflate response from old servers - // a hack for old IIS and Apache servers - const raw = res.pipe(new PassThrough$1()); - raw.once('data', function (chunk) { - // see http://stackoverflow.com/questions/37519828 - if ((chunk[0] & 0x0F) === 0x08) { - body = body.pipe(zlib__default["default"].createInflate()); - } else { - body = body.pipe(zlib__default["default"].createInflateRaw()); - } - response = new Response(body, response_options); - resolve(response); - }); - return; - } - - // for br - if (codings == 'br' && typeof zlib__default["default"].createBrotliDecompress === 'function') { - body = body.pipe(zlib__default["default"].createBrotliDecompress()); - response = new Response(body, response_options); - resolve(response); - return; - } - - // otherwise, use response as-is - response = new Response(body, response_options); - resolve(response); - }); - - writeToStream(req, request); - }); -} -/** - * Redirect code matching - * - * @param Number code Status code - * @return Boolean - */ -fetch$1.isRedirect = function (code) { - return code === 301 || code === 302 || code === 303 || code === 307 || code === 308; -}; - -// expose Promise -fetch$1.Promise = global.Promise; - -var lib$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': fetch$1, - Headers: Headers, - Request: Request, - Response: Response, - FetchError: FetchError -}); - -var require$$4 = /*@__PURE__*/getAugmentedNamespace(lib$2); - -var contentType = {}; - -/*! - * content-type - * Copyright(c) 2015 Douglas Christopher Wilson - * MIT Licensed - */ - -/** - * RegExp to match *( ";" parameter ) in RFC 7231 sec 3.1.1.1 - * - * parameter = token "=" ( token / quoted-string ) - * token = 1*tchar - * tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" - * / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" - * / DIGIT / ALPHA - * ; any VCHAR, except delimiters - * quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE - * qdtext = HTAB / SP / %x21 / %x23-5B / %x5D-7E / obs-text - * obs-text = %x80-FF - * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) - */ -var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g; -var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/; -var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; - -/** - * RegExp to match quoted-pair in RFC 7230 sec 3.2.6 - * - * quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) - * obs-text = %x80-FF - */ -var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g; - -/** - * RegExp to match chars that must be quoted-pair in RFC 7230 sec 3.2.6 - */ -var QUOTE_REGEXP = /([\\"])/g; - -/** - * RegExp to match type in RFC 7231 sec 3.1.1.1 - * - * media-type = type "/" subtype - * type = token - * subtype = token - */ -var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/; - -/** - * Module exports. - * @public - */ - -contentType.format = format$1; -contentType.parse = parse$1; - -/** - * Format object to media type. - * - * @param {object} obj - * @return {string} - * @public - */ - -function format$1 (obj) { - if (!obj || typeof obj !== 'object') { - throw new TypeError('argument obj is required') - } - - var parameters = obj.parameters; - var type = obj.type; - - if (!type || !TYPE_REGEXP.test(type)) { - throw new TypeError('invalid type') - } - - var string = type; - - // append parameters - if (parameters && typeof parameters === 'object') { - var param; - var params = Object.keys(parameters).sort(); - - for (var i = 0; i < params.length; i++) { - param = params[i]; - - if (!TOKEN_REGEXP.test(param)) { - throw new TypeError('invalid parameter name') - } - - string += '; ' + param + '=' + qstring(parameters[param]); - } - } - - return string -} - -/** - * Parse media type to object. - * - * @param {string|object} string - * @return {Object} - * @public - */ - -function parse$1 (string) { - if (!string) { - throw new TypeError('argument string is required') - } - - // support req/res-like objects as argument - var header = typeof string === 'object' - ? getcontenttype(string) - : string; - - if (typeof header !== 'string') { - throw new TypeError('argument string is required to be a string') - } - - var index = header.indexOf(';'); - var type = index !== -1 - ? header.substr(0, index).trim() - : header.trim(); - - if (!TYPE_REGEXP.test(type)) { - throw new TypeError('invalid media type') - } - - var obj = new ContentType(type.toLowerCase()); - - // parse parameters - if (index !== -1) { - var key; - var match; - var value; - - PARAM_REGEXP.lastIndex = index; - - while ((match = PARAM_REGEXP.exec(header))) { - if (match.index !== index) { - throw new TypeError('invalid parameter format') - } - - index += match[0].length; - key = match[1].toLowerCase(); - value = match[2]; - - if (value[0] === '"') { - // remove quotes and escapes - value = value - .substr(1, value.length - 2) - .replace(QESC_REGEXP, '$1'); - } - - obj.parameters[key] = value; - } - - if (index !== header.length) { - throw new TypeError('invalid parameter format') - } - } - - return obj -} - -/** - * Get content-type from req/res objects. - * - * @param {object} - * @return {Object} - * @private - */ - -function getcontenttype (obj) { - var header; - - if (typeof obj.getHeader === 'function') { - // res-like - header = obj.getHeader('content-type'); - } else if (typeof obj.headers === 'object') { - // req-like - header = obj.headers && obj.headers['content-type']; - } - - if (typeof header !== 'string') { - throw new TypeError('content-type header is missing from object') - } - - return header -} - -/** - * Quote a string if necessary. - * - * @param {string} val - * @return {string} - * @private - */ - -function qstring (val) { - var str = String(val); - - // no need to quote tokens - if (TOKEN_REGEXP.test(str)) { - return str - } - - if (str.length > 0 && !TEXT_REGEXP.test(str)) { - throw new TypeError('invalid parameter value') - } - - return '"' + str.replace(QUOTE_REGEXP, '\\$1') + '"' -} - -/** - * Class to represent a content type. - * @private - */ -function ContentType (type) { - this.parameters = Object.create(null); - this.type = type; -} - -function Queue(options) { - if (!(this instanceof Queue)) { - return new Queue(options); - } - - options = options || {}; - this.concurrency = options.concurrency || Infinity; - this.pending = 0; - this.jobs = []; - this.cbs = []; - this._done = done.bind(this); -} - -var arrayAddMethods = [ - 'push', - 'unshift', - 'splice' -]; - -arrayAddMethods.forEach(function(method) { - Queue.prototype[method] = function() { - var methodResult = Array.prototype[method].apply(this.jobs, arguments); - this._run(); - return methodResult; - }; -}); - -Object.defineProperty(Queue.prototype, 'length', { - get: function() { - return this.pending + this.jobs.length; - } -}); - -Queue.prototype._run = function() { - if (this.pending === this.concurrency) { - return; - } - if (this.jobs.length) { - var job = this.jobs.shift(); - this.pending++; - job(this._done); - this._run(); - } - - if (this.pending === 0) { - while (this.cbs.length !== 0) { - var cb = this.cbs.pop(); - process.nextTick(cb); - } - } -}; - -Queue.prototype.onDone = function(cb) { - if (typeof cb === 'function') { - this.cbs.push(cb); - this._run(); - } -}; - -function done() { - this.pending--; - this._run(); -} - -var asyncLimiter = Queue; - -var bufferUtil$1 = {exports: {}}; - -var constants = { - BINARY_TYPES: ['nodebuffer', 'arraybuffer', 'fragments'], - GUID: '258EAFA5-E914-47DA-95CA-C5AB0DC85B11', - kStatusCode: Symbol('status-code'), - kWebSocket: Symbol('websocket'), - EMPTY_BUFFER: Buffer.alloc(0), - NOOP: () => {} -}; - -const { EMPTY_BUFFER: EMPTY_BUFFER$5 } = constants; - -/** - * Merges an array of buffers into a new buffer. - * - * @param {Buffer[]} list The array of buffers to concat - * @param {Number} totalLength The total length of buffers in the list - * @return {Buffer} The resulting buffer - * @public - */ -function concat$1(list, totalLength) { - if (list.length === 0) return EMPTY_BUFFER$5; - if (list.length === 1) return list[0]; - - const target = Buffer.allocUnsafe(totalLength); - var offset = 0; - - for (var i = 0; i < list.length; i++) { - const buf = list[i]; - buf.copy(target, offset); - offset += buf.length; - } - - return target; -} - -/** - * Masks a buffer using the given mask. - * - * @param {Buffer} source The buffer to mask - * @param {Buffer} mask The mask to use - * @param {Buffer} output The buffer where to store the result - * @param {Number} offset The offset at which to start writing - * @param {Number} length The number of bytes to mask. - * @public - */ -function _mask(source, mask, output, offset, length) { - for (var i = 0; i < length; i++) { - output[offset + i] = source[i] ^ mask[i & 3]; - } -} - -/** - * Unmasks a buffer using the given mask. - * - * @param {Buffer} buffer The buffer to unmask - * @param {Buffer} mask The mask to use - * @public - */ -function _unmask(buffer, mask) { - // Required until https://github.com/nodejs/node/issues/9006 is resolved. - const length = buffer.length; - for (var i = 0; i < length; i++) { - buffer[i] ^= mask[i & 3]; - } -} - -/** - * Converts a buffer to an `ArrayBuffer`. - * - * @param {Buffer} buf The buffer to convert - * @return {ArrayBuffer} Converted buffer - * @public - */ -function toArrayBuffer$1(buf) { - if (buf.byteLength === buf.buffer.byteLength) { - return buf.buffer; - } - - return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength); -} - -/** - * Converts `data` to a `Buffer`. - * - * @param {*} data The data to convert - * @return {Buffer} The buffer - * @throws {TypeError} - * @public - */ -function toBuffer$1(data) { - toBuffer$1.readOnly = true; - - if (Buffer.isBuffer(data)) return data; - - var buf; - - if (data instanceof ArrayBuffer) { - buf = Buffer.from(data); - } else if (ArrayBuffer.isView(data)) { - buf = viewToBuffer(data); - } else { - buf = Buffer.from(data); - toBuffer$1.readOnly = false; - } - - return buf; -} - -/** - * Converts an `ArrayBuffer` view into a buffer. - * - * @param {(DataView|TypedArray)} view The view to convert - * @return {Buffer} Converted view - * @private - */ -function viewToBuffer(view) { - const buf = Buffer.from(view.buffer); - - if (view.byteLength !== view.buffer.byteLength) { - return buf.slice(view.byteOffset, view.byteOffset + view.byteLength); - } - - return buf; -} - -try { - const bufferUtil = require('bufferutil'); - const bu = bufferUtil.BufferUtil || bufferUtil; - - bufferUtil$1.exports = { - concat: concat$1, - mask(source, mask, output, offset, length) { - if (length < 48) _mask(source, mask, output, offset, length); - else bu.mask(source, mask, output, offset, length); - }, - toArrayBuffer: toArrayBuffer$1, - toBuffer: toBuffer$1, - unmask(buffer, mask) { - if (buffer.length < 32) _unmask(buffer, mask); - else bu.unmask(buffer, mask); - } - }; -} catch (e) /* istanbul ignore next */ { - bufferUtil$1.exports = { - concat: concat$1, - mask: _mask, - toArrayBuffer: toArrayBuffer$1, - toBuffer: toBuffer$1, - unmask: _unmask - }; -} - -const Limiter = asyncLimiter; -const zlib = zlib__default["default"]; - -const bufferUtil = bufferUtil$1.exports; -const { kStatusCode: kStatusCode$2, NOOP: NOOP$1 } = constants; - -const TRAILER = Buffer.from([0x00, 0x00, 0xff, 0xff]); -const EMPTY_BLOCK = Buffer.from([0x00]); - -const kPerMessageDeflate = Symbol('permessage-deflate'); -const kTotalLength = Symbol('total-length'); -const kCallback = Symbol('callback'); -const kBuffers = Symbol('buffers'); -const kError = Symbol('error'); - -// -// We limit zlib concurrency, which prevents severe memory fragmentation -// as documented in https://github.com/nodejs/node/issues/8871#issuecomment-250915913 -// and https://github.com/websockets/ws/issues/1202 -// -// Intentionally global; it's the global thread pool that's an issue. -// -let zlibLimiter; - -/** - * permessage-deflate implementation. - */ -class PerMessageDeflate$4 { - /** - * Creates a PerMessageDeflate instance. - * - * @param {Object} options Configuration options - * @param {Boolean} options.serverNoContextTakeover Request/accept disabling - * of server context takeover - * @param {Boolean} options.clientNoContextTakeover Advertise/acknowledge - * disabling of client context takeover - * @param {(Boolean|Number)} options.serverMaxWindowBits Request/confirm the - * use of a custom server window size - * @param {(Boolean|Number)} options.clientMaxWindowBits Advertise support - * for, or request, a custom client window size - * @param {Object} options.zlibDeflateOptions Options to pass to zlib on deflate - * @param {Object} options.zlibInflateOptions Options to pass to zlib on inflate - * @param {Number} options.threshold Size (in bytes) below which messages - * should not be compressed - * @param {Number} options.concurrencyLimit The number of concurrent calls to - * zlib - * @param {Boolean} isServer Create the instance in either server or client - * mode - * @param {Number} maxPayload The maximum allowed message length - */ - constructor(options, isServer, maxPayload) { - this._maxPayload = maxPayload | 0; - this._options = options || {}; - this._threshold = - this._options.threshold !== undefined ? this._options.threshold : 1024; - this._isServer = !!isServer; - this._deflate = null; - this._inflate = null; - - this.params = null; - - if (!zlibLimiter) { - const concurrency = - this._options.concurrencyLimit !== undefined - ? this._options.concurrencyLimit - : 10; - zlibLimiter = new Limiter({ concurrency }); - } - } - - /** - * @type {String} - */ - static get extensionName() { - return 'permessage-deflate'; - } - - /** - * Create an extension negotiation offer. - * - * @return {Object} Extension parameters - * @public - */ - offer() { - const params = {}; - - if (this._options.serverNoContextTakeover) { - params.server_no_context_takeover = true; - } - if (this._options.clientNoContextTakeover) { - params.client_no_context_takeover = true; - } - if (this._options.serverMaxWindowBits) { - params.server_max_window_bits = this._options.serverMaxWindowBits; - } - if (this._options.clientMaxWindowBits) { - params.client_max_window_bits = this._options.clientMaxWindowBits; - } else if (this._options.clientMaxWindowBits == null) { - params.client_max_window_bits = true; - } - - return params; - } - - /** - * Accept an extension negotiation offer/response. - * - * @param {Array} configurations The extension negotiation offers/reponse - * @return {Object} Accepted configuration - * @public - */ - accept(configurations) { - configurations = this.normalizeParams(configurations); - - this.params = this._isServer - ? this.acceptAsServer(configurations) - : this.acceptAsClient(configurations); - - return this.params; - } - - /** - * Releases all resources used by the extension. - * - * @public - */ - cleanup() { - if (this._inflate) { - this._inflate.close(); - this._inflate = null; - } - - if (this._deflate) { - this._deflate.close(); - this._deflate = null; - } - } - - /** - * Accept an extension negotiation offer. - * - * @param {Array} offers The extension negotiation offers - * @return {Object} Accepted configuration - * @private - */ - acceptAsServer(offers) { - const opts = this._options; - const accepted = offers.find((params) => { - if ( - (opts.serverNoContextTakeover === false && - params.server_no_context_takeover) || - (params.server_max_window_bits && - (opts.serverMaxWindowBits === false || - (typeof opts.serverMaxWindowBits === 'number' && - opts.serverMaxWindowBits > params.server_max_window_bits))) || - (typeof opts.clientMaxWindowBits === 'number' && - !params.client_max_window_bits) - ) { - return false; - } - - return true; - }); - - if (!accepted) { - throw new Error('None of the extension offers can be accepted'); - } - - if (opts.serverNoContextTakeover) { - accepted.server_no_context_takeover = true; - } - if (opts.clientNoContextTakeover) { - accepted.client_no_context_takeover = true; - } - if (typeof opts.serverMaxWindowBits === 'number') { - accepted.server_max_window_bits = opts.serverMaxWindowBits; - } - if (typeof opts.clientMaxWindowBits === 'number') { - accepted.client_max_window_bits = opts.clientMaxWindowBits; - } else if ( - accepted.client_max_window_bits === true || - opts.clientMaxWindowBits === false - ) { - delete accepted.client_max_window_bits; - } - - return accepted; - } - - /** - * Accept the extension negotiation response. - * - * @param {Array} response The extension negotiation response - * @return {Object} Accepted configuration - * @private - */ - acceptAsClient(response) { - const params = response[0]; - - if ( - this._options.clientNoContextTakeover === false && - params.client_no_context_takeover - ) { - throw new Error('Unexpected parameter "client_no_context_takeover"'); - } - - if (!params.client_max_window_bits) { - if (typeof this._options.clientMaxWindowBits === 'number') { - params.client_max_window_bits = this._options.clientMaxWindowBits; - } - } else if ( - this._options.clientMaxWindowBits === false || - (typeof this._options.clientMaxWindowBits === 'number' && - params.client_max_window_bits > this._options.clientMaxWindowBits) - ) { - throw new Error( - 'Unexpected or invalid parameter "client_max_window_bits"' - ); - } - - return params; - } - - /** - * Normalize parameters. - * - * @param {Array} configurations The extension negotiation offers/reponse - * @return {Array} The offers/response with normalized parameters - * @private - */ - normalizeParams(configurations) { - configurations.forEach((params) => { - Object.keys(params).forEach((key) => { - var value = params[key]; - - if (value.length > 1) { - throw new Error(`Parameter "${key}" must have only a single value`); - } - - value = value[0]; - - if (key === 'client_max_window_bits') { - if (value !== true) { - const num = +value; - if (!Number.isInteger(num) || num < 8 || num > 15) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - value = num; - } else if (!this._isServer) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - } else if (key === 'server_max_window_bits') { - const num = +value; - if (!Number.isInteger(num) || num < 8 || num > 15) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - value = num; - } else if ( - key === 'client_no_context_takeover' || - key === 'server_no_context_takeover' - ) { - if (value !== true) { - throw new TypeError( - `Invalid value for parameter "${key}": ${value}` - ); - } - } else { - throw new Error(`Unknown parameter "${key}"`); - } - - params[key] = value; - }); - }); - - return configurations; - } - - /** - * Decompress data. Concurrency limited by async-limiter. - * - * @param {Buffer} data Compressed data - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @public - */ - decompress(data, fin, callback) { - zlibLimiter.push((done) => { - this._decompress(data, fin, (err, result) => { - done(); - callback(err, result); - }); - }); - } - - /** - * Compress data. Concurrency limited by async-limiter. - * - * @param {Buffer} data Data to compress - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @public - */ - compress(data, fin, callback) { - zlibLimiter.push((done) => { - this._compress(data, fin, (err, result) => { - done(); - callback(err, result); - }); - }); - } - - /** - * Decompress data. - * - * @param {Buffer} data Compressed data - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @private - */ - _decompress(data, fin, callback) { - const endpoint = this._isServer ? 'client' : 'server'; - - if (!this._inflate) { - const key = `${endpoint}_max_window_bits`; - const windowBits = - typeof this.params[key] !== 'number' - ? zlib.Z_DEFAULT_WINDOWBITS - : this.params[key]; - - this._inflate = zlib.createInflateRaw( - Object.assign({}, this._options.zlibInflateOptions, { windowBits }) - ); - this._inflate[kPerMessageDeflate] = this; - this._inflate[kTotalLength] = 0; - this._inflate[kBuffers] = []; - this._inflate.on('error', inflateOnError); - this._inflate.on('data', inflateOnData); - } - - this._inflate[kCallback] = callback; - - this._inflate.write(data); - if (fin) this._inflate.write(TRAILER); - - this._inflate.flush(() => { - const err = this._inflate[kError]; - - if (err) { - this._inflate.close(); - this._inflate = null; - callback(err); - return; - } - - const data = bufferUtil.concat( - this._inflate[kBuffers], - this._inflate[kTotalLength] - ); - - if (fin && this.params[`${endpoint}_no_context_takeover`]) { - this._inflate.close(); - this._inflate = null; - } else { - this._inflate[kTotalLength] = 0; - this._inflate[kBuffers] = []; - } - - callback(null, data); - }); - } - - /** - * Compress data. - * - * @param {Buffer} data Data to compress - * @param {Boolean} fin Specifies whether or not this is the last fragment - * @param {Function} callback Callback - * @private - */ - _compress(data, fin, callback) { - if (!data || data.length === 0) { - process.nextTick(callback, null, EMPTY_BLOCK); - return; - } - - const endpoint = this._isServer ? 'server' : 'client'; - - if (!this._deflate) { - const key = `${endpoint}_max_window_bits`; - const windowBits = - typeof this.params[key] !== 'number' - ? zlib.Z_DEFAULT_WINDOWBITS - : this.params[key]; - - this._deflate = zlib.createDeflateRaw( - Object.assign({}, this._options.zlibDeflateOptions, { windowBits }) - ); - - this._deflate[kTotalLength] = 0; - this._deflate[kBuffers] = []; - - // - // An `'error'` event is emitted, only on Node.js < 10.0.0, if the - // `zlib.DeflateRaw` instance is closed while data is being processed. - // This can happen if `PerMessageDeflate#cleanup()` is called at the wrong - // time due to an abnormal WebSocket closure. - // - this._deflate.on('error', NOOP$1); - this._deflate.on('data', deflateOnData); - } - - this._deflate.write(data); - this._deflate.flush(zlib.Z_SYNC_FLUSH, () => { - if (!this._deflate) { - // - // This `if` statement is only needed for Node.js < 10.0.0 because as of - // commit https://github.com/nodejs/node/commit/5e3f5164, the flush - // callback is no longer called if the deflate stream is closed while - // data is being processed. - // - return; - } - - var data = bufferUtil.concat( - this._deflate[kBuffers], - this._deflate[kTotalLength] - ); - - if (fin) data = data.slice(0, data.length - 4); - - if (fin && this.params[`${endpoint}_no_context_takeover`]) { - this._deflate.close(); - this._deflate = null; - } else { - this._deflate[kTotalLength] = 0; - this._deflate[kBuffers] = []; - } - - callback(null, data); - }); - } -} - -var permessageDeflate = PerMessageDeflate$4; - -/** - * The listener of the `zlib.DeflateRaw` stream `'data'` event. - * - * @param {Buffer} chunk A chunk of data - * @private - */ -function deflateOnData(chunk) { - this[kBuffers].push(chunk); - this[kTotalLength] += chunk.length; -} - -/** - * The listener of the `zlib.InflateRaw` stream `'data'` event. - * - * @param {Buffer} chunk A chunk of data - * @private - */ -function inflateOnData(chunk) { - this[kTotalLength] += chunk.length; - - if ( - this[kPerMessageDeflate]._maxPayload < 1 || - this[kTotalLength] <= this[kPerMessageDeflate]._maxPayload - ) { - this[kBuffers].push(chunk); - return; - } - - this[kError] = new RangeError('Max payload size exceeded'); - this[kError][kStatusCode$2] = 1009; - this.removeListener('data', inflateOnData); - this.reset(); -} - -/** - * The listener of the `zlib.InflateRaw` stream `'error'` event. - * - * @param {Error} err The emitted error - * @private - */ -function inflateOnError(err) { - // - // There is no need to call `Zlib#close()` as the handle is automatically - // closed when an error is emitted. - // - this[kPerMessageDeflate]._inflate = null; - err[kStatusCode$2] = 1007; - this[kCallback](err); -} - -/** - * Class representing an event. - * - * @private - */ -class Event { - /** - * Create a new `Event`. - * - * @param {String} type The name of the event - * @param {Object} target A reference to the target to which the event was dispatched - */ - constructor(type, target) { - this.target = target; - this.type = type; - } -} - -/** - * Class representing a message event. - * - * @extends Event - * @private - */ -class MessageEvent extends Event { - /** - * Create a new `MessageEvent`. - * - * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The received data - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(data, target) { - super('message', target); - - this.data = data; - } -} - -/** - * Class representing a close event. - * - * @extends Event - * @private - */ -class CloseEvent extends Event { - /** - * Create a new `CloseEvent`. - * - * @param {Number} code The status code explaining why the connection is being closed - * @param {String} reason A human-readable string explaining why the connection is closing - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(code, reason, target) { - super('close', target); - - this.wasClean = target._closeFrameReceived && target._closeFrameSent; - this.reason = reason; - this.code = code; - } -} - -/** - * Class representing an open event. - * - * @extends Event - * @private - */ -class OpenEvent extends Event { - /** - * Create a new `OpenEvent`. - * - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(target) { - super('open', target); - } -} - -/** - * Class representing an error event. - * - * @extends Event - * @private - */ -class ErrorEvent extends Event { - /** - * Create a new `ErrorEvent`. - * - * @param {Object} error The error that generated this event - * @param {WebSocket} target A reference to the target to which the event was dispatched - */ - constructor(error, target) { - super('error', target); - - this.message = error.message; - this.error = error; - } -} - -/** - * This provides methods for emulating the `EventTarget` interface. It's not - * meant to be used directly. - * - * @mixin - */ -const EventTarget$1 = { - /** - * Register an event listener. - * - * @param {String} method A string representing the event type to listen for - * @param {Function} listener The listener to add - * @public - */ - addEventListener(method, listener) { - if (typeof listener !== 'function') return; - - function onMessage(data) { - listener.call(this, new MessageEvent(data, this)); - } - - function onClose(code, message) { - listener.call(this, new CloseEvent(code, message, this)); - } - - function onError(error) { - listener.call(this, new ErrorEvent(error, this)); - } - - function onOpen() { - listener.call(this, new OpenEvent(this)); - } - - if (method === 'message') { - onMessage._listener = listener; - this.on(method, onMessage); - } else if (method === 'close') { - onClose._listener = listener; - this.on(method, onClose); - } else if (method === 'error') { - onError._listener = listener; - this.on(method, onError); - } else if (method === 'open') { - onOpen._listener = listener; - this.on(method, onOpen); - } else { - this.on(method, listener); - } - }, - - /** - * Remove an event listener. - * - * @param {String} method A string representing the event type to remove - * @param {Function} listener The listener to remove - * @public - */ - removeEventListener(method, listener) { - const listeners = this.listeners(method); - - for (var i = 0; i < listeners.length; i++) { - if (listeners[i] === listener || listeners[i]._listener === listener) { - this.removeListener(method, listeners[i]); - } - } - } -}; - -var eventTarget = EventTarget$1; - -// -// Allowed token characters: -// -// '!', '#', '$', '%', '&', ''', '*', '+', '-', -// '.', 0-9, A-Z, '^', '_', '`', a-z, '|', '~' -// -// tokenChars[32] === 0 // ' ' -// tokenChars[33] === 1 // '!' -// tokenChars[34] === 0 // '"' -// ... -// -// prettier-ignore -const tokenChars = [ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 - 15 - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 16 - 31 - 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, // 32 - 47 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, // 48 - 63 - 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 64 - 79 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, // 80 - 95 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 96 - 111 - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0 // 112 - 127 -]; - -/** - * Adds an offer to the map of extension offers or a parameter to the map of - * parameters. - * - * @param {Object} dest The map of extension offers or parameters - * @param {String} name The extension or parameter name - * @param {(Object|Boolean|String)} elem The extension parameters or the - * parameter value - * @private - */ -function push(dest, name, elem) { - if (Object.prototype.hasOwnProperty.call(dest, name)) dest[name].push(elem); - else dest[name] = [elem]; -} - -/** - * Parses the `Sec-WebSocket-Extensions` header into an object. - * - * @param {String} header The field value of the header - * @return {Object} The parsed object - * @public - */ -function parse(header) { - const offers = {}; - - if (header === undefined || header === '') return offers; - - var params = {}; - var mustUnescape = false; - var isEscaping = false; - var inQuotes = false; - var extensionName; - var paramName; - var start = -1; - var end = -1; - - for (var i = 0; i < header.length; i++) { - const code = header.charCodeAt(i); - - if (extensionName === undefined) { - if (end === -1 && tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (code === 0x20 /* ' ' */ || code === 0x09 /* '\t' */) { - if (end === -1 && start !== -1) end = i; - } else if (code === 0x3b /* ';' */ || code === 0x2c /* ',' */) { - if (start === -1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - - if (end === -1) end = i; - const name = header.slice(start, end); - if (code === 0x2c) { - push(offers, name, params); - params = {}; - } else { - extensionName = name; - } - - start = end = -1; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } else if (paramName === undefined) { - if (end === -1 && tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (code === 0x20 || code === 0x09) { - if (end === -1 && start !== -1) end = i; - } else if (code === 0x3b || code === 0x2c) { - if (start === -1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - - if (end === -1) end = i; - push(params, header.slice(start, end), true); - if (code === 0x2c) { - push(offers, extensionName, params); - params = {}; - extensionName = undefined; - } - - start = end = -1; - } else if (code === 0x3d /* '=' */ && start !== -1 && end === -1) { - paramName = header.slice(start, i); - start = end = -1; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } else { - // - // The value of a quoted-string after unescaping must conform to the - // token ABNF, so only token characters are valid. - // Ref: https://tools.ietf.org/html/rfc6455#section-9.1 - // - if (isEscaping) { - if (tokenChars[code] !== 1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - if (start === -1) start = i; - else if (!mustUnescape) mustUnescape = true; - isEscaping = false; - } else if (inQuotes) { - if (tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (code === 0x22 /* '"' */ && start !== -1) { - inQuotes = false; - end = i; - } else if (code === 0x5c /* '\' */) { - isEscaping = true; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } else if (code === 0x22 && header.charCodeAt(i - 1) === 0x3d) { - inQuotes = true; - } else if (end === -1 && tokenChars[code] === 1) { - if (start === -1) start = i; - } else if (start !== -1 && (code === 0x20 || code === 0x09)) { - if (end === -1) end = i; - } else if (code === 0x3b || code === 0x2c) { - if (start === -1) { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - - if (end === -1) end = i; - var value = header.slice(start, end); - if (mustUnescape) { - value = value.replace(/\\/g, ''); - mustUnescape = false; - } - push(params, paramName, value); - if (code === 0x2c) { - push(offers, extensionName, params); - params = {}; - extensionName = undefined; - } - - paramName = undefined; - start = end = -1; - } else { - throw new SyntaxError(`Unexpected character at index ${i}`); - } - } - } - - if (start === -1 || inQuotes) { - throw new SyntaxError('Unexpected end of input'); - } - - if (end === -1) end = i; - const token = header.slice(start, end); - if (extensionName === undefined) { - push(offers, token, {}); - } else { - if (paramName === undefined) { - push(params, token, true); - } else if (mustUnescape) { - push(params, paramName, token.replace(/\\/g, '')); - } else { - push(params, paramName, token); - } - push(offers, extensionName, params); - } - - return offers; -} - -/** - * Builds the `Sec-WebSocket-Extensions` header field value. - * - * @param {Object} extensions The map of extensions and parameters to format - * @return {String} A string representing the given object - * @public - */ -function format(extensions) { - return Object.keys(extensions) - .map((extension) => { - var configurations = extensions[extension]; - if (!Array.isArray(configurations)) configurations = [configurations]; - return configurations - .map((params) => { - return [extension] - .concat( - Object.keys(params).map((k) => { - var values = params[k]; - if (!Array.isArray(values)) values = [values]; - return values - .map((v) => (v === true ? k : `${k}=${v}`)) - .join('; '); - }) - ) - .join('; '); - }) - .join(', '); - }) - .join(', '); -} - -var extension$2 = { format, parse }; - -var validation = {}; - -var isValidUTF8_1; - -try { - const isValidUTF8 = require('utf-8-validate'); - - isValidUTF8_1 = validation.isValidUTF8 = - typeof isValidUTF8 === 'object' - ? isValidUTF8.Validation.isValidUTF8 // utf-8-validate@<3.0.0 - : isValidUTF8; -} catch (e) /* istanbul ignore next */ { - isValidUTF8_1 = validation.isValidUTF8 = () => true; -} - -/** - * Checks if a status code is allowed in a close frame. - * - * @param {Number} code The status code - * @return {Boolean} `true` if the status code is valid, else `false` - * @public - */ -validation.isValidStatusCode = (code) => { - return ( - (code >= 1000 && - code <= 1013 && - code !== 1004 && - code !== 1005 && - code !== 1006) || - (code >= 3000 && code <= 4999) - ); -}; - -const { Writable } = Stream__default["default"]; - -const PerMessageDeflate$3 = permessageDeflate; -const { - BINARY_TYPES: BINARY_TYPES$1, - EMPTY_BUFFER: EMPTY_BUFFER$4, - kStatusCode: kStatusCode$1, - kWebSocket: kWebSocket$1 -} = constants; -const { concat, toArrayBuffer, unmask } = bufferUtil$1.exports; -const { isValidStatusCode: isValidStatusCode$1, isValidUTF8 } = validation; - -const GET_INFO = 0; -const GET_PAYLOAD_LENGTH_16 = 1; -const GET_PAYLOAD_LENGTH_64 = 2; -const GET_MASK = 3; -const GET_DATA = 4; -const INFLATING = 5; - -/** - * HyBi Receiver implementation. - * - * @extends stream.Writable - */ -class Receiver$1 extends Writable { - /** - * Creates a Receiver instance. - * - * @param {String} binaryType The type for binary data - * @param {Object} extensions An object containing the negotiated extensions - * @param {Number} maxPayload The maximum allowed message length - */ - constructor(binaryType, extensions, maxPayload) { - super(); - - this._binaryType = binaryType || BINARY_TYPES$1[0]; - this[kWebSocket$1] = undefined; - this._extensions = extensions || {}; - this._maxPayload = maxPayload | 0; - - this._bufferedBytes = 0; - this._buffers = []; - - this._compressed = false; - this._payloadLength = 0; - this._mask = undefined; - this._fragmented = 0; - this._masked = false; - this._fin = false; - this._opcode = 0; - - this._totalPayloadLength = 0; - this._messageLength = 0; - this._fragments = []; - - this._state = GET_INFO; - this._loop = false; - } - - /** - * Implements `Writable.prototype._write()`. - * - * @param {Buffer} chunk The chunk of data to write - * @param {String} encoding The character encoding of `chunk` - * @param {Function} cb Callback - */ - _write(chunk, encoding, cb) { - if (this._opcode === 0x08 && this._state == GET_INFO) return cb(); - - this._bufferedBytes += chunk.length; - this._buffers.push(chunk); - this.startLoop(cb); - } - - /** - * Consumes `n` bytes from the buffered data. - * - * @param {Number} n The number of bytes to consume - * @return {Buffer} The consumed bytes - * @private - */ - consume(n) { - this._bufferedBytes -= n; - - if (n === this._buffers[0].length) return this._buffers.shift(); - - if (n < this._buffers[0].length) { - const buf = this._buffers[0]; - this._buffers[0] = buf.slice(n); - return buf.slice(0, n); - } - - const dst = Buffer.allocUnsafe(n); - - do { - const buf = this._buffers[0]; - - if (n >= buf.length) { - this._buffers.shift().copy(dst, dst.length - n); - } else { - buf.copy(dst, dst.length - n, 0, n); - this._buffers[0] = buf.slice(n); - } - - n -= buf.length; - } while (n > 0); - - return dst; - } - - /** - * Starts the parsing loop. - * - * @param {Function} cb Callback - * @private - */ - startLoop(cb) { - var err; - this._loop = true; - - do { - switch (this._state) { - case GET_INFO: - err = this.getInfo(); - break; - case GET_PAYLOAD_LENGTH_16: - err = this.getPayloadLength16(); - break; - case GET_PAYLOAD_LENGTH_64: - err = this.getPayloadLength64(); - break; - case GET_MASK: - this.getMask(); - break; - case GET_DATA: - err = this.getData(cb); - break; - default: - // `INFLATING` - this._loop = false; - return; - } - } while (this._loop); - - cb(err); - } - - /** - * Reads the first two bytes of a frame. - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - getInfo() { - if (this._bufferedBytes < 2) { - this._loop = false; - return; - } - - const buf = this.consume(2); - - if ((buf[0] & 0x30) !== 0x00) { - this._loop = false; - return error(RangeError, 'RSV2 and RSV3 must be clear', true, 1002); - } - - const compressed = (buf[0] & 0x40) === 0x40; - - if (compressed && !this._extensions[PerMessageDeflate$3.extensionName]) { - this._loop = false; - return error(RangeError, 'RSV1 must be clear', true, 1002); - } - - this._fin = (buf[0] & 0x80) === 0x80; - this._opcode = buf[0] & 0x0f; - this._payloadLength = buf[1] & 0x7f; - - if (this._opcode === 0x00) { - if (compressed) { - this._loop = false; - return error(RangeError, 'RSV1 must be clear', true, 1002); - } - - if (!this._fragmented) { - this._loop = false; - return error(RangeError, 'invalid opcode 0', true, 1002); - } - - this._opcode = this._fragmented; - } else if (this._opcode === 0x01 || this._opcode === 0x02) { - if (this._fragmented) { - this._loop = false; - return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); - } - - this._compressed = compressed; - } else if (this._opcode > 0x07 && this._opcode < 0x0b) { - if (!this._fin) { - this._loop = false; - return error(RangeError, 'FIN must be set', true, 1002); - } - - if (compressed) { - this._loop = false; - return error(RangeError, 'RSV1 must be clear', true, 1002); - } - - if (this._payloadLength > 0x7d) { - this._loop = false; - return error( - RangeError, - `invalid payload length ${this._payloadLength}`, - true, - 1002 - ); - } - } else { - this._loop = false; - return error(RangeError, `invalid opcode ${this._opcode}`, true, 1002); - } - - if (!this._fin && !this._fragmented) this._fragmented = this._opcode; - this._masked = (buf[1] & 0x80) === 0x80; - - if (this._payloadLength === 126) this._state = GET_PAYLOAD_LENGTH_16; - else if (this._payloadLength === 127) this._state = GET_PAYLOAD_LENGTH_64; - else return this.haveLength(); - } - - /** - * Gets extended payload length (7+16). - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - getPayloadLength16() { - if (this._bufferedBytes < 2) { - this._loop = false; - return; - } - - this._payloadLength = this.consume(2).readUInt16BE(0); - return this.haveLength(); - } - - /** - * Gets extended payload length (7+64). - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - getPayloadLength64() { - if (this._bufferedBytes < 8) { - this._loop = false; - return; - } - - const buf = this.consume(8); - const num = buf.readUInt32BE(0); - - // - // The maximum safe integer in JavaScript is 2^53 - 1. An error is returned - // if payload length is greater than this number. - // - if (num > Math.pow(2, 53 - 32) - 1) { - this._loop = false; - return error( - RangeError, - 'Unsupported WebSocket frame: payload length > 2^53 - 1', - false, - 1009 - ); - } - - this._payloadLength = num * Math.pow(2, 32) + buf.readUInt32BE(4); - return this.haveLength(); - } - - /** - * Payload length has been read. - * - * @return {(RangeError|undefined)} A possible error - * @private - */ - haveLength() { - if (this._payloadLength && this._opcode < 0x08) { - this._totalPayloadLength += this._payloadLength; - if (this._totalPayloadLength > this._maxPayload && this._maxPayload > 0) { - this._loop = false; - return error(RangeError, 'Max payload size exceeded', false, 1009); - } - } - - if (this._masked) this._state = GET_MASK; - else this._state = GET_DATA; - } - - /** - * Reads mask bytes. - * - * @private - */ - getMask() { - if (this._bufferedBytes < 4) { - this._loop = false; - return; - } - - this._mask = this.consume(4); - this._state = GET_DATA; - } - - /** - * Reads data bytes. - * - * @param {Function} cb Callback - * @return {(Error|RangeError|undefined)} A possible error - * @private - */ - getData(cb) { - var data = EMPTY_BUFFER$4; - - if (this._payloadLength) { - if (this._bufferedBytes < this._payloadLength) { - this._loop = false; - return; - } - - data = this.consume(this._payloadLength); - if (this._masked) unmask(data, this._mask); - } - - if (this._opcode > 0x07) return this.controlMessage(data); - - if (this._compressed) { - this._state = INFLATING; - this.decompress(data, cb); - return; - } - - if (data.length) { - // - // This message is not compressed so its lenght is the sum of the payload - // length of all fragments. - // - this._messageLength = this._totalPayloadLength; - this._fragments.push(data); - } - - return this.dataMessage(); - } - - /** - * Decompresses data. - * - * @param {Buffer} data Compressed data - * @param {Function} cb Callback - * @private - */ - decompress(data, cb) { - const perMessageDeflate = this._extensions[PerMessageDeflate$3.extensionName]; - - perMessageDeflate.decompress(data, this._fin, (err, buf) => { - if (err) return cb(err); - - if (buf.length) { - this._messageLength += buf.length; - if (this._messageLength > this._maxPayload && this._maxPayload > 0) { - return cb( - error(RangeError, 'Max payload size exceeded', false, 1009) - ); - } - - this._fragments.push(buf); - } - - const er = this.dataMessage(); - if (er) return cb(er); - - this.startLoop(cb); - }); - } - - /** - * Handles a data message. - * - * @return {(Error|undefined)} A possible error - * @private - */ - dataMessage() { - if (this._fin) { - const messageLength = this._messageLength; - const fragments = this._fragments; - - this._totalPayloadLength = 0; - this._messageLength = 0; - this._fragmented = 0; - this._fragments = []; - - if (this._opcode === 2) { - var data; - - if (this._binaryType === 'nodebuffer') { - data = concat(fragments, messageLength); - } else if (this._binaryType === 'arraybuffer') { - data = toArrayBuffer(concat(fragments, messageLength)); - } else { - data = fragments; - } - - this.emit('message', data); - } else { - const buf = concat(fragments, messageLength); - - if (!isValidUTF8(buf)) { - this._loop = false; - return error(Error, 'invalid UTF-8 sequence', true, 1007); - } - - this.emit('message', buf.toString()); - } - } - - this._state = GET_INFO; - } - - /** - * Handles a control message. - * - * @param {Buffer} data Data to handle - * @return {(Error|RangeError|undefined)} A possible error - * @private - */ - controlMessage(data) { - if (this._opcode === 0x08) { - this._loop = false; - - if (data.length === 0) { - this.emit('conclude', 1005, ''); - this.end(); - } else if (data.length === 1) { - return error(RangeError, 'invalid payload length 1', true, 1002); - } else { - const code = data.readUInt16BE(0); - - if (!isValidStatusCode$1(code)) { - return error(RangeError, `invalid status code ${code}`, true, 1002); - } - - const buf = data.slice(2); - - if (!isValidUTF8(buf)) { - return error(Error, 'invalid UTF-8 sequence', true, 1007); - } - - this.emit('conclude', code, buf.toString()); - this.end(); - } - } else if (this._opcode === 0x09) { - this.emit('ping', data); - } else { - this.emit('pong', data); - } - - this._state = GET_INFO; - } -} - -var receiver = Receiver$1; - -/** - * Builds an error object. - * - * @param {(Error|RangeError)} ErrorCtor The error constructor - * @param {String} message The error message - * @param {Boolean} prefix Specifies whether or not to add a default prefix to - * `message` - * @param {Number} statusCode The status code - * @return {(Error|RangeError)} The error - * @private - */ -function error(ErrorCtor, message, prefix, statusCode) { - const err = new ErrorCtor( - prefix ? `Invalid WebSocket frame: ${message}` : message - ); - - Error.captureStackTrace(err, error); - err[kStatusCode$1] = statusCode; - return err; -} - -const { randomBytes } = require$$0__default["default"]; - -const PerMessageDeflate$2 = permessageDeflate; -const { EMPTY_BUFFER: EMPTY_BUFFER$3 } = constants; -const { isValidStatusCode } = validation; -const { mask: applyMask, toBuffer } = bufferUtil$1.exports; - -/** - * HyBi Sender implementation. - */ -class Sender$1 { - /** - * Creates a Sender instance. - * - * @param {net.Socket} socket The connection socket - * @param {Object} extensions An object containing the negotiated extensions - */ - constructor(socket, extensions) { - this._extensions = extensions || {}; - this._socket = socket; - - this._firstFragment = true; - this._compress = false; - - this._bufferedBytes = 0; - this._deflating = false; - this._queue = []; - } - - /** - * Frames a piece of data according to the HyBi WebSocket protocol. - * - * @param {Buffer} data The data to frame - * @param {Object} options Options object - * @param {Number} options.opcode The opcode - * @param {Boolean} options.readOnly Specifies whether `data` can be modified - * @param {Boolean} options.fin Specifies whether or not to set the FIN bit - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit - * @return {Buffer[]} The framed data as a list of `Buffer` instances - * @public - */ - static frame(data, options) { - const merge = options.mask && options.readOnly; - var offset = options.mask ? 6 : 2; - var payloadLength = data.length; - - if (data.length >= 65536) { - offset += 8; - payloadLength = 127; - } else if (data.length > 125) { - offset += 2; - payloadLength = 126; - } - - const target = Buffer.allocUnsafe(merge ? data.length + offset : offset); - - target[0] = options.fin ? options.opcode | 0x80 : options.opcode; - if (options.rsv1) target[0] |= 0x40; - - target[1] = payloadLength; - - if (payloadLength === 126) { - target.writeUInt16BE(data.length, 2); - } else if (payloadLength === 127) { - target.writeUInt32BE(0, 2); - target.writeUInt32BE(data.length, 6); - } - - if (!options.mask) return [target, data]; - - const mask = randomBytes(4); - - target[1] |= 0x80; - target[offset - 4] = mask[0]; - target[offset - 3] = mask[1]; - target[offset - 2] = mask[2]; - target[offset - 1] = mask[3]; - - if (merge) { - applyMask(data, mask, target, offset, data.length); - return [target]; - } - - applyMask(data, mask, data, 0, data.length); - return [target, data]; - } - - /** - * Sends a close message to the other peer. - * - * @param {(Number|undefined)} code The status code component of the body - * @param {String} data The message component of the body - * @param {Boolean} mask Specifies whether or not to mask the message - * @param {Function} cb Callback - * @public - */ - close(code, data, mask, cb) { - var buf; - - if (code === undefined) { - buf = EMPTY_BUFFER$3; - } else if (typeof code !== 'number' || !isValidStatusCode(code)) { - throw new TypeError('First argument must be a valid error code number'); - } else if (data === undefined || data === '') { - buf = Buffer.allocUnsafe(2); - buf.writeUInt16BE(code, 0); - } else { - buf = Buffer.allocUnsafe(2 + Buffer.byteLength(data)); - buf.writeUInt16BE(code, 0); - buf.write(data, 2); - } - - if (this._deflating) { - this.enqueue([this.doClose, buf, mask, cb]); - } else { - this.doClose(buf, mask, cb); - } - } - - /** - * Frames and sends a close message. - * - * @param {Buffer} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @private - */ - doClose(data, mask, cb) { - this.sendFrame( - Sender$1.frame(data, { - fin: true, - rsv1: false, - opcode: 0x08, - mask, - readOnly: false - }), - cb - ); - } - - /** - * Sends a ping message to the other peer. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @public - */ - ping(data, mask, cb) { - const buf = toBuffer(data); - - if (this._deflating) { - this.enqueue([this.doPing, buf, mask, toBuffer.readOnly, cb]); - } else { - this.doPing(buf, mask, toBuffer.readOnly, cb); - } - } - - /** - * Frames and sends a ping message. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Boolean} readOnly Specifies whether `data` can be modified - * @param {Function} cb Callback - * @private - */ - doPing(data, mask, readOnly, cb) { - this.sendFrame( - Sender$1.frame(data, { - fin: true, - rsv1: false, - opcode: 0x09, - mask, - readOnly - }), - cb - ); - } - - /** - * Sends a pong message to the other peer. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @public - */ - pong(data, mask, cb) { - const buf = toBuffer(data); - - if (this._deflating) { - this.enqueue([this.doPong, buf, mask, toBuffer.readOnly, cb]); - } else { - this.doPong(buf, mask, toBuffer.readOnly, cb); - } - } - - /** - * Frames and sends a pong message. - * - * @param {*} data The message to send - * @param {Boolean} mask Specifies whether or not to mask `data` - * @param {Boolean} readOnly Specifies whether `data` can be modified - * @param {Function} cb Callback - * @private - */ - doPong(data, mask, readOnly, cb) { - this.sendFrame( - Sender$1.frame(data, { - fin: true, - rsv1: false, - opcode: 0x0a, - mask, - readOnly - }), - cb - ); - } - - /** - * Sends a data message to the other peer. - * - * @param {*} data The message to send - * @param {Object} options Options object - * @param {Boolean} options.compress Specifies whether or not to compress `data` - * @param {Boolean} options.binary Specifies whether `data` is binary or text - * @param {Boolean} options.fin Specifies whether the fragment is the last one - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Function} cb Callback - * @public - */ - send(data, options, cb) { - const buf = toBuffer(data); - const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; - var opcode = options.binary ? 2 : 1; - var rsv1 = options.compress; - - if (this._firstFragment) { - this._firstFragment = false; - if (rsv1 && perMessageDeflate) { - rsv1 = buf.length >= perMessageDeflate._threshold; - } - this._compress = rsv1; - } else { - rsv1 = false; - opcode = 0; - } - - if (options.fin) this._firstFragment = true; - - if (perMessageDeflate) { - const opts = { - fin: options.fin, - rsv1, - opcode, - mask: options.mask, - readOnly: toBuffer.readOnly - }; - - if (this._deflating) { - this.enqueue([this.dispatch, buf, this._compress, opts, cb]); - } else { - this.dispatch(buf, this._compress, opts, cb); - } - } else { - this.sendFrame( - Sender$1.frame(buf, { - fin: options.fin, - rsv1: false, - opcode, - mask: options.mask, - readOnly: toBuffer.readOnly - }), - cb - ); - } - } - - /** - * Dispatches a data message. - * - * @param {Buffer} data The message to send - * @param {Boolean} compress Specifies whether or not to compress `data` - * @param {Object} options Options object - * @param {Number} options.opcode The opcode - * @param {Boolean} options.readOnly Specifies whether `data` can be modified - * @param {Boolean} options.fin Specifies whether or not to set the FIN bit - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Boolean} options.rsv1 Specifies whether or not to set the RSV1 bit - * @param {Function} cb Callback - * @private - */ - dispatch(data, compress, options, cb) { - if (!compress) { - this.sendFrame(Sender$1.frame(data, options), cb); - return; - } - - const perMessageDeflate = this._extensions[PerMessageDeflate$2.extensionName]; - - this._deflating = true; - perMessageDeflate.compress(data, options.fin, (_, buf) => { - this._deflating = false; - options.readOnly = false; - this.sendFrame(Sender$1.frame(buf, options), cb); - this.dequeue(); - }); - } - - /** - * Executes queued send operations. - * - * @private - */ - dequeue() { - while (!this._deflating && this._queue.length) { - const params = this._queue.shift(); - - this._bufferedBytes -= params[1].length; - params[0].apply(this, params.slice(1)); - } - } - - /** - * Enqueues a send operation. - * - * @param {Array} params Send operation parameters. - * @private - */ - enqueue(params) { - this._bufferedBytes += params[1].length; - this._queue.push(params); - } - - /** - * Sends a frame. - * - * @param {Buffer[]} list The frame to send - * @param {Function} cb Callback - * @private - */ - sendFrame(list, cb) { - if (list.length === 2) { - this._socket.cork(); - this._socket.write(list[0]); - this._socket.write(list[1], cb); - this._socket.uncork(); - } else { - this._socket.write(list[0], cb); - } - } -} - -var sender = Sender$1; - -const EventEmitter$2 = require$$0__default$2["default"]; -const crypto$9 = require$$0__default["default"]; -const https = require$$2__default["default"]; -const http$1 = http__default["default"]; -const net = require$$4__default["default"]; -const tls = require$$5__default["default"]; -const url = Url__default["default"]; - -const PerMessageDeflate$1 = permessageDeflate; -const EventTarget = eventTarget; -const extension$1 = extension$2; -const Receiver = receiver; -const Sender = sender; -const { - BINARY_TYPES, - EMPTY_BUFFER: EMPTY_BUFFER$2, - GUID: GUID$1, - kStatusCode, - kWebSocket, - NOOP -} = constants; - -const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED']; -const protocolVersions = [8, 13]; -const closeTimeout = 30 * 1000; - -/** - * Class representing a WebSocket. - * - * @extends EventEmitter - */ -class WebSocket$3 extends EventEmitter$2 { - /** - * Create a new `WebSocket`. - * - * @param {(String|url.Url|url.URL)} address The URL to which to connect - * @param {(String|String[])} protocols The subprotocols - * @param {Object} options Connection options - */ - constructor(address, protocols, options) { - super(); - - this.readyState = WebSocket$3.CONNECTING; - this.protocol = ''; - - this._binaryType = BINARY_TYPES[0]; - this._closeFrameReceived = false; - this._closeFrameSent = false; - this._closeMessage = ''; - this._closeTimer = null; - this._closeCode = 1006; - this._extensions = {}; - this._receiver = null; - this._sender = null; - this._socket = null; - - if (address !== null) { - this._isServer = false; - this._redirects = 0; - - if (Array.isArray(protocols)) { - protocols = protocols.join(', '); - } else if (typeof protocols === 'object' && protocols !== null) { - options = protocols; - protocols = undefined; - } - - initAsClient(this, address, protocols, options); - } else { - this._isServer = true; - } - } - - get CONNECTING() { - return WebSocket$3.CONNECTING; - } - get CLOSING() { - return WebSocket$3.CLOSING; - } - get CLOSED() { - return WebSocket$3.CLOSED; - } - get OPEN() { - return WebSocket$3.OPEN; - } - - /** - * This deviates from the WHATWG interface since ws doesn't support the - * required default "blob" type (instead we define a custom "nodebuffer" - * type). - * - * @type {String} - */ - get binaryType() { - return this._binaryType; - } - - set binaryType(type) { - if (!BINARY_TYPES.includes(type)) return; - - this._binaryType = type; - - // - // Allow to change `binaryType` on the fly. - // - if (this._receiver) this._receiver._binaryType = type; - } - - /** - * @type {Number} - */ - get bufferedAmount() { - if (!this._socket) return 0; - - // - // `socket.bufferSize` is `undefined` if the socket is closed. - // - return (this._socket.bufferSize || 0) + this._sender._bufferedBytes; - } - - /** - * @type {String} - */ - get extensions() { - return Object.keys(this._extensions).join(); - } - - /** - * Set up the socket and the internal resources. - * - * @param {net.Socket} socket The network socket between the server and client - * @param {Buffer} head The first packet of the upgraded stream - * @param {Number} maxPayload The maximum allowed message size - * @private - */ - setSocket(socket, head, maxPayload) { - const receiver = new Receiver( - this._binaryType, - this._extensions, - maxPayload - ); - - this._sender = new Sender(socket, this._extensions); - this._receiver = receiver; - this._socket = socket; - - receiver[kWebSocket] = this; - socket[kWebSocket] = this; - - receiver.on('conclude', receiverOnConclude); - receiver.on('drain', receiverOnDrain); - receiver.on('error', receiverOnError); - receiver.on('message', receiverOnMessage); - receiver.on('ping', receiverOnPing); - receiver.on('pong', receiverOnPong); - - socket.setTimeout(0); - socket.setNoDelay(); - - if (head.length > 0) socket.unshift(head); - - socket.on('close', socketOnClose); - socket.on('data', socketOnData); - socket.on('end', socketOnEnd); - socket.on('error', socketOnError$1); - - this.readyState = WebSocket$3.OPEN; - this.emit('open'); - } - - /** - * Emit the `'close'` event. - * - * @private - */ - emitClose() { - this.readyState = WebSocket$3.CLOSED; - - if (!this._socket) { - this.emit('close', this._closeCode, this._closeMessage); - return; - } - - if (this._extensions[PerMessageDeflate$1.extensionName]) { - this._extensions[PerMessageDeflate$1.extensionName].cleanup(); - } - - this._receiver.removeAllListeners(); - this.emit('close', this._closeCode, this._closeMessage); - } - - /** - * Start a closing handshake. - * - * +----------+ +-----------+ +----------+ - * - - -|ws.close()|-->|close frame|-->|ws.close()|- - - - * | +----------+ +-----------+ +----------+ | - * +----------+ +-----------+ | - * CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING - * +----------+ +-----------+ | - * | | | +---+ | - * +------------------------+-->|fin| - - - - - * | +---+ | +---+ - * - - - - -|fin|<---------------------+ - * +---+ - * - * @param {Number} code Status code explaining why the connection is closing - * @param {String} data A string explaining why the connection is closing - * @public - */ - close(code, data) { - if (this.readyState === WebSocket$3.CLOSED) return; - if (this.readyState === WebSocket$3.CONNECTING) { - const msg = 'WebSocket was closed before the connection was established'; - return abortHandshake$1(this, this._req, msg); - } - - if (this.readyState === WebSocket$3.CLOSING) { - if (this._closeFrameSent && this._closeFrameReceived) this._socket.end(); - return; - } - - this.readyState = WebSocket$3.CLOSING; - this._sender.close(code, data, !this._isServer, (err) => { - // - // This error is handled by the `'error'` listener on the socket. We only - // want to know if the close frame has been sent here. - // - if (err) return; - - this._closeFrameSent = true; - if (this._closeFrameReceived) this._socket.end(); - }); - - // - // Specify a timeout for the closing handshake to complete. - // - this._closeTimer = setTimeout( - this._socket.destroy.bind(this._socket), - closeTimeout - ); - } - - /** - * Send a ping. - * - * @param {*} data The data to send - * @param {Boolean} mask Indicates whether or not to mask `data` - * @param {Function} cb Callback which is executed when the ping is sent - * @public - */ - ping(data, mask, cb) { - if (typeof data === 'function') { - cb = data; - data = mask = undefined; - } else if (typeof mask === 'function') { - cb = mask; - mask = undefined; - } - - if (this.readyState !== WebSocket$3.OPEN) { - const err = new Error( - `WebSocket is not open: readyState ${this.readyState} ` + - `(${readyStates[this.readyState]})` - ); - - if (cb) return cb(err); - throw err; - } - - if (typeof data === 'number') data = data.toString(); - if (mask === undefined) mask = !this._isServer; - this._sender.ping(data || EMPTY_BUFFER$2, mask, cb); - } - - /** - * Send a pong. - * - * @param {*} data The data to send - * @param {Boolean} mask Indicates whether or not to mask `data` - * @param {Function} cb Callback which is executed when the pong is sent - * @public - */ - pong(data, mask, cb) { - if (typeof data === 'function') { - cb = data; - data = mask = undefined; - } else if (typeof mask === 'function') { - cb = mask; - mask = undefined; - } - - if (this.readyState !== WebSocket$3.OPEN) { - const err = new Error( - `WebSocket is not open: readyState ${this.readyState} ` + - `(${readyStates[this.readyState]})` - ); - - if (cb) return cb(err); - throw err; - } - - if (typeof data === 'number') data = data.toString(); - if (mask === undefined) mask = !this._isServer; - this._sender.pong(data || EMPTY_BUFFER$2, mask, cb); - } - - /** - * Send a data message. - * - * @param {*} data The message to send - * @param {Object} options Options object - * @param {Boolean} options.compress Specifies whether or not to compress `data` - * @param {Boolean} options.binary Specifies whether `data` is binary or text - * @param {Boolean} options.fin Specifies whether the fragment is the last one - * @param {Boolean} options.mask Specifies whether or not to mask `data` - * @param {Function} cb Callback which is executed when data is written out - * @public - */ - send(data, options, cb) { - if (typeof options === 'function') { - cb = options; - options = {}; - } - - if (this.readyState !== WebSocket$3.OPEN) { - const err = new Error( - `WebSocket is not open: readyState ${this.readyState} ` + - `(${readyStates[this.readyState]})` - ); - - if (cb) return cb(err); - throw err; - } - - if (typeof data === 'number') data = data.toString(); - - const opts = Object.assign( - { - binary: typeof data !== 'string', - mask: !this._isServer, - compress: true, - fin: true - }, - options - ); - - if (!this._extensions[PerMessageDeflate$1.extensionName]) { - opts.compress = false; - } - - this._sender.send(data || EMPTY_BUFFER$2, opts, cb); - } - - /** - * Forcibly close the connection. - * - * @public - */ - terminate() { - if (this.readyState === WebSocket$3.CLOSED) return; - if (this.readyState === WebSocket$3.CONNECTING) { - const msg = 'WebSocket was closed before the connection was established'; - return abortHandshake$1(this, this._req, msg); - } - - if (this._socket) { - this.readyState = WebSocket$3.CLOSING; - this._socket.destroy(); - } - } -} - -readyStates.forEach((readyState, i) => { - WebSocket$3[readyState] = i; -}); - -// -// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes. -// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface -// -['open', 'error', 'close', 'message'].forEach((method) => { - Object.defineProperty(WebSocket$3.prototype, `on${method}`, { - /** - * Return the listener of the event. - * - * @return {(Function|undefined)} The event listener or `undefined` - * @public - */ - get() { - const listeners = this.listeners(method); - for (var i = 0; i < listeners.length; i++) { - if (listeners[i]._listener) return listeners[i]._listener; - } - - return undefined; - }, - /** - * Add a listener for the event. - * - * @param {Function} listener The listener to add - * @public - */ - set(listener) { - const listeners = this.listeners(method); - for (var i = 0; i < listeners.length; i++) { - // - // Remove only the listeners added via `addEventListener`. - // - if (listeners[i]._listener) this.removeListener(method, listeners[i]); - } - this.addEventListener(method, listener); - } - }); -}); - -WebSocket$3.prototype.addEventListener = EventTarget.addEventListener; -WebSocket$3.prototype.removeEventListener = EventTarget.removeEventListener; - -var websocket = WebSocket$3; - -/** - * Initialize a WebSocket client. - * - * @param {WebSocket} websocket The client to initialize - * @param {(String|url.Url|url.URL)} address The URL to which to connect - * @param {String} protocols The subprotocols - * @param {Object} options Connection options - * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable - * permessage-deflate - * @param {Number} options.handshakeTimeout Timeout in milliseconds for the - * handshake request - * @param {Number} options.protocolVersion Value of the `Sec-WebSocket-Version` - * header - * @param {String} options.origin Value of the `Origin` or - * `Sec-WebSocket-Origin` header - * @param {Number} options.maxPayload The maximum allowed message size - * @param {Boolean} options.followRedirects Whether or not to follow redirects - * @param {Number} options.maxRedirects The maximum number of redirects allowed - * @private - */ -function initAsClient(websocket, address, protocols, options) { - const opts = Object.assign( - { - protocolVersion: protocolVersions[1], - maxPayload: 100 * 1024 * 1024, - perMessageDeflate: true, - followRedirects: false, - maxRedirects: 10 - }, - options, - { - createConnection: undefined, - socketPath: undefined, - hostname: undefined, - protocol: undefined, - timeout: undefined, - method: undefined, - auth: undefined, - host: undefined, - path: undefined, - port: undefined - } - ); - - if (!protocolVersions.includes(opts.protocolVersion)) { - throw new RangeError( - `Unsupported protocol version: ${opts.protocolVersion} ` + - `(supported versions: ${protocolVersions.join(', ')})` - ); - } - - var parsedUrl; - - if (typeof address === 'object' && address.href !== undefined) { - parsedUrl = address; - websocket.url = address.href; - } else { - // - // The WHATWG URL constructor is not available on Node.js < 6.13.0 - // - parsedUrl = url.URL ? new url.URL(address) : url.parse(address); - websocket.url = address; - } - - const isUnixSocket = parsedUrl.protocol === 'ws+unix:'; - - if (!parsedUrl.host && (!isUnixSocket || !parsedUrl.pathname)) { - throw new Error(`Invalid URL: ${websocket.url}`); - } - - const isSecure = - parsedUrl.protocol === 'wss:' || parsedUrl.protocol === 'https:'; - const defaultPort = isSecure ? 443 : 80; - const key = crypto$9.randomBytes(16).toString('base64'); - const get = isSecure ? https.get : http$1.get; - const path = parsedUrl.search - ? `${parsedUrl.pathname || '/'}${parsedUrl.search}` - : parsedUrl.pathname || '/'; - var perMessageDeflate; - - opts.createConnection = isSecure ? tlsConnect : netConnect; - opts.defaultPort = opts.defaultPort || defaultPort; - opts.port = parsedUrl.port || defaultPort; - opts.host = parsedUrl.hostname.startsWith('[') - ? parsedUrl.hostname.slice(1, -1) - : parsedUrl.hostname; - opts.headers = Object.assign( - { - 'Sec-WebSocket-Version': opts.protocolVersion, - 'Sec-WebSocket-Key': key, - Connection: 'Upgrade', - Upgrade: 'websocket' - }, - opts.headers - ); - opts.path = path; - opts.timeout = opts.handshakeTimeout; - - if (opts.perMessageDeflate) { - perMessageDeflate = new PerMessageDeflate$1( - opts.perMessageDeflate !== true ? opts.perMessageDeflate : {}, - false, - opts.maxPayload - ); - opts.headers['Sec-WebSocket-Extensions'] = extension$1.format({ - [PerMessageDeflate$1.extensionName]: perMessageDeflate.offer() - }); - } - if (protocols) { - opts.headers['Sec-WebSocket-Protocol'] = protocols; - } - if (opts.origin) { - if (opts.protocolVersion < 13) { - opts.headers['Sec-WebSocket-Origin'] = opts.origin; - } else { - opts.headers.Origin = opts.origin; - } - } - if (parsedUrl.auth) { - opts.auth = parsedUrl.auth; - } else if (parsedUrl.username || parsedUrl.password) { - opts.auth = `${parsedUrl.username}:${parsedUrl.password}`; - } - - if (isUnixSocket) { - const parts = path.split(':'); - - opts.socketPath = parts[0]; - opts.path = parts[1]; - } - - var req = (websocket._req = get(opts)); - - if (opts.timeout) { - req.on('timeout', () => { - abortHandshake$1(websocket, req, 'Opening handshake has timed out'); - }); - } - - req.on('error', (err) => { - if (websocket._req.aborted) return; - - req = websocket._req = null; - websocket.readyState = WebSocket$3.CLOSING; - websocket.emit('error', err); - websocket.emitClose(); - }); - - req.on('response', (res) => { - const location = res.headers.location; - const statusCode = res.statusCode; - - if ( - location && - opts.followRedirects && - statusCode >= 300 && - statusCode < 400 - ) { - if (++websocket._redirects > opts.maxRedirects) { - abortHandshake$1(websocket, req, 'Maximum redirects exceeded'); - return; - } - - req.abort(); - - const addr = url.URL - ? new url.URL(location, address) - : url.resolve(address, location); - - initAsClient(websocket, addr, protocols, options); - } else if (!websocket.emit('unexpected-response', req, res)) { - abortHandshake$1( - websocket, - req, - `Unexpected server response: ${res.statusCode}` - ); - } - }); - - req.on('upgrade', (res, socket, head) => { - websocket.emit('upgrade', res); - - // - // The user may have closed the connection from a listener of the `upgrade` - // event. - // - if (websocket.readyState !== WebSocket$3.CONNECTING) return; - - req = websocket._req = null; - - const digest = crypto$9 - .createHash('sha1') - .update(key + GUID$1) - .digest('base64'); - - if (res.headers['sec-websocket-accept'] !== digest) { - abortHandshake$1(websocket, socket, 'Invalid Sec-WebSocket-Accept header'); - return; - } - - const serverProt = res.headers['sec-websocket-protocol']; - const protList = (protocols || '').split(/, */); - var protError; - - if (!protocols && serverProt) { - protError = 'Server sent a subprotocol but none was requested'; - } else if (protocols && !serverProt) { - protError = 'Server sent no subprotocol'; - } else if (serverProt && !protList.includes(serverProt)) { - protError = 'Server sent an invalid subprotocol'; - } - - if (protError) { - abortHandshake$1(websocket, socket, protError); - return; - } - - if (serverProt) websocket.protocol = serverProt; - - if (perMessageDeflate) { - try { - const extensions = extension$1.parse( - res.headers['sec-websocket-extensions'] - ); - - if (extensions[PerMessageDeflate$1.extensionName]) { - perMessageDeflate.accept(extensions[PerMessageDeflate$1.extensionName]); - websocket._extensions[ - PerMessageDeflate$1.extensionName - ] = perMessageDeflate; - } - } catch (err) { - abortHandshake$1( - websocket, - socket, - 'Invalid Sec-WebSocket-Extensions header' - ); - return; - } - } - - websocket.setSocket(socket, head, opts.maxPayload); - }); -} - -/** - * Create a `net.Socket` and initiate a connection. - * - * @param {Object} options Connection options - * @return {net.Socket} The newly created socket used to start the connection - * @private - */ -function netConnect(options) { - // - // Override `options.path` only if `options` is a copy of the original options - // object. This is always true on Node.js >= 8 but not on Node.js 6 where - // `options.socketPath` might be `undefined` even if the `socketPath` option - // was originally set. - // - if (options.protocolVersion) options.path = options.socketPath; - return net.connect(options); -} - -/** - * Create a `tls.TLSSocket` and initiate a connection. - * - * @param {Object} options Connection options - * @return {tls.TLSSocket} The newly created socket used to start the connection - * @private - */ -function tlsConnect(options) { - options.path = undefined; - options.servername = options.servername || options.host; - return tls.connect(options); -} - -/** - * Abort the handshake and emit an error. - * - * @param {WebSocket} websocket The WebSocket instance - * @param {(http.ClientRequest|net.Socket)} stream The request to abort or the - * socket to destroy - * @param {String} message The error message - * @private - */ -function abortHandshake$1(websocket, stream, message) { - websocket.readyState = WebSocket$3.CLOSING; - - const err = new Error(message); - Error.captureStackTrace(err, abortHandshake$1); - - if (stream.setHeader) { - stream.abort(); - stream.once('abort', websocket.emitClose.bind(websocket)); - websocket.emit('error', err); - } else { - stream.destroy(err); - stream.once('error', websocket.emit.bind(websocket, 'error')); - stream.once('close', websocket.emitClose.bind(websocket)); - } -} - -/** - * The listener of the `Receiver` `'conclude'` event. - * - * @param {Number} code The status code - * @param {String} reason The reason for closing - * @private - */ -function receiverOnConclude(code, reason) { - const websocket = this[kWebSocket]; - - websocket._socket.removeListener('data', socketOnData); - websocket._socket.resume(); - - websocket._closeFrameReceived = true; - websocket._closeMessage = reason; - websocket._closeCode = code; - - if (code === 1005) websocket.close(); - else websocket.close(code, reason); -} - -/** - * The listener of the `Receiver` `'drain'` event. - * - * @private - */ -function receiverOnDrain() { - this[kWebSocket]._socket.resume(); -} - -/** - * The listener of the `Receiver` `'error'` event. - * - * @param {(RangeError|Error)} err The emitted error - * @private - */ -function receiverOnError(err) { - const websocket = this[kWebSocket]; - - websocket._socket.removeListener('data', socketOnData); - - websocket.readyState = WebSocket$3.CLOSING; - websocket._closeCode = err[kStatusCode]; - websocket.emit('error', err); - websocket._socket.destroy(); -} - -/** - * The listener of the `Receiver` `'finish'` event. - * - * @private - */ -function receiverOnFinish() { - this[kWebSocket].emitClose(); -} - -/** - * The listener of the `Receiver` `'message'` event. - * - * @param {(String|Buffer|ArrayBuffer|Buffer[])} data The message - * @private - */ -function receiverOnMessage(data) { - this[kWebSocket].emit('message', data); -} - -/** - * The listener of the `Receiver` `'ping'` event. - * - * @param {Buffer} data The data included in the ping frame - * @private - */ -function receiverOnPing(data) { - const websocket = this[kWebSocket]; - - websocket.pong(data, !websocket._isServer, NOOP); - websocket.emit('ping', data); -} - -/** - * The listener of the `Receiver` `'pong'` event. - * - * @param {Buffer} data The data included in the pong frame - * @private - */ -function receiverOnPong(data) { - this[kWebSocket].emit('pong', data); -} - -/** - * The listener of the `net.Socket` `'close'` event. - * - * @private - */ -function socketOnClose() { - const websocket = this[kWebSocket]; - - this.removeListener('close', socketOnClose); - this.removeListener('end', socketOnEnd); - - websocket.readyState = WebSocket$3.CLOSING; - - // - // The close frame might not have been received or the `'end'` event emitted, - // for example, if the socket was destroyed due to an error. Ensure that the - // `receiver` stream is closed after writing any remaining buffered data to - // it. If the readable side of the socket is in flowing mode then there is no - // buffered data as everything has been already written and `readable.read()` - // will return `null`. If instead, the socket is paused, any possible buffered - // data will be read as a single chunk and emitted synchronously in a single - // `'data'` event. - // - websocket._socket.read(); - websocket._receiver.end(); - - this.removeListener('data', socketOnData); - this[kWebSocket] = undefined; - - clearTimeout(websocket._closeTimer); - - if ( - websocket._receiver._writableState.finished || - websocket._receiver._writableState.errorEmitted - ) { - websocket.emitClose(); - } else { - websocket._receiver.on('error', receiverOnFinish); - websocket._receiver.on('finish', receiverOnFinish); - } -} - -/** - * The listener of the `net.Socket` `'data'` event. - * - * @param {Buffer} chunk A chunk of data - * @private - */ -function socketOnData(chunk) { - if (!this[kWebSocket]._receiver.write(chunk)) { - this.pause(); - } -} - -/** - * The listener of the `net.Socket` `'end'` event. - * - * @private - */ -function socketOnEnd() { - const websocket = this[kWebSocket]; - - websocket.readyState = WebSocket$3.CLOSING; - websocket._receiver.end(); - this.end(); -} - -/** - * The listener of the `net.Socket` `'error'` event. - * - * @private - */ -function socketOnError$1() { - const websocket = this[kWebSocket]; - - this.removeListener('error', socketOnError$1); - this.on('error', NOOP); - - websocket.readyState = WebSocket$3.CLOSING; - this.destroy(); -} - -const EventEmitter$1 = require$$0__default$2["default"]; -const crypto$8 = require$$0__default["default"]; -const http = http__default["default"]; - -const PerMessageDeflate = permessageDeflate; -const extension = extension$2; -const WebSocket$2 = websocket; -const { GUID } = constants; - -const keyRegex = /^[+/0-9A-Za-z]{22}==$/; - -/** - * Class representing a WebSocket server. - * - * @extends EventEmitter - */ -class WebSocketServer extends EventEmitter$1 { - /** - * Create a `WebSocketServer` instance. - * - * @param {Object} options Configuration options - * @param {Number} options.backlog The maximum length of the queue of pending - * connections - * @param {Boolean} options.clientTracking Specifies whether or not to track - * clients - * @param {Function} options.handleProtocols An hook to handle protocols - * @param {String} options.host The hostname where to bind the server - * @param {Number} options.maxPayload The maximum allowed message size - * @param {Boolean} options.noServer Enable no server mode - * @param {String} options.path Accept only connections matching this path - * @param {(Boolean|Object)} options.perMessageDeflate Enable/disable - * permessage-deflate - * @param {Number} options.port The port where to bind the server - * @param {http.Server} options.server A pre-created HTTP/S server to use - * @param {Function} options.verifyClient An hook to reject connections - * @param {Function} callback A listener for the `listening` event - */ - constructor(options, callback) { - super(); - - options = Object.assign( - { - maxPayload: 100 * 1024 * 1024, - perMessageDeflate: false, - handleProtocols: null, - clientTracking: true, - verifyClient: null, - noServer: false, - backlog: null, // use default (511 as implemented in net.js) - server: null, - host: null, - path: null, - port: null - }, - options - ); - - if (options.port == null && !options.server && !options.noServer) { - throw new TypeError( - 'One of the "port", "server", or "noServer" options must be specified' - ); - } - - if (options.port != null) { - this._server = http.createServer((req, res) => { - const body = http.STATUS_CODES[426]; - - res.writeHead(426, { - 'Content-Length': body.length, - 'Content-Type': 'text/plain' - }); - res.end(body); - }); - this._server.listen( - options.port, - options.host, - options.backlog, - callback - ); - } else if (options.server) { - this._server = options.server; - } - - if (this._server) { - this._removeListeners = addListeners(this._server, { - listening: this.emit.bind(this, 'listening'), - error: this.emit.bind(this, 'error'), - upgrade: (req, socket, head) => { - this.handleUpgrade(req, socket, head, (ws) => { - this.emit('connection', ws, req); - }); - } - }); - } - - if (options.perMessageDeflate === true) options.perMessageDeflate = {}; - if (options.clientTracking) this.clients = new Set(); - this.options = options; - } - - /** - * Returns the bound address, the address family name, and port of the server - * as reported by the operating system if listening on an IP socket. - * If the server is listening on a pipe or UNIX domain socket, the name is - * returned as a string. - * - * @return {(Object|String|null)} The address of the server - * @public - */ - address() { - if (this.options.noServer) { - throw new Error('The server is operating in "noServer" mode'); - } - - if (!this._server) return null; - return this._server.address(); - } - - /** - * Close the server. - * - * @param {Function} cb Callback - * @public - */ - close(cb) { - if (cb) this.once('close', cb); - - // - // Terminate all associated clients. - // - if (this.clients) { - for (const client of this.clients) client.terminate(); - } - - const server = this._server; - - if (server) { - this._removeListeners(); - this._removeListeners = this._server = null; - - // - // Close the http server if it was internally created. - // - if (this.options.port != null) { - server.close(() => this.emit('close')); - return; - } - } - - process.nextTick(emitClose, this); - } - - /** - * See if a given request should be handled by this server instance. - * - * @param {http.IncomingMessage} req Request object to inspect - * @return {Boolean} `true` if the request is valid, else `false` - * @public - */ - shouldHandle(req) { - if (this.options.path) { - const index = req.url.indexOf('?'); - const pathname = index !== -1 ? req.url.slice(0, index) : req.url; - - if (pathname !== this.options.path) return false; - } - - return true; - } - - /** - * Handle a HTTP Upgrade request. - * - * @param {http.IncomingMessage} req The request object - * @param {net.Socket} socket The network socket between the server and client - * @param {Buffer} head The first packet of the upgraded stream - * @param {Function} cb Callback - * @public - */ - handleUpgrade(req, socket, head, cb) { - socket.on('error', socketOnError); - - const key = - req.headers['sec-websocket-key'] !== undefined - ? req.headers['sec-websocket-key'].trim() - : false; - const version = +req.headers['sec-websocket-version']; - const extensions = {}; - - if ( - req.method !== 'GET' || - req.headers.upgrade.toLowerCase() !== 'websocket' || - !key || - !keyRegex.test(key) || - (version !== 8 && version !== 13) || - !this.shouldHandle(req) - ) { - return abortHandshake(socket, 400); - } - - if (this.options.perMessageDeflate) { - const perMessageDeflate = new PerMessageDeflate( - this.options.perMessageDeflate, - true, - this.options.maxPayload - ); - - try { - const offers = extension.parse(req.headers['sec-websocket-extensions']); - - if (offers[PerMessageDeflate.extensionName]) { - perMessageDeflate.accept(offers[PerMessageDeflate.extensionName]); - extensions[PerMessageDeflate.extensionName] = perMessageDeflate; - } - } catch (err) { - return abortHandshake(socket, 400); - } - } - - // - // Optionally call external client verification handler. - // - if (this.options.verifyClient) { - const info = { - origin: - req.headers[`${version === 8 ? 'sec-websocket-origin' : 'origin'}`], - secure: !!(req.connection.authorized || req.connection.encrypted), - req - }; - - if (this.options.verifyClient.length === 2) { - this.options.verifyClient(info, (verified, code, message, headers) => { - if (!verified) { - return abortHandshake(socket, code || 401, message, headers); - } - - this.completeUpgrade(key, extensions, req, socket, head, cb); - }); - return; - } - - if (!this.options.verifyClient(info)) return abortHandshake(socket, 401); - } - - this.completeUpgrade(key, extensions, req, socket, head, cb); - } - - /** - * Upgrade the connection to WebSocket. - * - * @param {String} key The value of the `Sec-WebSocket-Key` header - * @param {Object} extensions The accepted extensions - * @param {http.IncomingMessage} req The request object - * @param {net.Socket} socket The network socket between the server and client - * @param {Buffer} head The first packet of the upgraded stream - * @param {Function} cb Callback - * @private - */ - completeUpgrade(key, extensions, req, socket, head, cb) { - // - // Destroy the socket if the client has already sent a FIN packet. - // - if (!socket.readable || !socket.writable) return socket.destroy(); - - const digest = crypto$8 - .createHash('sha1') - .update(key + GUID) - .digest('base64'); - - const headers = [ - 'HTTP/1.1 101 Switching Protocols', - 'Upgrade: websocket', - 'Connection: Upgrade', - `Sec-WebSocket-Accept: ${digest}` - ]; - - const ws = new WebSocket$2(null); - var protocol = req.headers['sec-websocket-protocol']; - - if (protocol) { - protocol = protocol.split(',').map(trim); - - // - // Optionally call external protocol selection handler. - // - if (this.options.handleProtocols) { - protocol = this.options.handleProtocols(protocol, req); - } else { - protocol = protocol[0]; - } - - if (protocol) { - headers.push(`Sec-WebSocket-Protocol: ${protocol}`); - ws.protocol = protocol; - } - } - - if (extensions[PerMessageDeflate.extensionName]) { - const params = extensions[PerMessageDeflate.extensionName].params; - const value = extension.format({ - [PerMessageDeflate.extensionName]: [params] - }); - headers.push(`Sec-WebSocket-Extensions: ${value}`); - ws._extensions = extensions; - } - - // - // Allow external modification/inspection of handshake headers. - // - this.emit('headers', headers, req); - - socket.write(headers.concat('\r\n').join('\r\n')); - socket.removeListener('error', socketOnError); - - ws.setSocket(socket, head, this.options.maxPayload); - - if (this.clients) { - this.clients.add(ws); - ws.on('close', () => this.clients.delete(ws)); - } - - cb(ws); - } -} - -var websocketServer = WebSocketServer; - -/** - * Add event listeners on an `EventEmitter` using a map of - * pairs. - * - * @param {EventEmitter} server The event emitter - * @param {Object.} map The listeners to add - * @return {Function} A function that will remove the added listeners when called - * @private - */ -function addListeners(server, map) { - for (const event of Object.keys(map)) server.on(event, map[event]); - - return function removeListeners() { - for (const event of Object.keys(map)) { - server.removeListener(event, map[event]); - } - }; -} - -/** - * Emit a `'close'` event on an `EventEmitter`. - * - * @param {EventEmitter} server The event emitter - * @private - */ -function emitClose(server) { - server.emit('close'); -} - -/** - * Handle premature socket errors. - * - * @private - */ -function socketOnError() { - this.destroy(); -} - -/** - * Close the connection when preconditions are not fulfilled. - * - * @param {net.Socket} socket The socket of the upgrade request - * @param {Number} code The HTTP response status code - * @param {String} [message] The HTTP response body - * @param {Object} [headers] Additional HTTP response headers - * @private - */ -function abortHandshake(socket, code, message, headers) { - if (socket.writable) { - message = message || http.STATUS_CODES[code]; - headers = Object.assign( - { - Connection: 'close', - 'Content-type': 'text/html', - 'Content-Length': Buffer.byteLength(message) - }, - headers - ); - - socket.write( - `HTTP/1.1 ${code} ${http.STATUS_CODES[code]}\r\n` + - Object.keys(headers) - .map((h) => `${h}: ${headers[h]}`) - .join('\r\n') + - '\r\n\r\n' + - message - ); - } - - socket.removeListener('error', socketOnError); - socket.destroy(); -} - -/** - * Remove whitespace characters from both ends of a string. - * - * @param {String} str The string - * @return {String} A new string representing `str` stripped of whitespace - * characters from both its beginning and end - * @private - */ -function trim(str) { - return str.trim(); -} - -const WebSocket$1 = websocket; - -WebSocket$1.Server = websocketServer; -WebSocket$1.Receiver = receiver; -WebSocket$1.Sender = sender; - -var ws = WebSocket$1; - -var duplex = {}; - -var helpers = {}; - -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ - -var __extends = (commonjsGlobal && commonjsGlobal.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -Object.defineProperty(helpers, "__esModule", { value: true }); -var _hasOwnProperty = Object.prototype.hasOwnProperty; -function hasOwnProperty(obj, key) { - return _hasOwnProperty.call(obj, key); -} -helpers.hasOwnProperty = hasOwnProperty; -function _objectKeys(obj) { - if (Array.isArray(obj)) { - var keys = new Array(obj.length); - for (var k = 0; k < keys.length; k++) { - keys[k] = "" + k; - } - return keys; - } - if (Object.keys) { - return Object.keys(obj); - } - var keys = []; - for (var i in obj) { - if (hasOwnProperty(obj, i)) { - keys.push(i); - } - } - return keys; -} -helpers._objectKeys = _objectKeys; -/** -* Deeply clone the object. -* https://jsperf.com/deep-copy-vs-json-stringify-json-parse/25 (recursiveDeepCopy) -* @param {any} obj value to clone -* @return {any} cloned obj -*/ -function _deepClone(obj) { - switch (typeof obj) { - case "object": - return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5 - case "undefined": - return null; //this is how JSON.stringify behaves for array items - default: - return obj; //no need to clone primitives - } -} -helpers._deepClone = _deepClone; -//3x faster than cached /^\d+$/.test(str) -function isInteger(str) { - var i = 0; - var len = str.length; - var charCode; - while (i < len) { - charCode = str.charCodeAt(i); - if (charCode >= 48 && charCode <= 57) { - i++; - continue; - } - return false; - } - return true; -} -helpers.isInteger = isInteger; -/** -* Escapes a json pointer path -* @param path The raw pointer -* @return the Escaped path -*/ -function escapePathComponent(path) { - if (path.indexOf('/') === -1 && path.indexOf('~') === -1) - return path; - return path.replace(/~/g, '~0').replace(/\//g, '~1'); -} -helpers.escapePathComponent = escapePathComponent; -/** - * Unescapes a json pointer path - * @param path The escaped pointer - * @return The unescaped path - */ -function unescapePathComponent(path) { - return path.replace(/~1/g, '/').replace(/~0/g, '~'); -} -helpers.unescapePathComponent = unescapePathComponent; -function _getPathRecursive(root, obj) { - var found; - for (var key in root) { - if (hasOwnProperty(root, key)) { - if (root[key] === obj) { - return escapePathComponent(key) + '/'; - } - else if (typeof root[key] === 'object') { - found = _getPathRecursive(root[key], obj); - if (found != '') { - return escapePathComponent(key) + '/' + found; - } - } - } - } - return ''; -} -helpers._getPathRecursive = _getPathRecursive; -function getPath(root, obj) { - if (root === obj) { - return '/'; - } - var path = _getPathRecursive(root, obj); - if (path === '') { - throw new Error("Object not found in root"); - } - return '/' + path; -} -helpers.getPath = getPath; -/** -* Recursively checks whether an object has any undefined values inside. -*/ -function hasUndefined(obj) { - if (obj === undefined) { - return true; - } - if (obj) { - if (Array.isArray(obj)) { - for (var i = 0, len = obj.length; i < len; i++) { - if (hasUndefined(obj[i])) { - return true; - } - } - } - else if (typeof obj === "object") { - var objKeys = _objectKeys(obj); - var objKeysLength = objKeys.length; - for (var i = 0; i < objKeysLength; i++) { - if (hasUndefined(obj[objKeys[i]])) { - return true; - } - } - } - } - return false; -} -helpers.hasUndefined = hasUndefined; -function patchErrorMessageFormatter(message, args) { - var messageParts = [message]; - for (var key in args) { - var value = typeof args[key] === 'object' ? JSON.stringify(args[key], null, 2) : args[key]; // pretty print - if (typeof value !== 'undefined') { - messageParts.push(key + ": " + value); - } - } - return messageParts.join('\n'); -} -var PatchError = /** @class */ (function (_super) { - __extends(PatchError, _super); - function PatchError(message, name, index, operation, tree) { - var _newTarget = this.constructor; - var _this = _super.call(this, patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree })) || this; - _this.name = name; - _this.index = index; - _this.operation = operation; - _this.tree = tree; - Object.setPrototypeOf(_this, _newTarget.prototype); // restore prototype chain, see https://stackoverflow.com/a/48342359 - _this.message = patchErrorMessageFormatter(message, { name: name, index: index, operation: operation, tree: tree }); - return _this; - } - return PatchError; -}(Error)); -helpers.PatchError = PatchError; - -var core$1 = {}; - -var isArray = Array.isArray; -var keyList = Object.keys; -var hasProp = Object.prototype.hasOwnProperty; - -var fastDeepEqual = function equal(a, b) { - if (a === b) return true; - - if (a && b && typeof a == 'object' && typeof b == 'object') { - var arrA = isArray(a) - , arrB = isArray(b) - , i - , length - , key; - - if (arrA && arrB) { - length = a.length; - if (length != b.length) return false; - for (i = length; i-- !== 0;) - if (!equal(a[i], b[i])) return false; - return true; - } - - if (arrA != arrB) return false; - - var dateA = a instanceof Date - , dateB = b instanceof Date; - if (dateA != dateB) return false; - if (dateA && dateB) return a.getTime() == b.getTime(); - - var regexpA = a instanceof RegExp - , regexpB = b instanceof RegExp; - if (regexpA != regexpB) return false; - if (regexpA && regexpB) return a.toString() == b.toString(); - - var keys = keyList(a); - length = keys.length; - - if (length !== keyList(b).length) - return false; - - for (i = length; i-- !== 0;) - if (!hasProp.call(b, keys[i])) return false; - - for (i = length; i-- !== 0;) { - key = keys[i]; - if (!equal(a[key], b[key])) return false; - } - - return true; - } - - return a!==a && b!==b; -}; - -(function (exports) { - Object.defineProperty(exports, "__esModule", { value: true }); - var areEquals = fastDeepEqual; - var helpers_1 = helpers; - exports.JsonPatchError = helpers_1.PatchError; - exports.deepClone = helpers_1._deepClone; - /* We use a Javascript hash to store each - function. Each hash entry (property) uses - the operation identifiers specified in rfc6902. - In this way, we can map each patch operation - to its dedicated function in efficient way. - */ - /* The operations applicable to an object */ - var objOps = { - add: function (obj, key, document) { - obj[key] = this.value; - return { newDocument: document }; - }, - remove: function (obj, key, document) { - var removed = obj[key]; - delete obj[key]; - return { newDocument: document, removed: removed }; - }, - replace: function (obj, key, document) { - var removed = obj[key]; - obj[key] = this.value; - return { newDocument: document, removed: removed }; - }, - move: function (obj, key, document) { - /* in case move target overwrites an existing value, - return the removed value, this can be taxing performance-wise, - and is potentially unneeded */ - var removed = getValueByPointer(document, this.path); - if (removed) { - removed = helpers_1._deepClone(removed); - } - var originalValue = applyOperation(document, { op: "remove", path: this.from }).removed; - applyOperation(document, { op: "add", path: this.path, value: originalValue }); - return { newDocument: document, removed: removed }; - }, - copy: function (obj, key, document) { - var valueToCopy = getValueByPointer(document, this.from); - // enforce copy by value so further operations don't affect source (see issue #177) - applyOperation(document, { op: "add", path: this.path, value: helpers_1._deepClone(valueToCopy) }); - return { newDocument: document }; - }, - test: function (obj, key, document) { - return { newDocument: document, test: areEquals(obj[key], this.value) }; - }, - _get: function (obj, key, document) { - this.value = obj[key]; - return { newDocument: document }; - } - }; - /* The operations applicable to an array. Many are the same as for the object */ - var arrOps = { - add: function (arr, i, document) { - if (helpers_1.isInteger(i)) { - arr.splice(i, 0, this.value); - } - else { // array props - arr[i] = this.value; - } - // this may be needed when using '-' in an array - return { newDocument: document, index: i }; - }, - remove: function (arr, i, document) { - var removedList = arr.splice(i, 1); - return { newDocument: document, removed: removedList[0] }; - }, - replace: function (arr, i, document) { - var removed = arr[i]; - arr[i] = this.value; - return { newDocument: document, removed: removed }; - }, - move: objOps.move, - copy: objOps.copy, - test: objOps.test, - _get: objOps._get - }; - /** - * Retrieves a value from a JSON document by a JSON pointer. - * Returns the value. - * - * @param document The document to get the value from - * @param pointer an escaped JSON pointer - * @return The retrieved value - */ - function getValueByPointer(document, pointer) { - if (pointer == '') { - return document; - } - var getOriginalDestination = { op: "_get", path: pointer }; - applyOperation(document, getOriginalDestination); - return getOriginalDestination.value; - } - exports.getValueByPointer = getValueByPointer; - /** - * Apply a single JSON Patch Operation on a JSON document. - * Returns the {newDocument, result} of the operation. - * It modifies the `document` and `operation` objects - it gets the values by reference. - * If you would like to avoid touching your values, clone them: - * `jsonpatch.applyOperation(document, jsonpatch._deepClone(operation))`. - * - * @param document The document to patch - * @param operation The operation to apply - * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. - * @param mutateDocument Whether to mutate the original document or clone it before applying - * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. - * @return `{newDocument, result}` after the operation - */ - function applyOperation(document, operation, validateOperation, mutateDocument, banPrototypeModifications, index) { - if (validateOperation === void 0) { validateOperation = false; } - if (mutateDocument === void 0) { mutateDocument = true; } - if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } - if (index === void 0) { index = 0; } - if (validateOperation) { - if (typeof validateOperation == 'function') { - validateOperation(operation, 0, document, operation.path); - } - else { - validator(operation, 0); - } - } - /* ROOT OPERATIONS */ - if (operation.path === "") { - var returnValue = { newDocument: document }; - if (operation.op === 'add') { - returnValue.newDocument = operation.value; - return returnValue; - } - else if (operation.op === 'replace') { - returnValue.newDocument = operation.value; - returnValue.removed = document; //document we removed - return returnValue; - } - else if (operation.op === 'move' || operation.op === 'copy') { // it's a move or copy to root - returnValue.newDocument = getValueByPointer(document, operation.from); // get the value by json-pointer in `from` field - if (operation.op === 'move') { // report removed item - returnValue.removed = document; - } - return returnValue; - } - else if (operation.op === 'test') { - returnValue.test = areEquals(document, operation.value); - if (returnValue.test === false) { - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - returnValue.newDocument = document; - return returnValue; - } - else if (operation.op === 'remove') { // a remove on root - returnValue.removed = document; - returnValue.newDocument = null; - return returnValue; - } - else if (operation.op === '_get') { - operation.value = document; - return returnValue; - } - else { /* bad operation */ - if (validateOperation) { - throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); - } - else { - return returnValue; - } - } - } /* END ROOT OPERATIONS */ - else { - if (!mutateDocument) { - document = helpers_1._deepClone(document); - } - var path = operation.path || ""; - var keys = path.split('/'); - var obj = document; - var t = 1; //skip empty element - http://jsperf.com/to-shift-or-not-to-shift - var len = keys.length; - var existingPathFragment = undefined; - var key = void 0; - var validateFunction = void 0; - if (typeof validateOperation == 'function') { - validateFunction = validateOperation; - } - else { - validateFunction = validator; - } - while (true) { - key = keys[t]; - if (banPrototypeModifications && key == '__proto__') { - throw new TypeError('JSON-Patch: modifying `__proto__` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README'); - } - if (validateOperation) { - if (existingPathFragment === undefined) { - if (obj[key] === undefined) { - existingPathFragment = keys.slice(0, t).join('/'); - } - else if (t == len - 1) { - existingPathFragment = operation.path; - } - if (existingPathFragment !== undefined) { - validateFunction(operation, 0, document, existingPathFragment); - } - } - } - t++; - if (Array.isArray(obj)) { - if (key === '-') { - key = obj.length; - } - else { - if (validateOperation && !helpers_1.isInteger(key)) { - throw new exports.JsonPatchError("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index", "OPERATION_PATH_ILLEGAL_ARRAY_INDEX", index, operation, document); - } // only parse key when it's an integer for `arr.prop` to work - else if (helpers_1.isInteger(key)) { - key = ~~key; - } - } - if (t >= len) { - if (validateOperation && operation.op === "add" && key > obj.length) { - throw new exports.JsonPatchError("The specified index MUST NOT be greater than the number of elements in the array", "OPERATION_VALUE_OUT_OF_BOUNDS", index, operation, document); - } - var returnValue = arrOps[operation.op].call(operation, obj, key, document); // Apply patch - if (returnValue.test === false) { - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - return returnValue; - } - } - else { - if (key && key.indexOf('~') != -1) { - key = helpers_1.unescapePathComponent(key); - } - if (t >= len) { - var returnValue = objOps[operation.op].call(operation, obj, key, document); // Apply patch - if (returnValue.test === false) { - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - return returnValue; - } - } - obj = obj[key]; - } - } - } - exports.applyOperation = applyOperation; - /** - * Apply a full JSON Patch array on a JSON document. - * Returns the {newDocument, result} of the patch. - * It modifies the `document` object and `patch` - it gets the values by reference. - * If you would like to avoid touching your values, clone them: - * `jsonpatch.applyPatch(document, jsonpatch._deepClone(patch))`. - * - * @param document The document to patch - * @param patch The patch to apply - * @param validateOperation `false` is without validation, `true` to use default jsonpatch's validation, or you can pass a `validateOperation` callback to be used for validation. - * @param mutateDocument Whether to mutate the original document or clone it before applying - * @param banPrototypeModifications Whether to ban modifications to `__proto__`, defaults to `true`. - * @return An array of `{newDocument, result}` after the patch - */ - function applyPatch(document, patch, validateOperation, mutateDocument, banPrototypeModifications) { - if (mutateDocument === void 0) { mutateDocument = true; } - if (banPrototypeModifications === void 0) { banPrototypeModifications = true; } - if (validateOperation) { - if (!Array.isArray(patch)) { - throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); - } - } - if (!mutateDocument) { - document = helpers_1._deepClone(document); - } - var results = new Array(patch.length); - for (var i = 0, length_1 = patch.length; i < length_1; i++) { - // we don't need to pass mutateDocument argument because if it was true, we already deep cloned the object, we'll just pass `true` - results[i] = applyOperation(document, patch[i], validateOperation, true, banPrototypeModifications, i); - document = results[i].newDocument; // in case root was replaced - } - results.newDocument = document; - return results; - } - exports.applyPatch = applyPatch; - /** - * Apply a single JSON Patch Operation on a JSON document. - * Returns the updated document. - * Suitable as a reducer. - * - * @param document The document to patch - * @param operation The operation to apply - * @return The updated document - */ - function applyReducer(document, operation, index) { - var operationResult = applyOperation(document, operation); - if (operationResult.test === false) { // failed test - throw new exports.JsonPatchError("Test operation failed", 'TEST_OPERATION_FAILED', index, operation, document); - } - return operationResult.newDocument; - } - exports.applyReducer = applyReducer; - /** - * Validates a single operation. Called from `jsonpatch.validate`. Throws `JsonPatchError` in case of an error. - * @param {object} operation - operation object (patch) - * @param {number} index - index of operation in the sequence - * @param {object} [document] - object where the operation is supposed to be applied - * @param {string} [existingPathFragment] - comes along with `document` - */ - function validator(operation, index, document, existingPathFragment) { - if (typeof operation !== 'object' || operation === null || Array.isArray(operation)) { - throw new exports.JsonPatchError('Operation is not an object', 'OPERATION_NOT_AN_OBJECT', index, operation, document); - } - else if (!objOps[operation.op]) { - throw new exports.JsonPatchError('Operation `op` property is not one of operations defined in RFC-6902', 'OPERATION_OP_INVALID', index, operation, document); - } - else if (typeof operation.path !== 'string') { - throw new exports.JsonPatchError('Operation `path` property is not a string', 'OPERATION_PATH_INVALID', index, operation, document); - } - else if (operation.path.indexOf('/') !== 0 && operation.path.length > 0) { - // paths that aren't empty string should start with "/" - throw new exports.JsonPatchError('Operation `path` property must start with "/"', 'OPERATION_PATH_INVALID', index, operation, document); - } - else if ((operation.op === 'move' || operation.op === 'copy') && typeof operation.from !== 'string') { - throw new exports.JsonPatchError('Operation `from` property is not present (applicable in `move` and `copy` operations)', 'OPERATION_FROM_REQUIRED', index, operation, document); - } - else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && operation.value === undefined) { - throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_REQUIRED', index, operation, document); - } - else if ((operation.op === 'add' || operation.op === 'replace' || operation.op === 'test') && helpers_1.hasUndefined(operation.value)) { - throw new exports.JsonPatchError('Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)', 'OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED', index, operation, document); - } - else if (document) { - if (operation.op == "add") { - var pathLen = operation.path.split("/").length; - var existingPathLen = existingPathFragment.split("/").length; - if (pathLen !== existingPathLen + 1 && pathLen !== existingPathLen) { - throw new exports.JsonPatchError('Cannot perform an `add` operation at the desired path', 'OPERATION_PATH_CANNOT_ADD', index, operation, document); - } - } - else if (operation.op === 'replace' || operation.op === 'remove' || operation.op === '_get') { - if (operation.path !== existingPathFragment) { - throw new exports.JsonPatchError('Cannot perform the operation at a path that does not exist', 'OPERATION_PATH_UNRESOLVABLE', index, operation, document); - } - } - else if (operation.op === 'move' || operation.op === 'copy') { - var existingValue = { op: "_get", path: operation.from, value: undefined }; - var error = validate([existingValue], document); - if (error && error.name === 'OPERATION_PATH_UNRESOLVABLE') { - throw new exports.JsonPatchError('Cannot perform the operation from a path that does not exist', 'OPERATION_FROM_UNRESOLVABLE', index, operation, document); - } - } - } - } - exports.validator = validator; - /** - * Validates a sequence of operations. If `document` parameter is provided, the sequence is additionally validated against the object document. - * If error is encountered, returns a JsonPatchError object - * @param sequence - * @param document - * @returns {JsonPatchError|undefined} - */ - function validate(sequence, document, externalValidator) { - try { - if (!Array.isArray(sequence)) { - throw new exports.JsonPatchError('Patch sequence must be an array', 'SEQUENCE_NOT_AN_ARRAY'); - } - if (document) { - //clone document and sequence so that we can safely try applying operations - applyPatch(helpers_1._deepClone(document), helpers_1._deepClone(sequence), externalValidator || true); - } - else { - externalValidator = externalValidator || validator; - for (var i = 0; i < sequence.length; i++) { - externalValidator(sequence[i], i, document, undefined); - } - } - } - catch (e) { - if (e instanceof exports.JsonPatchError) { - return e; - } - else { - throw e; - } - } - } - exports.validate = validate; - /** - * Default export for backwards compat - */ - exports.default = { - JsonPatchError: exports.JsonPatchError, - deepClone: exports.deepClone, - getValueByPointer: getValueByPointer, - applyOperation: applyOperation, - applyPatch: applyPatch, - applyReducer: applyReducer, - validator: validator, - validate: validate - }; -} (core$1)); - -var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () { - __assign = Object.assign || function(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) - t[p] = s[p]; - } - return t; - }; - return __assign.apply(this, arguments); -}; -Object.defineProperty(duplex, "__esModule", { value: true }); -/*! - * https://github.com/Starcounter-Jack/JSON-Patch - * (c) 2017 Joachim Wester - * MIT license - */ -var helpers_1 = helpers; -var core_1 = core$1; -/* export all core functions and types */ -var core_2 = core$1; -duplex.applyOperation = core_2.applyOperation; -duplex.applyPatch = core_2.applyPatch; -duplex.applyReducer = core_2.applyReducer; -duplex.getValueByPointer = core_2.getValueByPointer; -duplex.validate = core_2.validate; -duplex.validator = core_2.validator; -/* export some helpers */ -var helpers_2 = helpers; -duplex.JsonPatchError = helpers_2.PatchError; -duplex.deepClone = helpers_2._deepClone; -duplex.escapePathComponent = helpers_2.escapePathComponent; -duplex.unescapePathComponent = helpers_2.unescapePathComponent; -var beforeDict = new WeakMap(); -var Mirror = /** @class */ (function () { - function Mirror(obj) { - this.observers = new Map(); - this.obj = obj; - } - return Mirror; -}()); -var ObserverInfo = /** @class */ (function () { - function ObserverInfo(callback, observer) { - this.callback = callback; - this.observer = observer; - } - return ObserverInfo; -}()); -function getMirror(obj) { - return beforeDict.get(obj); -} -function getObserverFromMirror(mirror, callback) { - return mirror.observers.get(callback); -} -function removeObserverFromMirror(mirror, observer) { - mirror.observers.delete(observer.callback); -} -/** - * Detach an observer from an object - */ -function unobserve(root, observer) { - observer.unobserve(); -} -duplex.unobserve = unobserve; -/** - * Observes changes made to an object, which can then be retrieved using generate - */ -function observe(obj, callback) { - var patches = []; - var observer; - var mirror = getMirror(obj); - if (!mirror) { - mirror = new Mirror(obj); - beforeDict.set(obj, mirror); - } - else { - var observerInfo = getObserverFromMirror(mirror, callback); - observer = observerInfo && observerInfo.observer; - } - if (observer) { - return observer; - } - observer = {}; - mirror.value = helpers_1._deepClone(obj); - if (callback) { - observer.callback = callback; - observer.next = null; - var dirtyCheck = function () { - generate(observer); - }; - var fastCheck = function () { - clearTimeout(observer.next); - observer.next = setTimeout(dirtyCheck); - }; - if (typeof window !== 'undefined') { //not Node - window.addEventListener('mouseup', fastCheck); - window.addEventListener('keyup', fastCheck); - window.addEventListener('mousedown', fastCheck); - window.addEventListener('keydown', fastCheck); - window.addEventListener('change', fastCheck); - } - } - observer.patches = patches; - observer.object = obj; - observer.unobserve = function () { - generate(observer); - clearTimeout(observer.next); - removeObserverFromMirror(mirror, observer); - if (typeof window !== 'undefined') { - window.removeEventListener('mouseup', fastCheck); - window.removeEventListener('keyup', fastCheck); - window.removeEventListener('mousedown', fastCheck); - window.removeEventListener('keydown', fastCheck); - window.removeEventListener('change', fastCheck); - } - }; - mirror.observers.set(callback, new ObserverInfo(callback, observer)); - return observer; -} -duplex.observe = observe; -/** - * Generate an array of patches from an observer - */ -function generate(observer, invertible) { - if (invertible === void 0) { invertible = false; } - var mirror = beforeDict.get(observer.object); - _generate(mirror.value, observer.object, observer.patches, "", invertible); - if (observer.patches.length) { - core_1.applyPatch(mirror.value, observer.patches); - } - var temp = observer.patches; - if (temp.length > 0) { - observer.patches = []; - if (observer.callback) { - observer.callback(temp); - } - } - return temp; -} -duplex.generate = generate; -// Dirty check if obj is different from mirror, generate patches and update mirror -function _generate(mirror, obj, patches, path, invertible) { - if (obj === mirror) { - return; - } - if (typeof obj.toJSON === "function") { - obj = obj.toJSON(); - } - var newKeys = helpers_1._objectKeys(obj); - var oldKeys = helpers_1._objectKeys(mirror); - var deleted = false; - //if ever "move" operation is implemented here, make sure this test runs OK: "should not generate the same patch twice (move)" - for (var t = oldKeys.length - 1; t >= 0; t--) { - var key = oldKeys[t]; - var oldVal = mirror[key]; - if (helpers_1.hasOwnProperty(obj, key) && !(obj[key] === undefined && oldVal !== undefined && Array.isArray(obj) === false)) { - var newVal = obj[key]; - if (typeof oldVal == "object" && oldVal != null && typeof newVal == "object" && newVal != null) { - _generate(oldVal, newVal, patches, path + "/" + helpers_1.escapePathComponent(key), invertible); - } - else { - if (oldVal !== newVal) { - if (invertible) { - patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); - } - patches.push({ op: "replace", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(newVal) }); - } - } - } - else if (Array.isArray(mirror) === Array.isArray(obj)) { - if (invertible) { - patches.push({ op: "test", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(oldVal) }); - } - patches.push({ op: "remove", path: path + "/" + helpers_1.escapePathComponent(key) }); - deleted = true; // property has been deleted - } - else { - if (invertible) { - patches.push({ op: "test", path: path, value: mirror }); - } - patches.push({ op: "replace", path: path, value: obj }); - } - } - if (!deleted && newKeys.length == oldKeys.length) { - return; - } - for (var t = 0; t < newKeys.length; t++) { - var key = newKeys[t]; - if (!helpers_1.hasOwnProperty(mirror, key) && obj[key] !== undefined) { - patches.push({ op: "add", path: path + "/" + helpers_1.escapePathComponent(key), value: helpers_1._deepClone(obj[key]) }); - } - } -} -/** - * Create an array of patches from the differences in two objects - */ -function compare$1(tree1, tree2, invertible) { - if (invertible === void 0) { invertible = false; } - var patches = []; - _generate(tree1, tree2, patches, '', invertible); - return patches; -} -duplex.compare = compare$1; -/** - * Default export for backwards compat - */ -// import just to re-export as default -var core = core$1; -var helpers_3 = helpers; -duplex.default = __assign({}, core, { - // duplex - unobserve: unobserve, - observe: observe, - generate: generate, - compare: compare$1, - // helpers - JsonPatchError: helpers_3.PatchError, deepClone: helpers_1._deepClone, escapePathComponent: helpers_1.escapePathComponent, - unescapePathComponent: helpers_3.unescapePathComponent }); - -const crypto$7 = require$$0__default["default"]; - -/** - * Simple interaction with 256-bit spaces. - */ -class Hash256$3 { - /** - * Create an instance of a `Hash256` object by calling `new Hash256()`, - * where `settings` can be provided to supply a particular input object. - * - * If the `settings` is not a string, `input` must be provided. - * @param {Object} settings - * @param {String} settings.input Input string to map as 256-bit hash. - */ - constructor (settings = {}) { - if (typeof settings === 'string') settings = { input: settings }; - if (!settings.input) settings.input = crypto$7.randomBytes(32).toString('hex'); - - this.settings = Object.assign({ - hash: Hash256$3.digest(settings.input) - }, settings); - } - - /** - * Produce a SHA256 digest of some input data. - * @param {String|Buffer} input Content to digest. - * @returns {String} `SHA256(input)` as a hexadecimal string. - */ - static digest (input) { - if (typeof input !== 'string' && !(input instanceof Buffer)) { - throw new Error(`Input to process must be of type "String" or "Buffer" to digest.`); - } - - // consume and output as string - return crypto$7.createHash('sha256').update(input).digest('hex'); - } - - // TODO: document `hash256.value` - get value () { - return Hash256$3.digest(this.settings.input); - } - - /** - * Reverses the bytes of the digest. - */ - static reverse (input = '') { - return Buffer.from(input, 'hex').reverse().toString('hex'); - } - - reverse (input = this.value) { - return Hash256$3.reverse(input); - } -} - -var hash256$1 = Hash256$3; - -/** - * Create a new {@link Object} with sorted properties. - * @param {Object} [state] Object to sort. - * @returns {Object} Re-sorted instance of `state` as provided. - */ - -var _sortKeys$1 = function _sortKeys (state = {}) { - return Object.keys(state).sort().reduce((obj, key) => { - obj[key] = state[key]; - return obj; - }, {}); -}; - -// Dependencies -const crypto$6 = require$$0__default["default"]; -const { EventEmitter } = require$$0__default$2["default"]; -const monitor = duplex; - -// Fabric Types -const Hash256$2 = hash256$1; - -// Fabric Functions -const _sortKeys = _sortKeys$1; - -/** - * Generic Fabric Actor. - * @access protected - * @emits message Fabric {@link Message} objects. - * @property {String} id Unique identifier for this Actor (id === SHA256(preimage)). - * @property {String} preimage Input hash for the `id` property (preimage === SHA256(ActorState)). - */ -class Actor$4 extends EventEmitter { - /** - * Creates an {@link Actor}, which emits messages for other - * Actors to subscribe to. You can supply certain parameters - * for the actor, including key material [!!!] — be mindful of - * what you share with others! - * @param {Object} [actor] Object to use as the actor. - * @param {String} [actor.seed] BIP24 Mnemonic to use as a seed phrase. - * @param {Buffer} [actor.public] Public key. - * @param {Buffer} [actor.private] Private key. - * @returns {Actor} Instance of the Actor. Call {@link Actor#sign} to emit a {@link Signature}. - */ - constructor (actor = {}) { - super(actor); - - this.commits = []; - // this.signature = Buffer.alloc(64); - this.value = this._readObject(actor); // TODO: use Buffer? - - // Internal State - this._state = { - type: 'Actor', - data: this.value, - status: 'PAUSED', - content: this.value || {} - }; - - this.monitor = monitor.observe(this._state.content, this._handleMonitorChanges.bind(this)); - - // Chainable - return this; - } - - static fromAny (input = {}) { - let state = null; - - if (typeof input === 'string') { - state = { content: input }; - } else if (input instanceof Buffer) { - state = { content: input.toString('hex') }; - } else { - state = Object.assign({}, input); - } - - return new Actor$4(state); - } - - static fromJSON (input) { - let result = null; - - if (typeof input === 'string' && input.length) { - console.log('trying to parse as JSON:', input); - try { - result = JSON.parse(input); - } catch (E) { - console.error('Failure in fromJSON:', E); - } - } else { - console.trace('Invalid input:', typeof input); - } - - return result; - } - - static randomBytes (count = 32) { - return crypto$6.randomBytes(count); - } - - get id () { - const buffer = Buffer.from(this.preimage, 'hex'); - return Hash256$2.digest(buffer); - } - - get preimage () { - const input = { - 'type': 'FabricActorState', - 'object': this.toObject() - }; - - const string = JSON.stringify(input, null, ' '); - const buffer = Buffer.from(string, 'utf8'); - - return Hash256$2.digest(buffer); - } - - get state () { - return Object.assign({}, this._state.content); - } - - get status () { - return this._state.status; - } - - get type () { - return this._state['@type']; - } - - set state (value) { - this._state.content = value; - } - - set status (value) { - this._state.status = value; - } - - /** - * Resolve the current state to a commitment. - * @emits Actor Current malleable state. - * @returns {String} 32-byte ID - */ - commit () { - const state = new Actor$4(this._state.content); - const commit = new Actor$4({ - state: state.id - }); - - this.history.push(commit); - this.emit('commit', commit); - return commit.id; - } - - debug (...params) { - this.emit('debug', params); - } - - log (...params) { - this.emit('log', ...params); - } - - mutate (seed) { - if (seed === 0 || !seed) seed = this.randomBytes(32).toString('hex'); - - const patches = [ - { op: 'replace', path: '/seed', value: seed } - ]; - - monitor.applyPatch(this._state.content, patches); - this.commit(); - - return this; - } - - /** - * Casts the Actor to a normalized Buffer. - * @returns {Buffer} - */ - toBuffer () { - return Buffer.from(this.serialize(), 'utf8'); - } - - /** - * Returns the Actor's current state as an {@link Object}. - * @returns {Object} - */ - toObject () { - return _sortKeys(this.state); - } - - toString (format = 'json') { - switch (format) { - case 'hex': - return Buffer.from(this.serialize(), 'utf8').toString('hex'); - case 'json': - default: - return this.serialize(); - } - } - - pause () { - this.status = 'PAUSING'; - this.commit(); - return this; - } - - randomBytes (count = 32) { - return crypto$6.randomBytes(count); - } - - /** - * Serialize the Actor's current state into a JSON-formatted string. - * @returns {String} - */ - serialize () { - let json = null; - - try { - json = JSON.stringify(this.toObject(), null, ' '); - } catch (exception) { - json = JSON.stringify({ - type: 'Error', - content: `Exception serializing: ${exception}` - }, null, ' '); - } - - return json; - } - - sha256 (value) { - return Hash256$2.digest(value); - } - - /** - * Signs the Actor. - * @returns {Actor} - */ - sign () { - throw new Error('Unimplemented on this branch. Use @fabric/core/types/signer instead.'); - /* this.signature = this.key._sign(this.toBuffer()); - this.emit('signature', this.signature); - return this; */ - } - - /** - * Toggles `status` property to unpaused. - * @ - * @returns {Actor} - */ - unpause () { - this.status = 'UNPAUSING'; - this.commit(); - this.status = 'UNPAUSED'; - return this; - } - - _getField (name) { - return this._state.content[name]; - } - - /** - * Incurs 1 SYSCALL - * @access private - * @returns {Object} - */ - _getState () { - return this.state; - } - - _handleMonitorChanges (changes) { - console.log('got monitor changes from actor:', changes); - // TODO: emit global state event here - // after verify, commit - } - - /** - * Parse an Object into a corresponding Fabric state. - * @param {Object} input Object to read as input. - * @returns {Object} Fabric state. - */ - _readObject (input = {}) { - let state = {}; - - if (typeof input === 'string') { - state = Object.assign(state, { - type: 'String', - size: input.length, - content: input, - encoding: 'utf8' - }); - } else if (input instanceof Buffer) { - state = Object.assign(state, { - type: 'Buffer', - size: input.length, - content: input.toString('hex'), - encoding: 'hex' - }); - } else { - state = Object.assign(state, input); - } - - return state; - } -} - -var actor = Actor$4; - -var struct$1 = {exports: {}}; - -/** - * Default export `Struct`. - */ - -(function (module, exports) { - // export default Struct; - module.exports = exports = Struct; - - // compatibility - exports.Struct = Struct; - - function boolField(p, offset, length) { - this.length = length; - this.offset = offset; - this.get = function() { - return (p.buf[offset] > 0); - }; - this.set = function (val) { - p.buf[offset] = val ? 1 : 0; - }; - } - - function intField(p, offset, length, le, signed) { - this.length = length; - this.offset = offset; - - function bec(cb) { - for (var i = 0; i < length; i++) - cb(i, length - i - 1); - } - - function lec(cb) { - for (var i = 0; i < length; i++) - cb(i, i); - } - - function getUVal(bor) { - var val = 0; - bor(function (i, o) { - val += Math.pow(256, o) * p.buf[offset + i]; - }); - return val; - } - - function getSVal(bor) { - - var val = getUVal(bor); - if ((p.buf[offset + (le ? (length - 1) : 0)] & 0x80) == 0x80) { - val -= Math.pow(256, length); - } - return val; - } - - function setVal(bor, val) { - bor(function (i, o) { - p.buf[offset + i] = Math.floor(val / Math.pow(256, o)) & 0xff; - }); - } - - var - nativeSuff = (signed?'':'U') + 'Int' + (length * 8) + (le?'LE':'BE'), - readMethod = Buffer.prototype['read' + nativeSuff], writeMethod = Buffer.prototype['write' + nativeSuff]; - - - if (!readMethod) { - this.get = function () { - var bor = le ? lec : bec; - return (signed ? getSVal(bor) : getUVal(bor)); - }; - } - else { - this.get = function () { - return readMethod.call(p.buf, offset); - }; - } - - - if (!writeMethod) { - this.set = function (val) { - var bor = le ? lec : bec; - setVal(bor, val); - }; - } - else { - this.set = function (val) { - writeMethod.call(p.buf, val, offset); - }; - } - - } - - function floatField(p, offset, le) { - this.length = 4; - this.offset = offset; - this.get = function () { - return le ? p.buf.readFloatLE(offset) : p.buf.readFloatBE(offset); - }; - this.set = function (val) { - return le ? p.buf.writeFloatLE(val, offset) : p.buf.writeFloatBE(val, offset); - }; - } - - function doubleField(p, offset, le) { - this.length = 8; - this.offset = offset; - this.get = function () { - return le ? p.buf.readDoubleLE(offset) : p.buf.readDoubleBE(offset); - }; - this.set = function (val) { - return le ? p.buf.writeDoubleLE(val, offset) : p.buf.writeDoubleBE(val, offset); - }; - } - - function charField(p, offset, length, encoding, secure) { - var self = this; - self.length = length; - self.offset = offset; - self.encoding = encoding; - self.secure = secure; - self.get = function () { - if (!length) - return; - - var result = p.buf.toString(self.encoding, offset, (offset + length)); - var strlen = result.indexOf("\0"); - if (strlen == -1) { - return result; - } else { - return result.slice(0, strlen); - } - }; - self.set = function (val) { - if (!length) - return; - - // Be string is terminated with the null char, else troncate it - if (secure === true) { - - // Append \0 to the string - val += "\0"; - if (val.length >= length) { - val = val.substring(0, length - 1); - val += "\0"; - } - - // Write to buffer - p.buf.write(val, offset, val.length, self.encoding); - - // Fill rest of the buffer with \0 - var remainSpace = (length - val.length); - if (remainSpace > 0) { - p.buf.fill(0, (offset + val.length), offset + length); - } - - } else { - // Trust Buffer class to write the string into the buffer - p.buf.write(val, offset, length, self.encoding); - } - }; - } - - function structField(p, offset, struct) { - this.length = struct.length(); - this.offset = offset; - this.get = function () { - return struct; - }; - this.set = function (val) { - struct.set(val); - }; - this.allocate = function () { - struct._setBuff(p.buf.slice(offset, offset + struct.length())); - }; - } - - function arrayField(p, offset, len, type) { - var as = Struct(); - var args = [].slice.call(arguments, 4); - args.unshift(0); - for (var i = 0; i < len; i++) { - if (type instanceof Struct) { - as.struct(i, type.clone()); - } else if (type in as) { - args[0] = i; - as[type].apply(as, args); - } - } - this.length = as.length(); - this.offset = offset; - this.allocate = function () { - as._setBuff(p.buf.slice(offset, offset + as.length())); - }; - this.get = function () { - return as; - }; - this.set = function (val) { - as.set(val); - }; - } - - function Struct() { - if (!(this instanceof Struct)) - return new Struct; - - var priv = { - buf : {}, - allocated : false, - len : 0, - fields : {}, - closures : [] - }, self = this; - - function checkAllocated() { - if (priv.allocated) - throw new Error('Cant change struct after allocation'); - } - - // Create handlers for various float Field Variants - [true, false].forEach(function (le) { - self['float' + (le ? 'le' : 'be')] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - var n = 4; - p.fields[key] = new floatField(p, p.len, le); - p.len += n; - }); - return this; - }; - }); - - // Create handlers for various double Field Variants - [true, false].forEach(function (le) { - self['double' + (le ? 'le' : 'be')] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - var n = 8; - p.fields[key] = new doubleField(p, p.len, le); - p.len += n; - }); - return this; - }; - }); - - // Create handlers for various Bool Field Variants - [1, 2, 3, 4].forEach(function (n) { - self['bool' + (n == 1 ? '' : n)] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new boolField(p, p.len, n); - p.len += n; - }); - return this; - }; - }); - - // Create handlers for various Integer Field Variants - [1, 2, 3, 4, 6, 8].forEach(function (n) { - [true, false].forEach(function (le) { - [true, false].forEach(function (signed) { - var name = 'word' + (n * 8) + (signed ? 'S' : 'U') + (le ? 'le' : 'be'); - self[name] = function (key) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new intField(p, p.len, n, le, signed); - p.len += n; - }); - return this; - }; - }); - }); - }); - this.word8 = this.word8Ule; - - ['chars', 'charsnt'].forEach(function (c) { - self[c] = function (key, length, encoding) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new charField(p, p.len, length, encoding || 'ascii', (c == 'charsnt')); - p.len += length; - }); - return this; - }; - }); - - this.struct = function (key, struct) { - checkAllocated(); - priv.closures.push(function (p) { - p.fields[key] = new structField(p, p.len, struct.clone()); - p.len += p.fields[key].length; - }); - return this; - }; - function construct(constructor, args) { - function F() { - return constructor.apply(this, args); - } - - F.prototype = constructor.prototype; - return new F(); - } - - - this.array = function (key, length, type) { - checkAllocated(); - var args = [].slice.call(arguments, 1); - args.unshift(null); - args.unshift(null); - priv.closures.push(function (p) { - args[0] = p; - args[1] = p.len; - p.fields[key] = construct(arrayField, args); - p.len += p.fields[key].length; - }); - - return this; - }; - var beenHere = false; - - function applyClosures(p) { - if (beenHere) - return; - p.closures.forEach(function (el) { - el(p); - }); - beenHere = true; - } - - function allocateFields() { - for (var key in priv.fields) { - if ('allocate' in priv.fields[key]) - priv.fields[key].allocate(); - } - } - - this._setBuff = this.setBuffer = function (buff, buffLength) { - applyClosures(priv); - if (typeof (buffLength) === 'number') { - if (buffLength > buff.length) { - throw new Error('Invalid specified buffer size !'); - } - priv.buf = buff.slice(0, buffLength); - } else { - priv.buf = buff; - } - if (priv.buf.length < priv.len) { - throw new Error('Buffer size too small for struct layout !'); - } - allocateFields(); - priv.allocated = true; - }; - - this.allocate = function () { - applyClosures(priv); - if (Buffer.alloc) { - priv.buf = Buffer.alloc(priv.len); - } else { - priv.buf = new Buffer(priv.len); - priv.buf.fill(0); - } - allocateFields(); - priv.allocated = true; - return this; - }; - - this._getPriv = function () { - return priv; - }; - - this.getOffset = function (field) { - if (priv.fields[field]) return priv.fields[field].offset; - }; - - this.clone = function () { - var c = new Struct; - var p = c._getPriv(); - p.closures = priv.closures.slice(0); - return c; - }; - - this.length = function () { - applyClosures(priv); - return priv.len; - }; - - this.get = function (key) { - if (key in priv.fields) { - return priv.fields[key].get(); - } else - throw new Error('Can not find field ' + key); - }; - - this.set = function (key, val) { - if (arguments.length == 2) { - if (key in priv.fields) { - priv.fields[key].set(val); - } else - throw new Error('Can not find field ' + key); - } else if (Buffer.isBuffer(key)) { - this._setBuff(key); - } else { - for (var k in key) { - this.set(k, key[k]); - } - } - }; - this.buffer = function () { - return priv.buf; - }; - - - function getFields() { - var fields = {}; - Object.keys(priv.fields).forEach(function (key) { - var setFunc, getFunc; - if (priv.fields[key] instanceof structField || - priv.fields[key] instanceof arrayField) { - getFunc = function () { - return priv.fields[key].get().fields; - }; - setFunc = function (newVal) { - self.set(key, newVal); - }; - } - else { - getFunc = priv.fields[key].get; - setFunc = priv.fields[key].set; - } - Object.defineProperty(fields, key, { - get : getFunc, - set : setFunc, - enumerable : true - }); - }); - return fields; - } - var _fields; - Object.defineProperty(this, 'fields', { - get : function () { - if (_fields) - return _fields; - return (_fields = getFields()); - }, - enumerable : true, - configurable : true - }); - - } -} (struct$1, struct$1.exports)); - -const Actor$3 = actor; -const Hash256$1 = hash256$1; - -class Label$1 extends Actor$3 { - constructor (input = '') { - super(input); - if (typeof input != 'string') input = super.serialize(input); - this._id = Hash256$1.digest(`@labels/${input}`); - return this; - } -} - -var label = Label$1; - -var padDigits$1 = function padDigits (number, digits) { - return Array(Math.max(digits - String(number).length + 1, 0)).join(0) + number; -}; - -const { - MAGIC_BYTES, - VERSION_NUMBER, - HEADER_SIZE, - MAX_MESSAGE_SIZE, - OP_CYCLE, - GENERIC_MESSAGE_TYPE, - LOG_MESSAGE_TYPE, - GENERIC_LIST_TYPE, - P2P_GENERIC, - P2P_IDENT_REQUEST, - P2P_IDENT_RESPONSE, - P2P_ROOT, - P2P_PING, - P2P_PONG, - P2P_START_CHAIN, - P2P_INSTRUCTION, - P2P_BASE_MESSAGE, - P2P_CHAIN_SYNC_REQUEST, - P2P_STATE_ROOT, - P2P_STATE_COMMITTMENT, - P2P_STATE_CHANGE, - P2P_STATE_REQUEST, - P2P_TRANSACTION, - P2P_CALL: P2P_CALL$1, - CHAT_MESSAGE, - DOCUMENT_PUBLISH_TYPE, - DOCUMENT_REQUEST_TYPE, - BLOCK_CANDIDATE, - PEER_CANDIDATE, - SESSION_START -} = constants$1; - -// Dependencies -const crypto$5 = require$$0__default["default"]; -const struct = struct$1.exports; - -// Fabric Types -const Actor$2 = actor; -const Label = label; - -// Function Definitions -const padDigits = padDigits$1; - -// Type Labels -const TYPE_ETHEREUM_BLOCK = parseInt((new Label('types/EthereumBlock'))._id, 16); -const TYPE_ETHEREUM_BLOCK_NUMBER = parseInt((new Label('types/EthereumBlockNumber'))._id, 16); - -/** - * The {@link Message} type defines the Application Messaging Protocol, or AMP. - * Each {@link Actor} in the network receives and broadcasts messages, - * selectively disclosing new routes to peers which may have open circuits. - * @type {Object} - */ -class Message$1 extends Actor$2 { - /** - * The `Message` type is standardized in {@link Fabric} as a {@link Array}, which can be added to any other vector to compute a resulting state. - * @param {Object} message Message vector. Will be serialized by {@link Array#_serialize}. - * @return {Message} Instance of the message. - */ - constructor (input = {}) { - super(input); - - this.raw = { - magic: Buffer.alloc(4), - version: Buffer.alloc(4), - parent: Buffer.alloc(32), - type: Buffer.alloc(4), // TODO: 8, 32 - size: Buffer.alloc(4), // TODO: 8, 32 - hash: Buffer.alloc(32), - signature: Buffer.alloc(64), - data: null - }; - - this.raw.magic.write(MAGIC_BYTES.toString(16), 'hex'); - this.raw.version.write(padDigits(VERSION_NUMBER.toString(16), 8), 'hex'); - - if (input.data && input.type) { - this.type = input.type; - - if (typeof input.data !== 'string') { - this.data = JSON.stringify(input.data); - } else { - this.data = input.data; - } - } - - // Set various properties to be unenumerable - for (let name of [ - '@input', - '@entity', - '_state', - 'config', - 'settings', - 'stack', - 'observer' - ]) Object.defineProperty(this, name, { enumerable: false }); - - return this; - } - - get body () { - return this.raw.data.toString('utf8'); - } - - get byte () { - const input = 0 + ''; - const num = Buffer.from(`0x${padDigits(input, 8)}`, 'hex'); - return num; - } - - get tu16 () { - return parseInt(0); - } - - get tu32 () { - return parseInt(0); - } - - get tu64 () { - return parseInt(0); - } - - get Uint256 () { - // 256 bits - return Buffer.from((this.raw && this.raw.hash) ? `0x${padDigits(this.raw.hash, 8)}` : crypto$5.randomBytes(32)); - } - - set signature (value) { - if (value instanceof Buffer) value = value.toString('hex'); - this.raw.signature.write(value, 'hex'); - } - - toBuffer () { - return this.asRaw(); - } - - /** - * Returns a {@link Buffer} of the complete message. - * @return {Buffer} Buffer of the encoded {@link Message}. - */ - asRaw () { - return Buffer.concat([this.header, this.raw.data]); - } - - toRaw () { - return this.asRaw(); - } - - asTypedArray () { - return new Uint8Array(this.asRaw()); - // TODO: Node 12 - // return new TypedArray(this.asRaw()); - } - - asBlob () { - return this.asRaw().map(byte => parseInt(byte, 16)); - } - - toObject () { - return { - headers: { - magic: parseInt(`${this.raw.magic.toString('hex')}`, 16), - version: parseInt(`${this.raw.version.toString('hex')}`, 16), - parent: this.raw.parent.toString('hex'), - type: parseInt(`${this.raw.type.toString('hex')}`, 16), - size: parseInt(`${this.raw.size.toString('hex')}`, 16), - signature: this.raw.signature.toString('hex'), - hash: this.raw.hash.toString('hex') - }, - type: this.type, - data: this.data - }; - } - - fromObject (input) { - return new Message$1(input); - } - - static parseBuffer (buffer) { - const message = struct() - .charsnt('magic', 4, 'hex') - .charsnt('version', 4, 'hex') - .charsnt('parent', 32, 'hex') - .charsnt('type', 4, 'hex') - .charsnt('size', 4, 'hex') - .charsnt('hash', 32, 'hex') - .charsnt('signature', 64, 'hex') - .charsnt('data', buffer.length - HEADER_SIZE); - - message.allocate(); - message._setBuff(buffer); - - return message; - } - - static parseRawMessage (buffer) { - const message = { - magic: buffer.slice(0, 4), - version: buffer.slice(4, 8), - parent: buffer.slice(8, 40), - type: buffer.slice(40, 44), - size: buffer.slice(44, 48), - hash: buffer.slice(48, 80), - signature: buffer.slice(80, 144) - }; - - if (buffer.length >= 144) { - message.data = buffer.slice(144, buffer.length); - } - - return message; - }; - - static fromBuffer (buffer) { - return Message$1.fromRaw(buffer); - } - - static fromRaw (input) { - if (!input) return null; - if (!(input instanceof Buffer)) throw new Error('Input must be a buffer.'); - // if (input.length < HEADER_SIZE) return null; - // if (input.length > MAX_MESSAGE_SIZE) return new Error('Input too large.'); - - const message = new Message$1(); - - message.raw = { - magic: input.slice(0, 4), - version: input.slice(4, 8), - parent: input.slice(8, 40), - type: input.slice(40, 44), - size: input.slice(40, 48), - hash: input.slice(40, 80), - signature: input.slice(0, 144) - }; - - message.data = input.slice(HEADER_SIZE); - - return message; - } - - static fromVector (vector = ['LogMessage', 'No vector provided.']) { - let message = null; - - try { - message = new Message$1({ - type: vector[0], - data: vector[1] - }); - } catch (exception) { - console.error('[FABRIC:MESSAGE]', 'Could not construct Message:', exception); - } - - return message; - } - - /* get [Symbol.toStringTag] () { - return ``; - } */ - - get id () { - return crypto$5.createHash('sha256').update(this.asRaw()).digest('hex'); - } - - get types () { - // Message Types - return { - 'GenericMessage': GENERIC_MESSAGE_TYPE, - 'GenericLogMessage': LOG_MESSAGE_TYPE, - 'GenericList': GENERIC_LIST_TYPE, - 'GenericQueue': GENERIC_LIST_TYPE, - 'FabricLogMessage': LOG_MESSAGE_TYPE, - 'FabricServiceLogMessage': LOG_MESSAGE_TYPE, - 'GenericTransferQueue': GENERIC_LIST_TYPE, - // TODO: document Generic type - // P2P Commands - 'Generic': P2P_GENERIC, - 'Cycle': OP_CYCLE, - 'IdentityRequest': P2P_IDENT_REQUEST, - 'IdentityResponse': P2P_IDENT_RESPONSE, - 'ChainSyncRequest': P2P_CHAIN_SYNC_REQUEST, - // TODO: restore this type - // 'StateRoot': P2P_ROOT, - 'Ping': P2P_PING, - 'Pong': P2P_PONG, - 'DocumentRequest': DOCUMENT_REQUEST_TYPE, - 'DocumentPublish': DOCUMENT_PUBLISH_TYPE, - 'BlockCandidate': BLOCK_CANDIDATE, - 'PeerCandidate': PEER_CANDIDATE, - 'PeerInstruction': P2P_INSTRUCTION, - 'PeerMessage': P2P_BASE_MESSAGE, - 'StartSession': SESSION_START, - 'ChatMessage': CHAT_MESSAGE, - 'StartChain': P2P_START_CHAIN, - // TODO: restore above StateRoot type - 'StateRoot': P2P_STATE_ROOT, - 'StateCommitment': P2P_STATE_COMMITTMENT, - 'StateChange': P2P_STATE_CHANGE, - 'StateRequest': P2P_STATE_REQUEST, - 'Transaction': P2P_TRANSACTION, - 'Call': P2P_CALL$1, - 'LogMessage': LOG_MESSAGE_TYPE, - 'EthereumBlock': TYPE_ETHEREUM_BLOCK, - 'EthereumBlockNumber': TYPE_ETHEREUM_BLOCK_NUMBER - }; - } - - get codes () { - return Object.entries(this.types).reduce((ret, entry) => { - const [ key, value ] = entry; - ret[ value ] = key; - return ret; - }, {}); - } - - get magic () { - return this.raw.magic; - } - - get signature () { - return parseInt(Buffer.from(this.raw.signature, 'hex')); - } - - get size () { - return parseInt(Buffer.from(this.raw.size, 'hex')); - } - - get version () { - return parseInt(Buffer.from(this.raw.version)); - } - - get header () { - const parts = [ - Buffer.from(this.raw.magic, 'hex'), - Buffer.from(this.raw.version, 'hex'), - Buffer.from(this.raw.type, 'hex'), - Buffer.from(this.raw.size, 'hex'), - Buffer.from(this.raw.signature, 'hex'), - Buffer.from(this.raw.hash, 'hex') - ]; - - return Buffer.concat(parts); - } -} - -Object.defineProperty(Message$1.prototype, 'type', { - get () { - const code = parseInt(this.raw.type.toString('hex'), 16); - switch (code) { - case GENERIC_MESSAGE_TYPE: - return 'GenericMessage'; - case LOG_MESSAGE_TYPE: - return 'GenericLogMessage'; - case GENERIC_LIST_TYPE: - return 'GenericList'; - case DOCUMENT_PUBLISH_TYPE: - return 'DocumentPublish'; - case DOCUMENT_REQUEST_TYPE: - return 'DocumentRequest'; - case BLOCK_CANDIDATE: - return 'BlockCandidate'; - case OP_CYCLE: - return 'Cycle'; - case P2P_PING: - return 'Ping'; - case P2P_PONG: - return 'Pong'; - case P2P_GENERIC: - return 'Generic'; - case P2P_CHAIN_SYNC_REQUEST: - return 'ChainSyncRequest'; - case P2P_IDENT_REQUEST: - return 'IdentityRequest'; - case P2P_IDENT_RESPONSE: - return 'IdentityResponse'; - case P2P_BASE_MESSAGE: - return 'PeerMessage'; - case P2P_STATE_ROOT: - return 'StateRoot'; - case P2P_STATE_CHANGE: - return 'StateChange'; - case P2P_STATE_REQUEST: - return 'StateRequest'; - case P2P_TRANSACTION: - return 'Transaction'; - case P2P_CALL$1: - return 'Call'; - case PEER_CANDIDATE: - return 'PeerCandidate'; - case SESSION_START: - return 'StartSession'; - case CHAT_MESSAGE: - return 'ChatMessage'; - case P2P_START_CHAIN: - return 'StartChain'; - case TYPE_ETHEREUM_BLOCK: - return 'EthereumBlock'; - case TYPE_ETHEREUM_BLOCK_NUMBER: - return 'EthereumBlockNumber'; - default: - return 'GenericMessage'; - } - }, - set (value) { - let code = this.types[value]; - // Default to GenericMessage; - if (!code) { - this.emit('warning', `Unknown message type: ${value}`); - code = this.types['GenericMessage']; - } - - const padded = padDigits(code.toString(16), 8); - this['@type'] = value; - this.raw.type.write(padded, 'hex'); - } -}); - -Object.defineProperty(Message$1.prototype, 'data', { - get () { - if (!this.raw.data) return ''; - return this.raw.data.toString('utf8'); - }, - set (value) { - if (!value) value = ''; - const hash = crypto$5.createHash('sha256').update(value.toString('utf8')); - this.raw.hash = hash.digest(); - this.raw.data = Buffer.from(value); - this.raw.size.write(padDigits(this.raw.data.byteLength.toString(16), 8), 'hex'); - } -}); - -var message = Message$1; - -const { - P2P_CALL -} = constants$1; -const querystring = require$$3__default["default"]; - -// External Dependencies -const fetch = require$$4; -const parser = contentType; -ws.WebSocket; - -// Internal Types -const Actor$1 = actor; -const Message = message; -const CONTENT_TYPE = 'application/json'; - -/** - * Interact with a remote {@link Resource}. This is currently the only - * HTTP-related code that should remain in @fabric/core — all else must - * be moved to @fabric/http before final release! - * @type {Remote} - * @property {Object} config - * @property {Boolean} secure - */ -class Remote extends Actor$1 { - /** - * An in-memory representation of a node in our network. - * @param {Object} target - Target object. - * @param {String} target.host - Named host, e.g. "localhost". - * @param {String} target.secure - Require TLS session. - * @constructor - */ - constructor (config = {}) { - super(config); - - this.settings = Object.assign({ - authority: 'localhost', - backoff: 2, - entropy: Math.random(), - secure: true, - host: 'hub.fabric.pub', - port: 443 - }, config); - - this.host = this.settings.host || this.settings.authority; - this.secure = this.settings.secure; - this.socket = null; - - this.endpoint = `${(this.secure) ? 'wss' : 'ws'}:${this.host}:${this.port}/`; - - this._nextReconnect = 0; - this._reconnectAttempts = 0; - this._state = { - status: 'PAUSED', - messages: [], - meta: { - messages: { - count: 0 - } - } - }; - - return this; - } - - get port () { - return this.settings.port; - } - - get authority () { - // TODO: use onion address for secure mode - const parts = this.settings.authority.split(':'); - const state = { - host: null, - secure: null, - protocol: null, - port: null - }; - - // Check number of components - switch (parts.length) { - default: - // TODO: warn about unexpected values - state.host = this.settings.host; - state.port = this.settings.port; - state.secure = this.settings.secure; - break; - case 1: - state.host = parts[0]; - state.port = this.settings.port; - state.secure = this.settings.secure; - break; - case 2: - state.host = parts[0]; - state.port = parts[1]; - state.secure = this.settings.secure; - break; - case 3: - state.host = parts[1]; - state.port = parts[2]; - // TODO: should settings override protocol inclusion? - state.secure = (parts[0].charAt(4) === 's'); - break; - } - - // Finally set protocol for all cases... - state.protocol = (!state.secure) ? 'http' : 'https'; - - return `${state.protocol}://${state.host}:${state.port}`; - } - - get isArrayBufferSupported () { - return (new Buffer(new Uint8Array([1]).buffer)[0] === 1); - } - - get arrayBufferToBuffer () { - return this.isArrayBufferSupported ? this.arrayBufferToBufferAsArgument : this.arrayBufferToBufferCycle; - } - - arrayBufferToBufferAsArgument (ab) { - return new Buffer(ab); - } - - arrayBufferToBufferCycle (ab) { - var buffer = new Buffer(ab.byteLength); - var view = new Uint8Array(ab); - for (var i = 0; i < buffer.length; ++i) { - buffer[i] = view[i]; - } - return buffer; - } - - async _handleSocketClose (message) { - this._state.status = 'CLOSED'; - console.log('[FABRIC:REMOTE]', 'Socket close:', message); - this._reconnectAttempts++; - this._reconnector = setTimeout(this.connect.bind(this), this._nextReconnect); - this._nextReconnect = Math.pow(this.settings.backoff, this._reconnectAttempts) * 1000 * Math.random(); - } - - async _handleSocketError (message) { - console.error('[FABRIC:REMOTE]', 'Socket error:', message); - this.emit('error', message); - } - - async _handleSocketMessage (packet) { - this.emit('debug', `[FABRIC:REMOTE] Socket packet ${JSON.stringify(packet)}`); - const length = packet.data.byteLength; - console.log('length:', length); - const buffer = Buffer.from(packet.data); - console.log('buffer:', buffer); - const message = Message.fromRaw(buffer).toObject(); - console.log('message:', message); - this._state.messages.push(message); - ++this._state.meta.messages.count; - this.emit('message', message); - } - - async _handleSocketOpen (message) { - this._nextReconnect = 0; - this._reconnectAttempts = 0; - if (this._reconnector) clearTimeout(this._reconnector); - this._state.status = 'CONNECTED'; - this.emit('ready'); - } - - async executeMethod (name, params = []) { - const call = Message.fromVector([P2P_CALL, JSON.stringify([name, params])]); - console.log('call:', call); - console.log('raw:', call.toRaw()); - return this.socket.send(call.toRaw()); - } - - async connect () { - this._state.status = 'CONNECTING'; - - try { - this.socket = new WebSocket(this.endpoint); - console.log('socket:', this.socket); - } catch (exception) { - console.error('[FABRIC:REMOTE]', 'Unable to connect:', exception); - } - - if (this.socket) { - this.socket.binaryType = 'arraybuffer'; - this.socket.addEventListener('close', this._handleSocketClose.bind(this)); - this.socket.addEventListener('open', this._handleSocketOpen.bind(this)); - this.socket.addEventListener('message', this._handleSocketMessage.bind(this)); - this.socket.addEventListener('error', this._handleSocketError.bind(this)); - } - - return this; - } - - /** - * Enumerate the available Resources on the remote host. - * @return {Configuration} An object with enumerable key/value pairs for the Application Resource Contract. - */ - async enumerate () { - const options = await this._OPTIONS('/'); - const results = []; - - for (const name in options) { - const definition = options[name]; - results.push({ - name: definition.name, - description: definition.description, - components: Object.assign({ - list: 'maki-resource-list', - view: 'maki-resource-view' - }, definition.components), - routes: definition.routes, - attributes: definition.attributes, - names: definition.names - }); - } - - return options; - } - - /** - * Make an HTTP request to the configured authority. - * @param {String} type One of `GET`, `PUT`, `POST`, `DELETE`, or `OPTIONS`. - * @param {String} path The path to request from the authority. - * @param {Object} [params] Options. - * @returns {FabricHTTPResult} - */ - async request (type, path, params = {}) { - const self = this; - - let url = this.authority + path; - let result = null; - let response = null; - let headers = { - 'Accept': CONTENT_TYPE, - 'Content-Type': CONTENT_TYPE - }; - - let opts = { - method: type, - headers: headers - }; - - // TODO: break out into independent auth module - if (this.settings.username || this.settings.password) { - headers['Authorization'] = `Basic ${Buffer.from([ - this.settings.username || '', - this.settings.password || '' - ].join(':')).toString('base64')}`; - } - - switch (params.mode) { - case 'query': - url += '?' + querystring.stringify(params.body); - break; - default: - try { - opts.body = JSON.stringify(params.body); - } catch (exception) { - console.error('[FABRIC:REMOTE] Could not prepare request:', exception); - } - - opts = Object.assign(opts, { - body: params.body || null - }); - break; - } - - // Core Logic - try { - response = await fetch(url, opts); - } catch (e) { - self.emit('error', `[REMOTE] exception: ${e}`); - } - - if (!response) { - return { - status: 'error', - message: 'No response to request.' - }; - } - - switch (response.status) { - case 404: - result = { - status: 'error', - message: 'Document not found.' - }; - break; - default: - if (response.ok) { - const formatter = parser.parse(response.headers.get('content-type')); - switch (formatter.type) { - case 'application/json': - try { - result = await response.json(); - } catch (E) { - console.error('[REMOTE]', 'Could not parse JSON:', E); - } - break; - default: - if (this.settings.verbosity >= 4) self.emit('warning', `[FABRIC:REMOTE] Unhandled headers content type: ${formatter.type}`); - result = await response.text(); - break; - } - } else { - if (this.settings.verbosity >= 4) console.warn('[FABRIC:REMOTE]', 'Unmanaged HTTP status code:', response.status); - - try { - result = response.json(); - } catch (exception) { - result = response.text(); - } - } - break; - } - - return result; - } - - async ping () { - this.send({ - created: (new Date()).toISOString(), - type: 'PING' - }); - } - - async send (message) { - const msg = Message.fromVector(['GenericMessage', JSON.stringify(message)]); - const raw = msg.toRaw(); - const actor = new Actor$1({ content: raw.toString('hex') }); - this.socket.send(raw); - return actor.id; - } - - async sendAsJSON (message) { - this.socket.send({ - content: message - }); - } - - /** - * HTTP PUT against the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} body - Map of parameters to supply. - * @return {FabricHTTPResult|String} Result of request. - */ - async _PUT (key, body) { - return this.request('put', key, { body }); - } - - /** - * HTTP GET against the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {FabricHTTPResult|String} Result of request. - */ - async _GET (key, params) { - return this.request('get', key, params); - } - - /** - * HTTP POST against the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {FabricHTTPResult|String} Result of request. - */ - async _POST (key, obj, params = {}) { - let result = null; - let options = null; - - switch (params.mode) { - case 'query': - options = Object.assign({}, { - body: obj, - mode: 'query' - }); - break; - default: - options = Object.assign({}, params, { - body: obj, - mode: 'body' - }); - break; - } - - result = await this.request('post', key, options); - - return result; - } - - /** - * HTTP OPTIONS on the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {Object} - Full description of remote resource. - */ - async _OPTIONS (key, params) { - return this.request('options', key, params); - } - - /** - * HTTP PATCH on the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} body - Map of parameters to supply. - * @return {Object} - Full description of remote resource. - */ - async _PATCH (key, body) { - return this.request('patch', key, { body }); - } - - /** - * HTTP DELETE on the configured Authority. - * @param {String} path - HTTP Path to request. - * @param {Object} params - Map of parameters to supply. - * @return {Object} - Full description of remote resource. - */ - async _DELETE (key, params) { - return this.request('delete', key, params); - } - - async _SEARCH (key, params) { - return this.request('search', key, params); - } -} - -var remote = Remote; - -var Remote$1 = /*#__PURE__*/_mergeNamespaces({ - __proto__: null, - 'default': remote -}, [remote]); - -var FabricBridge$1 = /*#__PURE__*/function (_React$Component) { - _inherits(FabricBridge, _React$Component); - - var _super = _createSuper(FabricBridge); - - function FabricBridge(props) { - var _this; - - _classCallCheck$1(this, FabricBridge); - - _this = _super.call(this, props); - _this.settings = Object.assign({ - host: 'localhost', - port: 9999, - secure: false - }, props); - _this.state = merge__default["default"]({ - integrity: 'sha256-deadbeefbabe', - status: 'disconnected', - messages: [], - meta: { - messages: { - count: 0 - } - } - }, _this.settings); - console.log('bridge settings:', _this.settings); - _this.remote = new Remote$1({ - host: _this.settings.host, - port: _this.settings.port, - secure: _this.settings.secure - }); - /* this.agent = new Worker({ - service: main, - settings: settings - }); */ - - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); - } - - _createClass$1(FabricBridge, [{ - key: "_handleRemoteMessage", - value: function _handleRemoteMessage(message) { - console.log('Remote message:', message); - - this._syncState(); - } - }, { - key: "_handleRemoteError", - value: function _handleRemoteError(error) { - console.log('Remote error:', error); - } - }, { - key: "_syncState", - value: function _syncState() { - this.setState({ - status: this.remote._state.status, - messages: this.remote._state.messages, - meta: this.remote._state.meta - }); - } - }, { - key: "componentDidMount", - value: function componentDidMount() { - console.log('bridge mounted! starting...'); // this.agent.executeMethod('connect'); - // this.process.executeMethod('connect'); - - this.start(); - } - }, { - key: "connect", - value: function connect() { - this._syncState(); - - this.remote.connect(); - - this._syncState(); - } - }, { - key: "executeMethod", - value: function executeMethod(name, params) { - return this.remote.executeMethod(name, params); - } - }, { - key: "ping", - value: function ping() { - this.remote.ping(); - } - }, { - key: "render", - value: function render() { - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - floated: "right" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - onClick: this.ping.bind(this) - }, "Ping ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "info" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - onClick: this.connect.bind(this) - }, "Connect ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "lightning" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, { - as: "h3" - }, "Bridge")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed, null, this.state.messages.map(function (message, i) { - return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Event, { - size: "small", - key: i, - style: { - fontSize: '0.8em', - fontFamily: 'monospace' - } - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Feed.Content, null, /*#__PURE__*/React__default["default"].createElement("div", { - style: { - color: 'black' - } - }, JSON.stringify(message, null, ' ')))); - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - extra: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "info" - }), " ", this.remote._state.status), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Label, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "mail" - }), " ", this.remote._state.meta.messages.count)))); - } - }, { - key: "send", - value: function () { - var _send = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(message) { - return _regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - return _context.abrupt("return", this.remote.send(message)); - - case 1: - case "end": - return _context.stop(); - } - } - }, _callee, this); - })); - - function send(_x) { - return _send.apply(this, arguments); - } - - return send; - }() - }, { - key: "start", - value: function () { - var _start = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() { - return _regeneratorRuntime().wrap(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - this.remote.on('ready', this.props.remoteReady.bind(this)); - this.remote.on('message', this._handleRemoteMessage.bind(this)); - this.remote.on('error', this._handleRemoteError.bind(this)); - this.connect(); - - case 4: - case "end": - return _context2.stop(); - } - } - }, _callee2, this); - })); - - function start() { - return _start.apply(this, arguments); - } - - return start; - }() - }]); - - return FabricBridge; -}(React__default["default"].Component); - -var FabricBridge$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': FabricBridge$1 -}); - -var require$$0$1 = /*@__PURE__*/getAugmentedNamespace(FabricBridge$2); - -var lib$1 = {}; - -var bitConverter = {}; - -Object.defineProperty(bitConverter, "__esModule", { - value: true -}); -bitConverter.createBitArray = createBitArray; -bitConverter.fromBits = fromBits; -bitConverter.toBits = toBits; - -/* eslint-disable no-unused-vars */ - -/** - * Virtual type for bit arrays, i.e., arrays in which each element contains - * an integer in range `[0, 1 << L)`, where `1 <= L <= 8`. - */ - -/* eslint-enable no-unused-vars */ - -/** - * Performs unchecked conversion from `Uint8Array` to `BitArray`. - * This function is translated as the indentity operation by Babel; it's needed purely - * for Flow type checks. - * - * @param {Uint8Array} src - * array to convert - * @returns {Uint8Array} - * `src` interpreted as a `BitArray` with the specified bitness - * - * @api private - */ -function toBitArrayUnchecked(src) { - return src; -} -/** - * Creates a new array with specified bitness. - * - * @param {number} len - * length of the created array - * @returns {Uint8Array} - * - * @api private - */ - - -function createBitArray(len) { - return toBitArrayUnchecked(new Uint8Array(len)); -} -/** - * Converts an array from one number of bits per element to another. - * - * @api private - */ - - -function convert$1(src, srcBits, dst, dstBits, pad) { - var mask = (1 << dstBits) - 1; - var acc = 0; - var bits = 0; - var pos = 0; - src.forEach(function (b) { - // Pull next bits from the input buffer into accumulator. - acc = (acc << srcBits) + b; - bits += srcBits; // Push into the output buffer while there are enough bits in the accumulator. - - while (bits >= dstBits) { - bits -= dstBits; - dst[pos] = acc >> bits & mask; - pos += 1; - } - }); - - if (pad) { - if (bits > 0) { - // `dstBits - rem.bits` is the number of trailing zero bits needed to be appended - // to accumulator bits to get the trailing bit group. - dst[pos] = acc << dstBits - bits & mask; - } - } else { - // Truncate the remaining padding, but make sure that it is zeroed and not - // overly long first. - if (bits >= srcBits) { - throw new Error("Excessive padding: ".concat(bits, " (max ").concat(srcBits - 1, " allowed)")); - } - - if (acc % (1 << bits) !== 0) { - throw new Error('Non-zero padding'); - } - } -} -/** - * Encodes a `Uint8Array` buffer as an array with a lesser number of bits per element. - * - * @api private - */ - - -function toBits(src, bits, dst) { - if (bits > 8 || bits < 1) { - throw new RangeError('Invalid bits per element; 1 to 8 expected'); - } // `BitArray<8>` is equivalent to `Uint8Array`; unfortunately, Flow - // has problems expressing this, so the explicit conversion is performed here. - - - convert$1(toBitArrayUnchecked(src), 8, dst, bits, true); - return dst; -} - -function fromBits(src, bits, dst) { - if (bits > 8 || bits < 1) { - throw new RangeError('Invalid bits per element; 1 to 8 expected'); - } - - convert$1(src, bits, toBitArrayUnchecked(dst), 8, false); - return dst; -} - -var encoding = {}; - -Object.defineProperty(encoding, "__esModule", { - value: true -}); -encoding.CHECKSUM_LENGTH = void 0; -encoding.createChecksum = createChecksum; -encoding.decode = decode$6; -encoding.decodeWithPrefix = decodeWithPrefix; -encoding.encode = encode$6; -encoding.expandPrefix = expandPrefix; -encoding.verifyChecksum = verifyChecksum; - -var _bitConverter$1 = bitConverter; - -// Alphabet for Bech32 -var CHARSET = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; // Checksum constant for Bech32m. - -var BECH32M_CHECKSUM = 0x2bc830a3; -var CHECKSUM_LENGTH = 6; // Reverse lookup for characters - -encoding.CHECKSUM_LENGTH = CHECKSUM_LENGTH; - -var CHAR_LOOKUP = function () { - var lookup = new Map(); - - for (var i = 0; i < CHARSET.length; i += 1) { - lookup.set(CHARSET[i], i); - } - - return lookup; -}(); // Poly generators - - -var GEN = [0x3b6a57b2, 0x26508e6d, 0x1ea119fa, 0x3d4233dd, 0x2a1462b3]; - -function polymod(values) { - return values.reduce(function (checksum, value) { - var bits = checksum >> 25; - var newChecksum = (checksum & 0x1ffffff) << 5 ^ value; - return GEN.reduce(function (chk, gen, i) { - return (bits >> i & 1) === 0 ? chk : chk ^ gen; - }, newChecksum); - }, - /* initial checksum */ - 1); -} -/** - * Expands a prefix into the specified output buffer. - */ - - -function expandPrefix(prefix, outBuffer) { - for (var i = 0; i < prefix.length; i += 1) { - var code = prefix.charCodeAt(i); - outBuffer[i] = code >> 5; - outBuffer[i + prefix.length + 1] = code & 31; - } - - outBuffer[prefix.length] = 0; -} -/** - * Verifies the checksum for a particular buffer. - */ - - -function verifyChecksum(buffer) { - switch (polymod(buffer)) { - case 1: - return 'bech32'; - - case BECH32M_CHECKSUM: - return 'bech32m'; - - default: - return undefined; - } -} -/** - * Creates a checksum for a buffer and writes it to the last 6 5-bit groups - * of the buffer. - */ - - -function createChecksum(buffer, encoding) { - var checksumConstant; - - switch (encoding) { - case 'bech32': - checksumConstant = 1; - break; - - case 'bech32m': - checksumConstant = BECH32M_CHECKSUM; - break; - - default: - throw Error("Invalid encoding value: ".concat(encoding, "; expected bech32 or bech32m")); - } - - var mod = polymod(buffer) ^ checksumConstant; - - for (var i = 0; i < CHECKSUM_LENGTH; i += 1) { - var shift = 5 * (5 - i); - buffer[buffer.length - CHECKSUM_LENGTH + i] = mod >> shift & 31; - } -} -/** - * Encodes an array of 5-bit groups into a string. - * - * @param {Uint8Array} buffer - * @returns {string} - * - * @api private - */ - - -function encode$6(buffer) { - return buffer.reduce(function (acc, bits) { - return acc + CHARSET[bits]; - }, ''); -} -/** - * Decodes a string into an array of 5-bit groups. - * - * @param {string} message - * @param {Uint8Array} [dst] - * Optional array to write the output to. If not specified, the array is created. - * @returns {Uint8Array} - * Array with the result of decoding - * - * @throws {Error} - * if there are characters in `message` not present in the encoding alphabet - * - * @api private - */ - - -function decode$6(message, dst) { - var realDst = dst || (0, _bitConverter$1.createBitArray)(message.length); - - for (var i = 0; i < message.length; i += 1) { - var idx = CHAR_LOOKUP.get(message[i]); - - if (idx === undefined) { - throw new Error("Invalid char in message: ".concat(message[i])); - } - - realDst[i] = idx; - } - - return realDst; -} -/** - * Decodes a string and a human-readable prefix into an array of 5-bit groups. - * The prefix is expanded as specified by Bech32. - * - * @param {string} prefix - * @param {string} message - * @returns {Uint8Array} - * Array with the result of decoding - * - * @api private - */ - - -function decodeWithPrefix(prefix, message) { - var len = message.length + 2 * prefix.length + 1; - var dst = (0, _bitConverter$1.createBitArray)(len); - expandPrefix(prefix, dst.subarray(0, 2 * prefix.length + 1)); - decode$6(message, dst.subarray(2 * prefix.length + 1)); - return dst; -} - -Object.defineProperty(lib$1, "__esModule", { - value: true -}); -lib$1.BitcoinAddress = void 0; -lib$1.decode = decode$5; -lib$1.decodeTo5BitArray = decodeTo5BitArray; -lib$1.encode = encode$5; -lib$1.encode5BitArray = encode5BitArray; -lib$1.from5BitArray = from5BitArray; -lib$1.to5BitArray = to5BitArray; - -var _bitConverter = bitConverter; - -var _encoding = encoding; - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } - -function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } - -// Minimum char code that could be present in the encoded message -var MIN_CHAR_CODE = 33; // Maximum char code that could be present in the encoded message - -var MAX_CHAR_CODE = 126; // Maximum encoded message length - -var MAX_ENC_LENGTH = 90; - -/** - * Converts a Uint8Array into a Uint8Array variant, in which each element - * encodes 5 bits of the original byte array. - * - * @param {Uint8Array} src - * Input to convert - * @param {?Uint8Array} dst - * Optional output buffer. If specified, the sequence of 5-bit chunks will be written there; - * if not specified, the output buffer will be created from scratch. The length - * of `outBuffer` is not checked. - * @returns {Uint8Array} - * Output buffer consisting of 5-bit chunks - * - * @api public - */ -function to5BitArray(src, dst) { - var len = Math.ceil(src.length * 8 / 5); - var realDst = dst || (0, _bitConverter.createBitArray)(len); - return (0, _bitConverter.toBits)(src, 5, realDst); -} - -function from5BitArray(src, dst) { - var len = Math.floor(src.length * 5 / 8); - var realDst = dst || new Uint8Array(len); - return (0, _bitConverter.fromBits)(src, 5, realDst); -} -/** - * Encodes binary data into Bech32 encoding. - * - * Ordinarily, you may want to use [`encode`](#encode) because it converts - * binary data to an array of 5-bit integers automatically. - * - * @param {string} prefix - * Human-readable prefix to place at the beginning of the encoding - * @param {Uint8Array} data - * Array of 5-bit integers with data to encode - * @param {Encoding} encoding - * Encoding to use; influences the checksum computation. If not specified, - * Bech32 encoding will be used. - * @returns {string} - * Bech32 encoding of data in the form `1` - * - * @api public - */ - - -function encode5BitArray(prefix, data) { - var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; - // 1. Allocate buffer for all operations - var len = 2 * prefix.length + 1 // expanded prefix - + data.length // five-bit data encoding - + _encoding.CHECKSUM_LENGTH; // checksum - - if (len - prefix.length > MAX_ENC_LENGTH) { - throw new Error("Message to be produced is too long (max ".concat(MAX_ENC_LENGTH, " supported)")); - } - - for (var i = 0; i < prefix.length; i += 1) { - var ord = prefix.charCodeAt(i); - - if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { - throw new TypeError("Invalid char in prefix: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); - } - } - - var buffer = (0, _bitConverter.createBitArray)(len); // 2. Expand the human-readable prefix into the beginning of the buffer - - (0, _encoding.expandPrefix)(prefix, buffer.subarray(0, 2 * prefix.length + 1)); // 3. Copy `data` into the output - - var dataBuffer = buffer.subarray(2 * prefix.length + 1, buffer.length - _encoding.CHECKSUM_LENGTH); - dataBuffer.set(data); // 4. Create the checksum - - (0, _encoding.createChecksum)(buffer, encoding); // 5. Convert into string - - var encoded = (0, _encoding.encode)(buffer.subarray(2 * prefix.length + 1)); - return "".concat(prefix, "1").concat(encoded); -} -/** - * Encodes binary data into Bech32 encoding. - * - * @param {string} prefix - * Human-readable prefix to place at the beginning of the encoding - * @param {Uint8Array} data - * Binary data to encode - * @param {Encoding} encoding - * Encoding to use; influences the checksum computation. If not specified, - * Bech32 encoding will be used. - * @returns {string} - * Bech32 encoding of data in the form `1` - * - * @api public - */ - - -function encode$5(prefix, data) { - var encoding = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'bech32'; - return encode5BitArray(prefix, to5BitArray(data), encoding); -} -/** - * Decodes data from Bech32 encoding into an array of 5-bit integers. - * - * Ordinarily, you may want to use [`decode`](#decode) because it automatically - * converts the array of 5-bit integers into an ordinary `Uint8Array`. - * - * @param {string} message - * Bech32-encoded message - * @returns {DecodeResult} - * Decoded object with `prefix` and `data` fields, which contain the human-readable - * prefix and the array of 5-bit integers respectively. - * - * @api public - */ - - -function decodeTo5BitArray(message) { - // Check preconditions - // 1. Message length - if (message.length > MAX_ENC_LENGTH) { - throw new TypeError("Message too long; max ".concat(MAX_ENC_LENGTH, " expected")); - } // 2. Mixed case - - - var hasLowerCase = false; - var hasUpperCase = false; - - for (var i = 0; i < message.length; i += 1) { - var ord = message.charCodeAt(i); // 3. Allowed chars in the encoding - - if (ord < MIN_CHAR_CODE || ord > MAX_CHAR_CODE) { - throw new TypeError("Invalid char in message: ".concat(ord, "; should be in ASCII range ").concat(MIN_CHAR_CODE, "-").concat(MAX_CHAR_CODE)); - } - - hasLowerCase = hasLowerCase || ord >= 65 && ord <= 90; - hasUpperCase = hasUpperCase || ord >= 97 && ord <= 122; - } - - if (hasLowerCase && hasUpperCase) { - throw new TypeError('Mixed-case message'); - } - - var lowerCaseMsg = message.toLowerCase(); // 4. Existence of the separator char - - var sepIdx = lowerCaseMsg.lastIndexOf('1'); - - if (sepIdx < 0) { - throw new Error('No separator char ("1") found'); - } // 5. Placing of the separator char in the message - - - if (sepIdx > message.length - _encoding.CHECKSUM_LENGTH - 1) { - throw new Error("Data part of the message too short (at least ".concat(_encoding.CHECKSUM_LENGTH, " chars expected)")); - } - - var prefix = lowerCaseMsg.substring(0, sepIdx); // Checked within `decodeWithPrefix`: - // 6. Invalid chars in the data part of the message - - var bitArray = (0, _encoding.decodeWithPrefix)(prefix, lowerCaseMsg.substring(sepIdx + 1)); // 7. Checksum - - var encoding = (0, _encoding.verifyChecksum)(bitArray); - - if (encoding === undefined) { - throw new Error('Invalid checksum'); - } - - return { - prefix: prefix, - encoding: encoding, - // Strip off the prefix from the front and the checksum from the end - data: bitArray.subarray(2 * prefix.length + 1, bitArray.length - _encoding.CHECKSUM_LENGTH) - }; -} -/** - * Decodes data from Bech32 encoding into an array of 5-bit integers. - * - * @param {string} message - * Bech32-encoded message - * @returns {DecodeResult} - * Decoded object with `prefix` and `data` fields, which contain the human-readable - * prefix and the decoded binary data respectively. - * - * @api public - */ - - -function decode$5(message) { - var _decodeTo5BitArray = decodeTo5BitArray(message), - prefix = _decodeTo5BitArray.prefix, - encoding = _decodeTo5BitArray.encoding, - bitArray = _decodeTo5BitArray.data; - - return { - prefix: prefix, - encoding: encoding, - data: from5BitArray(bitArray) - }; -} -/** - * Bitcoin address. - */ - - -var BitcoinAddress = /*#__PURE__*/function () { - function BitcoinAddress(prefix, scriptVersion, data) { - _classCallCheck(this, BitcoinAddress); - - if (prefix !== 'bc' && prefix !== 'tb') { - throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); - } - - if (scriptVersion < 0 || scriptVersion > 16) { - throw new RangeError('Invalid scriptVersion, value in range [0, 16] expected'); - } - - if (data.length < 2 || data.length > 40) { - throw new RangeError('Invalid script length: expected 2 to 40 bytes'); - } - - if (scriptVersion === 0 && data.length !== 20 && data.length !== 32) { - throw new Error('Invalid v0 script length: expected 20 or 32 bytes'); - } - - this.prefix = prefix; - this.scriptVersion = scriptVersion; - this.data = data; - } - /** - * Guesses the address type based on its internal structure. - * - * @returns {void | 'p2wpkh' | 'p2wsh'} - */ - - - _createClass(BitcoinAddress, [{ - key: "type", - value: function type() { - if (this.scriptVersion !== 0) { - return undefined; - } - - switch (this.data.length) { - case 20: - return 'p2wpkh'; - - case 32: - return 'p2wsh'; - // should be unreachable, but it's JS, so you never know - - default: - return undefined; - } - } - /** - * Encodes this address in Bech32 or Bech32m format, depending on the script version. - * Version 0 scripts are encoded using original Bech32 encoding as per BIP 173, - * while versions 1-16 are encoded using the modified encoding as per BIP 350. - * - * @returns {string} - * Bech32(m)-encoded address - */ - - }, { - key: "encode", - value: function encode() { - // Bitcoin addresses use Bech32 in a peculiar way - script version is - // not a part of the serialized binary data, but is rather prepended as 5-bit value - // before the rest of the script. This necessitates some plumbing here. - var len = Math.ceil(this.data.length * 8 / 5); - var converted = (0, _bitConverter.createBitArray)(len + 1); - converted[0] = this.scriptVersion; - to5BitArray(this.data, converted.subarray(1)); - var encoding = this.scriptVersion === 0 ? 'bech32' : 'bech32m'; - return encode5BitArray(this.prefix, converted, encoding); - } - }], [{ - key: "decode", - value: - /** - * Human-readable prefix. Equal to `'bc'` (for mainnet addresses) - * or `'tb'` (for testnet addresses). - */ - - /** - * Script version. An integer between 0 and 16 (inclusive). - */ - - /** - * Script data. A byte string with length 2 to 40 (inclusive). - */ - - /** - * Decodes a Bitcoin address from a Bech32(m) string. - * As per BIP 350, the original encoding is expected for version 0 scripts, while - * other script versions expect the modified encoding. - * - * This method does not check whether the address is well-formed; - * use `type()` method on returned address to find that out. - * - * @param {string} message - * @returns {BitcoinAddress} - */ - function decode(message) { - var _decodeTo5BitArray2 = decodeTo5BitArray(message), - prefix = _decodeTo5BitArray2.prefix, - data = _decodeTo5BitArray2.data, - encoding = _decodeTo5BitArray2.encoding; // Extra check to satisfy Flow. - - - if (prefix !== 'bc' && prefix !== 'tb') { - throw new Error('Invalid human-readable prefix, "bc" or "tb" expected'); - } - - var scriptVersion = data[0]; - - if (scriptVersion === 0 && encoding !== 'bech32') { - throw Error("Unexpected encoding ".concat(encoding, " used for version 0 script")); - } - - if (scriptVersion > 0 && encoding !== 'bech32m') { - throw Error("Unexpected encoding ".concat(encoding, " used for version ").concat(scriptVersion, " script")); - } - - return new this(prefix, scriptVersion, from5BitArray(data.subarray(1))); - } - }]); - - return BitcoinAddress; -}(); - -lib$1.BitcoinAddress = BitcoinAddress; - -var dist$1 = {}; - -Object.defineProperty(dist$1, "__esModule", { value: true }); -dist$1.bech32m = dist$1.bech32 = void 0; -const ALPHABET$1 = 'qpzry9x8gf2tvdw0s3jn54khce6mua7l'; -const ALPHABET_MAP = {}; -for (let z = 0; z < ALPHABET$1.length; z++) { - const x = ALPHABET$1.charAt(z); - ALPHABET_MAP[x] = z; -} -function polymodStep(pre) { - const b = pre >> 25; - return (((pre & 0x1ffffff) << 5) ^ - (-((b >> 0) & 1) & 0x3b6a57b2) ^ - (-((b >> 1) & 1) & 0x26508e6d) ^ - (-((b >> 2) & 1) & 0x1ea119fa) ^ - (-((b >> 3) & 1) & 0x3d4233dd) ^ - (-((b >> 4) & 1) & 0x2a1462b3)); -} -function prefixChk(prefix) { - let chk = 1; - for (let i = 0; i < prefix.length; ++i) { - const c = prefix.charCodeAt(i); - if (c < 33 || c > 126) - return 'Invalid prefix (' + prefix + ')'; - chk = polymodStep(chk) ^ (c >> 5); - } - chk = polymodStep(chk); - for (let i = 0; i < prefix.length; ++i) { - const v = prefix.charCodeAt(i); - chk = polymodStep(chk) ^ (v & 0x1f); - } - return chk; -} -function convert(data, inBits, outBits, pad) { - let value = 0; - let bits = 0; - const maxV = (1 << outBits) - 1; - const result = []; - for (let i = 0; i < data.length; ++i) { - value = (value << inBits) | data[i]; - bits += inBits; - while (bits >= outBits) { - bits -= outBits; - result.push((value >> bits) & maxV); - } - } - if (pad) { - if (bits > 0) { - result.push((value << (outBits - bits)) & maxV); - } - } - else { - if (bits >= inBits) - return 'Excess padding'; - if ((value << (outBits - bits)) & maxV) - return 'Non-zero padding'; - } - return result; -} -function toWords(bytes) { - return convert(bytes, 8, 5, true); -} -function fromWordsUnsafe(words) { - const res = convert(words, 5, 8, false); - if (Array.isArray(res)) - return res; -} -function fromWords(words) { - const res = convert(words, 5, 8, false); - if (Array.isArray(res)) - return res; - throw new Error(res); -} -function getLibraryFromEncoding(encoding) { - let ENCODING_CONST; - if (encoding === 'bech32') { - ENCODING_CONST = 1; - } - else { - ENCODING_CONST = 0x2bc830a3; - } - function encode(prefix, words, LIMIT) { - LIMIT = LIMIT || 90; - if (prefix.length + 7 + words.length > LIMIT) - throw new TypeError('Exceeds length limit'); - prefix = prefix.toLowerCase(); - // determine chk mod - let chk = prefixChk(prefix); - if (typeof chk === 'string') - throw new Error(chk); - let result = prefix + '1'; - for (let i = 0; i < words.length; ++i) { - const x = words[i]; - if (x >> 5 !== 0) - throw new Error('Non 5-bit word'); - chk = polymodStep(chk) ^ x; - result += ALPHABET$1.charAt(x); - } - for (let i = 0; i < 6; ++i) { - chk = polymodStep(chk); - } - chk ^= ENCODING_CONST; - for (let i = 0; i < 6; ++i) { - const v = (chk >> ((5 - i) * 5)) & 0x1f; - result += ALPHABET$1.charAt(v); - } - return result; - } - function __decode(str, LIMIT) { - LIMIT = LIMIT || 90; - if (str.length < 8) - return str + ' too short'; - if (str.length > LIMIT) - return 'Exceeds length limit'; - // don't allow mixed case - const lowered = str.toLowerCase(); - const uppered = str.toUpperCase(); - if (str !== lowered && str !== uppered) - return 'Mixed-case string ' + str; - str = lowered; - const split = str.lastIndexOf('1'); - if (split === -1) - return 'No separator character for ' + str; - if (split === 0) - return 'Missing prefix for ' + str; - const prefix = str.slice(0, split); - const wordChars = str.slice(split + 1); - if (wordChars.length < 6) - return 'Data too short'; - let chk = prefixChk(prefix); - if (typeof chk === 'string') - return chk; - const words = []; - for (let i = 0; i < wordChars.length; ++i) { - const c = wordChars.charAt(i); - const v = ALPHABET_MAP[c]; - if (v === undefined) - return 'Unknown character ' + c; - chk = polymodStep(chk) ^ v; - // not in the checksum? - if (i + 6 >= wordChars.length) - continue; - words.push(v); - } - if (chk !== ENCODING_CONST) - return 'Invalid checksum for ' + str; - return { prefix, words }; - } - function decodeUnsafe(str, LIMIT) { - const res = __decode(str, LIMIT); - if (typeof res === 'object') - return res; - } - function decode(str, LIMIT) { - const res = __decode(str, LIMIT); - if (typeof res === 'object') - return res; - throw new Error(res); - } - return { - decodeUnsafe, - decode, - encode, - toWords, - fromWordsUnsafe, - fromWords, - }; -} -dist$1.bech32 = getLibraryFromEncoding('bech32'); -dist$1.bech32m = getLibraryFromEncoding('bech32m'); - -const bech32 = lib$1; -const { - bech32m -} = dist$1; - -class Bech32$1 { - constructor (input = {}) { - this.settings = Object.assign({ - hrp: 'bc', - separator: '1', - content: '' - }, input); - - return this; - } - - get content () { - return this.settings.content; - } - - get hrp () { - return this.settings.hrp; - } - - get words () { - const buffer = (this.content instanceof Buffer) ? this.content : Buffer.from(this.content, 'hex'); - return bech32m.toWords(buffer); - } - - static decode (input = '') { - const decoded = bech32.decode(input); - return { - prefix: decoded.prefix, - content: decoded.data - }; - } - - toString () { - return bech32m.encode(this.hrp, this.words); - } -} - -var bech32_1$2 = Bech32$1; - -function commonjsRequire(path) { - throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.'); -} - -var dist = {exports: {}}; - -(function (module, exports) { - (function(f){{module.exports=f();}})(function(){return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof commonjsRequire=="function"&&commonjsRequire;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r);}return n[o].exports}var i=typeof commonjsRequire=="function"&&commonjsRequire;for(var o=0;o 32) { - throw new Error('Generator.bits()\'s bitCount parameter must be in the range [1 - 32]. Provided bitCount=' + bitCount); - } - // Use the higher bits as the lower bits have a low period. I haven't looked into the exact - // math of why, but in my tests in masking off the lower bits and graphing them it tended - // to loop very quickly. - // TODO: Test the above concern and in general do some analysis of the quality of generated - // numbers using different places of the number. - return this._state >>> 32 - bitCount; - } - - // Move the generators internal state - // forward one step - - }, { - key: 'next', - get: function get() { - this._state = lcg(this._state); - return this; - } - - // Move the generators internal state - // forward one step - - }, { - key: 'prev', - get: function get() { - this._state = rlcg(this._state); - return this; - } - - // Set the state of the generator. Must be a valid u32 integer - - }, { - key: 'state', - set: function set(state) { - if (state < 0 || state >= _MaxU2.default) { - throw new Error('Generator.state must be a number between 0 and (2^32 - 1). Provided state was ' + state + '.'); - } - this._state = state; - } - - // Get the current internal state - , - get: function get() { - return this._state; - } - }]); - - return Generator; - }(); - - exports.default = Generator; - - - function lcg(state) { - state = (a * state + c) % m; - return state; - } - - function rlcg(state) { - var result = _Long2.default.fromInt(aInverse).multiply(_Long2.default.fromNumber(state - 1013904223)); // - var pow2to32 = new _Long2.default(0, 1); - - // Modulo doesn't work as we want (negatives stay negatives, we want wrapping around ) - if (result.isNegative()) { - result = pow2to32.add(result.modulo(pow2to32)); - } else { - result = result.modulo(pow2to32); - } - - result = result.toNumber(); - state = result; - return state; - } - - },{"./Long":2,"./MaxU32":3}],2:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - // Copyright 2009 The Closure Library Authors. All Rights Reserved. - // - // Licensed under the Apache License, Version 2.0 (the "License"); - // you may not use this file except in compliance with the License. - // You may obtain a copy of the License at - // - // http://www.apache.org/licenses/LICENSE-2.0 - // - // Unless required by applicable law or agreed to in writing, software - // distributed under the License is distributed on an "AS-IS" BASIS, - // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - // See the License for the specific language governing permissions and - // limitations under the License. - - /** - * @fileoverview Defines a Long class for representing a 64-bit two's-complement - * integer value, which faithfully simulates the behavior of a Java "long". This - * implementation is derived from LongLib in GWT. - * - */ - - /** - * Constructs a 64-bit two's-complement integer, given its low and high 32-bit - * values as *signed* integers. See the from* functions below for more - * convenient ways of constructing Longs. - * - * The internal representation of a long is the two given signed, 32-bit values. - * We use 32-bit pieces because these are the size of integers on which - * Javascript performs bit-operations. For operations like addition and - * multiplication, we split each number into 16-bit pieces, which can easily be - * multiplied within Javascript's floating-point representation without overflow - * or change in sign. - * - * In the algorithms below, we frequently reduce the negative case to the - * positive case by negating the input(s) and then post-processing the result. - * Note that we must ALWAYS check specially whether those values are MIN_VALUE - * (-2^63) because -MIN_VALUE == MIN_VALUE (since 2^63 cannot be represented as - * a positive number, it overflows back into a negative). Not handling this - * case would often result in infinite recursion. - * - * @param {number} low The low (signed) 32 bits of the long. - * @param {number} high The high (signed) 32 bits of the long. - * @struct - * @constructor - * @final - */ - var Long = function Long(low, high) { - /** - * @type {number} - * @private - */ - this.low_ = low | 0; // force into 32 signed bits. - - /** - * @type {number} - * @private - */ - this.high_ = high | 0; // force into 32 signed bits. - }; - - /** - * Returns a Long representing the given (32-bit) integer value. - * @param {number} value The 32-bit integer in question. - * @return {!Long} The corresponding Long value. - */ - Long.fromInt = function (value) { - return new Long(value | 0, value < 0 ? -1 : 0); - }; - - /** - * Returns a Long representing the given value. - * NaN will be returned as zero. Infinity is converted to max value and - * -Infinity to min value. - * @param {number} value The number in question. - * @return {!Long} The corresponding Long value. - */ - Long.fromNumber = function (value) { - if (isNaN(value)) { - return Long.getZero(); - } else if (value <= -Long.TWO_PWR_63_DBL_) { - return Long.getMinValue(); - } else if (value + 1 >= Long.TWO_PWR_63_DBL_) { - return Long.getMaxValue(); - } else if (value < 0) { - return Long.fromNumber(-value).negate(); - } else { - return new Long(value % Long.TWO_PWR_32_DBL_ | 0, value / Long.TWO_PWR_32_DBL_ | 0); - } - }; - - /** - * Returns a Long representing the 64-bit integer that comes by concatenating - * the given high and low bits. Each is assumed to use 32 bits. - * @param {number} lowBits The low 32-bits. - * @param {number} highBits The high 32-bits. - * @return {!Long} The corresponding Long value. - */ - Long.fromBits = function (lowBits, highBits) { - return new Long(lowBits, highBits); - }; - - /** - * Returns a Long representation of the given string, written using the given - * radix. - * @param {string} str The textual representation of the Long. - * @param {number=} opt_radix The radix in which the text is written. - * @return {!Long} The corresponding Long value. - */ - Long.fromString = function (str, opt_radix) { - if (str.length == 0) { - throw Error('number format error: empty string'); - } - - var radix = opt_radix || 10; - if (radix < 2 || 36 < radix) { - throw Error('radix out of range: ' + radix); - } - - if (str.charAt(0) == '-') { - return Long.fromString(str.substring(1), radix).negate(); - } else if (str.indexOf('-') >= 0) { - throw Error('number format error: interior "-" character: ' + str); - } - - // Do several (8) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - var radixToPower = Long.fromNumber(Math.pow(radix, 8)); - - var result = Long.getZero(); - for (var i = 0; i < str.length; i += 8) { - var size = Math.min(8, str.length - i); - var value = parseInt(str.substring(i, i + size), radix); - if (size < 8) { - var power = Long.fromNumber(Math.pow(radix, size)); - result = result.multiply(power).add(Long.fromNumber(value)); - } else { - result = result.multiply(radixToPower); - result = result.add(Long.fromNumber(value)); - } - } - return result; - }; - - // NOTE: the compiler should inline these constant values below and then remove - // these variables, so there should be no runtime penalty for these. - - - /** - * Number used repeated below in calculations. This must appear before the - * first call to any from* function below. - * @type {number} - * @private - */ - Long.TWO_PWR_16_DBL_ = 1 << 16; - - /** - * @type {number} - * @private - */ - Long.TWO_PWR_32_DBL_ = Long.TWO_PWR_16_DBL_ * Long.TWO_PWR_16_DBL_; - - /** - * @type {number} - * @private - */ - Long.TWO_PWR_64_DBL_ = Long.TWO_PWR_32_DBL_ * Long.TWO_PWR_32_DBL_; - - /** - * @type {number} - * @private - */ - Long.TWO_PWR_63_DBL_ = Long.TWO_PWR_64_DBL_ / 2; - - /** - * @return {!Long} - * @public - */ - Long.getZero = function () { - return Long.fromInt(0); - }; - - /** - * @return {!Long} - * @public - */ - Long.getOne = function () { - return Long.fromInt(1); - }; - - /** - * @return {!Long} - * @public - */ - Long.getNegOne = function () { - return Long.fromInt(-1); - }; - - /** - * @return {!Long} - * @public - */ - Long.getMaxValue = function () { - return Long.fromBits(0xFFFFFFFF | 0, 0x7FFFFFFF | 0); - }; - - /** - * @return {!Long} - * @public - */ - Long.getMinValue = function () { - return Long.fromBits(0, 0x80000000 | 0); - }; - - /** - * @return {!Long} - * @public - */ - Long.getTwoPwr24 = function () { - return Long.fromInt(1 << 24); - }; - - /** @return {number} The value, assuming it is a 32-bit integer. */ - Long.prototype.toInt = function () { - return this.low_; - }; - - /** @return {number} The closest floating-point representation to this value. */ - Long.prototype.toNumber = function () { - return this.high_ * Long.TWO_PWR_32_DBL_ + this.getLowBitsUnsigned(); - }; - - /** - * @param {number=} opt_radix The radix in which the text should be written. - * @return {string} The textual representation of this value. - * @override - */ - Long.prototype.toString = function (opt_radix) { - var radix = opt_radix || 10; - if (radix < 2 || 36 < radix) { - throw Error('radix out of range: ' + radix); - } - - if (this.isZero()) { - return '0'; - } - - if (this.isNegative()) { - if (this.equals(Long.getMinValue())) { - // We need to change the Long value before it can be negated, so we remove - // the bottom-most digit in this base and then recurse to do the rest. - var radixLong = Long.fromNumber(radix); - var div = this.div(radixLong); - var rem = div.multiply(radixLong).subtract(this); - return div.toString(radix) + rem.toInt().toString(radix); - } else { - return '-' + this.negate().toString(radix); - } - } - - // Do several (6) digits each time through the loop, so as to - // minimize the calls to the very expensive emulated div. - var radixToPower = Long.fromNumber(Math.pow(radix, 6)); - - var rem = this; - var result = ''; - while (true) { - var remDiv = rem.div(radixToPower); - // The right shifting fixes negative values in the case when - // intval >= 2^31; for more details see - // https://github.com/google/closure-library/pull/498 - var intval = rem.subtract(remDiv.multiply(radixToPower)).toInt() >>> 0; - var digits = intval.toString(radix); - - rem = remDiv; - if (rem.isZero()) { - return digits + result; - } else { - while (digits.length < 6) { - digits = '0' + digits; - } - result = '' + digits + result; - } - } - }; - - /** @return {number} The high 32-bits as a signed value. */ - Long.prototype.getHighBits = function () { - return this.high_; - }; - - /** @return {number} The low 32-bits as a signed value. */ - Long.prototype.getLowBits = function () { - return this.low_; - }; - - /** @return {number} The low 32-bits as an unsigned value. */ - Long.prototype.getLowBitsUnsigned = function () { - return this.low_ >= 0 ? this.low_ : Long.TWO_PWR_32_DBL_ + this.low_; - }; - - /** - * @return {number} Returns the number of bits needed to represent the absolute - * value of this Long. - */ - Long.prototype.getNumBitsAbs = function () { - if (this.isNegative()) { - if (this.equals(Long.getMinValue())) { - return 64; - } else { - return this.negate().getNumBitsAbs(); - } - } else { - var val = this.high_ != 0 ? this.high_ : this.low_; - for (var bit = 31; bit > 0; bit--) { - if ((val & 1 << bit) != 0) { - break; - } - } - return this.high_ != 0 ? bit + 33 : bit + 1; - } - }; - - /** @return {boolean} Whether this value is zero. */ - Long.prototype.isZero = function () { - return this.high_ == 0 && this.low_ == 0; - }; - - /** @return {boolean} Whether this value is negative. */ - Long.prototype.isNegative = function () { - return this.high_ < 0; - }; - - /** @return {boolean} Whether this value is odd. */ - Long.prototype.isOdd = function () { - return (this.low_ & 1) == 1; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long equals the other. - */ - Long.prototype.equals = function (other) { - return this.high_ == other.high_ && this.low_ == other.low_; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long does not equal the other. - */ - Long.prototype.notEquals = function (other) { - return this.high_ != other.high_ || this.low_ != other.low_; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is less than the other. - */ - Long.prototype.lessThan = function (other) { - return this.compare(other) < 0; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is less than or equal to the other. - */ - Long.prototype.lessThanOrEqual = function (other) { - return this.compare(other) <= 0; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is greater than the other. - */ - Long.prototype.greaterThan = function (other) { - return this.compare(other) > 0; - }; - - /** - * @param {Long} other Long to compare against. - * @return {boolean} Whether this Long is greater than or equal to the other. - */ - Long.prototype.greaterThanOrEqual = function (other) { - return this.compare(other) >= 0; - }; - - /** - * Compares this Long with the given one. - * @param {Long} other Long to compare against. - * @return {number} 0 if they are the same, 1 if the this is greater, and -1 - * if the given one is greater. - */ - Long.prototype.compare = function (other) { - if (this.equals(other)) { - return 0; - } - - var thisNeg = this.isNegative(); - var otherNeg = other.isNegative(); - if (thisNeg && !otherNeg) { - return -1; - } - if (!thisNeg && otherNeg) { - return 1; - } - - // at this point, the signs are the same, so subtraction will not overflow - if (this.subtract(other).isNegative()) { - return -1; - } else { - return 1; - } - }; - - /** @return {!Long} The negation of this value. */ - Long.prototype.negate = function () { - if (this.equals(Long.getMinValue())) { - return Long.getMinValue(); - } else { - return this.not().add(Long.getOne()); - } - }; - - /** - * Returns the sum of this and the given Long. - * @param {Long} other Long to add to this one. - * @return {!Long} The sum of this and the given Long. - */ - Long.prototype.add = function (other) { - // Divide each number into 4 chunks of 16 bits, and then sum the chunks. - - var a48 = this.high_ >>> 16; - var a32 = this.high_ & 0xFFFF; - var a16 = this.low_ >>> 16; - var a00 = this.low_ & 0xFFFF; - - var b48 = other.high_ >>> 16; - var b32 = other.high_ & 0xFFFF; - var b16 = other.low_ >>> 16; - var b00 = other.low_ & 0xFFFF; - - var c48 = 0, - c32 = 0, - c16 = 0, - c00 = 0; - c00 += a00 + b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 + b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 + b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 + b48; - c48 &= 0xFFFF; - return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); - }; - - /** - * Returns the difference of this and the given Long. - * @param {Long} other Long to subtract from this. - * @return {!Long} The difference of this and the given Long. - */ - Long.prototype.subtract = function (other) { - return this.add(other.negate()); - }; - - /** - * Returns the product of this and the given long. - * @param {Long} other Long to multiply with this. - * @return {!Long} The product of this and the other. - */ - Long.prototype.multiply = function (other) { - if (this.isZero()) { - return Long.getZero(); - } else if (other.isZero()) { - return Long.getZero(); - } - - if (this.equals(Long.getMinValue())) { - return other.isOdd() ? Long.getMinValue() : Long.getZero(); - } else if (other.equals(Long.getMinValue())) { - return this.isOdd() ? Long.getMinValue() : Long.getZero(); - } - - if (this.isNegative()) { - if (other.isNegative()) { - return this.negate().multiply(other.negate()); - } else { - return this.negate().multiply(other).negate(); - } - } else if (other.isNegative()) { - return this.multiply(other.negate()).negate(); - } - - // If both longs are small, use float multiplication - if (this.lessThan(Long.getTwoPwr24()) && other.lessThan(Long.getTwoPwr24())) { - return Long.fromNumber(this.toNumber() * other.toNumber()); - } - - // Divide each long into 4 chunks of 16 bits, and then add up 4x4 products. - // We can skip products that would overflow. - - var a48 = this.high_ >>> 16; - var a32 = this.high_ & 0xFFFF; - var a16 = this.low_ >>> 16; - var a00 = this.low_ & 0xFFFF; - - var b48 = other.high_ >>> 16; - var b32 = other.high_ & 0xFFFF; - var b16 = other.low_ >>> 16; - var b00 = other.low_ & 0xFFFF; - - var c48 = 0, - c32 = 0, - c16 = 0, - c00 = 0; - c00 += a00 * b00; - c16 += c00 >>> 16; - c00 &= 0xFFFF; - c16 += a16 * b00; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c16 += a00 * b16; - c32 += c16 >>> 16; - c16 &= 0xFFFF; - c32 += a32 * b00; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a16 * b16; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c32 += a00 * b32; - c48 += c32 >>> 16; - c32 &= 0xFFFF; - c48 += a48 * b00 + a32 * b16 + a16 * b32 + a00 * b48; - c48 &= 0xFFFF; - return Long.fromBits(c16 << 16 | c00, c48 << 16 | c32); - }; - - /** - * Returns this Long divided by the given one. - * @param {Long} other Long by which to divide. - * @return {!Long} This Long divided by the given one. - */ - Long.prototype.div = function (other) { - if (other.isZero()) { - throw Error('division by zero'); - } else if (this.isZero()) { - return Long.getZero(); - } - - if (this.equals(Long.getMinValue())) { - if (other.equals(Long.getOne()) || other.equals(Long.getNegOne())) { - return Long.getMinValue(); // recall -MIN_VALUE == MIN_VALUE - } else if (other.equals(Long.getMinValue())) { - return Long.getOne(); - } else { - // At this point, we have |other| >= 2, so |this/other| < |MIN_VALUE|. - var halfThis = this.shiftRight(1); - var approx = halfThis.div(other).shiftLeft(1); - if (approx.equals(Long.getZero())) { - return other.isNegative() ? Long.getOne() : Long.getNegOne(); - } else { - var rem = this.subtract(other.multiply(approx)); - var result = approx.add(rem.div(other)); - return result; - } - } - } else if (other.equals(Long.getMinValue())) { - return Long.getZero(); - } - - if (this.isNegative()) { - if (other.isNegative()) { - return this.negate().div(other.negate()); - } else { - return this.negate().div(other).negate(); - } - } else if (other.isNegative()) { - return this.div(other.negate()).negate(); - } - - // Repeat the following until the remainder is less than other: find a - // floating-point that approximates remainder / other *from below*, add this - // into the result, and subtract it from the remainder. It is critical that - // the approximate value is less than or equal to the real value so that the - // remainder never becomes negative. - var res = Long.getZero(); - var rem = this; - while (rem.greaterThanOrEqual(other)) { - // Approximate the result of division. This may be a little greater or - // smaller than the actual value. - var approx = Math.max(1, Math.floor(rem.toNumber() / other.toNumber())); - - // We will tweak the approximate result by changing it in the 48-th digit or - // the smallest non-fractional digit, whichever is larger. - var log2 = Math.ceil(Math.log(approx) / Math.LN2); - var delta = log2 <= 48 ? 1 : Math.pow(2, log2 - 48); - - // Decrease the approximation until it is smaller than the remainder. Note - // that if it is too large, the product overflows and is negative. - var approxRes = Long.fromNumber(approx); - var approxRem = approxRes.multiply(other); - while (approxRem.isNegative() || approxRem.greaterThan(rem)) { - approx -= delta; - approxRes = Long.fromNumber(approx); - approxRem = approxRes.multiply(other); - } - - // We know the answer can't be zero... and actually, zero would cause - // infinite recursion since we would make no progress. - if (approxRes.isZero()) { - approxRes = Long.getOne(); - } - - res = res.add(approxRes); - rem = rem.subtract(approxRem); - } - return res; - }; - - /** - * Returns this Long modulo the given one. - * @param {Long} other Long by which to mod. - * @return {!Long} This Long modulo the given one. - */ - Long.prototype.modulo = function (other) { - return this.subtract(this.div(other).multiply(other)); - }; - - /** @return {!Long} The bitwise-NOT of this value. */ - Long.prototype.not = function () { - return Long.fromBits(~this.low_, ~this.high_); - }; - - /** - * Returns the bitwise-AND of this Long and the given one. - * @param {Long} other The Long with which to AND. - * @return {!Long} The bitwise-AND of this and the other. - */ - Long.prototype.and = function (other) { - return Long.fromBits(this.low_ & other.low_, this.high_ & other.high_); - }; - - /** - * Returns the bitwise-OR of this Long and the given one. - * @param {Long} other The Long with which to OR. - * @return {!Long} The bitwise-OR of this and the other. - */ - Long.prototype.or = function (other) { - return Long.fromBits(this.low_ | other.low_, this.high_ | other.high_); - }; - - /** - * Returns the bitwise-XOR of this Long and the given one. - * @param {Long} other The Long with which to XOR. - * @return {!Long} The bitwise-XOR of this and the other. - */ - Long.prototype.xor = function (other) { - return Long.fromBits(this.low_ ^ other.low_, this.high_ ^ other.high_); - }; - - /** - * Returns this Long with bits shifted to the left by the given amount. - * @param {number} numBits The number of bits by which to shift. - * @return {!Long} This shifted to the left by the given amount. - */ - Long.prototype.shiftLeft = function (numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var low = this.low_; - if (numBits < 32) { - var high = this.high_; - return Long.fromBits(low << numBits, high << numBits | low >>> 32 - numBits); - } else { - return Long.fromBits(0, low << numBits - 32); - } - } - }; - - /** - * Returns this Long with bits shifted to the right by the given amount. - * The new leading bits match the current sign bit. - * @param {number} numBits The number of bits by which to shift. - * @return {!Long} This shifted to the right by the given amount. - */ - Long.prototype.shiftRight = function (numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var high = this.high_; - if (numBits < 32) { - var low = this.low_; - return Long.fromBits(low >>> numBits | high << 32 - numBits, high >> numBits); - } else { - return Long.fromBits(high >> numBits - 32, high >= 0 ? 0 : -1); - } - } - }; - - /** - * Returns this Long with bits shifted to the right by the given amount, with - * zeros placed into the new leading bits. - * @param {number} numBits The number of bits by which to shift. - * @return {!Long} This shifted to the right by the given amount, with - * zeros placed into the new leading bits. - */ - Long.prototype.shiftRightUnsigned = function (numBits) { - numBits &= 63; - if (numBits == 0) { - return this; - } else { - var high = this.high_; - if (numBits < 32) { - var low = this.low_; - return Long.fromBits(low >>> numBits | high << 32 - numBits, high >>> numBits); - } else if (numBits == 32) { - return Long.fromBits(high, 0); - } else { - return Long.fromBits(high >>> numBits - 32, 0); - } - } - }; - - /** - * @enum {number} Ids of commonly requested Long instances. - * @private - */ - Long.ValueCacheId_ = { - MAX_VALUE: 1, - MIN_VALUE: 2, - ZERO: 3, - ONE: 4, - NEG_ONE: 5, - TWO_PWR_24: 6 - }; - - exports.default = Long; - - },{}],3:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - var MAX_U32 = Math.pow(2, 32); - - exports.default = MAX_U32; - - },{}],4:[function(require,module,exports){ - - /* - **Francois**: - Based on an implementation that's based on further implementations, most significant - change is removing the use of Buffers and ArrayBuffers. Original implementation was forked - here (hopefully the original repo still exists, to play it safe I've forked it) - https://github.com/francoislaberge/node-skip32 - - ** Original Comments in skip32.js's implementation ** - Skip32PureJS.js - public domain javascript implementation of: - - SKIP32 -- 32 bit block cipher based on SKIPJACK. - Written by Greg Rose, QUALCOMM Australia, 1999/04/27. - - In common: F-table, G-permutation, key schedule. - Different: 24 round feistel structure. - Based on: Unoptimized test implementation of SKIPJACK algorithm - Panu Rissanen - - SKIPJACK and KEA Algorithm Specifications - Version 2.0 - 29 May 1998 - - Not copyright, no rights reserved. - */ - function Skip32() { - // Francois: I have modified the code to have a hardcoded key. values - // were taken from the example code in the node-skip32 project: - // https://github.com/0x4139/node-skip32#example - this.key = [0x9b, 0x21, 0x96, 0xe, 0x1a, 0xcf, 0x24, 0x5f, 0x14, 0x93]; - } - Skip32.prototype.init = function () {}; - - // Francois: I have modified the code to remove the use of Buffers and ArrayBuffers - // so that the code is more portable to other browsers and environments - var ftable = [0xa3, 0xd7, 0x09, 0x83, 0xf8, 0x48, 0xf6, 0xf4, 0xb3, 0x21, 0x15, 0x78, 0x99, 0xb1, 0xaf, 0xf9, 0xe7, 0x2d, 0x4d, 0x8a, 0xce, 0x4c, 0xca, 0x2e, 0x52, 0x95, 0xd9, 0x1e, 0x4e, 0x38, 0x44, 0x28, 0x0a, 0xdf, 0x02, 0xa0, 0x17, 0xf1, 0x60, 0x68, 0x12, 0xb7, 0x7a, 0xc3, 0xe9, 0xfa, 0x3d, 0x53, 0x96, 0x84, 0x6b, 0xba, 0xf2, 0x63, 0x9a, 0x19, 0x7c, 0xae, 0xe5, 0xf5, 0xf7, 0x16, 0x6a, 0xa2, 0x39, 0xb6, 0x7b, 0x0f, 0xc1, 0x93, 0x81, 0x1b, 0xee, 0xb4, 0x1a, 0xea, 0xd0, 0x91, 0x2f, 0xb8, 0x55, 0xb9, 0xda, 0x85, 0x3f, 0x41, 0xbf, 0xe0, 0x5a, 0x58, 0x80, 0x5f, 0x66, 0x0b, 0xd8, 0x90, 0x35, 0xd5, 0xc0, 0xa7, 0x33, 0x06, 0x65, 0x69, 0x45, 0x00, 0x94, 0x56, 0x6d, 0x98, 0x9b, 0x76, 0x97, 0xfc, 0xb2, 0xc2, 0xb0, 0xfe, 0xdb, 0x20, 0xe1, 0xeb, 0xd6, 0xe4, 0xdd, 0x47, 0x4a, 0x1d, 0x42, 0xed, 0x9e, 0x6e, 0x49, 0x3c, 0xcd, 0x43, 0x27, 0xd2, 0x07, 0xd4, 0xde, 0xc7, 0x67, 0x18, 0x89, 0xcb, 0x30, 0x1f, 0x8d, 0xc6, 0x8f, 0xaa, 0xc8, 0x74, 0xdc, 0xc9, 0x5d, 0x5c, 0x31, 0xa4, 0x70, 0x88, 0x61, 0x2c, 0x9f, 0x0d, 0x2b, 0x87, 0x50, 0x82, 0x54, 0x64, 0x26, 0x7d, 0x03, 0x40, 0x34, 0x4b, 0x1c, 0x73, 0xd1, 0xc4, 0xfd, 0x3b, 0xcc, 0xfb, 0x7f, 0xab, 0xe6, 0x3e, 0x5b, 0xa5, 0xad, 0x04, 0x23, 0x9c, 0x14, 0x51, 0x22, 0xf0, 0x29, 0x79, 0x71, 0x7e, 0xff, 0x8c, 0x0e, 0xe2, 0x0c, 0xef, 0xbc, 0x72, 0x75, 0x6f, 0x37, 0xa1, 0xec, 0xd3, 0x8e, 0x62, 0x8b, 0x86, 0x10, 0xe8, 0x08, 0x77, 0x11, 0xbe, 0x92, 0x4f, 0x24, 0xc5, 0x32, 0x36, 0x9d, 0xcf, 0xf3, 0xa6, 0xbb, 0xac, 0x5e, 0x6c, 0xa9, 0x13, 0x57, 0x25, 0xb5, 0xe3, 0xbd, 0xa8, 0x3a, 0x01, 0x05, 0x59, 0x2a, 0x46]; - - Skip32.prototype.round16 = function (k, n) { - var g1, g2, g3, g4, g5, g6; - g1 = n >> 8 & 0xff; - g2 = n >> 0 & 0xff; - g3 = ftable[g2 ^ this.key[(4 * k + 0) % 10]] ^ g1; - g4 = ftable[g3 ^ this.key[(4 * k + 1) % 10]] ^ g2; - g5 = ftable[g4 ^ this.key[(4 * k + 2) % 10]] ^ g3; - g6 = ftable[g5 ^ this.key[(4 * k + 3) % 10]] ^ g4; - return (g5 << 8) + g6; - }; - - Skip32.prototype.core = function (n, k, d) { - var i, k, wl, wr; - wl = ((n >> 24 & 0xff) << 8) + ((n >> 16 & 0xff) << 0); - wr = ((n >> 8 & 0xff) << 8) + ((n >> 0 & 0xff) << 0); - for (i = 0; i < 24 / 2; i++) { - wr ^= this.round16(k, wl) ^ k; - k += d; - wl ^= this.round16(k, wr) ^ k; - k += d; - } - return (wr << 16 | wl) >>> 0; - }; - - Skip32.prototype.encrypt = function (n) { - return this.core(n, 0, 1); - }; - - Skip32.prototype.decrypt = function (n) { - return this.core(n, 23, -1); - }; - - module.exports.Skip32 = Skip32; - - },{}],5:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - - var _Generator = require('./Generator'); - - var _Generator2 = _interopRequireDefault(_Generator); - - var _scrambler = require('./scrambler'); - - var _MaxU = require('./MaxU32'); - - var _MaxU2 = _interopRequireDefault(_MaxU); - - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - - var arbitrary = { - MAX_U32: _MaxU2.default, - Generator: _Generator2.default, - scramble: _scrambler.scramble, - descramble: _scrambler.descramble - }; - - exports.default = arbitrary; - - },{"./Generator":1,"./MaxU32":3,"./scrambler":6}],6:[function(require,module,exports){ - - Object.defineProperty(exports, "__esModule", { - value: true - }); - exports.scramble = scramble; - exports.descramble = descramble; - var Skip32 = require('./Skip32PureJS').Skip32; - var cypher = new Skip32(); - - /* - * Takes a unsigned 32 bit integer and returns an unsigned 32 bit integer - * with it's bits scrambled. - * - * Ideal for taking a series of incrementing numbers and creating a pseudo random version. - * Is reversible via calling descramble() on a scrambled number. - */ - function scramble(number) { - return cypher.encrypt(number); - } - - /* - * Takes a scrambled unsigned 32 bit integer and returns the unscrambled unsigned 32 bit - * integer version. - * - * Ideal for taking a series of incrementing numbers and creating a pseudo random version. - * Use this to figure out the original number crated from calls to scramble() - */ - function descramble(scrambledNumber) { - return cypher.decrypt(scrambledNumber); - } - - },{"./Skip32PureJS":4}]},{},[5])(5) - }); - - -} (dist)); - -var bn = {exports: {}}; - -(function (module) { - (function (module, exports) { - - // Utils - function assert (val, msg) { - if (!val) throw new Error(msg || 'Assertion failed'); - } - - // Could use `inherits` module, but don't want to move from single file - // architecture yet. - function inherits (ctor, superCtor) { - ctor.super_ = superCtor; - var TempCtor = function () {}; - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - } - - // BN - - function BN (number, base, endian) { - if (BN.isBN(number)) { - return number; - } - - this.negative = 0; - this.words = null; - this.length = 0; - - // Reduction context - this.red = null; - - if (number !== null) { - if (base === 'le' || base === 'be') { - endian = base; - base = 10; - } - - this._init(number || 0, base || 10, endian || 'be'); - } - } - if (typeof module === 'object') { - module.exports = BN; - } else { - exports.BN = BN; - } - - BN.BN = BN; - BN.wordSize = 26; - - var Buffer; - try { - if (typeof window !== 'undefined' && typeof window.Buffer !== 'undefined') { - Buffer = window.Buffer; - } else { - Buffer = require('buffer').Buffer; - } - } catch (e) { - } - - BN.isBN = function isBN (num) { - if (num instanceof BN) { - return true; - } - - return num !== null && typeof num === 'object' && - num.constructor.wordSize === BN.wordSize && Array.isArray(num.words); - }; - - BN.max = function max (left, right) { - if (left.cmp(right) > 0) return left; - return right; - }; - - BN.min = function min (left, right) { - if (left.cmp(right) < 0) return left; - return right; - }; - - BN.prototype._init = function init (number, base, endian) { - if (typeof number === 'number') { - return this._initNumber(number, base, endian); - } - - if (typeof number === 'object') { - return this._initArray(number, base, endian); - } - - if (base === 'hex') { - base = 16; - } - assert(base === (base | 0) && base >= 2 && base <= 36); - - number = number.toString().replace(/\s+/g, ''); - var start = 0; - if (number[0] === '-') { - start++; - this.negative = 1; - } - - if (start < number.length) { - if (base === 16) { - this._parseHex(number, start, endian); - } else { - this._parseBase(number, base, start); - if (endian === 'le') { - this._initArray(this.toArray(), base, endian); - } - } - } - }; - - BN.prototype._initNumber = function _initNumber (number, base, endian) { - if (number < 0) { - this.negative = 1; - number = -number; - } - if (number < 0x4000000) { - this.words = [ number & 0x3ffffff ]; - this.length = 1; - } else if (number < 0x10000000000000) { - this.words = [ - number & 0x3ffffff, - (number / 0x4000000) & 0x3ffffff - ]; - this.length = 2; - } else { - assert(number < 0x20000000000000); // 2 ^ 53 (unsafe) - this.words = [ - number & 0x3ffffff, - (number / 0x4000000) & 0x3ffffff, - 1 - ]; - this.length = 3; - } - - if (endian !== 'le') return; - - // Reverse the bytes - this._initArray(this.toArray(), base, endian); - }; - - BN.prototype._initArray = function _initArray (number, base, endian) { - // Perhaps a Uint8Array - assert(typeof number.length === 'number'); - if (number.length <= 0) { - this.words = [ 0 ]; - this.length = 1; - return this; - } - - this.length = Math.ceil(number.length / 3); - this.words = new Array(this.length); - for (var i = 0; i < this.length; i++) { - this.words[i] = 0; - } - - var j, w; - var off = 0; - if (endian === 'be') { - for (i = number.length - 1, j = 0; i >= 0; i -= 3) { - w = number[i] | (number[i - 1] << 8) | (number[i - 2] << 16); - this.words[j] |= (w << off) & 0x3ffffff; - this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; - off += 24; - if (off >= 26) { - off -= 26; - j++; - } - } - } else if (endian === 'le') { - for (i = 0, j = 0; i < number.length; i += 3) { - w = number[i] | (number[i + 1] << 8) | (number[i + 2] << 16); - this.words[j] |= (w << off) & 0x3ffffff; - this.words[j + 1] = (w >>> (26 - off)) & 0x3ffffff; - off += 24; - if (off >= 26) { - off -= 26; - j++; - } - } - } - return this.strip(); - }; - - function parseHex4Bits (string, index) { - var c = string.charCodeAt(index); - // 'A' - 'F' - if (c >= 65 && c <= 70) { - return c - 55; - // 'a' - 'f' - } else if (c >= 97 && c <= 102) { - return c - 87; - // '0' - '9' - } else { - return (c - 48) & 0xf; - } - } - - function parseHexByte (string, lowerBound, index) { - var r = parseHex4Bits(string, index); - if (index - 1 >= lowerBound) { - r |= parseHex4Bits(string, index - 1) << 4; - } - return r; - } - - BN.prototype._parseHex = function _parseHex (number, start, endian) { - // Create possibly bigger array to ensure that it fits the number - this.length = Math.ceil((number.length - start) / 6); - this.words = new Array(this.length); - for (var i = 0; i < this.length; i++) { - this.words[i] = 0; - } - - // 24-bits chunks - var off = 0; - var j = 0; - - var w; - if (endian === 'be') { - for (i = number.length - 1; i >= start; i -= 2) { - w = parseHexByte(number, start, i) << off; - this.words[j] |= w & 0x3ffffff; - if (off >= 18) { - off -= 18; - j += 1; - this.words[j] |= w >>> 26; - } else { - off += 8; - } - } - } else { - var parseLength = number.length - start; - for (i = parseLength % 2 === 0 ? start + 1 : start; i < number.length; i += 2) { - w = parseHexByte(number, start, i) << off; - this.words[j] |= w & 0x3ffffff; - if (off >= 18) { - off -= 18; - j += 1; - this.words[j] |= w >>> 26; - } else { - off += 8; - } - } - } - - this.strip(); - }; - - function parseBase (str, start, end, mul) { - var r = 0; - var len = Math.min(str.length, end); - for (var i = start; i < len; i++) { - var c = str.charCodeAt(i) - 48; - - r *= mul; - - // 'a' - if (c >= 49) { - r += c - 49 + 0xa; - - // 'A' - } else if (c >= 17) { - r += c - 17 + 0xa; - - // '0' - '9' - } else { - r += c; - } - } - return r; - } - - BN.prototype._parseBase = function _parseBase (number, base, start) { - // Initialize as zero - this.words = [ 0 ]; - this.length = 1; - - // Find length of limb in base - for (var limbLen = 0, limbPow = 1; limbPow <= 0x3ffffff; limbPow *= base) { - limbLen++; - } - limbLen--; - limbPow = (limbPow / base) | 0; - - var total = number.length - start; - var mod = total % limbLen; - var end = Math.min(total, total - mod) + start; - - var word = 0; - for (var i = start; i < end; i += limbLen) { - word = parseBase(number, i, i + limbLen, base); - - this.imuln(limbPow); - if (this.words[0] + word < 0x4000000) { - this.words[0] += word; - } else { - this._iaddn(word); - } - } - - if (mod !== 0) { - var pow = 1; - word = parseBase(number, i, number.length, base); - - for (i = 0; i < mod; i++) { - pow *= base; - } - - this.imuln(pow); - if (this.words[0] + word < 0x4000000) { - this.words[0] += word; - } else { - this._iaddn(word); - } - } - - this.strip(); - }; - - BN.prototype.copy = function copy (dest) { - dest.words = new Array(this.length); - for (var i = 0; i < this.length; i++) { - dest.words[i] = this.words[i]; - } - dest.length = this.length; - dest.negative = this.negative; - dest.red = this.red; - }; - - BN.prototype.clone = function clone () { - var r = new BN(null); - this.copy(r); - return r; - }; - - BN.prototype._expand = function _expand (size) { - while (this.length < size) { - this.words[this.length++] = 0; - } - return this; - }; - - // Remove leading `0` from `this` - BN.prototype.strip = function strip () { - while (this.length > 1 && this.words[this.length - 1] === 0) { - this.length--; - } - return this._normSign(); - }; - - BN.prototype._normSign = function _normSign () { - // -0 = 0 - if (this.length === 1 && this.words[0] === 0) { - this.negative = 0; - } - return this; - }; - - BN.prototype.inspect = function inspect () { - return (this.red ? ''; - }; - - /* - - var zeros = []; - var groupSizes = []; - var groupBases = []; - - var s = ''; - var i = -1; - while (++i < BN.wordSize) { - zeros[i] = s; - s += '0'; - } - groupSizes[0] = 0; - groupSizes[1] = 0; - groupBases[0] = 0; - groupBases[1] = 0; - var base = 2 - 1; - while (++base < 36 + 1) { - var groupSize = 0; - var groupBase = 1; - while (groupBase < (1 << BN.wordSize) / base) { - groupBase *= base; - groupSize += 1; - } - groupSizes[base] = groupSize; - groupBases[base] = groupBase; - } - - */ - - var zeros = [ - '', - '0', - '00', - '000', - '0000', - '00000', - '000000', - '0000000', - '00000000', - '000000000', - '0000000000', - '00000000000', - '000000000000', - '0000000000000', - '00000000000000', - '000000000000000', - '0000000000000000', - '00000000000000000', - '000000000000000000', - '0000000000000000000', - '00000000000000000000', - '000000000000000000000', - '0000000000000000000000', - '00000000000000000000000', - '000000000000000000000000', - '0000000000000000000000000' - ]; - - var groupSizes = [ - 0, 0, - 25, 16, 12, 11, 10, 9, 8, - 8, 7, 7, 7, 7, 6, 6, - 6, 6, 6, 6, 6, 5, 5, - 5, 5, 5, 5, 5, 5, 5, - 5, 5, 5, 5, 5, 5, 5 - ]; - - var groupBases = [ - 0, 0, - 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, - 43046721, 10000000, 19487171, 35831808, 62748517, 7529536, 11390625, - 16777216, 24137569, 34012224, 47045881, 64000000, 4084101, 5153632, - 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, - 24300000, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176 - ]; - - BN.prototype.toString = function toString (base, padding) { - base = base || 10; - padding = padding | 0 || 1; - - var out; - if (base === 16 || base === 'hex') { - out = ''; - var off = 0; - var carry = 0; - for (var i = 0; i < this.length; i++) { - var w = this.words[i]; - var word = (((w << off) | carry) & 0xffffff).toString(16); - carry = (w >>> (24 - off)) & 0xffffff; - if (carry !== 0 || i !== this.length - 1) { - out = zeros[6 - word.length] + word + out; - } else { - out = word + out; - } - off += 2; - if (off >= 26) { - off -= 26; - i--; - } - } - if (carry !== 0) { - out = carry.toString(16) + out; - } - while (out.length % padding !== 0) { - out = '0' + out; - } - if (this.negative !== 0) { - out = '-' + out; - } - return out; - } - - if (base === (base | 0) && base >= 2 && base <= 36) { - // var groupSize = Math.floor(BN.wordSize * Math.LN2 / Math.log(base)); - var groupSize = groupSizes[base]; - // var groupBase = Math.pow(base, groupSize); - var groupBase = groupBases[base]; - out = ''; - var c = this.clone(); - c.negative = 0; - while (!c.isZero()) { - var r = c.modn(groupBase).toString(base); - c = c.idivn(groupBase); - - if (!c.isZero()) { - out = zeros[groupSize - r.length] + r + out; - } else { - out = r + out; - } - } - if (this.isZero()) { - out = '0' + out; - } - while (out.length % padding !== 0) { - out = '0' + out; - } - if (this.negative !== 0) { - out = '-' + out; - } - return out; - } - - assert(false, 'Base should be between 2 and 36'); - }; - - BN.prototype.toNumber = function toNumber () { - var ret = this.words[0]; - if (this.length === 2) { - ret += this.words[1] * 0x4000000; - } else if (this.length === 3 && this.words[2] === 0x01) { - // NOTE: at this stage it is known that the top bit is set - ret += 0x10000000000000 + (this.words[1] * 0x4000000); - } else if (this.length > 2) { - assert(false, 'Number can only safely store up to 53 bits'); - } - return (this.negative !== 0) ? -ret : ret; - }; - - BN.prototype.toJSON = function toJSON () { - return this.toString(16); - }; - - BN.prototype.toBuffer = function toBuffer (endian, length) { - assert(typeof Buffer !== 'undefined'); - return this.toArrayLike(Buffer, endian, length); - }; - - BN.prototype.toArray = function toArray (endian, length) { - return this.toArrayLike(Array, endian, length); - }; - - BN.prototype.toArrayLike = function toArrayLike (ArrayType, endian, length) { - var byteLength = this.byteLength(); - var reqLength = length || Math.max(1, byteLength); - assert(byteLength <= reqLength, 'byte array longer than desired length'); - assert(reqLength > 0, 'Requested array length <= 0'); - - this.strip(); - var littleEndian = endian === 'le'; - var res = new ArrayType(reqLength); - - var b, i; - var q = this.clone(); - if (!littleEndian) { - // Assume big-endian - for (i = 0; i < reqLength - byteLength; i++) { - res[i] = 0; - } - - for (i = 0; !q.isZero(); i++) { - b = q.andln(0xff); - q.iushrn(8); - - res[reqLength - i - 1] = b; - } - } else { - for (i = 0; !q.isZero(); i++) { - b = q.andln(0xff); - q.iushrn(8); - - res[i] = b; - } - - for (; i < reqLength; i++) { - res[i] = 0; - } - } - - return res; - }; - - if (Math.clz32) { - BN.prototype._countBits = function _countBits (w) { - return 32 - Math.clz32(w); - }; - } else { - BN.prototype._countBits = function _countBits (w) { - var t = w; - var r = 0; - if (t >= 0x1000) { - r += 13; - t >>>= 13; - } - if (t >= 0x40) { - r += 7; - t >>>= 7; - } - if (t >= 0x8) { - r += 4; - t >>>= 4; - } - if (t >= 0x02) { - r += 2; - t >>>= 2; - } - return r + t; - }; - } - - BN.prototype._zeroBits = function _zeroBits (w) { - // Short-cut - if (w === 0) return 26; - - var t = w; - var r = 0; - if ((t & 0x1fff) === 0) { - r += 13; - t >>>= 13; - } - if ((t & 0x7f) === 0) { - r += 7; - t >>>= 7; - } - if ((t & 0xf) === 0) { - r += 4; - t >>>= 4; - } - if ((t & 0x3) === 0) { - r += 2; - t >>>= 2; - } - if ((t & 0x1) === 0) { - r++; - } - return r; - }; - - // Return number of used bits in a BN - BN.prototype.bitLength = function bitLength () { - var w = this.words[this.length - 1]; - var hi = this._countBits(w); - return (this.length - 1) * 26 + hi; - }; - - function toBitArray (num) { - var w = new Array(num.bitLength()); - - for (var bit = 0; bit < w.length; bit++) { - var off = (bit / 26) | 0; - var wbit = bit % 26; - - w[bit] = (num.words[off] & (1 << wbit)) >>> wbit; - } - - return w; - } - - // Number of trailing zero bits - BN.prototype.zeroBits = function zeroBits () { - if (this.isZero()) return 0; - - var r = 0; - for (var i = 0; i < this.length; i++) { - var b = this._zeroBits(this.words[i]); - r += b; - if (b !== 26) break; - } - return r; - }; - - BN.prototype.byteLength = function byteLength () { - return Math.ceil(this.bitLength() / 8); - }; - - BN.prototype.toTwos = function toTwos (width) { - if (this.negative !== 0) { - return this.abs().inotn(width).iaddn(1); - } - return this.clone(); - }; - - BN.prototype.fromTwos = function fromTwos (width) { - if (this.testn(width - 1)) { - return this.notn(width).iaddn(1).ineg(); - } - return this.clone(); - }; - - BN.prototype.isNeg = function isNeg () { - return this.negative !== 0; - }; - - // Return negative clone of `this` - BN.prototype.neg = function neg () { - return this.clone().ineg(); - }; - - BN.prototype.ineg = function ineg () { - if (!this.isZero()) { - this.negative ^= 1; - } - - return this; - }; - - // Or `num` with `this` in-place - BN.prototype.iuor = function iuor (num) { - while (this.length < num.length) { - this.words[this.length++] = 0; - } - - for (var i = 0; i < num.length; i++) { - this.words[i] = this.words[i] | num.words[i]; - } - - return this.strip(); - }; - - BN.prototype.ior = function ior (num) { - assert((this.negative | num.negative) === 0); - return this.iuor(num); - }; - - // Or `num` with `this` - BN.prototype.or = function or (num) { - if (this.length > num.length) return this.clone().ior(num); - return num.clone().ior(this); - }; - - BN.prototype.uor = function uor (num) { - if (this.length > num.length) return this.clone().iuor(num); - return num.clone().iuor(this); - }; - - // And `num` with `this` in-place - BN.prototype.iuand = function iuand (num) { - // b = min-length(num, this) - var b; - if (this.length > num.length) { - b = num; - } else { - b = this; - } - - for (var i = 0; i < b.length; i++) { - this.words[i] = this.words[i] & num.words[i]; - } - - this.length = b.length; - - return this.strip(); - }; - - BN.prototype.iand = function iand (num) { - assert((this.negative | num.negative) === 0); - return this.iuand(num); - }; - - // And `num` with `this` - BN.prototype.and = function and (num) { - if (this.length > num.length) return this.clone().iand(num); - return num.clone().iand(this); - }; - - BN.prototype.uand = function uand (num) { - if (this.length > num.length) return this.clone().iuand(num); - return num.clone().iuand(this); - }; - - // Xor `num` with `this` in-place - BN.prototype.iuxor = function iuxor (num) { - // a.length > b.length - var a; - var b; - if (this.length > num.length) { - a = this; - b = num; - } else { - a = num; - b = this; - } - - for (var i = 0; i < b.length; i++) { - this.words[i] = a.words[i] ^ b.words[i]; - } - - if (this !== a) { - for (; i < a.length; i++) { - this.words[i] = a.words[i]; - } - } - - this.length = a.length; - - return this.strip(); - }; - - BN.prototype.ixor = function ixor (num) { - assert((this.negative | num.negative) === 0); - return this.iuxor(num); - }; - - // Xor `num` with `this` - BN.prototype.xor = function xor (num) { - if (this.length > num.length) return this.clone().ixor(num); - return num.clone().ixor(this); - }; - - BN.prototype.uxor = function uxor (num) { - if (this.length > num.length) return this.clone().iuxor(num); - return num.clone().iuxor(this); - }; - - // Not ``this`` with ``width`` bitwidth - BN.prototype.inotn = function inotn (width) { - assert(typeof width === 'number' && width >= 0); - - var bytesNeeded = Math.ceil(width / 26) | 0; - var bitsLeft = width % 26; - - // Extend the buffer with leading zeroes - this._expand(bytesNeeded); - - if (bitsLeft > 0) { - bytesNeeded--; - } - - // Handle complete words - for (var i = 0; i < bytesNeeded; i++) { - this.words[i] = ~this.words[i] & 0x3ffffff; - } - - // Handle the residue - if (bitsLeft > 0) { - this.words[i] = ~this.words[i] & (0x3ffffff >> (26 - bitsLeft)); - } - - // And remove leading zeroes - return this.strip(); - }; - - BN.prototype.notn = function notn (width) { - return this.clone().inotn(width); - }; - - // Set `bit` of `this` - BN.prototype.setn = function setn (bit, val) { - assert(typeof bit === 'number' && bit >= 0); - - var off = (bit / 26) | 0; - var wbit = bit % 26; - - this._expand(off + 1); - - if (val) { - this.words[off] = this.words[off] | (1 << wbit); - } else { - this.words[off] = this.words[off] & ~(1 << wbit); - } - - return this.strip(); - }; - - // Add `num` to `this` in-place - BN.prototype.iadd = function iadd (num) { - var r; - - // negative + positive - if (this.negative !== 0 && num.negative === 0) { - this.negative = 0; - r = this.isub(num); - this.negative ^= 1; - return this._normSign(); - - // positive + negative - } else if (this.negative === 0 && num.negative !== 0) { - num.negative = 0; - r = this.isub(num); - num.negative = 1; - return r._normSign(); - } - - // a.length > b.length - var a, b; - if (this.length > num.length) { - a = this; - b = num; - } else { - a = num; - b = this; - } - - var carry = 0; - for (var i = 0; i < b.length; i++) { - r = (a.words[i] | 0) + (b.words[i] | 0) + carry; - this.words[i] = r & 0x3ffffff; - carry = r >>> 26; - } - for (; carry !== 0 && i < a.length; i++) { - r = (a.words[i] | 0) + carry; - this.words[i] = r & 0x3ffffff; - carry = r >>> 26; - } - - this.length = a.length; - if (carry !== 0) { - this.words[this.length] = carry; - this.length++; - // Copy the rest of the words - } else if (a !== this) { - for (; i < a.length; i++) { - this.words[i] = a.words[i]; - } - } - - return this; - }; - - // Add `num` to `this` - BN.prototype.add = function add (num) { - var res; - if (num.negative !== 0 && this.negative === 0) { - num.negative = 0; - res = this.sub(num); - num.negative ^= 1; - return res; - } else if (num.negative === 0 && this.negative !== 0) { - this.negative = 0; - res = num.sub(this); - this.negative = 1; - return res; - } - - if (this.length > num.length) return this.clone().iadd(num); - - return num.clone().iadd(this); - }; - - // Subtract `num` from `this` in-place - BN.prototype.isub = function isub (num) { - // this - (-num) = this + num - if (num.negative !== 0) { - num.negative = 0; - var r = this.iadd(num); - num.negative = 1; - return r._normSign(); - - // -this - num = -(this + num) - } else if (this.negative !== 0) { - this.negative = 0; - this.iadd(num); - this.negative = 1; - return this._normSign(); - } - - // At this point both numbers are positive - var cmp = this.cmp(num); - - // Optimization - zeroify - if (cmp === 0) { - this.negative = 0; - this.length = 1; - this.words[0] = 0; - return this; - } - - // a > b - var a, b; - if (cmp > 0) { - a = this; - b = num; - } else { - a = num; - b = this; - } - - var carry = 0; - for (var i = 0; i < b.length; i++) { - r = (a.words[i] | 0) - (b.words[i] | 0) + carry; - carry = r >> 26; - this.words[i] = r & 0x3ffffff; - } - for (; carry !== 0 && i < a.length; i++) { - r = (a.words[i] | 0) + carry; - carry = r >> 26; - this.words[i] = r & 0x3ffffff; - } - - // Copy rest of the words - if (carry === 0 && i < a.length && a !== this) { - for (; i < a.length; i++) { - this.words[i] = a.words[i]; - } - } - - this.length = Math.max(this.length, i); - - if (a !== this) { - this.negative = 1; - } - - return this.strip(); - }; - - // Subtract `num` from `this` - BN.prototype.sub = function sub (num) { - return this.clone().isub(num); - }; - - function smallMulTo (self, num, out) { - out.negative = num.negative ^ self.negative; - var len = (self.length + num.length) | 0; - out.length = len; - len = (len - 1) | 0; - - // Peel one iteration (compiler can't do it, because of code complexity) - var a = self.words[0] | 0; - var b = num.words[0] | 0; - var r = a * b; - - var lo = r & 0x3ffffff; - var carry = (r / 0x4000000) | 0; - out.words[0] = lo; - - for (var k = 1; k < len; k++) { - // Sum all words with the same `i + j = k` and accumulate `ncarry`, - // note that ncarry could be >= 0x3ffffff - var ncarry = carry >>> 26; - var rword = carry & 0x3ffffff; - var maxJ = Math.min(k, num.length - 1); - for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { - var i = (k - j) | 0; - a = self.words[i] | 0; - b = num.words[j] | 0; - r = a * b + rword; - ncarry += (r / 0x4000000) | 0; - rword = r & 0x3ffffff; - } - out.words[k] = rword | 0; - carry = ncarry | 0; - } - if (carry !== 0) { - out.words[k] = carry | 0; - } else { - out.length--; - } - - return out.strip(); - } - - // TODO(indutny): it may be reasonable to omit it for users who don't need - // to work with 256-bit numbers, otherwise it gives 20% improvement for 256-bit - // multiplication (like elliptic secp256k1). - var comb10MulTo = function comb10MulTo (self, num, out) { - var a = self.words; - var b = num.words; - var o = out.words; - var c = 0; - var lo; - var mid; - var hi; - var a0 = a[0] | 0; - var al0 = a0 & 0x1fff; - var ah0 = a0 >>> 13; - var a1 = a[1] | 0; - var al1 = a1 & 0x1fff; - var ah1 = a1 >>> 13; - var a2 = a[2] | 0; - var al2 = a2 & 0x1fff; - var ah2 = a2 >>> 13; - var a3 = a[3] | 0; - var al3 = a3 & 0x1fff; - var ah3 = a3 >>> 13; - var a4 = a[4] | 0; - var al4 = a4 & 0x1fff; - var ah4 = a4 >>> 13; - var a5 = a[5] | 0; - var al5 = a5 & 0x1fff; - var ah5 = a5 >>> 13; - var a6 = a[6] | 0; - var al6 = a6 & 0x1fff; - var ah6 = a6 >>> 13; - var a7 = a[7] | 0; - var al7 = a7 & 0x1fff; - var ah7 = a7 >>> 13; - var a8 = a[8] | 0; - var al8 = a8 & 0x1fff; - var ah8 = a8 >>> 13; - var a9 = a[9] | 0; - var al9 = a9 & 0x1fff; - var ah9 = a9 >>> 13; - var b0 = b[0] | 0; - var bl0 = b0 & 0x1fff; - var bh0 = b0 >>> 13; - var b1 = b[1] | 0; - var bl1 = b1 & 0x1fff; - var bh1 = b1 >>> 13; - var b2 = b[2] | 0; - var bl2 = b2 & 0x1fff; - var bh2 = b2 >>> 13; - var b3 = b[3] | 0; - var bl3 = b3 & 0x1fff; - var bh3 = b3 >>> 13; - var b4 = b[4] | 0; - var bl4 = b4 & 0x1fff; - var bh4 = b4 >>> 13; - var b5 = b[5] | 0; - var bl5 = b5 & 0x1fff; - var bh5 = b5 >>> 13; - var b6 = b[6] | 0; - var bl6 = b6 & 0x1fff; - var bh6 = b6 >>> 13; - var b7 = b[7] | 0; - var bl7 = b7 & 0x1fff; - var bh7 = b7 >>> 13; - var b8 = b[8] | 0; - var bl8 = b8 & 0x1fff; - var bh8 = b8 >>> 13; - var b9 = b[9] | 0; - var bl9 = b9 & 0x1fff; - var bh9 = b9 >>> 13; - - out.negative = self.negative ^ num.negative; - out.length = 19; - /* k = 0 */ - lo = Math.imul(al0, bl0); - mid = Math.imul(al0, bh0); - mid = (mid + Math.imul(ah0, bl0)) | 0; - hi = Math.imul(ah0, bh0); - var w0 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w0 >>> 26)) | 0; - w0 &= 0x3ffffff; - /* k = 1 */ - lo = Math.imul(al1, bl0); - mid = Math.imul(al1, bh0); - mid = (mid + Math.imul(ah1, bl0)) | 0; - hi = Math.imul(ah1, bh0); - lo = (lo + Math.imul(al0, bl1)) | 0; - mid = (mid + Math.imul(al0, bh1)) | 0; - mid = (mid + Math.imul(ah0, bl1)) | 0; - hi = (hi + Math.imul(ah0, bh1)) | 0; - var w1 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w1 >>> 26)) | 0; - w1 &= 0x3ffffff; - /* k = 2 */ - lo = Math.imul(al2, bl0); - mid = Math.imul(al2, bh0); - mid = (mid + Math.imul(ah2, bl0)) | 0; - hi = Math.imul(ah2, bh0); - lo = (lo + Math.imul(al1, bl1)) | 0; - mid = (mid + Math.imul(al1, bh1)) | 0; - mid = (mid + Math.imul(ah1, bl1)) | 0; - hi = (hi + Math.imul(ah1, bh1)) | 0; - lo = (lo + Math.imul(al0, bl2)) | 0; - mid = (mid + Math.imul(al0, bh2)) | 0; - mid = (mid + Math.imul(ah0, bl2)) | 0; - hi = (hi + Math.imul(ah0, bh2)) | 0; - var w2 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w2 >>> 26)) | 0; - w2 &= 0x3ffffff; - /* k = 3 */ - lo = Math.imul(al3, bl0); - mid = Math.imul(al3, bh0); - mid = (mid + Math.imul(ah3, bl0)) | 0; - hi = Math.imul(ah3, bh0); - lo = (lo + Math.imul(al2, bl1)) | 0; - mid = (mid + Math.imul(al2, bh1)) | 0; - mid = (mid + Math.imul(ah2, bl1)) | 0; - hi = (hi + Math.imul(ah2, bh1)) | 0; - lo = (lo + Math.imul(al1, bl2)) | 0; - mid = (mid + Math.imul(al1, bh2)) | 0; - mid = (mid + Math.imul(ah1, bl2)) | 0; - hi = (hi + Math.imul(ah1, bh2)) | 0; - lo = (lo + Math.imul(al0, bl3)) | 0; - mid = (mid + Math.imul(al0, bh3)) | 0; - mid = (mid + Math.imul(ah0, bl3)) | 0; - hi = (hi + Math.imul(ah0, bh3)) | 0; - var w3 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w3 >>> 26)) | 0; - w3 &= 0x3ffffff; - /* k = 4 */ - lo = Math.imul(al4, bl0); - mid = Math.imul(al4, bh0); - mid = (mid + Math.imul(ah4, bl0)) | 0; - hi = Math.imul(ah4, bh0); - lo = (lo + Math.imul(al3, bl1)) | 0; - mid = (mid + Math.imul(al3, bh1)) | 0; - mid = (mid + Math.imul(ah3, bl1)) | 0; - hi = (hi + Math.imul(ah3, bh1)) | 0; - lo = (lo + Math.imul(al2, bl2)) | 0; - mid = (mid + Math.imul(al2, bh2)) | 0; - mid = (mid + Math.imul(ah2, bl2)) | 0; - hi = (hi + Math.imul(ah2, bh2)) | 0; - lo = (lo + Math.imul(al1, bl3)) | 0; - mid = (mid + Math.imul(al1, bh3)) | 0; - mid = (mid + Math.imul(ah1, bl3)) | 0; - hi = (hi + Math.imul(ah1, bh3)) | 0; - lo = (lo + Math.imul(al0, bl4)) | 0; - mid = (mid + Math.imul(al0, bh4)) | 0; - mid = (mid + Math.imul(ah0, bl4)) | 0; - hi = (hi + Math.imul(ah0, bh4)) | 0; - var w4 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w4 >>> 26)) | 0; - w4 &= 0x3ffffff; - /* k = 5 */ - lo = Math.imul(al5, bl0); - mid = Math.imul(al5, bh0); - mid = (mid + Math.imul(ah5, bl0)) | 0; - hi = Math.imul(ah5, bh0); - lo = (lo + Math.imul(al4, bl1)) | 0; - mid = (mid + Math.imul(al4, bh1)) | 0; - mid = (mid + Math.imul(ah4, bl1)) | 0; - hi = (hi + Math.imul(ah4, bh1)) | 0; - lo = (lo + Math.imul(al3, bl2)) | 0; - mid = (mid + Math.imul(al3, bh2)) | 0; - mid = (mid + Math.imul(ah3, bl2)) | 0; - hi = (hi + Math.imul(ah3, bh2)) | 0; - lo = (lo + Math.imul(al2, bl3)) | 0; - mid = (mid + Math.imul(al2, bh3)) | 0; - mid = (mid + Math.imul(ah2, bl3)) | 0; - hi = (hi + Math.imul(ah2, bh3)) | 0; - lo = (lo + Math.imul(al1, bl4)) | 0; - mid = (mid + Math.imul(al1, bh4)) | 0; - mid = (mid + Math.imul(ah1, bl4)) | 0; - hi = (hi + Math.imul(ah1, bh4)) | 0; - lo = (lo + Math.imul(al0, bl5)) | 0; - mid = (mid + Math.imul(al0, bh5)) | 0; - mid = (mid + Math.imul(ah0, bl5)) | 0; - hi = (hi + Math.imul(ah0, bh5)) | 0; - var w5 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w5 >>> 26)) | 0; - w5 &= 0x3ffffff; - /* k = 6 */ - lo = Math.imul(al6, bl0); - mid = Math.imul(al6, bh0); - mid = (mid + Math.imul(ah6, bl0)) | 0; - hi = Math.imul(ah6, bh0); - lo = (lo + Math.imul(al5, bl1)) | 0; - mid = (mid + Math.imul(al5, bh1)) | 0; - mid = (mid + Math.imul(ah5, bl1)) | 0; - hi = (hi + Math.imul(ah5, bh1)) | 0; - lo = (lo + Math.imul(al4, bl2)) | 0; - mid = (mid + Math.imul(al4, bh2)) | 0; - mid = (mid + Math.imul(ah4, bl2)) | 0; - hi = (hi + Math.imul(ah4, bh2)) | 0; - lo = (lo + Math.imul(al3, bl3)) | 0; - mid = (mid + Math.imul(al3, bh3)) | 0; - mid = (mid + Math.imul(ah3, bl3)) | 0; - hi = (hi + Math.imul(ah3, bh3)) | 0; - lo = (lo + Math.imul(al2, bl4)) | 0; - mid = (mid + Math.imul(al2, bh4)) | 0; - mid = (mid + Math.imul(ah2, bl4)) | 0; - hi = (hi + Math.imul(ah2, bh4)) | 0; - lo = (lo + Math.imul(al1, bl5)) | 0; - mid = (mid + Math.imul(al1, bh5)) | 0; - mid = (mid + Math.imul(ah1, bl5)) | 0; - hi = (hi + Math.imul(ah1, bh5)) | 0; - lo = (lo + Math.imul(al0, bl6)) | 0; - mid = (mid + Math.imul(al0, bh6)) | 0; - mid = (mid + Math.imul(ah0, bl6)) | 0; - hi = (hi + Math.imul(ah0, bh6)) | 0; - var w6 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w6 >>> 26)) | 0; - w6 &= 0x3ffffff; - /* k = 7 */ - lo = Math.imul(al7, bl0); - mid = Math.imul(al7, bh0); - mid = (mid + Math.imul(ah7, bl0)) | 0; - hi = Math.imul(ah7, bh0); - lo = (lo + Math.imul(al6, bl1)) | 0; - mid = (mid + Math.imul(al6, bh1)) | 0; - mid = (mid + Math.imul(ah6, bl1)) | 0; - hi = (hi + Math.imul(ah6, bh1)) | 0; - lo = (lo + Math.imul(al5, bl2)) | 0; - mid = (mid + Math.imul(al5, bh2)) | 0; - mid = (mid + Math.imul(ah5, bl2)) | 0; - hi = (hi + Math.imul(ah5, bh2)) | 0; - lo = (lo + Math.imul(al4, bl3)) | 0; - mid = (mid + Math.imul(al4, bh3)) | 0; - mid = (mid + Math.imul(ah4, bl3)) | 0; - hi = (hi + Math.imul(ah4, bh3)) | 0; - lo = (lo + Math.imul(al3, bl4)) | 0; - mid = (mid + Math.imul(al3, bh4)) | 0; - mid = (mid + Math.imul(ah3, bl4)) | 0; - hi = (hi + Math.imul(ah3, bh4)) | 0; - lo = (lo + Math.imul(al2, bl5)) | 0; - mid = (mid + Math.imul(al2, bh5)) | 0; - mid = (mid + Math.imul(ah2, bl5)) | 0; - hi = (hi + Math.imul(ah2, bh5)) | 0; - lo = (lo + Math.imul(al1, bl6)) | 0; - mid = (mid + Math.imul(al1, bh6)) | 0; - mid = (mid + Math.imul(ah1, bl6)) | 0; - hi = (hi + Math.imul(ah1, bh6)) | 0; - lo = (lo + Math.imul(al0, bl7)) | 0; - mid = (mid + Math.imul(al0, bh7)) | 0; - mid = (mid + Math.imul(ah0, bl7)) | 0; - hi = (hi + Math.imul(ah0, bh7)) | 0; - var w7 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w7 >>> 26)) | 0; - w7 &= 0x3ffffff; - /* k = 8 */ - lo = Math.imul(al8, bl0); - mid = Math.imul(al8, bh0); - mid = (mid + Math.imul(ah8, bl0)) | 0; - hi = Math.imul(ah8, bh0); - lo = (lo + Math.imul(al7, bl1)) | 0; - mid = (mid + Math.imul(al7, bh1)) | 0; - mid = (mid + Math.imul(ah7, bl1)) | 0; - hi = (hi + Math.imul(ah7, bh1)) | 0; - lo = (lo + Math.imul(al6, bl2)) | 0; - mid = (mid + Math.imul(al6, bh2)) | 0; - mid = (mid + Math.imul(ah6, bl2)) | 0; - hi = (hi + Math.imul(ah6, bh2)) | 0; - lo = (lo + Math.imul(al5, bl3)) | 0; - mid = (mid + Math.imul(al5, bh3)) | 0; - mid = (mid + Math.imul(ah5, bl3)) | 0; - hi = (hi + Math.imul(ah5, bh3)) | 0; - lo = (lo + Math.imul(al4, bl4)) | 0; - mid = (mid + Math.imul(al4, bh4)) | 0; - mid = (mid + Math.imul(ah4, bl4)) | 0; - hi = (hi + Math.imul(ah4, bh4)) | 0; - lo = (lo + Math.imul(al3, bl5)) | 0; - mid = (mid + Math.imul(al3, bh5)) | 0; - mid = (mid + Math.imul(ah3, bl5)) | 0; - hi = (hi + Math.imul(ah3, bh5)) | 0; - lo = (lo + Math.imul(al2, bl6)) | 0; - mid = (mid + Math.imul(al2, bh6)) | 0; - mid = (mid + Math.imul(ah2, bl6)) | 0; - hi = (hi + Math.imul(ah2, bh6)) | 0; - lo = (lo + Math.imul(al1, bl7)) | 0; - mid = (mid + Math.imul(al1, bh7)) | 0; - mid = (mid + Math.imul(ah1, bl7)) | 0; - hi = (hi + Math.imul(ah1, bh7)) | 0; - lo = (lo + Math.imul(al0, bl8)) | 0; - mid = (mid + Math.imul(al0, bh8)) | 0; - mid = (mid + Math.imul(ah0, bl8)) | 0; - hi = (hi + Math.imul(ah0, bh8)) | 0; - var w8 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w8 >>> 26)) | 0; - w8 &= 0x3ffffff; - /* k = 9 */ - lo = Math.imul(al9, bl0); - mid = Math.imul(al9, bh0); - mid = (mid + Math.imul(ah9, bl0)) | 0; - hi = Math.imul(ah9, bh0); - lo = (lo + Math.imul(al8, bl1)) | 0; - mid = (mid + Math.imul(al8, bh1)) | 0; - mid = (mid + Math.imul(ah8, bl1)) | 0; - hi = (hi + Math.imul(ah8, bh1)) | 0; - lo = (lo + Math.imul(al7, bl2)) | 0; - mid = (mid + Math.imul(al7, bh2)) | 0; - mid = (mid + Math.imul(ah7, bl2)) | 0; - hi = (hi + Math.imul(ah7, bh2)) | 0; - lo = (lo + Math.imul(al6, bl3)) | 0; - mid = (mid + Math.imul(al6, bh3)) | 0; - mid = (mid + Math.imul(ah6, bl3)) | 0; - hi = (hi + Math.imul(ah6, bh3)) | 0; - lo = (lo + Math.imul(al5, bl4)) | 0; - mid = (mid + Math.imul(al5, bh4)) | 0; - mid = (mid + Math.imul(ah5, bl4)) | 0; - hi = (hi + Math.imul(ah5, bh4)) | 0; - lo = (lo + Math.imul(al4, bl5)) | 0; - mid = (mid + Math.imul(al4, bh5)) | 0; - mid = (mid + Math.imul(ah4, bl5)) | 0; - hi = (hi + Math.imul(ah4, bh5)) | 0; - lo = (lo + Math.imul(al3, bl6)) | 0; - mid = (mid + Math.imul(al3, bh6)) | 0; - mid = (mid + Math.imul(ah3, bl6)) | 0; - hi = (hi + Math.imul(ah3, bh6)) | 0; - lo = (lo + Math.imul(al2, bl7)) | 0; - mid = (mid + Math.imul(al2, bh7)) | 0; - mid = (mid + Math.imul(ah2, bl7)) | 0; - hi = (hi + Math.imul(ah2, bh7)) | 0; - lo = (lo + Math.imul(al1, bl8)) | 0; - mid = (mid + Math.imul(al1, bh8)) | 0; - mid = (mid + Math.imul(ah1, bl8)) | 0; - hi = (hi + Math.imul(ah1, bh8)) | 0; - lo = (lo + Math.imul(al0, bl9)) | 0; - mid = (mid + Math.imul(al0, bh9)) | 0; - mid = (mid + Math.imul(ah0, bl9)) | 0; - hi = (hi + Math.imul(ah0, bh9)) | 0; - var w9 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w9 >>> 26)) | 0; - w9 &= 0x3ffffff; - /* k = 10 */ - lo = Math.imul(al9, bl1); - mid = Math.imul(al9, bh1); - mid = (mid + Math.imul(ah9, bl1)) | 0; - hi = Math.imul(ah9, bh1); - lo = (lo + Math.imul(al8, bl2)) | 0; - mid = (mid + Math.imul(al8, bh2)) | 0; - mid = (mid + Math.imul(ah8, bl2)) | 0; - hi = (hi + Math.imul(ah8, bh2)) | 0; - lo = (lo + Math.imul(al7, bl3)) | 0; - mid = (mid + Math.imul(al7, bh3)) | 0; - mid = (mid + Math.imul(ah7, bl3)) | 0; - hi = (hi + Math.imul(ah7, bh3)) | 0; - lo = (lo + Math.imul(al6, bl4)) | 0; - mid = (mid + Math.imul(al6, bh4)) | 0; - mid = (mid + Math.imul(ah6, bl4)) | 0; - hi = (hi + Math.imul(ah6, bh4)) | 0; - lo = (lo + Math.imul(al5, bl5)) | 0; - mid = (mid + Math.imul(al5, bh5)) | 0; - mid = (mid + Math.imul(ah5, bl5)) | 0; - hi = (hi + Math.imul(ah5, bh5)) | 0; - lo = (lo + Math.imul(al4, bl6)) | 0; - mid = (mid + Math.imul(al4, bh6)) | 0; - mid = (mid + Math.imul(ah4, bl6)) | 0; - hi = (hi + Math.imul(ah4, bh6)) | 0; - lo = (lo + Math.imul(al3, bl7)) | 0; - mid = (mid + Math.imul(al3, bh7)) | 0; - mid = (mid + Math.imul(ah3, bl7)) | 0; - hi = (hi + Math.imul(ah3, bh7)) | 0; - lo = (lo + Math.imul(al2, bl8)) | 0; - mid = (mid + Math.imul(al2, bh8)) | 0; - mid = (mid + Math.imul(ah2, bl8)) | 0; - hi = (hi + Math.imul(ah2, bh8)) | 0; - lo = (lo + Math.imul(al1, bl9)) | 0; - mid = (mid + Math.imul(al1, bh9)) | 0; - mid = (mid + Math.imul(ah1, bl9)) | 0; - hi = (hi + Math.imul(ah1, bh9)) | 0; - var w10 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w10 >>> 26)) | 0; - w10 &= 0x3ffffff; - /* k = 11 */ - lo = Math.imul(al9, bl2); - mid = Math.imul(al9, bh2); - mid = (mid + Math.imul(ah9, bl2)) | 0; - hi = Math.imul(ah9, bh2); - lo = (lo + Math.imul(al8, bl3)) | 0; - mid = (mid + Math.imul(al8, bh3)) | 0; - mid = (mid + Math.imul(ah8, bl3)) | 0; - hi = (hi + Math.imul(ah8, bh3)) | 0; - lo = (lo + Math.imul(al7, bl4)) | 0; - mid = (mid + Math.imul(al7, bh4)) | 0; - mid = (mid + Math.imul(ah7, bl4)) | 0; - hi = (hi + Math.imul(ah7, bh4)) | 0; - lo = (lo + Math.imul(al6, bl5)) | 0; - mid = (mid + Math.imul(al6, bh5)) | 0; - mid = (mid + Math.imul(ah6, bl5)) | 0; - hi = (hi + Math.imul(ah6, bh5)) | 0; - lo = (lo + Math.imul(al5, bl6)) | 0; - mid = (mid + Math.imul(al5, bh6)) | 0; - mid = (mid + Math.imul(ah5, bl6)) | 0; - hi = (hi + Math.imul(ah5, bh6)) | 0; - lo = (lo + Math.imul(al4, bl7)) | 0; - mid = (mid + Math.imul(al4, bh7)) | 0; - mid = (mid + Math.imul(ah4, bl7)) | 0; - hi = (hi + Math.imul(ah4, bh7)) | 0; - lo = (lo + Math.imul(al3, bl8)) | 0; - mid = (mid + Math.imul(al3, bh8)) | 0; - mid = (mid + Math.imul(ah3, bl8)) | 0; - hi = (hi + Math.imul(ah3, bh8)) | 0; - lo = (lo + Math.imul(al2, bl9)) | 0; - mid = (mid + Math.imul(al2, bh9)) | 0; - mid = (mid + Math.imul(ah2, bl9)) | 0; - hi = (hi + Math.imul(ah2, bh9)) | 0; - var w11 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w11 >>> 26)) | 0; - w11 &= 0x3ffffff; - /* k = 12 */ - lo = Math.imul(al9, bl3); - mid = Math.imul(al9, bh3); - mid = (mid + Math.imul(ah9, bl3)) | 0; - hi = Math.imul(ah9, bh3); - lo = (lo + Math.imul(al8, bl4)) | 0; - mid = (mid + Math.imul(al8, bh4)) | 0; - mid = (mid + Math.imul(ah8, bl4)) | 0; - hi = (hi + Math.imul(ah8, bh4)) | 0; - lo = (lo + Math.imul(al7, bl5)) | 0; - mid = (mid + Math.imul(al7, bh5)) | 0; - mid = (mid + Math.imul(ah7, bl5)) | 0; - hi = (hi + Math.imul(ah7, bh5)) | 0; - lo = (lo + Math.imul(al6, bl6)) | 0; - mid = (mid + Math.imul(al6, bh6)) | 0; - mid = (mid + Math.imul(ah6, bl6)) | 0; - hi = (hi + Math.imul(ah6, bh6)) | 0; - lo = (lo + Math.imul(al5, bl7)) | 0; - mid = (mid + Math.imul(al5, bh7)) | 0; - mid = (mid + Math.imul(ah5, bl7)) | 0; - hi = (hi + Math.imul(ah5, bh7)) | 0; - lo = (lo + Math.imul(al4, bl8)) | 0; - mid = (mid + Math.imul(al4, bh8)) | 0; - mid = (mid + Math.imul(ah4, bl8)) | 0; - hi = (hi + Math.imul(ah4, bh8)) | 0; - lo = (lo + Math.imul(al3, bl9)) | 0; - mid = (mid + Math.imul(al3, bh9)) | 0; - mid = (mid + Math.imul(ah3, bl9)) | 0; - hi = (hi + Math.imul(ah3, bh9)) | 0; - var w12 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w12 >>> 26)) | 0; - w12 &= 0x3ffffff; - /* k = 13 */ - lo = Math.imul(al9, bl4); - mid = Math.imul(al9, bh4); - mid = (mid + Math.imul(ah9, bl4)) | 0; - hi = Math.imul(ah9, bh4); - lo = (lo + Math.imul(al8, bl5)) | 0; - mid = (mid + Math.imul(al8, bh5)) | 0; - mid = (mid + Math.imul(ah8, bl5)) | 0; - hi = (hi + Math.imul(ah8, bh5)) | 0; - lo = (lo + Math.imul(al7, bl6)) | 0; - mid = (mid + Math.imul(al7, bh6)) | 0; - mid = (mid + Math.imul(ah7, bl6)) | 0; - hi = (hi + Math.imul(ah7, bh6)) | 0; - lo = (lo + Math.imul(al6, bl7)) | 0; - mid = (mid + Math.imul(al6, bh7)) | 0; - mid = (mid + Math.imul(ah6, bl7)) | 0; - hi = (hi + Math.imul(ah6, bh7)) | 0; - lo = (lo + Math.imul(al5, bl8)) | 0; - mid = (mid + Math.imul(al5, bh8)) | 0; - mid = (mid + Math.imul(ah5, bl8)) | 0; - hi = (hi + Math.imul(ah5, bh8)) | 0; - lo = (lo + Math.imul(al4, bl9)) | 0; - mid = (mid + Math.imul(al4, bh9)) | 0; - mid = (mid + Math.imul(ah4, bl9)) | 0; - hi = (hi + Math.imul(ah4, bh9)) | 0; - var w13 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w13 >>> 26)) | 0; - w13 &= 0x3ffffff; - /* k = 14 */ - lo = Math.imul(al9, bl5); - mid = Math.imul(al9, bh5); - mid = (mid + Math.imul(ah9, bl5)) | 0; - hi = Math.imul(ah9, bh5); - lo = (lo + Math.imul(al8, bl6)) | 0; - mid = (mid + Math.imul(al8, bh6)) | 0; - mid = (mid + Math.imul(ah8, bl6)) | 0; - hi = (hi + Math.imul(ah8, bh6)) | 0; - lo = (lo + Math.imul(al7, bl7)) | 0; - mid = (mid + Math.imul(al7, bh7)) | 0; - mid = (mid + Math.imul(ah7, bl7)) | 0; - hi = (hi + Math.imul(ah7, bh7)) | 0; - lo = (lo + Math.imul(al6, bl8)) | 0; - mid = (mid + Math.imul(al6, bh8)) | 0; - mid = (mid + Math.imul(ah6, bl8)) | 0; - hi = (hi + Math.imul(ah6, bh8)) | 0; - lo = (lo + Math.imul(al5, bl9)) | 0; - mid = (mid + Math.imul(al5, bh9)) | 0; - mid = (mid + Math.imul(ah5, bl9)) | 0; - hi = (hi + Math.imul(ah5, bh9)) | 0; - var w14 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w14 >>> 26)) | 0; - w14 &= 0x3ffffff; - /* k = 15 */ - lo = Math.imul(al9, bl6); - mid = Math.imul(al9, bh6); - mid = (mid + Math.imul(ah9, bl6)) | 0; - hi = Math.imul(ah9, bh6); - lo = (lo + Math.imul(al8, bl7)) | 0; - mid = (mid + Math.imul(al8, bh7)) | 0; - mid = (mid + Math.imul(ah8, bl7)) | 0; - hi = (hi + Math.imul(ah8, bh7)) | 0; - lo = (lo + Math.imul(al7, bl8)) | 0; - mid = (mid + Math.imul(al7, bh8)) | 0; - mid = (mid + Math.imul(ah7, bl8)) | 0; - hi = (hi + Math.imul(ah7, bh8)) | 0; - lo = (lo + Math.imul(al6, bl9)) | 0; - mid = (mid + Math.imul(al6, bh9)) | 0; - mid = (mid + Math.imul(ah6, bl9)) | 0; - hi = (hi + Math.imul(ah6, bh9)) | 0; - var w15 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w15 >>> 26)) | 0; - w15 &= 0x3ffffff; - /* k = 16 */ - lo = Math.imul(al9, bl7); - mid = Math.imul(al9, bh7); - mid = (mid + Math.imul(ah9, bl7)) | 0; - hi = Math.imul(ah9, bh7); - lo = (lo + Math.imul(al8, bl8)) | 0; - mid = (mid + Math.imul(al8, bh8)) | 0; - mid = (mid + Math.imul(ah8, bl8)) | 0; - hi = (hi + Math.imul(ah8, bh8)) | 0; - lo = (lo + Math.imul(al7, bl9)) | 0; - mid = (mid + Math.imul(al7, bh9)) | 0; - mid = (mid + Math.imul(ah7, bl9)) | 0; - hi = (hi + Math.imul(ah7, bh9)) | 0; - var w16 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w16 >>> 26)) | 0; - w16 &= 0x3ffffff; - /* k = 17 */ - lo = Math.imul(al9, bl8); - mid = Math.imul(al9, bh8); - mid = (mid + Math.imul(ah9, bl8)) | 0; - hi = Math.imul(ah9, bh8); - lo = (lo + Math.imul(al8, bl9)) | 0; - mid = (mid + Math.imul(al8, bh9)) | 0; - mid = (mid + Math.imul(ah8, bl9)) | 0; - hi = (hi + Math.imul(ah8, bh9)) | 0; - var w17 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w17 >>> 26)) | 0; - w17 &= 0x3ffffff; - /* k = 18 */ - lo = Math.imul(al9, bl9); - mid = Math.imul(al9, bh9); - mid = (mid + Math.imul(ah9, bl9)) | 0; - hi = Math.imul(ah9, bh9); - var w18 = (((c + lo) | 0) + ((mid & 0x1fff) << 13)) | 0; - c = (((hi + (mid >>> 13)) | 0) + (w18 >>> 26)) | 0; - w18 &= 0x3ffffff; - o[0] = w0; - o[1] = w1; - o[2] = w2; - o[3] = w3; - o[4] = w4; - o[5] = w5; - o[6] = w6; - o[7] = w7; - o[8] = w8; - o[9] = w9; - o[10] = w10; - o[11] = w11; - o[12] = w12; - o[13] = w13; - o[14] = w14; - o[15] = w15; - o[16] = w16; - o[17] = w17; - o[18] = w18; - if (c !== 0) { - o[19] = c; - out.length++; - } - return out; - }; - - // Polyfill comb - if (!Math.imul) { - comb10MulTo = smallMulTo; - } - - function bigMulTo (self, num, out) { - out.negative = num.negative ^ self.negative; - out.length = self.length + num.length; - - var carry = 0; - var hncarry = 0; - for (var k = 0; k < out.length - 1; k++) { - // Sum all words with the same `i + j = k` and accumulate `ncarry`, - // note that ncarry could be >= 0x3ffffff - var ncarry = hncarry; - hncarry = 0; - var rword = carry & 0x3ffffff; - var maxJ = Math.min(k, num.length - 1); - for (var j = Math.max(0, k - self.length + 1); j <= maxJ; j++) { - var i = k - j; - var a = self.words[i] | 0; - var b = num.words[j] | 0; - var r = a * b; - - var lo = r & 0x3ffffff; - ncarry = (ncarry + ((r / 0x4000000) | 0)) | 0; - lo = (lo + rword) | 0; - rword = lo & 0x3ffffff; - ncarry = (ncarry + (lo >>> 26)) | 0; - - hncarry += ncarry >>> 26; - ncarry &= 0x3ffffff; - } - out.words[k] = rword; - carry = ncarry; - ncarry = hncarry; - } - if (carry !== 0) { - out.words[k] = carry; - } else { - out.length--; - } - - return out.strip(); - } - - function jumboMulTo (self, num, out) { - var fftm = new FFTM(); - return fftm.mulp(self, num, out); - } - - BN.prototype.mulTo = function mulTo (num, out) { - var res; - var len = this.length + num.length; - if (this.length === 10 && num.length === 10) { - res = comb10MulTo(this, num, out); - } else if (len < 63) { - res = smallMulTo(this, num, out); - } else if (len < 1024) { - res = bigMulTo(this, num, out); - } else { - res = jumboMulTo(this, num, out); - } - - return res; - }; - - // Cooley-Tukey algorithm for FFT - // slightly revisited to rely on looping instead of recursion - - function FFTM (x, y) { - this.x = x; - this.y = y; - } - - FFTM.prototype.makeRBT = function makeRBT (N) { - var t = new Array(N); - var l = BN.prototype._countBits(N) - 1; - for (var i = 0; i < N; i++) { - t[i] = this.revBin(i, l, N); - } - - return t; - }; - - // Returns binary-reversed representation of `x` - FFTM.prototype.revBin = function revBin (x, l, N) { - if (x === 0 || x === N - 1) return x; - - var rb = 0; - for (var i = 0; i < l; i++) { - rb |= (x & 1) << (l - i - 1); - x >>= 1; - } - - return rb; - }; - - // Performs "tweedling" phase, therefore 'emulating' - // behaviour of the recursive algorithm - FFTM.prototype.permute = function permute (rbt, rws, iws, rtws, itws, N) { - for (var i = 0; i < N; i++) { - rtws[i] = rws[rbt[i]]; - itws[i] = iws[rbt[i]]; - } - }; - - FFTM.prototype.transform = function transform (rws, iws, rtws, itws, N, rbt) { - this.permute(rbt, rws, iws, rtws, itws, N); - - for (var s = 1; s < N; s <<= 1) { - var l = s << 1; - - var rtwdf = Math.cos(2 * Math.PI / l); - var itwdf = Math.sin(2 * Math.PI / l); - - for (var p = 0; p < N; p += l) { - var rtwdf_ = rtwdf; - var itwdf_ = itwdf; - - for (var j = 0; j < s; j++) { - var re = rtws[p + j]; - var ie = itws[p + j]; - - var ro = rtws[p + j + s]; - var io = itws[p + j + s]; - - var rx = rtwdf_ * ro - itwdf_ * io; - - io = rtwdf_ * io + itwdf_ * ro; - ro = rx; - - rtws[p + j] = re + ro; - itws[p + j] = ie + io; - - rtws[p + j + s] = re - ro; - itws[p + j + s] = ie - io; - - /* jshint maxdepth : false */ - if (j !== l) { - rx = rtwdf * rtwdf_ - itwdf * itwdf_; - - itwdf_ = rtwdf * itwdf_ + itwdf * rtwdf_; - rtwdf_ = rx; - } - } - } - } - }; - - FFTM.prototype.guessLen13b = function guessLen13b (n, m) { - var N = Math.max(m, n) | 1; - var odd = N & 1; - var i = 0; - for (N = N / 2 | 0; N; N = N >>> 1) { - i++; - } - - return 1 << i + 1 + odd; - }; - - FFTM.prototype.conjugate = function conjugate (rws, iws, N) { - if (N <= 1) return; - - for (var i = 0; i < N / 2; i++) { - var t = rws[i]; - - rws[i] = rws[N - i - 1]; - rws[N - i - 1] = t; - - t = iws[i]; - - iws[i] = -iws[N - i - 1]; - iws[N - i - 1] = -t; - } - }; - - FFTM.prototype.normalize13b = function normalize13b (ws, N) { - var carry = 0; - for (var i = 0; i < N / 2; i++) { - var w = Math.round(ws[2 * i + 1] / N) * 0x2000 + - Math.round(ws[2 * i] / N) + - carry; - - ws[i] = w & 0x3ffffff; - - if (w < 0x4000000) { - carry = 0; - } else { - carry = w / 0x4000000 | 0; - } - } - - return ws; - }; - - FFTM.prototype.convert13b = function convert13b (ws, len, rws, N) { - var carry = 0; - for (var i = 0; i < len; i++) { - carry = carry + (ws[i] | 0); - - rws[2 * i] = carry & 0x1fff; carry = carry >>> 13; - rws[2 * i + 1] = carry & 0x1fff; carry = carry >>> 13; - } - - // Pad with zeroes - for (i = 2 * len; i < N; ++i) { - rws[i] = 0; - } - - assert(carry === 0); - assert((carry & ~0x1fff) === 0); - }; - - FFTM.prototype.stub = function stub (N) { - var ph = new Array(N); - for (var i = 0; i < N; i++) { - ph[i] = 0; - } - - return ph; - }; - - FFTM.prototype.mulp = function mulp (x, y, out) { - var N = 2 * this.guessLen13b(x.length, y.length); - - var rbt = this.makeRBT(N); - - var _ = this.stub(N); - - var rws = new Array(N); - var rwst = new Array(N); - var iwst = new Array(N); - - var nrws = new Array(N); - var nrwst = new Array(N); - var niwst = new Array(N); - - var rmws = out.words; - rmws.length = N; - - this.convert13b(x.words, x.length, rws, N); - this.convert13b(y.words, y.length, nrws, N); - - this.transform(rws, _, rwst, iwst, N, rbt); - this.transform(nrws, _, nrwst, niwst, N, rbt); - - for (var i = 0; i < N; i++) { - var rx = rwst[i] * nrwst[i] - iwst[i] * niwst[i]; - iwst[i] = rwst[i] * niwst[i] + iwst[i] * nrwst[i]; - rwst[i] = rx; - } - - this.conjugate(rwst, iwst, N); - this.transform(rwst, iwst, rmws, _, N, rbt); - this.conjugate(rmws, _, N); - this.normalize13b(rmws, N); - - out.negative = x.negative ^ y.negative; - out.length = x.length + y.length; - return out.strip(); - }; - - // Multiply `this` by `num` - BN.prototype.mul = function mul (num) { - var out = new BN(null); - out.words = new Array(this.length + num.length); - return this.mulTo(num, out); - }; - - // Multiply employing FFT - BN.prototype.mulf = function mulf (num) { - var out = new BN(null); - out.words = new Array(this.length + num.length); - return jumboMulTo(this, num, out); - }; - - // In-place Multiplication - BN.prototype.imul = function imul (num) { - return this.clone().mulTo(num, this); - }; - - BN.prototype.imuln = function imuln (num) { - assert(typeof num === 'number'); - assert(num < 0x4000000); - - // Carry - var carry = 0; - for (var i = 0; i < this.length; i++) { - var w = (this.words[i] | 0) * num; - var lo = (w & 0x3ffffff) + (carry & 0x3ffffff); - carry >>= 26; - carry += (w / 0x4000000) | 0; - // NOTE: lo is 27bit maximum - carry += lo >>> 26; - this.words[i] = lo & 0x3ffffff; - } - - if (carry !== 0) { - this.words[i] = carry; - this.length++; - } - - return this; - }; - - BN.prototype.muln = function muln (num) { - return this.clone().imuln(num); - }; - - // `this` * `this` - BN.prototype.sqr = function sqr () { - return this.mul(this); - }; - - // `this` * `this` in-place - BN.prototype.isqr = function isqr () { - return this.imul(this.clone()); - }; - - // Math.pow(`this`, `num`) - BN.prototype.pow = function pow (num) { - var w = toBitArray(num); - if (w.length === 0) return new BN(1); - - // Skip leading zeroes - var res = this; - for (var i = 0; i < w.length; i++, res = res.sqr()) { - if (w[i] !== 0) break; - } - - if (++i < w.length) { - for (var q = res.sqr(); i < w.length; i++, q = q.sqr()) { - if (w[i] === 0) continue; - - res = res.mul(q); - } - } - - return res; - }; - - // Shift-left in-place - BN.prototype.iushln = function iushln (bits) { - assert(typeof bits === 'number' && bits >= 0); - var r = bits % 26; - var s = (bits - r) / 26; - var carryMask = (0x3ffffff >>> (26 - r)) << (26 - r); - var i; - - if (r !== 0) { - var carry = 0; - - for (i = 0; i < this.length; i++) { - var newCarry = this.words[i] & carryMask; - var c = ((this.words[i] | 0) - newCarry) << r; - this.words[i] = c | carry; - carry = newCarry >>> (26 - r); - } - - if (carry) { - this.words[i] = carry; - this.length++; - } - } - - if (s !== 0) { - for (i = this.length - 1; i >= 0; i--) { - this.words[i + s] = this.words[i]; - } - - for (i = 0; i < s; i++) { - this.words[i] = 0; - } - - this.length += s; - } - - return this.strip(); - }; - - BN.prototype.ishln = function ishln (bits) { - // TODO(indutny): implement me - assert(this.negative === 0); - return this.iushln(bits); - }; - - // Shift-right in-place - // NOTE: `hint` is a lowest bit before trailing zeroes - // NOTE: if `extended` is present - it will be filled with destroyed bits - BN.prototype.iushrn = function iushrn (bits, hint, extended) { - assert(typeof bits === 'number' && bits >= 0); - var h; - if (hint) { - h = (hint - (hint % 26)) / 26; - } else { - h = 0; - } - - var r = bits % 26; - var s = Math.min((bits - r) / 26, this.length); - var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); - var maskedWords = extended; - - h -= s; - h = Math.max(0, h); - - // Extended mode, copy masked part - if (maskedWords) { - for (var i = 0; i < s; i++) { - maskedWords.words[i] = this.words[i]; - } - maskedWords.length = s; - } - - if (s === 0) ; else if (this.length > s) { - this.length -= s; - for (i = 0; i < this.length; i++) { - this.words[i] = this.words[i + s]; - } - } else { - this.words[0] = 0; - this.length = 1; - } - - var carry = 0; - for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) { - var word = this.words[i] | 0; - this.words[i] = (carry << (26 - r)) | (word >>> r); - carry = word & mask; - } - - // Push carried bits as a mask - if (maskedWords && carry !== 0) { - maskedWords.words[maskedWords.length++] = carry; - } - - if (this.length === 0) { - this.words[0] = 0; - this.length = 1; - } - - return this.strip(); - }; - - BN.prototype.ishrn = function ishrn (bits, hint, extended) { - // TODO(indutny): implement me - assert(this.negative === 0); - return this.iushrn(bits, hint, extended); - }; - - // Shift-left - BN.prototype.shln = function shln (bits) { - return this.clone().ishln(bits); - }; - - BN.prototype.ushln = function ushln (bits) { - return this.clone().iushln(bits); - }; - - // Shift-right - BN.prototype.shrn = function shrn (bits) { - return this.clone().ishrn(bits); - }; - - BN.prototype.ushrn = function ushrn (bits) { - return this.clone().iushrn(bits); - }; - - // Test if n bit is set - BN.prototype.testn = function testn (bit) { - assert(typeof bit === 'number' && bit >= 0); - var r = bit % 26; - var s = (bit - r) / 26; - var q = 1 << r; - - // Fast case: bit is much higher than all existing words - if (this.length <= s) return false; - - // Check bit and return - var w = this.words[s]; - - return !!(w & q); - }; - - // Return only lowers bits of number (in-place) - BN.prototype.imaskn = function imaskn (bits) { - assert(typeof bits === 'number' && bits >= 0); - var r = bits % 26; - var s = (bits - r) / 26; - - assert(this.negative === 0, 'imaskn works only with positive numbers'); - - if (this.length <= s) { - return this; - } - - if (r !== 0) { - s++; - } - this.length = Math.min(s, this.length); - - if (r !== 0) { - var mask = 0x3ffffff ^ ((0x3ffffff >>> r) << r); - this.words[this.length - 1] &= mask; - } - - return this.strip(); - }; - - // Return only lowers bits of number - BN.prototype.maskn = function maskn (bits) { - return this.clone().imaskn(bits); - }; - - // Add plain number `num` to `this` - BN.prototype.iaddn = function iaddn (num) { - assert(typeof num === 'number'); - assert(num < 0x4000000); - if (num < 0) return this.isubn(-num); - - // Possible sign change - if (this.negative !== 0) { - if (this.length === 1 && (this.words[0] | 0) < num) { - this.words[0] = num - (this.words[0] | 0); - this.negative = 0; - return this; - } - - this.negative = 0; - this.isubn(num); - this.negative = 1; - return this; - } - - // Add without checks - return this._iaddn(num); - }; - - BN.prototype._iaddn = function _iaddn (num) { - this.words[0] += num; - - // Carry - for (var i = 0; i < this.length && this.words[i] >= 0x4000000; i++) { - this.words[i] -= 0x4000000; - if (i === this.length - 1) { - this.words[i + 1] = 1; - } else { - this.words[i + 1]++; - } - } - this.length = Math.max(this.length, i + 1); - - return this; - }; - - // Subtract plain number `num` from `this` - BN.prototype.isubn = function isubn (num) { - assert(typeof num === 'number'); - assert(num < 0x4000000); - if (num < 0) return this.iaddn(-num); - - if (this.negative !== 0) { - this.negative = 0; - this.iaddn(num); - this.negative = 1; - return this; - } - - this.words[0] -= num; - - if (this.length === 1 && this.words[0] < 0) { - this.words[0] = -this.words[0]; - this.negative = 1; - } else { - // Carry - for (var i = 0; i < this.length && this.words[i] < 0; i++) { - this.words[i] += 0x4000000; - this.words[i + 1] -= 1; - } - } - - return this.strip(); - }; - - BN.prototype.addn = function addn (num) { - return this.clone().iaddn(num); - }; - - BN.prototype.subn = function subn (num) { - return this.clone().isubn(num); - }; - - BN.prototype.iabs = function iabs () { - this.negative = 0; - - return this; - }; - - BN.prototype.abs = function abs () { - return this.clone().iabs(); - }; - - BN.prototype._ishlnsubmul = function _ishlnsubmul (num, mul, shift) { - var len = num.length + shift; - var i; - - this._expand(len); - - var w; - var carry = 0; - for (i = 0; i < num.length; i++) { - w = (this.words[i + shift] | 0) + carry; - var right = (num.words[i] | 0) * mul; - w -= right & 0x3ffffff; - carry = (w >> 26) - ((right / 0x4000000) | 0); - this.words[i + shift] = w & 0x3ffffff; - } - for (; i < this.length - shift; i++) { - w = (this.words[i + shift] | 0) + carry; - carry = w >> 26; - this.words[i + shift] = w & 0x3ffffff; - } - - if (carry === 0) return this.strip(); - - // Subtraction overflow - assert(carry === -1); - carry = 0; - for (i = 0; i < this.length; i++) { - w = -(this.words[i] | 0) + carry; - carry = w >> 26; - this.words[i] = w & 0x3ffffff; - } - this.negative = 1; - - return this.strip(); - }; - - BN.prototype._wordDiv = function _wordDiv (num, mode) { - var shift = this.length - num.length; - - var a = this.clone(); - var b = num; - - // Normalize - var bhi = b.words[b.length - 1] | 0; - var bhiBits = this._countBits(bhi); - shift = 26 - bhiBits; - if (shift !== 0) { - b = b.ushln(shift); - a.iushln(shift); - bhi = b.words[b.length - 1] | 0; - } - - // Initialize quotient - var m = a.length - b.length; - var q; - - if (mode !== 'mod') { - q = new BN(null); - q.length = m + 1; - q.words = new Array(q.length); - for (var i = 0; i < q.length; i++) { - q.words[i] = 0; - } - } - - var diff = a.clone()._ishlnsubmul(b, 1, m); - if (diff.negative === 0) { - a = diff; - if (q) { - q.words[m] = 1; - } - } - - for (var j = m - 1; j >= 0; j--) { - var qj = (a.words[b.length + j] | 0) * 0x4000000 + - (a.words[b.length + j - 1] | 0); - - // NOTE: (qj / bhi) is (0x3ffffff * 0x4000000 + 0x3ffffff) / 0x2000000 max - // (0x7ffffff) - qj = Math.min((qj / bhi) | 0, 0x3ffffff); - - a._ishlnsubmul(b, qj, j); - while (a.negative !== 0) { - qj--; - a.negative = 0; - a._ishlnsubmul(b, 1, j); - if (!a.isZero()) { - a.negative ^= 1; - } - } - if (q) { - q.words[j] = qj; - } - } - if (q) { - q.strip(); - } - a.strip(); - - // Denormalize - if (mode !== 'div' && shift !== 0) { - a.iushrn(shift); - } - - return { - div: q || null, - mod: a - }; - }; - - // NOTE: 1) `mode` can be set to `mod` to request mod only, - // to `div` to request div only, or be absent to - // request both div & mod - // 2) `positive` is true if unsigned mod is requested - BN.prototype.divmod = function divmod (num, mode, positive) { - assert(!num.isZero()); - - if (this.isZero()) { - return { - div: new BN(0), - mod: new BN(0) - }; - } - - var div, mod, res; - if (this.negative !== 0 && num.negative === 0) { - res = this.neg().divmod(num, mode); - - if (mode !== 'mod') { - div = res.div.neg(); - } - - if (mode !== 'div') { - mod = res.mod.neg(); - if (positive && mod.negative !== 0) { - mod.iadd(num); - } - } - - return { - div: div, - mod: mod - }; - } - - if (this.negative === 0 && num.negative !== 0) { - res = this.divmod(num.neg(), mode); - - if (mode !== 'mod') { - div = res.div.neg(); - } - - return { - div: div, - mod: res.mod - }; - } - - if ((this.negative & num.negative) !== 0) { - res = this.neg().divmod(num.neg(), mode); - - if (mode !== 'div') { - mod = res.mod.neg(); - if (positive && mod.negative !== 0) { - mod.isub(num); - } - } - - return { - div: res.div, - mod: mod - }; - } - - // Both numbers are positive at this point - - // Strip both numbers to approximate shift value - if (num.length > this.length || this.cmp(num) < 0) { - return { - div: new BN(0), - mod: this - }; - } - - // Very short reduction - if (num.length === 1) { - if (mode === 'div') { - return { - div: this.divn(num.words[0]), - mod: null - }; - } - - if (mode === 'mod') { - return { - div: null, - mod: new BN(this.modn(num.words[0])) - }; - } - - return { - div: this.divn(num.words[0]), - mod: new BN(this.modn(num.words[0])) - }; - } - - return this._wordDiv(num, mode); - }; - - // Find `this` / `num` - BN.prototype.div = function div (num) { - return this.divmod(num, 'div', false).div; - }; - - // Find `this` % `num` - BN.prototype.mod = function mod (num) { - return this.divmod(num, 'mod', false).mod; - }; - - BN.prototype.umod = function umod (num) { - return this.divmod(num, 'mod', true).mod; - }; - - // Find Round(`this` / `num`) - BN.prototype.divRound = function divRound (num) { - var dm = this.divmod(num); - - // Fast case - exact division - if (dm.mod.isZero()) return dm.div; - - var mod = dm.div.negative !== 0 ? dm.mod.isub(num) : dm.mod; - - var half = num.ushrn(1); - var r2 = num.andln(1); - var cmp = mod.cmp(half); - - // Round down - if (cmp < 0 || r2 === 1 && cmp === 0) return dm.div; - - // Round up - return dm.div.negative !== 0 ? dm.div.isubn(1) : dm.div.iaddn(1); - }; - - BN.prototype.modn = function modn (num) { - assert(num <= 0x3ffffff); - var p = (1 << 26) % num; - - var acc = 0; - for (var i = this.length - 1; i >= 0; i--) { - acc = (p * acc + (this.words[i] | 0)) % num; - } - - return acc; - }; - - // In-place division by number - BN.prototype.idivn = function idivn (num) { - assert(num <= 0x3ffffff); - - var carry = 0; - for (var i = this.length - 1; i >= 0; i--) { - var w = (this.words[i] | 0) + carry * 0x4000000; - this.words[i] = (w / num) | 0; - carry = w % num; - } - - return this.strip(); - }; - - BN.prototype.divn = function divn (num) { - return this.clone().idivn(num); - }; - - BN.prototype.egcd = function egcd (p) { - assert(p.negative === 0); - assert(!p.isZero()); - - var x = this; - var y = p.clone(); - - if (x.negative !== 0) { - x = x.umod(p); - } else { - x = x.clone(); - } - - // A * x + B * y = x - var A = new BN(1); - var B = new BN(0); - - // C * x + D * y = y - var C = new BN(0); - var D = new BN(1); - - var g = 0; - - while (x.isEven() && y.isEven()) { - x.iushrn(1); - y.iushrn(1); - ++g; - } - - var yp = y.clone(); - var xp = x.clone(); - - while (!x.isZero()) { - for (var i = 0, im = 1; (x.words[0] & im) === 0 && i < 26; ++i, im <<= 1); - if (i > 0) { - x.iushrn(i); - while (i-- > 0) { - if (A.isOdd() || B.isOdd()) { - A.iadd(yp); - B.isub(xp); - } - - A.iushrn(1); - B.iushrn(1); - } - } - - for (var j = 0, jm = 1; (y.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); - if (j > 0) { - y.iushrn(j); - while (j-- > 0) { - if (C.isOdd() || D.isOdd()) { - C.iadd(yp); - D.isub(xp); - } - - C.iushrn(1); - D.iushrn(1); - } - } - - if (x.cmp(y) >= 0) { - x.isub(y); - A.isub(C); - B.isub(D); - } else { - y.isub(x); - C.isub(A); - D.isub(B); - } - } - - return { - a: C, - b: D, - gcd: y.iushln(g) - }; - }; - - // This is reduced incarnation of the binary EEA - // above, designated to invert members of the - // _prime_ fields F(p) at a maximal speed - BN.prototype._invmp = function _invmp (p) { - assert(p.negative === 0); - assert(!p.isZero()); - - var a = this; - var b = p.clone(); - - if (a.negative !== 0) { - a = a.umod(p); - } else { - a = a.clone(); - } - - var x1 = new BN(1); - var x2 = new BN(0); - - var delta = b.clone(); - - while (a.cmpn(1) > 0 && b.cmpn(1) > 0) { - for (var i = 0, im = 1; (a.words[0] & im) === 0 && i < 26; ++i, im <<= 1); - if (i > 0) { - a.iushrn(i); - while (i-- > 0) { - if (x1.isOdd()) { - x1.iadd(delta); - } - - x1.iushrn(1); - } - } - - for (var j = 0, jm = 1; (b.words[0] & jm) === 0 && j < 26; ++j, jm <<= 1); - if (j > 0) { - b.iushrn(j); - while (j-- > 0) { - if (x2.isOdd()) { - x2.iadd(delta); - } - - x2.iushrn(1); - } - } - - if (a.cmp(b) >= 0) { - a.isub(b); - x1.isub(x2); - } else { - b.isub(a); - x2.isub(x1); - } - } - - var res; - if (a.cmpn(1) === 0) { - res = x1; - } else { - res = x2; - } - - if (res.cmpn(0) < 0) { - res.iadd(p); - } - - return res; - }; - - BN.prototype.gcd = function gcd (num) { - if (this.isZero()) return num.abs(); - if (num.isZero()) return this.abs(); - - var a = this.clone(); - var b = num.clone(); - a.negative = 0; - b.negative = 0; - - // Remove common factor of two - for (var shift = 0; a.isEven() && b.isEven(); shift++) { - a.iushrn(1); - b.iushrn(1); - } - - do { - while (a.isEven()) { - a.iushrn(1); - } - while (b.isEven()) { - b.iushrn(1); - } - - var r = a.cmp(b); - if (r < 0) { - // Swap `a` and `b` to make `a` always bigger than `b` - var t = a; - a = b; - b = t; - } else if (r === 0 || b.cmpn(1) === 0) { - break; - } - - a.isub(b); - } while (true); - - return b.iushln(shift); - }; - - // Invert number in the field F(num) - BN.prototype.invm = function invm (num) { - return this.egcd(num).a.umod(num); - }; - - BN.prototype.isEven = function isEven () { - return (this.words[0] & 1) === 0; - }; - - BN.prototype.isOdd = function isOdd () { - return (this.words[0] & 1) === 1; - }; - - // And first word and num - BN.prototype.andln = function andln (num) { - return this.words[0] & num; - }; - - // Increment at the bit position in-line - BN.prototype.bincn = function bincn (bit) { - assert(typeof bit === 'number'); - var r = bit % 26; - var s = (bit - r) / 26; - var q = 1 << r; - - // Fast case: bit is much higher than all existing words - if (this.length <= s) { - this._expand(s + 1); - this.words[s] |= q; - return this; - } - - // Add bit and propagate, if needed - var carry = q; - for (var i = s; carry !== 0 && i < this.length; i++) { - var w = this.words[i] | 0; - w += carry; - carry = w >>> 26; - w &= 0x3ffffff; - this.words[i] = w; - } - if (carry !== 0) { - this.words[i] = carry; - this.length++; - } - return this; - }; - - BN.prototype.isZero = function isZero () { - return this.length === 1 && this.words[0] === 0; - }; - - BN.prototype.cmpn = function cmpn (num) { - var negative = num < 0; - - if (this.negative !== 0 && !negative) return -1; - if (this.negative === 0 && negative) return 1; - - this.strip(); - - var res; - if (this.length > 1) { - res = 1; - } else { - if (negative) { - num = -num; - } - - assert(num <= 0x3ffffff, 'Number is too big'); - - var w = this.words[0] | 0; - res = w === num ? 0 : w < num ? -1 : 1; - } - if (this.negative !== 0) return -res | 0; - return res; - }; - - // Compare two numbers and return: - // 1 - if `this` > `num` - // 0 - if `this` == `num` - // -1 - if `this` < `num` - BN.prototype.cmp = function cmp (num) { - if (this.negative !== 0 && num.negative === 0) return -1; - if (this.negative === 0 && num.negative !== 0) return 1; - - var res = this.ucmp(num); - if (this.negative !== 0) return -res | 0; - return res; - }; - - // Unsigned comparison - BN.prototype.ucmp = function ucmp (num) { - // At this point both numbers have the same sign - if (this.length > num.length) return 1; - if (this.length < num.length) return -1; - - var res = 0; - for (var i = this.length - 1; i >= 0; i--) { - var a = this.words[i] | 0; - var b = num.words[i] | 0; - - if (a === b) continue; - if (a < b) { - res = -1; - } else if (a > b) { - res = 1; - } - break; - } - return res; - }; - - BN.prototype.gtn = function gtn (num) { - return this.cmpn(num) === 1; - }; - - BN.prototype.gt = function gt (num) { - return this.cmp(num) === 1; - }; - - BN.prototype.gten = function gten (num) { - return this.cmpn(num) >= 0; - }; - - BN.prototype.gte = function gte (num) { - return this.cmp(num) >= 0; - }; - - BN.prototype.ltn = function ltn (num) { - return this.cmpn(num) === -1; - }; - - BN.prototype.lt = function lt (num) { - return this.cmp(num) === -1; - }; - - BN.prototype.lten = function lten (num) { - return this.cmpn(num) <= 0; - }; - - BN.prototype.lte = function lte (num) { - return this.cmp(num) <= 0; - }; - - BN.prototype.eqn = function eqn (num) { - return this.cmpn(num) === 0; - }; - - BN.prototype.eq = function eq (num) { - return this.cmp(num) === 0; - }; - - // - // A reduce context, could be using montgomery or something better, depending - // on the `m` itself. - // - BN.red = function red (num) { - return new Red(num); - }; - - BN.prototype.toRed = function toRed (ctx) { - assert(!this.red, 'Already a number in reduction context'); - assert(this.negative === 0, 'red works only with positives'); - return ctx.convertTo(this)._forceRed(ctx); - }; - - BN.prototype.fromRed = function fromRed () { - assert(this.red, 'fromRed works only with numbers in reduction context'); - return this.red.convertFrom(this); - }; - - BN.prototype._forceRed = function _forceRed (ctx) { - this.red = ctx; - return this; - }; - - BN.prototype.forceRed = function forceRed (ctx) { - assert(!this.red, 'Already a number in reduction context'); - return this._forceRed(ctx); - }; - - BN.prototype.redAdd = function redAdd (num) { - assert(this.red, 'redAdd works only with red numbers'); - return this.red.add(this, num); - }; - - BN.prototype.redIAdd = function redIAdd (num) { - assert(this.red, 'redIAdd works only with red numbers'); - return this.red.iadd(this, num); - }; - - BN.prototype.redSub = function redSub (num) { - assert(this.red, 'redSub works only with red numbers'); - return this.red.sub(this, num); - }; - - BN.prototype.redISub = function redISub (num) { - assert(this.red, 'redISub works only with red numbers'); - return this.red.isub(this, num); - }; - - BN.prototype.redShl = function redShl (num) { - assert(this.red, 'redShl works only with red numbers'); - return this.red.shl(this, num); - }; - - BN.prototype.redMul = function redMul (num) { - assert(this.red, 'redMul works only with red numbers'); - this.red._verify2(this, num); - return this.red.mul(this, num); - }; - - BN.prototype.redIMul = function redIMul (num) { - assert(this.red, 'redMul works only with red numbers'); - this.red._verify2(this, num); - return this.red.imul(this, num); - }; - - BN.prototype.redSqr = function redSqr () { - assert(this.red, 'redSqr works only with red numbers'); - this.red._verify1(this); - return this.red.sqr(this); - }; - - BN.prototype.redISqr = function redISqr () { - assert(this.red, 'redISqr works only with red numbers'); - this.red._verify1(this); - return this.red.isqr(this); - }; - - // Square root over p - BN.prototype.redSqrt = function redSqrt () { - assert(this.red, 'redSqrt works only with red numbers'); - this.red._verify1(this); - return this.red.sqrt(this); - }; - - BN.prototype.redInvm = function redInvm () { - assert(this.red, 'redInvm works only with red numbers'); - this.red._verify1(this); - return this.red.invm(this); - }; - - // Return negative clone of `this` % `red modulo` - BN.prototype.redNeg = function redNeg () { - assert(this.red, 'redNeg works only with red numbers'); - this.red._verify1(this); - return this.red.neg(this); - }; - - BN.prototype.redPow = function redPow (num) { - assert(this.red && !num.red, 'redPow(normalNum)'); - this.red._verify1(this); - return this.red.pow(this, num); - }; - - // Prime numbers with efficient reduction - var primes = { - k256: null, - p224: null, - p192: null, - p25519: null - }; - - // Pseudo-Mersenne prime - function MPrime (name, p) { - // P = 2 ^ N - K - this.name = name; - this.p = new BN(p, 16); - this.n = this.p.bitLength(); - this.k = new BN(1).iushln(this.n).isub(this.p); - - this.tmp = this._tmp(); - } - - MPrime.prototype._tmp = function _tmp () { - var tmp = new BN(null); - tmp.words = new Array(Math.ceil(this.n / 13)); - return tmp; - }; - - MPrime.prototype.ireduce = function ireduce (num) { - // Assumes that `num` is less than `P^2` - // num = HI * (2 ^ N - K) + HI * K + LO = HI * K + LO (mod P) - var r = num; - var rlen; - - do { - this.split(r, this.tmp); - r = this.imulK(r); - r = r.iadd(this.tmp); - rlen = r.bitLength(); - } while (rlen > this.n); - - var cmp = rlen < this.n ? -1 : r.ucmp(this.p); - if (cmp === 0) { - r.words[0] = 0; - r.length = 1; - } else if (cmp > 0) { - r.isub(this.p); - } else { - if (r.strip !== undefined) { - // r is BN v4 instance - r.strip(); - } else { - // r is BN v5 instance - r._strip(); - } - } - - return r; - }; - - MPrime.prototype.split = function split (input, out) { - input.iushrn(this.n, 0, out); - }; - - MPrime.prototype.imulK = function imulK (num) { - return num.imul(this.k); - }; - - function K256 () { - MPrime.call( - this, - 'k256', - 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f'); - } - inherits(K256, MPrime); - - K256.prototype.split = function split (input, output) { - // 256 = 9 * 26 + 22 - var mask = 0x3fffff; - - var outLen = Math.min(input.length, 9); - for (var i = 0; i < outLen; i++) { - output.words[i] = input.words[i]; - } - output.length = outLen; - - if (input.length <= 9) { - input.words[0] = 0; - input.length = 1; - return; - } - - // Shift by 9 limbs - var prev = input.words[9]; - output.words[output.length++] = prev & mask; - - for (i = 10; i < input.length; i++) { - var next = input.words[i] | 0; - input.words[i - 10] = ((next & mask) << 4) | (prev >>> 22); - prev = next; - } - prev >>>= 22; - input.words[i - 10] = prev; - if (prev === 0 && input.length > 10) { - input.length -= 10; - } else { - input.length -= 9; - } - }; - - K256.prototype.imulK = function imulK (num) { - // K = 0x1000003d1 = [ 0x40, 0x3d1 ] - num.words[num.length] = 0; - num.words[num.length + 1] = 0; - num.length += 2; - - // bounded at: 0x40 * 0x3ffffff + 0x3d0 = 0x100000390 - var lo = 0; - for (var i = 0; i < num.length; i++) { - var w = num.words[i] | 0; - lo += w * 0x3d1; - num.words[i] = lo & 0x3ffffff; - lo = w * 0x40 + ((lo / 0x4000000) | 0); - } - - // Fast length reduction - if (num.words[num.length - 1] === 0) { - num.length--; - if (num.words[num.length - 1] === 0) { - num.length--; - } - } - return num; - }; - - function P224 () { - MPrime.call( - this, - 'p224', - 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001'); - } - inherits(P224, MPrime); - - function P192 () { - MPrime.call( - this, - 'p192', - 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff'); - } - inherits(P192, MPrime); - - function P25519 () { - // 2 ^ 255 - 19 - MPrime.call( - this, - '25519', - '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed'); - } - inherits(P25519, MPrime); - - P25519.prototype.imulK = function imulK (num) { - // K = 0x13 - var carry = 0; - for (var i = 0; i < num.length; i++) { - var hi = (num.words[i] | 0) * 0x13 + carry; - var lo = hi & 0x3ffffff; - hi >>>= 26; - - num.words[i] = lo; - carry = hi; - } - if (carry !== 0) { - num.words[num.length++] = carry; - } - return num; - }; - - // Exported mostly for testing purposes, use plain name instead - BN._prime = function prime (name) { - // Cached version of prime - if (primes[name]) return primes[name]; - - var prime; - if (name === 'k256') { - prime = new K256(); - } else if (name === 'p224') { - prime = new P224(); - } else if (name === 'p192') { - prime = new P192(); - } else if (name === 'p25519') { - prime = new P25519(); - } else { - throw new Error('Unknown prime ' + name); - } - primes[name] = prime; - - return prime; - }; - - // - // Base reduction engine - // - function Red (m) { - if (typeof m === 'string') { - var prime = BN._prime(m); - this.m = prime.p; - this.prime = prime; - } else { - assert(m.gtn(1), 'modulus must be greater than 1'); - this.m = m; - this.prime = null; - } - } - - Red.prototype._verify1 = function _verify1 (a) { - assert(a.negative === 0, 'red works only with positives'); - assert(a.red, 'red works only with red numbers'); - }; - - Red.prototype._verify2 = function _verify2 (a, b) { - assert((a.negative | b.negative) === 0, 'red works only with positives'); - assert(a.red && a.red === b.red, - 'red works only with red numbers'); - }; - - Red.prototype.imod = function imod (a) { - if (this.prime) return this.prime.ireduce(a)._forceRed(this); - return a.umod(this.m)._forceRed(this); - }; - - Red.prototype.neg = function neg (a) { - if (a.isZero()) { - return a.clone(); - } - - return this.m.sub(a)._forceRed(this); - }; - - Red.prototype.add = function add (a, b) { - this._verify2(a, b); - - var res = a.add(b); - if (res.cmp(this.m) >= 0) { - res.isub(this.m); - } - return res._forceRed(this); - }; - - Red.prototype.iadd = function iadd (a, b) { - this._verify2(a, b); - - var res = a.iadd(b); - if (res.cmp(this.m) >= 0) { - res.isub(this.m); - } - return res; - }; - - Red.prototype.sub = function sub (a, b) { - this._verify2(a, b); - - var res = a.sub(b); - if (res.cmpn(0) < 0) { - res.iadd(this.m); - } - return res._forceRed(this); - }; - - Red.prototype.isub = function isub (a, b) { - this._verify2(a, b); - - var res = a.isub(b); - if (res.cmpn(0) < 0) { - res.iadd(this.m); - } - return res; - }; - - Red.prototype.shl = function shl (a, num) { - this._verify1(a); - return this.imod(a.ushln(num)); - }; - - Red.prototype.imul = function imul (a, b) { - this._verify2(a, b); - return this.imod(a.imul(b)); - }; - - Red.prototype.mul = function mul (a, b) { - this._verify2(a, b); - return this.imod(a.mul(b)); - }; - - Red.prototype.isqr = function isqr (a) { - return this.imul(a, a.clone()); - }; - - Red.prototype.sqr = function sqr (a) { - return this.mul(a, a); - }; - - Red.prototype.sqrt = function sqrt (a) { - if (a.isZero()) return a.clone(); - - var mod3 = this.m.andln(3); - assert(mod3 % 2 === 1); - - // Fast case - if (mod3 === 3) { - var pow = this.m.add(new BN(1)).iushrn(2); - return this.pow(a, pow); - } - - // Tonelli-Shanks algorithm (Totally unoptimized and slow) - // - // Find Q and S, that Q * 2 ^ S = (P - 1) - var q = this.m.subn(1); - var s = 0; - while (!q.isZero() && q.andln(1) === 0) { - s++; - q.iushrn(1); - } - assert(!q.isZero()); - - var one = new BN(1).toRed(this); - var nOne = one.redNeg(); - - // Find quadratic non-residue - // NOTE: Max is such because of generalized Riemann hypothesis. - var lpow = this.m.subn(1).iushrn(1); - var z = this.m.bitLength(); - z = new BN(2 * z * z).toRed(this); - - while (this.pow(z, lpow).cmp(nOne) !== 0) { - z.redIAdd(nOne); - } - - var c = this.pow(z, q); - var r = this.pow(a, q.addn(1).iushrn(1)); - var t = this.pow(a, q); - var m = s; - while (t.cmp(one) !== 0) { - var tmp = t; - for (var i = 0; tmp.cmp(one) !== 0; i++) { - tmp = tmp.redSqr(); - } - assert(i < m); - var b = this.pow(c, new BN(1).iushln(m - i - 1)); - - r = r.redMul(b); - c = b.redSqr(); - t = t.redMul(c); - m = i; - } - - return r; - }; - - Red.prototype.invm = function invm (a) { - var inv = a._invmp(this.m); - if (inv.negative !== 0) { - inv.negative = 0; - return this.imod(inv).redNeg(); - } else { - return this.imod(inv); - } - }; - - Red.prototype.pow = function pow (a, num) { - if (num.isZero()) return new BN(1).toRed(this); - if (num.cmpn(1) === 0) return a.clone(); - - var windowSize = 4; - var wnd = new Array(1 << windowSize); - wnd[0] = new BN(1).toRed(this); - wnd[1] = a; - for (var i = 2; i < wnd.length; i++) { - wnd[i] = this.mul(wnd[i - 1], a); - } - - var res = wnd[0]; - var current = 0; - var currentLen = 0; - var start = num.bitLength() % 26; - if (start === 0) { - start = 26; - } - - for (i = num.length - 1; i >= 0; i--) { - var word = num.words[i]; - for (var j = start - 1; j >= 0; j--) { - var bit = (word >> j) & 1; - if (res !== wnd[0]) { - res = this.sqr(res); - } - - if (bit === 0 && current === 0) { - currentLen = 0; - continue; - } - - current <<= 1; - current |= bit; - currentLen++; - if (currentLen !== windowSize && (i !== 0 || j !== 0)) continue; - - res = this.mul(res, wnd[current]); - currentLen = 0; - current = 0; - } - start = 26; - } - - return res; - }; - - Red.prototype.convertTo = function convertTo (num) { - var r = num.umod(this.m); - - return r === num ? r.clone() : r; - }; - - Red.prototype.convertFrom = function convertFrom (num) { - var res = num.clone(); - res.red = null; - return res; - }; - - // - // Montgomery method engine - // - - BN.mont = function mont (num) { - return new Mont(num); - }; - - function Mont (m) { - Red.call(this, m); - - this.shift = this.m.bitLength(); - if (this.shift % 26 !== 0) { - this.shift += 26 - (this.shift % 26); - } - - this.r = new BN(1).iushln(this.shift); - this.r2 = this.imod(this.r.sqr()); - this.rinv = this.r._invmp(this.m); - - this.minv = this.rinv.mul(this.r).isubn(1).div(this.m); - this.minv = this.minv.umod(this.r); - this.minv = this.r.sub(this.minv); - } - inherits(Mont, Red); - - Mont.prototype.convertTo = function convertTo (num) { - return this.imod(num.ushln(this.shift)); - }; - - Mont.prototype.convertFrom = function convertFrom (num) { - var r = this.imod(num.mul(this.rinv)); - r.red = null; - return r; - }; - - Mont.prototype.imul = function imul (a, b) { - if (a.isZero() || b.isZero()) { - a.words[0] = 0; - a.length = 1; - return a; - } - - var t = a.imul(b); - var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); - var u = t.isub(c).iushrn(this.shift); - var res = u; - - if (u.cmp(this.m) >= 0) { - res = u.isub(this.m); - } else if (u.cmpn(0) < 0) { - res = u.iadd(this.m); - } - - return res._forceRed(this); - }; - - Mont.prototype.mul = function mul (a, b) { - if (a.isZero() || b.isZero()) return new BN(0)._forceRed(this); - - var t = a.mul(b); - var c = t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m); - var u = t.isub(c).iushrn(this.shift); - var res = u; - if (u.cmp(this.m) >= 0) { - res = u.isub(this.m); - } else if (u.cmpn(0) < 0) { - res = u.iadd(this.m); - } - - return res._forceRed(this); - }; - - Mont.prototype.invm = function invm (a) { - // (AR)^-1 * R^2 = (A^-1 * R^-1) * R^2 = A^-1 * R - var res = this.imod(a._invmp(this.m).mul(this.r2)); - return res._forceRed(this); - }; - })(module, commonjsGlobal); -} (bn)); - -var elliptic = {}; - -var name = "elliptic"; -var version = "6.5.4"; -var description = "EC cryptography"; -var main = "lib/elliptic.js"; -var files = [ - "lib" -]; -var scripts = { - lint: "eslint lib test", - "lint:fix": "npm run lint -- --fix", - unit: "istanbul test _mocha --reporter=spec test/index.js", - test: "npm run lint && npm run unit", - version: "grunt dist && git add dist/" -}; -var repository = { - type: "git", - url: "git@github.com:indutny/elliptic" -}; -var keywords = [ - "EC", - "Elliptic", - "curve", - "Cryptography" -]; -var author = "Fedor Indutny "; -var license = "MIT"; -var bugs = { - url: "https://github.com/indutny/elliptic/issues" -}; -var homepage = "https://github.com/indutny/elliptic"; -var devDependencies = { - brfs: "^2.0.2", - coveralls: "^3.1.0", - eslint: "^7.6.0", - grunt: "^1.2.1", - "grunt-browserify": "^5.3.0", - "grunt-cli": "^1.3.2", - "grunt-contrib-connect": "^3.0.0", - "grunt-contrib-copy": "^1.0.0", - "grunt-contrib-uglify": "^5.0.0", - "grunt-mocha-istanbul": "^5.0.2", - "grunt-saucelabs": "^9.0.1", - istanbul: "^0.4.5", - mocha: "^8.0.1" -}; -var dependencies = { - "bn.js": "^4.11.9", - brorand: "^1.1.0", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.1", - inherits: "^2.0.4", - "minimalistic-assert": "^1.0.1", - "minimalistic-crypto-utils": "^1.0.1" -}; -var require$$0 = { - name: name, - version: version, - description: description, - main: main, - files: files, - scripts: scripts, - repository: repository, - keywords: keywords, - author: author, - license: license, - bugs: bugs, - homepage: homepage, - devDependencies: devDependencies, - dependencies: dependencies -}; - -var utils$m = {}; - -var minimalisticAssert = assert$g; - -function assert$g(val, msg) { - if (!val) - throw new Error(msg || 'Assertion failed'); -} - -assert$g.equal = function assertEqual(l, r, msg) { - if (l != r) - throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r)); -}; - -var utils$l = {}; - -(function (exports) { - - var utils = exports; - - function toArray(msg, enc) { - if (Array.isArray(msg)) - return msg.slice(); - if (!msg) - return []; - var res = []; - if (typeof msg !== 'string') { - for (var i = 0; i < msg.length; i++) - res[i] = msg[i] | 0; - return res; - } - if (enc === 'hex') { - msg = msg.replace(/[^a-z0-9]+/ig, ''); - if (msg.length % 2 !== 0) - msg = '0' + msg; - for (var i = 0; i < msg.length; i += 2) - res.push(parseInt(msg[i] + msg[i + 1], 16)); - } else { - for (var i = 0; i < msg.length; i++) { - var c = msg.charCodeAt(i); - var hi = c >> 8; - var lo = c & 0xff; - if (hi) - res.push(hi, lo); - else - res.push(lo); - } - } - return res; - } - utils.toArray = toArray; - - function zero2(word) { - if (word.length === 1) - return '0' + word; - else - return word; - } - utils.zero2 = zero2; - - function toHex(msg) { - var res = ''; - for (var i = 0; i < msg.length; i++) - res += zero2(msg[i].toString(16)); - return res; - } - utils.toHex = toHex; - - utils.encode = function encode(arr, enc) { - if (enc === 'hex') - return toHex(arr); - else - return arr; - }; -} (utils$l)); - -(function (exports) { - - var utils = exports; - var BN = bn.exports; - var minAssert = minimalisticAssert; - var minUtils = utils$l; - - utils.assert = minAssert; - utils.toArray = minUtils.toArray; - utils.zero2 = minUtils.zero2; - utils.toHex = minUtils.toHex; - utils.encode = minUtils.encode; - - // Represent num in a w-NAF form - function getNAF(num, w, bits) { - var naf = new Array(Math.max(num.bitLength(), bits) + 1); - naf.fill(0); - - var ws = 1 << (w + 1); - var k = num.clone(); - - for (var i = 0; i < naf.length; i++) { - var z; - var mod = k.andln(ws - 1); - if (k.isOdd()) { - if (mod > (ws >> 1) - 1) - z = (ws >> 1) - mod; - else - z = mod; - k.isubn(z); - } else { - z = 0; - } - - naf[i] = z; - k.iushrn(1); - } - - return naf; - } - utils.getNAF = getNAF; - - // Represent k1, k2 in a Joint Sparse Form - function getJSF(k1, k2) { - var jsf = [ - [], - [], - ]; - - k1 = k1.clone(); - k2 = k2.clone(); - var d1 = 0; - var d2 = 0; - var m8; - while (k1.cmpn(-d1) > 0 || k2.cmpn(-d2) > 0) { - // First phase - var m14 = (k1.andln(3) + d1) & 3; - var m24 = (k2.andln(3) + d2) & 3; - if (m14 === 3) - m14 = -1; - if (m24 === 3) - m24 = -1; - var u1; - if ((m14 & 1) === 0) { - u1 = 0; - } else { - m8 = (k1.andln(7) + d1) & 7; - if ((m8 === 3 || m8 === 5) && m24 === 2) - u1 = -m14; - else - u1 = m14; - } - jsf[0].push(u1); - - var u2; - if ((m24 & 1) === 0) { - u2 = 0; - } else { - m8 = (k2.andln(7) + d2) & 7; - if ((m8 === 3 || m8 === 5) && m14 === 2) - u2 = -m24; - else - u2 = m24; - } - jsf[1].push(u2); - - // Second phase - if (2 * d1 === u1 + 1) - d1 = 1 - d1; - if (2 * d2 === u2 + 1) - d2 = 1 - d2; - k1.iushrn(1); - k2.iushrn(1); - } - - return jsf; - } - utils.getJSF = getJSF; - - function cachedProperty(obj, name, computer) { - var key = '_' + name; - obj.prototype[name] = function cachedProperty() { - return this[key] !== undefined ? this[key] : - this[key] = computer.call(this); - }; - } - utils.cachedProperty = cachedProperty; - - function parseBytes(bytes) { - return typeof bytes === 'string' ? utils.toArray(bytes, 'hex') : - bytes; - } - utils.parseBytes = parseBytes; - - function intFromLE(bytes) { - return new BN(bytes, 'hex', 'le'); - } - utils.intFromLE = intFromLE; -} (utils$m)); - -var brorand = {exports: {}}; - -var r$1; - -brorand.exports = function rand(len) { - if (!r$1) - r$1 = new Rand(null); - - return r$1.generate(len); -}; - -function Rand(rand) { - this.rand = rand; -} -brorand.exports.Rand = Rand; - -Rand.prototype.generate = function generate(len) { - return this._rand(len); -}; - -// Emulate crypto API using randy -Rand.prototype._rand = function _rand(n) { - if (this.rand.getBytes) - return this.rand.getBytes(n); - - var res = new Uint8Array(n); - for (var i = 0; i < res.length; i++) - res[i] = this.rand.getByte(); - return res; -}; - -if (typeof self === 'object') { - if (self.crypto && self.crypto.getRandomValues) { - // Modern browsers - Rand.prototype._rand = function _rand(n) { - var arr = new Uint8Array(n); - self.crypto.getRandomValues(arr); - return arr; - }; - } else if (self.msCrypto && self.msCrypto.getRandomValues) { - // IE - Rand.prototype._rand = function _rand(n) { - var arr = new Uint8Array(n); - self.msCrypto.getRandomValues(arr); - return arr; - }; - - // Safari's WebWorkers do not have `crypto` - } else if (typeof window === 'object') { - // Old junk - Rand.prototype._rand = function() { - throw new Error('Not implemented yet'); - }; - } -} else { - // Node.js or Web worker with no crypto support - try { - var crypto$4 = require('crypto'); - if (typeof crypto$4.randomBytes !== 'function') - throw new Error('Not supported'); - - Rand.prototype._rand = function _rand(n) { - return crypto$4.randomBytes(n); - }; - } catch (e) { - } -} - -var curve = {}; - -var BN$8 = bn.exports; -var utils$k = utils$m; -var getNAF = utils$k.getNAF; -var getJSF = utils$k.getJSF; -var assert$f = utils$k.assert; - -function BaseCurve(type, conf) { - this.type = type; - this.p = new BN$8(conf.p, 16); - - // Use Montgomery, when there is no fast reduction for the prime - this.red = conf.prime ? BN$8.red(conf.prime) : BN$8.mont(this.p); - - // Useful for many curves - this.zero = new BN$8(0).toRed(this.red); - this.one = new BN$8(1).toRed(this.red); - this.two = new BN$8(2).toRed(this.red); - - // Curve configuration, optional - this.n = conf.n && new BN$8(conf.n, 16); - this.g = conf.g && this.pointFromJSON(conf.g, conf.gRed); - - // Temporary arrays - this._wnafT1 = new Array(4); - this._wnafT2 = new Array(4); - this._wnafT3 = new Array(4); - this._wnafT4 = new Array(4); - - this._bitLength = this.n ? this.n.bitLength() : 0; - - // Generalized Greg Maxwell's trick - var adjustCount = this.n && this.p.div(this.n); - if (!adjustCount || adjustCount.cmpn(100) > 0) { - this.redN = null; - } else { - this._maxwellTrick = true; - this.redN = this.n.toRed(this.red); - } -} -var base$2 = BaseCurve; - -BaseCurve.prototype.point = function point() { - throw new Error('Not implemented'); -}; - -BaseCurve.prototype.validate = function validate() { - throw new Error('Not implemented'); -}; - -BaseCurve.prototype._fixedNafMul = function _fixedNafMul(p, k) { - assert$f(p.precomputed); - var doubles = p._getDoubles(); - - var naf = getNAF(k, 1, this._bitLength); - var I = (1 << (doubles.step + 1)) - (doubles.step % 2 === 0 ? 2 : 1); - I /= 3; - - // Translate into more windowed form - var repr = []; - var j; - var nafW; - for (j = 0; j < naf.length; j += doubles.step) { - nafW = 0; - for (var l = j + doubles.step - 1; l >= j; l--) - nafW = (nafW << 1) + naf[l]; - repr.push(nafW); - } - - var a = this.jpoint(null, null, null); - var b = this.jpoint(null, null, null); - for (var i = I; i > 0; i--) { - for (j = 0; j < repr.length; j++) { - nafW = repr[j]; - if (nafW === i) - b = b.mixedAdd(doubles.points[j]); - else if (nafW === -i) - b = b.mixedAdd(doubles.points[j].neg()); - } - a = a.add(b); - } - return a.toP(); -}; - -BaseCurve.prototype._wnafMul = function _wnafMul(p, k) { - var w = 4; - - // Precompute window - var nafPoints = p._getNAFPoints(w); - w = nafPoints.wnd; - var wnd = nafPoints.points; - - // Get NAF form - var naf = getNAF(k, w, this._bitLength); - - // Add `this`*(N+1) for every w-NAF index - var acc = this.jpoint(null, null, null); - for (var i = naf.length - 1; i >= 0; i--) { - // Count zeroes - for (var l = 0; i >= 0 && naf[i] === 0; i--) - l++; - if (i >= 0) - l++; - acc = acc.dblp(l); - - if (i < 0) - break; - var z = naf[i]; - assert$f(z !== 0); - if (p.type === 'affine') { - // J +- P - if (z > 0) - acc = acc.mixedAdd(wnd[(z - 1) >> 1]); - else - acc = acc.mixedAdd(wnd[(-z - 1) >> 1].neg()); - } else { - // J +- J - if (z > 0) - acc = acc.add(wnd[(z - 1) >> 1]); - else - acc = acc.add(wnd[(-z - 1) >> 1].neg()); - } - } - return p.type === 'affine' ? acc.toP() : acc; -}; - -BaseCurve.prototype._wnafMulAdd = function _wnafMulAdd(defW, - points, - coeffs, - len, - jacobianResult) { - var wndWidth = this._wnafT1; - var wnd = this._wnafT2; - var naf = this._wnafT3; - - // Fill all arrays - var max = 0; - var i; - var j; - var p; - for (i = 0; i < len; i++) { - p = points[i]; - var nafPoints = p._getNAFPoints(defW); - wndWidth[i] = nafPoints.wnd; - wnd[i] = nafPoints.points; - } - - // Comb small window NAFs - for (i = len - 1; i >= 1; i -= 2) { - var a = i - 1; - var b = i; - if (wndWidth[a] !== 1 || wndWidth[b] !== 1) { - naf[a] = getNAF(coeffs[a], wndWidth[a], this._bitLength); - naf[b] = getNAF(coeffs[b], wndWidth[b], this._bitLength); - max = Math.max(naf[a].length, max); - max = Math.max(naf[b].length, max); - continue; - } - - var comb = [ - points[a], /* 1 */ - null, /* 3 */ - null, /* 5 */ - points[b], /* 7 */ - ]; - - // Try to avoid Projective points, if possible - if (points[a].y.cmp(points[b].y) === 0) { - comb[1] = points[a].add(points[b]); - comb[2] = points[a].toJ().mixedAdd(points[b].neg()); - } else if (points[a].y.cmp(points[b].y.redNeg()) === 0) { - comb[1] = points[a].toJ().mixedAdd(points[b]); - comb[2] = points[a].add(points[b].neg()); - } else { - comb[1] = points[a].toJ().mixedAdd(points[b]); - comb[2] = points[a].toJ().mixedAdd(points[b].neg()); - } - - var index = [ - -3, /* -1 -1 */ - -1, /* -1 0 */ - -5, /* -1 1 */ - -7, /* 0 -1 */ - 0, /* 0 0 */ - 7, /* 0 1 */ - 5, /* 1 -1 */ - 1, /* 1 0 */ - 3, /* 1 1 */ - ]; - - var jsf = getJSF(coeffs[a], coeffs[b]); - max = Math.max(jsf[0].length, max); - naf[a] = new Array(max); - naf[b] = new Array(max); - for (j = 0; j < max; j++) { - var ja = jsf[0][j] | 0; - var jb = jsf[1][j] | 0; - - naf[a][j] = index[(ja + 1) * 3 + (jb + 1)]; - naf[b][j] = 0; - wnd[a] = comb; - } - } - - var acc = this.jpoint(null, null, null); - var tmp = this._wnafT4; - for (i = max; i >= 0; i--) { - var k = 0; - - while (i >= 0) { - var zero = true; - for (j = 0; j < len; j++) { - tmp[j] = naf[j][i] | 0; - if (tmp[j] !== 0) - zero = false; - } - if (!zero) - break; - k++; - i--; - } - if (i >= 0) - k++; - acc = acc.dblp(k); - if (i < 0) - break; - - for (j = 0; j < len; j++) { - var z = tmp[j]; - if (z === 0) - continue; - else if (z > 0) - p = wnd[j][(z - 1) >> 1]; - else if (z < 0) - p = wnd[j][(-z - 1) >> 1].neg(); - - if (p.type === 'affine') - acc = acc.mixedAdd(p); - else - acc = acc.add(p); - } - } - // Zeroify references - for (i = 0; i < len; i++) - wnd[i] = null; - - if (jacobianResult) - return acc; - else - return acc.toP(); -}; - -function BasePoint(curve, type) { - this.curve = curve; - this.type = type; - this.precomputed = null; -} -BaseCurve.BasePoint = BasePoint; - -BasePoint.prototype.eq = function eq(/*other*/) { - throw new Error('Not implemented'); -}; - -BasePoint.prototype.validate = function validate() { - return this.curve.validate(this); -}; - -BaseCurve.prototype.decodePoint = function decodePoint(bytes, enc) { - bytes = utils$k.toArray(bytes, enc); - - var len = this.p.byteLength(); - - // uncompressed, hybrid-odd, hybrid-even - if ((bytes[0] === 0x04 || bytes[0] === 0x06 || bytes[0] === 0x07) && - bytes.length - 1 === 2 * len) { - if (bytes[0] === 0x06) - assert$f(bytes[bytes.length - 1] % 2 === 0); - else if (bytes[0] === 0x07) - assert$f(bytes[bytes.length - 1] % 2 === 1); - - var res = this.point(bytes.slice(1, 1 + len), - bytes.slice(1 + len, 1 + 2 * len)); - - return res; - } else if ((bytes[0] === 0x02 || bytes[0] === 0x03) && - bytes.length - 1 === len) { - return this.pointFromX(bytes.slice(1, 1 + len), bytes[0] === 0x03); - } - throw new Error('Unknown point format'); -}; - -BasePoint.prototype.encodeCompressed = function encodeCompressed(enc) { - return this.encode(enc, true); -}; - -BasePoint.prototype._encode = function _encode(compact) { - var len = this.curve.p.byteLength(); - var x = this.getX().toArray('be', len); - - if (compact) - return [ this.getY().isEven() ? 0x02 : 0x03 ].concat(x); - - return [ 0x04 ].concat(x, this.getY().toArray('be', len)); -}; - -BasePoint.prototype.encode = function encode(enc, compact) { - return utils$k.encode(this._encode(compact), enc); -}; - -BasePoint.prototype.precompute = function precompute(power) { - if (this.precomputed) - return this; - - var precomputed = { - doubles: null, - naf: null, - beta: null, - }; - precomputed.naf = this._getNAFPoints(8); - precomputed.doubles = this._getDoubles(4, power); - precomputed.beta = this._getBeta(); - this.precomputed = precomputed; - - return this; -}; - -BasePoint.prototype._hasDoubles = function _hasDoubles(k) { - if (!this.precomputed) - return false; - - var doubles = this.precomputed.doubles; - if (!doubles) - return false; - - return doubles.points.length >= Math.ceil((k.bitLength() + 1) / doubles.step); -}; - -BasePoint.prototype._getDoubles = function _getDoubles(step, power) { - if (this.precomputed && this.precomputed.doubles) - return this.precomputed.doubles; - - var doubles = [ this ]; - var acc = this; - for (var i = 0; i < power; i += step) { - for (var j = 0; j < step; j++) - acc = acc.dbl(); - doubles.push(acc); - } - return { - step: step, - points: doubles, - }; -}; - -BasePoint.prototype._getNAFPoints = function _getNAFPoints(wnd) { - if (this.precomputed && this.precomputed.naf) - return this.precomputed.naf; - - var res = [ this ]; - var max = (1 << wnd) - 1; - var dbl = max === 1 ? null : this.dbl(); - for (var i = 1; i < max; i++) - res[i] = res[i - 1].add(dbl); - return { - wnd: wnd, - points: res, - }; -}; - -BasePoint.prototype._getBeta = function _getBeta() { - return null; -}; - -BasePoint.prototype.dblp = function dblp(k) { - var r = this; - for (var i = 0; i < k; i++) - r = r.dbl(); - return r; -}; - -var inherits$4 = {exports: {}}; - -var inherits_browser = {exports: {}}; - -var hasRequiredInherits_browser; - -function requireInherits_browser () { - if (hasRequiredInherits_browser) return inherits_browser.exports; - hasRequiredInherits_browser = 1; - if (typeof Object.create === 'function') { - // implementation from standard node.js 'util' module - inherits_browser.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - } - }; - } else { - // old school shim for old browsers - inherits_browser.exports = function inherits(ctor, superCtor) { - if (superCtor) { - ctor.super_ = superCtor; - var TempCtor = function () {}; - TempCtor.prototype = superCtor.prototype; - ctor.prototype = new TempCtor(); - ctor.prototype.constructor = ctor; - } - }; - } - return inherits_browser.exports; -} - -(function (module) { - try { - var util = require('util'); - /* istanbul ignore next */ - if (typeof util.inherits !== 'function') throw ''; - module.exports = util.inherits; - } catch (e) { - /* istanbul ignore next */ - module.exports = requireInherits_browser(); - } -} (inherits$4)); - -var utils$j = utils$m; -var BN$7 = bn.exports; -var inherits$3 = inherits$4.exports; -var Base$2 = base$2; - -var assert$e = utils$j.assert; - -function ShortCurve(conf) { - Base$2.call(this, 'short', conf); - - this.a = new BN$7(conf.a, 16).toRed(this.red); - this.b = new BN$7(conf.b, 16).toRed(this.red); - this.tinv = this.two.redInvm(); - - this.zeroA = this.a.fromRed().cmpn(0) === 0; - this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0; - - // If the curve is endomorphic, precalculate beta and lambda - this.endo = this._getEndomorphism(conf); - this._endoWnafT1 = new Array(4); - this._endoWnafT2 = new Array(4); -} -inherits$3(ShortCurve, Base$2); -var short = ShortCurve; - -ShortCurve.prototype._getEndomorphism = function _getEndomorphism(conf) { - // No efficient endomorphism - if (!this.zeroA || !this.g || !this.n || this.p.modn(3) !== 1) - return; - - // Compute beta and lambda, that lambda * P = (beta * Px; Py) - var beta; - var lambda; - if (conf.beta) { - beta = new BN$7(conf.beta, 16).toRed(this.red); - } else { - var betas = this._getEndoRoots(this.p); - // Choose the smallest beta - beta = betas[0].cmp(betas[1]) < 0 ? betas[0] : betas[1]; - beta = beta.toRed(this.red); - } - if (conf.lambda) { - lambda = new BN$7(conf.lambda, 16); - } else { - // Choose the lambda that is matching selected beta - var lambdas = this._getEndoRoots(this.n); - if (this.g.mul(lambdas[0]).x.cmp(this.g.x.redMul(beta)) === 0) { - lambda = lambdas[0]; - } else { - lambda = lambdas[1]; - assert$e(this.g.mul(lambda).x.cmp(this.g.x.redMul(beta)) === 0); - } - } - - // Get basis vectors, used for balanced length-two representation - var basis; - if (conf.basis) { - basis = conf.basis.map(function(vec) { - return { - a: new BN$7(vec.a, 16), - b: new BN$7(vec.b, 16), - }; - }); - } else { - basis = this._getEndoBasis(lambda); - } - - return { - beta: beta, - lambda: lambda, - basis: basis, - }; -}; - -ShortCurve.prototype._getEndoRoots = function _getEndoRoots(num) { - // Find roots of for x^2 + x + 1 in F - // Root = (-1 +- Sqrt(-3)) / 2 - // - var red = num === this.p ? this.red : BN$7.mont(num); - var tinv = new BN$7(2).toRed(red).redInvm(); - var ntinv = tinv.redNeg(); - - var s = new BN$7(3).toRed(red).redNeg().redSqrt().redMul(tinv); - - var l1 = ntinv.redAdd(s).fromRed(); - var l2 = ntinv.redSub(s).fromRed(); - return [ l1, l2 ]; -}; - -ShortCurve.prototype._getEndoBasis = function _getEndoBasis(lambda) { - // aprxSqrt >= sqrt(this.n) - var aprxSqrt = this.n.ushrn(Math.floor(this.n.bitLength() / 2)); - - // 3.74 - // Run EGCD, until r(L + 1) < aprxSqrt - var u = lambda; - var v = this.n.clone(); - var x1 = new BN$7(1); - var y1 = new BN$7(0); - var x2 = new BN$7(0); - var y2 = new BN$7(1); - - // NOTE: all vectors are roots of: a + b * lambda = 0 (mod n) - var a0; - var b0; - // First vector - var a1; - var b1; - // Second vector - var a2; - var b2; - - var prevR; - var i = 0; - var r; - var x; - while (u.cmpn(0) !== 0) { - var q = v.div(u); - r = v.sub(q.mul(u)); - x = x2.sub(q.mul(x1)); - var y = y2.sub(q.mul(y1)); - - if (!a1 && r.cmp(aprxSqrt) < 0) { - a0 = prevR.neg(); - b0 = x1; - a1 = r.neg(); - b1 = x; - } else if (a1 && ++i === 2) { - break; - } - prevR = r; - - v = u; - u = r; - x2 = x1; - x1 = x; - y2 = y1; - y1 = y; - } - a2 = r.neg(); - b2 = x; - - var len1 = a1.sqr().add(b1.sqr()); - var len2 = a2.sqr().add(b2.sqr()); - if (len2.cmp(len1) >= 0) { - a2 = a0; - b2 = b0; - } - - // Normalize signs - if (a1.negative) { - a1 = a1.neg(); - b1 = b1.neg(); - } - if (a2.negative) { - a2 = a2.neg(); - b2 = b2.neg(); - } - - return [ - { a: a1, b: b1 }, - { a: a2, b: b2 }, - ]; -}; - -ShortCurve.prototype._endoSplit = function _endoSplit(k) { - var basis = this.endo.basis; - var v1 = basis[0]; - var v2 = basis[1]; - - var c1 = v2.b.mul(k).divRound(this.n); - var c2 = v1.b.neg().mul(k).divRound(this.n); - - var p1 = c1.mul(v1.a); - var p2 = c2.mul(v2.a); - var q1 = c1.mul(v1.b); - var q2 = c2.mul(v2.b); - - // Calculate answer - var k1 = k.sub(p1).sub(p2); - var k2 = q1.add(q2).neg(); - return { k1: k1, k2: k2 }; -}; - -ShortCurve.prototype.pointFromX = function pointFromX(x, odd) { - x = new BN$7(x, 16); - if (!x.red) - x = x.toRed(this.red); - - var y2 = x.redSqr().redMul(x).redIAdd(x.redMul(this.a)).redIAdd(this.b); - var y = y2.redSqrt(); - if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) - throw new Error('invalid point'); - - // XXX Is there any way to tell if the number is odd without converting it - // to non-red form? - var isOdd = y.fromRed().isOdd(); - if (odd && !isOdd || !odd && isOdd) - y = y.redNeg(); - - return this.point(x, y); -}; - -ShortCurve.prototype.validate = function validate(point) { - if (point.inf) - return true; - - var x = point.x; - var y = point.y; - - var ax = this.a.redMul(x); - var rhs = x.redSqr().redMul(x).redIAdd(ax).redIAdd(this.b); - return y.redSqr().redISub(rhs).cmpn(0) === 0; -}; - -ShortCurve.prototype._endoWnafMulAdd = - function _endoWnafMulAdd(points, coeffs, jacobianResult) { - var npoints = this._endoWnafT1; - var ncoeffs = this._endoWnafT2; - for (var i = 0; i < points.length; i++) { - var split = this._endoSplit(coeffs[i]); - var p = points[i]; - var beta = p._getBeta(); - - if (split.k1.negative) { - split.k1.ineg(); - p = p.neg(true); - } - if (split.k2.negative) { - split.k2.ineg(); - beta = beta.neg(true); - } - - npoints[i * 2] = p; - npoints[i * 2 + 1] = beta; - ncoeffs[i * 2] = split.k1; - ncoeffs[i * 2 + 1] = split.k2; - } - var res = this._wnafMulAdd(1, npoints, ncoeffs, i * 2, jacobianResult); - - // Clean-up references to points and coefficients - for (var j = 0; j < i * 2; j++) { - npoints[j] = null; - ncoeffs[j] = null; - } - return res; - }; - -function Point$2(curve, x, y, isRed) { - Base$2.BasePoint.call(this, curve, 'affine'); - if (x === null && y === null) { - this.x = null; - this.y = null; - this.inf = true; - } else { - this.x = new BN$7(x, 16); - this.y = new BN$7(y, 16); - // Force redgomery representation when loading from JSON - if (isRed) { - this.x.forceRed(this.curve.red); - this.y.forceRed(this.curve.red); - } - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - this.inf = false; - } -} -inherits$3(Point$2, Base$2.BasePoint); - -ShortCurve.prototype.point = function point(x, y, isRed) { - return new Point$2(this, x, y, isRed); -}; - -ShortCurve.prototype.pointFromJSON = function pointFromJSON(obj, red) { - return Point$2.fromJSON(this, obj, red); -}; - -Point$2.prototype._getBeta = function _getBeta() { - if (!this.curve.endo) - return; - - var pre = this.precomputed; - if (pre && pre.beta) - return pre.beta; - - var beta = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); - if (pre) { - var curve = this.curve; - var endoMul = function(p) { - return curve.point(p.x.redMul(curve.endo.beta), p.y); - }; - pre.beta = beta; - beta.precomputed = { - beta: null, - naf: pre.naf && { - wnd: pre.naf.wnd, - points: pre.naf.points.map(endoMul), - }, - doubles: pre.doubles && { - step: pre.doubles.step, - points: pre.doubles.points.map(endoMul), - }, - }; - } - return beta; -}; - -Point$2.prototype.toJSON = function toJSON() { - if (!this.precomputed) - return [ this.x, this.y ]; - - return [ this.x, this.y, this.precomputed && { - doubles: this.precomputed.doubles && { - step: this.precomputed.doubles.step, - points: this.precomputed.doubles.points.slice(1), - }, - naf: this.precomputed.naf && { - wnd: this.precomputed.naf.wnd, - points: this.precomputed.naf.points.slice(1), - }, - } ]; -}; - -Point$2.fromJSON = function fromJSON(curve, obj, red) { - if (typeof obj === 'string') - obj = JSON.parse(obj); - var res = curve.point(obj[0], obj[1], red); - if (!obj[2]) - return res; - - function obj2point(obj) { - return curve.point(obj[0], obj[1], red); - } - - var pre = obj[2]; - res.precomputed = { - beta: null, - doubles: pre.doubles && { - step: pre.doubles.step, - points: [ res ].concat(pre.doubles.points.map(obj2point)), - }, - naf: pre.naf && { - wnd: pre.naf.wnd, - points: [ res ].concat(pre.naf.points.map(obj2point)), - }, - }; - return res; -}; - -Point$2.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -Point$2.prototype.isInfinity = function isInfinity() { - return this.inf; -}; - -Point$2.prototype.add = function add(p) { - // O + P = P - if (this.inf) - return p; - - // P + O = P - if (p.inf) - return this; - - // P + P = 2P - if (this.eq(p)) - return this.dbl(); - - // P + (-P) = O - if (this.neg().eq(p)) - return this.curve.point(null, null); - - // P + Q = O - if (this.x.cmp(p.x) === 0) - return this.curve.point(null, null); - - var c = this.y.redSub(p.y); - if (c.cmpn(0) !== 0) - c = c.redMul(this.x.redSub(p.x).redInvm()); - var nx = c.redSqr().redISub(this.x).redISub(p.x); - var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); - return this.curve.point(nx, ny); -}; - -Point$2.prototype.dbl = function dbl() { - if (this.inf) - return this; - - // 2P = O - var ys1 = this.y.redAdd(this.y); - if (ys1.cmpn(0) === 0) - return this.curve.point(null, null); - - var a = this.curve.a; - - var x2 = this.x.redSqr(); - var dyinv = ys1.redInvm(); - var c = x2.redAdd(x2).redIAdd(x2).redIAdd(a).redMul(dyinv); - - var nx = c.redSqr().redISub(this.x.redAdd(this.x)); - var ny = c.redMul(this.x.redSub(nx)).redISub(this.y); - return this.curve.point(nx, ny); -}; - -Point$2.prototype.getX = function getX() { - return this.x.fromRed(); -}; - -Point$2.prototype.getY = function getY() { - return this.y.fromRed(); -}; - -Point$2.prototype.mul = function mul(k) { - k = new BN$7(k, 16); - if (this.isInfinity()) - return this; - else if (this._hasDoubles(k)) - return this.curve._fixedNafMul(this, k); - else if (this.curve.endo) - return this.curve._endoWnafMulAdd([ this ], [ k ]); - else - return this.curve._wnafMul(this, k); -}; - -Point$2.prototype.mulAdd = function mulAdd(k1, p2, k2) { - var points = [ this, p2 ]; - var coeffs = [ k1, k2 ]; - if (this.curve.endo) - return this.curve._endoWnafMulAdd(points, coeffs); - else - return this.curve._wnafMulAdd(1, points, coeffs, 2); -}; - -Point$2.prototype.jmulAdd = function jmulAdd(k1, p2, k2) { - var points = [ this, p2 ]; - var coeffs = [ k1, k2 ]; - if (this.curve.endo) - return this.curve._endoWnafMulAdd(points, coeffs, true); - else - return this.curve._wnafMulAdd(1, points, coeffs, 2, true); -}; - -Point$2.prototype.eq = function eq(p) { - return this === p || - this.inf === p.inf && - (this.inf || this.x.cmp(p.x) === 0 && this.y.cmp(p.y) === 0); -}; - -Point$2.prototype.neg = function neg(_precompute) { - if (this.inf) - return this; - - var res = this.curve.point(this.x, this.y.redNeg()); - if (_precompute && this.precomputed) { - var pre = this.precomputed; - var negate = function(p) { - return p.neg(); - }; - res.precomputed = { - naf: pre.naf && { - wnd: pre.naf.wnd, - points: pre.naf.points.map(negate), - }, - doubles: pre.doubles && { - step: pre.doubles.step, - points: pre.doubles.points.map(negate), - }, - }; - } - return res; -}; - -Point$2.prototype.toJ = function toJ() { - if (this.inf) - return this.curve.jpoint(null, null, null); - - var res = this.curve.jpoint(this.x, this.y, this.curve.one); - return res; -}; - -function JPoint(curve, x, y, z) { - Base$2.BasePoint.call(this, curve, 'jacobian'); - if (x === null && y === null && z === null) { - this.x = this.curve.one; - this.y = this.curve.one; - this.z = new BN$7(0); - } else { - this.x = new BN$7(x, 16); - this.y = new BN$7(y, 16); - this.z = new BN$7(z, 16); - } - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - - this.zOne = this.z === this.curve.one; -} -inherits$3(JPoint, Base$2.BasePoint); - -ShortCurve.prototype.jpoint = function jpoint(x, y, z) { - return new JPoint(this, x, y, z); -}; - -JPoint.prototype.toP = function toP() { - if (this.isInfinity()) - return this.curve.point(null, null); - - var zinv = this.z.redInvm(); - var zinv2 = zinv.redSqr(); - var ax = this.x.redMul(zinv2); - var ay = this.y.redMul(zinv2).redMul(zinv); - - return this.curve.point(ax, ay); -}; - -JPoint.prototype.neg = function neg() { - return this.curve.jpoint(this.x, this.y.redNeg(), this.z); -}; - -JPoint.prototype.add = function add(p) { - // O + P = P - if (this.isInfinity()) - return p; - - // P + O = P - if (p.isInfinity()) - return this; - - // 12M + 4S + 7A - var pz2 = p.z.redSqr(); - var z2 = this.z.redSqr(); - var u1 = this.x.redMul(pz2); - var u2 = p.x.redMul(z2); - var s1 = this.y.redMul(pz2.redMul(p.z)); - var s2 = p.y.redMul(z2.redMul(this.z)); - - var h = u1.redSub(u2); - var r = s1.redSub(s2); - if (h.cmpn(0) === 0) { - if (r.cmpn(0) !== 0) - return this.curve.jpoint(null, null, null); - else - return this.dbl(); - } - - var h2 = h.redSqr(); - var h3 = h2.redMul(h); - var v = u1.redMul(h2); - - var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); - var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); - var nz = this.z.redMul(p.z).redMul(h); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.mixedAdd = function mixedAdd(p) { - // O + P = P - if (this.isInfinity()) - return p.toJ(); - - // P + O = P - if (p.isInfinity()) - return this; - - // 8M + 3S + 7A - var z2 = this.z.redSqr(); - var u1 = this.x; - var u2 = p.x.redMul(z2); - var s1 = this.y; - var s2 = p.y.redMul(z2).redMul(this.z); - - var h = u1.redSub(u2); - var r = s1.redSub(s2); - if (h.cmpn(0) === 0) { - if (r.cmpn(0) !== 0) - return this.curve.jpoint(null, null, null); - else - return this.dbl(); - } - - var h2 = h.redSqr(); - var h3 = h2.redMul(h); - var v = u1.redMul(h2); - - var nx = r.redSqr().redIAdd(h3).redISub(v).redISub(v); - var ny = r.redMul(v.redISub(nx)).redISub(s1.redMul(h3)); - var nz = this.z.redMul(h); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.dblp = function dblp(pow) { - if (pow === 0) - return this; - if (this.isInfinity()) - return this; - if (!pow) - return this.dbl(); - - var i; - if (this.curve.zeroA || this.curve.threeA) { - var r = this; - for (i = 0; i < pow; i++) - r = r.dbl(); - return r; - } - - // 1M + 2S + 1A + N * (4S + 5M + 8A) - // N = 1 => 6M + 6S + 9A - var a = this.curve.a; - var tinv = this.curve.tinv; - - var jx = this.x; - var jy = this.y; - var jz = this.z; - var jz4 = jz.redSqr().redSqr(); - - // Reuse results - var jyd = jy.redAdd(jy); - for (i = 0; i < pow; i++) { - var jx2 = jx.redSqr(); - var jyd2 = jyd.redSqr(); - var jyd4 = jyd2.redSqr(); - var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); - - var t1 = jx.redMul(jyd2); - var nx = c.redSqr().redISub(t1.redAdd(t1)); - var t2 = t1.redISub(nx); - var dny = c.redMul(t2); - dny = dny.redIAdd(dny).redISub(jyd4); - var nz = jyd.redMul(jz); - if (i + 1 < pow) - jz4 = jz4.redMul(jyd4); - - jx = nx; - jz = nz; - jyd = dny; - } - - return this.curve.jpoint(jx, jyd.redMul(tinv), jz); -}; - -JPoint.prototype.dbl = function dbl() { - if (this.isInfinity()) - return this; - - if (this.curve.zeroA) - return this._zeroDbl(); - else if (this.curve.threeA) - return this._threeDbl(); - else - return this._dbl(); -}; - -JPoint.prototype._zeroDbl = function _zeroDbl() { - var nx; - var ny; - var nz; - // Z = 1 - if (this.zOne) { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html - // #doubling-mdbl-2007-bl - // 1M + 5S + 14A - - // XX = X1^2 - var xx = this.x.redSqr(); - // YY = Y1^2 - var yy = this.y.redSqr(); - // YYYY = YY^2 - var yyyy = yy.redSqr(); - // S = 2 * ((X1 + YY)^2 - XX - YYYY) - var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); - s = s.redIAdd(s); - // M = 3 * XX + a; a = 0 - var m = xx.redAdd(xx).redIAdd(xx); - // T = M ^ 2 - 2*S - var t = m.redSqr().redISub(s).redISub(s); - - // 8 * YYYY - var yyyy8 = yyyy.redIAdd(yyyy); - yyyy8 = yyyy8.redIAdd(yyyy8); - yyyy8 = yyyy8.redIAdd(yyyy8); - - // X3 = T - nx = t; - // Y3 = M * (S - T) - 8 * YYYY - ny = m.redMul(s.redISub(t)).redISub(yyyy8); - // Z3 = 2*Y1 - nz = this.y.redAdd(this.y); - } else { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html - // #doubling-dbl-2009-l - // 2M + 5S + 13A - - // A = X1^2 - var a = this.x.redSqr(); - // B = Y1^2 - var b = this.y.redSqr(); - // C = B^2 - var c = b.redSqr(); - // D = 2 * ((X1 + B)^2 - A - C) - var d = this.x.redAdd(b).redSqr().redISub(a).redISub(c); - d = d.redIAdd(d); - // E = 3 * A - var e = a.redAdd(a).redIAdd(a); - // F = E^2 - var f = e.redSqr(); - - // 8 * C - var c8 = c.redIAdd(c); - c8 = c8.redIAdd(c8); - c8 = c8.redIAdd(c8); - - // X3 = F - 2 * D - nx = f.redISub(d).redISub(d); - // Y3 = E * (D - X3) - 8 * C - ny = e.redMul(d.redISub(nx)).redISub(c8); - // Z3 = 2 * Y1 * Z1 - nz = this.y.redMul(this.z); - nz = nz.redIAdd(nz); - } - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype._threeDbl = function _threeDbl() { - var nx; - var ny; - var nz; - // Z = 1 - if (this.zOne) { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html - // #doubling-mdbl-2007-bl - // 1M + 5S + 15A - - // XX = X1^2 - var xx = this.x.redSqr(); - // YY = Y1^2 - var yy = this.y.redSqr(); - // YYYY = YY^2 - var yyyy = yy.redSqr(); - // S = 2 * ((X1 + YY)^2 - XX - YYYY) - var s = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); - s = s.redIAdd(s); - // M = 3 * XX + a - var m = xx.redAdd(xx).redIAdd(xx).redIAdd(this.curve.a); - // T = M^2 - 2 * S - var t = m.redSqr().redISub(s).redISub(s); - // X3 = T - nx = t; - // Y3 = M * (S - T) - 8 * YYYY - var yyyy8 = yyyy.redIAdd(yyyy); - yyyy8 = yyyy8.redIAdd(yyyy8); - yyyy8 = yyyy8.redIAdd(yyyy8); - ny = m.redMul(s.redISub(t)).redISub(yyyy8); - // Z3 = 2 * Y1 - nz = this.y.redAdd(this.y); - } else { - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-3.html#doubling-dbl-2001-b - // 3M + 5S - - // delta = Z1^2 - var delta = this.z.redSqr(); - // gamma = Y1^2 - var gamma = this.y.redSqr(); - // beta = X1 * gamma - var beta = this.x.redMul(gamma); - // alpha = 3 * (X1 - delta) * (X1 + delta) - var alpha = this.x.redSub(delta).redMul(this.x.redAdd(delta)); - alpha = alpha.redAdd(alpha).redIAdd(alpha); - // X3 = alpha^2 - 8 * beta - var beta4 = beta.redIAdd(beta); - beta4 = beta4.redIAdd(beta4); - var beta8 = beta4.redAdd(beta4); - nx = alpha.redSqr().redISub(beta8); - // Z3 = (Y1 + Z1)^2 - gamma - delta - nz = this.y.redAdd(this.z).redSqr().redISub(gamma).redISub(delta); - // Y3 = alpha * (4 * beta - X3) - 8 * gamma^2 - var ggamma8 = gamma.redSqr(); - ggamma8 = ggamma8.redIAdd(ggamma8); - ggamma8 = ggamma8.redIAdd(ggamma8); - ggamma8 = ggamma8.redIAdd(ggamma8); - ny = alpha.redMul(beta4.redISub(nx)).redISub(ggamma8); - } - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype._dbl = function _dbl() { - var a = this.curve.a; - - // 4M + 6S + 10A - var jx = this.x; - var jy = this.y; - var jz = this.z; - var jz4 = jz.redSqr().redSqr(); - - var jx2 = jx.redSqr(); - var jy2 = jy.redSqr(); - - var c = jx2.redAdd(jx2).redIAdd(jx2).redIAdd(a.redMul(jz4)); - - var jxd4 = jx.redAdd(jx); - jxd4 = jxd4.redIAdd(jxd4); - var t1 = jxd4.redMul(jy2); - var nx = c.redSqr().redISub(t1.redAdd(t1)); - var t2 = t1.redISub(nx); - - var jyd8 = jy2.redSqr(); - jyd8 = jyd8.redIAdd(jyd8); - jyd8 = jyd8.redIAdd(jyd8); - jyd8 = jyd8.redIAdd(jyd8); - var ny = c.redMul(t2).redISub(jyd8); - var nz = jy.redAdd(jy).redMul(jz); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.trpl = function trpl() { - if (!this.curve.zeroA) - return this.dbl().add(this); - - // hyperelliptic.org/EFD/g1p/auto-shortw-jacobian-0.html#tripling-tpl-2007-bl - // 5M + 10S + ... - - // XX = X1^2 - var xx = this.x.redSqr(); - // YY = Y1^2 - var yy = this.y.redSqr(); - // ZZ = Z1^2 - var zz = this.z.redSqr(); - // YYYY = YY^2 - var yyyy = yy.redSqr(); - // M = 3 * XX + a * ZZ2; a = 0 - var m = xx.redAdd(xx).redIAdd(xx); - // MM = M^2 - var mm = m.redSqr(); - // E = 6 * ((X1 + YY)^2 - XX - YYYY) - MM - var e = this.x.redAdd(yy).redSqr().redISub(xx).redISub(yyyy); - e = e.redIAdd(e); - e = e.redAdd(e).redIAdd(e); - e = e.redISub(mm); - // EE = E^2 - var ee = e.redSqr(); - // T = 16*YYYY - var t = yyyy.redIAdd(yyyy); - t = t.redIAdd(t); - t = t.redIAdd(t); - t = t.redIAdd(t); - // U = (M + E)^2 - MM - EE - T - var u = m.redIAdd(e).redSqr().redISub(mm).redISub(ee).redISub(t); - // X3 = 4 * (X1 * EE - 4 * YY * U) - var yyu4 = yy.redMul(u); - yyu4 = yyu4.redIAdd(yyu4); - yyu4 = yyu4.redIAdd(yyu4); - var nx = this.x.redMul(ee).redISub(yyu4); - nx = nx.redIAdd(nx); - nx = nx.redIAdd(nx); - // Y3 = 8 * Y1 * (U * (T - U) - E * EE) - var ny = this.y.redMul(u.redMul(t.redISub(u)).redISub(e.redMul(ee))); - ny = ny.redIAdd(ny); - ny = ny.redIAdd(ny); - ny = ny.redIAdd(ny); - // Z3 = (Z1 + E)^2 - ZZ - EE - var nz = this.z.redAdd(e).redSqr().redISub(zz).redISub(ee); - - return this.curve.jpoint(nx, ny, nz); -}; - -JPoint.prototype.mul = function mul(k, kbase) { - k = new BN$7(k, kbase); - - return this.curve._wnafMul(this, k); -}; - -JPoint.prototype.eq = function eq(p) { - if (p.type === 'affine') - return this.eq(p.toJ()); - - if (this === p) - return true; - - // x1 * z2^2 == x2 * z1^2 - var z2 = this.z.redSqr(); - var pz2 = p.z.redSqr(); - if (this.x.redMul(pz2).redISub(p.x.redMul(z2)).cmpn(0) !== 0) - return false; - - // y1 * z2^3 == y2 * z1^3 - var z3 = z2.redMul(this.z); - var pz3 = pz2.redMul(p.z); - return this.y.redMul(pz3).redISub(p.y.redMul(z3)).cmpn(0) === 0; -}; - -JPoint.prototype.eqXToP = function eqXToP(x) { - var zs = this.z.redSqr(); - var rx = x.toRed(this.curve.red).redMul(zs); - if (this.x.cmp(rx) === 0) - return true; - - var xc = x.clone(); - var t = this.curve.redN.redMul(zs); - for (;;) { - xc.iadd(this.curve.n); - if (xc.cmp(this.curve.p) >= 0) - return false; - - rx.redIAdd(t); - if (this.x.cmp(rx) === 0) - return true; - } -}; - -JPoint.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -JPoint.prototype.isInfinity = function isInfinity() { - // XXX This code assumes that zero is always zero in red - return this.z.cmpn(0) === 0; -}; - -var BN$6 = bn.exports; -var inherits$2 = inherits$4.exports; -var Base$1 = base$2; - -var utils$i = utils$m; - -function MontCurve(conf) { - Base$1.call(this, 'mont', conf); - - this.a = new BN$6(conf.a, 16).toRed(this.red); - this.b = new BN$6(conf.b, 16).toRed(this.red); - this.i4 = new BN$6(4).toRed(this.red).redInvm(); - this.two = new BN$6(2).toRed(this.red); - this.a24 = this.i4.redMul(this.a.redAdd(this.two)); -} -inherits$2(MontCurve, Base$1); -var mont = MontCurve; - -MontCurve.prototype.validate = function validate(point) { - var x = point.normalize().x; - var x2 = x.redSqr(); - var rhs = x2.redMul(x).redAdd(x2.redMul(this.a)).redAdd(x); - var y = rhs.redSqrt(); - - return y.redSqr().cmp(rhs) === 0; -}; - -function Point$1(curve, x, z) { - Base$1.BasePoint.call(this, curve, 'projective'); - if (x === null && z === null) { - this.x = this.curve.one; - this.z = this.curve.zero; - } else { - this.x = new BN$6(x, 16); - this.z = new BN$6(z, 16); - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - } -} -inherits$2(Point$1, Base$1.BasePoint); - -MontCurve.prototype.decodePoint = function decodePoint(bytes, enc) { - return this.point(utils$i.toArray(bytes, enc), 1); -}; - -MontCurve.prototype.point = function point(x, z) { - return new Point$1(this, x, z); -}; - -MontCurve.prototype.pointFromJSON = function pointFromJSON(obj) { - return Point$1.fromJSON(this, obj); -}; - -Point$1.prototype.precompute = function precompute() { - // No-op -}; - -Point$1.prototype._encode = function _encode() { - return this.getX().toArray('be', this.curve.p.byteLength()); -}; - -Point$1.fromJSON = function fromJSON(curve, obj) { - return new Point$1(curve, obj[0], obj[1] || curve.one); -}; - -Point$1.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -Point$1.prototype.isInfinity = function isInfinity() { - // XXX This code assumes that zero is always zero in red - return this.z.cmpn(0) === 0; -}; - -Point$1.prototype.dbl = function dbl() { - // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#doubling-dbl-1987-m-3 - // 2M + 2S + 4A - - // A = X1 + Z1 - var a = this.x.redAdd(this.z); - // AA = A^2 - var aa = a.redSqr(); - // B = X1 - Z1 - var b = this.x.redSub(this.z); - // BB = B^2 - var bb = b.redSqr(); - // C = AA - BB - var c = aa.redSub(bb); - // X3 = AA * BB - var nx = aa.redMul(bb); - // Z3 = C * (BB + A24 * C) - var nz = c.redMul(bb.redAdd(this.curve.a24.redMul(c))); - return this.curve.point(nx, nz); -}; - -Point$1.prototype.add = function add() { - throw new Error('Not supported on Montgomery curve'); -}; - -Point$1.prototype.diffAdd = function diffAdd(p, diff) { - // http://hyperelliptic.org/EFD/g1p/auto-montgom-xz.html#diffadd-dadd-1987-m-3 - // 4M + 2S + 6A - - // A = X2 + Z2 - var a = this.x.redAdd(this.z); - // B = X2 - Z2 - var b = this.x.redSub(this.z); - // C = X3 + Z3 - var c = p.x.redAdd(p.z); - // D = X3 - Z3 - var d = p.x.redSub(p.z); - // DA = D * A - var da = d.redMul(a); - // CB = C * B - var cb = c.redMul(b); - // X5 = Z1 * (DA + CB)^2 - var nx = diff.z.redMul(da.redAdd(cb).redSqr()); - // Z5 = X1 * (DA - CB)^2 - var nz = diff.x.redMul(da.redISub(cb).redSqr()); - return this.curve.point(nx, nz); -}; - -Point$1.prototype.mul = function mul(k) { - var t = k.clone(); - var a = this; // (N / 2) * Q + Q - var b = this.curve.point(null, null); // (N / 2) * Q - var c = this; // Q - - for (var bits = []; t.cmpn(0) !== 0; t.iushrn(1)) - bits.push(t.andln(1)); - - for (var i = bits.length - 1; i >= 0; i--) { - if (bits[i] === 0) { - // N * Q + Q = ((N / 2) * Q + Q)) + (N / 2) * Q - a = a.diffAdd(b, c); - // N * Q = 2 * ((N / 2) * Q + Q)) - b = b.dbl(); - } else { - // N * Q = ((N / 2) * Q + Q) + ((N / 2) * Q) - b = a.diffAdd(b, c); - // N * Q + Q = 2 * ((N / 2) * Q + Q) - a = a.dbl(); - } - } - return b; -}; - -Point$1.prototype.mulAdd = function mulAdd() { - throw new Error('Not supported on Montgomery curve'); -}; - -Point$1.prototype.jumlAdd = function jumlAdd() { - throw new Error('Not supported on Montgomery curve'); -}; - -Point$1.prototype.eq = function eq(other) { - return this.getX().cmp(other.getX()) === 0; -}; - -Point$1.prototype.normalize = function normalize() { - this.x = this.x.redMul(this.z.redInvm()); - this.z = this.curve.one; - return this; -}; - -Point$1.prototype.getX = function getX() { - // Normalize coordinates - this.normalize(); - - return this.x.fromRed(); -}; - -var utils$h = utils$m; -var BN$5 = bn.exports; -var inherits$1 = inherits$4.exports; -var Base = base$2; - -var assert$d = utils$h.assert; - -function EdwardsCurve(conf) { - // NOTE: Important as we are creating point in Base.call() - this.twisted = (conf.a | 0) !== 1; - this.mOneA = this.twisted && (conf.a | 0) === -1; - this.extended = this.mOneA; - - Base.call(this, 'edwards', conf); - - this.a = new BN$5(conf.a, 16).umod(this.red.m); - this.a = this.a.toRed(this.red); - this.c = new BN$5(conf.c, 16).toRed(this.red); - this.c2 = this.c.redSqr(); - this.d = new BN$5(conf.d, 16).toRed(this.red); - this.dd = this.d.redAdd(this.d); - - assert$d(!this.twisted || this.c.fromRed().cmpn(1) === 0); - this.oneC = (conf.c | 0) === 1; -} -inherits$1(EdwardsCurve, Base); -var edwards = EdwardsCurve; - -EdwardsCurve.prototype._mulA = function _mulA(num) { - if (this.mOneA) - return num.redNeg(); - else - return this.a.redMul(num); -}; - -EdwardsCurve.prototype._mulC = function _mulC(num) { - if (this.oneC) - return num; - else - return this.c.redMul(num); -}; - -// Just for compatibility with Short curve -EdwardsCurve.prototype.jpoint = function jpoint(x, y, z, t) { - return this.point(x, y, z, t); -}; - -EdwardsCurve.prototype.pointFromX = function pointFromX(x, odd) { - x = new BN$5(x, 16); - if (!x.red) - x = x.toRed(this.red); - - var x2 = x.redSqr(); - var rhs = this.c2.redSub(this.a.redMul(x2)); - var lhs = this.one.redSub(this.c2.redMul(this.d).redMul(x2)); - - var y2 = rhs.redMul(lhs.redInvm()); - var y = y2.redSqrt(); - if (y.redSqr().redSub(y2).cmp(this.zero) !== 0) - throw new Error('invalid point'); - - var isOdd = y.fromRed().isOdd(); - if (odd && !isOdd || !odd && isOdd) - y = y.redNeg(); - - return this.point(x, y); -}; - -EdwardsCurve.prototype.pointFromY = function pointFromY(y, odd) { - y = new BN$5(y, 16); - if (!y.red) - y = y.toRed(this.red); - - // x^2 = (y^2 - c^2) / (c^2 d y^2 - a) - var y2 = y.redSqr(); - var lhs = y2.redSub(this.c2); - var rhs = y2.redMul(this.d).redMul(this.c2).redSub(this.a); - var x2 = lhs.redMul(rhs.redInvm()); - - if (x2.cmp(this.zero) === 0) { - if (odd) - throw new Error('invalid point'); - else - return this.point(this.zero, y); - } - - var x = x2.redSqrt(); - if (x.redSqr().redSub(x2).cmp(this.zero) !== 0) - throw new Error('invalid point'); - - if (x.fromRed().isOdd() !== odd) - x = x.redNeg(); - - return this.point(x, y); -}; - -EdwardsCurve.prototype.validate = function validate(point) { - if (point.isInfinity()) - return true; - - // Curve: A * X^2 + Y^2 = C^2 * (1 + D * X^2 * Y^2) - point.normalize(); - - var x2 = point.x.redSqr(); - var y2 = point.y.redSqr(); - var lhs = x2.redMul(this.a).redAdd(y2); - var rhs = this.c2.redMul(this.one.redAdd(this.d.redMul(x2).redMul(y2))); - - return lhs.cmp(rhs) === 0; -}; - -function Point(curve, x, y, z, t) { - Base.BasePoint.call(this, curve, 'projective'); - if (x === null && y === null && z === null) { - this.x = this.curve.zero; - this.y = this.curve.one; - this.z = this.curve.one; - this.t = this.curve.zero; - this.zOne = true; - } else { - this.x = new BN$5(x, 16); - this.y = new BN$5(y, 16); - this.z = z ? new BN$5(z, 16) : this.curve.one; - this.t = t && new BN$5(t, 16); - if (!this.x.red) - this.x = this.x.toRed(this.curve.red); - if (!this.y.red) - this.y = this.y.toRed(this.curve.red); - if (!this.z.red) - this.z = this.z.toRed(this.curve.red); - if (this.t && !this.t.red) - this.t = this.t.toRed(this.curve.red); - this.zOne = this.z === this.curve.one; - - // Use extended coordinates - if (this.curve.extended && !this.t) { - this.t = this.x.redMul(this.y); - if (!this.zOne) - this.t = this.t.redMul(this.z.redInvm()); - } - } -} -inherits$1(Point, Base.BasePoint); - -EdwardsCurve.prototype.pointFromJSON = function pointFromJSON(obj) { - return Point.fromJSON(this, obj); -}; - -EdwardsCurve.prototype.point = function point(x, y, z, t) { - return new Point(this, x, y, z, t); -}; - -Point.fromJSON = function fromJSON(curve, obj) { - return new Point(curve, obj[0], obj[1], obj[2]); -}; - -Point.prototype.inspect = function inspect() { - if (this.isInfinity()) - return ''; - return ''; -}; - -Point.prototype.isInfinity = function isInfinity() { - // XXX This code assumes that zero is always zero in red - return this.x.cmpn(0) === 0 && - (this.y.cmp(this.z) === 0 || - (this.zOne && this.y.cmp(this.curve.c) === 0)); -}; - -Point.prototype._extDbl = function _extDbl() { - // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html - // #doubling-dbl-2008-hwcd - // 4M + 4S - - // A = X1^2 - var a = this.x.redSqr(); - // B = Y1^2 - var b = this.y.redSqr(); - // C = 2 * Z1^2 - var c = this.z.redSqr(); - c = c.redIAdd(c); - // D = a * A - var d = this.curve._mulA(a); - // E = (X1 + Y1)^2 - A - B - var e = this.x.redAdd(this.y).redSqr().redISub(a).redISub(b); - // G = D + B - var g = d.redAdd(b); - // F = G - C - var f = g.redSub(c); - // H = D - B - var h = d.redSub(b); - // X3 = E * F - var nx = e.redMul(f); - // Y3 = G * H - var ny = g.redMul(h); - // T3 = E * H - var nt = e.redMul(h); - // Z3 = F * G - var nz = f.redMul(g); - return this.curve.point(nx, ny, nz, nt); -}; - -Point.prototype._projDbl = function _projDbl() { - // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html - // #doubling-dbl-2008-bbjlp - // #doubling-dbl-2007-bl - // and others - // Generally 3M + 4S or 2M + 4S - - // B = (X1 + Y1)^2 - var b = this.x.redAdd(this.y).redSqr(); - // C = X1^2 - var c = this.x.redSqr(); - // D = Y1^2 - var d = this.y.redSqr(); - - var nx; - var ny; - var nz; - var e; - var h; - var j; - if (this.curve.twisted) { - // E = a * C - e = this.curve._mulA(c); - // F = E + D - var f = e.redAdd(d); - if (this.zOne) { - // X3 = (B - C - D) * (F - 2) - nx = b.redSub(c).redSub(d).redMul(f.redSub(this.curve.two)); - // Y3 = F * (E - D) - ny = f.redMul(e.redSub(d)); - // Z3 = F^2 - 2 * F - nz = f.redSqr().redSub(f).redSub(f); - } else { - // H = Z1^2 - h = this.z.redSqr(); - // J = F - 2 * H - j = f.redSub(h).redISub(h); - // X3 = (B-C-D)*J - nx = b.redSub(c).redISub(d).redMul(j); - // Y3 = F * (E - D) - ny = f.redMul(e.redSub(d)); - // Z3 = F * J - nz = f.redMul(j); - } - } else { - // E = C + D - e = c.redAdd(d); - // H = (c * Z1)^2 - h = this.curve._mulC(this.z).redSqr(); - // J = E - 2 * H - j = e.redSub(h).redSub(h); - // X3 = c * (B - E) * J - nx = this.curve._mulC(b.redISub(e)).redMul(j); - // Y3 = c * E * (C - D) - ny = this.curve._mulC(e).redMul(c.redISub(d)); - // Z3 = E * J - nz = e.redMul(j); - } - return this.curve.point(nx, ny, nz); -}; - -Point.prototype.dbl = function dbl() { - if (this.isInfinity()) - return this; - - // Double in extended coordinates - if (this.curve.extended) - return this._extDbl(); - else - return this._projDbl(); -}; - -Point.prototype._extAdd = function _extAdd(p) { - // hyperelliptic.org/EFD/g1p/auto-twisted-extended-1.html - // #addition-add-2008-hwcd-3 - // 8M - - // A = (Y1 - X1) * (Y2 - X2) - var a = this.y.redSub(this.x).redMul(p.y.redSub(p.x)); - // B = (Y1 + X1) * (Y2 + X2) - var b = this.y.redAdd(this.x).redMul(p.y.redAdd(p.x)); - // C = T1 * k * T2 - var c = this.t.redMul(this.curve.dd).redMul(p.t); - // D = Z1 * 2 * Z2 - var d = this.z.redMul(p.z.redAdd(p.z)); - // E = B - A - var e = b.redSub(a); - // F = D - C - var f = d.redSub(c); - // G = D + C - var g = d.redAdd(c); - // H = B + A - var h = b.redAdd(a); - // X3 = E * F - var nx = e.redMul(f); - // Y3 = G * H - var ny = g.redMul(h); - // T3 = E * H - var nt = e.redMul(h); - // Z3 = F * G - var nz = f.redMul(g); - return this.curve.point(nx, ny, nz, nt); -}; - -Point.prototype._projAdd = function _projAdd(p) { - // hyperelliptic.org/EFD/g1p/auto-twisted-projective.html - // #addition-add-2008-bbjlp - // #addition-add-2007-bl - // 10M + 1S - - // A = Z1 * Z2 - var a = this.z.redMul(p.z); - // B = A^2 - var b = a.redSqr(); - // C = X1 * X2 - var c = this.x.redMul(p.x); - // D = Y1 * Y2 - var d = this.y.redMul(p.y); - // E = d * C * D - var e = this.curve.d.redMul(c).redMul(d); - // F = B - E - var f = b.redSub(e); - // G = B + E - var g = b.redAdd(e); - // X3 = A * F * ((X1 + Y1) * (X2 + Y2) - C - D) - var tmp = this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(c).redISub(d); - var nx = a.redMul(f).redMul(tmp); - var ny; - var nz; - if (this.curve.twisted) { - // Y3 = A * G * (D - a * C) - ny = a.redMul(g).redMul(d.redSub(this.curve._mulA(c))); - // Z3 = F * G - nz = f.redMul(g); - } else { - // Y3 = A * G * (D - C) - ny = a.redMul(g).redMul(d.redSub(c)); - // Z3 = c * F * G - nz = this.curve._mulC(f).redMul(g); - } - return this.curve.point(nx, ny, nz); -}; - -Point.prototype.add = function add(p) { - if (this.isInfinity()) - return p; - if (p.isInfinity()) - return this; - - if (this.curve.extended) - return this._extAdd(p); - else - return this._projAdd(p); -}; - -Point.prototype.mul = function mul(k) { - if (this._hasDoubles(k)) - return this.curve._fixedNafMul(this, k); - else - return this.curve._wnafMul(this, k); -}; - -Point.prototype.mulAdd = function mulAdd(k1, p, k2) { - return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, false); -}; - -Point.prototype.jmulAdd = function jmulAdd(k1, p, k2) { - return this.curve._wnafMulAdd(1, [ this, p ], [ k1, k2 ], 2, true); -}; - -Point.prototype.normalize = function normalize() { - if (this.zOne) - return this; - - // Normalize coordinates - var zi = this.z.redInvm(); - this.x = this.x.redMul(zi); - this.y = this.y.redMul(zi); - if (this.t) - this.t = this.t.redMul(zi); - this.z = this.curve.one; - this.zOne = true; - return this; -}; - -Point.prototype.neg = function neg() { - return this.curve.point(this.x.redNeg(), - this.y, - this.z, - this.t && this.t.redNeg()); -}; - -Point.prototype.getX = function getX() { - this.normalize(); - return this.x.fromRed(); -}; - -Point.prototype.getY = function getY() { - this.normalize(); - return this.y.fromRed(); -}; - -Point.prototype.eq = function eq(other) { - return this === other || - this.getX().cmp(other.getX()) === 0 && - this.getY().cmp(other.getY()) === 0; -}; - -Point.prototype.eqXToP = function eqXToP(x) { - var rx = x.toRed(this.curve.red).redMul(this.z); - if (this.x.cmp(rx) === 0) - return true; - - var xc = x.clone(); - var t = this.curve.redN.redMul(this.z); - for (;;) { - xc.iadd(this.curve.n); - if (xc.cmp(this.curve.p) >= 0) - return false; - - rx.redIAdd(t); - if (this.x.cmp(rx) === 0) - return true; - } -}; - -// Compatibility with BaseCurve -Point.prototype.toP = Point.prototype.normalize; -Point.prototype.mixedAdd = Point.prototype.add; - -(function (exports) { - - var curve = exports; - - curve.base = base$2; - curve.short = short; - curve.mont = mont; - curve.edwards = edwards; -} (curve)); - -var curves$2 = {}; - -var hash$2 = {}; - -var utils$g = {}; - -var assert$c = minimalisticAssert; -var inherits = inherits$4.exports; - -utils$g.inherits = inherits; - -function isSurrogatePair(msg, i) { - if ((msg.charCodeAt(i) & 0xFC00) !== 0xD800) { - return false; - } - if (i < 0 || i + 1 >= msg.length) { - return false; - } - return (msg.charCodeAt(i + 1) & 0xFC00) === 0xDC00; -} - -function toArray(msg, enc) { - if (Array.isArray(msg)) - return msg.slice(); - if (!msg) - return []; - var res = []; - if (typeof msg === 'string') { - if (!enc) { - // Inspired by stringToUtf8ByteArray() in closure-library by Google - // https://github.com/google/closure-library/blob/8598d87242af59aac233270742c8984e2b2bdbe0/closure/goog/crypt/crypt.js#L117-L143 - // Apache License 2.0 - // https://github.com/google/closure-library/blob/master/LICENSE - var p = 0; - for (var i = 0; i < msg.length; i++) { - var c = msg.charCodeAt(i); - if (c < 128) { - res[p++] = c; - } else if (c < 2048) { - res[p++] = (c >> 6) | 192; - res[p++] = (c & 63) | 128; - } else if (isSurrogatePair(msg, i)) { - c = 0x10000 + ((c & 0x03FF) << 10) + (msg.charCodeAt(++i) & 0x03FF); - res[p++] = (c >> 18) | 240; - res[p++] = ((c >> 12) & 63) | 128; - res[p++] = ((c >> 6) & 63) | 128; - res[p++] = (c & 63) | 128; - } else { - res[p++] = (c >> 12) | 224; - res[p++] = ((c >> 6) & 63) | 128; - res[p++] = (c & 63) | 128; - } - } - } else if (enc === 'hex') { - msg = msg.replace(/[^a-z0-9]+/ig, ''); - if (msg.length % 2 !== 0) - msg = '0' + msg; - for (i = 0; i < msg.length; i += 2) - res.push(parseInt(msg[i] + msg[i + 1], 16)); - } - } else { - for (i = 0; i < msg.length; i++) - res[i] = msg[i] | 0; - } - return res; -} -utils$g.toArray = toArray; - -function toHex(msg) { - var res = ''; - for (var i = 0; i < msg.length; i++) - res += zero2(msg[i].toString(16)); - return res; -} -utils$g.toHex = toHex; - -function htonl(w) { - var res = (w >>> 24) | - ((w >>> 8) & 0xff00) | - ((w << 8) & 0xff0000) | - ((w & 0xff) << 24); - return res >>> 0; -} -utils$g.htonl = htonl; - -function toHex32(msg, endian) { - var res = ''; - for (var i = 0; i < msg.length; i++) { - var w = msg[i]; - if (endian === 'little') - w = htonl(w); - res += zero8(w.toString(16)); - } - return res; -} -utils$g.toHex32 = toHex32; - -function zero2(word) { - if (word.length === 1) - return '0' + word; - else - return word; -} -utils$g.zero2 = zero2; - -function zero8(word) { - if (word.length === 7) - return '0' + word; - else if (word.length === 6) - return '00' + word; - else if (word.length === 5) - return '000' + word; - else if (word.length === 4) - return '0000' + word; - else if (word.length === 3) - return '00000' + word; - else if (word.length === 2) - return '000000' + word; - else if (word.length === 1) - return '0000000' + word; - else - return word; -} -utils$g.zero8 = zero8; - -function join32(msg, start, end, endian) { - var len = end - start; - assert$c(len % 4 === 0); - var res = new Array(len / 4); - for (var i = 0, k = start; i < res.length; i++, k += 4) { - var w; - if (endian === 'big') - w = (msg[k] << 24) | (msg[k + 1] << 16) | (msg[k + 2] << 8) | msg[k + 3]; - else - w = (msg[k + 3] << 24) | (msg[k + 2] << 16) | (msg[k + 1] << 8) | msg[k]; - res[i] = w >>> 0; - } - return res; -} -utils$g.join32 = join32; - -function split32(msg, endian) { - var res = new Array(msg.length * 4); - for (var i = 0, k = 0; i < msg.length; i++, k += 4) { - var m = msg[i]; - if (endian === 'big') { - res[k] = m >>> 24; - res[k + 1] = (m >>> 16) & 0xff; - res[k + 2] = (m >>> 8) & 0xff; - res[k + 3] = m & 0xff; - } else { - res[k + 3] = m >>> 24; - res[k + 2] = (m >>> 16) & 0xff; - res[k + 1] = (m >>> 8) & 0xff; - res[k] = m & 0xff; - } - } - return res; -} -utils$g.split32 = split32; - -function rotr32$1(w, b) { - return (w >>> b) | (w << (32 - b)); -} -utils$g.rotr32 = rotr32$1; - -function rotl32$2(w, b) { - return (w << b) | (w >>> (32 - b)); -} -utils$g.rotl32 = rotl32$2; - -function sum32$3(a, b) { - return (a + b) >>> 0; -} -utils$g.sum32 = sum32$3; - -function sum32_3$1(a, b, c) { - return (a + b + c) >>> 0; -} -utils$g.sum32_3 = sum32_3$1; - -function sum32_4$2(a, b, c, d) { - return (a + b + c + d) >>> 0; -} -utils$g.sum32_4 = sum32_4$2; - -function sum32_5$2(a, b, c, d, e) { - return (a + b + c + d + e) >>> 0; -} -utils$g.sum32_5 = sum32_5$2; - -function sum64$1(buf, pos, ah, al) { - var bh = buf[pos]; - var bl = buf[pos + 1]; - - var lo = (al + bl) >>> 0; - var hi = (lo < al ? 1 : 0) + ah + bh; - buf[pos] = hi >>> 0; - buf[pos + 1] = lo; -} -utils$g.sum64 = sum64$1; - -function sum64_hi$1(ah, al, bh, bl) { - var lo = (al + bl) >>> 0; - var hi = (lo < al ? 1 : 0) + ah + bh; - return hi >>> 0; -} -utils$g.sum64_hi = sum64_hi$1; - -function sum64_lo$1(ah, al, bh, bl) { - var lo = al + bl; - return lo >>> 0; -} -utils$g.sum64_lo = sum64_lo$1; - -function sum64_4_hi$1(ah, al, bh, bl, ch, cl, dh, dl) { - var carry = 0; - var lo = al; - lo = (lo + bl) >>> 0; - carry += lo < al ? 1 : 0; - lo = (lo + cl) >>> 0; - carry += lo < cl ? 1 : 0; - lo = (lo + dl) >>> 0; - carry += lo < dl ? 1 : 0; - - var hi = ah + bh + ch + dh + carry; - return hi >>> 0; -} -utils$g.sum64_4_hi = sum64_4_hi$1; - -function sum64_4_lo$1(ah, al, bh, bl, ch, cl, dh, dl) { - var lo = al + bl + cl + dl; - return lo >>> 0; -} -utils$g.sum64_4_lo = sum64_4_lo$1; - -function sum64_5_hi$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { - var carry = 0; - var lo = al; - lo = (lo + bl) >>> 0; - carry += lo < al ? 1 : 0; - lo = (lo + cl) >>> 0; - carry += lo < cl ? 1 : 0; - lo = (lo + dl) >>> 0; - carry += lo < dl ? 1 : 0; - lo = (lo + el) >>> 0; - carry += lo < el ? 1 : 0; - - var hi = ah + bh + ch + dh + eh + carry; - return hi >>> 0; -} -utils$g.sum64_5_hi = sum64_5_hi$1; - -function sum64_5_lo$1(ah, al, bh, bl, ch, cl, dh, dl, eh, el) { - var lo = al + bl + cl + dl + el; - - return lo >>> 0; -} -utils$g.sum64_5_lo = sum64_5_lo$1; - -function rotr64_hi$1(ah, al, num) { - var r = (al << (32 - num)) | (ah >>> num); - return r >>> 0; -} -utils$g.rotr64_hi = rotr64_hi$1; - -function rotr64_lo$1(ah, al, num) { - var r = (ah << (32 - num)) | (al >>> num); - return r >>> 0; -} -utils$g.rotr64_lo = rotr64_lo$1; - -function shr64_hi$1(ah, al, num) { - return ah >>> num; -} -utils$g.shr64_hi = shr64_hi$1; - -function shr64_lo$1(ah, al, num) { - var r = (ah << (32 - num)) | (al >>> num); - return r >>> 0; -} -utils$g.shr64_lo = shr64_lo$1; - -var common$5 = {}; - -var utils$f = utils$g; -var assert$b = minimalisticAssert; - -function BlockHash$4() { - this.pending = null; - this.pendingTotal = 0; - this.blockSize = this.constructor.blockSize; - this.outSize = this.constructor.outSize; - this.hmacStrength = this.constructor.hmacStrength; - this.padLength = this.constructor.padLength / 8; - this.endian = 'big'; - - this._delta8 = this.blockSize / 8; - this._delta32 = this.blockSize / 32; -} -common$5.BlockHash = BlockHash$4; - -BlockHash$4.prototype.update = function update(msg, enc) { - // Convert message to array, pad it, and join into 32bit blocks - msg = utils$f.toArray(msg, enc); - if (!this.pending) - this.pending = msg; - else - this.pending = this.pending.concat(msg); - this.pendingTotal += msg.length; - - // Enough data, try updating - if (this.pending.length >= this._delta8) { - msg = this.pending; - - // Process pending data in blocks - var r = msg.length % this._delta8; - this.pending = msg.slice(msg.length - r, msg.length); - if (this.pending.length === 0) - this.pending = null; - - msg = utils$f.join32(msg, 0, msg.length - r, this.endian); - for (var i = 0; i < msg.length; i += this._delta32) - this._update(msg, i, i + this._delta32); - } - - return this; -}; - -BlockHash$4.prototype.digest = function digest(enc) { - this.update(this._pad()); - assert$b(this.pending === null); - - return this._digest(enc); -}; - -BlockHash$4.prototype._pad = function pad() { - var len = this.pendingTotal; - var bytes = this._delta8; - var k = bytes - ((len + this.padLength) % bytes); - var res = new Array(k + this.padLength); - res[0] = 0x80; - for (var i = 1; i < k; i++) - res[i] = 0; - - // Append length - len <<= 3; - if (this.endian === 'big') { - for (var t = 8; t < this.padLength; t++) - res[i++] = 0; - - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - res[i++] = (len >>> 24) & 0xff; - res[i++] = (len >>> 16) & 0xff; - res[i++] = (len >>> 8) & 0xff; - res[i++] = len & 0xff; - } else { - res[i++] = len & 0xff; - res[i++] = (len >>> 8) & 0xff; - res[i++] = (len >>> 16) & 0xff; - res[i++] = (len >>> 24) & 0xff; - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - res[i++] = 0; - - for (t = 8; t < this.padLength; t++) - res[i++] = 0; - } - - return res; -}; - -var sha = {}; - -var common$4 = {}; - -var utils$e = utils$g; -var rotr32 = utils$e.rotr32; - -function ft_1$1(s, x, y, z) { - if (s === 0) - return ch32$1(x, y, z); - if (s === 1 || s === 3) - return p32(x, y, z); - if (s === 2) - return maj32$1(x, y, z); -} -common$4.ft_1 = ft_1$1; - -function ch32$1(x, y, z) { - return (x & y) ^ ((~x) & z); -} -common$4.ch32 = ch32$1; - -function maj32$1(x, y, z) { - return (x & y) ^ (x & z) ^ (y & z); -} -common$4.maj32 = maj32$1; - -function p32(x, y, z) { - return x ^ y ^ z; -} -common$4.p32 = p32; - -function s0_256$1(x) { - return rotr32(x, 2) ^ rotr32(x, 13) ^ rotr32(x, 22); -} -common$4.s0_256 = s0_256$1; - -function s1_256$1(x) { - return rotr32(x, 6) ^ rotr32(x, 11) ^ rotr32(x, 25); -} -common$4.s1_256 = s1_256$1; - -function g0_256$1(x) { - return rotr32(x, 7) ^ rotr32(x, 18) ^ (x >>> 3); -} -common$4.g0_256 = g0_256$1; - -function g1_256$1(x) { - return rotr32(x, 17) ^ rotr32(x, 19) ^ (x >>> 10); -} -common$4.g1_256 = g1_256$1; - -var utils$d = utils$g; -var common$3 = common$5; -var shaCommon$1 = common$4; - -var rotl32$1 = utils$d.rotl32; -var sum32$2 = utils$d.sum32; -var sum32_5$1 = utils$d.sum32_5; -var ft_1 = shaCommon$1.ft_1; -var BlockHash$3 = common$3.BlockHash; - -var sha1_K = [ - 0x5A827999, 0x6ED9EBA1, - 0x8F1BBCDC, 0xCA62C1D6 -]; - -function SHA1() { - if (!(this instanceof SHA1)) - return new SHA1(); - - BlockHash$3.call(this); - this.h = [ - 0x67452301, 0xefcdab89, 0x98badcfe, - 0x10325476, 0xc3d2e1f0 ]; - this.W = new Array(80); -} - -utils$d.inherits(SHA1, BlockHash$3); -var _1 = SHA1; - -SHA1.blockSize = 512; -SHA1.outSize = 160; -SHA1.hmacStrength = 80; -SHA1.padLength = 64; - -SHA1.prototype._update = function _update(msg, start) { - var W = this.W; - - for (var i = 0; i < 16; i++) - W[i] = msg[start + i]; - - for(; i < W.length; i++) - W[i] = rotl32$1(W[i - 3] ^ W[i - 8] ^ W[i - 14] ^ W[i - 16], 1); - - var a = this.h[0]; - var b = this.h[1]; - var c = this.h[2]; - var d = this.h[3]; - var e = this.h[4]; - - for (i = 0; i < W.length; i++) { - var s = ~~(i / 20); - var t = sum32_5$1(rotl32$1(a, 5), ft_1(s, b, c, d), e, W[i], sha1_K[s]); - e = d; - d = c; - c = rotl32$1(b, 30); - b = a; - a = t; - } - - this.h[0] = sum32$2(this.h[0], a); - this.h[1] = sum32$2(this.h[1], b); - this.h[2] = sum32$2(this.h[2], c); - this.h[3] = sum32$2(this.h[3], d); - this.h[4] = sum32$2(this.h[4], e); -}; - -SHA1.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$d.toHex32(this.h, 'big'); - else - return utils$d.split32(this.h, 'big'); -}; - -var utils$c = utils$g; -var common$2 = common$5; -var shaCommon = common$4; -var assert$a = minimalisticAssert; - -var sum32$1 = utils$c.sum32; -var sum32_4$1 = utils$c.sum32_4; -var sum32_5 = utils$c.sum32_5; -var ch32 = shaCommon.ch32; -var maj32 = shaCommon.maj32; -var s0_256 = shaCommon.s0_256; -var s1_256 = shaCommon.s1_256; -var g0_256 = shaCommon.g0_256; -var g1_256 = shaCommon.g1_256; - -var BlockHash$2 = common$2.BlockHash; - -var sha256_K = [ - 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, - 0x3956c25b, 0x59f111f1, 0x923f82a4, 0xab1c5ed5, - 0xd807aa98, 0x12835b01, 0x243185be, 0x550c7dc3, - 0x72be5d74, 0x80deb1fe, 0x9bdc06a7, 0xc19bf174, - 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc, - 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, - 0x983e5152, 0xa831c66d, 0xb00327c8, 0xbf597fc7, - 0xc6e00bf3, 0xd5a79147, 0x06ca6351, 0x14292967, - 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc, 0x53380d13, - 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85, - 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, - 0xd192e819, 0xd6990624, 0xf40e3585, 0x106aa070, - 0x19a4c116, 0x1e376c08, 0x2748774c, 0x34b0bcb5, - 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f, 0x682e6ff3, - 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208, - 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2 -]; - -function SHA256$1() { - if (!(this instanceof SHA256$1)) - return new SHA256$1(); - - BlockHash$2.call(this); - this.h = [ - 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, - 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19 - ]; - this.k = sha256_K; - this.W = new Array(64); -} -utils$c.inherits(SHA256$1, BlockHash$2); -var _256 = SHA256$1; - -SHA256$1.blockSize = 512; -SHA256$1.outSize = 256; -SHA256$1.hmacStrength = 192; -SHA256$1.padLength = 64; - -SHA256$1.prototype._update = function _update(msg, start) { - var W = this.W; - - for (var i = 0; i < 16; i++) - W[i] = msg[start + i]; - for (; i < W.length; i++) - W[i] = sum32_4$1(g1_256(W[i - 2]), W[i - 7], g0_256(W[i - 15]), W[i - 16]); - - var a = this.h[0]; - var b = this.h[1]; - var c = this.h[2]; - var d = this.h[3]; - var e = this.h[4]; - var f = this.h[5]; - var g = this.h[6]; - var h = this.h[7]; - - assert$a(this.k.length === W.length); - for (i = 0; i < W.length; i++) { - var T1 = sum32_5(h, s1_256(e), ch32(e, f, g), this.k[i], W[i]); - var T2 = sum32$1(s0_256(a), maj32(a, b, c)); - h = g; - g = f; - f = e; - e = sum32$1(d, T1); - d = c; - c = b; - b = a; - a = sum32$1(T1, T2); - } - - this.h[0] = sum32$1(this.h[0], a); - this.h[1] = sum32$1(this.h[1], b); - this.h[2] = sum32$1(this.h[2], c); - this.h[3] = sum32$1(this.h[3], d); - this.h[4] = sum32$1(this.h[4], e); - this.h[5] = sum32$1(this.h[5], f); - this.h[6] = sum32$1(this.h[6], g); - this.h[7] = sum32$1(this.h[7], h); -}; - -SHA256$1.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$c.toHex32(this.h, 'big'); - else - return utils$c.split32(this.h, 'big'); -}; - -var utils$b = utils$g; -var SHA256 = _256; - -function SHA224() { - if (!(this instanceof SHA224)) - return new SHA224(); - - SHA256.call(this); - this.h = [ - 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939, - 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4 ]; -} -utils$b.inherits(SHA224, SHA256); -var _224 = SHA224; - -SHA224.blockSize = 512; -SHA224.outSize = 224; -SHA224.hmacStrength = 192; -SHA224.padLength = 64; - -SHA224.prototype._digest = function digest(enc) { - // Just truncate output - if (enc === 'hex') - return utils$b.toHex32(this.h.slice(0, 7), 'big'); - else - return utils$b.split32(this.h.slice(0, 7), 'big'); -}; - -var utils$a = utils$g; -var common$1 = common$5; -var assert$9 = minimalisticAssert; - -var rotr64_hi = utils$a.rotr64_hi; -var rotr64_lo = utils$a.rotr64_lo; -var shr64_hi = utils$a.shr64_hi; -var shr64_lo = utils$a.shr64_lo; -var sum64 = utils$a.sum64; -var sum64_hi = utils$a.sum64_hi; -var sum64_lo = utils$a.sum64_lo; -var sum64_4_hi = utils$a.sum64_4_hi; -var sum64_4_lo = utils$a.sum64_4_lo; -var sum64_5_hi = utils$a.sum64_5_hi; -var sum64_5_lo = utils$a.sum64_5_lo; - -var BlockHash$1 = common$1.BlockHash; - -var sha512_K = [ - 0x428a2f98, 0xd728ae22, 0x71374491, 0x23ef65cd, - 0xb5c0fbcf, 0xec4d3b2f, 0xe9b5dba5, 0x8189dbbc, - 0x3956c25b, 0xf348b538, 0x59f111f1, 0xb605d019, - 0x923f82a4, 0xaf194f9b, 0xab1c5ed5, 0xda6d8118, - 0xd807aa98, 0xa3030242, 0x12835b01, 0x45706fbe, - 0x243185be, 0x4ee4b28c, 0x550c7dc3, 0xd5ffb4e2, - 0x72be5d74, 0xf27b896f, 0x80deb1fe, 0x3b1696b1, - 0x9bdc06a7, 0x25c71235, 0xc19bf174, 0xcf692694, - 0xe49b69c1, 0x9ef14ad2, 0xefbe4786, 0x384f25e3, - 0x0fc19dc6, 0x8b8cd5b5, 0x240ca1cc, 0x77ac9c65, - 0x2de92c6f, 0x592b0275, 0x4a7484aa, 0x6ea6e483, - 0x5cb0a9dc, 0xbd41fbd4, 0x76f988da, 0x831153b5, - 0x983e5152, 0xee66dfab, 0xa831c66d, 0x2db43210, - 0xb00327c8, 0x98fb213f, 0xbf597fc7, 0xbeef0ee4, - 0xc6e00bf3, 0x3da88fc2, 0xd5a79147, 0x930aa725, - 0x06ca6351, 0xe003826f, 0x14292967, 0x0a0e6e70, - 0x27b70a85, 0x46d22ffc, 0x2e1b2138, 0x5c26c926, - 0x4d2c6dfc, 0x5ac42aed, 0x53380d13, 0x9d95b3df, - 0x650a7354, 0x8baf63de, 0x766a0abb, 0x3c77b2a8, - 0x81c2c92e, 0x47edaee6, 0x92722c85, 0x1482353b, - 0xa2bfe8a1, 0x4cf10364, 0xa81a664b, 0xbc423001, - 0xc24b8b70, 0xd0f89791, 0xc76c51a3, 0x0654be30, - 0xd192e819, 0xd6ef5218, 0xd6990624, 0x5565a910, - 0xf40e3585, 0x5771202a, 0x106aa070, 0x32bbd1b8, - 0x19a4c116, 0xb8d2d0c8, 0x1e376c08, 0x5141ab53, - 0x2748774c, 0xdf8eeb99, 0x34b0bcb5, 0xe19b48a8, - 0x391c0cb3, 0xc5c95a63, 0x4ed8aa4a, 0xe3418acb, - 0x5b9cca4f, 0x7763e373, 0x682e6ff3, 0xd6b2b8a3, - 0x748f82ee, 0x5defb2fc, 0x78a5636f, 0x43172f60, - 0x84c87814, 0xa1f0ab72, 0x8cc70208, 0x1a6439ec, - 0x90befffa, 0x23631e28, 0xa4506ceb, 0xde82bde9, - 0xbef9a3f7, 0xb2c67915, 0xc67178f2, 0xe372532b, - 0xca273ece, 0xea26619c, 0xd186b8c7, 0x21c0c207, - 0xeada7dd6, 0xcde0eb1e, 0xf57d4f7f, 0xee6ed178, - 0x06f067aa, 0x72176fba, 0x0a637dc5, 0xa2c898a6, - 0x113f9804, 0xbef90dae, 0x1b710b35, 0x131c471b, - 0x28db77f5, 0x23047d84, 0x32caab7b, 0x40c72493, - 0x3c9ebe0a, 0x15c9bebc, 0x431d67c4, 0x9c100d4c, - 0x4cc5d4be, 0xcb3e42b6, 0x597f299c, 0xfc657e2a, - 0x5fcb6fab, 0x3ad6faec, 0x6c44198c, 0x4a475817 -]; - -function SHA512$1() { - if (!(this instanceof SHA512$1)) - return new SHA512$1(); - - BlockHash$1.call(this); - this.h = [ - 0x6a09e667, 0xf3bcc908, - 0xbb67ae85, 0x84caa73b, - 0x3c6ef372, 0xfe94f82b, - 0xa54ff53a, 0x5f1d36f1, - 0x510e527f, 0xade682d1, - 0x9b05688c, 0x2b3e6c1f, - 0x1f83d9ab, 0xfb41bd6b, - 0x5be0cd19, 0x137e2179 ]; - this.k = sha512_K; - this.W = new Array(160); -} -utils$a.inherits(SHA512$1, BlockHash$1); -var _512 = SHA512$1; - -SHA512$1.blockSize = 1024; -SHA512$1.outSize = 512; -SHA512$1.hmacStrength = 192; -SHA512$1.padLength = 128; - -SHA512$1.prototype._prepareBlock = function _prepareBlock(msg, start) { - var W = this.W; - - // 32 x 32bit words - for (var i = 0; i < 32; i++) - W[i] = msg[start + i]; - for (; i < W.length; i += 2) { - var c0_hi = g1_512_hi(W[i - 4], W[i - 3]); // i - 2 - var c0_lo = g1_512_lo(W[i - 4], W[i - 3]); - var c1_hi = W[i - 14]; // i - 7 - var c1_lo = W[i - 13]; - var c2_hi = g0_512_hi(W[i - 30], W[i - 29]); // i - 15 - var c2_lo = g0_512_lo(W[i - 30], W[i - 29]); - var c3_hi = W[i - 32]; // i - 16 - var c3_lo = W[i - 31]; - - W[i] = sum64_4_hi( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo); - W[i + 1] = sum64_4_lo( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo); - } -}; - -SHA512$1.prototype._update = function _update(msg, start) { - this._prepareBlock(msg, start); - - var W = this.W; - - var ah = this.h[0]; - var al = this.h[1]; - var bh = this.h[2]; - var bl = this.h[3]; - var ch = this.h[4]; - var cl = this.h[5]; - var dh = this.h[6]; - var dl = this.h[7]; - var eh = this.h[8]; - var el = this.h[9]; - var fh = this.h[10]; - var fl = this.h[11]; - var gh = this.h[12]; - var gl = this.h[13]; - var hh = this.h[14]; - var hl = this.h[15]; - - assert$9(this.k.length === W.length); - for (var i = 0; i < W.length; i += 2) { - var c0_hi = hh; - var c0_lo = hl; - var c1_hi = s1_512_hi(eh, el); - var c1_lo = s1_512_lo(eh, el); - var c2_hi = ch64_hi(eh, el, fh, fl, gh); - var c2_lo = ch64_lo(eh, el, fh, fl, gh, gl); - var c3_hi = this.k[i]; - var c3_lo = this.k[i + 1]; - var c4_hi = W[i]; - var c4_lo = W[i + 1]; - - var T1_hi = sum64_5_hi( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo, - c4_hi, c4_lo); - var T1_lo = sum64_5_lo( - c0_hi, c0_lo, - c1_hi, c1_lo, - c2_hi, c2_lo, - c3_hi, c3_lo, - c4_hi, c4_lo); - - c0_hi = s0_512_hi(ah, al); - c0_lo = s0_512_lo(ah, al); - c1_hi = maj64_hi(ah, al, bh, bl, ch); - c1_lo = maj64_lo(ah, al, bh, bl, ch, cl); - - var T2_hi = sum64_hi(c0_hi, c0_lo, c1_hi, c1_lo); - var T2_lo = sum64_lo(c0_hi, c0_lo, c1_hi, c1_lo); - - hh = gh; - hl = gl; - - gh = fh; - gl = fl; - - fh = eh; - fl = el; - - eh = sum64_hi(dh, dl, T1_hi, T1_lo); - el = sum64_lo(dl, dl, T1_hi, T1_lo); - - dh = ch; - dl = cl; - - ch = bh; - cl = bl; - - bh = ah; - bl = al; - - ah = sum64_hi(T1_hi, T1_lo, T2_hi, T2_lo); - al = sum64_lo(T1_hi, T1_lo, T2_hi, T2_lo); - } - - sum64(this.h, 0, ah, al); - sum64(this.h, 2, bh, bl); - sum64(this.h, 4, ch, cl); - sum64(this.h, 6, dh, dl); - sum64(this.h, 8, eh, el); - sum64(this.h, 10, fh, fl); - sum64(this.h, 12, gh, gl); - sum64(this.h, 14, hh, hl); -}; - -SHA512$1.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$a.toHex32(this.h, 'big'); - else - return utils$a.split32(this.h, 'big'); -}; - -function ch64_hi(xh, xl, yh, yl, zh) { - var r = (xh & yh) ^ ((~xh) & zh); - if (r < 0) - r += 0x100000000; - return r; -} - -function ch64_lo(xh, xl, yh, yl, zh, zl) { - var r = (xl & yl) ^ ((~xl) & zl); - if (r < 0) - r += 0x100000000; - return r; -} - -function maj64_hi(xh, xl, yh, yl, zh) { - var r = (xh & yh) ^ (xh & zh) ^ (yh & zh); - if (r < 0) - r += 0x100000000; - return r; -} - -function maj64_lo(xh, xl, yh, yl, zh, zl) { - var r = (xl & yl) ^ (xl & zl) ^ (yl & zl); - if (r < 0) - r += 0x100000000; - return r; -} - -function s0_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 28); - var c1_hi = rotr64_hi(xl, xh, 2); // 34 - var c2_hi = rotr64_hi(xl, xh, 7); // 39 - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function s0_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 28); - var c1_lo = rotr64_lo(xl, xh, 2); // 34 - var c2_lo = rotr64_lo(xl, xh, 7); // 39 - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -function s1_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 14); - var c1_hi = rotr64_hi(xh, xl, 18); - var c2_hi = rotr64_hi(xl, xh, 9); // 41 - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function s1_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 14); - var c1_lo = rotr64_lo(xh, xl, 18); - var c2_lo = rotr64_lo(xl, xh, 9); // 41 - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -function g0_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 1); - var c1_hi = rotr64_hi(xh, xl, 8); - var c2_hi = shr64_hi(xh, xl, 7); - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function g0_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 1); - var c1_lo = rotr64_lo(xh, xl, 8); - var c2_lo = shr64_lo(xh, xl, 7); - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -function g1_512_hi(xh, xl) { - var c0_hi = rotr64_hi(xh, xl, 19); - var c1_hi = rotr64_hi(xl, xh, 29); // 61 - var c2_hi = shr64_hi(xh, xl, 6); - - var r = c0_hi ^ c1_hi ^ c2_hi; - if (r < 0) - r += 0x100000000; - return r; -} - -function g1_512_lo(xh, xl) { - var c0_lo = rotr64_lo(xh, xl, 19); - var c1_lo = rotr64_lo(xl, xh, 29); // 61 - var c2_lo = shr64_lo(xh, xl, 6); - - var r = c0_lo ^ c1_lo ^ c2_lo; - if (r < 0) - r += 0x100000000; - return r; -} - -var utils$9 = utils$g; - -var SHA512 = _512; - -function SHA384() { - if (!(this instanceof SHA384)) - return new SHA384(); - - SHA512.call(this); - this.h = [ - 0xcbbb9d5d, 0xc1059ed8, - 0x629a292a, 0x367cd507, - 0x9159015a, 0x3070dd17, - 0x152fecd8, 0xf70e5939, - 0x67332667, 0xffc00b31, - 0x8eb44a87, 0x68581511, - 0xdb0c2e0d, 0x64f98fa7, - 0x47b5481d, 0xbefa4fa4 ]; -} -utils$9.inherits(SHA384, SHA512); -var _384 = SHA384; - -SHA384.blockSize = 1024; -SHA384.outSize = 384; -SHA384.hmacStrength = 192; -SHA384.padLength = 128; - -SHA384.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$9.toHex32(this.h.slice(0, 12), 'big'); - else - return utils$9.split32(this.h.slice(0, 12), 'big'); -}; - -sha.sha1 = _1; -sha.sha224 = _224; -sha.sha256 = _256; -sha.sha384 = _384; -sha.sha512 = _512; - -var ripemd = {}; - -var utils$8 = utils$g; -var common = common$5; - -var rotl32 = utils$8.rotl32; -var sum32 = utils$8.sum32; -var sum32_3 = utils$8.sum32_3; -var sum32_4 = utils$8.sum32_4; -var BlockHash = common.BlockHash; - -function RIPEMD160() { - if (!(this instanceof RIPEMD160)) - return new RIPEMD160(); - - BlockHash.call(this); - - this.h = [ 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0 ]; - this.endian = 'little'; -} -utils$8.inherits(RIPEMD160, BlockHash); -ripemd.ripemd160 = RIPEMD160; - -RIPEMD160.blockSize = 512; -RIPEMD160.outSize = 160; -RIPEMD160.hmacStrength = 192; -RIPEMD160.padLength = 64; - -RIPEMD160.prototype._update = function update(msg, start) { - var A = this.h[0]; - var B = this.h[1]; - var C = this.h[2]; - var D = this.h[3]; - var E = this.h[4]; - var Ah = A; - var Bh = B; - var Ch = C; - var Dh = D; - var Eh = E; - for (var j = 0; j < 80; j++) { - var T = sum32( - rotl32( - sum32_4(A, f(j, B, C, D), msg[r[j] + start], K(j)), - s[j]), - E); - A = E; - E = D; - D = rotl32(C, 10); - C = B; - B = T; - T = sum32( - rotl32( - sum32_4(Ah, f(79 - j, Bh, Ch, Dh), msg[rh[j] + start], Kh(j)), - sh[j]), - Eh); - Ah = Eh; - Eh = Dh; - Dh = rotl32(Ch, 10); - Ch = Bh; - Bh = T; - } - T = sum32_3(this.h[1], C, Dh); - this.h[1] = sum32_3(this.h[2], D, Eh); - this.h[2] = sum32_3(this.h[3], E, Ah); - this.h[3] = sum32_3(this.h[4], A, Bh); - this.h[4] = sum32_3(this.h[0], B, Ch); - this.h[0] = T; -}; - -RIPEMD160.prototype._digest = function digest(enc) { - if (enc === 'hex') - return utils$8.toHex32(this.h, 'little'); - else - return utils$8.split32(this.h, 'little'); -}; - -function f(j, x, y, z) { - if (j <= 15) - return x ^ y ^ z; - else if (j <= 31) - return (x & y) | ((~x) & z); - else if (j <= 47) - return (x | (~y)) ^ z; - else if (j <= 63) - return (x & z) | (y & (~z)); - else - return x ^ (y | (~z)); -} - -function K(j) { - if (j <= 15) - return 0x00000000; - else if (j <= 31) - return 0x5a827999; - else if (j <= 47) - return 0x6ed9eba1; - else if (j <= 63) - return 0x8f1bbcdc; - else - return 0xa953fd4e; -} - -function Kh(j) { - if (j <= 15) - return 0x50a28be6; - else if (j <= 31) - return 0x5c4dd124; - else if (j <= 47) - return 0x6d703ef3; - else if (j <= 63) - return 0x7a6d76e9; - else - return 0x00000000; -} - -var r = [ - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, - 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, - 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, - 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, - 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13 -]; - -var rh = [ - 5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, - 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, - 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, - 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, - 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11 -]; - -var s = [ - 11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, - 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, - 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, - 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, - 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6 -]; - -var sh = [ - 8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, - 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, - 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, - 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, - 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11 -]; - -var utils$7 = utils$g; -var assert$8 = minimalisticAssert; - -function Hmac(hash, key, enc) { - if (!(this instanceof Hmac)) - return new Hmac(hash, key, enc); - this.Hash = hash; - this.blockSize = hash.blockSize / 8; - this.outSize = hash.outSize / 8; - this.inner = null; - this.outer = null; - - this._init(utils$7.toArray(key, enc)); -} -var hmac = Hmac; - -Hmac.prototype._init = function init(key) { - // Shorten key, if needed - if (key.length > this.blockSize) - key = new this.Hash().update(key).digest(); - assert$8(key.length <= this.blockSize); - - // Add padding to key - for (var i = key.length; i < this.blockSize; i++) - key.push(0); - - for (i = 0; i < key.length; i++) - key[i] ^= 0x36; - this.inner = new this.Hash().update(key); - - // 0x36 ^ 0x5c = 0x6a - for (i = 0; i < key.length; i++) - key[i] ^= 0x6a; - this.outer = new this.Hash().update(key); -}; - -Hmac.prototype.update = function update(msg, enc) { - this.inner.update(msg, enc); - return this; -}; - -Hmac.prototype.digest = function digest(enc) { - this.outer.update(this.inner.digest()); - return this.outer.digest(enc); -}; - -(function (exports) { - var hash = exports; - - hash.utils = utils$g; - hash.common = common$5; - hash.sha = sha; - hash.ripemd = ripemd; - hash.hmac = hmac; - - // Proxy hash functions to the main object - hash.sha1 = hash.sha.sha1; - hash.sha256 = hash.sha.sha256; - hash.sha224 = hash.sha.sha224; - hash.sha384 = hash.sha.sha384; - hash.sha512 = hash.sha.sha512; - hash.ripemd160 = hash.ripemd.ripemd160; -} (hash$2)); - -var secp256k1; -var hasRequiredSecp256k1; - -function requireSecp256k1 () { - if (hasRequiredSecp256k1) return secp256k1; - hasRequiredSecp256k1 = 1; - secp256k1 = { - doubles: { - step: 4, - points: [ - [ - 'e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a', - 'f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821', - ], - [ - '8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508', - '11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf', - ], - [ - '175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739', - 'd3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695', - ], - [ - '363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640', - '4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9', - ], - [ - '8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c', - '4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36', - ], - [ - '723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda', - '96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f', - ], - [ - 'eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa', - '5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999', - ], - [ - '100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0', - 'cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09', - ], - [ - 'e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d', - '9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d', - ], - [ - 'feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d', - 'e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088', - ], - [ - 'da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1', - '9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d', - ], - [ - '53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0', - '5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8', - ], - [ - '8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047', - '10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a', - ], - [ - '385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862', - '283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453', - ], - [ - '6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7', - '7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160', - ], - [ - '3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd', - '56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0', - ], - [ - '85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83', - '7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6', - ], - [ - '948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a', - '53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589', - ], - [ - '6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8', - 'bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17', - ], - [ - 'e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d', - '4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda', - ], - [ - 'e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725', - '7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd', - ], - [ - '213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754', - '4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2', - ], - [ - '4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c', - '17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6', - ], - [ - 'fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6', - '6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f', - ], - [ - '76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39', - 'c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01', - ], - [ - 'c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891', - '893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3', - ], - [ - 'd895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b', - 'febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f', - ], - [ - 'b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03', - '2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7', - ], - [ - 'e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d', - 'eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78', - ], - [ - 'a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070', - '7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1', - ], - [ - '90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4', - 'e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150', - ], - [ - '8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da', - '662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82', - ], - [ - 'e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11', - '1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc', - ], - [ - '8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e', - 'efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b', - ], - [ - 'e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41', - '2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51', - ], - [ - 'b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef', - '67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45', - ], - [ - 'd68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8', - 'db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120', - ], - [ - '324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d', - '648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84', - ], - [ - '4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96', - '35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d', - ], - [ - '9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd', - 'ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d', - ], - [ - '6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5', - '9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8', - ], - [ - 'a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266', - '40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8', - ], - [ - '7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71', - '34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac', - ], - [ - '928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac', - 'c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f', - ], - [ - '85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751', - '1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962', - ], - [ - 'ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e', - '493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907', - ], - [ - '827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241', - 'c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec', - ], - [ - 'eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3', - 'be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d', - ], - [ - 'e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f', - '4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414', - ], - [ - '1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19', - 'aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd', - ], - [ - '146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be', - 'b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0', - ], - [ - 'fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9', - '6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811', - ], - [ - 'da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2', - '8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1', - ], - [ - 'a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13', - '7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c', - ], - [ - '174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c', - 'ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73', - ], - [ - '959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba', - '2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd', - ], - [ - 'd2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151', - 'e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405', - ], - [ - '64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073', - 'd99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589', - ], - [ - '8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458', - '38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e', - ], - [ - '13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b', - '69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27', - ], - [ - 'bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366', - 'd3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1', - ], - [ - '8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa', - '40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482', - ], - [ - '8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0', - '620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945', - ], - [ - 'dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787', - '7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573', - ], - [ - 'f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e', - 'ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82', - ], - ], - }, - naf: { - wnd: 7, - points: [ - [ - 'f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9', - '388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672', - ], - [ - '2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4', - 'd8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6', - ], - [ - '5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc', - '6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da', - ], - [ - 'acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe', - 'cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37', - ], - [ - '774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb', - 'd984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b', - ], - [ - 'f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8', - 'ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81', - ], - [ - 'd7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e', - '581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58', - ], - [ - 'defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34', - '4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77', - ], - [ - '2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c', - '85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a', - ], - [ - '352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5', - '321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c', - ], - [ - '2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f', - '2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67', - ], - [ - '9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714', - '73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402', - ], - [ - 'daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729', - 'a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55', - ], - [ - 'c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db', - '2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482', - ], - [ - '6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4', - 'e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82', - ], - [ - '1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5', - 'b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396', - ], - [ - '605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479', - '2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49', - ], - [ - '62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d', - '80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf', - ], - [ - '80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f', - '1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a', - ], - [ - '7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb', - 'd0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7', - ], - [ - 'd528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9', - 'eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933', - ], - [ - '49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963', - '758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a', - ], - [ - '77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74', - '958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6', - ], - [ - 'f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530', - 'e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37', - ], - [ - '463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b', - '5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e', - ], - [ - 'f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247', - 'cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6', - ], - [ - 'caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1', - 'cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476', - ], - [ - '2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120', - '4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40', - ], - [ - '7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435', - '91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61', - ], - [ - '754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18', - '673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683', - ], - [ - 'e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8', - '59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5', - ], - [ - '186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb', - '3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b', - ], - [ - 'df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f', - '55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417', - ], - [ - '5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143', - 'efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868', - ], - [ - '290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba', - 'e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a', - ], - [ - 'af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45', - 'f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6', - ], - [ - '766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a', - '744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996', - ], - [ - '59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e', - 'c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e', - ], - [ - 'f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8', - 'e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d', - ], - [ - '7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c', - '30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2', - ], - [ - '948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519', - 'e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e', - ], - [ - '7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab', - '100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437', - ], - [ - '3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca', - 'ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311', - ], - [ - 'd3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf', - '8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4', - ], - [ - '1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610', - '68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575', - ], - [ - '733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4', - 'f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d', - ], - [ - '15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c', - 'd56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d', - ], - [ - 'a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940', - 'edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629', - ], - [ - 'e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980', - 'a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06', - ], - [ - '311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3', - '66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374', - ], - [ - '34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf', - '9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee', - ], - [ - 'f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63', - '4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1', - ], - [ - 'd7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448', - 'fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b', - ], - [ - '32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf', - '5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661', - ], - [ - '7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5', - '8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6', - ], - [ - 'ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6', - '8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e', - ], - [ - '16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5', - '5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d', - ], - [ - 'eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99', - 'f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc', - ], - [ - '78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51', - 'f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4', - ], - [ - '494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5', - '42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c', - ], - [ - 'a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5', - '204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b', - ], - [ - 'c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997', - '4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913', - ], - [ - '841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881', - '73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154', - ], - [ - '5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5', - '39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865', - ], - [ - '36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66', - 'd2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc', - ], - [ - '336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726', - 'ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224', - ], - [ - '8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede', - '6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e', - ], - [ - '1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94', - '60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6', - ], - [ - '85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31', - '3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511', - ], - [ - '29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51', - 'b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b', - ], - [ - 'a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252', - 'ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2', - ], - [ - '4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5', - 'cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c', - ], - [ - 'd24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b', - '6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3', - ], - [ - 'ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4', - '322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d', - ], - [ - 'af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f', - '6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700', - ], - [ - 'e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889', - '2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4', - ], - [ - '591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246', - 'b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196', - ], - [ - '11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984', - '998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4', - ], - [ - '3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a', - 'b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257', - ], - [ - 'cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030', - 'bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13', - ], - [ - 'c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197', - '6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096', - ], - [ - 'c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593', - 'c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38', - ], - [ - 'a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef', - '21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f', - ], - [ - '347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38', - '60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448', - ], - [ - 'da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a', - '49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a', - ], - [ - 'c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111', - '5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4', - ], - [ - '4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502', - '7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437', - ], - [ - '3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea', - 'be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7', - ], - [ - 'cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26', - '8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d', - ], - [ - 'b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986', - '39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a', - ], - [ - 'd4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e', - '62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54', - ], - [ - '48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4', - '25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77', - ], - [ - 'dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda', - 'ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517', - ], - [ - '6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859', - 'cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10', - ], - [ - 'e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f', - 'f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125', - ], - [ - 'eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c', - '6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e', - ], - [ - '13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942', - 'fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1', - ], - [ - 'ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a', - '1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2', - ], - [ - 'b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80', - '5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423', - ], - [ - 'ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d', - '438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8', - ], - [ - '8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1', - 'cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758', - ], - [ - '52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63', - 'c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375', - ], - [ - 'e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352', - '6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d', - ], - [ - '7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193', - 'ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec', - ], - [ - '5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00', - '9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0', - ], - [ - '32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58', - 'ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c', - ], - [ - 'e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7', - 'd3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4', - ], - [ - '8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8', - 'c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f', - ], - [ - '4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e', - '67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649', - ], - [ - '3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d', - 'cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826', - ], - [ - '674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b', - '299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5', - ], - [ - 'd32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f', - 'f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87', - ], - [ - '30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6', - '462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b', - ], - [ - 'be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297', - '62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc', - ], - [ - '93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a', - '7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c', - ], - [ - 'b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c', - 'ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f', - ], - [ - 'd5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52', - '4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a', - ], - [ - 'd3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb', - 'bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46', - ], - [ - '463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065', - 'bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f', - ], - [ - '7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917', - '603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03', - ], - [ - '74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9', - 'cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08', - ], - [ - '30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3', - '553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8', - ], - [ - '9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57', - '712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373', - ], - [ - '176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66', - 'ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3', - ], - [ - '75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8', - '9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8', - ], - [ - '809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721', - '9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1', - ], - [ - '1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180', - '4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9', - ], - ], - }, - }; - return secp256k1; -} - -(function (exports) { - - var curves = exports; - - var hash = hash$2; - var curve$1 = curve; - var utils = utils$m; - - var assert = utils.assert; - - function PresetCurve(options) { - if (options.type === 'short') - this.curve = new curve$1.short(options); - else if (options.type === 'edwards') - this.curve = new curve$1.edwards(options); - else - this.curve = new curve$1.mont(options); - this.g = this.curve.g; - this.n = this.curve.n; - this.hash = options.hash; - - assert(this.g.validate(), 'Invalid curve'); - assert(this.g.mul(this.n).isInfinity(), 'Invalid curve, G*N != O'); - } - curves.PresetCurve = PresetCurve; - - function defineCurve(name, options) { - Object.defineProperty(curves, name, { - configurable: true, - enumerable: true, - get: function() { - var curve = new PresetCurve(options); - Object.defineProperty(curves, name, { - configurable: true, - enumerable: true, - value: curve, - }); - return curve; - }, - }); - } - - defineCurve('p192', { - type: 'short', - prime: 'p192', - p: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff', - a: 'ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc', - b: '64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1', - n: 'ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831', - hash: hash.sha256, - gRed: false, - g: [ - '188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012', - '07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811', - ], - }); - - defineCurve('p224', { - type: 'short', - prime: 'p224', - p: 'ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001', - a: 'ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe', - b: 'b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4', - n: 'ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d', - hash: hash.sha256, - gRed: false, - g: [ - 'b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21', - 'bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34', - ], - }); - - defineCurve('p256', { - type: 'short', - prime: null, - p: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff', - a: 'ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc', - b: '5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b', - n: 'ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551', - hash: hash.sha256, - gRed: false, - g: [ - '6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296', - '4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5', - ], - }); - - defineCurve('p384', { - type: 'short', - prime: null, - p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'fffffffe ffffffff 00000000 00000000 ffffffff', - a: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'fffffffe ffffffff 00000000 00000000 fffffffc', - b: 'b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f ' + - '5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef', - n: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 ' + - 'f4372ddf 581a0db2 48b0a77a ecec196a ccc52973', - hash: hash.sha384, - gRed: false, - g: [ - 'aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 ' + - '5502f25d bf55296c 3a545e38 72760ab7', - '3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 ' + - '0a60b1ce 1d7e819d 7a431d7c 90ea0e5f', - ], - }); - - defineCurve('p521', { - type: 'short', - prime: null, - p: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff ffffffff', - a: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff ffffffff ffffffff fffffffc', - b: '00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b ' + - '99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd ' + - '3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00', - n: '000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ' + - 'ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 ' + - 'f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409', - hash: hash.sha512, - gRed: false, - g: [ - '000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 ' + - '053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 ' + - 'a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66', - '00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 ' + - '579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 ' + - '3fad0761 353c7086 a272c240 88be9476 9fd16650', - ], - }); - - defineCurve('curve25519', { - type: 'mont', - prime: 'p25519', - p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', - a: '76d06', - b: '1', - n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', - hash: hash.sha256, - gRed: false, - g: [ - '9', - ], - }); - - defineCurve('ed25519', { - type: 'edwards', - prime: 'p25519', - p: '7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed', - a: '-1', - c: '1', - // -121665 * (121666^(-1)) (mod P) - d: '52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3', - n: '1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed', - hash: hash.sha256, - gRed: false, - g: [ - '216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a', - - // 4/5 - '6666666666666666666666666666666666666666666666666666666666666658', - ], - }); - - var pre; - try { - pre = requireSecp256k1(); - } catch (e) { - pre = undefined; - } - - defineCurve('secp256k1', { - type: 'short', - prime: 'k256', - p: 'ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f', - a: '0', - b: '7', - n: 'ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141', - h: '1', - hash: hash.sha256, - - // Precomputed endomorphism - beta: '7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee', - lambda: '5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72', - basis: [ - { - a: '3086d221a7d46bcde86c90e49284eb15', - b: '-e4437ed6010e88286f547fa90abfe4c3', - }, - { - a: '114ca50f7a8e2f3f657c1108d9d44cfd8', - b: '3086d221a7d46bcde86c90e49284eb15', - }, - ], - - gRed: false, - g: [ - '79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798', - '483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8', - pre, - ], - }); -} (curves$2)); - -var hash$1 = hash$2; -var utils$6 = utils$l; -var assert$7 = minimalisticAssert; - -function HmacDRBG$1(options) { - if (!(this instanceof HmacDRBG$1)) - return new HmacDRBG$1(options); - this.hash = options.hash; - this.predResist = !!options.predResist; - - this.outLen = this.hash.outSize; - this.minEntropy = options.minEntropy || this.hash.hmacStrength; - - this._reseed = null; - this.reseedInterval = null; - this.K = null; - this.V = null; - - var entropy = utils$6.toArray(options.entropy, options.entropyEnc || 'hex'); - var nonce = utils$6.toArray(options.nonce, options.nonceEnc || 'hex'); - var pers = utils$6.toArray(options.pers, options.persEnc || 'hex'); - assert$7(entropy.length >= (this.minEntropy / 8), - 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); - this._init(entropy, nonce, pers); -} -var hmacDrbg = HmacDRBG$1; - -HmacDRBG$1.prototype._init = function init(entropy, nonce, pers) { - var seed = entropy.concat(nonce).concat(pers); - - this.K = new Array(this.outLen / 8); - this.V = new Array(this.outLen / 8); - for (var i = 0; i < this.V.length; i++) { - this.K[i] = 0x00; - this.V[i] = 0x01; - } - - this._update(seed); - this._reseed = 1; - this.reseedInterval = 0x1000000000000; // 2^48 -}; - -HmacDRBG$1.prototype._hmac = function hmac() { - return new hash$1.hmac(this.hash, this.K); -}; - -HmacDRBG$1.prototype._update = function update(seed) { - var kmac = this._hmac() - .update(this.V) - .update([ 0x00 ]); - if (seed) - kmac = kmac.update(seed); - this.K = kmac.digest(); - this.V = this._hmac().update(this.V).digest(); - if (!seed) - return; - - this.K = this._hmac() - .update(this.V) - .update([ 0x01 ]) - .update(seed) - .digest(); - this.V = this._hmac().update(this.V).digest(); -}; - -HmacDRBG$1.prototype.reseed = function reseed(entropy, entropyEnc, add, addEnc) { - // Optional entropy enc - if (typeof entropyEnc !== 'string') { - addEnc = add; - add = entropyEnc; - entropyEnc = null; - } - - entropy = utils$6.toArray(entropy, entropyEnc); - add = utils$6.toArray(add, addEnc); - - assert$7(entropy.length >= (this.minEntropy / 8), - 'Not enough entropy. Minimum is: ' + this.minEntropy + ' bits'); - - this._update(entropy.concat(add || [])); - this._reseed = 1; -}; - -HmacDRBG$1.prototype.generate = function generate(len, enc, add, addEnc) { - if (this._reseed > this.reseedInterval) - throw new Error('Reseed is required'); - - // Optional encoding - if (typeof enc !== 'string') { - addEnc = add; - add = enc; - enc = null; - } - - // Optional additional data - if (add) { - add = utils$6.toArray(add, addEnc || 'hex'); - this._update(add); - } - - var temp = []; - while (temp.length < len) { - this.V = this._hmac().update(this.V).digest(); - temp = temp.concat(this.V); - } - - var res = temp.slice(0, len); - this._update(add); - this._reseed++; - return utils$6.encode(res, enc); -}; - -var BN$4 = bn.exports; -var utils$5 = utils$m; -var assert$6 = utils$5.assert; - -function KeyPair$3(ec, options) { - this.ec = ec; - this.priv = null; - this.pub = null; - - // KeyPair(ec, { priv: ..., pub: ... }) - if (options.priv) - this._importPrivate(options.priv, options.privEnc); - if (options.pub) - this._importPublic(options.pub, options.pubEnc); -} -var key$2 = KeyPair$3; - -KeyPair$3.fromPublic = function fromPublic(ec, pub, enc) { - if (pub instanceof KeyPair$3) - return pub; - - return new KeyPair$3(ec, { - pub: pub, - pubEnc: enc, - }); -}; - -KeyPair$3.fromPrivate = function fromPrivate(ec, priv, enc) { - if (priv instanceof KeyPair$3) - return priv; - - return new KeyPair$3(ec, { - priv: priv, - privEnc: enc, - }); -}; - -KeyPair$3.prototype.validate = function validate() { - var pub = this.getPublic(); - - if (pub.isInfinity()) - return { result: false, reason: 'Invalid public key' }; - if (!pub.validate()) - return { result: false, reason: 'Public key is not a point' }; - if (!pub.mul(this.ec.curve.n).isInfinity()) - return { result: false, reason: 'Public key * N != O' }; - - return { result: true, reason: null }; -}; - -KeyPair$3.prototype.getPublic = function getPublic(compact, enc) { - // compact is optional argument - if (typeof compact === 'string') { - enc = compact; - compact = null; - } - - if (!this.pub) - this.pub = this.ec.g.mul(this.priv); - - if (!enc) - return this.pub; - - return this.pub.encode(enc, compact); -}; - -KeyPair$3.prototype.getPrivate = function getPrivate(enc) { - if (enc === 'hex') - return this.priv.toString(16, 2); - else - return this.priv; -}; - -KeyPair$3.prototype._importPrivate = function _importPrivate(key, enc) { - this.priv = new BN$4(key, enc || 16); - - // Ensure that the priv won't be bigger than n, otherwise we may fail - // in fixed multiplication method - this.priv = this.priv.umod(this.ec.curve.n); -}; - -KeyPair$3.prototype._importPublic = function _importPublic(key, enc) { - if (key.x || key.y) { - // Montgomery points only have an `x` coordinate. - // Weierstrass/Edwards points on the other hand have both `x` and - // `y` coordinates. - if (this.ec.curve.type === 'mont') { - assert$6(key.x, 'Need x coordinate'); - } else if (this.ec.curve.type === 'short' || - this.ec.curve.type === 'edwards') { - assert$6(key.x && key.y, 'Need both x and y coordinate'); - } - this.pub = this.ec.curve.point(key.x, key.y); - return; - } - this.pub = this.ec.curve.decodePoint(key, enc); -}; - -// ECDH -KeyPair$3.prototype.derive = function derive(pub) { - if(!pub.validate()) { - assert$6(pub.validate(), 'public point not validated'); - } - return pub.mul(this.priv).getX(); -}; - -// ECDSA -KeyPair$3.prototype.sign = function sign(msg, enc, options) { - return this.ec.sign(msg, this, enc, options); -}; - -KeyPair$3.prototype.verify = function verify(msg, signature) { - return this.ec.verify(msg, signature, this); -}; - -KeyPair$3.prototype.inspect = function inspect() { - return ''; -}; - -var BN$3 = bn.exports; - -var utils$4 = utils$m; -var assert$5 = utils$4.assert; - -function Signature$3(options, enc) { - if (options instanceof Signature$3) - return options; - - if (this._importDER(options, enc)) - return; - - assert$5(options.r && options.s, 'Signature without r or s'); - this.r = new BN$3(options.r, 16); - this.s = new BN$3(options.s, 16); - if (options.recoveryParam === undefined) - this.recoveryParam = null; - else - this.recoveryParam = options.recoveryParam; -} -var signature$1 = Signature$3; - -function Position() { - this.place = 0; -} - -function getLength(buf, p) { - var initial = buf[p.place++]; - if (!(initial & 0x80)) { - return initial; - } - var octetLen = initial & 0xf; - - // Indefinite length or overflow - if (octetLen === 0 || octetLen > 4) { - return false; - } - - var val = 0; - for (var i = 0, off = p.place; i < octetLen; i++, off++) { - val <<= 8; - val |= buf[off]; - val >>>= 0; - } - - // Leading zeroes - if (val <= 0x7f) { - return false; - } - - p.place = off; - return val; -} - -function rmPadding(buf) { - var i = 0; - var len = buf.length - 1; - while (!buf[i] && !(buf[i + 1] & 0x80) && i < len) { - i++; - } - if (i === 0) { - return buf; - } - return buf.slice(i); -} - -Signature$3.prototype._importDER = function _importDER(data, enc) { - data = utils$4.toArray(data, enc); - var p = new Position(); - if (data[p.place++] !== 0x30) { - return false; - } - var len = getLength(data, p); - if (len === false) { - return false; - } - if ((len + p.place) !== data.length) { - return false; - } - if (data[p.place++] !== 0x02) { - return false; - } - var rlen = getLength(data, p); - if (rlen === false) { - return false; - } - var r = data.slice(p.place, rlen + p.place); - p.place += rlen; - if (data[p.place++] !== 0x02) { - return false; - } - var slen = getLength(data, p); - if (slen === false) { - return false; - } - if (data.length !== slen + p.place) { - return false; - } - var s = data.slice(p.place, slen + p.place); - if (r[0] === 0) { - if (r[1] & 0x80) { - r = r.slice(1); - } else { - // Leading zeroes - return false; - } - } - if (s[0] === 0) { - if (s[1] & 0x80) { - s = s.slice(1); - } else { - // Leading zeroes - return false; - } - } - - this.r = new BN$3(r); - this.s = new BN$3(s); - this.recoveryParam = null; - - return true; -}; - -function constructLength(arr, len) { - if (len < 0x80) { - arr.push(len); - return; - } - var octets = 1 + (Math.log(len) / Math.LN2 >>> 3); - arr.push(octets | 0x80); - while (--octets) { - arr.push((len >>> (octets << 3)) & 0xff); - } - arr.push(len); -} - -Signature$3.prototype.toDER = function toDER(enc) { - var r = this.r.toArray(); - var s = this.s.toArray(); - - // Pad values - if (r[0] & 0x80) - r = [ 0 ].concat(r); - // Pad values - if (s[0] & 0x80) - s = [ 0 ].concat(s); - - r = rmPadding(r); - s = rmPadding(s); - - while (!s[0] && !(s[1] & 0x80)) { - s = s.slice(1); - } - var arr = [ 0x02 ]; - constructLength(arr, r.length); - arr = arr.concat(r); - arr.push(0x02); - constructLength(arr, s.length); - var backHalf = arr.concat(s); - var res = [ 0x30 ]; - constructLength(res, backHalf.length); - res = res.concat(backHalf); - return utils$4.encode(res, enc); -}; - -var BN$2 = bn.exports; -var HmacDRBG = hmacDrbg; -var utils$3 = utils$m; -var curves$1 = curves$2; -var rand$1 = brorand.exports; -var assert$4 = utils$3.assert; - -var KeyPair$2 = key$2; -var Signature$2 = signature$1; - -function EC$1(options) { - if (!(this instanceof EC$1)) - return new EC$1(options); - - // Shortcut `elliptic.ec(curve-name)` - if (typeof options === 'string') { - assert$4(Object.prototype.hasOwnProperty.call(curves$1, options), - 'Unknown curve ' + options); - - options = curves$1[options]; - } - - // Shortcut for `elliptic.ec(elliptic.curves.curveName)` - if (options instanceof curves$1.PresetCurve) - options = { curve: options }; - - this.curve = options.curve.curve; - this.n = this.curve.n; - this.nh = this.n.ushrn(1); - this.g = this.curve.g; - - // Point on curve - this.g = options.curve.g; - this.g.precompute(options.curve.n.bitLength() + 1); - - // Hash for function for DRBG - this.hash = options.hash || options.curve.hash; -} -var ec$1 = EC$1; - -EC$1.prototype.keyPair = function keyPair(options) { - return new KeyPair$2(this, options); -}; - -EC$1.prototype.keyFromPrivate = function keyFromPrivate(priv, enc) { - return KeyPair$2.fromPrivate(this, priv, enc); -}; - -EC$1.prototype.keyFromPublic = function keyFromPublic(pub, enc) { - return KeyPair$2.fromPublic(this, pub, enc); -}; - -EC$1.prototype.genKeyPair = function genKeyPair(options) { - if (!options) - options = {}; - - // Instantiate Hmac_DRBG - var drbg = new HmacDRBG({ - hash: this.hash, - pers: options.pers, - persEnc: options.persEnc || 'utf8', - entropy: options.entropy || rand$1(this.hash.hmacStrength), - entropyEnc: options.entropy && options.entropyEnc || 'utf8', - nonce: this.n.toArray(), - }); - - var bytes = this.n.byteLength(); - var ns2 = this.n.sub(new BN$2(2)); - for (;;) { - var priv = new BN$2(drbg.generate(bytes)); - if (priv.cmp(ns2) > 0) - continue; - - priv.iaddn(1); - return this.keyFromPrivate(priv); - } -}; - -EC$1.prototype._truncateToN = function _truncateToN(msg, truncOnly) { - var delta = msg.byteLength() * 8 - this.n.bitLength(); - if (delta > 0) - msg = msg.ushrn(delta); - if (!truncOnly && msg.cmp(this.n) >= 0) - return msg.sub(this.n); - else - return msg; -}; - -EC$1.prototype.sign = function sign(msg, key, enc, options) { - if (typeof enc === 'object') { - options = enc; - enc = null; - } - if (!options) - options = {}; - - key = this.keyFromPrivate(key, enc); - msg = this._truncateToN(new BN$2(msg, 16)); - - // Zero-extend key to provide enough entropy - var bytes = this.n.byteLength(); - var bkey = key.getPrivate().toArray('be', bytes); - - // Zero-extend nonce to have the same byte size as N - var nonce = msg.toArray('be', bytes); - - // Instantiate Hmac_DRBG - var drbg = new HmacDRBG({ - hash: this.hash, - entropy: bkey, - nonce: nonce, - pers: options.pers, - persEnc: options.persEnc || 'utf8', - }); - - // Number of bytes to generate - var ns1 = this.n.sub(new BN$2(1)); - - for (var iter = 0; ; iter++) { - var k = options.k ? - options.k(iter) : - new BN$2(drbg.generate(this.n.byteLength())); - k = this._truncateToN(k, true); - if (k.cmpn(1) <= 0 || k.cmp(ns1) >= 0) - continue; - - var kp = this.g.mul(k); - if (kp.isInfinity()) - continue; - - var kpX = kp.getX(); - var r = kpX.umod(this.n); - if (r.cmpn(0) === 0) - continue; - - var s = k.invm(this.n).mul(r.mul(key.getPrivate()).iadd(msg)); - s = s.umod(this.n); - if (s.cmpn(0) === 0) - continue; - - var recoveryParam = (kp.getY().isOdd() ? 1 : 0) | - (kpX.cmp(r) !== 0 ? 2 : 0); - - // Use complement of `s`, if it is > `n / 2` - if (options.canonical && s.cmp(this.nh) > 0) { - s = this.n.sub(s); - recoveryParam ^= 1; - } - - return new Signature$2({ r: r, s: s, recoveryParam: recoveryParam }); - } -}; - -EC$1.prototype.verify = function verify(msg, signature, key, enc) { - msg = this._truncateToN(new BN$2(msg, 16)); - key = this.keyFromPublic(key, enc); - signature = new Signature$2(signature, 'hex'); - - // Perform primitive values validation - var r = signature.r; - var s = signature.s; - if (r.cmpn(1) < 0 || r.cmp(this.n) >= 0) - return false; - if (s.cmpn(1) < 0 || s.cmp(this.n) >= 0) - return false; - - // Validate signature - var sinv = s.invm(this.n); - var u1 = sinv.mul(msg).umod(this.n); - var u2 = sinv.mul(r).umod(this.n); - var p; - - if (!this.curve._maxwellTrick) { - p = this.g.mulAdd(u1, key.getPublic(), u2); - if (p.isInfinity()) - return false; - - return p.getX().umod(this.n).cmp(r) === 0; - } - - // NOTE: Greg Maxwell's trick, inspired by: - // https://git.io/vad3K - - p = this.g.jmulAdd(u1, key.getPublic(), u2); - if (p.isInfinity()) - return false; - - // Compare `p.x` of Jacobian point with `r`, - // this will do `p.x == r * p.z^2` instead of multiplying `p.x` by the - // inverse of `p.z^2` - return p.eqXToP(r); -}; - -EC$1.prototype.recoverPubKey = function(msg, signature, j, enc) { - assert$4((3 & j) === j, 'The recovery param is more than two bits'); - signature = new Signature$2(signature, enc); - - var n = this.n; - var e = new BN$2(msg); - var r = signature.r; - var s = signature.s; - - // A set LSB signifies that the y-coordinate is odd - var isYOdd = j & 1; - var isSecondKey = j >> 1; - if (r.cmp(this.curve.p.umod(this.curve.n)) >= 0 && isSecondKey) - throw new Error('Unable to find sencond key candinate'); - - // 1.1. Let x = r + jn. - if (isSecondKey) - r = this.curve.pointFromX(r.add(this.curve.n), isYOdd); - else - r = this.curve.pointFromX(r, isYOdd); - - var rInv = signature.r.invm(n); - var s1 = n.sub(e).mul(rInv).umod(n); - var s2 = s.mul(rInv).umod(n); - - // 1.6.1 Compute Q = r^-1 (sR - eG) - // Q = r^-1 (sR + -eG) - return this.g.mulAdd(s1, r, s2); -}; - -EC$1.prototype.getKeyRecoveryParam = function(e, signature, Q, enc) { - signature = new Signature$2(signature, enc); - if (signature.recoveryParam !== null) - return signature.recoveryParam; - - for (var i = 0; i < 4; i++) { - var Qprime; - try { - Qprime = this.recoverPubKey(e, signature, i); - } catch (e) { - continue; - } - - if (Qprime.eq(Q)) - return i; - } - throw new Error('Unable to find valid recovery factor'); -}; - -var utils$2 = utils$m; -var assert$3 = utils$2.assert; -var parseBytes$2 = utils$2.parseBytes; -var cachedProperty$1 = utils$2.cachedProperty; - -/** -* @param {EDDSA} eddsa - instance -* @param {Object} params - public/private key parameters -* -* @param {Array} [params.secret] - secret seed bytes -* @param {Point} [params.pub] - public key point (aka `A` in eddsa terms) -* @param {Array} [params.pub] - public key point encoded as bytes -* -*/ -function KeyPair$1(eddsa, params) { - this.eddsa = eddsa; - this._secret = parseBytes$2(params.secret); - if (eddsa.isPoint(params.pub)) - this._pub = params.pub; - else - this._pubBytes = parseBytes$2(params.pub); -} - -KeyPair$1.fromPublic = function fromPublic(eddsa, pub) { - if (pub instanceof KeyPair$1) - return pub; - return new KeyPair$1(eddsa, { pub: pub }); -}; - -KeyPair$1.fromSecret = function fromSecret(eddsa, secret) { - if (secret instanceof KeyPair$1) - return secret; - return new KeyPair$1(eddsa, { secret: secret }); -}; - -KeyPair$1.prototype.secret = function secret() { - return this._secret; -}; - -cachedProperty$1(KeyPair$1, 'pubBytes', function pubBytes() { - return this.eddsa.encodePoint(this.pub()); -}); - -cachedProperty$1(KeyPair$1, 'pub', function pub() { - if (this._pubBytes) - return this.eddsa.decodePoint(this._pubBytes); - return this.eddsa.g.mul(this.priv()); -}); - -cachedProperty$1(KeyPair$1, 'privBytes', function privBytes() { - var eddsa = this.eddsa; - var hash = this.hash(); - var lastIx = eddsa.encodingLength - 1; - - var a = hash.slice(0, eddsa.encodingLength); - a[0] &= 248; - a[lastIx] &= 127; - a[lastIx] |= 64; - - return a; -}); - -cachedProperty$1(KeyPair$1, 'priv', function priv() { - return this.eddsa.decodeInt(this.privBytes()); -}); - -cachedProperty$1(KeyPair$1, 'hash', function hash() { - return this.eddsa.hash().update(this.secret()).digest(); -}); - -cachedProperty$1(KeyPair$1, 'messagePrefix', function messagePrefix() { - return this.hash().slice(this.eddsa.encodingLength); -}); - -KeyPair$1.prototype.sign = function sign(message) { - assert$3(this._secret, 'KeyPair can only verify'); - return this.eddsa.sign(message, this); -}; - -KeyPair$1.prototype.verify = function verify(message, sig) { - return this.eddsa.verify(message, sig, this); -}; - -KeyPair$1.prototype.getSecret = function getSecret(enc) { - assert$3(this._secret, 'KeyPair is public only'); - return utils$2.encode(this.secret(), enc); -}; - -KeyPair$1.prototype.getPublic = function getPublic(enc) { - return utils$2.encode(this.pubBytes(), enc); -}; - -var key$1 = KeyPair$1; - -var BN$1 = bn.exports; -var utils$1 = utils$m; -var assert$2 = utils$1.assert; -var cachedProperty = utils$1.cachedProperty; -var parseBytes$1 = utils$1.parseBytes; - -/** -* @param {EDDSA} eddsa - eddsa instance -* @param {Array|Object} sig - -* @param {Array|Point} [sig.R] - R point as Point or bytes -* @param {Array|bn} [sig.S] - S scalar as bn or bytes -* @param {Array} [sig.Rencoded] - R point encoded -* @param {Array} [sig.Sencoded] - S scalar encoded -*/ -function Signature$1(eddsa, sig) { - this.eddsa = eddsa; - - if (typeof sig !== 'object') - sig = parseBytes$1(sig); - - if (Array.isArray(sig)) { - sig = { - R: sig.slice(0, eddsa.encodingLength), - S: sig.slice(eddsa.encodingLength), - }; - } - - assert$2(sig.R && sig.S, 'Signature without R or S'); - - if (eddsa.isPoint(sig.R)) - this._R = sig.R; - if (sig.S instanceof BN$1) - this._S = sig.S; - - this._Rencoded = Array.isArray(sig.R) ? sig.R : sig.Rencoded; - this._Sencoded = Array.isArray(sig.S) ? sig.S : sig.Sencoded; -} - -cachedProperty(Signature$1, 'S', function S() { - return this.eddsa.decodeInt(this.Sencoded()); -}); - -cachedProperty(Signature$1, 'R', function R() { - return this.eddsa.decodePoint(this.Rencoded()); -}); - -cachedProperty(Signature$1, 'Rencoded', function Rencoded() { - return this.eddsa.encodePoint(this.R()); -}); - -cachedProperty(Signature$1, 'Sencoded', function Sencoded() { - return this.eddsa.encodeInt(this.S()); -}); - -Signature$1.prototype.toBytes = function toBytes() { - return this.Rencoded().concat(this.Sencoded()); -}; - -Signature$1.prototype.toHex = function toHex() { - return utils$1.encode(this.toBytes(), 'hex').toUpperCase(); -}; - -var signature = Signature$1; - -var hash = hash$2; -var curves = curves$2; -var utils = utils$m; -var assert$1 = utils.assert; -var parseBytes = utils.parseBytes; -var KeyPair = key$1; -var Signature = signature; - -function EDDSA(curve) { - assert$1(curve === 'ed25519', 'only tested with ed25519 so far'); - - if (!(this instanceof EDDSA)) - return new EDDSA(curve); - - curve = curves[curve].curve; - this.curve = curve; - this.g = curve.g; - this.g.precompute(curve.n.bitLength() + 1); - - this.pointClass = curve.point().constructor; - this.encodingLength = Math.ceil(curve.n.bitLength() / 8); - this.hash = hash.sha512; -} - -var eddsa = EDDSA; - -/** -* @param {Array|String} message - message bytes -* @param {Array|String|KeyPair} secret - secret bytes or a keypair -* @returns {Signature} - signature -*/ -EDDSA.prototype.sign = function sign(message, secret) { - message = parseBytes(message); - var key = this.keyFromSecret(secret); - var r = this.hashInt(key.messagePrefix(), message); - var R = this.g.mul(r); - var Rencoded = this.encodePoint(R); - var s_ = this.hashInt(Rencoded, key.pubBytes(), message) - .mul(key.priv()); - var S = r.add(s_).umod(this.curve.n); - return this.makeSignature({ R: R, S: S, Rencoded: Rencoded }); -}; - -/** -* @param {Array} message - message bytes -* @param {Array|String|Signature} sig - sig bytes -* @param {Array|String|Point|KeyPair} pub - public key -* @returns {Boolean} - true if public key matches sig of message -*/ -EDDSA.prototype.verify = function verify(message, sig, pub) { - message = parseBytes(message); - sig = this.makeSignature(sig); - var key = this.keyFromPublic(pub); - var h = this.hashInt(sig.Rencoded(), key.pubBytes(), message); - var SG = this.g.mul(sig.S()); - var RplusAh = sig.R().add(key.pub().mul(h)); - return RplusAh.eq(SG); -}; - -EDDSA.prototype.hashInt = function hashInt() { - var hash = this.hash(); - for (var i = 0; i < arguments.length; i++) - hash.update(arguments[i]); - return utils.intFromLE(hash.digest()).umod(this.curve.n); -}; - -EDDSA.prototype.keyFromPublic = function keyFromPublic(pub) { - return KeyPair.fromPublic(this, pub); -}; - -EDDSA.prototype.keyFromSecret = function keyFromSecret(secret) { - return KeyPair.fromSecret(this, secret); -}; - -EDDSA.prototype.makeSignature = function makeSignature(sig) { - if (sig instanceof Signature) - return sig; - return new Signature(this, sig); -}; - -/** -* * https://tools.ietf.org/html/draft-josefsson-eddsa-ed25519-03#section-5.2 -* -* EDDSA defines methods for encoding and decoding points and integers. These are -* helper convenience methods, that pass along to utility functions implied -* parameters. -* -*/ -EDDSA.prototype.encodePoint = function encodePoint(point) { - var enc = point.getY().toArray('le', this.encodingLength); - enc[this.encodingLength - 1] |= point.getX().isOdd() ? 0x80 : 0; - return enc; -}; - -EDDSA.prototype.decodePoint = function decodePoint(bytes) { - bytes = utils.parseBytes(bytes); - - var lastIx = bytes.length - 1; - var normed = bytes.slice(0, lastIx).concat(bytes[lastIx] & ~0x80); - var xIsOdd = (bytes[lastIx] & 0x80) !== 0; - - var y = utils.intFromLE(normed); - return this.curve.pointFromY(y, xIsOdd); -}; - -EDDSA.prototype.encodeInt = function encodeInt(num) { - return num.toArray('le', this.encodingLength); -}; - -EDDSA.prototype.decodeInt = function decodeInt(bytes) { - return utils.intFromLE(bytes); -}; - -EDDSA.prototype.isPoint = function isPoint(val) { - return val instanceof this.pointClass; -}; - -(function (exports) { - - var elliptic = exports; - - elliptic.version = require$$0.version; - elliptic.utils = utils$m; - elliptic.rand = brorand.exports; - elliptic.curve = curve; - elliptic.curves = curves$2; - - // Protocols - elliptic.ec = ec$1; - elliptic.eddsa = eddsa; -} (elliptic)); - -const HEX_STRINGS = "0123456789abcdefABCDEF"; -HEX_STRINGS.split("").map((c) => c.codePointAt(0)); -Array(256) - .fill(true) - .map((_, i) => { - const s = String.fromCodePoint(i); - const index = HEX_STRINGS.indexOf(s); - // ABCDEF will use 10 - 15 - return index < 0 ? undefined : index < 16 ? index : index - 6; -}); -new TextEncoder(); -new TextDecoder("ascii"); -// Same behavior as Buffer.compare() -function compare(v1, v2) { - const minLength = Math.min(v1.length, v2.length); - for (let i = 0; i < minLength; ++i) { - if (v1[i] !== v2[i]) { - return v1[i] < v2[i] ? -1 : 1; - } - } - return v1.length === v2.length ? 0 : v1.length > v2.length ? 1 : -1; -} - -const ERROR_BAD_PRIVATE = 0; -const ERROR_BAD_POINT = 1; -const ERROR_BAD_TWEAK = 2; -const ERROR_BAD_HASH = 3; -const ERROR_BAD_SIGNATURE = 4; -const ERROR_BAD_EXTRA_DATA = 5; -const ERROR_BAD_PARITY = 6; -const ERROR_BAD_RECOVERY_ID = 7; -const ERRORS_MESSAGES = { - [ERROR_BAD_PRIVATE.toString()]: "Expected Private", - [ERROR_BAD_POINT.toString()]: "Expected Point", - [ERROR_BAD_TWEAK.toString()]: "Expected Tweak", - [ERROR_BAD_HASH.toString()]: "Expected Hash", - [ERROR_BAD_SIGNATURE.toString()]: "Expected Signature", - [ERROR_BAD_EXTRA_DATA.toString()]: "Expected Extra Data (32 bytes)", - [ERROR_BAD_PARITY.toString()]: "Expected Parity (1 | 0)", - [ERROR_BAD_RECOVERY_ID.toString()]: "Bad Recovery Id", -}; -function throwError(errcode) { - const message = ERRORS_MESSAGES[errcode.toString()] || `Unknow error code: ${errcode}`; - throw new TypeError(message); -} - -var validate_error = /*#__PURE__*/Object.freeze({ - __proto__: null, - ERROR_BAD_PRIVATE: ERROR_BAD_PRIVATE, - ERROR_BAD_POINT: ERROR_BAD_POINT, - ERROR_BAD_TWEAK: ERROR_BAD_TWEAK, - ERROR_BAD_HASH: ERROR_BAD_HASH, - ERROR_BAD_SIGNATURE: ERROR_BAD_SIGNATURE, - ERROR_BAD_EXTRA_DATA: ERROR_BAD_EXTRA_DATA, - ERROR_BAD_PARITY: ERROR_BAD_PARITY, - ERROR_BAD_RECOVERY_ID: ERROR_BAD_RECOVERY_ID, - throwError: throwError -}); - -const PRIVATE_KEY_SIZE = 32; -const PUBLIC_KEY_COMPRESSED_SIZE = 33; -const PUBLIC_KEY_UNCOMPRESSED_SIZE = 65; -const X_ONLY_PUBLIC_KEY_SIZE = 32; -const TWEAK_SIZE = 32; -const HASH_SIZE = 32; -const EXTRA_DATA_SIZE = 32; -const SIGNATURE_SIZE = 64; -const BN32_ZERO = new Uint8Array(32); -const BN32_N = new Uint8Array([ - 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, - 254, 186, 174, 220, 230, 175, 72, 160, 59, 191, 210, 94, 140, 208, 54, 65, 65, -]); -// Difference between field and order -const BN32_P_MINUS_N = new Uint8Array([ - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 69, 81, 35, 25, 80, 183, 95, - 196, 64, 45, 161, 114, 47, 201, 186, 238, -]); -function isUint8Array(value) { - return value instanceof Uint8Array; -} -function cmpBN32(data1, data2) { - for (let i = 0; i < 32; ++i) { - if (data1[i] !== data2[i]) { - return data1[i] < data2[i] ? -1 : 1; - } - } - return 0; -} -function isZero(x) { - return cmpBN32(x, BN32_ZERO) === 0; -} -function isPrivate$1(x) { - return (isUint8Array(x) && - x.length === PRIVATE_KEY_SIZE && - cmpBN32(x, BN32_ZERO) > 0 && - cmpBN32(x, BN32_N) < 0); -} -function isPoint$1(p) { - return (isUint8Array(p) && - (p.length === PUBLIC_KEY_COMPRESSED_SIZE || - p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE || - p.length === X_ONLY_PUBLIC_KEY_SIZE)); -} -function isXOnlyPoint$1(p) { - return isUint8Array(p) && p.length === X_ONLY_PUBLIC_KEY_SIZE; -} -function isDERPoint(p) { - return (isUint8Array(p) && - (p.length === PUBLIC_KEY_COMPRESSED_SIZE || - p.length === PUBLIC_KEY_UNCOMPRESSED_SIZE)); -} -function isPointCompressed$1(p) { - return isUint8Array(p) && p.length === PUBLIC_KEY_COMPRESSED_SIZE; -} -function isTweak(tweak) { - return (isUint8Array(tweak) && - tweak.length === TWEAK_SIZE && - cmpBN32(tweak, BN32_N) < 0); -} -function isHash(h) { - return isUint8Array(h) && h.length === HASH_SIZE; -} -function isExtraData(e) { - return e === undefined || (isUint8Array(e) && e.length === EXTRA_DATA_SIZE); -} -function isSignature(signature) { - return (isUint8Array(signature) && - signature.length === 64 && - cmpBN32(signature.subarray(0, 32), BN32_N) < 0 && - cmpBN32(signature.subarray(32, 64), BN32_N) < 0); -} -function isSigrLessThanPMinusN(signature) { - return (isUint8Array(signature) && - signature.length === 64 && - cmpBN32(signature.subarray(0, 32), BN32_P_MINUS_N) < 0); -} -function validateParity(p) { - if (p !== 0 && p !== 1) - throwError(ERROR_BAD_PARITY); -} -function validatePrivate(d) { - if (!isPrivate$1(d)) - throwError(ERROR_BAD_PRIVATE); -} -function validatePoint(p) { - if (!isPoint$1(p)) - throwError(ERROR_BAD_POINT); -} -function validateXOnlyPoint(p) { - if (!isXOnlyPoint$1(p)) - throwError(ERROR_BAD_POINT); -} -function validateTweak(tweak) { - if (!isTweak(tweak)) - throwError(ERROR_BAD_TWEAK); -} -function validateHash(h) { - if (!isHash(h)) - throwError(ERROR_BAD_HASH); -} -function validateExtraData(e) { - if (!isExtraData(e)) - throwError(ERROR_BAD_EXTRA_DATA); -} -function validateSignature(signature) { - if (!isSignature(signature)) - throwError(ERROR_BAD_SIGNATURE); -} -function validateSignatureCustom(validatorFn) { - if (!validatorFn()) - throwError(ERROR_BAD_SIGNATURE); -} -function validateSignatureNonzeroRS(signature) { - if (isZero(signature.subarray(0, 32))) - throwError(ERROR_BAD_SIGNATURE); - if (isZero(signature.subarray(32, 64))) - throwError(ERROR_BAD_SIGNATURE); -} -function validateSigrPMinusN(signature) { - if (!isSigrLessThanPMinusN(signature)) - throwError(ERROR_BAD_RECOVERY_ID); -} - -function path(wasmFilename) { - const url = new Url.URL(wasmFilename, (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('fabric.react.js', document.baseURI).href))); - return Url.fileURLToPath(url); -} - -function generateInt32() { - return require$$0$2.randomBytes(4).readInt32BE(0); -} - -var rand = /*#__PURE__*/Object.freeze({ - __proto__: null, - generateInt32: generateInt32 -}); - -const binary = fs.readFileSync(path("secp256k1.wasm")); -const imports = { - "./rand.js": rand, - "./validate_error.js": validate_error, -}; -const mod = new WebAssembly.Module(binary); -const instance = new WebAssembly.Instance(mod, imports); -var wasm = instance.exports; - -const WASM_BUFFER = new Uint8Array(wasm.memory.buffer); -const WASM_PRIVATE_KEY_PTR = wasm.PRIVATE_INPUT.value; -const WASM_PUBLIC_KEY_INPUT_PTR = wasm.PUBLIC_KEY_INPUT.value; -const WASM_PUBLIC_KEY_INPUT_PTR2 = wasm.PUBLIC_KEY_INPUT2.value; -const WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT.value; -const WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR = wasm.X_ONLY_PUBLIC_KEY_INPUT2.value; -const WASM_TWEAK_INPUT_PTR = wasm.TWEAK_INPUT.value; -const WASM_HASH_INPUT_PTR = wasm.HASH_INPUT.value; -const WASM_EXTRA_DATA_INPUT_PTR = wasm.EXTRA_DATA_INPUT.value; -const WASM_SIGNATURE_INPUT_PTR = wasm.SIGNATURE_INPUT.value; -const PRIVATE_KEY_INPUT = WASM_BUFFER.subarray(WASM_PRIVATE_KEY_PTR, WASM_PRIVATE_KEY_PTR + PRIVATE_KEY_SIZE); -const PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR, WASM_PUBLIC_KEY_INPUT_PTR + PUBLIC_KEY_UNCOMPRESSED_SIZE); -const PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_PUBLIC_KEY_INPUT_PTR2, WASM_PUBLIC_KEY_INPUT_PTR2 + PUBLIC_KEY_UNCOMPRESSED_SIZE); -const X_ONLY_PUBLIC_KEY_INPUT = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT_PTR + X_ONLY_PUBLIC_KEY_SIZE); -const X_ONLY_PUBLIC_KEY_INPUT2 = WASM_BUFFER.subarray(WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR, WASM_X_ONLY_PUBLIC_KEY_INPUT2_PTR + X_ONLY_PUBLIC_KEY_SIZE); -const TWEAK_INPUT = WASM_BUFFER.subarray(WASM_TWEAK_INPUT_PTR, WASM_TWEAK_INPUT_PTR + TWEAK_SIZE); -const HASH_INPUT = WASM_BUFFER.subarray(WASM_HASH_INPUT_PTR, WASM_HASH_INPUT_PTR + HASH_SIZE); -const EXTRA_DATA_INPUT = WASM_BUFFER.subarray(WASM_EXTRA_DATA_INPUT_PTR, WASM_EXTRA_DATA_INPUT_PTR + EXTRA_DATA_SIZE); -const SIGNATURE_INPUT = WASM_BUFFER.subarray(WASM_SIGNATURE_INPUT_PTR, WASM_SIGNATURE_INPUT_PTR + SIGNATURE_SIZE); -function assumeCompression(compressed, p) { - if (compressed === undefined) { - return p !== undefined ? p.length : PUBLIC_KEY_COMPRESSED_SIZE; - } - return compressed - ? PUBLIC_KEY_COMPRESSED_SIZE - : PUBLIC_KEY_UNCOMPRESSED_SIZE; -} -function _isPoint(p) { - try { - PUBLIC_KEY_INPUT.set(p); - return wasm.isPoint(p.length) === 1; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - } -} -function __initializeContext() { - wasm.initializeContext(); -} -function isPoint(p) { - return isDERPoint(p) && _isPoint(p); -} -function isPointCompressed(p) { - return isPointCompressed$1(p) && _isPoint(p); -} -function isXOnlyPoint(p) { - return isXOnlyPoint$1(p) && _isPoint(p); -} -function isPrivate(d) { - return isPrivate$1(d); -} -function pointAdd(pA, pB, compressed) { - validatePoint(pA); - validatePoint(pB); - const outputlen = assumeCompression(compressed, pA); - try { - PUBLIC_KEY_INPUT.set(pA); - PUBLIC_KEY_INPUT2.set(pB); - return wasm.pointAdd(pA.length, pB.length, outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - PUBLIC_KEY_INPUT2.fill(0); - } -} -function pointAddScalar(p, tweak, compressed) { - validatePoint(p); - validateTweak(tweak); - const outputlen = assumeCompression(compressed, p); - try { - PUBLIC_KEY_INPUT.set(p); - TWEAK_INPUT.set(tweak); - return wasm.pointAddScalar(p.length, outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function pointCompress(p, compressed) { - validatePoint(p); - const outputlen = assumeCompression(compressed, p); - try { - PUBLIC_KEY_INPUT.set(p); - wasm.pointCompress(p.length, outputlen); - return PUBLIC_KEY_INPUT.slice(0, outputlen); - } - finally { - PUBLIC_KEY_INPUT.fill(0); - } -} -function pointFromScalar(d, compressed) { - validatePrivate(d); - const outputlen = assumeCompression(compressed); - try { - PRIVATE_KEY_INPUT.set(d); - return wasm.pointFromScalar(outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PRIVATE_KEY_INPUT.fill(0); - PUBLIC_KEY_INPUT.fill(0); - } -} -function xOnlyPointFromScalar(d) { - validatePrivate(d); - try { - PRIVATE_KEY_INPUT.set(d); - wasm.xOnlyPointFromScalar(); - return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); - } - finally { - PRIVATE_KEY_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - } -} -function xOnlyPointFromPoint(p) { - validatePoint(p); - try { - PUBLIC_KEY_INPUT.set(p); - wasm.xOnlyPointFromPoint(p.length); - return X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); - } - finally { - PUBLIC_KEY_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - } -} -function pointMultiply(p, tweak, compressed) { - validatePoint(p); - validateTweak(tweak); - const outputlen = assumeCompression(compressed, p); - try { - PUBLIC_KEY_INPUT.set(p); - TWEAK_INPUT.set(tweak); - return wasm.pointMultiply(p.length, outputlen) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - PUBLIC_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function privateAdd(d, tweak) { - validatePrivate(d); - validateTweak(tweak); - try { - PRIVATE_KEY_INPUT.set(d); - TWEAK_INPUT.set(tweak); - return wasm.privateAdd() === 1 - ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) - : null; - } - finally { - PRIVATE_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function privateSub(d, tweak) { - validatePrivate(d); - validateTweak(tweak); - // We can not pass zero tweak to WASM, because WASM use `secp256k1_ec_seckey_negate` for tweak negate. - // (zero is not valid seckey) - if (isZero(tweak)) { - return new Uint8Array(d); - } - try { - PRIVATE_KEY_INPUT.set(d); - TWEAK_INPUT.set(tweak); - return wasm.privateSub() === 1 - ? PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE) - : null; - } - finally { - PRIVATE_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function privateNegate(d) { - validatePrivate(d); - try { - PRIVATE_KEY_INPUT.set(d); - wasm.privateNegate(); - return PRIVATE_KEY_INPUT.slice(0, PRIVATE_KEY_SIZE); - } - finally { - PRIVATE_KEY_INPUT.fill(0); - } -} -function xOnlyPointAddTweak(p, tweak) { - validateXOnlyPoint(p); - validateTweak(tweak); - try { - X_ONLY_PUBLIC_KEY_INPUT.set(p); - TWEAK_INPUT.set(tweak); - const parity = wasm.xOnlyPointAddTweak(); - return parity !== -1 - ? { - parity, - xOnlyPubkey: X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE), - } - : null; - } - finally { - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - TWEAK_INPUT.fill(0); - } -} -function xOnlyPointAddTweakCheck(point, tweak, resultToCheck, tweakParity) { - validateXOnlyPoint(point); - validateXOnlyPoint(resultToCheck); - validateTweak(tweak); - const hasParity = tweakParity !== undefined; - if (hasParity) - validateParity(tweakParity); - try { - X_ONLY_PUBLIC_KEY_INPUT.set(point); - X_ONLY_PUBLIC_KEY_INPUT2.set(resultToCheck); - TWEAK_INPUT.set(tweak); - if (hasParity) { - return wasm.xOnlyPointAddTweakCheck(tweakParity) === 1; - } - else { - wasm.xOnlyPointAddTweak(); - const newKey = X_ONLY_PUBLIC_KEY_INPUT.slice(0, X_ONLY_PUBLIC_KEY_SIZE); - return compare(newKey, resultToCheck) === 0; - } - } - finally { - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT2.fill(0); - TWEAK_INPUT.fill(0); - } -} -function sign(h, d, e) { - validateHash(h); - validatePrivate(d); - validateExtraData(e); - try { - HASH_INPUT.set(h); - PRIVATE_KEY_INPUT.set(d); - if (e !== undefined) - EXTRA_DATA_INPUT.set(e); - wasm.sign(e === undefined ? 0 : 1); - return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); - } - finally { - HASH_INPUT.fill(0); - PRIVATE_KEY_INPUT.fill(0); - if (e !== undefined) - EXTRA_DATA_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function signRecoverable(h, d, e) { - validateHash(h); - validatePrivate(d); - validateExtraData(e); - try { - HASH_INPUT.set(h); - PRIVATE_KEY_INPUT.set(d); - if (e !== undefined) - EXTRA_DATA_INPUT.set(e); - const recoveryId = wasm.signRecoverable(e === undefined ? 0 : 1); - const signature = SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); - return { - signature, - recoveryId, - }; - } - finally { - HASH_INPUT.fill(0); - PRIVATE_KEY_INPUT.fill(0); - if (e !== undefined) - EXTRA_DATA_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function signSchnorr(h, d, e) { - validateHash(h); - validatePrivate(d); - validateExtraData(e); - try { - HASH_INPUT.set(h); - PRIVATE_KEY_INPUT.set(d); - if (e !== undefined) - EXTRA_DATA_INPUT.set(e); - wasm.signSchnorr(e === undefined ? 0 : 1); - return SIGNATURE_INPUT.slice(0, SIGNATURE_SIZE); - } - finally { - HASH_INPUT.fill(0); - PRIVATE_KEY_INPUT.fill(0); - if (e !== undefined) - EXTRA_DATA_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function verify(h, Q, signature, strict = false) { - validateHash(h); - validatePoint(Q); - validateSignature(signature); - try { - HASH_INPUT.set(h); - PUBLIC_KEY_INPUT.set(Q); - SIGNATURE_INPUT.set(signature); - return wasm.verify(Q.length, strict === true ? 1 : 0) === 1 ? true : false; - } - finally { - HASH_INPUT.fill(0); - PUBLIC_KEY_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} -function recover(h, signature, recoveryId, compressed = false) { - validateHash(h); - validateSignature(signature); - validateSignatureNonzeroRS(signature); - if (recoveryId & 2) { - validateSigrPMinusN(signature); - } - validateSignatureCustom(() => isXOnlyPoint(signature.subarray(0, 32))); - const outputlen = assumeCompression(compressed); - try { - HASH_INPUT.set(h); - SIGNATURE_INPUT.set(signature); - return wasm.recover(outputlen, recoveryId) === 1 - ? PUBLIC_KEY_INPUT.slice(0, outputlen) - : null; - } - finally { - HASH_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - PUBLIC_KEY_INPUT.fill(0); - } -} -function verifySchnorr(h, Q, signature) { - validateHash(h); - validateXOnlyPoint(Q); - validateSignature(signature); - try { - HASH_INPUT.set(h); - X_ONLY_PUBLIC_KEY_INPUT.set(Q); - SIGNATURE_INPUT.set(signature); - return wasm.verifySchnorr() === 1 ? true : false; - } - finally { - HASH_INPUT.fill(0); - X_ONLY_PUBLIC_KEY_INPUT.fill(0); - SIGNATURE_INPUT.fill(0); - } -} - -var lib = /*#__PURE__*/Object.freeze({ - __proto__: null, - __initializeContext: __initializeContext, - isPoint: isPoint, - isPointCompressed: isPointCompressed, - isXOnlyPoint: isXOnlyPoint, - isPrivate: isPrivate, - pointAdd: pointAdd, - pointAddScalar: pointAddScalar, - pointCompress: pointCompress, - pointFromScalar: pointFromScalar, - xOnlyPointFromScalar: xOnlyPointFromScalar, - xOnlyPointFromPoint: xOnlyPointFromPoint, - pointMultiply: pointMultiply, - privateAdd: privateAdd, - privateSub: privateSub, - privateNegate: privateNegate, - xOnlyPointAddTweak: xOnlyPointAddTweak, - xOnlyPointAddTweakCheck: xOnlyPointAddTweakCheck, - sign: sign, - signRecoverable: signRecoverable, - signSchnorr: signSchnorr, - verify: verify, - recover: recover, - verifySchnorr: verifySchnorr -}); - -var require$$5 = /*@__PURE__*/getAugmentedNamespace(lib); - -var payments$1 = {}; - -var embed = {}; - -var networks = {}; - -Object.defineProperty(networks, '__esModule', { value: true }); -networks.testnet = networks.regtest = networks.bitcoin = void 0; -networks.bitcoin = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'bc', - bip32: { - public: 0x0488b21e, - private: 0x0488ade4, - }, - pubKeyHash: 0x00, - scriptHash: 0x05, - wif: 0x80, -}; -networks.regtest = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'bcrt', - bip32: { - public: 0x043587cf, - private: 0x04358394, - }, - pubKeyHash: 0x6f, - scriptHash: 0xc4, - wif: 0xef, -}; -networks.testnet = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'tb', - bip32: { - public: 0x043587cf, - private: 0x04358394, - }, - pubKeyHash: 0x6f, - scriptHash: 0xc4, - wif: 0xef, -}; - -var script = {}; - -var bip66$1 = {}; - -// Reference https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki -// Format: 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] -// NOTE: SIGHASH byte ignored AND restricted, truncate before use -Object.defineProperty(bip66$1, '__esModule', { value: true }); -bip66$1.encode = bip66$1.decode = bip66$1.check = void 0; -function check(buffer) { - if (buffer.length < 8) return false; - if (buffer.length > 72) return false; - if (buffer[0] !== 0x30) return false; - if (buffer[1] !== buffer.length - 2) return false; - if (buffer[2] !== 0x02) return false; - const lenR = buffer[3]; - if (lenR === 0) return false; - if (5 + lenR >= buffer.length) return false; - if (buffer[4 + lenR] !== 0x02) return false; - const lenS = buffer[5 + lenR]; - if (lenS === 0) return false; - if (6 + lenR + lenS !== buffer.length) return false; - if (buffer[4] & 0x80) return false; - if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) return false; - if (buffer[lenR + 6] & 0x80) return false; - if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) - return false; - return true; -} -bip66$1.check = check; -function decode$4(buffer) { - if (buffer.length < 8) throw new Error('DER sequence length is too short'); - if (buffer.length > 72) throw new Error('DER sequence length is too long'); - if (buffer[0] !== 0x30) throw new Error('Expected DER sequence'); - if (buffer[1] !== buffer.length - 2) - throw new Error('DER sequence length is invalid'); - if (buffer[2] !== 0x02) throw new Error('Expected DER integer'); - const lenR = buffer[3]; - if (lenR === 0) throw new Error('R length is zero'); - if (5 + lenR >= buffer.length) throw new Error('R length is too long'); - if (buffer[4 + lenR] !== 0x02) throw new Error('Expected DER integer (2)'); - const lenS = buffer[5 + lenR]; - if (lenS === 0) throw new Error('S length is zero'); - if (6 + lenR + lenS !== buffer.length) throw new Error('S length is invalid'); - if (buffer[4] & 0x80) throw new Error('R value is negative'); - if (lenR > 1 && buffer[4] === 0x00 && !(buffer[5] & 0x80)) - throw new Error('R value excessively padded'); - if (buffer[lenR + 6] & 0x80) throw new Error('S value is negative'); - if (lenS > 1 && buffer[lenR + 6] === 0x00 && !(buffer[lenR + 7] & 0x80)) - throw new Error('S value excessively padded'); - // non-BIP66 - extract R, S values - return { - r: buffer.slice(4, 4 + lenR), - s: buffer.slice(6 + lenR), - }; -} -bip66$1.decode = decode$4; -/* - * Expects r and s to be positive DER integers. - * - * The DER format uses the most significant bit as a sign bit (& 0x80). - * If the significant bit is set AND the integer is positive, a 0x00 is prepended. - * - * Examples: - * - * 0 => 0x00 - * 1 => 0x01 - * -1 => 0xff - * 127 => 0x7f - * -127 => 0x81 - * 128 => 0x0080 - * -128 => 0x80 - * 255 => 0x00ff - * -255 => 0xff01 - * 16300 => 0x3fac - * -16300 => 0xc054 - * 62300 => 0x00f35c - * -62300 => 0xff0ca4 - */ -function encode$4(r, s) { - const lenR = r.length; - const lenS = s.length; - if (lenR === 0) throw new Error('R length is zero'); - if (lenS === 0) throw new Error('S length is zero'); - if (lenR > 33) throw new Error('R length is too long'); - if (lenS > 33) throw new Error('S length is too long'); - if (r[0] & 0x80) throw new Error('R value is negative'); - if (s[0] & 0x80) throw new Error('S value is negative'); - if (lenR > 1 && r[0] === 0x00 && !(r[1] & 0x80)) - throw new Error('R value excessively padded'); - if (lenS > 1 && s[0] === 0x00 && !(s[1] & 0x80)) - throw new Error('S value excessively padded'); - const signature = Buffer.allocUnsafe(6 + lenR + lenS); - // 0x30 [total-length] 0x02 [R-length] [R] 0x02 [S-length] [S] - signature[0] = 0x30; - signature[1] = signature.length - 2; - signature[2] = 0x02; - signature[3] = r.length; - r.copy(signature, 4); - signature[4 + lenR] = 0x02; - signature[5 + lenR] = s.length; - s.copy(signature, 6 + lenR); - return signature; -} -bip66$1.encode = encode$4; - -var ops = {}; - -Object.defineProperty(ops, '__esModule', { value: true }); -ops.REVERSE_OPS = ops.OPS = void 0; -const OPS$7 = { - OP_FALSE: 0, - OP_0: 0, - OP_PUSHDATA1: 76, - OP_PUSHDATA2: 77, - OP_PUSHDATA4: 78, - OP_1NEGATE: 79, - OP_RESERVED: 80, - OP_TRUE: 81, - OP_1: 81, - OP_2: 82, - OP_3: 83, - OP_4: 84, - OP_5: 85, - OP_6: 86, - OP_7: 87, - OP_8: 88, - OP_9: 89, - OP_10: 90, - OP_11: 91, - OP_12: 92, - OP_13: 93, - OP_14: 94, - OP_15: 95, - OP_16: 96, - OP_NOP: 97, - OP_VER: 98, - OP_IF: 99, - OP_NOTIF: 100, - OP_VERIF: 101, - OP_VERNOTIF: 102, - OP_ELSE: 103, - OP_ENDIF: 104, - OP_VERIFY: 105, - OP_RETURN: 106, - OP_TOALTSTACK: 107, - OP_FROMALTSTACK: 108, - OP_2DROP: 109, - OP_2DUP: 110, - OP_3DUP: 111, - OP_2OVER: 112, - OP_2ROT: 113, - OP_2SWAP: 114, - OP_IFDUP: 115, - OP_DEPTH: 116, - OP_DROP: 117, - OP_DUP: 118, - OP_NIP: 119, - OP_OVER: 120, - OP_PICK: 121, - OP_ROLL: 122, - OP_ROT: 123, - OP_SWAP: 124, - OP_TUCK: 125, - OP_CAT: 126, - OP_SUBSTR: 127, - OP_LEFT: 128, - OP_RIGHT: 129, - OP_SIZE: 130, - OP_INVERT: 131, - OP_AND: 132, - OP_OR: 133, - OP_XOR: 134, - OP_EQUAL: 135, - OP_EQUALVERIFY: 136, - OP_RESERVED1: 137, - OP_RESERVED2: 138, - OP_1ADD: 139, - OP_1SUB: 140, - OP_2MUL: 141, - OP_2DIV: 142, - OP_NEGATE: 143, - OP_ABS: 144, - OP_NOT: 145, - OP_0NOTEQUAL: 146, - OP_ADD: 147, - OP_SUB: 148, - OP_MUL: 149, - OP_DIV: 150, - OP_MOD: 151, - OP_LSHIFT: 152, - OP_RSHIFT: 153, - OP_BOOLAND: 154, - OP_BOOLOR: 155, - OP_NUMEQUAL: 156, - OP_NUMEQUALVERIFY: 157, - OP_NUMNOTEQUAL: 158, - OP_LESSTHAN: 159, - OP_GREATERTHAN: 160, - OP_LESSTHANOREQUAL: 161, - OP_GREATERTHANOREQUAL: 162, - OP_MIN: 163, - OP_MAX: 164, - OP_WITHIN: 165, - OP_RIPEMD160: 166, - OP_SHA1: 167, - OP_SHA256: 168, - OP_HASH160: 169, - OP_HASH256: 170, - OP_CODESEPARATOR: 171, - OP_CHECKSIG: 172, - OP_CHECKSIGVERIFY: 173, - OP_CHECKMULTISIG: 174, - OP_CHECKMULTISIGVERIFY: 175, - OP_NOP1: 176, - OP_NOP2: 177, - OP_CHECKLOCKTIMEVERIFY: 177, - OP_NOP3: 178, - OP_CHECKSEQUENCEVERIFY: 178, - OP_NOP4: 179, - OP_NOP5: 180, - OP_NOP6: 181, - OP_NOP7: 182, - OP_NOP8: 183, - OP_NOP9: 184, - OP_NOP10: 185, - OP_PUBKEYHASH: 253, - OP_PUBKEY: 254, - OP_INVALIDOPCODE: 255, -}; -ops.OPS = OPS$7; -const REVERSE_OPS = {}; -ops.REVERSE_OPS = REVERSE_OPS; -for (const op of Object.keys(OPS$7)) { - const code = OPS$7[op]; - REVERSE_OPS[code] = op; -} - -var push_data = {}; - -Object.defineProperty(push_data, '__esModule', { value: true }); -push_data.decode = push_data.encode = push_data.encodingLength = void 0; -const ops_1 = ops; -function encodingLength(i) { - return i < ops_1.OPS.OP_PUSHDATA1 ? 1 : i <= 0xff ? 2 : i <= 0xffff ? 3 : 5; -} -push_data.encodingLength = encodingLength; -function encode$3(buffer, num, offset) { - const size = encodingLength(num); - // ~6 bit - if (size === 1) { - buffer.writeUInt8(num, offset); - // 8 bit - } else if (size === 2) { - buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA1, offset); - buffer.writeUInt8(num, offset + 1); - // 16 bit - } else if (size === 3) { - buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA2, offset); - buffer.writeUInt16LE(num, offset + 1); - // 32 bit - } else { - buffer.writeUInt8(ops_1.OPS.OP_PUSHDATA4, offset); - buffer.writeUInt32LE(num, offset + 1); - } - return size; -} -push_data.encode = encode$3; -function decode$3(buffer, offset) { - const opcode = buffer.readUInt8(offset); - let num; - let size; - // ~6 bit - if (opcode < ops_1.OPS.OP_PUSHDATA1) { - num = opcode; - size = 1; - // 8 bit - } else if (opcode === ops_1.OPS.OP_PUSHDATA1) { - if (offset + 2 > buffer.length) return null; - num = buffer.readUInt8(offset + 1); - size = 2; - // 16 bit - } else if (opcode === ops_1.OPS.OP_PUSHDATA2) { - if (offset + 3 > buffer.length) return null; - num = buffer.readUInt16LE(offset + 1); - size = 3; - // 32 bit - } else { - if (offset + 5 > buffer.length) return null; - if (opcode !== ops_1.OPS.OP_PUSHDATA4) throw new Error('Unexpected opcode'); - num = buffer.readUInt32LE(offset + 1); - size = 5; - } - return { - opcode, - number: num, - size, - }; -} -push_data.decode = decode$3; - -var script_number = {}; - -Object.defineProperty(script_number, '__esModule', { value: true }); -script_number.encode = script_number.decode = void 0; -function decode$2(buffer, maxLength, minimal) { - maxLength = maxLength || 4; - minimal = minimal === undefined ? true : minimal; - const length = buffer.length; - if (length === 0) return 0; - if (length > maxLength) throw new TypeError('Script number overflow'); - if (minimal) { - if ((buffer[length - 1] & 0x7f) === 0) { - if (length <= 1 || (buffer[length - 2] & 0x80) === 0) - throw new Error('Non-minimally encoded script number'); - } - } - // 40-bit - if (length === 5) { - const a = buffer.readUInt32LE(0); - const b = buffer.readUInt8(4); - if (b & 0x80) return -((b & ~0x80) * 0x100000000 + a); - return b * 0x100000000 + a; - } - // 32-bit / 24-bit / 16-bit / 8-bit - let result = 0; - for (let i = 0; i < length; ++i) { - result |= buffer[i] << (8 * i); - } - if (buffer[length - 1] & 0x80) - return -(result & ~(0x80 << (8 * (length - 1)))); - return result; -} -script_number.decode = decode$2; -function scriptNumSize(i) { - return i > 0x7fffffff - ? 5 - : i > 0x7fffff - ? 4 - : i > 0x7fff - ? 3 - : i > 0x7f - ? 2 - : i > 0x00 - ? 1 - : 0; -} -function encode$2(_number) { - let value = Math.abs(_number); - const size = scriptNumSize(value); - const buffer = Buffer.allocUnsafe(size); - const negative = _number < 0; - for (let i = 0; i < size; ++i) { - buffer.writeUInt8(value & 0xff, i); - value >>= 8; - } - if (buffer[size - 1] & 0x80) { - buffer.writeUInt8(negative ? 0x80 : 0x00, size - 1); - } else if (negative) { - buffer[size - 1] |= 0x80; - } - return buffer; -} -script_number.encode = encode$2; - -var script_signature = {}; - -var types$2 = {}; - -var types$1 = { - Array: function (value) { return value !== null && value !== undefined && value.constructor === Array }, - Boolean: function (value) { return typeof value === 'boolean' }, - Function: function (value) { return typeof value === 'function' }, - Nil: function (value) { return value === undefined || value === null }, - Number: function (value) { return typeof value === 'number' }, - Object: function (value) { return typeof value === 'object' }, - String: function (value) { return typeof value === 'string' }, - '': function () { return true } -}; - -// TODO: deprecate -types$1.Null = types$1.Nil; - -for (var typeName$1 in types$1) { - types$1[typeName$1].toJSON = function (t) { - return t - }.bind(null, typeName$1); -} - -var native$1 = types$1; - -var native = native$1; - -function getTypeName (fn) { - return fn.name || fn.toString().match(/function (.*?)\s*\(/)[1] -} - -function getValueTypeName$1 (value) { - return native.Nil(value) ? '' : getTypeName(value.constructor) -} - -function getValue (value) { - if (native.Function(value)) return '' - if (native.String(value)) return JSON.stringify(value) - if (value && native.Object(value)) return '' - return value -} - -function captureStackTrace (e, t) { - if (Error.captureStackTrace) { - Error.captureStackTrace(e, t); - } -} - -function tfJSON$1 (type) { - if (native.Function(type)) return type.toJSON ? type.toJSON() : getTypeName(type) - if (native.Array(type)) return 'Array' - if (type && native.Object(type)) return 'Object' - - return type !== undefined ? type : '' -} - -function tfErrorString (type, value, valueTypeName) { - var valueJson = getValue(value); - - return 'Expected ' + tfJSON$1(type) + ', got' + - (valueTypeName !== '' ? ' ' + valueTypeName : '') + - (valueJson !== '' ? ' ' + valueJson : '') -} - -function TfTypeError$1 (type, value, valueTypeName) { - valueTypeName = valueTypeName || getValueTypeName$1(value); - this.message = tfErrorString(type, value, valueTypeName); - - captureStackTrace(this, TfTypeError$1); - this.__type = type; - this.__value = value; - this.__valueTypeName = valueTypeName; -} - -TfTypeError$1.prototype = Object.create(Error.prototype); -TfTypeError$1.prototype.constructor = TfTypeError$1; - -function tfPropertyErrorString (type, label, name, value, valueTypeName) { - var description = '" of type '; - if (label === 'key') description = '" with key type '; - - return tfErrorString('property "' + tfJSON$1(name) + description + tfJSON$1(type), value, valueTypeName) -} - -function TfPropertyTypeError$1 (type, property, label, value, valueTypeName) { - if (type) { - valueTypeName = valueTypeName || getValueTypeName$1(value); - this.message = tfPropertyErrorString(type, label, property, value, valueTypeName); - } else { - this.message = 'Unexpected property "' + property + '"'; - } - - captureStackTrace(this, TfTypeError$1); - this.__label = label; - this.__property = property; - this.__type = type; - this.__value = value; - this.__valueTypeName = valueTypeName; -} - -TfPropertyTypeError$1.prototype = Object.create(Error.prototype); -TfPropertyTypeError$1.prototype.constructor = TfTypeError$1; - -function tfCustomError (expected, actual) { - return new TfTypeError$1(expected, {}, actual) -} - -function tfSubError$1 (e, property, label) { - // sub child? - if (e instanceof TfPropertyTypeError$1) { - property = property + '.' + e.__property; - - e = new TfPropertyTypeError$1( - e.__type, property, e.__label, e.__value, e.__valueTypeName - ); - - // child? - } else if (e instanceof TfTypeError$1) { - e = new TfPropertyTypeError$1( - e.__type, property, label, e.__value, e.__valueTypeName - ); - } - - captureStackTrace(e); - return e -} - -var errors = { - TfTypeError: TfTypeError$1, - TfPropertyTypeError: TfPropertyTypeError$1, - tfCustomError: tfCustomError, - tfSubError: tfSubError$1, - tfJSON: tfJSON$1, - getValueTypeName: getValueTypeName$1 -}; - -var extra; -var hasRequiredExtra; - -function requireExtra () { - if (hasRequiredExtra) return extra; - hasRequiredExtra = 1; - var NATIVE = native$1; - var ERRORS = errors; - - function _Buffer (value) { - return Buffer.isBuffer(value) - } - - function Hex (value) { - return typeof value === 'string' && /^([0-9a-f]{2})+$/i.test(value) - } - - function _LengthN (type, length) { - var name = type.toJSON(); - - function Length (value) { - if (!type(value)) return false - if (value.length === length) return true - - throw ERRORS.tfCustomError(name + '(Length: ' + length + ')', name + '(Length: ' + value.length + ')') - } - Length.toJSON = function () { return name }; - - return Length - } - - var _ArrayN = _LengthN.bind(null, NATIVE.Array); - var _BufferN = _LengthN.bind(null, _Buffer); - var _HexN = _LengthN.bind(null, Hex); - var _StringN = _LengthN.bind(null, NATIVE.String); - - function Range (a, b, f) { - f = f || NATIVE.Number; - function _range (value, strict) { - return f(value, strict) && (value > a) && (value < b) - } - _range.toJSON = function () { - return `${f.toJSON()} between [${a}, ${b}]` - }; - return _range - } - - var INT53_MAX = Math.pow(2, 53) - 1; - - function Finite (value) { - return typeof value === 'number' && isFinite(value) - } - function Int8 (value) { return ((value << 24) >> 24) === value } - function Int16 (value) { return ((value << 16) >> 16) === value } - function Int32 (value) { return (value | 0) === value } - function Int53 (value) { - return typeof value === 'number' && - value >= -INT53_MAX && - value <= INT53_MAX && - Math.floor(value) === value - } - function UInt8 (value) { return (value & 0xff) === value } - function UInt16 (value) { return (value & 0xffff) === value } - function UInt32 (value) { return (value >>> 0) === value } - function UInt53 (value) { - return typeof value === 'number' && - value >= 0 && - value <= INT53_MAX && - Math.floor(value) === value - } - - var types = { - ArrayN: _ArrayN, - Buffer: _Buffer, - BufferN: _BufferN, - Finite: Finite, - Hex: Hex, - HexN: _HexN, - Int8: Int8, - Int16: Int16, - Int32: Int32, - Int53: Int53, - Range: Range, - StringN: _StringN, - UInt8: UInt8, - UInt16: UInt16, - UInt32: UInt32, - UInt53: UInt53 - }; - - for (var typeName in types) { - types[typeName].toJSON = function (t) { - return t - }.bind(null, typeName); - } - - extra = types; - return extra; -} - -var ERRORS = errors; -var NATIVE = native$1; - -// short-hand -var tfJSON = ERRORS.tfJSON; -var TfTypeError = ERRORS.TfTypeError; -var TfPropertyTypeError = ERRORS.TfPropertyTypeError; -var tfSubError = ERRORS.tfSubError; -var getValueTypeName = ERRORS.getValueTypeName; - -var TYPES = { - arrayOf: function arrayOf (type, options) { - type = compile(type); - options = options || {}; - - function _arrayOf (array, strict) { - if (!NATIVE.Array(array)) return false - if (NATIVE.Nil(array)) return false - if (options.minLength !== undefined && array.length < options.minLength) return false - if (options.maxLength !== undefined && array.length > options.maxLength) return false - if (options.length !== undefined && array.length !== options.length) return false - - return array.every(function (value, i) { - try { - return typeforce$2(type, value, strict) - } catch (e) { - throw tfSubError(e, i) - } - }) - } - _arrayOf.toJSON = function () { - var str = '[' + tfJSON(type) + ']'; - if (options.length !== undefined) { - str += '{' + options.length + '}'; - } else if (options.minLength !== undefined || options.maxLength !== undefined) { - str += '{' + - (options.minLength === undefined ? 0 : options.minLength) + ',' + - (options.maxLength === undefined ? Infinity : options.maxLength) + '}'; - } - return str - }; - - return _arrayOf - }, - - maybe: function maybe (type) { - type = compile(type); - - function _maybe (value, strict) { - return NATIVE.Nil(value) || type(value, strict, maybe) - } - _maybe.toJSON = function () { return '?' + tfJSON(type) }; - - return _maybe - }, - - map: function map (propertyType, propertyKeyType) { - propertyType = compile(propertyType); - if (propertyKeyType) propertyKeyType = compile(propertyKeyType); - - function _map (value, strict) { - if (!NATIVE.Object(value)) return false - if (NATIVE.Nil(value)) return false - - for (var propertyName in value) { - try { - if (propertyKeyType) { - typeforce$2(propertyKeyType, propertyName, strict); - } - } catch (e) { - throw tfSubError(e, propertyName, 'key') - } - - try { - var propertyValue = value[propertyName]; - typeforce$2(propertyType, propertyValue, strict); - } catch (e) { - throw tfSubError(e, propertyName) - } - } - - return true - } - - if (propertyKeyType) { - _map.toJSON = function () { - return '{' + tfJSON(propertyKeyType) + ': ' + tfJSON(propertyType) + '}' - }; - } else { - _map.toJSON = function () { return '{' + tfJSON(propertyType) + '}' }; - } - - return _map - }, - - object: function object (uncompiled) { - var type = {}; - - for (var typePropertyName in uncompiled) { - type[typePropertyName] = compile(uncompiled[typePropertyName]); - } - - function _object (value, strict) { - if (!NATIVE.Object(value)) return false - if (NATIVE.Nil(value)) return false - - var propertyName; - - try { - for (propertyName in type) { - var propertyType = type[propertyName]; - var propertyValue = value[propertyName]; - - typeforce$2(propertyType, propertyValue, strict); - } - } catch (e) { - throw tfSubError(e, propertyName) - } - - if (strict) { - for (propertyName in value) { - if (type[propertyName]) continue - - throw new TfPropertyTypeError(undefined, propertyName) - } - } - - return true - } - _object.toJSON = function () { return tfJSON(type) }; - - return _object - }, - - anyOf: function anyOf () { - var types = [].slice.call(arguments).map(compile); - - function _anyOf (value, strict) { - return types.some(function (type) { - try { - return typeforce$2(type, value, strict) - } catch (e) { - return false - } - }) - } - _anyOf.toJSON = function () { return types.map(tfJSON).join('|') }; - - return _anyOf - }, - - allOf: function allOf () { - var types = [].slice.call(arguments).map(compile); - - function _allOf (value, strict) { - return types.every(function (type) { - try { - return typeforce$2(type, value, strict) - } catch (e) { - return false - } - }) - } - _allOf.toJSON = function () { return types.map(tfJSON).join(' & ') }; - - return _allOf - }, - - quacksLike: function quacksLike (type) { - function _quacksLike (value) { - return type === getValueTypeName(value) - } - _quacksLike.toJSON = function () { return type }; - - return _quacksLike - }, - - tuple: function tuple () { - var types = [].slice.call(arguments).map(compile); - - function _tuple (values, strict) { - if (NATIVE.Nil(values)) return false - if (NATIVE.Nil(values.length)) return false - if (strict && (values.length !== types.length)) return false - - return types.every(function (type, i) { - try { - return typeforce$2(type, values[i], strict) - } catch (e) { - throw tfSubError(e, i) - } - }) - } - _tuple.toJSON = function () { return '(' + types.map(tfJSON).join(', ') + ')' }; - - return _tuple - }, - - value: function value (expected) { - function _value (actual) { - return actual === expected - } - _value.toJSON = function () { return expected }; - - return _value - } -}; - -// TODO: deprecate -TYPES.oneOf = TYPES.anyOf; - -function compile (type) { - if (NATIVE.String(type)) { - if (type[0] === '?') return TYPES.maybe(type.slice(1)) - - return NATIVE[type] || TYPES.quacksLike(type) - } else if (type && NATIVE.Object(type)) { - if (NATIVE.Array(type)) { - if (type.length !== 1) throw new TypeError('Expected compile() parameter of type Array of length 1') - return TYPES.arrayOf(type[0]) - } - - return TYPES.object(type) - } else if (NATIVE.Function(type)) { - return type - } - - return TYPES.value(type) -} - -function typeforce$2 (type, value, strict, surrogate) { - if (NATIVE.Function(type)) { - if (type(value, strict)) return true - - throw new TfTypeError(surrogate || type, value) - } - - // JIT - return typeforce$2(compile(type), value, strict) -} - -// assign types to typeforce function -for (var typeName in NATIVE) { - typeforce$2[typeName] = NATIVE[typeName]; -} - -for (typeName in TYPES) { - typeforce$2[typeName] = TYPES[typeName]; -} - -var EXTRA = requireExtra(); -for (typeName in EXTRA) { - typeforce$2[typeName] = EXTRA[typeName]; -} - -typeforce$2.compile = compile; -typeforce$2.TfTypeError = TfTypeError; -typeforce$2.TfPropertyTypeError = TfPropertyTypeError; - -var typeforce_1 = typeforce$2; - -(function (exports) { - Object.defineProperty(exports, '__esModule', { value: true }); - exports.oneOf = exports.Null = exports.BufferN = exports.Function = exports.UInt32 = exports.UInt8 = exports.tuple = exports.maybe = exports.Hex = exports.Buffer = exports.String = exports.Boolean = exports.Array = exports.Number = exports.Hash256bit = exports.Hash160bit = exports.Buffer256bit = exports.Network = exports.ECPoint = exports.Satoshi = exports.Signer = exports.BIP32Path = exports.UInt31 = exports.isPoint = exports.typeforce = void 0; - const buffer_1 = require$$0__default$3["default"]; - exports.typeforce = typeforce_1; - const ZERO32 = buffer_1.Buffer.alloc(32, 0); - const EC_P = buffer_1.Buffer.from( - 'fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f', - 'hex', - ); - function isPoint(p) { - if (!buffer_1.Buffer.isBuffer(p)) return false; - if (p.length < 33) return false; - const t = p[0]; - const x = p.slice(1, 33); - if (x.compare(ZERO32) === 0) return false; - if (x.compare(EC_P) >= 0) return false; - if ((t === 0x02 || t === 0x03) && p.length === 33) { - return true; - } - const y = p.slice(33); - if (y.compare(ZERO32) === 0) return false; - if (y.compare(EC_P) >= 0) return false; - if (t === 0x04 && p.length === 65) return true; - return false; - } - exports.isPoint = isPoint; - const UINT31_MAX = Math.pow(2, 31) - 1; - function UInt31(value) { - return exports.typeforce.UInt32(value) && value <= UINT31_MAX; - } - exports.UInt31 = UInt31; - function BIP32Path(value) { - return ( - exports.typeforce.String(value) && !!value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) - ); - } - exports.BIP32Path = BIP32Path; - BIP32Path.toJSON = () => { - return 'BIP32 derivation path'; - }; - function Signer(obj) { - return ( - (exports.typeforce.Buffer(obj.publicKey) || - typeof obj.getPublicKey === 'function') && - typeof obj.sign === 'function' - ); - } - exports.Signer = Signer; - const SATOSHI_MAX = 21 * 1e14; - function Satoshi(value) { - return exports.typeforce.UInt53(value) && value <= SATOSHI_MAX; - } - exports.Satoshi = Satoshi; - // external dependent types - exports.ECPoint = exports.typeforce.quacksLike('Point'); - // exposed, external API - exports.Network = exports.typeforce.compile({ - messagePrefix: exports.typeforce.oneOf( - exports.typeforce.Buffer, - exports.typeforce.String, - ), - bip32: { - public: exports.typeforce.UInt32, - private: exports.typeforce.UInt32, - }, - pubKeyHash: exports.typeforce.UInt8, - scriptHash: exports.typeforce.UInt8, - wif: exports.typeforce.UInt8, - }); - exports.Buffer256bit = exports.typeforce.BufferN(32); - exports.Hash160bit = exports.typeforce.BufferN(20); - exports.Hash256bit = exports.typeforce.BufferN(32); - exports.Number = exports.typeforce.Number; // tslint:disable-line variable-name - exports.Array = exports.typeforce.Array; - exports.Boolean = exports.typeforce.Boolean; // tslint:disable-line variable-name - exports.String = exports.typeforce.String; // tslint:disable-line variable-name - exports.Buffer = exports.typeforce.Buffer; - exports.Hex = exports.typeforce.Hex; - exports.maybe = exports.typeforce.maybe; - exports.tuple = exports.typeforce.tuple; - exports.UInt8 = exports.typeforce.UInt8; - exports.UInt32 = exports.typeforce.UInt32; - exports.Function = exports.typeforce.Function; - exports.BufferN = exports.typeforce.BufferN; - exports.Null = exports.typeforce.Null; - exports.oneOf = exports.typeforce.oneOf; -} (types$2)); - -Object.defineProperty(script_signature, '__esModule', { value: true }); -script_signature.encode = script_signature.decode = void 0; -const bip66 = bip66$1; -const types = types$2; -const { typeforce: typeforce$1 } = types; -const ZERO = Buffer.alloc(1, 0); -function toDER(x) { - let i = 0; - while (x[i] === 0) ++i; - if (i === x.length) return ZERO; - x = x.slice(i); - if (x[0] & 0x80) return Buffer.concat([ZERO, x], 1 + x.length); - return x; -} -function fromDER(x) { - if (x[0] === 0x00) x = x.slice(1); - const buffer = Buffer.alloc(32, 0); - const bstart = Math.max(0, 32 - x.length); - x.copy(buffer, bstart); - return buffer; -} -// BIP62: 1 byte hashType flag (only 0x01, 0x02, 0x03, 0x81, 0x82 and 0x83 are allowed) -function decode$1(buffer) { - const hashType = buffer.readUInt8(buffer.length - 1); - const hashTypeMod = hashType & ~0x80; - if (hashTypeMod <= 0 || hashTypeMod >= 4) - throw new Error('Invalid hashType ' + hashType); - const decoded = bip66.decode(buffer.slice(0, -1)); - const r = fromDER(decoded.r); - const s = fromDER(decoded.s); - const signature = Buffer.concat([r, s], 64); - return { signature, hashType }; -} -script_signature.decode = decode$1; -function encode$1(signature, hashType) { - typeforce$1( - { - signature: types.BufferN(64), - hashType: types.UInt8, - }, - { signature, hashType }, - ); - const hashTypeMod = hashType & ~0x80; - if (hashTypeMod <= 0 || hashTypeMod >= 4) - throw new Error('Invalid hashType ' + hashType); - const hashTypeBuffer = Buffer.allocUnsafe(1); - hashTypeBuffer.writeUInt8(hashType, 0); - const r = toDER(signature.slice(0, 32)); - const s = toDER(signature.slice(32, 64)); - return Buffer.concat([bip66.encode(r, s), hashTypeBuffer]); -} -script_signature.encode = encode$1; - -(function (exports) { - Object.defineProperty(exports, '__esModule', { value: true }); - exports.signature = exports.number = exports.isCanonicalScriptSignature = exports.isDefinedHashType = exports.isCanonicalPubKey = exports.toStack = exports.fromASM = exports.toASM = exports.decompile = exports.compile = exports.isPushOnly = exports.OPS = void 0; - const bip66 = bip66$1; - const ops_1 = ops; - Object.defineProperty(exports, 'OPS', { - enumerable: true, - get: function() { - return ops_1.OPS; - }, - }); - const pushdata = push_data; - const scriptNumber = script_number; - const scriptSignature = script_signature; - const types = types$2; - const { typeforce } = types; - const OP_INT_BASE = ops_1.OPS.OP_RESERVED; // OP_1 - 1 - function isOPInt(value) { - return ( - types.Number(value) && - (value === ops_1.OPS.OP_0 || - (value >= ops_1.OPS.OP_1 && value <= ops_1.OPS.OP_16) || - value === ops_1.OPS.OP_1NEGATE) - ); - } - function isPushOnlyChunk(value) { - return types.Buffer(value) || isOPInt(value); - } - function isPushOnly(value) { - return types.Array(value) && value.every(isPushOnlyChunk); - } - exports.isPushOnly = isPushOnly; - function asMinimalOP(buffer) { - if (buffer.length === 0) return ops_1.OPS.OP_0; - if (buffer.length !== 1) return; - if (buffer[0] >= 1 && buffer[0] <= 16) return OP_INT_BASE + buffer[0]; - if (buffer[0] === 0x81) return ops_1.OPS.OP_1NEGATE; - } - function chunksIsBuffer(buf) { - return Buffer.isBuffer(buf); - } - function chunksIsArray(buf) { - return types.Array(buf); - } - function singleChunkIsBuffer(buf) { - return Buffer.isBuffer(buf); - } - function compile(chunks) { - // TODO: remove me - if (chunksIsBuffer(chunks)) return chunks; - typeforce(types.Array, chunks); - const bufferSize = chunks.reduce((accum, chunk) => { - // data chunk - if (singleChunkIsBuffer(chunk)) { - // adhere to BIP62.3, minimal push policy - if (chunk.length === 1 && asMinimalOP(chunk) !== undefined) { - return accum + 1; - } - return accum + pushdata.encodingLength(chunk.length) + chunk.length; - } - // opcode - return accum + 1; - }, 0.0); - const buffer = Buffer.allocUnsafe(bufferSize); - let offset = 0; - chunks.forEach(chunk => { - // data chunk - if (singleChunkIsBuffer(chunk)) { - // adhere to BIP62.3, minimal push policy - const opcode = asMinimalOP(chunk); - if (opcode !== undefined) { - buffer.writeUInt8(opcode, offset); - offset += 1; - return; - } - offset += pushdata.encode(buffer, chunk.length, offset); - chunk.copy(buffer, offset); - offset += chunk.length; - // opcode - } else { - buffer.writeUInt8(chunk, offset); - offset += 1; - } - }); - if (offset !== buffer.length) throw new Error('Could not decode chunks'); - return buffer; - } - exports.compile = compile; - function decompile(buffer) { - // TODO: remove me - if (chunksIsArray(buffer)) return buffer; - typeforce(types.Buffer, buffer); - const chunks = []; - let i = 0; - while (i < buffer.length) { - const opcode = buffer[i]; - // data chunk - if (opcode > ops_1.OPS.OP_0 && opcode <= ops_1.OPS.OP_PUSHDATA4) { - const d = pushdata.decode(buffer, i); - // did reading a pushDataInt fail? - if (d === null) return null; - i += d.size; - // attempt to read too much data? - if (i + d.number > buffer.length) return null; - const data = buffer.slice(i, i + d.number); - i += d.number; - // decompile minimally - const op = asMinimalOP(data); - if (op !== undefined) { - chunks.push(op); - } else { - chunks.push(data); - } - // opcode - } else { - chunks.push(opcode); - i += 1; - } - } - return chunks; - } - exports.decompile = decompile; - function toASM(chunks) { - if (chunksIsBuffer(chunks)) { - chunks = decompile(chunks); - } - return chunks - .map(chunk => { - // data? - if (singleChunkIsBuffer(chunk)) { - const op = asMinimalOP(chunk); - if (op === undefined) return chunk.toString('hex'); - chunk = op; - } - // opcode! - return ops_1.REVERSE_OPS[chunk]; - }) - .join(' '); - } - exports.toASM = toASM; - function fromASM(asm) { - typeforce(types.String, asm); - return compile( - asm.split(' ').map(chunkStr => { - // opcode? - if (ops_1.OPS[chunkStr] !== undefined) return ops_1.OPS[chunkStr]; - typeforce(types.Hex, chunkStr); - // data! - return Buffer.from(chunkStr, 'hex'); - }), - ); - } - exports.fromASM = fromASM; - function toStack(chunks) { - chunks = decompile(chunks); - typeforce(isPushOnly, chunks); - return chunks.map(op => { - if (singleChunkIsBuffer(op)) return op; - if (op === ops_1.OPS.OP_0) return Buffer.allocUnsafe(0); - return scriptNumber.encode(op - OP_INT_BASE); - }); - } - exports.toStack = toStack; - function isCanonicalPubKey(buffer) { - return types.isPoint(buffer); - } - exports.isCanonicalPubKey = isCanonicalPubKey; - function isDefinedHashType(hashType) { - const hashTypeMod = hashType & ~0x80; - // return hashTypeMod > SIGHASH_ALL && hashTypeMod < SIGHASH_SINGLE - return hashTypeMod > 0x00 && hashTypeMod < 0x04; - } - exports.isDefinedHashType = isDefinedHashType; - function isCanonicalScriptSignature(buffer) { - if (!Buffer.isBuffer(buffer)) return false; - if (!isDefinedHashType(buffer[buffer.length - 1])) return false; - return bip66.check(buffer.slice(0, -1)); - } - exports.isCanonicalScriptSignature = isCanonicalScriptSignature; - // tslint:disable-next-line variable-name - exports.number = scriptNumber; - exports.signature = scriptSignature; -} (script)); - -var lazy$7 = {}; - -Object.defineProperty(lazy$7, '__esModule', { value: true }); -lazy$7.value = lazy$7.prop = void 0; -function prop(object, name, f) { - Object.defineProperty(object, name, { - configurable: true, - enumerable: true, - get() { - const _value = f.call(this); - this[name] = _value; - return _value; - }, - set(_value) { - Object.defineProperty(this, name, { - configurable: true, - enumerable: true, - value: _value, - writable: true, - }); - }, - }); -} -lazy$7.prop = prop; -function value(f) { - let _value; - return () => { - if (_value !== undefined) return _value; - _value = f(); - return _value; - }; -} -lazy$7.value = value; - -Object.defineProperty(embed, '__esModule', { value: true }); -embed.p2data = void 0; -const networks_1$6 = networks; -const bscript$6 = script; -const types_1$6 = types$2; -const lazy$6 = lazy$7; -const OPS$6 = bscript$6.OPS; -function stacksEqual$3(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -// output: OP_RETURN ... -function p2data(a, opts) { - if (!a.data && !a.output) throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$6.typeforce)( - { - network: types_1$6.typeforce.maybe(types_1$6.typeforce.Object), - output: types_1$6.typeforce.maybe(types_1$6.typeforce.Buffer), - data: types_1$6.typeforce.maybe( - types_1$6.typeforce.arrayOf(types_1$6.typeforce.Buffer), - ), - }, - a, - ); - const network = a.network || networks_1$6.bitcoin; - const o = { name: 'embed', network }; - lazy$6.prop(o, 'output', () => { - if (!a.data) return; - return bscript$6.compile([OPS$6.OP_RETURN].concat(a.data)); - }); - lazy$6.prop(o, 'data', () => { - if (!a.output) return; - return bscript$6.decompile(a.output).slice(1); - }); - // extended validation - if (opts.validate) { - if (a.output) { - const chunks = bscript$6.decompile(a.output); - if (chunks[0] !== OPS$6.OP_RETURN) throw new TypeError('Output is invalid'); - if (!chunks.slice(1).every(types_1$6.typeforce.Buffer)) - throw new TypeError('Output is invalid'); - if (a.data && !stacksEqual$3(a.data, o.data)) - throw new TypeError('Data mismatch'); - } - } - return Object.assign(o, a); -} -embed.p2data = p2data; - -var p2ms$1 = {}; - -Object.defineProperty(p2ms$1, '__esModule', { value: true }); -p2ms$1.p2ms = void 0; -const networks_1$5 = networks; -const bscript$5 = script; -const types_1$5 = types$2; -const lazy$5 = lazy$7; -const OPS$5 = bscript$5.OPS; -const OP_INT_BASE = OPS$5.OP_RESERVED; // OP_1 - 1 -function stacksEqual$2(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -// input: OP_0 [signatures ...] -// output: m [pubKeys ...] n OP_CHECKMULTISIG -function p2ms(a, opts) { - if ( - !a.input && - !a.output && - !(a.pubkeys && a.m !== undefined) && - !a.signatures - ) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - function isAcceptableSignature(x) { - return ( - bscript$5.isCanonicalScriptSignature(x) || - (opts.allowIncomplete && x === OPS$5.OP_0) !== undefined - ); - } - (0, types_1$5.typeforce)( - { - network: types_1$5.typeforce.maybe(types_1$5.typeforce.Object), - m: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), - n: types_1$5.typeforce.maybe(types_1$5.typeforce.Number), - output: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), - pubkeys: types_1$5.typeforce.maybe( - types_1$5.typeforce.arrayOf(types_1$5.isPoint), - ), - signatures: types_1$5.typeforce.maybe( - types_1$5.typeforce.arrayOf(isAcceptableSignature), - ), - input: types_1$5.typeforce.maybe(types_1$5.typeforce.Buffer), - }, - a, - ); - const network = a.network || networks_1$5.bitcoin; - const o = { network }; - let chunks = []; - let decoded = false; - function decode(output) { - if (decoded) return; - decoded = true; - chunks = bscript$5.decompile(output); - o.m = chunks[0] - OP_INT_BASE; - o.n = chunks[chunks.length - 2] - OP_INT_BASE; - o.pubkeys = chunks.slice(1, -2); - } - lazy$5.prop(o, 'output', () => { - if (!a.m) return; - if (!o.n) return; - if (!a.pubkeys) return; - return bscript$5.compile( - [].concat( - OP_INT_BASE + a.m, - a.pubkeys, - OP_INT_BASE + o.n, - OPS$5.OP_CHECKMULTISIG, - ), - ); - }); - lazy$5.prop(o, 'm', () => { - if (!o.output) return; - decode(o.output); - return o.m; - }); - lazy$5.prop(o, 'n', () => { - if (!o.pubkeys) return; - return o.pubkeys.length; - }); - lazy$5.prop(o, 'pubkeys', () => { - if (!a.output) return; - decode(a.output); - return o.pubkeys; - }); - lazy$5.prop(o, 'signatures', () => { - if (!a.input) return; - return bscript$5.decompile(a.input).slice(1); - }); - lazy$5.prop(o, 'input', () => { - if (!a.signatures) return; - return bscript$5.compile([OPS$5.OP_0].concat(a.signatures)); - }); - lazy$5.prop(o, 'witness', () => { - if (!o.input) return; - return []; - }); - lazy$5.prop(o, 'name', () => { - if (!o.m || !o.n) return; - return `p2ms(${o.m} of ${o.n})`; - }); - // extended validation - if (opts.validate) { - if (a.output) { - decode(a.output); - if (!types_1$5.typeforce.Number(chunks[0])) - throw new TypeError('Output is invalid'); - if (!types_1$5.typeforce.Number(chunks[chunks.length - 2])) - throw new TypeError('Output is invalid'); - if (chunks[chunks.length - 1] !== OPS$5.OP_CHECKMULTISIG) - throw new TypeError('Output is invalid'); - if (o.m <= 0 || o.n > 16 || o.m > o.n || o.n !== chunks.length - 3) - throw new TypeError('Output is invalid'); - if (!o.pubkeys.every(x => (0, types_1$5.isPoint)(x))) - throw new TypeError('Output is invalid'); - if (a.m !== undefined && a.m !== o.m) throw new TypeError('m mismatch'); - if (a.n !== undefined && a.n !== o.n) throw new TypeError('n mismatch'); - if (a.pubkeys && !stacksEqual$2(a.pubkeys, o.pubkeys)) - throw new TypeError('Pubkeys mismatch'); - } - if (a.pubkeys) { - if (a.n !== undefined && a.n !== a.pubkeys.length) - throw new TypeError('Pubkey count mismatch'); - o.n = a.pubkeys.length; - if (o.n < o.m) throw new TypeError('Pubkey count cannot be less than m'); - } - if (a.signatures) { - if (a.signatures.length < o.m) - throw new TypeError('Not enough signatures provided'); - if (a.signatures.length > o.m) - throw new TypeError('Too many signatures provided'); - } - if (a.input) { - if (a.input[0] !== OPS$5.OP_0) throw new TypeError('Input is invalid'); - if ( - o.signatures.length === 0 || - !o.signatures.every(isAcceptableSignature) - ) - throw new TypeError('Input has invalid signature(s)'); - if (a.signatures && !stacksEqual$2(a.signatures, o.signatures)) - throw new TypeError('Signature mismatch'); - if (a.m !== undefined && a.m !== a.signatures.length) - throw new TypeError('Signature count mismatch'); - } - } - return Object.assign(o, a); -} -p2ms$1.p2ms = p2ms; - -var p2pk$1 = {}; - -Object.defineProperty(p2pk$1, '__esModule', { value: true }); -p2pk$1.p2pk = void 0; -const networks_1$4 = networks; -const bscript$4 = script; -const types_1$4 = types$2; -const lazy$4 = lazy$7; -const OPS$4 = bscript$4.OPS; -// input: {signature} -// output: {pubKey} OP_CHECKSIG -function p2pk(a, opts) { - if (!a.input && !a.output && !a.pubkey && !a.input && !a.signature) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$4.typeforce)( - { - network: types_1$4.typeforce.maybe(types_1$4.typeforce.Object), - output: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), - pubkey: types_1$4.typeforce.maybe(types_1$4.isPoint), - signature: types_1$4.typeforce.maybe(bscript$4.isCanonicalScriptSignature), - input: types_1$4.typeforce.maybe(types_1$4.typeforce.Buffer), - }, - a, - ); - const _chunks = lazy$4.value(() => { - return bscript$4.decompile(a.input); - }); - const network = a.network || networks_1$4.bitcoin; - const o = { name: 'p2pk', network }; - lazy$4.prop(o, 'output', () => { - if (!a.pubkey) return; - return bscript$4.compile([a.pubkey, OPS$4.OP_CHECKSIG]); - }); - lazy$4.prop(o, 'pubkey', () => { - if (!a.output) return; - return a.output.slice(1, -1); - }); - lazy$4.prop(o, 'signature', () => { - if (!a.input) return; - return _chunks()[0]; - }); - lazy$4.prop(o, 'input', () => { - if (!a.signature) return; - return bscript$4.compile([a.signature]); - }); - lazy$4.prop(o, 'witness', () => { - if (!o.input) return; - return []; - }); - // extended validation - if (opts.validate) { - if (a.output) { - if (a.output[a.output.length - 1] !== OPS$4.OP_CHECKSIG) - throw new TypeError('Output is invalid'); - if (!(0, types_1$4.isPoint)(o.pubkey)) - throw new TypeError('Output pubkey is invalid'); - if (a.pubkey && !a.pubkey.equals(o.pubkey)) - throw new TypeError('Pubkey mismatch'); - } - if (a.signature) { - if (a.input && !a.input.equals(o.input)) - throw new TypeError('Signature mismatch'); - } - if (a.input) { - if (_chunks().length !== 1) throw new TypeError('Input is invalid'); - if (!bscript$4.isCanonicalScriptSignature(o.signature)) - throw new TypeError('Input has invalid signature'); - } - } - return Object.assign(o, a); -} -p2pk$1.p2pk = p2pk; - -var p2pkh$1 = {}; - -var crypto$3 = {}; - -var createHash$3 = require$$0__default["default"].createHash; - -Object.defineProperty(crypto$3, '__esModule', { value: true }); -crypto$3.taggedHash = crypto$3.hash256 = crypto$3.hash160 = crypto$3.sha256 = crypto$3.sha1 = crypto$3.ripemd160 = void 0; -const createHash$2 = createHash$3; -function ripemd160(buffer) { - try { - return createHash$2('rmd160') - .update(buffer) - .digest(); - } catch (err) { - return createHash$2('ripemd160') - .update(buffer) - .digest(); - } -} -crypto$3.ripemd160 = ripemd160; -function sha1(buffer) { - return createHash$2('sha1') - .update(buffer) - .digest(); -} -crypto$3.sha1 = sha1; -function sha256(buffer) { - return createHash$2('sha256') - .update(buffer) - .digest(); -} -crypto$3.sha256 = sha256; -function hash160$1(buffer) { - return ripemd160(sha256(buffer)); -} -crypto$3.hash160 = hash160$1; -function hash256(buffer) { - return sha256(sha256(buffer)); -} -crypto$3.hash256 = hash256; -const TAGS = [ - 'BIP0340/challenge', - 'BIP0340/aux', - 'BIP0340/nonce', - 'TapLeaf', - 'TapBranch', - 'TapSighash', - 'TapTweak', - 'KeyAgg list', - 'KeyAgg coefficient', -]; -/** An object mapping tags to their tagged hash prefix of [SHA256(tag) | SHA256(tag)] */ -const TAGGED_HASH_PREFIXES = Object.fromEntries( - TAGS.map(tag => { - const tagHash = sha256(Buffer.from(tag)); - return [tag, Buffer.concat([tagHash, tagHash])]; - }), -); -function taggedHash(prefix, data) { - return sha256(Buffer.concat([TAGGED_HASH_PREFIXES[prefix], data])); -} -crypto$3.taggedHash = taggedHash; - -var safeBuffer = {exports: {}}; - -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ - -(function (module, exports) { - /* eslint-disable node/no-deprecated-api */ - var buffer = require$$0__default$3["default"]; - var Buffer = buffer.Buffer; - - // alternative to using Object.keys for old browsers - function copyProps (src, dst) { - for (var key in src) { - dst[key] = src[key]; - } - } - if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { - module.exports = buffer; - } else { - // Copy properties from require('buffer') - copyProps(buffer, exports); - exports.Buffer = SafeBuffer; - } - - function SafeBuffer (arg, encodingOrOffset, length) { - return Buffer(arg, encodingOrOffset, length) - } - - SafeBuffer.prototype = Object.create(Buffer.prototype); - - // Copy static methods from Buffer - copyProps(Buffer, SafeBuffer); - - SafeBuffer.from = function (arg, encodingOrOffset, length) { - if (typeof arg === 'number') { - throw new TypeError('Argument must not be a number') - } - return Buffer(arg, encodingOrOffset, length) - }; - - SafeBuffer.alloc = function (size, fill, encoding) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - var buf = Buffer(size); - if (fill !== undefined) { - if (typeof encoding === 'string') { - buf.fill(fill, encoding); - } else { - buf.fill(fill); - } - } else { - buf.fill(0); - } - return buf - }; - - SafeBuffer.allocUnsafe = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return Buffer(size) - }; - - SafeBuffer.allocUnsafeSlow = function (size) { - if (typeof size !== 'number') { - throw new TypeError('Argument must be a number') - } - return buffer.SlowBuffer(size) - }; -} (safeBuffer, safeBuffer.exports)); - -// base-x encoding / decoding -// Copyright (c) 2018 base-x contributors -// Copyright (c) 2014-2018 The Bitcoin Core developers (base58.cpp) -// Distributed under the MIT software license, see the accompanying -// file LICENSE or http://www.opensource.org/licenses/mit-license.php. -// @ts-ignore -var _Buffer = safeBuffer.exports.Buffer; -function base$1 (ALPHABET) { - if (ALPHABET.length >= 255) { throw new TypeError('Alphabet too long') } - var BASE_MAP = new Uint8Array(256); - for (var j = 0; j < BASE_MAP.length; j++) { - BASE_MAP[j] = 255; - } - for (var i = 0; i < ALPHABET.length; i++) { - var x = ALPHABET.charAt(i); - var xc = x.charCodeAt(0); - if (BASE_MAP[xc] !== 255) { throw new TypeError(x + ' is ambiguous') } - BASE_MAP[xc] = i; - } - var BASE = ALPHABET.length; - var LEADER = ALPHABET.charAt(0); - var FACTOR = Math.log(BASE) / Math.log(256); // log(BASE) / log(256), rounded up - var iFACTOR = Math.log(256) / Math.log(BASE); // log(256) / log(BASE), rounded up - function encode (source) { - if (Array.isArray(source) || source instanceof Uint8Array) { source = _Buffer.from(source); } - if (!_Buffer.isBuffer(source)) { throw new TypeError('Expected Buffer') } - if (source.length === 0) { return '' } - // Skip & count leading zeroes. - var zeroes = 0; - var length = 0; - var pbegin = 0; - var pend = source.length; - while (pbegin !== pend && source[pbegin] === 0) { - pbegin++; - zeroes++; - } - // Allocate enough space in big-endian base58 representation. - var size = ((pend - pbegin) * iFACTOR + 1) >>> 0; - var b58 = new Uint8Array(size); - // Process the bytes. - while (pbegin !== pend) { - var carry = source[pbegin]; - // Apply "b58 = b58 * 256 + ch". - var i = 0; - for (var it1 = size - 1; (carry !== 0 || i < length) && (it1 !== -1); it1--, i++) { - carry += (256 * b58[it1]) >>> 0; - b58[it1] = (carry % BASE) >>> 0; - carry = (carry / BASE) >>> 0; - } - if (carry !== 0) { throw new Error('Non-zero carry') } - length = i; - pbegin++; - } - // Skip leading zeroes in base58 result. - var it2 = size - length; - while (it2 !== size && b58[it2] === 0) { - it2++; - } - // Translate the result into a string. - var str = LEADER.repeat(zeroes); - for (; it2 < size; ++it2) { str += ALPHABET.charAt(b58[it2]); } - return str - } - function decodeUnsafe (source) { - if (typeof source !== 'string') { throw new TypeError('Expected String') } - if (source.length === 0) { return _Buffer.alloc(0) } - var psz = 0; - // Skip and count leading '1's. - var zeroes = 0; - var length = 0; - while (source[psz] === LEADER) { - zeroes++; - psz++; - } - // Allocate enough space in big-endian base256 representation. - var size = (((source.length - psz) * FACTOR) + 1) >>> 0; // log(58) / log(256), rounded up. - var b256 = new Uint8Array(size); - // Process the characters. - while (source[psz]) { - // Decode character - var carry = BASE_MAP[source.charCodeAt(psz)]; - // Invalid character - if (carry === 255) { return } - var i = 0; - for (var it3 = size - 1; (carry !== 0 || i < length) && (it3 !== -1); it3--, i++) { - carry += (BASE * b256[it3]) >>> 0; - b256[it3] = (carry % 256) >>> 0; - carry = (carry / 256) >>> 0; - } - if (carry !== 0) { throw new Error('Non-zero carry') } - length = i; - psz++; - } - // Skip leading zeroes in b256. - var it4 = size - length; - while (it4 !== size && b256[it4] === 0) { - it4++; - } - var vch = _Buffer.allocUnsafe(zeroes + (size - it4)); - vch.fill(0x00, 0, zeroes); - var j = zeroes; - while (it4 !== size) { - vch[j++] = b256[it4++]; - } - return vch - } - function decode (string) { - var buffer = decodeUnsafe(string); - if (buffer) { return buffer } - throw new Error('Non-base' + BASE + ' character') - } - return { - encode: encode, - decodeUnsafe: decodeUnsafe, - decode: decode - } -} -var src$1 = base$1; - -var basex = src$1; -var ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; - -var bs58 = basex(ALPHABET); - -var base58 = bs58; -var Buffer$1 = safeBuffer.exports.Buffer; - -var base = function (checksumFn) { - // Encode a buffer as a base58-check encoded string - function encode (payload) { - var checksum = checksumFn(payload); - - return base58.encode(Buffer$1.concat([ - payload, - checksum - ], payload.length + 4)) - } - - function decodeRaw (buffer) { - var payload = buffer.slice(0, -4); - var checksum = buffer.slice(-4); - var newChecksum = checksumFn(payload); - - if (checksum[0] ^ newChecksum[0] | - checksum[1] ^ newChecksum[1] | - checksum[2] ^ newChecksum[2] | - checksum[3] ^ newChecksum[3]) return - - return payload - } - - // Decode a base58-check encoded string to a buffer, no result if checksum is wrong - function decodeUnsafe (string) { - var buffer = base58.decodeUnsafe(string); - if (!buffer) return - - return decodeRaw(buffer) - } - - function decode (string) { - var buffer = base58.decode(string); - var payload = decodeRaw(buffer); - if (!payload) throw new Error('Invalid checksum') - return payload - } - - return { - encode: encode, - decode: decode, - decodeUnsafe: decodeUnsafe - } -}; - -var createHash$1 = createHash$3; -var bs58checkBase = base; - -// SHA256(SHA256(buffer)) -function sha256x2 (buffer) { - var tmp = createHash$1('sha256').update(buffer).digest(); - return createHash$1('sha256').update(tmp).digest() -} - -var bs58check$4 = bs58checkBase(sha256x2); - -Object.defineProperty(p2pkh$1, '__esModule', { value: true }); -p2pkh$1.p2pkh = void 0; -const bcrypto$3 = crypto$3; -const networks_1$3 = networks; -const bscript$3 = script; -const types_1$3 = types$2; -const lazy$3 = lazy$7; -const bs58check$3 = bs58check$4; -const OPS$3 = bscript$3.OPS; -// input: {signature} {pubkey} -// output: OP_DUP OP_HASH160 {hash160(pubkey)} OP_EQUALVERIFY OP_CHECKSIG -function p2pkh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.pubkey && !a.input) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$3.typeforce)( - { - network: types_1$3.typeforce.maybe(types_1$3.typeforce.Object), - address: types_1$3.typeforce.maybe(types_1$3.typeforce.String), - hash: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(20)), - output: types_1$3.typeforce.maybe(types_1$3.typeforce.BufferN(25)), - pubkey: types_1$3.typeforce.maybe(types_1$3.isPoint), - signature: types_1$3.typeforce.maybe(bscript$3.isCanonicalScriptSignature), - input: types_1$3.typeforce.maybe(types_1$3.typeforce.Buffer), - }, - a, - ); - const _address = lazy$3.value(() => { - const payload = bs58check$3.decode(a.address); - const version = payload.readUInt8(0); - const hash = payload.slice(1); - return { version, hash }; - }); - const _chunks = lazy$3.value(() => { - return bscript$3.decompile(a.input); - }); - const network = a.network || networks_1$3.bitcoin; - const o = { name: 'p2pkh', network }; - lazy$3.prop(o, 'address', () => { - if (!o.hash) return; - const payload = Buffer.allocUnsafe(21); - payload.writeUInt8(network.pubKeyHash, 0); - o.hash.copy(payload, 1); - return bs58check$3.encode(payload); - }); - lazy$3.prop(o, 'hash', () => { - if (a.output) return a.output.slice(3, 23); - if (a.address) return _address().hash; - if (a.pubkey || o.pubkey) return bcrypto$3.hash160(a.pubkey || o.pubkey); - }); - lazy$3.prop(o, 'output', () => { - if (!o.hash) return; - return bscript$3.compile([ - OPS$3.OP_DUP, - OPS$3.OP_HASH160, - o.hash, - OPS$3.OP_EQUALVERIFY, - OPS$3.OP_CHECKSIG, - ]); - }); - lazy$3.prop(o, 'pubkey', () => { - if (!a.input) return; - return _chunks()[1]; - }); - lazy$3.prop(o, 'signature', () => { - if (!a.input) return; - return _chunks()[0]; - }); - lazy$3.prop(o, 'input', () => { - if (!a.pubkey) return; - if (!a.signature) return; - return bscript$3.compile([a.signature, a.pubkey]); - }); - lazy$3.prop(o, 'witness', () => { - if (!o.input) return; - return []; - }); - // extended validation - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (_address().version !== network.pubKeyHash) - throw new TypeError('Invalid version or Network mismatch'); - if (_address().hash.length !== 20) throw new TypeError('Invalid address'); - hash = _address().hash; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 25 || - a.output[0] !== OPS$3.OP_DUP || - a.output[1] !== OPS$3.OP_HASH160 || - a.output[2] !== 0x14 || - a.output[23] !== OPS$3.OP_EQUALVERIFY || - a.output[24] !== OPS$3.OP_CHECKSIG - ) - throw new TypeError('Output is invalid'); - const hash2 = a.output.slice(3, 23); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (a.pubkey) { - const pkh = bcrypto$3.hash160(a.pubkey); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - else hash = pkh; - } - if (a.input) { - const chunks = _chunks(); - if (chunks.length !== 2) throw new TypeError('Input is invalid'); - if (!bscript$3.isCanonicalScriptSignature(chunks[0])) - throw new TypeError('Input has invalid signature'); - if (!(0, types_1$3.isPoint)(chunks[1])) - throw new TypeError('Input has invalid pubkey'); - if (a.signature && !a.signature.equals(chunks[0])) - throw new TypeError('Signature mismatch'); - if (a.pubkey && !a.pubkey.equals(chunks[1])) - throw new TypeError('Pubkey mismatch'); - const pkh = bcrypto$3.hash160(chunks[1]); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - } - } - return Object.assign(o, a); -} -p2pkh$1.p2pkh = p2pkh; - -var p2sh$1 = {}; - -Object.defineProperty(p2sh$1, '__esModule', { value: true }); -p2sh$1.p2sh = void 0; -const bcrypto$2 = crypto$3; -const networks_1$2 = networks; -const bscript$2 = script; -const types_1$2 = types$2; -const lazy$2 = lazy$7; -const bs58check$2 = bs58check$4; -const OPS$2 = bscript$2.OPS; -function stacksEqual$1(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -// input: [redeemScriptSig ...] {redeemScript} -// witness: -// output: OP_HASH160 {hash160(redeemScript)} OP_EQUAL -function p2sh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.redeem && !a.input) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$2.typeforce)( - { - network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), - address: types_1$2.typeforce.maybe(types_1$2.typeforce.String), - hash: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(20)), - output: types_1$2.typeforce.maybe(types_1$2.typeforce.BufferN(23)), - redeem: types_1$2.typeforce.maybe({ - network: types_1$2.typeforce.maybe(types_1$2.typeforce.Object), - output: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), - input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), - witness: types_1$2.typeforce.maybe( - types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), - ), - }), - input: types_1$2.typeforce.maybe(types_1$2.typeforce.Buffer), - witness: types_1$2.typeforce.maybe( - types_1$2.typeforce.arrayOf(types_1$2.typeforce.Buffer), - ), - }, - a, - ); - let network = a.network; - if (!network) { - network = (a.redeem && a.redeem.network) || networks_1$2.bitcoin; - } - const o = { network }; - const _address = lazy$2.value(() => { - const payload = bs58check$2.decode(a.address); - const version = payload.readUInt8(0); - const hash = payload.slice(1); - return { version, hash }; - }); - const _chunks = lazy$2.value(() => { - return bscript$2.decompile(a.input); - }); - const _redeem = lazy$2.value(() => { - const chunks = _chunks(); - return { - network, - output: chunks[chunks.length - 1], - input: bscript$2.compile(chunks.slice(0, -1)), - witness: a.witness || [], - }; - }); - // output dependents - lazy$2.prop(o, 'address', () => { - if (!o.hash) return; - const payload = Buffer.allocUnsafe(21); - payload.writeUInt8(o.network.scriptHash, 0); - o.hash.copy(payload, 1); - return bs58check$2.encode(payload); - }); - lazy$2.prop(o, 'hash', () => { - // in order of least effort - if (a.output) return a.output.slice(2, 22); - if (a.address) return _address().hash; - if (o.redeem && o.redeem.output) return bcrypto$2.hash160(o.redeem.output); - }); - lazy$2.prop(o, 'output', () => { - if (!o.hash) return; - return bscript$2.compile([OPS$2.OP_HASH160, o.hash, OPS$2.OP_EQUAL]); - }); - // input dependents - lazy$2.prop(o, 'redeem', () => { - if (!a.input) return; - return _redeem(); - }); - lazy$2.prop(o, 'input', () => { - if (!a.redeem || !a.redeem.input || !a.redeem.output) return; - return bscript$2.compile( - [].concat(bscript$2.decompile(a.redeem.input), a.redeem.output), - ); - }); - lazy$2.prop(o, 'witness', () => { - if (o.redeem && o.redeem.witness) return o.redeem.witness; - if (o.input) return []; - }); - lazy$2.prop(o, 'name', () => { - const nameParts = ['p2sh']; - if (o.redeem !== undefined && o.redeem.name !== undefined) - nameParts.push(o.redeem.name); - return nameParts.join('-'); - }); - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (_address().version !== network.scriptHash) - throw new TypeError('Invalid version or Network mismatch'); - if (_address().hash.length !== 20) throw new TypeError('Invalid address'); - hash = _address().hash; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 23 || - a.output[0] !== OPS$2.OP_HASH160 || - a.output[1] !== 0x14 || - a.output[22] !== OPS$2.OP_EQUAL - ) - throw new TypeError('Output is invalid'); - const hash2 = a.output.slice(2, 22); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - // inlined to prevent 'no-inner-declarations' failing - const checkRedeem = redeem => { - // is the redeem output empty/invalid? - if (redeem.output) { - const decompile = bscript$2.decompile(redeem.output); - if (!decompile || decompile.length < 1) - throw new TypeError('Redeem.output too short'); - // match hash against other sources - const hash2 = bcrypto$2.hash160(redeem.output); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (redeem.input) { - const hasInput = redeem.input.length > 0; - const hasWitness = redeem.witness && redeem.witness.length > 0; - if (!hasInput && !hasWitness) throw new TypeError('Empty input'); - if (hasInput && hasWitness) - throw new TypeError('Input and witness provided'); - if (hasInput) { - const richunks = bscript$2.decompile(redeem.input); - if (!bscript$2.isPushOnly(richunks)) - throw new TypeError('Non push-only scriptSig'); - } - } - }; - if (a.input) { - const chunks = _chunks(); - if (!chunks || chunks.length < 1) throw new TypeError('Input too short'); - if (!Buffer.isBuffer(_redeem().output)) - throw new TypeError('Input is invalid'); - checkRedeem(_redeem()); - } - if (a.redeem) { - if (a.redeem.network && a.redeem.network !== network) - throw new TypeError('Network mismatch'); - if (a.input) { - const redeem = _redeem(); - if (a.redeem.output && !a.redeem.output.equals(redeem.output)) - throw new TypeError('Redeem.output mismatch'); - if (a.redeem.input && !a.redeem.input.equals(redeem.input)) - throw new TypeError('Redeem.input mismatch'); - } - checkRedeem(a.redeem); - } - if (a.witness) { - if ( - a.redeem && - a.redeem.witness && - !stacksEqual$1(a.redeem.witness, a.witness) - ) - throw new TypeError('Witness and redeem.witness mismatch'); - } - } - return Object.assign(o, a); -} -p2sh$1.p2sh = p2sh; - -var p2wpkh$1 = {}; - -Object.defineProperty(p2wpkh$1, '__esModule', { value: true }); -p2wpkh$1.p2wpkh = void 0; -const bcrypto$1 = crypto$3; -const networks_1$1 = networks; -const bscript$1 = script; -const types_1$1 = types$2; -const lazy$1 = lazy$7; -const bech32_1$1 = dist$1; -const OPS$1 = bscript$1.OPS; -const EMPTY_BUFFER$1 = Buffer.alloc(0); -// witness: {signature} {pubKey} -// input: <> -// output: OP_0 {pubKeyHash} -function p2wpkh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.pubkey && !a.witness) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1$1.typeforce)( - { - address: types_1$1.typeforce.maybe(types_1$1.typeforce.String), - hash: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(20)), - input: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(0)), - network: types_1$1.typeforce.maybe(types_1$1.typeforce.Object), - output: types_1$1.typeforce.maybe(types_1$1.typeforce.BufferN(22)), - pubkey: types_1$1.typeforce.maybe(types_1$1.isPoint), - signature: types_1$1.typeforce.maybe(bscript$1.isCanonicalScriptSignature), - witness: types_1$1.typeforce.maybe( - types_1$1.typeforce.arrayOf(types_1$1.typeforce.Buffer), - ), - }, - a, - ); - const _address = lazy$1.value(() => { - const result = bech32_1$1.bech32.decode(a.address); - const version = result.words.shift(); - const data = bech32_1$1.bech32.fromWords(result.words); - return { - version, - prefix: result.prefix, - data: Buffer.from(data), - }; - }); - const network = a.network || networks_1$1.bitcoin; - const o = { name: 'p2wpkh', network }; - lazy$1.prop(o, 'address', () => { - if (!o.hash) return; - const words = bech32_1$1.bech32.toWords(o.hash); - words.unshift(0x00); - return bech32_1$1.bech32.encode(network.bech32, words); - }); - lazy$1.prop(o, 'hash', () => { - if (a.output) return a.output.slice(2, 22); - if (a.address) return _address().data; - if (a.pubkey || o.pubkey) return bcrypto$1.hash160(a.pubkey || o.pubkey); - }); - lazy$1.prop(o, 'output', () => { - if (!o.hash) return; - return bscript$1.compile([OPS$1.OP_0, o.hash]); - }); - lazy$1.prop(o, 'pubkey', () => { - if (a.pubkey) return a.pubkey; - if (!a.witness) return; - return a.witness[1]; - }); - lazy$1.prop(o, 'signature', () => { - if (!a.witness) return; - return a.witness[0]; - }); - lazy$1.prop(o, 'input', () => { - if (!o.witness) return; - return EMPTY_BUFFER$1; - }); - lazy$1.prop(o, 'witness', () => { - if (!a.pubkey) return; - if (!a.signature) return; - return [a.signature, a.pubkey]; - }); - // extended validation - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (network && network.bech32 !== _address().prefix) - throw new TypeError('Invalid prefix or Network mismatch'); - if (_address().version !== 0x00) - throw new TypeError('Invalid address version'); - if (_address().data.length !== 20) - throw new TypeError('Invalid address data'); - hash = _address().data; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 22 || - a.output[0] !== OPS$1.OP_0 || - a.output[1] !== 0x14 - ) - throw new TypeError('Output is invalid'); - if (hash.length > 0 && !hash.equals(a.output.slice(2))) - throw new TypeError('Hash mismatch'); - else hash = a.output.slice(2); - } - if (a.pubkey) { - const pkh = bcrypto$1.hash160(a.pubkey); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - else hash = pkh; - if (!(0, types_1$1.isPoint)(a.pubkey) || a.pubkey.length !== 33) - throw new TypeError('Invalid pubkey for p2wpkh'); - } - if (a.witness) { - if (a.witness.length !== 2) throw new TypeError('Witness is invalid'); - if (!bscript$1.isCanonicalScriptSignature(a.witness[0])) - throw new TypeError('Witness has invalid signature'); - if (!(0, types_1$1.isPoint)(a.witness[1]) || a.witness[1].length !== 33) - throw new TypeError('Witness has invalid pubkey'); - if (a.signature && !a.signature.equals(a.witness[0])) - throw new TypeError('Signature mismatch'); - if (a.pubkey && !a.pubkey.equals(a.witness[1])) - throw new TypeError('Pubkey mismatch'); - const pkh = bcrypto$1.hash160(a.witness[1]); - if (hash.length > 0 && !hash.equals(pkh)) - throw new TypeError('Hash mismatch'); - } - } - return Object.assign(o, a); -} -p2wpkh$1.p2wpkh = p2wpkh; - -var p2wsh$1 = {}; - -Object.defineProperty(p2wsh$1, '__esModule', { value: true }); -p2wsh$1.p2wsh = void 0; -const bcrypto = crypto$3; -const networks_1 = networks; -const bscript = script; -const types_1 = types$2; -const lazy = lazy$7; -const bech32_1 = dist$1; -const OPS = bscript.OPS; -const EMPTY_BUFFER = Buffer.alloc(0); -function stacksEqual(a, b) { - if (a.length !== b.length) return false; - return a.every((x, i) => { - return x.equals(b[i]); - }); -} -function chunkHasUncompressedPubkey(chunk) { - if ( - Buffer.isBuffer(chunk) && - chunk.length === 65 && - chunk[0] === 0x04 && - (0, types_1.isPoint)(chunk) - ) { - return true; - } else { - return false; - } -} -// input: <> -// witness: [redeemScriptSig ...] {redeemScript} -// output: OP_0 {sha256(redeemScript)} -function p2wsh(a, opts) { - if (!a.address && !a.hash && !a.output && !a.redeem && !a.witness) - throw new TypeError('Not enough data'); - opts = Object.assign({ validate: true }, opts || {}); - (0, types_1.typeforce)( - { - network: types_1.typeforce.maybe(types_1.typeforce.Object), - address: types_1.typeforce.maybe(types_1.typeforce.String), - hash: types_1.typeforce.maybe(types_1.typeforce.BufferN(32)), - output: types_1.typeforce.maybe(types_1.typeforce.BufferN(34)), - redeem: types_1.typeforce.maybe({ - input: types_1.typeforce.maybe(types_1.typeforce.Buffer), - network: types_1.typeforce.maybe(types_1.typeforce.Object), - output: types_1.typeforce.maybe(types_1.typeforce.Buffer), - witness: types_1.typeforce.maybe( - types_1.typeforce.arrayOf(types_1.typeforce.Buffer), - ), - }), - input: types_1.typeforce.maybe(types_1.typeforce.BufferN(0)), - witness: types_1.typeforce.maybe( - types_1.typeforce.arrayOf(types_1.typeforce.Buffer), - ), - }, - a, - ); - const _address = lazy.value(() => { - const result = bech32_1.bech32.decode(a.address); - const version = result.words.shift(); - const data = bech32_1.bech32.fromWords(result.words); - return { - version, - prefix: result.prefix, - data: Buffer.from(data), - }; - }); - const _rchunks = lazy.value(() => { - return bscript.decompile(a.redeem.input); - }); - let network = a.network; - if (!network) { - network = (a.redeem && a.redeem.network) || networks_1.bitcoin; - } - const o = { network }; - lazy.prop(o, 'address', () => { - if (!o.hash) return; - const words = bech32_1.bech32.toWords(o.hash); - words.unshift(0x00); - return bech32_1.bech32.encode(network.bech32, words); - }); - lazy.prop(o, 'hash', () => { - if (a.output) return a.output.slice(2); - if (a.address) return _address().data; - if (o.redeem && o.redeem.output) return bcrypto.sha256(o.redeem.output); - }); - lazy.prop(o, 'output', () => { - if (!o.hash) return; - return bscript.compile([OPS.OP_0, o.hash]); - }); - lazy.prop(o, 'redeem', () => { - if (!a.witness) return; - return { - output: a.witness[a.witness.length - 1], - input: EMPTY_BUFFER, - witness: a.witness.slice(0, -1), - }; - }); - lazy.prop(o, 'input', () => { - if (!o.witness) return; - return EMPTY_BUFFER; - }); - lazy.prop(o, 'witness', () => { - // transform redeem input to witness stack? - if ( - a.redeem && - a.redeem.input && - a.redeem.input.length > 0 && - a.redeem.output && - a.redeem.output.length > 0 - ) { - const stack = bscript.toStack(_rchunks()); - // assign, and blank the existing input - o.redeem = Object.assign({ witness: stack }, a.redeem); - o.redeem.input = EMPTY_BUFFER; - return [].concat(stack, a.redeem.output); - } - if (!a.redeem) return; - if (!a.redeem.output) return; - if (!a.redeem.witness) return; - return [].concat(a.redeem.witness, a.redeem.output); - }); - lazy.prop(o, 'name', () => { - const nameParts = ['p2wsh']; - if (o.redeem !== undefined && o.redeem.name !== undefined) - nameParts.push(o.redeem.name); - return nameParts.join('-'); - }); - // extended validation - if (opts.validate) { - let hash = Buffer.from([]); - if (a.address) { - if (_address().prefix !== network.bech32) - throw new TypeError('Invalid prefix or Network mismatch'); - if (_address().version !== 0x00) - throw new TypeError('Invalid address version'); - if (_address().data.length !== 32) - throw new TypeError('Invalid address data'); - hash = _address().data; - } - if (a.hash) { - if (hash.length > 0 && !hash.equals(a.hash)) - throw new TypeError('Hash mismatch'); - else hash = a.hash; - } - if (a.output) { - if ( - a.output.length !== 34 || - a.output[0] !== OPS.OP_0 || - a.output[1] !== 0x20 - ) - throw new TypeError('Output is invalid'); - const hash2 = a.output.slice(2); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (a.redeem) { - if (a.redeem.network && a.redeem.network !== network) - throw new TypeError('Network mismatch'); - // is there two redeem sources? - if ( - a.redeem.input && - a.redeem.input.length > 0 && - a.redeem.witness && - a.redeem.witness.length > 0 - ) - throw new TypeError('Ambiguous witness source'); - // is the redeem output non-empty? - if (a.redeem.output) { - if (bscript.decompile(a.redeem.output).length === 0) - throw new TypeError('Redeem.output is invalid'); - // match hash against other sources - const hash2 = bcrypto.sha256(a.redeem.output); - if (hash.length > 0 && !hash.equals(hash2)) - throw new TypeError('Hash mismatch'); - else hash = hash2; - } - if (a.redeem.input && !bscript.isPushOnly(_rchunks())) - throw new TypeError('Non push-only scriptSig'); - if ( - a.witness && - a.redeem.witness && - !stacksEqual(a.witness, a.redeem.witness) - ) - throw new TypeError('Witness and redeem.witness mismatch'); - if ( - (a.redeem.input && _rchunks().some(chunkHasUncompressedPubkey)) || - (a.redeem.output && - (bscript.decompile(a.redeem.output) || []).some( - chunkHasUncompressedPubkey, - )) - ) { - throw new TypeError( - 'redeem.input or redeem.output contains uncompressed pubkey', - ); - } - } - if (a.witness && a.witness.length > 0) { - const wScript = a.witness[a.witness.length - 1]; - if (a.redeem && a.redeem.output && !a.redeem.output.equals(wScript)) - throw new TypeError('Witness and redeem.output mismatch'); - if ( - a.witness.some(chunkHasUncompressedPubkey) || - (bscript.decompile(wScript) || []).some(chunkHasUncompressedPubkey) - ) - throw new TypeError('Witness contains uncompressed pubkey'); - } - } - return Object.assign(o, a); -} -p2wsh$1.p2wsh = p2wsh; - -(function (exports) { - Object.defineProperty(exports, '__esModule', { value: true }); - exports.p2wsh = exports.p2wpkh = exports.p2sh = exports.p2pkh = exports.p2pk = exports.p2ms = exports.embed = void 0; - const embed_1 = embed; - Object.defineProperty(exports, 'embed', { - enumerable: true, - get: function() { - return embed_1.p2data; - }, - }); - const p2ms_1 = p2ms$1; - Object.defineProperty(exports, 'p2ms', { - enumerable: true, - get: function() { - return p2ms_1.p2ms; - }, - }); - const p2pk_1 = p2pk$1; - Object.defineProperty(exports, 'p2pk', { - enumerable: true, - get: function() { - return p2pk_1.p2pk; - }, - }); - const p2pkh_1 = p2pkh$1; - Object.defineProperty(exports, 'p2pkh', { - enumerable: true, - get: function() { - return p2pkh_1.p2pkh; - }, - }); - const p2sh_1 = p2sh$1; - Object.defineProperty(exports, 'p2sh', { - enumerable: true, - get: function() { - return p2sh_1.p2sh; - }, - }); - const p2wpkh_1 = p2wpkh$1; - Object.defineProperty(exports, 'p2wpkh', { - enumerable: true, - get: function() { - return p2wpkh_1.p2wpkh; - }, - }); - const p2wsh_1 = p2wsh$1; - Object.defineProperty(exports, 'p2wsh', { - enumerable: true, - get: function() { - return p2wsh_1.p2wsh; - }, - }); - // TODO - // witness commitment -} (payments$1)); - -var src = {}; - -var bip32$1 = {}; - -var crypto$2 = {}; - -var createHmac$1 = require$$0__default["default"].createHmac; - -Object.defineProperty(crypto$2, "__esModule", { value: true }); -const createHash = createHash$3; -const createHmac = createHmac$1; -function hash160(buffer) { - const sha256Hash = createHash('sha256') - .update(buffer) - .digest(); - try { - return createHash('rmd160') - .update(sha256Hash) - .digest(); - } - catch (err) { - return createHash('ripemd160') - .update(sha256Hash) - .digest(); - } -} -crypto$2.hash160 = hash160; -function hmacSHA512(key, data) { - return createHmac('sha512', key) - .update(data) - .digest(); -} -crypto$2.hmacSHA512 = hmacSHA512; - -var testecc = {}; - -Object.defineProperty(testecc, "__esModule", { value: true }); -const h = (hex) => Buffer.from(hex, 'hex'); -function testEcc(ecc) { - assert(ecc.isPoint(h('0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); - assert(!ecc.isPoint(h('030000000000000000000000000000000000000000000000000000000000000005'))); - assert(ecc.isPrivate(h('79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'))); - // order - 1 - assert(ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); - // 0 - assert(!ecc.isPrivate(h('0000000000000000000000000000000000000000000000000000000000000000'))); - // order - assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141'))); - // order + 1 - assert(!ecc.isPrivate(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364142'))); - assert(Buffer.from(ecc.pointFromScalar(h('b1121e4088a66a28f5b6b0f5844943ecd9f610196d7bb83b25214b60452c09af'))).equals(h('02b07ba9dca9523b7ef4bd97703d43d20399eb698e194704791a25ce77a400df99'))); - assert(Buffer.from(ecc.pointAddScalar(h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('0000000000000000000000000000000000000000000000000000000000000003'))).equals(h('02c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5'))); - assert(Buffer.from(ecc.privateAdd(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd036413e'), h('0000000000000000000000000000000000000000000000000000000000000002'))).equals(h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))); - assert(Buffer.from(ecc.sign(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364140'))).equals(h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); - assert(ecc.verify(h('5e9f0a0d593efdcf78ac923bc3313e4e7d408d574354ee2b3288c0da9fbba6ed'), h('0379be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798'), h('54c4a33c6423d689378f160a7ff8b61330444abb58fb470f96ea16d99d4a2fed07082304410efa6b2943111b6a4e0aaa7b7db55a07e9861d1fb3cb1f421044a5'))); - if (ecc.signSchnorr) { - assert(Buffer.from(ecc.signSchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('c90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b14e5c9'), h('c87aa53824b4d7ae2eb035a2b5bbbccc080e76cdc6d1692c4b0b62d798e6d906'))).equals(h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); - } - if (ecc.verifySchnorr) { - assert(ecc.verifySchnorr(h('7e2d58d8b3bcdf1abadec7829054f90dda9805aab56c77333024b9d0a508b75c'), h('dd308afec5777e13121fa72b9cc1b7cc0139715309b086c960e18fd969774eb8'), h('5831aaeed7b44bb74e5eab94ba9d4294c49bcf2a60728d8b4c200f50dd313c1bab745879a5ad954a72c45a91c3a51d3c7adea98d82f8481e0e1e03674a6f3fb7'))); - } -} -testecc.testEcc = testEcc; -function assert(bool) { - if (!bool) - throw new Error('ecc library invalid'); -} - -var bs58check$1 = bs58check$4; - -function decodeRaw (buffer, version) { - // check version only if defined - if (version !== undefined && buffer[0] !== version) throw new Error('Invalid network version') - - // uncompressed - if (buffer.length === 33) { - return { - version: buffer[0], - privateKey: buffer.slice(1, 33), - compressed: false - } - } - - // invalid length - if (buffer.length !== 34) throw new Error('Invalid WIF length') - - // invalid compression flag - if (buffer[33] !== 0x01) throw new Error('Invalid compression flag') - - return { - version: buffer[0], - privateKey: buffer.slice(1, 33), - compressed: true - } -} - -function encodeRaw (version, privateKey, compressed) { - var result = new Buffer(compressed ? 34 : 33); - - result.writeUInt8(version, 0); - privateKey.copy(result, 1); - - if (compressed) { - result[33] = 0x01; - } - - return result -} - -function decode (string, version) { - return decodeRaw(bs58check$1.decode(string), version) -} - -function encode (version, privateKey, compressed) { - if (typeof version === 'number') return bs58check$1.encode(encodeRaw(version, privateKey, compressed)) - - return bs58check$1.encode( - encodeRaw( - version.version, - version.privateKey, - version.compressed - ) - ) -} - -var wif$1 = { - decode: decode, - decodeRaw: decodeRaw, - encode: encode, - encodeRaw: encodeRaw -}; - -Object.defineProperty(bip32$1, "__esModule", { value: true }); -const crypto$1 = crypto$2; -const testecc_1 = testecc; -const bs58check = bs58check$4; -const typeforce = typeforce_1; -const wif = wif$1; -function BIP32Factory(ecc) { - testecc_1.testEcc(ecc); - const UINT256_TYPE = typeforce.BufferN(32); - const NETWORK_TYPE = typeforce.compile({ - wif: typeforce.UInt8, - bip32: { - public: typeforce.UInt32, - private: typeforce.UInt32, - }, - }); - const BITCOIN = { - messagePrefix: '\x18Bitcoin Signed Message:\n', - bech32: 'bc', - bip32: { - public: 0x0488b21e, - private: 0x0488ade4, - }, - pubKeyHash: 0x00, - scriptHash: 0x05, - wif: 0x80, - }; - const HIGHEST_BIT = 0x80000000; - const UINT31_MAX = Math.pow(2, 31) - 1; - function BIP32Path(value) { - return (typeforce.String(value) && value.match(/^(m\/)?(\d+'?\/)*\d+'?$/) !== null); - } - function UInt31(value) { - return typeforce.UInt32(value) && value <= UINT31_MAX; - } - class BIP32 { - constructor(__D, __Q, chainCode, network, __DEPTH = 0, __INDEX = 0, __PARENT_FINGERPRINT = 0x00000000) { - this.__D = __D; - this.__Q = __Q; - this.chainCode = chainCode; - this.network = network; - this.__DEPTH = __DEPTH; - this.__INDEX = __INDEX; - this.__PARENT_FINGERPRINT = __PARENT_FINGERPRINT; - typeforce(NETWORK_TYPE, network); - this.lowR = false; - } - get depth() { - return this.__DEPTH; - } - get index() { - return this.__INDEX; - } - get parentFingerprint() { - return this.__PARENT_FINGERPRINT; - } - get publicKey() { - if (this.__Q === undefined) - this.__Q = Buffer.from(ecc.pointFromScalar(this.__D, true)); - return this.__Q; - } - get privateKey() { - return this.__D; - } - get identifier() { - return crypto$1.hash160(this.publicKey); - } - get fingerprint() { - return this.identifier.slice(0, 4); - } - get compressed() { - return true; - } - // Private === not neutered - // Public === neutered - isNeutered() { - return this.__D === undefined; - } - neutered() { - return fromPublicKeyLocal(this.publicKey, this.chainCode, this.network, this.depth, this.index, this.parentFingerprint); - } - toBase58() { - const network = this.network; - const version = !this.isNeutered() - ? network.bip32.private - : network.bip32.public; - const buffer = Buffer.allocUnsafe(78); - // 4 bytes: version bytes - buffer.writeUInt32BE(version, 0); - // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, .... - buffer.writeUInt8(this.depth, 4); - // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) - buffer.writeUInt32BE(this.parentFingerprint, 5); - // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. - // This is encoded in big endian. (0x00000000 if master key) - buffer.writeUInt32BE(this.index, 9); - // 32 bytes: the chain code - this.chainCode.copy(buffer, 13); - // 33 bytes: the public key or private key data - if (!this.isNeutered()) { - // 0x00 + k for private keys - buffer.writeUInt8(0, 45); - this.privateKey.copy(buffer, 46); - // 33 bytes: the public key - } - else { - // X9.62 encoding for public keys - this.publicKey.copy(buffer, 45); - } - return bs58check.encode(buffer); - } - toWIF() { - if (!this.privateKey) - throw new TypeError('Missing private key'); - return wif.encode(this.network.wif, this.privateKey, true); - } - // https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#child-key-derivation-ckd-functions - derive(index) { - typeforce(typeforce.UInt32, index); - const isHardened = index >= HIGHEST_BIT; - const data = Buffer.allocUnsafe(37); - // Hardened child - if (isHardened) { - if (this.isNeutered()) - throw new TypeError('Missing private key for hardened child key'); - // data = 0x00 || ser256(kpar) || ser32(index) - data[0] = 0x00; - this.privateKey.copy(data, 1); - data.writeUInt32BE(index, 33); - // Normal child - } - else { - // data = serP(point(kpar)) || ser32(index) - // = serP(Kpar) || ser32(index) - this.publicKey.copy(data, 0); - data.writeUInt32BE(index, 33); - } - const I = crypto$1.hmacSHA512(this.chainCode, data); - const IL = I.slice(0, 32); - const IR = I.slice(32); - // if parse256(IL) >= n, proceed with the next value for i - if (!ecc.isPrivate(IL)) - return this.derive(index + 1); - // Private parent key -> private child key - let hd; - if (!this.isNeutered()) { - // ki = parse256(IL) + kpar (mod n) - const ki = Buffer.from(ecc.privateAdd(this.privateKey, IL)); - // In case ki == 0, proceed with the next value for i - if (ki == null) - return this.derive(index + 1); - hd = fromPrivateKeyLocal(ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); - // Public parent key -> public child key - } - else { - // Ki = point(parse256(IL)) + Kpar - // = G*IL + Kpar - const Ki = Buffer.from(ecc.pointAddScalar(this.publicKey, IL, true)); - // In case Ki is the point at infinity, proceed with the next value for i - if (Ki === null) - return this.derive(index + 1); - hd = fromPublicKeyLocal(Ki, IR, this.network, this.depth + 1, index, this.fingerprint.readUInt32BE(0)); - } - return hd; - } - deriveHardened(index) { - typeforce(UInt31, index); - // Only derives hardened private keys by default - return this.derive(index + HIGHEST_BIT); - } - derivePath(path) { - typeforce(BIP32Path, path); - let splitPath = path.split('/'); - if (splitPath[0] === 'm') { - if (this.parentFingerprint) - throw new TypeError('Expected master, got child'); - splitPath = splitPath.slice(1); - } - return splitPath.reduce((prevHd, indexStr) => { - let index; - if (indexStr.slice(-1) === `'`) { - index = parseInt(indexStr.slice(0, -1), 10); - return prevHd.deriveHardened(index); - } - else { - index = parseInt(indexStr, 10); - return prevHd.derive(index); - } - }, this); - } - sign(hash, lowR) { - if (!this.privateKey) - throw new Error('Missing private key'); - if (lowR === undefined) - lowR = this.lowR; - if (lowR === false) { - return Buffer.from(ecc.sign(hash, this.privateKey)); - } - else { - let sig = Buffer.from(ecc.sign(hash, this.privateKey)); - const extraData = Buffer.alloc(32, 0); - let counter = 0; - // if first try is lowR, skip the loop - // for second try and on, add extra entropy counting up - while (sig[0] > 0x7f) { - counter++; - extraData.writeUIntLE(counter, 0, 6); - sig = Buffer.from(ecc.sign(hash, this.privateKey, extraData)); - } - return sig; - } - } - signSchnorr(hash) { - if (!this.privateKey) - throw new Error('Missing private key'); - if (!ecc.signSchnorr) - throw new Error('signSchnorr not supported by ecc library'); - return Buffer.from(ecc.signSchnorr(hash, this.privateKey)); - } - verify(hash, signature) { - return ecc.verify(hash, this.publicKey, signature); - } - verifySchnorr(hash, signature) { - if (!ecc.verifySchnorr) - throw new Error('verifySchnorr not supported by ecc library'); - return ecc.verifySchnorr(hash, this.publicKey.subarray(1, 33), signature); - } - } - function fromBase58(inString, network) { - const buffer = bs58check.decode(inString); - if (buffer.length !== 78) - throw new TypeError('Invalid buffer length'); - network = network || BITCOIN; - // 4 bytes: version bytes - const version = buffer.readUInt32BE(0); - if (version !== network.bip32.private && version !== network.bip32.public) - throw new TypeError('Invalid network version'); - // 1 byte: depth: 0x00 for master nodes, 0x01 for level-1 descendants, ... - const depth = buffer[4]; - // 4 bytes: the fingerprint of the parent's key (0x00000000 if master key) - const parentFingerprint = buffer.readUInt32BE(5); - if (depth === 0) { - if (parentFingerprint !== 0x00000000) - throw new TypeError('Invalid parent fingerprint'); - } - // 4 bytes: child number. This is the number i in xi = xpar/i, with xi the key being serialized. - // This is encoded in MSB order. (0x00000000 if master key) - const index = buffer.readUInt32BE(9); - if (depth === 0 && index !== 0) - throw new TypeError('Invalid index'); - // 32 bytes: the chain code - const chainCode = buffer.slice(13, 45); - let hd; - // 33 bytes: private key data (0x00 + k) - if (version === network.bip32.private) { - if (buffer.readUInt8(45) !== 0x00) - throw new TypeError('Invalid private key'); - const k = buffer.slice(46, 78); - hd = fromPrivateKeyLocal(k, chainCode, network, depth, index, parentFingerprint); - // 33 bytes: public key data (0x02 + X or 0x03 + X) - } - else { - const X = buffer.slice(45, 78); - hd = fromPublicKeyLocal(X, chainCode, network, depth, index, parentFingerprint); - } - return hd; - } - function fromPrivateKey(privateKey, chainCode, network) { - return fromPrivateKeyLocal(privateKey, chainCode, network); - } - function fromPrivateKeyLocal(privateKey, chainCode, network, depth, index, parentFingerprint) { - typeforce({ - privateKey: UINT256_TYPE, - chainCode: UINT256_TYPE, - }, { privateKey, chainCode }); - network = network || BITCOIN; - if (!ecc.isPrivate(privateKey)) - throw new TypeError('Private key not in range [1, n)'); - return new BIP32(privateKey, undefined, chainCode, network, depth, index, parentFingerprint); - } - function fromPublicKey(publicKey, chainCode, network) { - return fromPublicKeyLocal(publicKey, chainCode, network); - } - function fromPublicKeyLocal(publicKey, chainCode, network, depth, index, parentFingerprint) { - typeforce({ - publicKey: typeforce.BufferN(33), - chainCode: UINT256_TYPE, - }, { publicKey, chainCode }); - network = network || BITCOIN; - // verify the X coordinate is a point on the curve - if (!ecc.isPoint(publicKey)) - throw new TypeError('Point is not on the curve'); - return new BIP32(undefined, publicKey, chainCode, network, depth, index, parentFingerprint); - } - function fromSeed(seed, network) { - typeforce(typeforce.Buffer, seed); - if (seed.length < 16) - throw new TypeError('Seed should be at least 128 bits'); - if (seed.length > 64) - throw new TypeError('Seed should be at most 512 bits'); - network = network || BITCOIN; - const I = crypto$1.hmacSHA512(Buffer.from('Bitcoin seed', 'utf8'), seed); - const IL = I.slice(0, 32); - const IR = I.slice(32); - return fromPrivateKey(IL, IR, network); - } - return { - fromSeed, - fromBase58, - fromPublicKey, - fromPrivateKey, - }; -} -bip32$1.BIP32Factory = BIP32Factory; - -Object.defineProperty(src, "__esModule", { value: true }); -var bip32_1 = bip32$1; -src.default = bip32_1.BIP32Factory; -src.BIP32Factory = bip32_1.BIP32Factory; - -// Constants -const { - FABRIC_KEY_DERIVATION_PATH -} = constants$1; - -// Node Modules -const crypto = require$$0__default["default"]; - -// Deterministic Random -// TODO: remove -const Generator = dist.exports.default.Generator; - -// Dependencies -// TODO: remove all external dependencies -const BN = bn.exports; -const EC = elliptic.ec; -const ec = new EC('secp256k1'); -const ecc = require$$5; -const payments = payments$1; - -// Simple Key Management -const BIP32 = src.default; -const bip32 = new BIP32(ecc); -const bip39 = require$$8__default["default"]; - -// NOTE: see also @fabric/passport -// expect a bech32m identifier using prefix "id" - -/** - * Represents a cryptographic key. - */ -class Key$1 { - /** - * Create an instance of a Fabric Key, either restoring from some known - * values or from prior knowledge. For instance, you can call `new Key()` - * to create a fresh keypair, or `new Key({ public: 'deadbeef...' })` to - * create it from a known public key. - * @param {Object} [settings] Initialization for the key. - * @param {String} [settings.network] Network string. - * @param {String} [settings.seed] Mnemonic seed for initializing the key. - * @param {String} [settings.public] Public key in hex. - * @param {String} [settings.private] Private key in hex. - * @param {String} [settings.purpose=44] Constrains derivations to this space. - */ - constructor (input = {}) { - this.settings = Object.assign({ - debug: false, - network: 'main', - curve: 'secp256k1', - derivation: FABRIC_KEY_DERIVATION_PATH, - mode: 'aes-256-cbc', - prefix: '00', - public: null, - private: null, - purpose: 44, - account: 0, - bits: 256, - hd: true, - seed: null, - password: null, - index: 0, - cipher: { - iv: { - size: 16 - } - }, - witness: true - }, input); - - this.clock = 0; - this.master = null; - this.private = null; - this.public = null; - - // Configure Deterministic Random - // WARNING: this will currently loop after 2^32 bits - // TODO: evaluate compression when treating seed phrase as ascii - // TODO: consider using sha256(masterprivkey) or sha256(sha256(...))? - this._starseed = this.settings.seed || crypto.randomBytes(4).readUInt32BE(); - - // TODO: design state machine for input (configuration) - if (this.settings.seed) { - this._mode = 'FROM_SEED'; - } else if (this.settings.private) { - this._mode = 'FROM_PRIVATE_KEY'; - } else if (this.settings.xprv) { - this._mode = 'FROM_XPRV'; - } else if (this.settings.xpub) { - this._mode = 'FROM_XPUB'; - } else if (this.settings.pubkey || this.settings.public) { - this._mode = 'FROM_PUBLIC_KEY'; - } else { - this._mode = 'FROM_RANDOM'; - } - - if (this.settings.debug) console.debug('mode:', this._mode); - - switch (this._mode) { - case 'FROM_SEED': - const seed = bip39.mnemonicToSeedSync(this.settings.seed); - const root = bip32.fromSeed(seed); - this.xprv = root.toBase58(); - this.xpub = root.neutered().toBase58(); - this.master = root; - this.keypair = ec.keyFromPrivate(root.privateKey); - // this.address = this.keyring.getAddress().toString(); - this.status = 'seeded'; - break; - case 'FROM_XPRV': - this.master = bip32.fromBase58(this.settings.xprv); - this.xprv = this.master.toBase58(); - this.xpub = this.master.neutered().toBase58(); - this.keypair = ec.keyFromPrivate(this.master.privateKey); - break; - case 'FROM_XPUB': - const xpub = bip32.fromBase58(this.settings.xpub); - this.keypair = ec.keyFromPublic(xpub.publicKey); - break; - case 'FROM_PRIVATE_KEY': - // Key is private - (this.settings.private instanceof Buffer) ? this.settings.private : Buffer.from(this.settings.private, 'hex'); - this.keypair = ec.keyFromPrivate(this.settings.private); - break; - case 'FROM_PUBLIC_KEY': - const pubkey = this.settings.pubkey || this.settings.public; - // Key is only public - this.keypair = ec.keyFromPublic((pubkey instanceof Buffer) ? pubkey : Buffer.from(pubkey, 'hex')); - break; - case 'FROM_RANDOM': - const mnemonic = bip39.generateMnemonic(); - const interim = bip39.mnemonicToSeedSync(mnemonic); - this.master = bip32.fromSeed(interim); - this.keypair = ec.keyFromPrivate(this.master.privateKey); - break; - } - - // Read the pair - this.private = ( - !this.settings.seed && - !this.settings.private && - !this.settings.xprv - ) ? false : this.keypair.getPrivate(); - - this.public = this.keypair.getPublic(true); - - // TODO: determine if this makes sense / needs to be private - this.privkey = (this.private) ? this.private.toString() : null; - - // STANDARD BEGINS HERE - this.pubkey = this.public.encodeCompressed('hex'); - - // BELOW THIS NON-STANDARD - // DO NOT USE IN PRODUCTION - // this.pubkeyhash = this.keyring.getKeyHash('hex'); - this.pubkeyhash = ''; - this.generator = new Generator(parseInt(this._starseed, 10)); - - this['@data'] = { - type: 'Key', - public: this.pubkey, - address: this.address - }; - - this._state = { - pubkey: this.pubkey - }; - - // Object.defineProperty(this, 'keyring', { enumerable: false }); - Object.defineProperty(this, 'keypair', { enumerable: false }); - Object.defineProperty(this, 'private', { enumerable: false }); - - return this; - } - - static Mnemonic (seed) { - return new Key$1({ seed }); - } - - get account () { - return this.settings.account; - } - - get id () { - return this.pubkeyhash; - } - - get iv () { - const self = this; - const bits = new BN([...Array(128)].map(() => { - return self.bit().toString(); - }).join(''), 2).toString(16); - return Buffer.from(bits.toString(16), 'hex'); - } - - get purpose () { - return this.settings.purpose; - } - - bit () { - return this.generator.next.bits(1); - } - - deriveAccountReceive (index) { - return this.deriveAddress(index); - } - - deriveAddress (index = 0, change = 0) { - const pair = this.deriveKeyPair(this.account, index, change); - return payments.p2pkh({ - pubkey: Buffer.from(pair.public, 'hex') - }); - } - - deriveKeyPair (addressID = 0, change = 0) { - const path = `m/${this.purpose}'/0'/${this.account}'/${change}/${addressID}`; - const derived = this.master.derivePath(path); - const pair = ec.keyFromPrivate(derived.privateKey); - return { - private: pair.getPrivate('hex'), - public: pair.getPublic(true, 'hex') - }; - } - - encrypt (value) { - try { - const ivbuff = Buffer.from(this.iv, 'hex'); - const cipher = crypto.createCipheriv(this.settings.mode, this.private.toBuffer(), ivbuff); - let encrypted = cipher.update(value); - encrypted = Buffer.concat([ - encrypted, - cipher.final() - ]); - return ivbuff.toString('hex') + ':' + encrypted.toString('hex'); - } catch (exception) { - console.error('err:', exception); - } - } - - decrypt (text) { - if (text instanceof Buffer) text = text.toString('utf8'); - - try { - const parts = text.split(':'); - const iv = Buffer.from(parts.shift(), 'hex'); - const blob = Buffer.from(parts.join(':'), 'hex'); - const decipher = crypto.createDecipheriv(this.settings.mode, this.private.toBuffer(), iv); - let decrypted = decipher.update(blob); - decrypted = Buffer.concat([ - decrypted, - decipher.final() - ]); - return decrypted.toString(); - } catch (exception) { - console.error('err:', exception); - } - } - - _sign (msg) { - if (typeof msg !== 'string') msg = JSON.stringify(msg); - const hmac = crypto.createHash('sha256').update(msg).digest('hex'); - return this.keypair.sign(hmac).toDER(); - } - - _verify (msg, sig) { - const hmac = crypto.createHash('sha256').update(msg).digest('hex'); - const valid = this.keypair.verify(hmac, sig); - return valid; - } - - derive (path = this.settings.derivation) { - if (!this.master) throw new Error('You cannot derive without a master key. Provide a seed phrase or an xprv.'); - const derived = this.master.derivePath(path); - const options = { - private: derived.privateKey.encodeCompressed('hex'), - public: derived.publicKey.encodeCompressed('hex') - }; - - return new Key$1(options); - } -} - -var key = Key$1; - -const Actor = actor; -const Bech32 = bech32_1$2; -const Hash256 = hash256$1; -const Key = key; - -class Identity extends Actor { - constructor (settings = {}) { - super(settings); - - this.settings = Object.assign({ - seed: null, - accountID: 0, - index: 0 - }, this.settings, settings); - - this.key = new Key(this.settings); - - this._state = { - content: { - accountID: this.settings.accountID, - index: this.settings.index - } - }; - - return this; - } - - get accountID () { - return this._state.content.accountID; - } - - get derivation () { - // m / purpose' / coin_type' / account' / change / address_index - // NOTE: - // Always using Coin Type 0 (Bitcoin) and Change 0 (Public Flag)! - // We will use Change 1 ("Internal Chain" as designated by BIP0044) - // for any kind of revoke mechanic; i.e., the key derived by the change - // address may be used to auto-encode a "revocation" contract. - return `m/44'/0'/${this.accountID}'/0/${this.index}`; - } - - get id () { - return this.toString(); - } - - get index () { - return this._state.content.index; - } - - get master () { - return this.key; - } - - get pubkey () { - return this.key.public.x.toString('hex'); - } - - get pubkeyhash () { - const input = Buffer.from(this.pubkey, 'hex'); - return Hash256.digest(input); - } - - static fromString (input = '') { - const parsed = Bech32.decode(input); - return { - content: parsed.content.toString('hex') - }; - } - - loadAccountByID (id = 0) { - this._state.content.accountID = id; - return this; - } - - toString () { - if (this.settings.debug) console.log('master key:', this.key.master.publicKey); - if (this.settings.debug) console.log('pubkey for id:', this.pubkey); - - const bech32 = new Bech32({ - hrp: 'id', - content: this.pubkeyhash - }); - - if (this.settings.debug) console.log('bech32:', bech32); - - return bech32.toString(); - } -} - -var identity = Identity; - -var SeedEntryForm = /*#__PURE__*/function (_Component) { - _inherits(SeedEntryForm, _Component); - - var _super = _createSuper(SeedEntryForm); - - function SeedEntryForm(props) { - var _this; - - _classCallCheck$1(this, SeedEntryForm); - - _this = _super.call(this, props); - _this.settings = merge__default["default"]({ - network: 'regtest' - }, props); - /* this.wallet = new Wallet({ - network: this.settings.network - }); */ - // TODO: prepare Fabric - // i.e., use _state here, then import from getter and apply properties - // _from_ @react - - _this.state = { - integrity: 'sha256-deadbeefbabe', - fields: { - seed: '', - password: '' - } - }; - return _this; - } - - _createClass$1(SeedEntryForm, [{ - key: "_seedWords", - get: function get() { - return require$$8__namespace.wordlists.english.map(function (x, i) { - return { - key: i, - text: x, - value: x - }; - }); - } - }, { - key: "handleChange", - value: function handleChange(e) { - var newFields = _objectSpread2(_objectSpread2({}, this.state.fields), {}, _defineProperty({}, e.target.name, e.target.value)); // TODO: merge old state - - - this.setState({ - fields: newFields - }); - } - }, { - key: "handleLoginSubmit", - value: function handleLoginSubmit(e) { - e.preventDefault(); // whatever you want to do when user submits a form - - console.log('e:', e); - console.log('e.target:', e.target); - console.log('e.target data:', e.target.data); - return false; - } - }, { - key: "handleSubmit", - value: function handleSubmit(e) { - this.handleLoginSubmit(e); - this.props.handleClose(); - } - }, { - key: "render", - value: function render() { - // const { fields } = this.state; - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, { - onSubmit: this.handleSubmit.bind(this) - }, /*#__PURE__*/React__default["default"].createElement("label", { - htmlFor: "seed" - }, "Seed Phrase (12 or 24 words)"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Dropdown, { - placeholder: "Your 12 or 24 word seed phrase", - fluid: true, - multiple: true, - search: true, - selection: true // options={this._seedWords} - , - minCharacters: 3, - onChange: this.props.handleChange('seed') - }), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, "Load"))); - } - }, { - key: "saveAndContinue", - value: function saveAndContinue(e) { - e.preventDefault(); - this.props.nextStep(); - } - }, { - key: "_handleRestoreButtonClick", - value: function _handleRestoreButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGeneratorButtonClick", - value: function _handleGeneratorButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGenerateClick", - value: function _handleGenerateClick() { - console.log('generate request click'); - } - }, { - key: "_handleGenerateKeyPress", - value: function _handleGenerateKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }, { - key: "_handleRestoreKeyPress", - value: function _handleRestoreKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }]); - - return SeedEntryForm; -}(React.Component); - -var FabricIdentity$1 = /*#__PURE__*/function (_Component) { - _inherits(FabricIdentity, _Component); - - var _super = _createSuper(FabricIdentity); - - function FabricIdentity(props) { - var _this; - - _classCallCheck$1(this, FabricIdentity); - - _this = _super.call(this, props); - _this.settings = Object.assign({ - explain: false, - modalOpen: false, - keys: [] - }, props); - _this.identity = new identity(_this.settings); // TODO: prepare Fabric - - _this._state = { - explain: true, - handle: _this.identity.id, - identity: _this.identity.toObject(), - status: 'PAUSED' - }; - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); - } - - _createClass$1(FabricIdentity, [{ - key: "handleChange", - value: function handleChange(e, v) { - console.log('change:', e, v); // this.setState({ seed: e }); - } - }, { - key: "handleClose", - value: function handleClose() { - this.setState({ - modalOpen: false - }); - } - }, { - key: "render", - value: function render() { - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Menu.Item, { - className: "borderless" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - icon: true, - onClick: this._handleCardClick.bind(this), - labelPosition: "left" - }, /*#__PURE__*/React__default["default"].createElement("span", null, /*#__PURE__*/React__default["default"].createElement("code", null, this._state.handle || 'anonymous')), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "user" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal, { - open: this.state.modalOpen, - onClose: this.handleClose.bind(this), - closeIcon: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal.Header, null, "Login"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Modal.Content, null, /*#__PURE__*/React__default["default"].createElement(SeedEntryForm, { - handleClose: this.handleClose.bind(this), - handleChange: this.handleChange.bind(this) - })))); - } - }, { - key: "isVisible", - value: function isVisible() { - if (this.state.explain) return true; - return false; - } - }, { - key: "_handleCardClick", - value: function _handleCardClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleRestoreButtonClick", - value: function _handleRestoreButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGeneratorButtonClick", - value: function _handleGeneratorButtonClick() { - this.setState({ - modalOpen: true - }); - } - }, { - key: "_handleGenerateKeyPress", - value: function _handleGenerateKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }, { - key: "_handleRestoreKeyPress", - value: function _handleRestoreKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }]); - - return FabricIdentity; -}(React.Component); - -var FabricIdentity$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': FabricIdentity$1 -}); - -var require$$1 = /*@__PURE__*/getAugmentedNamespace(FabricIdentity$2); - -var IdentityPicker = /*#__PURE__*/function (_Component) { - _inherits(IdentityPicker, _Component); - - var _super = _createSuper(IdentityPicker); - - function IdentityPicker() { - _classCallCheck$1(this, IdentityPicker); - - return _super.apply(this, arguments); - } - - _createClass$1(IdentityPicker, [{ - key: "render", - value: function render() { - this.props.values; - return /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - icon: true, - color: "green", - onClick: this._handleGeneratorButtonClick.bind(this), - onKeyPress: this._handleGenerateKeyPress.bind(this), - labelPosition: "left" - }, "Generate ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "leaf" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Or, null), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - icon: true, - color: "blue", - onClick: this._handleRestoreButtonClick.bind(this), - onKeyPress: this._handleRestoreKeyPress.bind(this), - labelPosition: "right" - }, "Restore from Seed Phrase ", /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "right chevron" - }))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, { - type: "submit", - onClick: this.saveAndContinue.bind(this) - }, "Save And Continue")); - } - }, { - key: "saveAndContinue", - value: function saveAndContinue(e) { - e.preventDefault(); - this.props.nextStep(); - } - }, { - key: "_handleRestoreButtonClick", - value: function _handleRestoreButtonClick() { - this.setState({ - step: 'SEED_RESTORE_START' - }); - } - }, { - key: "_handleGeneratorButtonClick", - value: function _handleGeneratorButtonClick() { - this.setState({ - step: 'SEED_GENERATE_START' - }); - } - }, { - key: "_handleGenerateClick", - value: function _handleGenerateClick() { - console.log('generate request click'); - } - }, { - key: "_handleGenerateKeyPress", - value: function _handleGenerateKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }, { - key: "_handleRestoreKeyPress", - value: function _handleRestoreKeyPress(e) { - if (e.charCode === 32 || e.charCode === 13) { - // Prevent the default action to stop scrolling when space is pressed - e.preventDefault(); - console.log('Button received click with keyboard'); - } - } - }]); - - return IdentityPicker; -}(React.Component); - -var FabricIdentityManager$1 = /*#__PURE__*/function (_Component) { - _inherits(FabricIdentityManager, _Component); - - var _super = _createSuper(FabricIdentityManager); - - function FabricIdentityManager(props) { - var _this; - - _classCallCheck$1(this, FabricIdentityManager); - - _this = _super.call(this, props); - - _defineProperty(_assertThisInitialized(_this), "handleChange", function (input) { - return function (event) { - _this.setState(_defineProperty({}, input, event.target.value)); - }; - }); - - _this.settings = merge__default["default"]({ - explain: false, - keys: [] - }, props); // TODO: prepare Fabric - // i.e., use _state here, then import from getter and apply properties - // _from_ @react - - _this.state = { - explain: true, - hash: null, - identities: [], - integrity: 'sha256-deadbeefbabe', - status: 'PAUSED', - step: 1 - }; - return _possibleConstructorReturn(_this, _assertThisInitialized(_this)); - } - - _createClass$1(FabricIdentityManager, [{ - key: "setStep", - value: function setStep() { - var step = this.state.step; - this.setState({ - step: step - }); - } - }, { - key: "nextStep", - value: function nextStep() { - var step = this.state.step; - this.setState({ - step: step + 1 - }); - } - }, { - key: "previoustStep", - value: function previoustStep() { - var step = this.state.step; - this.setState({ - step: step - 1 - }); - } - }, { - key: "start", - value: function start() { - TrezorConnect__default["default"].manifest({ - email: 'labs@fabric.pub', - appUrl: 'https://hub.fabric.pub' - }); - this.setState({ - status: 'STARTED' - }); - return this; - } - }, { - key: "render", - value: function render() { - var step = this.state.step; - var _this$state = this.state, - firstName = _this$state.firstName, - lastName = _this$state.lastName, - email = _this$state.email, - age = _this$state.age, - city = _this$state.city, - country = _this$state.country; - var values = { - firstName: firstName, - lastName: lastName, - email: email, - age: age, - city: city, - country: country - }; - var element = null; - - switch (step) { - case 1: - element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - - case 2: - element = /*#__PURE__*/React__default["default"].createElement(SeedEntryForm, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - - case 3: - element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - - case 4: - element = /*#__PURE__*/React__default["default"].createElement(IdentityPicker, { - nextStep: this.nextStep.bind(this), - setStep: this.setStep.bind(this), - handleChange: this.handleChange.bind(this), - values: values - }); - break; - } - - return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card, { - fluid: true - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - attached: "top" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Group, { - inline: true, - widths: "equal" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Field, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Input, { - disabled: true, - value: this.state.hash - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Form.Field, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button.Group, { - floated: "right" - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "history" - })), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Button, null, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Icon, { - name: "refresh" - }))))))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - hidden: !this.isVisible() - }, /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Header, null, "Identity Manager"), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Meta, null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("strong", null, "Status:"), " ", /*#__PURE__*/React__default["default"].createElement("pre", null, this.state.status)), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("strong", null, "State:"), " ", /*#__PURE__*/React__default["default"].createElement("pre", null, JSON.stringify(this.state, null, ' ')))), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Description, null, "Get started by restoring from an existing seed phrase or generating a new one.")), /*#__PURE__*/React__default["default"].createElement(semanticUiReact.Card.Content, { - extra: true, - attached: "bottom" - }, element))); - } - }, { - key: "isVisible", - value: function isVisible() { - if (this.state.explain) return true; - return false; - } - }]); - - return FabricIdentityManager; -}(React.Component); - -var FabricIdentityManager$2 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': FabricIdentityManager$1 -}); - -var require$$2 = /*@__PURE__*/getAugmentedNamespace(FabricIdentityManager$2); - -var FabricBridge = require$$0$1; - -var FabricIdentity = require$$1; - -var FabricIdentityManager = require$$2; - -var FabricBridge_1 = components.FabricBridge = FabricBridge; -var FabricIdentity_1 = components.FabricIdentity = FabricIdentity; -var FabricIdentityManager_1 = components.FabricIdentityManager = FabricIdentityManager; - -exports.FabricBridge = FabricBridge_1; -exports.FabricIdentity = FabricIdentity_1; -exports.FabricIdentityManager = FabricIdentityManager_1; -exports["default"] = components; +exports.FabricBridge = FabricBridge; +exports.FabricIdentity = FabricIdentity; +exports.FabricIdentityManager = FabricIdentityManager; +exports["default"] = FabricIdentity; diff --git a/components/index.js b/components/index.js index b7b479d..c7b8990 100644 --- a/components/index.js +++ b/components/index.js @@ -3,6 +3,9 @@ const FabricBridge = require('./FabricBridge'); const FabricIdentity = require('./FabricIdentity'); const FabricIdentityManager = require('./FabricIdentityManager'); -exports.FabricBridge = FabricBridge; -exports.FabricIdentity = FabricIdentity; -exports.FabricIdentityManager = FabricIdentityManager; \ No newline at end of file +export { + FabricBridge, + FabricIdentity, + FabricIdentityManager +}; +export default FabricIdentity; \ No newline at end of file From 86230c5f5c0ac688466ea52e3d13f0111e232c2c Mon Sep 17 00:00:00 2001 From: victorwu Date: Tue, 21 Jun 2022 13:05:05 -0400 Subject: [PATCH 14/16] build: add nodeGlobals, reorder plugins, remove extra global variables, update commonjs plugin config to ES6 --- package-lock.json | 103 ++++++++++++++++++++++++++++++++++++++++++++++ package.json | 1 + rollup.config.js | 34 ++++++++------- 3 files changed, 124 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 29fd98c..df25427 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,6 +24,7 @@ "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3", + "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-polyfill-node": "^0.9.0", "semantic-ui-react": "^2.1.3", "trezor-connect": "^8.2.9" @@ -3755,6 +3756,12 @@ "ieee754": "^1.2.1" } }, + "node_modules/buffer-es6": { + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/buffer-es6/-/buffer-es6-4.9.3.tgz", + "integrity": "sha512-Ibt+oXxhmeYJSsCkODPqNpPmyegefiD8rfutH1NYGhMZQhSp95Rz7haemgnJ6dxa6LT+JLLbtgOMORRluwKktw==", + "dev": true + }, "node_modules/buffer-reverse": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-reverse/-/buffer-reverse-1.0.1.tgz", @@ -8653,6 +8660,12 @@ "node": ">= 0.6" } }, + "node_modules/process-es6": { + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/process-es6/-/process-es6-0.11.6.tgz", + "integrity": "sha512-GYBRQtL4v3wgigq10Pv58jmTbFXlIiTbSfgnNqZLY0ldUPqy1rRxDI5fCjoCpnM6TqmHQI8ydzTBXW86OYc0gA==", + "dev": true + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -9271,6 +9284,47 @@ "uglify-js": "^2.7.4" } }, + "node_modules/rollup-plugin-node-globals": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.4.0.tgz", + "integrity": "sha512-xRkB+W/m1KLIzPUmG0ofvR+CPNcvuCuNdjVBVS7ALKSxr3EDhnzNceGkGi1m8MToSli13AzKFYH4ie9w3I5L3g==", + "dev": true, + "dependencies": { + "acorn": "^5.7.3", + "buffer-es6": "^4.9.3", + "estree-walker": "^0.5.2", + "magic-string": "^0.22.5", + "process-es6": "^0.11.6", + "rollup-pluginutils": "^2.3.1" + } + }, + "node_modules/rollup-plugin-node-globals/node_modules/acorn": { + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", + "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/rollup-plugin-node-globals/node_modules/estree-walker": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz", + "integrity": "sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==", + "dev": true + }, + "node_modules/rollup-plugin-node-globals/node_modules/magic-string": { + "version": "0.22.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, + "dependencies": { + "vlq": "^0.2.2" + } + }, "node_modules/rollup-plugin-polyfill-node": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/rollup-plugin-polyfill-node/-/rollup-plugin-polyfill-node-0.9.0.tgz", @@ -13403,6 +13457,12 @@ "ieee754": "^1.2.1" } }, + "buffer-es6": { + "version": "4.9.3", + "resolved": "https://registry.npmjs.org/buffer-es6/-/buffer-es6-4.9.3.tgz", + "integrity": "sha512-Ibt+oXxhmeYJSsCkODPqNpPmyegefiD8rfutH1NYGhMZQhSp95Rz7haemgnJ6dxa6LT+JLLbtgOMORRluwKktw==", + "dev": true + }, "buffer-reverse": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/buffer-reverse/-/buffer-reverse-1.0.1.tgz", @@ -17260,6 +17320,12 @@ "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", "dev": true }, + "process-es6": { + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/process-es6/-/process-es6-0.11.6.tgz", + "integrity": "sha512-GYBRQtL4v3wgigq10Pv58jmTbFXlIiTbSfgnNqZLY0ldUPqy1rRxDI5fCjoCpnM6TqmHQI8ydzTBXW86OYc0gA==", + "dev": true + }, "process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", @@ -17752,6 +17818,43 @@ "uglify-js": "^2.7.4" } }, + "rollup-plugin-node-globals": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-node-globals/-/rollup-plugin-node-globals-1.4.0.tgz", + "integrity": "sha512-xRkB+W/m1KLIzPUmG0ofvR+CPNcvuCuNdjVBVS7ALKSxr3EDhnzNceGkGi1m8MToSli13AzKFYH4ie9w3I5L3g==", + "dev": true, + "requires": { + "acorn": "^5.7.3", + "buffer-es6": "^4.9.3", + "estree-walker": "^0.5.2", + "magic-string": "^0.22.5", + "process-es6": "^0.11.6", + "rollup-pluginutils": "^2.3.1" + }, + "dependencies": { + "acorn": { + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", + "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", + "dev": true + }, + "estree-walker": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.5.2.tgz", + "integrity": "sha512-XpCnW/AE10ws/kDAs37cngSkvgIR8aN3G0MS85m7dUpuK2EREo9VJ00uvw6Dg/hXEpfsE1I1TvJOJr+Z+TL+ig==", + "dev": true + }, + "magic-string": { + "version": "0.22.5", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.22.5.tgz", + "integrity": "sha512-oreip9rJZkzvA8Qzk9HFs8fZGF/u7H/gtrE8EN6RjKJ9kh2HlC+yQ2QezifqTZfGyiuAV0dRv5a+y/8gBb1m9w==", + "dev": true, + "requires": { + "vlq": "^0.2.2" + } + } + } + }, "rollup-plugin-polyfill-node": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/rollup-plugin-polyfill-node/-/rollup-plugin-polyfill-node-0.9.0.tgz", diff --git a/package.json b/package.json index c2f3a58..6184574 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3", + "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-polyfill-node": "^0.9.0", "semantic-ui-react": "^2.1.3", "trezor-connect": "^8.2.9" diff --git a/rollup.config.js b/rollup.config.js index b6530d9..8e2615b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -6,6 +6,7 @@ import commonjs from '@rollup/plugin-commonjs'; // import minify from 'rollup-plugin-minify' import resolve from '@rollup/plugin-node-resolve'; import babel from '@rollup/plugin-babel'; +import nodeGlobals from 'rollup-plugin-node-globals'; import nodePolyfills from 'rollup-plugin-polyfill-node'; export default [{ @@ -16,43 +17,48 @@ export default [{ file: "assets/fabric.react.js", format: 'cjs', globals: { - 'buffer': 'buffer', - 'crypto': 'crypto', + // 'buffer': 'buffer', + // 'crypto': 'crypto', + // 'http': 'http', 'react': 'React', 'react-dom': 'ReactDOM', 'semantic-ui-react': 'semanticUIReact', - 'lodash.merge': 'merge', - 'bip39': 'bip39', - 'trezor-connect': 'TrezorConnect' + // 'lodash.merge': 'merge', + // 'bip39': 'bip39', + // 'trezor-connect': 'TrezorConnect' }, } ], external: [ 'react', - 'bip39', - 'trezor-connect', + // 'bip39', + // 'http', + // 'trezor-connect', 'semantic-ui-react', - 'lodash.merge' + // 'lodash.merge' ], plugins: [ + json(), + nodeGlobals(), + nodePolyfills(), babel({ exclude: 'node_modules/**', presets: ['@babel/preset-env', '@babel/preset-react'], babelHelpers: 'bundled' }), + commonjs({ + preferBuiltins: false, + transformMixedEsModules: true + }), resolve({ // If you have external dependencies installed from // npm, you'll most likely need these plugins. In // some cases you'll need additional configuration � // consult the documentation for details: // https://github.com/rollup/rollup-plugin-commonjs - // preferBuiltins: true + // preferBuiltins: true, + browser: true }), - commonjs({ - preferBuiltins: false - }), - json(), - nodePolyfills() ], // sourceMap: true }]; From ee311934b8d95385d141f79f19364e1ee30dbfd4 Mon Sep 17 00:00:00 2001 From: victorwu Date: Tue, 21 Jun 2022 22:55:17 -0400 Subject: [PATCH 15/16] build: upgrade to fomantic-ui-react --- package-lock.json | 1217 ++++++++++++++++++++++++++++++++------------- package.json | 2 +- 2 files changed, 874 insertions(+), 345 deletions(-) diff --git a/package-lock.json b/package-lock.json index df25427..2567db5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,13 +20,13 @@ "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", + "fomantic-ui-react": "^0.0.1-alpha.12", "mocha": "^10.0.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-polyfill-node": "^0.9.0", - "semantic-ui-react": "^2.1.3", "trezor-connect": "^8.2.9" }, "peerDependencies": { @@ -2088,39 +2088,6 @@ "@fabric/core": "FabricLabs/fabric#feature/node-16" } }, - "node_modules/@fluentui/react-component-event-listener": { - "version": "0.63.1", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.1.tgz", - "integrity": "sha512-gSMdOh6tI3IJKZFqxfQwbTpskpME0CvxdxGM2tdglmf6ZPVDi0L4+KKIm+2dN8nzb8Ya1A8ZT+Ddq0KmZtwVQg==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.10.4" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" - } - }, - "node_modules/@fluentui/react-component-ref": { - "version": "0.63.1", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.63.1.tgz", - "integrity": "sha512-8MkXX4+R3i80msdbD4rFpEB4WWq2UDvGwG386g3ckIWbekdvN9z2kWAd9OXhRGqB7QeOsoAGWocp6gAMCivRlw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.10.4", - "react-is": "^16.6.3" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17 || ^18", - "react-dom": "^16.8.0 || ^17 || ^18" - } - }, - "node_modules/@fluentui/react-component-ref/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, "node_modules/@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", @@ -2447,20 +2414,6 @@ "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", "dev": true }, - "node_modules/@semantic-ui-react/event-stack": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", - "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", - "dev": true, - "dependencies": { - "exenv": "^1.2.2", - "prop-types": "^15.6.2" - }, - "peerDependencies": { - "react": "^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/@swc/helpers": { "version": "0.3.17", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.3.17.tgz", @@ -2517,6 +2470,12 @@ "@types/range-parser": "*" } }, + "node_modules/@types/js-cookie": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz", + "integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==", + "dev": true + }, "node_modules/@types/lodash": { "version": "4.14.182", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz", @@ -2603,6 +2562,12 @@ "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", "peer": true }, + "node_modules/@xobotyi/scrollbar-width": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/@xobotyi/scrollbar-width/-/scrollbar-width-1.9.5.tgz", + "integrity": "sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ==", + "dev": true + }, "node_modules/@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", @@ -3109,7 +3074,6 @@ "version": "0.1.7", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3122,7 +3086,6 @@ "hasInstallScript": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bufio": "~1.0.7", "loady": "~0.0.5" @@ -3135,7 +3098,6 @@ "version": "0.1.9", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "brq": "~0.1.8", "bsert": "~0.0.10", @@ -3150,7 +3112,6 @@ "hasInstallScript": true, "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10", "loady": "~0.0.1" @@ -3163,7 +3124,6 @@ "version": "0.1.5", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3175,7 +3135,6 @@ "version": "0.1.5", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3187,7 +3146,6 @@ "version": "0.2.2", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3196,7 +3154,6 @@ "version": "2.3.0", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bcrypto": "git+https://github.com/bcoin-org/bcrypto.git#semver:~5.5.0", "bsert": "git+https://github.com/chjj/bsert.git#semver:~0.0.10", @@ -3211,7 +3168,6 @@ "version": "0.1.5", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3223,7 +3179,6 @@ "version": "0.3.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bs32": "~0.1.5", "bsert": "~0.0.10" @@ -3236,7 +3191,6 @@ "version": "0.2.0", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3248,7 +3202,6 @@ "version": "0.1.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3260,7 +3213,6 @@ "version": "0.1.5", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3272,7 +3224,6 @@ "version": "0.1.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3284,7 +3235,6 @@ "version": "0.1.8", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3296,7 +3246,6 @@ "version": "0.1.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3308,7 +3257,6 @@ "version": "0.0.10", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3317,7 +3265,6 @@ "version": "0.1.9", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3329,7 +3276,6 @@ "version": "0.2.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "binet": "~0.3.5", "bsert": "~0.0.10" @@ -3342,7 +3288,6 @@ "version": "0.1.5", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3351,7 +3296,6 @@ "version": "0.0.7", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3360,7 +3304,6 @@ "version": "1.0.7", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3369,7 +3312,6 @@ "version": "0.2.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "binet": "~0.3.5", "brq": "~0.1.7", @@ -3383,7 +3325,6 @@ "version": "0.1.6", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10" }, @@ -3395,7 +3336,6 @@ "version": "0.1.9", "inBundle": true, "license": "MIT", - "peer": true, "dependencies": { "bsert": "~0.0.10", "bsock": "~0.1.8" @@ -3408,7 +3348,6 @@ "version": "0.0.5", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=8.0.0" } @@ -3417,7 +3356,6 @@ "version": "0.2.10", "inBundle": true, "license": "MIT", - "peer": true, "engines": { "node": ">=2.0.0" } @@ -3425,8 +3363,7 @@ "node_modules/bcoin/node_modules/nan": { "version": "2.14.0", "inBundle": true, - "license": "MIT", - "peer": true + "license": "MIT" }, "node_modules/bech32": { "version": "2.0.0", @@ -4039,6 +3976,12 @@ "safe-buffer": "^5.0.1" } }, + "node_modules/classnames": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", + "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==", + "dev": true + }, "node_modules/clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -4074,15 +4017,6 @@ "node": ">=0.4.0" } }, - "node_modules/clsx": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", - "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/code-block-writer": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-10.1.1.tgz", @@ -4300,6 +4234,15 @@ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", "peer": true }, + "node_modules/copy-to-clipboard": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz", + "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==", + "dev": true, + "dependencies": { + "toggle-selection": "^1.0.6" + } + }, "node_modules/core-js-compat": { "version": "3.22.8", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.8.tgz", @@ -4393,6 +4336,16 @@ "integrity": "sha512-DIT51nX0dCfKltpRiXV+/TVZq+Qq2NgF4644+K7Ttnla7zEzqc+kjJyiB96BHNyUTBxyjzRcZYpUdZa+QAqi6Q==", "peer": true }, + "node_modules/css-in-js-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/css-in-js-utils/-/css-in-js-utils-2.0.1.tgz", + "integrity": "sha512-PJF0SpJT+WdbVVt0AOYp9C8GnuruRlL/UFW7932nLWmFLQTaWEzTBQEx7/hn4BuV+WON75iAViSUJLiU3PKbpA==", + "dev": true, + "dependencies": { + "hyphenate-style-name": "^1.0.2", + "isobject": "^3.0.1" + } + }, "node_modules/css-select": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", @@ -4409,6 +4362,19 @@ "url": "https://github.com/sponsors/fb55" } }, + "node_modules/css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, + "dependencies": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -4445,6 +4411,12 @@ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==", "peer": true }, + "node_modules/csstype": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz", + "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==", + "dev": true + }, "node_modules/d3": { "version": "5.16.0", "resolved": "https://registry.npmjs.org/d3/-/d3-5.16.0.tgz", @@ -4487,8 +4459,7 @@ "node_modules/d3-array": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==", - "peer": true + "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" }, "node_modules/d3-axis": { "version": "1.0.12", @@ -4667,8 +4638,7 @@ "node_modules/d3-polygon": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-1.0.6.tgz", - "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==", - "peer": true + "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==" }, "node_modules/d3-quadtree": { "version": "1.0.7", @@ -4805,8 +4775,7 @@ "node_modules/dayjs": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.3.tgz", - "integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==", - "peer": true + "integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==" }, "node_modules/debug": { "version": "4.3.4", @@ -5059,6 +5028,12 @@ "integrity": "sha512-TfIlRRKpYFu/KwJq/dm+BWqb4KtwTO1XIwWMaElu/EF3s+r1FRNGIS2bzK0uuAQ+dd3TlJKaoSiHp8Y09Q0ZZA==", "peer": true }, + "node_modules/earcut": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.3.tgz", + "integrity": "sha512-iRDI1QeCQIhMCZk48DRDMVgQSSBDmbzzNhnxIo+pwx3swkfjMh6vh0nWLq1NdvGHLKH6wIrAM3vQWeTj6qeoug==", + "dev": true + }, "node_modules/ecpair": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/ecpair/-/ecpair-2.0.1.tgz", @@ -5224,6 +5199,15 @@ "errno": "cli.js" } }, + "node_modules/error-stack-parser": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", + "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "dev": true, + "dependencies": { + "stackframe": "^1.3.4" + } + }, "node_modules/es6-promise": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", @@ -5357,12 +5341,6 @@ "node": ">=0.8.x" } }, - "node_modules/exenv": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz", - "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==", - "dev": true - }, "node_modules/express": { "version": "4.18.1", "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", @@ -5540,6 +5518,18 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "peer": true }, + "node_modules/fast-shallow-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz", + "integrity": "sha512-HPtaa38cPgWvaCFmRNhlc6NG7pv6NUHqjPgVAkWGoB9mQMwYB27/K0CvOM5Czy+qpT3e8XJ6Q4aPAnzpNpzNaw==", + "dev": true + }, + "node_modules/fastest-stable-stringify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fastest-stable-stringify/-/fastest-stable-stringify-2.0.2.tgz", + "integrity": "sha512-bijHueCGd0LqqNK9b5oCMHc0MluJAx0cwqASgbWMvkO01lCYgIhacVRLcaDz3QnyYIRNJRDwMb41VuT6pHJ91Q==", + "dev": true + }, "node_modules/fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -5637,6 +5627,26 @@ "flat": "cli.js" } }, + "node_modules/flubber": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/flubber/-/flubber-0.4.2.tgz", + "integrity": "sha512-79RkJe3rA4nvRCVc2uXjj7U/BAUq84TS3KHn6c0Hr9K64vhj83ZNLUziNx4pJoBumSPhOl5VjH+Z0uhi+eE8Uw==", + "dev": true, + "dependencies": { + "d3-array": "^1.2.0", + "d3-polygon": "^1.0.3", + "earcut": "^2.1.1", + "svg-path-properties": "^0.2.1", + "svgpath": "^2.2.1", + "topojson-client": "^3.0.0" + } + }, + "node_modules/flubber/node_modules/svg-path-properties": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/svg-path-properties/-/svg-path-properties-0.2.2.tgz", + "integrity": "sha512-GmrB+b6woz6CCdQe6w1GHs/1lt25l7SR5hmhF8jRdarpv/OgjLyuQygLu1makJapixeb1aQhP/Oa1iKi93o/aQ==", + "dev": true + }, "node_modules/follow-redirects": { "version": "1.15.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", @@ -5657,6 +5667,27 @@ } } }, + "node_modules/fomantic-ui-react": { + "version": "0.0.1-alpha.12", + "resolved": "https://registry.npmjs.org/fomantic-ui-react/-/fomantic-ui-react-0.0.1-alpha.12.tgz", + "integrity": "sha512-94mKImG7L1CLmgRpQBXTGbfMoOqcd+fP8Dg6Oijir+HmiIKAjU9wpEOZ/SKZT5yxA9yFxrUtvSu+jMipAM06AA==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.16.5", + "@popperjs/core": "^2.11.2", + "classnames": "^2.3.1", + "dayjs": "^1.11.0", + "hoist-non-react-statics": "^3.3.2", + "lodash": "^4.17.21", + "rc-tween-one": "^3.0.3", + "react-popper": "^2.2.5", + "react-use": "^17.3.2" + }, + "peerDependencies": { + "react": ">=17.0.0", + "react-dom": ">=17.0.0" + } + }, "node_modules/foreach": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.6.tgz", @@ -5954,6 +5985,21 @@ "minimalistic-crypto-utils": "^1.0.1" } }, + "node_modules/hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dev": true, + "dependencies": { + "react-is": "^16.7.0" + } + }, + "node_modules/hoist-non-react-statics/node_modules/react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + }, "node_modules/html-encoding-sniffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", @@ -6166,6 +6212,12 @@ "ms": "^2.0.0" } }, + "node_modules/hyphenate-style-name": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz", + "integrity": "sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==", + "dev": true + }, "node_modules/iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -6256,6 +6308,15 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "peer": true }, + "node_modules/inline-style-prefixer": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-6.0.1.tgz", + "integrity": "sha512-AsqazZ8KcRzJ9YPN1wMH2aNM7lkWQ8tSPrW5uDk1ziYwiAPWSZnUsC7lfZq+BDqLqz0B4Pho5wscWcJzVvRzDQ==", + "dev": true, + "dependencies": { + "css-in-js-utils": "^2.0.0" + } + }, "node_modules/install-artifact-from-github": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/install-artifact-from-github/-/install-artifact-from-github-1.3.0.tgz", @@ -6520,6 +6581,15 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/isomorphic-ws": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", @@ -6659,6 +6729,12 @@ "node": ">=10" } }, + "node_modules/js-cookie": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz", + "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==", + "dev": true + }, "node_modules/js-sha256": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", @@ -6950,12 +7026,6 @@ "through2": "^2.0.0" } }, - "node_modules/keyboard-key": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.1.0.tgz", - "integrity": "sha512-qkBzPTi3rlAKvX7k0/ub44sqOfXeLc/jcnGGmj5c7BJpU8eDrEVPyhCvNYAaoubbsLm9uGWwQJO1ytQK1a9/dQ==", - "dev": true - }, "node_modules/kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -7175,12 +7245,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "node_modules/lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "dev": true - }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -7440,6 +7504,12 @@ "safe-buffer": "^5.1.2" } }, + "node_modules/mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, "node_modules/mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", @@ -7920,6 +7990,26 @@ "integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==", "peer": true }, + "node_modules/nano-css": { + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.3.5.tgz", + "integrity": "sha512-vSB9X12bbNu4ALBu7nigJgRViZ6ja3OU7CeuiV1zMIbXOdmkLahgtPmh3GBOlDxbKY0CitqlPdOReGlBLSp+yg==", + "dev": true, + "dependencies": { + "css-tree": "^1.1.2", + "csstype": "^3.0.6", + "fastest-stable-stringify": "^2.0.2", + "inline-style-prefixer": "^6.0.0", + "rtl-css-js": "^1.14.0", + "sourcemap-codec": "^1.4.8", + "stacktrace-js": "^2.0.2", + "stylis": "^4.0.6" + }, + "peerDependencies": { + "react": "*", + "react-dom": "*" + } + }, "node_modules/nanoid": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", @@ -8147,6 +8237,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -8572,6 +8663,12 @@ "integrity": "sha512-N6aeia3NhdpV7kiGxJV5xQiZZCVEEVjRz2T2C6UZQiBkHWHzUv/oWA4myQLcwBwO8LUoR1KWW5oStvwVesmfCg==", "peer": true }, + "node_modules/performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "dev": true + }, "node_modules/picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -8691,23 +8788,6 @@ "node": ">=10" } }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - } - }, - "node_modules/prop-types/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - }, "node_modules/proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -8808,6 +8888,15 @@ ], "peer": true }, + "node_modules/raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dev": true, + "dependencies": { + "performance-now": "^2.1.0" + } + }, "node_modules/random-bytes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", @@ -8849,6 +8938,24 @@ "node": ">= 0.8" } }, + "node_modules/rc-tween-one": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/rc-tween-one/-/rc-tween-one-3.0.6.tgz", + "integrity": "sha512-5zTSXyyv7bahDBQ/kJw/kNxxoBqTouttoelw8FOVOyWqmTMndizJEpvaj1N+yES5Xjss6Y2iVw+9vSJQZE8Z6g==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.11.1", + "style-utils": "^0.3.4", + "tween-one": "^1.0.50" + }, + "engines": { + "node": ">=8.x" + }, + "peerDependencies": { + "react": ">=16.9.0", + "react-dom": ">=16.9.0" + } + }, "node_modules/re2": { "version": "1.17.4", "resolved": "https://registry.npmjs.org/re2/-/re2-1.17.4.tgz", @@ -8892,12 +8999,6 @@ "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==", "dev": true }, - "node_modules/react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, "node_modules/react-popper": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", @@ -8913,6 +9014,48 @@ "react-dom": "^16.8.0 || ^17 || ^18" } }, + "node_modules/react-universal-interface": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/react-universal-interface/-/react-universal-interface-0.6.2.tgz", + "integrity": "sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==", + "dev": true, + "peerDependencies": { + "react": "*", + "tslib": "*" + } + }, + "node_modules/react-use": { + "version": "17.4.0", + "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.4.0.tgz", + "integrity": "sha512-TgbNTCA33Wl7xzIJegn1HndB4qTS9u03QUwyNycUnXaweZkE4Kq2SB+Yoxx8qbshkZGYBDvUXbXWRUmQDcZZ/Q==", + "dev": true, + "dependencies": { + "@types/js-cookie": "^2.2.6", + "@xobotyi/scrollbar-width": "^1.9.5", + "copy-to-clipboard": "^3.3.1", + "fast-deep-equal": "^3.1.3", + "fast-shallow-equal": "^1.0.0", + "js-cookie": "^2.2.1", + "nano-css": "^5.3.1", + "react-universal-interface": "^0.6.2", + "resize-observer-polyfill": "^1.5.1", + "screenfull": "^5.1.0", + "set-harmonic-interval": "^1.0.1", + "throttle-debounce": "^3.0.1", + "ts-easing": "^0.2.0", + "tslib": "^2.1.0" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" + } + }, + "node_modules/react-use/node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, "node_modules/readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -9132,6 +9275,12 @@ "lodash": "^4.17.14" } }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==", + "dev": true + }, "node_modules/resolve": { "version": "1.22.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", @@ -9365,6 +9514,15 @@ "npm": ">=3.10.0" } }, + "node_modules/rtl-css-js": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.15.0.tgz", + "integrity": "sha512-99Cu4wNNIhrI10xxUaABHsdDqzalrSRTie4GeCmbGVuehm4oj+fIy8fTzB+16pmKe8Bv9rl+hxIBez6KxExTew==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.1.2" + } + }, "node_modules/run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -9462,6 +9620,18 @@ "loose-envify": "^1.1.0" } }, + "node_modules/screenfull": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.2.0.tgz", + "integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/sdp": { "version": "2.12.0", "resolved": "https://registry.npmjs.org/sdp/-/sdp-2.12.0.tgz", @@ -9474,31 +9644,6 @@ "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", "peer": true }, - "node_modules/semantic-ui-react": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-2.1.3.tgz", - "integrity": "sha512-dd2pqalMk0ycJoHf7hn4mYd0xohg0NMk7ohlpPVOigCfMLrKk2e3NZdRk0yBetvD+qJXPqZ04jA43bDwqOM5OA==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.10.5", - "@fluentui/react-component-event-listener": "~0.63.0", - "@fluentui/react-component-ref": "~0.63.0", - "@popperjs/core": "^2.6.0", - "@semantic-ui-react/event-stack": "^3.1.3", - "clsx": "^1.1.1", - "keyboard-key": "^1.1.0", - "lodash": "^4.17.21", - "lodash-es": "^4.17.21", - "prop-types": "^15.7.2", - "react-is": "^16.8.6 || ^17.0.0 || ^18.0.0", - "react-popper": "^2.3.0", - "shallowequal": "^1.1.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -9583,6 +9728,15 @@ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "peer": true }, + "node_modules/set-harmonic-interval": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-harmonic-interval/-/set-harmonic-interval-1.0.1.tgz", + "integrity": "sha512-AhICkFV84tBP1aWqPwLZqFvAwqEoVA9kxNMniGEUvzOlm4vLmOFLiTT3UZ6bziJTy4bOVpzWGTfSCbmaayGx8g==", + "dev": true, + "engines": { + "node": ">=6.9" + } + }, "node_modules/setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -9602,12 +9756,6 @@ "sha.js": "bin.js" } }, - "node_modules/shallowequal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", - "dev": true - }, "node_modules/side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -9691,8 +9839,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "peer": true, + "devOptional": true, "engines": { "node": ">=0.10.0" } @@ -9721,24 +9868,69 @@ "node": ">= 8" } }, - "node_modules/statuses": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", - "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", - "peer": true, - "engines": { - "node": ">= 0.8" + "node_modules/stack-generator": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", + "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", + "dev": true, + "dependencies": { + "stackframe": "^1.3.4" } }, - "node_modules/stoppable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz", - "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==", - "peer": true, - "engines": { - "node": ">=4", - "npm": ">=6" - } + "node_modules/stackframe": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "dev": true + }, + "node_modules/stacktrace-gps": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz", + "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==", + "dev": true, + "dependencies": { + "source-map": "0.5.6", + "stackframe": "^1.3.4" + } + }, + "node_modules/stacktrace-gps/node_modules/source-map": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", + "integrity": "sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/stacktrace-js": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", + "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", + "dev": true, + "dependencies": { + "error-stack-parser": "^2.0.6", + "stack-generator": "^2.0.5", + "stacktrace-gps": "^3.0.4" + } + }, + "node_modules/statuses": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", + "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==", + "peer": true, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/stoppable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/stoppable/-/stoppable-1.1.0.tgz", + "integrity": "sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==", + "peer": true, + "engines": { + "node": ">=4", + "npm": ">=6" + } }, "node_modules/string": { "version": "3.3.3", @@ -9797,6 +9989,18 @@ "node": ">0.6.0" } }, + "node_modules/style-utils": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/style-utils/-/style-utils-0.3.8.tgz", + "integrity": "sha512-RmGftIhY4tqtD1ERwKsVEDlt/M6UyxN/rcr95UmlooWmhtL0RwVUYJkpo1kSx3ppd9/JZzbknhy742zbMAawjQ==", + "dev": true + }, + "node_modules/stylis": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.1.1.tgz", + "integrity": "sha512-lVrM/bNdhVX2OgBFNa2YJ9Lxj7kPzylieHd3TNjuGE0Re9JB7joL5VUKOVH1kdNNJTgGPpT8hmwIAPLaSyEVFQ==", + "dev": true + }, "node_modules/supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -9821,6 +10025,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/svg-path-properties": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/svg-path-properties/-/svg-path-properties-1.0.11.tgz", + "integrity": "sha512-Wo6SjzONZPL9UAgrnwcCkDGRYP9CbHJGkNcPFIgEVRjiOiJxSd/AtwnGk/4N4iOLGUoas57TMxY0xASDeb9YJg==", + "dev": true + }, + "node_modules/svgpath": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/svgpath/-/svgpath-2.5.0.tgz", + "integrity": "sha512-o/vohwqjUO9nDAh4rcjE3KaW/v//At8UJu2LJMybXidf5QLQLVA4bxH0//4YCsr+1H4Gw1Wi/Jc62ynzSBYidw==", + "dev": true + }, "node_modules/symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -9856,6 +10072,15 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", "peer": true }, + "node_modules/throttle-debounce": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-3.0.1.tgz", + "integrity": "sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==", + "dev": true, + "engines": { + "node": ">=10" + } + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -9949,6 +10174,12 @@ "node": ">=8.0" } }, + "node_modules/toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==", + "dev": true + }, "node_modules/toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", @@ -9964,6 +10195,26 @@ "integrity": "sha1-zu78cXp2xDFvEm0LnbqlXX598Bo=", "peer": true }, + "node_modules/topojson-client": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", + "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", + "dev": true, + "dependencies": { + "commander": "2" + }, + "bin": { + "topo2geo": "bin/topo2geo", + "topomerge": "bin/topomerge", + "topoquantize": "bin/topoquantize" + } + }, + "node_modules/topojson-client/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, "node_modules/tough-cookie": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", @@ -10010,6 +10261,12 @@ "events": "^3.3.0" } }, + "node_modules/ts-easing": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/ts-easing/-/ts-easing-0.2.0.tgz", + "integrity": "sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==", + "dev": true + }, "node_modules/ts-morph": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-10.1.0.tgz", @@ -10023,8 +10280,27 @@ "node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "peer": true + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, + "node_modules/tween-functions": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tween-functions/-/tween-functions-1.2.0.tgz", + "integrity": "sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA==", + "dev": true + }, + "node_modules/tween-one": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/tween-one/-/tween-one-1.1.8.tgz", + "integrity": "sha512-b9WD0/ZauKmhpomV5skXkTw6MMOEKLmBsWXV754Vp0WuJALcDP5u7PQSvMMFqVSQ/eg8R8DAxiaNebHZtB57fg==", + "dev": true, + "dependencies": { + "@babel/runtime": "^7.11.1", + "flubber": "^0.4.2", + "raf": "^3.4.1", + "style-utils": "^0.3.6", + "svg-path-properties": "^1.0.4", + "tween-functions": "^1.2.0" + } }, "node_modules/type-check": { "version": "0.3.2", @@ -12180,33 +12456,6 @@ "zeromq": "^5.2.8" } }, - "@fluentui/react-component-event-listener": { - "version": "0.63.1", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-event-listener/-/react-component-event-listener-0.63.1.tgz", - "integrity": "sha512-gSMdOh6tI3IJKZFqxfQwbTpskpME0CvxdxGM2tdglmf6ZPVDi0L4+KKIm+2dN8nzb8Ya1A8ZT+Ddq0KmZtwVQg==", - "dev": true, - "requires": { - "@babel/runtime": "^7.10.4" - } - }, - "@fluentui/react-component-ref": { - "version": "0.63.1", - "resolved": "https://registry.npmjs.org/@fluentui/react-component-ref/-/react-component-ref-0.63.1.tgz", - "integrity": "sha512-8MkXX4+R3i80msdbD4rFpEB4WWq2UDvGwG386g3ckIWbekdvN9z2kWAd9OXhRGqB7QeOsoAGWocp6gAMCivRlw==", - "dev": true, - "requires": { - "@babel/runtime": "^7.10.4", - "react-is": "^16.6.3" - }, - "dependencies": { - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - } - } - }, "@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", @@ -12455,16 +12704,6 @@ } } }, - "@semantic-ui-react/event-stack": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/@semantic-ui-react/event-stack/-/event-stack-3.1.3.tgz", - "integrity": "sha512-FdTmJyWvJaYinHrKRsMLDrz4tTMGdFfds299Qory53hBugiDvGC0tEJf+cHsi5igDwWb/CLOgOiChInHwq8URQ==", - "dev": true, - "requires": { - "exenv": "^1.2.2", - "prop-types": "^15.6.2" - } - }, "@swc/helpers": { "version": "0.3.17", "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.3.17.tgz", @@ -12518,6 +12757,12 @@ "@types/range-parser": "*" } }, + "@types/js-cookie": { + "version": "2.2.7", + "resolved": "https://registry.npmjs.org/@types/js-cookie/-/js-cookie-2.2.7.tgz", + "integrity": "sha512-aLkWa0C0vO5b4Sr798E26QgOkss68Un0bLjs7u9qxzPT5CG+8DuNTffWES58YzJs3hrVAOs1wonycqEBqNJubA==", + "dev": true + }, "@types/lodash": { "version": "4.14.182", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz", @@ -12604,6 +12849,12 @@ "integrity": "sha512-PvpoOGiJwXeTrSf/qfudJhwlvDQxFgelbMqtq52WWiXC6Xgg1IREdngmPN3bs4RoO83PnL/nFrxucXj1+BX62Q==", "peer": true }, + "@xobotyi/scrollbar-width": { + "version": "1.9.5", + "resolved": "https://registry.npmjs.org/@xobotyi/scrollbar-width/-/scrollbar-width-1.9.5.tgz", + "integrity": "sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ==", + "dev": true + }, "@xtuc/long": { "version": "4.2.2", "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", @@ -12977,7 +13228,6 @@ "bcfg": { "version": "0.1.7", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -12985,7 +13235,6 @@ "bcrypto": { "version": "5.5.0", "bundled": true, - "peer": true, "requires": { "bufio": "~1.0.7", "loady": "~0.0.5" @@ -12994,7 +13243,6 @@ "bcurl": { "version": "0.1.9", "bundled": true, - "peer": true, "requires": { "brq": "~0.1.8", "bsert": "~0.0.10", @@ -13004,7 +13252,6 @@ "bdb": { "version": "1.2.2", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10", "loady": "~0.0.1" @@ -13013,7 +13260,6 @@ "bdns": { "version": "0.1.5", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13021,20 +13267,17 @@ "bevent": { "version": "0.1.5", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } }, "bfile": { "version": "0.2.2", - "bundled": true, - "peer": true + "bundled": true }, "bfilter": { "version": "2.3.0", "bundled": true, - "peer": true, "requires": { "bcrypto": "git+https://github.com/bcoin-org/bcrypto.git#semver:~5.5.0", "bsert": "git+https://github.com/chjj/bsert.git#semver:~0.0.10", @@ -13045,7 +13288,6 @@ "bheep": { "version": "0.1.5", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13053,7 +13295,6 @@ "binet": { "version": "0.3.6", "bundled": true, - "peer": true, "requires": { "bs32": "~0.1.5", "bsert": "~0.0.10" @@ -13062,7 +13303,6 @@ "blgr": { "version": "0.2.0", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13070,7 +13310,6 @@ "blru": { "version": "0.1.6", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13078,7 +13317,6 @@ "blst": { "version": "0.1.5", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13086,7 +13324,6 @@ "bmutex": { "version": "0.1.6", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13094,7 +13331,6 @@ "brq": { "version": "0.1.8", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13102,20 +13338,17 @@ "bs32": { "version": "0.1.6", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } }, "bsert": { "version": "0.0.10", - "bundled": true, - "peer": true + "bundled": true }, "bsock": { "version": "0.1.9", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13123,7 +13356,6 @@ "bsocks": { "version": "0.2.6", "bundled": true, - "peer": true, "requires": { "binet": "~0.3.5", "bsert": "~0.0.10" @@ -13131,23 +13363,19 @@ }, "btcp": { "version": "0.1.5", - "bundled": true, - "peer": true + "bundled": true }, "buffer-map": { "version": "0.0.7", - "bundled": true, - "peer": true + "bundled": true }, "bufio": { "version": "1.0.7", - "bundled": true, - "peer": true + "bundled": true }, "bupnp": { "version": "0.2.6", "bundled": true, - "peer": true, "requires": { "binet": "~0.3.5", "brq": "~0.1.7", @@ -13157,7 +13385,6 @@ "bval": { "version": "0.1.6", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10" } @@ -13165,7 +13392,6 @@ "bweb": { "version": "0.1.9", "bundled": true, - "peer": true, "requires": { "bsert": "~0.0.10", "bsock": "~0.1.8" @@ -13173,18 +13399,15 @@ }, "loady": { "version": "0.0.5", - "bundled": true, - "peer": true + "bundled": true }, "n64": { "version": "0.2.10", - "bundled": true, - "peer": true + "bundled": true }, "nan": { "version": "2.14.0", - "bundled": true, - "peer": true + "bundled": true } } }, @@ -13670,6 +13893,12 @@ "safe-buffer": "^5.0.1" } }, + "classnames": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz", + "integrity": "sha512-OlQdbZ7gLfGarSqxesMesDa5uz7KFbID8Kpq/SxIoNGDqY8lSYs0D+hhtBXhcdB3rcbXArFr7vlHheLk1voeNA==", + "dev": true + }, "clean-stack": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", @@ -13701,12 +13930,6 @@ } } }, - "clsx": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz", - "integrity": "sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==", - "dev": true - }, "code-block-writer": { "version": "10.1.1", "resolved": "https://registry.npmjs.org/code-block-writer/-/code-block-writer-10.1.1.tgz", @@ -13891,6 +14114,15 @@ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==", "peer": true }, + "copy-to-clipboard": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.1.tgz", + "integrity": "sha512-i13qo6kIHTTpCm8/Wup+0b1mVWETvu2kIMzKoK8FpkLkFxlt0znUAHcMzox+T8sPlqtZXq3CulEjQHsYiGFJUw==", + "dev": true, + "requires": { + "toggle-selection": "^1.0.6" + } + }, "core-js-compat": { "version": "3.22.8", "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.22.8.tgz", @@ -13973,6 +14205,16 @@ "integrity": "sha512-DIT51nX0dCfKltpRiXV+/TVZq+Qq2NgF4644+K7Ttnla7zEzqc+kjJyiB96BHNyUTBxyjzRcZYpUdZa+QAqi6Q==", "peer": true }, + "css-in-js-utils": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/css-in-js-utils/-/css-in-js-utils-2.0.1.tgz", + "integrity": "sha512-PJF0SpJT+WdbVVt0AOYp9C8GnuruRlL/UFW7932nLWmFLQTaWEzTBQEx7/hn4BuV+WON75iAViSUJLiU3PKbpA==", + "dev": true, + "requires": { + "hyphenate-style-name": "^1.0.2", + "isobject": "^3.0.1" + } + }, "css-select": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", @@ -13986,6 +14228,16 @@ "nth-check": "^2.0.1" } }, + "css-tree": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz", + "integrity": "sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q==", + "dev": true, + "requires": { + "mdn-data": "2.0.14", + "source-map": "^0.6.1" + } + }, "css-what": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", @@ -14015,6 +14267,12 @@ } } }, + "csstype": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.0.tgz", + "integrity": "sha512-uX1KG+x9h5hIJsaKR9xHUeUraxf8IODOwq9JLNPq6BwB04a/xgpq3rcx47l5BZu5zBPlgD342tdke3Hom/nJRA==", + "dev": true + }, "d3": { "version": "5.16.0", "resolved": "https://registry.npmjs.org/d3/-/d3-5.16.0.tgz", @@ -14057,8 +14315,7 @@ "d3-array": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", - "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==", - "peer": true + "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==" }, "d3-axis": { "version": "1.0.12", @@ -14228,8 +14485,7 @@ "d3-polygon": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-1.0.6.tgz", - "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==", - "peer": true + "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==" }, "d3-quadtree": { "version": "1.0.7", @@ -14362,8 +14618,7 @@ "dayjs": { "version": "1.11.3", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.3.tgz", - "integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==", - "peer": true + "integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==" }, "debug": { "version": "4.3.4", @@ -14542,6 +14797,12 @@ "integrity": "sha512-TfIlRRKpYFu/KwJq/dm+BWqb4KtwTO1XIwWMaElu/EF3s+r1FRNGIS2bzK0uuAQ+dd3TlJKaoSiHp8Y09Q0ZZA==", "peer": true }, + "earcut": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/earcut/-/earcut-2.2.3.tgz", + "integrity": "sha512-iRDI1QeCQIhMCZk48DRDMVgQSSBDmbzzNhnxIo+pwx3swkfjMh6vh0nWLq1NdvGHLKH6wIrAM3vQWeTj6qeoug==", + "dev": true + }, "ecpair": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/ecpair/-/ecpair-2.0.1.tgz", @@ -14687,6 +14948,15 @@ "prr": "~1.0.1" } }, + "error-stack-parser": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/error-stack-parser/-/error-stack-parser-2.1.4.tgz", + "integrity": "sha512-Sk5V6wVazPhq5MhpO+AUxJn5x7XSXGl1R93Vn7i+zS15KDVxQijejNCrz8340/2bgLBjR9GtEG8ZVKONDjcqGQ==", + "dev": true, + "requires": { + "stackframe": "^1.3.4" + } + }, "es6-promise": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", @@ -14779,12 +15049,6 @@ "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", "dev": true }, - "exenv": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/exenv/-/exenv-1.2.2.tgz", - "integrity": "sha512-Z+ktTxTwv9ILfgKCk32OX3n/doe+OcLTRtqK9pcL+JsP3J1/VW8Uvl4ZjLlKqeW4rzK4oesDOGMEMRIZqtP4Iw==", - "dev": true - }, "express": { "version": "4.18.1", "resolved": "https://registry.npmjs.org/express/-/express-4.18.1.tgz", @@ -14944,6 +15208,18 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "peer": true }, + "fast-shallow-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fast-shallow-equal/-/fast-shallow-equal-1.0.0.tgz", + "integrity": "sha512-HPtaa38cPgWvaCFmRNhlc6NG7pv6NUHqjPgVAkWGoB9mQMwYB27/K0CvOM5Czy+qpT3e8XJ6Q4aPAnzpNpzNaw==", + "dev": true + }, + "fastest-stable-stringify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fastest-stable-stringify/-/fastest-stable-stringify-2.0.2.tgz", + "integrity": "sha512-bijHueCGd0LqqNK9b5oCMHc0MluJAx0cwqASgbWMvkO01lCYgIhacVRLcaDz3QnyYIRNJRDwMb41VuT6pHJ91Q==", + "dev": true + }, "fastq": { "version": "1.13.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", @@ -15025,12 +15301,51 @@ "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", "dev": true }, + "flubber": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/flubber/-/flubber-0.4.2.tgz", + "integrity": "sha512-79RkJe3rA4nvRCVc2uXjj7U/BAUq84TS3KHn6c0Hr9K64vhj83ZNLUziNx4pJoBumSPhOl5VjH+Z0uhi+eE8Uw==", + "dev": true, + "requires": { + "d3-array": "^1.2.0", + "d3-polygon": "^1.0.3", + "earcut": "^2.1.1", + "svg-path-properties": "^0.2.1", + "svgpath": "^2.2.1", + "topojson-client": "^3.0.0" + }, + "dependencies": { + "svg-path-properties": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/svg-path-properties/-/svg-path-properties-0.2.2.tgz", + "integrity": "sha512-GmrB+b6woz6CCdQe6w1GHs/1lt25l7SR5hmhF8jRdarpv/OgjLyuQygLu1makJapixeb1aQhP/Oa1iKi93o/aQ==", + "dev": true + } + } + }, "follow-redirects": { "version": "1.15.1", "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", "peer": true }, + "fomantic-ui-react": { + "version": "0.0.1-alpha.12", + "resolved": "https://registry.npmjs.org/fomantic-ui-react/-/fomantic-ui-react-0.0.1-alpha.12.tgz", + "integrity": "sha512-94mKImG7L1CLmgRpQBXTGbfMoOqcd+fP8Dg6Oijir+HmiIKAjU9wpEOZ/SKZT5yxA9yFxrUtvSu+jMipAM06AA==", + "dev": true, + "requires": { + "@babel/runtime": "^7.16.5", + "@popperjs/core": "^2.11.2", + "classnames": "^2.3.1", + "dayjs": "^1.11.0", + "hoist-non-react-statics": "^3.3.2", + "lodash": "^4.17.21", + "rc-tween-one": "^3.0.3", + "react-popper": "^2.2.5", + "react-use": "^17.3.2" + } + }, "foreach": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.6.tgz", @@ -15252,6 +15567,23 @@ "minimalistic-crypto-utils": "^1.0.1" } }, + "hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "dev": true, + "requires": { + "react-is": "^16.7.0" + }, + "dependencies": { + "react-is": { + "version": "16.13.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", + "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "dev": true + } + } + }, "html-encoding-sniffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", @@ -15413,6 +15745,12 @@ "ms": "^2.0.0" } }, + "hyphenate-style-name": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz", + "integrity": "sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ==", + "dev": true + }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", @@ -15477,6 +15815,15 @@ "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", "peer": true }, + "inline-style-prefixer": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-6.0.1.tgz", + "integrity": "sha512-AsqazZ8KcRzJ9YPN1wMH2aNM7lkWQ8tSPrW5uDk1ziYwiAPWSZnUsC7lfZq+BDqLqz0B4Pho5wscWcJzVvRzDQ==", + "dev": true, + "requires": { + "css-in-js-utils": "^2.0.0" + } + }, "install-artifact-from-github": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/install-artifact-from-github/-/install-artifact-from-github-1.3.0.tgz", @@ -15665,6 +16012,12 @@ "integrity": "sha512-v9w/U4XDSfXCrXxf4E6ertGC/lTRX8MLLv7XC1j6N5oL3ympe38jp77zgeyMsn3MbufuAAoGeVzDJbOXnPTMhQ==", "peer": true }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true + }, "isomorphic-ws": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz", @@ -15773,6 +16126,12 @@ "nopt": "^5.0.0" } }, + "js-cookie": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-2.2.1.tgz", + "integrity": "sha512-HvdH2LzI/EAZcUwA8+0nKNtWHqS+ZmijLA30RwZA0bo7ToCckjK5MkGhjED9KoRcXO6BaGI3I9UIzSA1FKFPOQ==", + "dev": true + }, "js-sha256": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/js-sha256/-/js-sha256-0.9.0.tgz", @@ -15988,12 +16347,6 @@ "through2": "^2.0.0" } }, - "keyboard-key": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/keyboard-key/-/keyboard-key-1.1.0.tgz", - "integrity": "sha512-qkBzPTi3rlAKvX7k0/ub44sqOfXeLc/jcnGGmj5c7BJpU8eDrEVPyhCvNYAaoubbsLm9uGWwQJO1ytQK1a9/dQ==", - "dev": true - }, "kind-of": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", @@ -16168,12 +16521,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash-es": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", - "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==", - "dev": true - }, "lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", @@ -16383,6 +16730,12 @@ "safe-buffer": "^5.1.2" } }, + "mdn-data": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", + "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==", + "dev": true + }, "mdurl": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", @@ -16758,6 +17111,22 @@ "integrity": "sha512-UdAqHyFngu7TfQKsCBgAA6pWDkT8MAO7d0jyOecVhN5354xbLqdn8mV9Tat9gepAupm0bt2DbeaSC8vS52MuFA==", "peer": true }, + "nano-css": { + "version": "5.3.5", + "resolved": "https://registry.npmjs.org/nano-css/-/nano-css-5.3.5.tgz", + "integrity": "sha512-vSB9X12bbNu4ALBu7nigJgRViZ6ja3OU7CeuiV1zMIbXOdmkLahgtPmh3GBOlDxbKY0CitqlPdOReGlBLSp+yg==", + "dev": true, + "requires": { + "css-tree": "^1.1.2", + "csstype": "^3.0.6", + "fastest-stable-stringify": "^2.0.2", + "inline-style-prefixer": "^6.0.0", + "rtl-css-js": "^1.14.0", + "sourcemap-codec": "^1.4.8", + "stacktrace-js": "^2.0.2", + "stylis": "^4.0.6" + } + }, "nanoid": { "version": "3.3.3", "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", @@ -16921,7 +17290,8 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==" + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "peer": true }, "object-inspect": { "version": "1.12.2", @@ -17251,6 +17621,12 @@ "integrity": "sha512-N6aeia3NhdpV7kiGxJV5xQiZZCVEEVjRz2T2C6UZQiBkHWHzUv/oWA4myQLcwBwO8LUoR1KWW5oStvwVesmfCg==", "peer": true }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==", + "dev": true + }, "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -17348,25 +17724,6 @@ "retry": "^0.12.0" } }, - "prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", - "dev": true, - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" - }, - "dependencies": { - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "dev": true - } - } - }, "proto-list": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", @@ -17434,6 +17791,15 @@ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", "peer": true }, + "raf": { + "version": "3.4.1", + "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", + "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", + "dev": true, + "requires": { + "performance-now": "^2.1.0" + } + }, "random-bytes": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/random-bytes/-/random-bytes-1.0.0.tgz", @@ -17466,6 +17832,17 @@ "unpipe": "1.0.0" } }, + "rc-tween-one": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/rc-tween-one/-/rc-tween-one-3.0.6.tgz", + "integrity": "sha512-5zTSXyyv7bahDBQ/kJw/kNxxoBqTouttoelw8FOVOyWqmTMndizJEpvaj1N+yES5Xjss6Y2iVw+9vSJQZE8Z6g==", + "dev": true, + "requires": { + "@babel/runtime": "^7.11.1", + "style-utils": "^0.3.4", + "tween-one": "^1.0.50" + } + }, "re2": { "version": "1.17.4", "resolved": "https://registry.npmjs.org/re2/-/re2-1.17.4.tgz", @@ -17502,12 +17879,6 @@ "integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA==", "dev": true }, - "react-is": { - "version": "18.2.0", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", - "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", - "dev": true - }, "react-popper": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-2.3.0.tgz", @@ -17518,6 +17889,43 @@ "warning": "^4.0.2" } }, + "react-universal-interface": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/react-universal-interface/-/react-universal-interface-0.6.2.tgz", + "integrity": "sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==", + "dev": true, + "requires": {} + }, + "react-use": { + "version": "17.4.0", + "resolved": "https://registry.npmjs.org/react-use/-/react-use-17.4.0.tgz", + "integrity": "sha512-TgbNTCA33Wl7xzIJegn1HndB4qTS9u03QUwyNycUnXaweZkE4Kq2SB+Yoxx8qbshkZGYBDvUXbXWRUmQDcZZ/Q==", + "dev": true, + "requires": { + "@types/js-cookie": "^2.2.6", + "@xobotyi/scrollbar-width": "^1.9.5", + "copy-to-clipboard": "^3.3.1", + "fast-deep-equal": "^3.1.3", + "fast-shallow-equal": "^1.0.0", + "js-cookie": "^2.2.1", + "nano-css": "^5.3.1", + "react-universal-interface": "^0.6.2", + "resize-observer-polyfill": "^1.5.1", + "screenfull": "^5.1.0", + "set-harmonic-interval": "^1.0.1", + "throttle-debounce": "^3.0.1", + "ts-easing": "^0.2.0", + "tslib": "^2.1.0" + }, + "dependencies": { + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + } + } + }, "readable-stream": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", @@ -17691,6 +18099,12 @@ "lodash": "^4.17.14" } }, + "resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==", + "dev": true + }, "resolve": { "version": "1.22.0", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", @@ -17890,6 +18304,15 @@ "sdp": "^2.6.0" } }, + "rtl-css-js": { + "version": "1.15.0", + "resolved": "https://registry.npmjs.org/rtl-css-js/-/rtl-css-js-1.15.0.tgz", + "integrity": "sha512-99Cu4wNNIhrI10xxUaABHsdDqzalrSRTie4GeCmbGVuehm4oj+fIy8fTzB+16pmKe8Bv9rl+hxIBez6KxExTew==", + "dev": true, + "requires": { + "@babel/runtime": "^7.1.2" + } + }, "run-parallel": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", @@ -17942,6 +18365,12 @@ "loose-envify": "^1.1.0" } }, + "screenfull": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/screenfull/-/screenfull-5.2.0.tgz", + "integrity": "sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==", + "dev": true + }, "sdp": { "version": "2.12.0", "resolved": "https://registry.npmjs.org/sdp/-/sdp-2.12.0.tgz", @@ -17954,27 +18383,6 @@ "integrity": "sha1-8aAymzCLIh+uN7mXTz1XjQypmeM=", "peer": true }, - "semantic-ui-react": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-2.1.3.tgz", - "integrity": "sha512-dd2pqalMk0ycJoHf7hn4mYd0xohg0NMk7ohlpPVOigCfMLrKk2e3NZdRk0yBetvD+qJXPqZ04jA43bDwqOM5OA==", - "dev": true, - "requires": { - "@babel/runtime": "^7.10.5", - "@fluentui/react-component-event-listener": "~0.63.0", - "@fluentui/react-component-ref": "~0.63.0", - "@popperjs/core": "^2.6.0", - "@semantic-ui-react/event-stack": "^3.1.3", - "clsx": "^1.1.1", - "keyboard-key": "^1.1.0", - "lodash": "^4.17.21", - "lodash-es": "^4.17.21", - "prop-types": "^15.7.2", - "react-is": "^16.8.6 || ^17.0.0 || ^18.0.0", - "react-popper": "^2.3.0", - "shallowequal": "^1.1.0" - } - }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -18054,6 +18462,12 @@ "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "peer": true }, + "set-harmonic-interval": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-harmonic-interval/-/set-harmonic-interval-1.0.1.tgz", + "integrity": "sha512-AhICkFV84tBP1aWqPwLZqFvAwqEoVA9kxNMniGEUvzOlm4vLmOFLiTT3UZ6bziJTy4bOVpzWGTfSCbmaayGx8g==", + "dev": true + }, "setprototypeof": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz", @@ -18070,12 +18484,6 @@ "safe-buffer": "^5.0.1" } }, - "shallowequal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", - "dev": true - }, "side-channel": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", @@ -18142,8 +18550,7 @@ "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "peer": true + "devOptional": true }, "sourcemap-codec": { "version": "1.4.8", @@ -18166,6 +18573,50 @@ "minipass": "^3.1.1" } }, + "stack-generator": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/stack-generator/-/stack-generator-2.0.10.tgz", + "integrity": "sha512-mwnua/hkqM6pF4k8SnmZ2zfETsRUpWXREfA/goT8SLCV4iOFa4bzOX2nDipWAZFPTjLvQB82f5yaodMVhK0yJQ==", + "dev": true, + "requires": { + "stackframe": "^1.3.4" + } + }, + "stackframe": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/stackframe/-/stackframe-1.3.4.tgz", + "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", + "dev": true + }, + "stacktrace-gps": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/stacktrace-gps/-/stacktrace-gps-3.1.2.tgz", + "integrity": "sha512-GcUgbO4Jsqqg6RxfyTHFiPxdPqF+3LFmQhm7MgCuYQOYuWyqxo5pwRPz5d/u6/WYJdEnWfK4r+jGbyD8TSggXQ==", + "dev": true, + "requires": { + "source-map": "0.5.6", + "stackframe": "^1.3.4" + }, + "dependencies": { + "source-map": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz", + "integrity": "sha512-MjZkVp0NHr5+TPihLcadqnlVoGIoWo4IBHptutGh9wI3ttUYvCG26HkSuDi+K6lsZ25syXJXcctwgyVCt//xqA==", + "dev": true + } + } + }, + "stacktrace-js": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stacktrace-js/-/stacktrace-js-2.0.2.tgz", + "integrity": "sha512-Je5vBeY4S1r/RnLydLl0TBTi3F2qdfWmYsGvtfZgEI+SCprPppaIhQf5nGcal4gI4cGpCV/duLcAzT1np6sQqg==", + "dev": true, + "requires": { + "error-stack-parser": "^2.0.6", + "stack-generator": "^2.0.5", + "stacktrace-gps": "^3.0.4" + } + }, "statuses": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz", @@ -18223,6 +18674,18 @@ "integrity": "sha1-gzCvhyZk6aW9Z4ZkUkhXxQkIA4o=", "peer": true }, + "style-utils": { + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/style-utils/-/style-utils-0.3.8.tgz", + "integrity": "sha512-RmGftIhY4tqtD1ERwKsVEDlt/M6UyxN/rcr95UmlooWmhtL0RwVUYJkpo1kSx3ppd9/JZzbknhy742zbMAawjQ==", + "dev": true + }, + "stylis": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.1.1.tgz", + "integrity": "sha512-lVrM/bNdhVX2OgBFNa2YJ9Lxj7kPzylieHd3TNjuGE0Re9JB7joL5VUKOVH1kdNNJTgGPpT8hmwIAPLaSyEVFQ==", + "dev": true + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -18238,6 +18701,18 @@ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", "dev": true }, + "svg-path-properties": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/svg-path-properties/-/svg-path-properties-1.0.11.tgz", + "integrity": "sha512-Wo6SjzONZPL9UAgrnwcCkDGRYP9CbHJGkNcPFIgEVRjiOiJxSd/AtwnGk/4N4iOLGUoas57TMxY0xASDeb9YJg==", + "dev": true + }, + "svgpath": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/svgpath/-/svgpath-2.5.0.tgz", + "integrity": "sha512-o/vohwqjUO9nDAh4rcjE3KaW/v//At8UJu2LJMybXidf5QLQLVA4bxH0//4YCsr+1H4Gw1Wi/Jc62ynzSBYidw==", + "dev": true + }, "symbol-tree": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", @@ -18272,6 +18747,12 @@ } } }, + "throttle-debounce": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-3.0.1.tgz", + "integrity": "sha512-dTEWWNu6JmeVXY0ZYoPuH5cRIwc0MeGbJwah9KUNYSJwommQpCzTySTpEe8Gs1J23aeWEuAobe4Ag7EHVt/LOg==", + "dev": true + }, "through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", @@ -18355,6 +18836,12 @@ "is-number": "^7.0.0" } }, + "toggle-selection": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", + "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==", + "dev": true + }, "toidentifier": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz", @@ -18367,6 +18854,23 @@ "integrity": "sha1-zu78cXp2xDFvEm0LnbqlXX598Bo=", "peer": true }, + "topojson-client": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/topojson-client/-/topojson-client-3.1.0.tgz", + "integrity": "sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==", + "dev": true, + "requires": { + "commander": "2" + }, + "dependencies": { + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + } + } + }, "tough-cookie": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", @@ -18404,6 +18908,12 @@ "events": "^3.3.0" } }, + "ts-easing": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/ts-easing/-/ts-easing-0.2.0.tgz", + "integrity": "sha512-Z86EW+fFFh/IFB1fqQ3/+7Zpf9t2ebOAxNI/V6Wo7r5gqiqtxmgTlQ1qbqQcjLKYeSHPTsEmvlJUDg/EuL0uHQ==", + "dev": true + }, "ts-morph": { "version": "10.1.0", "resolved": "https://registry.npmjs.org/ts-morph/-/ts-morph-10.1.0.tgz", @@ -18417,8 +18927,27 @@ "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", - "peer": true + "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" + }, + "tween-functions": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/tween-functions/-/tween-functions-1.2.0.tgz", + "integrity": "sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA==", + "dev": true + }, + "tween-one": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/tween-one/-/tween-one-1.1.8.tgz", + "integrity": "sha512-b9WD0/ZauKmhpomV5skXkTw6MMOEKLmBsWXV754Vp0WuJALcDP5u7PQSvMMFqVSQ/eg8R8DAxiaNebHZtB57fg==", + "dev": true, + "requires": { + "@babel/runtime": "^7.11.1", + "flubber": "^0.4.2", + "raf": "^3.4.1", + "style-utils": "^0.3.6", + "svg-path-properties": "^1.0.4", + "tween-functions": "^1.2.0" + } }, "type-check": { "version": "0.3.2", diff --git a/package.json b/package.json index 6184574..764c245 100644 --- a/package.json +++ b/package.json @@ -49,13 +49,13 @@ "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", + "fomantic-ui-react": "^0.0.1-alpha.12", "mocha": "^10.0.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-jsx": "^1.0.3", "rollup-plugin-minify": "^1.0.3", "rollup-plugin-node-globals": "^1.4.0", "rollup-plugin-polyfill-node": "^0.9.0", - "semantic-ui-react": "^2.1.3", "trezor-connect": "^8.2.9" }, "peerDependencies": { From 4276c97481c3741fd734d0148bce83fafabc9444 Mon Sep 17 00:00:00 2001 From: victorwu Date: Tue, 21 Jun 2022 23:00:23 -0400 Subject: [PATCH 16/16] build: update to fomantic-ui-react --- rollup.config.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rollup.config.js b/rollup.config.js index 8e2615b..99cdf6e 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -22,11 +22,12 @@ export default [{ // 'http': 'http', 'react': 'React', 'react-dom': 'ReactDOM', - 'semantic-ui-react': 'semanticUIReact', + 'fomantic-ui-react': 'fomanticUIReact', // 'lodash.merge': 'merge', // 'bip39': 'bip39', // 'trezor-connect': 'TrezorConnect' }, + exports: 'named' } ], external: [ @@ -34,7 +35,7 @@ export default [{ // 'bip39', // 'http', // 'trezor-connect', - 'semantic-ui-react', + 'fomantic-ui-react', // 'lodash.merge' ], plugins: [ @@ -48,7 +49,7 @@ export default [{ }), commonjs({ preferBuiltins: false, - transformMixedEsModules: true + // transformMixedEsModules: true }), resolve({ // If you have external dependencies installed from