From a97bff60d9f1b994ccf476347d70ebc5efcbfe2b Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Fri, 4 Mar 2022 11:21:11 +0100 Subject: [PATCH] Plugbox cleanup --- .gitignore | 3 +- plugbox/core/lib/db.ts | 9 - plugbox/package.json | 3 +- plugbox/src/bundle.ts | 6 +- .../src/plugins => plugbox/src}/runtime.ts | 3 - {webapp/src/plugins => plugbox/src}/types.ts | 0 plugbox/src/util.ts | 27 + plugbox/tsconfig.json | 11 + plugbox/yarn.lock | 435 ++++---- plugs/Makefile | 7 + .../core/core.plug.json | 0 {plugbox => plugs}/core/dates.ts | 2 +- {plugbox => plugs}/core/lib/syscall.ts | 0 {plugbox => plugs}/core/markup.ts | 2 +- {plugbox => plugs}/core/navigate.ts | 4 +- {plugbox => plugs}/core/page.ts | 0 {plugbox => plugs}/core/task.ts | 4 +- {plugbox => plugs}/core/welcome.ts | 0 {plugbox => plugs}/core/word_count_command.ts | 4 +- webapp/package.json | 13 +- webapp/src/editor.tsx | 9 +- webapp/src/generated/core.plugin.json | 109 -- .../browser_system.ts | 6 +- webapp/src/{plugin_sw.ts => plugbox_sw.ts} | 6 +- webapp/src/types.ts | 2 +- webapp/yarn.lock | 966 +++++++++++++++++- 26 files changed, 1266 insertions(+), 365 deletions(-) delete mode 100644 plugbox/core/lib/db.ts rename {webapp/src/plugins => plugbox/src}/runtime.ts (97%) rename {webapp/src/plugins => plugbox/src}/types.ts (100%) create mode 100644 plugbox/src/util.ts create mode 100644 plugbox/tsconfig.json create mode 100644 plugs/Makefile rename plugbox/core/core.plugin.json => plugs/core/core.plug.json (100%) rename {plugbox => plugs}/core/dates.ts (77%) rename {plugbox => plugs}/core/lib/syscall.ts (100%) rename {plugbox => plugs}/core/markup.ts (94%) rename {plugbox => plugs}/core/navigate.ts (92%) rename {plugbox => plugs}/core/page.ts (100%) rename {plugbox => plugs}/core/task.ts (87%) rename {plugbox => plugs}/core/welcome.ts (100%) rename {plugbox => plugs}/core/word_count_command.ts (93%) delete mode 100644 webapp/src/generated/core.plugin.json rename webapp/src/{plugins => plugbox_browser}/browser_system.ts (88%) rename webapp/src/{plugin_sw.ts => plugbox_sw.ts} (95%) diff --git a/.gitignore b/.gitignore index 7d4a4497..8c07fd08 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ logo.pxd .DS_Store node_modules .parcel-cache -dist \ No newline at end of file +dist +generated \ No newline at end of file diff --git a/plugbox/core/lib/db.ts b/plugbox/core/lib/db.ts deleted file mode 100644 index 12a19448..00000000 --- a/plugbox/core/lib/db.ts +++ /dev/null @@ -1,9 +0,0 @@ -import {syscall} from "./syscall.ts"; - -export async function put(key: string, value: any) { - return await syscall("db.put", key, value); -} - -export async function get(key: string) { - return await syscall("db.get", key); -} diff --git a/plugbox/package.json b/plugbox/package.json index e4cea06a..5708d867 100644 --- a/plugbox/package.json +++ b/plugbox/package.json @@ -6,10 +6,11 @@ "main": "dist/bundle.js", "scripts": { "build": "parcel build", - "core": "node dist/bundle.js --debug core/core.plugin.json ../webapp/src/generated/core.plugin.json" + "check": "tsc --noEmit" }, "dependencies": { "esbuild": "^0.14.24", + "idb": "^7.0.0", "typescript": ">=3.0.0", "vm2": "^3.9.9", "yargs": "^17.3.1" diff --git a/plugbox/src/bundle.ts b/plugbox/src/bundle.ts index ef4f1d6a..8cab4fef 100644 --- a/plugbox/src/bundle.ts +++ b/plugbox/src/bundle.ts @@ -6,7 +6,7 @@ import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { Manifest } from "../../webapp/src/plugins/types"; -async function compile(filePath: string, sourceMap: string) { +async function compile(filePath: string, sourceMap: boolean) { let tempFile = "out.js"; let js = await esbuild.build({ entryPoints: [filePath], @@ -25,7 +25,7 @@ async function compile(filePath: string, sourceMap: string) { return jsCode; } -async function bundle(manifestPath, sourceMaps) { +async function bundle(manifestPath: string, sourceMaps: boolean) { const rootPath = path.dirname(manifestPath); const manifest = JSON.parse( (await readFile(manifestPath)).toString() @@ -53,7 +53,7 @@ async function run() { }) .parse(); - let generatedManifest = await bundle(args._[0], !!args.debug); + let generatedManifest = await bundle(args._[0] as string, !!args.debug); writeFile(args._[1] as string, JSON.stringify(generatedManifest, null, 2)); } diff --git a/webapp/src/plugins/runtime.ts b/plugbox/src/runtime.ts similarity index 97% rename from webapp/src/plugins/runtime.ts rename to plugbox/src/runtime.ts index b4c2fe6b..b54c63fa 100644 --- a/webapp/src/plugins/runtime.ts +++ b/plugbox/src/runtime.ts @@ -14,9 +14,6 @@ export class FunctionWorker { private plugin: Plugin; constructor(plugin: Plugin, pathPrefix: string, name: string) { - // this.worker = new Worker(new URL("function_worker.ts", import.meta.url), { - // type: "classic", - // }); let worker = window.Worker; this.worker = new worker("/function_worker.js"); diff --git a/webapp/src/plugins/types.ts b/plugbox/src/types.ts similarity index 100% rename from webapp/src/plugins/types.ts rename to plugbox/src/types.ts diff --git a/plugbox/src/util.ts b/plugbox/src/util.ts new file mode 100644 index 00000000..de823705 --- /dev/null +++ b/plugbox/src/util.ts @@ -0,0 +1,27 @@ +export function countWords(str: string): number { + var matches = str.match(/[\w\d\'\'-]+/gi); + return matches ? matches.length : 0; +} + +export function readingTime(wordCount: number): number { + // 225 is average word reading speed for adults + return Math.ceil(wordCount / 225); +} + +export function safeRun(fn: () => Promise) { + fn().catch((e) => { + console.error(e); + }); +} + +export function sleep(ms: number): Promise { + return new Promise((resolve) => { + setTimeout(() => { + resolve(); + }, ms); + }); +} + +export function isMacLike() { + return /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform); +} diff --git a/plugbox/tsconfig.json b/plugbox/tsconfig.json new file mode 100644 index 00000000..613ffdeb --- /dev/null +++ b/plugbox/tsconfig.json @@ -0,0 +1,11 @@ +{ + "include": ["src/**/*", "../webapp/src/plugbox_browser/browser_system.ts"], + "compilerOptions": { + "target": "esnext", + "strict": true, + "moduleResolution": "node", + "module": "ESNext", + "esModuleInterop": true, + "allowSyntheticDefaultImports": true + } +} diff --git a/plugbox/yarn.lock b/plugbox/yarn.lock index 42abaf6e..808e3344 100644 --- a/plugbox/yarn.lock +++ b/plugbox/yarn.lock @@ -4,19 +4,19 @@ "@babel/code-frame@^7.0.0": version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz" integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg== dependencies: "@babel/highlight" "^7.16.7" "@babel/helper-validator-identifier@^7.16.7": version "7.16.7" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz" integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== "@babel/highlight@^7.16.7": version "7.16.10" - resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.16.10.tgz#744f2eb81579d6eea753c227b0f570ad785aba88" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz" integrity sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw== dependencies: "@babel/helper-validator-identifier" "^7.16.7" @@ -25,7 +25,7 @@ "@parcel/bundler-default@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/bundler-default/-/bundler-default-2.3.2.tgz#329f171e210dfb22beaa52ae706ccde1dae384c1" + resolved "https://registry.npmjs.org/@parcel/bundler-default/-/bundler-default-2.3.2.tgz" integrity sha512-JUrto4mjSD0ic9dEqRp0loL5o3HVYHja1ZIYSq+rBl2UWRV6/9cGTb07lXOCqqm0BWE+hQ4krUxB76qWaF0Lqw== dependencies: "@parcel/diagnostic" "2.3.2" @@ -36,7 +36,7 @@ "@parcel/cache@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/cache/-/cache-2.3.2.tgz#ba8c2af02fd45b90c7bc6f829bfc566d1ded0a13" + resolved "https://registry.npmjs.org/@parcel/cache/-/cache-2.3.2.tgz" integrity sha512-Xxq+ekgcFEme6Fn1v7rEOBkyMOUOUu7eNqQw0l6HQS+INZ2Q7YzzfdW7pI8rEOAAICVg5BWKpmBQZpgJlT+HxQ== dependencies: "@parcel/fs" "2.3.2" @@ -46,21 +46,21 @@ "@parcel/codeframe@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/codeframe/-/codeframe-2.3.2.tgz#73fb5a89910b977342808ca8f6ece61fa01b7690" + resolved "https://registry.npmjs.org/@parcel/codeframe/-/codeframe-2.3.2.tgz" integrity sha512-ireQALcxxrTdIEpzTOoMo/GpfbFm1qlyezeGl3Hce3PMvHLg3a5S6u/Vcy7SAjdld5GfhHEqVY+blME6Z4CyXQ== dependencies: chalk "^4.1.0" "@parcel/compressor-raw@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/compressor-raw/-/compressor-raw-2.3.2.tgz#1a808ae9e61ed86f655935e1d2a984383b3c00a7" + resolved "https://registry.npmjs.org/@parcel/compressor-raw/-/compressor-raw-2.3.2.tgz" integrity sha512-8dIoFwinYK6bOTpnZOAwwIv0v73y0ezsctPmfMnIqVQPn7wJwfhw/gbKVcmK5AkgQMkyid98hlLZoaZtGF1Mdg== dependencies: "@parcel/plugin" "2.3.2" "@parcel/config-default@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/config-default/-/config-default-2.3.2.tgz#3f21a37fa07b22de9cd6b1aea19bc310a02d4abb" + resolved "https://registry.npmjs.org/@parcel/config-default/-/config-default-2.3.2.tgz" integrity sha512-E7/iA7fGCYvXU3u6zF9nxjeDVsgjCN6MVvDjymjaxYMoDWTIsPV245SBEXqzgtmzbMAV+VAl4rVWLMB4pzMt9g== dependencies: "@parcel/bundler-default" "2.3.2" @@ -96,7 +96,7 @@ "@parcel/core@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/core/-/core-2.3.2.tgz#1b9a79c1ff96dba5e0f53d4277bed4e7ab4590d0" + resolved "https://registry.npmjs.org/@parcel/core/-/core-2.3.2.tgz" integrity sha512-gdJzpsgeUhv9H8T0UKVmyuptiXdduEfKIUx0ci+/PGhq8cCoiFnlnuhW6H7oLr79OUc+YJStabDJuG4U2A6ysw== dependencies: "@parcel/cache" "2.3.2" @@ -126,7 +126,7 @@ "@parcel/diagnostic@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/diagnostic/-/diagnostic-2.3.2.tgz#1d3f0b55bfd9839c6f41d704ebbc89a96cca88dc" + resolved "https://registry.npmjs.org/@parcel/diagnostic/-/diagnostic-2.3.2.tgz" integrity sha512-/xW93Az4AOiifuYW/c4CDbUcu3lx5FcUDAj9AGiR9NSTsF/ROC/RqnxvQ3AGtqa14R7vido4MXEpY3JEp6FsqA== dependencies: json-source-map "^0.6.1" @@ -134,19 +134,19 @@ "@parcel/events@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/events/-/events-2.3.2.tgz#b6bcfbbc96d883716ee9d0e6ab232acdee862790" + resolved "https://registry.npmjs.org/@parcel/events/-/events-2.3.2.tgz" integrity sha512-WiYIwXMo4Vd+pi58vRoHkul8TPE5VEfMY+3FYwVCKPl/LYqSD+vz6wMx9uG18mEbB1d/ofefv5ZFQNtPGKO4tQ== "@parcel/fs-search@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/fs-search/-/fs-search-2.3.2.tgz#18611877ac1b370932c71987c2ec0e93a4a7e53d" + resolved "https://registry.npmjs.org/@parcel/fs-search/-/fs-search-2.3.2.tgz" integrity sha512-u3DTEFnPtKuZvEtgGzfVjQUytegSSn3POi7WfwMwPIaeDPfYcyyhfl+c96z7VL9Gk/pqQ99/cGyAwFdFsnxxXA== dependencies: detect-libc "^1.0.3" "@parcel/fs@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/fs/-/fs-2.3.2.tgz#9628441a84c2582e1f6e69549feb0da0cc143e40" + resolved "https://registry.npmjs.org/@parcel/fs/-/fs-2.3.2.tgz" integrity sha512-XV+OsnRpN01QKU37lBN0TFKvv7uPKfQGbqFqYOrMbXH++Ae8rBU0Ykz+Yu4tv2h7shMlde+AMKgRnRTAJZpWEQ== dependencies: "@parcel/fs-search" "2.3.2" @@ -157,7 +157,7 @@ "@parcel/graph@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/graph/-/graph-2.3.2.tgz#4194816952ab322ab22a17f7d9ea17befbade64d" + resolved "https://registry.npmjs.org/@parcel/graph/-/graph-2.3.2.tgz" integrity sha512-ltTBM3IEqumgmy4ABBFETT8NtAwSsjD9mY3WCyJ5P8rUshfVCg093rvBPbpuJYMaH/TV1AHVaWfZqaZ4JQDIQQ== dependencies: "@parcel/utils" "2.3.2" @@ -165,7 +165,7 @@ "@parcel/hash@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/hash/-/hash-2.3.2.tgz#33b8ff04bb44f6661bdc1054b302ef1b6bd3acb3" + resolved "https://registry.npmjs.org/@parcel/hash/-/hash-2.3.2.tgz" integrity sha512-SMtYTsHihws/wqdVnOr0QAGyGYsW9rJSJkkoRujUxo8l2ctnBN1ztv89eOUrdtgHsmcnj/oz1yw6sN38X+BUng== dependencies: detect-libc "^1.0.3" @@ -173,7 +173,7 @@ "@parcel/logger@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/logger/-/logger-2.3.2.tgz#b5fc7a9c1664ee0286d0f67641c7c81c8fec1561" + resolved "https://registry.npmjs.org/@parcel/logger/-/logger-2.3.2.tgz" integrity sha512-jIWd8TXDQf+EnNWSa7Q10lSQ6C1LSH8OZkTlaINrfVIw7s+3tVxO3I4pjp7/ARw7RX2gdNPlw6fH4Gn/HvvYbw== dependencies: "@parcel/diagnostic" "2.3.2" @@ -181,14 +181,14 @@ "@parcel/markdown-ansi@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/markdown-ansi/-/markdown-ansi-2.3.2.tgz#2a5be7ce76a506a9d238ea2257cb28e43abe4902" + resolved "https://registry.npmjs.org/@parcel/markdown-ansi/-/markdown-ansi-2.3.2.tgz" integrity sha512-l01ggmag5QScCk9mYA0xHh5TWSffR84uPFP2KvaAMQQ9NLNufcFiU0mn/Mtr3pCb5L5dSzmJ+Oo9s7P1Kh/Fmg== dependencies: chalk "^4.1.0" "@parcel/namer-default@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/namer-default/-/namer-default-2.3.2.tgz#84e17abfc84fd293b23b3f405280ed2e279c75d8" + resolved "https://registry.npmjs.org/@parcel/namer-default/-/namer-default-2.3.2.tgz" integrity sha512-3QUMC0+5+3KMKfoAxYAbpZtuRqTgyZKsGDWzOpuqwemqp6P8ahAvNPwSCi6QSkGcTmvtYwBu9/NHPSONxIFOfg== dependencies: "@parcel/diagnostic" "2.3.2" @@ -197,7 +197,7 @@ "@parcel/node-resolver-core@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/node-resolver-core/-/node-resolver-core-2.3.2.tgz#dd360f405949fdcd62980cd44825052ab28f6135" + resolved "https://registry.npmjs.org/@parcel/node-resolver-core/-/node-resolver-core-2.3.2.tgz" integrity sha512-wmrnMNzJN4GuHw2Ftho+BWgSWR6UCkW3XoMdphqcxpw/ieAdS2a+xYSosYkZgQZ6lGutSvLyJ1CkVvP6RLIdQQ== dependencies: "@parcel/diagnostic" "2.3.2" @@ -206,7 +206,7 @@ "@parcel/optimizer-cssnano@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/optimizer-cssnano/-/optimizer-cssnano-2.3.2.tgz#70758f6646fd4debc26a90ae7dddf398928c0ce1" + resolved "https://registry.npmjs.org/@parcel/optimizer-cssnano/-/optimizer-cssnano-2.3.2.tgz" integrity sha512-wTBOxMiBI38NAB9XIlQZRCjS59+EWjWR9M04D3TWyxl+dL5gYMc1cl4GNynUnmcPdz+3s1UbOdo5/8V90wjiiw== dependencies: "@parcel/plugin" "2.3.2" @@ -216,7 +216,7 @@ "@parcel/optimizer-htmlnano@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/optimizer-htmlnano/-/optimizer-htmlnano-2.3.2.tgz#4086736866621182f5dd1a8abe78e9f5764e1a28" + resolved "https://registry.npmjs.org/@parcel/optimizer-htmlnano/-/optimizer-htmlnano-2.3.2.tgz" integrity sha512-U8C0TDSxsx8HmHaLW0Zc7ha1fXQynzhvBjCRMGYnOiLiw0MOfLQxzQ2WKVSeCotmdlF63ayCwxWsd6BuqStiKQ== dependencies: "@parcel/plugin" "2.3.2" @@ -227,7 +227,7 @@ "@parcel/optimizer-image@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/optimizer-image/-/optimizer-image-2.3.2.tgz#0549cc1abc99fdd6f46bd44ce8551eb135e44d4f" + resolved "https://registry.npmjs.org/@parcel/optimizer-image/-/optimizer-image-2.3.2.tgz" integrity sha512-HOk3r5qdvY/PmI7Q3i2qEgFH3kP2QWG4Wq3wmC4suaF1+c2gpiQc+HKHWp4QvfbH3jhT00c5NxQyqPhbXeNI9Q== dependencies: "@parcel/diagnostic" "2.3.2" @@ -238,7 +238,7 @@ "@parcel/optimizer-svgo@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/optimizer-svgo/-/optimizer-svgo-2.3.2.tgz#ebf2f48f356ad557d2bbfae361520d3d29bc1c37" + resolved "https://registry.npmjs.org/@parcel/optimizer-svgo/-/optimizer-svgo-2.3.2.tgz" integrity sha512-l7WvZ5+e7D1mVmLUxMVaSb29cviXzuvSY2OpQs0ukdPACDqag+C65hWMzwTiOSSRGPMIu96kQKpeVru2YjibhA== dependencies: "@parcel/diagnostic" "2.3.2" @@ -248,7 +248,7 @@ "@parcel/optimizer-terser@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/optimizer-terser/-/optimizer-terser-2.3.2.tgz#790b69e6ecc6ef0d8f25b57e9a13806e1f1c2943" + resolved "https://registry.npmjs.org/@parcel/optimizer-terser/-/optimizer-terser-2.3.2.tgz" integrity sha512-dOapHhfy0xiNZa2IoEyHGkhhla07xsja79NPem14e5jCqY6Oi40jKNV4ab5uu5u1elWUjJuw69tiYbkDZWbKQw== dependencies: "@parcel/diagnostic" "2.3.2" @@ -260,7 +260,7 @@ "@parcel/package-manager@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/package-manager/-/package-manager-2.3.2.tgz#380f0741c9d0c79c170c437efae02506484df315" + resolved "https://registry.npmjs.org/@parcel/package-manager/-/package-manager-2.3.2.tgz" integrity sha512-pAQfywKVORY8Ee+NHAyKzzQrKbnz8otWRejps7urwhDaTVLfAd5C/1ZV64ATZ9ALYP9jyoQ8bTaxVd4opcSuwg== dependencies: "@parcel/diagnostic" "2.3.2" @@ -273,7 +273,7 @@ "@parcel/packager-css@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/packager-css/-/packager-css-2.3.2.tgz#4994d872449843c1c0cda524b6df3327e2f0a121" + resolved "https://registry.npmjs.org/@parcel/packager-css/-/packager-css-2.3.2.tgz" integrity sha512-ByuF9xDnQnpVL1Hdu9aY6SpxOuZowd3TH7joh1qdRPLeMHTEvUywHBXoiAyNdrhnLGum8uPEdY8Ra5Xuo1U7kg== dependencies: "@parcel/plugin" "2.3.2" @@ -283,7 +283,7 @@ "@parcel/packager-html@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/packager-html/-/packager-html-2.3.2.tgz#e54085fbaa49bed4258ffef80bc36b421895965f" + resolved "https://registry.npmjs.org/@parcel/packager-html/-/packager-html-2.3.2.tgz" integrity sha512-YqAptdU+uqfgwSii76mRGcA/3TpuC6yHr8xG+11brqj/tEFLsurmX0naombzd7FgmrTE9w+kb0HUIMl2vRBn0A== dependencies: "@parcel/plugin" "2.3.2" @@ -294,7 +294,7 @@ "@parcel/packager-js@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/packager-js/-/packager-js-2.3.2.tgz#2d2566bde0da921042b79aa827c71109665d795c" + resolved "https://registry.npmjs.org/@parcel/packager-js/-/packager-js-2.3.2.tgz" integrity sha512-3OP0Ro9M1J+PIKZK4Ec2N5hjIPiqk++B2kMFeiUqvaNZjJgKrPPEICBhjS52rma4IE/NgmIMB3aI5pWqE/KwNA== dependencies: "@parcel/diagnostic" "2.3.2" @@ -307,14 +307,14 @@ "@parcel/packager-raw@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/packager-raw/-/packager-raw-2.3.2.tgz#869cc3e7bee8ff3655891a0af400cf4e7dd4f144" + resolved "https://registry.npmjs.org/@parcel/packager-raw/-/packager-raw-2.3.2.tgz" integrity sha512-RnoZ7WgNAFWkEPrEefvyDqus7xfv9XGprHyTbfLittPaVAZpl+4eAv43nXyMfzk77Cgds6KcNpkosj3acEpNIQ== dependencies: "@parcel/plugin" "2.3.2" "@parcel/packager-svg@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/packager-svg/-/packager-svg-2.3.2.tgz#a7a02e22642ae93f42b8bfd7d122b4a159988743" + resolved "https://registry.npmjs.org/@parcel/packager-svg/-/packager-svg-2.3.2.tgz" integrity sha512-iIC0VeczOXynS7M5jCi3naMBRyAznBVJ3iMg92/GaI9duxPlUMGAlHzLAKNtoXkc00HMXDH7rrmMb04VX6FYSg== dependencies: "@parcel/plugin" "2.3.2" @@ -324,14 +324,14 @@ "@parcel/plugin@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/plugin/-/plugin-2.3.2.tgz#7701c40567d2eddd5d5b2b6298949cd03a2a22fa" + resolved "https://registry.npmjs.org/@parcel/plugin/-/plugin-2.3.2.tgz" integrity sha512-SaLZAJX4KH+mrAmqmcy9KJN+V7L+6YNTlgyqYmfKlNiHu7aIjLL+3prX8QRcgGtjAYziCxvPj0cl1CCJssaiGg== dependencies: "@parcel/types" "2.3.2" "@parcel/reporter-cli@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/reporter-cli/-/reporter-cli-2.3.2.tgz#0617e088aac5ef7fa255d088e7016bb4f9d66a53" + resolved "https://registry.npmjs.org/@parcel/reporter-cli/-/reporter-cli-2.3.2.tgz" integrity sha512-VYetmTXqW83npsvVvqlQZTbF3yVL3k/FCCl3kSWvOr9LZA0lmyqJWPjMHq37yIIOszQN/p5guLtgCjsP0UQw1Q== dependencies: "@parcel/plugin" "2.3.2" @@ -341,7 +341,7 @@ "@parcel/reporter-dev-server@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/reporter-dev-server/-/reporter-dev-server-2.3.2.tgz#46ee4c53ad08c8b8afd2c79fb37381b6ba55cfb5" + resolved "https://registry.npmjs.org/@parcel/reporter-dev-server/-/reporter-dev-server-2.3.2.tgz" integrity sha512-E7LtnjAX4iiWMw2qKUyFBi3+bDz0UGjqgHoPQylUYYLi6opXjJz/oC+cCcCy4e3RZlkrl187XonvagS59YjDxA== dependencies: "@parcel/plugin" "2.3.2" @@ -349,7 +349,7 @@ "@parcel/resolver-default@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/resolver-default/-/resolver-default-2.3.2.tgz#286070412ad7fe506f7c88409f39b362d2041798" + resolved "https://registry.npmjs.org/@parcel/resolver-default/-/resolver-default-2.3.2.tgz" integrity sha512-y3r+xOwWsATrNGUWuZ6soA7q24f8E5tY1AZ9lHCufnkK2cdKZJ5O1cyd7ohkAiKZx2/pMd+FgmVZ/J3oxetXkA== dependencies: "@parcel/node-resolver-core" "2.3.2" @@ -357,7 +357,7 @@ "@parcel/runtime-browser-hmr@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/runtime-browser-hmr/-/runtime-browser-hmr-2.3.2.tgz#cb23a850324ea792168438a9be6a345ebb66eb6d" + resolved "https://registry.npmjs.org/@parcel/runtime-browser-hmr/-/runtime-browser-hmr-2.3.2.tgz" integrity sha512-nRD6uOyF1+HGylP9GASbYmvUDOsDaNwvaxuGTSh8+5M0mmCgib+hVBiPEKbwdmKjGbUPt9wRFPyMa/JpeQZsIQ== dependencies: "@parcel/plugin" "2.3.2" @@ -365,7 +365,7 @@ "@parcel/runtime-js@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/runtime-js/-/runtime-js-2.3.2.tgz#c0e14251ce43f95977577e23bb9ac5c2487f3bb1" + resolved "https://registry.npmjs.org/@parcel/runtime-js/-/runtime-js-2.3.2.tgz" integrity sha512-SJepcHvYO/7CEe/Q85sngk+smcJ6TypuPh4D2R8kN+cAJPi5WvbQEe7+x5BEgbN+5Jumi/Uo3FfOOE5mYh+F6g== dependencies: "@parcel/plugin" "2.3.2" @@ -374,7 +374,7 @@ "@parcel/runtime-react-refresh@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/runtime-react-refresh/-/runtime-react-refresh-2.3.2.tgz#11961d7429ae3333b7efe14c4f57515df57eb5f2" + resolved "https://registry.npmjs.org/@parcel/runtime-react-refresh/-/runtime-react-refresh-2.3.2.tgz" integrity sha512-P+GRPO2XVDSBQ4HmRSj2xfbHSQvL9+ahTE/AB74IJExLTITv5l4SHAV3VsiKohuHYUAYHW3A/Oe7tEFCAb6Cug== dependencies: "@parcel/plugin" "2.3.2" @@ -383,7 +383,7 @@ "@parcel/runtime-service-worker@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/runtime-service-worker/-/runtime-service-worker-2.3.2.tgz#aa91797e57d1bb5b2aac04ac62c5410709ae0a27" + resolved "https://registry.npmjs.org/@parcel/runtime-service-worker/-/runtime-service-worker-2.3.2.tgz" integrity sha512-iREHj/eapphC4uS/zGUkiTJvG57q+CVbTrfE42kB8ECtf/RYNo5YC9htdvPZjRSXDPrEPc5NCoKp4X09ENNikw== dependencies: "@parcel/plugin" "2.3.2" @@ -392,14 +392,14 @@ "@parcel/source-map@^2.0.0": version "2.0.2" - resolved "https://registry.yarnpkg.com/@parcel/source-map/-/source-map-2.0.2.tgz#9aa0b00518cee31d5634de6e9c924a5539b142c1" + resolved "https://registry.npmjs.org/@parcel/source-map/-/source-map-2.0.2.tgz" integrity sha512-NnUrPYLpYB6qyx2v6bcRPn/gVigmGG6M6xL8wIg/i0dP1GLkuY1nf+Hqdf63FzPTqqT7K3k6eE5yHPQVMO5jcA== dependencies: detect-libc "^1.0.3" "@parcel/transformer-babel@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-babel/-/transformer-babel-2.3.2.tgz#2d8c0d1f95d9747936d132dc4c34edb0b6b80d39" + resolved "https://registry.npmjs.org/@parcel/transformer-babel/-/transformer-babel-2.3.2.tgz" integrity sha512-QpWfH2V6jJ+kcUBIMM/uBBG8dGFvNaOGS+8jD6b+eTP+1owzm83RoWgqhRV2D/hhv2qMXEQzIljoc/wg2y+X4g== dependencies: "@parcel/diagnostic" "2.3.2" @@ -413,7 +413,7 @@ "@parcel/transformer-css@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-css/-/transformer-css-2.3.2.tgz#968826e42d7cac9963dc0a67a30d393ef996e48c" + resolved "https://registry.npmjs.org/@parcel/transformer-css/-/transformer-css-2.3.2.tgz" integrity sha512-8lzvDny+78DIAqhcXam2Bf9FyaUoqzHdUQdNFn+PuXTHroG/QGPvln1kvqngJjn4/cpJS9vYmAPVXe+nai3P8g== dependencies: "@parcel/hash" "2.3.2" @@ -427,7 +427,7 @@ "@parcel/transformer-html@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-html/-/transformer-html-2.3.2.tgz#c240f09369445d287d16beba207407c925532d90" + resolved "https://registry.npmjs.org/@parcel/transformer-html/-/transformer-html-2.3.2.tgz" integrity sha512-idT1I/8WM65IFYBqzRwpwT7sf0xGur4EDQDHhuPX1w+pIVZnh0lkLMAnEqs6ar1SPRMys4chzkuDNnqh0d76hg== dependencies: "@parcel/diagnostic" "2.3.2" @@ -441,7 +441,7 @@ "@parcel/transformer-image@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-image/-/transformer-image-2.3.2.tgz#24b6eda51a6b07c195886bbb67fb2ade14c325f3" + resolved "https://registry.npmjs.org/@parcel/transformer-image/-/transformer-image-2.3.2.tgz" integrity sha512-0K7cJHXysli6hZsUz/zVGO7WCoaaIeVdzAxKpLA1Yl3LKw/ODiMyXKt08LiV/ljQ2xT5qb9EsXUWDRvcZ0b96A== dependencies: "@parcel/plugin" "2.3.2" @@ -450,7 +450,7 @@ "@parcel/transformer-js@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-js/-/transformer-js-2.3.2.tgz#24bcb488d5f82678343a5630fe4bbe822789ac33" + resolved "https://registry.npmjs.org/@parcel/transformer-js/-/transformer-js-2.3.2.tgz" integrity sha512-U1fbIoAoqR5P49S+DMhH8BUd9IHRPwrTTv6ARYGsYnhuNsjTFhNYE0kkfRYboe/e0z7vEbeJICZXjnZ7eQDw5A== dependencies: "@parcel/diagnostic" "2.3.2" @@ -467,7 +467,7 @@ "@parcel/transformer-json@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-json/-/transformer-json-2.3.2.tgz#4c470e86659e87ee13b1f31e75a3621d3615b6bd" + resolved "https://registry.npmjs.org/@parcel/transformer-json/-/transformer-json-2.3.2.tgz" integrity sha512-Pv2iPaxKINtFwOk5fDbHjQlSm2Vza/NLimQY896FLxiXPNAJxWGvMwdutgOPEBKksxRx9LZPyIOHiRVZ0KcA3w== dependencies: "@parcel/plugin" "2.3.2" @@ -475,7 +475,7 @@ "@parcel/transformer-postcss@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-postcss/-/transformer-postcss-2.3.2.tgz#a428c81569dd66758c5fab866dca69b4c6e59743" + resolved "https://registry.npmjs.org/@parcel/transformer-postcss/-/transformer-postcss-2.3.2.tgz" integrity sha512-Rpdxc1rt2aJFCh/y/ccaBc9J1crDjNY5o44xYoOemBoUNDMREsmg5sR5iO81qKKO5GxfoosGb2zh59aeTmywcg== dependencies: "@parcel/hash" "2.3.2" @@ -488,7 +488,7 @@ "@parcel/transformer-posthtml@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-posthtml/-/transformer-posthtml-2.3.2.tgz#5da3f24bf240c3c49b2fdb17dcda5988d3057a30" + resolved "https://registry.npmjs.org/@parcel/transformer-posthtml/-/transformer-posthtml-2.3.2.tgz" integrity sha512-tMdVExfdM+1G8A9KSHDsjg+S9xEGbhH5mApF2NslPnNZ4ciLKRNuHU2sSV/v8i0a6kacKvDTrwQXYBQJGOodBw== dependencies: "@parcel/plugin" "2.3.2" @@ -501,14 +501,14 @@ "@parcel/transformer-raw@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-raw/-/transformer-raw-2.3.2.tgz#40d21773e295bae3b16bfe7a89e414ccf534b9c5" + resolved "https://registry.npmjs.org/@parcel/transformer-raw/-/transformer-raw-2.3.2.tgz" integrity sha512-lY7eOCaALZ90+GH+4PZRmAPGQRXoZ66NakSdhEtH6JSSAYOmZKDvNLGTMRo/vK1oELzWMuAHGdqvbcPDtNLLVw== dependencies: "@parcel/plugin" "2.3.2" "@parcel/transformer-react-refresh-wrap@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-react-refresh-wrap/-/transformer-react-refresh-wrap-2.3.2.tgz#43ecfe6f4567b88abb81db9fe56b8d860d6a69f7" + resolved "https://registry.npmjs.org/@parcel/transformer-react-refresh-wrap/-/transformer-react-refresh-wrap-2.3.2.tgz" integrity sha512-FZaderyCExn0SBZ6D+zHPWc8JSn9YDcbfibv0wkCl+D7sYfeWZ22i7MRp5NwCe/TZ21WuxDWySCggEp/Waz2xg== dependencies: "@parcel/plugin" "2.3.2" @@ -517,7 +517,7 @@ "@parcel/transformer-svg@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/transformer-svg/-/transformer-svg-2.3.2.tgz#9a66aef5011c7bbb1fa3ce9bb52ca56d8f0f964d" + resolved "https://registry.npmjs.org/@parcel/transformer-svg/-/transformer-svg-2.3.2.tgz" integrity sha512-k9My6bePsaGgUh+tidDjFbbVgKPTzwCAQfoloZRMt7y396KgUbvCfqDruk04k6k+cJn7Jl1o/5lUpTEruBze7g== dependencies: "@parcel/diagnostic" "2.3.2" @@ -531,7 +531,7 @@ "@parcel/types@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/types/-/types-2.3.2.tgz#7eb6925bc852a518dd75b742419e51292418769f" + resolved "https://registry.npmjs.org/@parcel/types/-/types-2.3.2.tgz" integrity sha512-C77Ct1xNM7LWjPTfe/dQ/9rq1efdsX5VJu2o8/TVi6qoFh64Wp/c5/vCHwKInOTBZUTchVO6z4PGJNIZoUVJuA== dependencies: "@parcel/cache" "2.3.2" @@ -544,7 +544,7 @@ "@parcel/utils@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/utils/-/utils-2.3.2.tgz#4aab052fc9f3227811a504da7b9663ca75004f55" + resolved "https://registry.npmjs.org/@parcel/utils/-/utils-2.3.2.tgz" integrity sha512-xzZ+0vWhrXlLzGoz7WlANaO5IPtyWGeCZruGtepUL3yheRWb1UU4zFN9xz7Z+j++Dmf1Fgkc3qdk/t4O8u9HLQ== dependencies: "@parcel/codeframe" "2.3.2" @@ -557,7 +557,7 @@ "@parcel/watcher@^2.0.0": version "2.0.5" - resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.5.tgz#f913a54e1601b0aac972803829b0eece48de215b" + resolved "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.5.tgz" integrity sha512-x0hUbjv891omnkcHD7ZOhiyyUqUUR6MNjq89JhEI3BxppeKWAm6NPQsqqRrAkCJBogdT/o/My21sXtTI9rJIsw== dependencies: node-addon-api "^3.2.1" @@ -565,7 +565,7 @@ "@parcel/workers@2.3.2": version "2.3.2" - resolved "https://registry.yarnpkg.com/@parcel/workers/-/workers-2.3.2.tgz#05ffa2da9169bfb83335892c2b8abce55686ceb1" + resolved "https://registry.npmjs.org/@parcel/workers/-/workers-2.3.2.tgz" integrity sha512-JbOm+Ceuyymd1SuKGgodC2EXAiPuFRpaNUSJpz3NAsS3lVIt2TDAPMOWBivS7sML/KltspUfl/Q9YwO0TPUFNw== dependencies: "@parcel/diagnostic" "2.3.2" @@ -577,85 +577,85 @@ "@swc/helpers@^0.2.11": version "0.2.14" - resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.2.14.tgz#20288c3627442339dd3d743c944f7043ee3590f0" + resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.2.14.tgz" integrity sha512-wpCQMhf5p5GhNg2MmGKXzUNwxe7zRiCsmqYsamez2beP7mKPCSiu+BjZcdN95yYSzO857kr0VfQewmGpS77nqA== "@trysound/sax@0.2.0": version "0.2.0" - resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + resolved "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== "@types/node@^17.0.21": version "17.0.21" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.21.tgz#864b987c0c68d07b4345845c3e63b75edd143644" + resolved "https://registry.npmjs.org/@types/node/-/node-17.0.21.tgz" integrity sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ== "@types/parse-json@^4.0.0": version "4.0.0" - resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" + resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== "@types/yargs-parser@*": version "21.0.0" - resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz" integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== "@types/yargs@^17.0.9": version "17.0.9" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.9.tgz#f1f931a4e5ae2c0134dea10f501088636a50b46a" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.9.tgz" integrity sha512-Ci8+4/DOtkHRylcisKmVMtmVO5g7weUVCKcsu1sJvF1bn0wExTmbHmhFKj7AnEm0de800iovGhdSKzYnzbaHpg== dependencies: "@types/yargs-parser" "*" abortcontroller-polyfill@^1.1.9: version "1.7.3" - resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz#1b5b487bd6436b5b764fd52a612509702c3144b5" + resolved "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz" integrity sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q== acorn-walk@^8.2.0: version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" + resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== acorn@^8.5.0, acorn@^8.7.0: version "8.7.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" + resolved "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz" integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== ansi-regex@^5.0.1: version "5.0.1" - resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-styles@^3.2.1: version "3.2.1" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" - resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== dependencies: color-convert "^2.0.1" base-x@^3.0.8: version "3.0.9" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" + resolved "https://registry.npmjs.org/base-x/-/base-x-3.0.9.tgz" integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== dependencies: safe-buffer "^5.0.1" boolbase@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz" integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24= browserslist@^4.0.0, browserslist@^4.16.6, browserslist@^4.6.6: version "4.19.3" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.3.tgz#29b7caad327ecf2859485f696f9604214bedd383" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.19.3.tgz" integrity sha512-XK3X4xtKJ+Txj8G5c30B4gsm71s69lqXlkYui4s6EkKxuv49qjYlY6oVd+IFJ73d4YymtM3+djvvt/R/iJwwDg== dependencies: caniuse-lite "^1.0.30001312" @@ -666,17 +666,17 @@ browserslist@^4.0.0, browserslist@^4.16.6, browserslist@^4.6.6: buffer-from@^1.0.0: version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== callsites@^3.0.0: version "3.1.0" - resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== caniuse-api@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" + resolved "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz" integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== dependencies: browserslist "^4.0.0" @@ -686,12 +686,12 @@ caniuse-api@^3.0.0: caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001312: version "1.0.30001313" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001313.tgz#a380b079db91621e1b7120895874e2fd62ed2e2f" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001313.tgz" integrity sha512-rI1UN0koZUiKINjysQDuRi2VeSCce3bYJNmDcj3PIKREiAmjakugBul1QSkg/fPrlULYl6oWfGg3PbgOSY9X4Q== chalk@^2.0.0: version "2.4.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== dependencies: ansi-styles "^3.2.1" @@ -700,7 +700,7 @@ chalk@^2.0.0: chalk@^4.1.0: version "4.1.2" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== dependencies: ansi-styles "^4.1.0" @@ -708,12 +708,12 @@ chalk@^4.1.0: chrome-trace-event@^1.0.2: version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" + resolved "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz" integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== cliui@^7.0.2: version "7.0.4" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + resolved "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz" integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== dependencies: string-width "^4.2.0" @@ -722,51 +722,51 @@ cliui@^7.0.2: clone@^2.1.1: version "2.1.2" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" + resolved "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz" integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18= color-convert@^1.9.0: version "1.9.3" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== dependencies: color-name "1.1.3" color-convert@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== dependencies: color-name "~1.1.4" color-name@1.1.3: version "1.1.3" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= color-name@~1.1.4: version "1.1.4" - resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== colord@^2.9.1: version "2.9.2" - resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.2.tgz#25e2bacbbaa65991422c07ea209e2089428effb1" + resolved "https://registry.npmjs.org/colord/-/colord-2.9.2.tgz" integrity sha512-Uqbg+J445nc1TKn4FoDPS6ZZqAvEDnwrH42yo8B40JSOgSLxMZ/gt3h4nmCtPLQeXhjJJkqBx7SCY35WnIixaQ== commander@^2.20.0: version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== commander@^7.0.0, commander@^7.2.0: version "7.2.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" + resolved "https://registry.npmjs.org/commander/-/commander-7.2.0.tgz" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== cosmiconfig@^7.0.1: version "7.0.1" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.0.1.tgz#714d756522cace867867ccb4474c5d01bbae5d6d" + resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz" integrity sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ== dependencies: "@types/parse-json" "^4.0.0" @@ -777,14 +777,14 @@ cosmiconfig@^7.0.1: css-declaration-sorter@^6.0.3: version "6.1.4" - resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.1.4.tgz#b9bfb4ed9a41f8dcca9bf7184d849ea94a8294b4" + resolved "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-6.1.4.tgz" integrity sha512-lpfkqS0fctcmZotJGhnxkIyJWvBXgpyi2wsFd4J8VB7wzyrT6Ch/3Q+FMNJpjK4gu1+GN5khOnpU2ZVKrLbhCw== dependencies: timsort "^0.3.0" css-select@^4.1.3: version "4.2.1" - resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.2.1.tgz#9e665d6ae4c7f9d65dbe69d0316e3221fb274cdd" + resolved "https://registry.npmjs.org/css-select/-/css-select-4.2.1.tgz" integrity sha512-/aUslKhzkTNCQUB2qTX84lVmfia9NyjP3WpDGtj/WxhwBzWBYUV3DgUpurHTme8UTPcPlAD1DJ+b0nN/t50zDQ== dependencies: boolbase "^1.0.0" @@ -795,7 +795,7 @@ css-select@^4.1.3: css-tree@^1.1.2, css-tree@^1.1.3: version "1.1.3" - resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" + resolved "https://registry.npmjs.org/css-tree/-/css-tree-1.1.3.tgz" integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== dependencies: mdn-data "2.0.14" @@ -803,17 +803,17 @@ css-tree@^1.1.2, css-tree@^1.1.3: css-what@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe" + resolved "https://registry.npmjs.org/css-what/-/css-what-5.1.0.tgz" integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw== cssesc@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + resolved "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz" integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== cssnano-preset-default@^5.2.0: version "5.2.0" - resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-5.2.0.tgz#2579d38b9217746f2cf9f938954a91e00418ded6" + resolved "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.2.0.tgz" integrity sha512-3N5Vcptj2pqVKpHVqH6ezOJvqikR2PdLTbTrsrhF61FbLRQuujAqZ2sKN5rvcMsb7hFjrNnjZT8CGEkxoN/Pwg== dependencies: css-declaration-sorter "^6.0.3" @@ -848,12 +848,12 @@ cssnano-preset-default@^5.2.0: cssnano-utils@^3.1.0: version "3.1.0" - resolved "https://registry.yarnpkg.com/cssnano-utils/-/cssnano-utils-3.1.0.tgz#95684d08c91511edfc70d2636338ca37ef3a6861" + resolved "https://registry.npmjs.org/cssnano-utils/-/cssnano-utils-3.1.0.tgz" integrity sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA== cssnano@^5.0.15: version "5.1.0" - resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-5.1.0.tgz#cf977d660a5824d0d5542639ed1d4045afd84cbe" + resolved "https://registry.npmjs.org/cssnano/-/cssnano-5.1.0.tgz" integrity sha512-wWxave1wMlThGg4ueK98jFKaNqXnQd1nVZpSkQ9XvR+YymlzP1ofWqES1JkHtI250LksP9z5JH+oDcrKDJezAg== dependencies: cssnano-preset-default "^5.2.0" @@ -862,19 +862,19 @@ cssnano@^5.0.15: csso@^4.2.0: version "4.2.0" - resolved "https://registry.yarnpkg.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" + resolved "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz" integrity sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA== dependencies: css-tree "^1.1.2" detect-libc@^1.0.3: version "1.0.3" - resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" + resolved "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz" integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups= dom-serializer@^1.0.1: version "1.3.2" - resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.3.2.tgz#6206437d32ceefaec7161803230c7a20bc1b4d91" + resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-1.3.2.tgz" integrity sha512-5c54Bk5Dw4qAxNOI1pFEizPSjVsx5+bpJKmL2kPn8JhBUq2q09tTCa3mjijun2NfK78NMouDYNMBkOrPZiS+ig== dependencies: domelementtype "^2.0.1" @@ -883,19 +883,19 @@ dom-serializer@^1.0.1: domelementtype@^2.0.1, domelementtype@^2.2.0: version "2.2.0" - resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.2.0.tgz#9a0b6c2782ed6a1c7323d42267183df9bd8b1d57" + resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-2.2.0.tgz" integrity sha512-DtBMo82pv1dFtUmHyr48beiuq792Sxohr+8Hm9zoxklYPfa6n0Z3Byjj2IV7bmr2IyqClnqEQhfgHJJ5QF0R5A== domhandler@^4.2.0, domhandler@^4.2.2, domhandler@^4.3.0: version "4.3.0" - resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.0.tgz#16c658c626cf966967e306f966b431f77d4a5626" + resolved "https://registry.npmjs.org/domhandler/-/domhandler-4.3.0.tgz" integrity sha512-fC0aXNQXqKSFTr2wDNZDhsEYjCiYsDWl3D01kwt25hm1YIPyDGHvvi3rw+PLqHAl/m71MaiF7d5zvBr0p5UB2g== dependencies: domelementtype "^2.2.0" domutils@^2.8.0: version "2.8.0" - resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" + resolved "https://registry.npmjs.org/domutils/-/domutils-2.8.0.tgz" integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== dependencies: dom-serializer "^1.0.1" @@ -904,37 +904,37 @@ domutils@^2.8.0: dotenv-expand@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0" + resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz" integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== dotenv@^7.0.0: version "7.0.0" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-7.0.0.tgz#a2be3cd52736673206e8a85fb5210eea29628e7c" + resolved "https://registry.npmjs.org/dotenv/-/dotenv-7.0.0.tgz" integrity sha512-M3NhsLbV1i6HuGzBUH8vXrtxOk+tWmzWKDMbAVSUp3Zsjm7ywFeuwrUXhmhQyRK1q5B5GGy7hcXPbj3bnfZg2g== electron-to-chromium@^1.4.71: version "1.4.75" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.75.tgz#d1ad9bb46f2f1bf432118c2be21d27ffeae82fdd" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.75.tgz" integrity sha512-LxgUNeu3BVU7sXaKjUDD9xivocQLxFtq6wgERrutdY/yIOps3ODOZExK1jg8DTEg4U8TUCb5MLGeWFOYuxjF3Q== emoji-regex@^8.0.0: version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== entities@^2.0.0: version "2.2.0" - resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" + resolved "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== entities@^3.0.1: version "3.0.1" - resolved "https://registry.yarnpkg.com/entities/-/entities-3.0.1.tgz#2b887ca62585e96db3903482d336c1006c3001d4" + resolved "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz" integrity sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q== error-ex@^1.3.1: version "1.3.2" - resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== dependencies: is-arrayish "^0.2.1" @@ -956,7 +956,7 @@ esbuild-darwin-64@0.14.24: esbuild-darwin-arm64@0.14.24: version "0.14.24" - resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.24.tgz#6b8ce7f2a3e1210cc672c73d658669e5f88b8efb" + resolved "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.24.tgz" integrity sha512-reU7/vEdXsg+zZWxKL/gaHsJkGMCC49Y4pqbsaBmx0YAF00K0+V7w5BHBF+iY5jvtJ1ZCYRHTN/iAbYVOnoV0w== esbuild-freebsd-64@0.14.24: @@ -1041,7 +1041,7 @@ esbuild-windows-arm64@0.14.24: esbuild@^0.14.24: version "0.14.24" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.24.tgz#543899cf9ff0ebe206dc3de2ac18b9122d9f5697" + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.14.24.tgz" integrity sha512-NjfmycVQqY0+iKXoHXsvMAKx4XF/bD/dDm8pK6C/3aJO/i/uby+7AR4z8vu0qkiihkB5Y43+9BjdY2MGnswC/A== optionalDependencies: esbuild-android-64 "0.14.24" @@ -1067,44 +1067,44 @@ esbuild@^0.14.24: escalade@^3.1.1: version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== escape-string-regexp@^1.0.5: version "1.0.5" - resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= get-caller-file@^2.0.5: version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== get-port@^4.2.0: version "4.2.0" - resolved "https://registry.yarnpkg.com/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" + resolved "https://registry.npmjs.org/get-port/-/get-port-4.2.0.tgz" integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== globals@^13.2.0: version "13.12.1" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.12.1.tgz#ec206be932e6c77236677127577aa8e50bf1c5cb" + resolved "https://registry.npmjs.org/globals/-/globals-13.12.1.tgz" integrity sha512-317dFlgY2pdJZ9rspXDks7073GpDmXdfbM3vYYp0HAMKGDh1FfWPleI2ljVNLQX5M5lXcAslTcPTrOrMEFOjyw== dependencies: type-fest "^0.20.2" has-flag@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= has-flag@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== htmlnano@^2.0.0: version "2.0.0" - resolved "https://registry.yarnpkg.com/htmlnano/-/htmlnano-2.0.0.tgz#07376faa064f7e1e832dfd91e1a9f606b0bc9b78" + resolved "https://registry.npmjs.org/htmlnano/-/htmlnano-2.0.0.tgz" integrity sha512-thKQfhcp2xgtsWNE27A2bliEeqVL5xjAgGn0wajyttvFFsvFWWah1ntV9aEX61gz0T6MBQ5xK/1lXuEumhJTcg== dependencies: cosmiconfig "^7.0.1" @@ -1113,7 +1113,7 @@ htmlnano@^2.0.0: htmlparser2@^7.1.1: version "7.2.0" - resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-7.2.0.tgz#8817cdea38bbc324392a90b1990908e81a65f5a5" + resolved "https://registry.npmjs.org/htmlparser2/-/htmlparser2-7.2.0.tgz" integrity sha512-H7MImA4MS6cw7nbyURtLPO1Tms7C5H602LRETv95z1MxO/7CP7rDVROehUYeYBUYEON94NXXDEPmZuq+hX4sog== dependencies: domelementtype "^2.0.1" @@ -1121,9 +1121,14 @@ htmlparser2@^7.1.1: domutils "^2.8.0" entities "^3.0.1" +idb@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/idb/-/idb-7.0.0.tgz#f349b418c128f625961147a7d6b0e4b526fd34ed" + integrity sha512-jSx0WOY9Nj+QzP6wX5e7g64jqh8ExtDs/IAuOrOEZCD/h6+0HqyrKsDMfdJc0hqhSvh0LsrwqrkDn+EtjjzSRA== + import-fresh@^3.2.1: version "3.3.0" - resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== dependencies: parent-module "^1.0.0" @@ -1131,54 +1136,54 @@ import-fresh@^3.2.1: is-arrayish@^0.2.1: version "0.2.1" - resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= is-fullwidth-code-point@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-json@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/is-json/-/is-json-2.0.1.tgz#6be166d144828a131d686891b983df62c39491ff" + resolved "https://registry.npmjs.org/is-json/-/is-json-2.0.1.tgz" integrity sha1-a+Fm0USCihMdaGiRuYPfYsOUkf8= js-tokens@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== json-parse-even-better-errors@^2.3.0: version "2.3.1" - resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== json-source-map@^0.6.1: version "0.6.1" - resolved "https://registry.yarnpkg.com/json-source-map/-/json-source-map-0.6.1.tgz#e0b1f6f4ce13a9ad57e2ae165a24d06e62c79a0f" + resolved "https://registry.npmjs.org/json-source-map/-/json-source-map-0.6.1.tgz" integrity sha512-1QoztHPsMQqhDq0hlXY5ZqcEdUzxQEIxgFkKl4WUp2pgShObl+9ovi4kRh2TfvAfxAoHOJ9vIMEqk3k4iex7tg== json5@^2.2.0: version "2.2.0" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz" integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== dependencies: minimist "^1.2.5" lilconfig@^2.0.3: version "2.0.4" - resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.4.tgz#f4507d043d7058b380b6a8f5cb7bcd4b34cee082" + resolved "https://registry.npmjs.org/lilconfig/-/lilconfig-2.0.4.tgz" integrity sha512-bfTIN7lEsiooCocSISTWXkiWJkRqtL9wYtYy+8EK3Y41qh3mpwPU0ycTOgjdY9ErwXCc8QyrQp82bdL0Xkm9yA== lines-and-columns@^1.1.6: version "1.2.4" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== lmdb@^2.0.2: version "2.2.4" - resolved "https://registry.yarnpkg.com/lmdb/-/lmdb-2.2.4.tgz#6494d5a1d1db152e0be759edcfa06893e4cbdb53" + resolved "https://registry.npmjs.org/lmdb/-/lmdb-2.2.4.tgz" integrity sha512-gto+BB2uEob8qRiTlOq+R3uX0YNHsX9mjxj9Sbdue/LIKqu6IlZjrsjKeGyOMquc/474GEqFyX2pdytpydp0rQ== dependencies: msgpackr "^1.5.4" @@ -1189,27 +1194,27 @@ lmdb@^2.0.2: lodash.memoize@^4.1.2: version "4.1.2" - resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" + resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= lodash.uniq@^4.5.0: version "4.5.0" - resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" + resolved "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz" integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M= mdn-data@2.0.14: version "2.0.14" - resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" + resolved "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz" integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== minimist@^1.2.5: version "1.2.5" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz" integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== msgpackr-extract@^1.0.14: version "1.0.16" - resolved "https://registry.yarnpkg.com/msgpackr-extract/-/msgpackr-extract-1.0.16.tgz#701c4f6e6f25c100ae84557092274e8fffeefe45" + resolved "https://registry.npmjs.org/msgpackr-extract/-/msgpackr-extract-1.0.16.tgz" integrity sha512-fxdRfQUxPrL/TizyfYfMn09dK58e+d65bRD/fcaVH4052vj30QOzzqxcQIS7B0NsqlypEQ/6Du3QmP2DhWFfCA== dependencies: nan "^2.14.2" @@ -1217,61 +1222,61 @@ msgpackr-extract@^1.0.14: msgpackr@^1.5.1, msgpackr@^1.5.4: version "1.5.4" - resolved "https://registry.yarnpkg.com/msgpackr/-/msgpackr-1.5.4.tgz#2b6ea6cb7d79c0ad98fc76c68163c48eda50cf0d" + resolved "https://registry.npmjs.org/msgpackr/-/msgpackr-1.5.4.tgz" integrity sha512-Z7w5Jg+2Q9z9gJxeM68d7tSuWZZGnFIRhZnyqcZCa/1dKkhOCNvR1TUV3zzJ3+vj78vlwKRzUgVDlW4jiSOeDA== optionalDependencies: msgpackr-extract "^1.0.14" nan@^2.14.2: version "2.15.0" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.15.0.tgz#3f34a473ff18e15c1b5626b62903b5ad6e665fee" + resolved "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz" integrity sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ== nanoid@^3.3.1: version "3.3.1" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.1.tgz#6347a18cac88af88f58af0b3594b723d5e99bb35" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz" integrity sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw== node-addon-api@^3.2.1: version "3.2.1" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" + resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz" integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== node-gyp-build@^4.2.3, node-gyp-build@^4.3.0: version "4.3.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3" + resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz" integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q== node-releases@^2.0.2: version "2.0.2" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.2.tgz#7139fe71e2f4f11b47d4d2986aaf8c48699e0c01" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz" integrity sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg== normalize-url@^6.0.1: version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz" integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== nth-check@^2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.0.1.tgz#2efe162f5c3da06a28959fbd3db75dbeea9f0fc2" + resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz" integrity sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w== dependencies: boolbase "^1.0.0" nullthrows@^1.1.1: version "1.1.1" - resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1" + resolved "https://registry.npmjs.org/nullthrows/-/nullthrows-1.1.1.tgz" integrity sha512-2vPPEi+Z7WqML2jZYddDIfy5Dqb0r2fze2zTxNNknZaFpVHU3mFB3R+DWeJWGVx0ecvttSGlJTI+WG+8Z4cDWw== ordered-binary@^1.2.4: version "1.2.4" - resolved "https://registry.yarnpkg.com/ordered-binary/-/ordered-binary-1.2.4.tgz#51d3a03af078a0bdba6c7bc8f4fedd1f5d45d83e" + resolved "https://registry.npmjs.org/ordered-binary/-/ordered-binary-1.2.4.tgz" integrity sha512-A/csN0d3n+igxBPfUrjbV5GC69LWj2pjZzAAeeHXLukQ4+fytfP4T1Lg0ju7MSPSwq7KtHkGaiwO8URZN5IpLg== parcel@^2.3.2: version "2.3.2" - resolved "https://registry.yarnpkg.com/parcel/-/parcel-2.3.2.tgz#d1cb475f27edae981edea7a7104e04d3a35a87ca" + resolved "https://registry.npmjs.org/parcel/-/parcel-2.3.2.tgz" integrity sha512-4jhgoBcQaiGKmnmBvNyKyOvZrxCgzgUzdEoVup/fRCOP99hNmvYIN5IErIIJxsU9ObcG/RGCFF8wa4kVRsWfIg== dependencies: "@parcel/config-default" "2.3.2" @@ -1291,14 +1296,14 @@ parcel@^2.3.2: parent-module@^1.0.0: version "1.0.1" - resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" parse-json@^5.0.0: version "5.2.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== dependencies: "@babel/code-frame" "^7.0.0" @@ -1308,17 +1313,17 @@ parse-json@^5.0.0: path-type@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== picocolors@^1.0.0: version "1.0.0" - resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== postcss-calc@^8.2.3: version "8.2.4" - resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" + resolved "https://registry.npmjs.org/postcss-calc/-/postcss-calc-8.2.4.tgz" integrity sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q== dependencies: postcss-selector-parser "^6.0.9" @@ -1326,7 +1331,7 @@ postcss-calc@^8.2.3: postcss-colormin@^5.3.0: version "5.3.0" - resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-5.3.0.tgz#3cee9e5ca62b2c27e84fce63affc0cfb5901956a" + resolved "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-5.3.0.tgz" integrity sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg== dependencies: browserslist "^4.16.6" @@ -1336,34 +1341,34 @@ postcss-colormin@^5.3.0: postcss-convert-values@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz#f8d3abe40b4ce4b1470702a0706343eac17e7c10" + resolved "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz" integrity sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g== dependencies: postcss-value-parser "^4.2.0" postcss-discard-comments@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-5.1.0.tgz#87be4e0953bf599935837b940c701f8d4eca7d0b" + resolved "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.0.tgz" integrity sha512-L0IKF4jAshRyn03SkEO6ar/Ipz2oLywVbg2THf2EqqdNkBwmVMxuTR/RoAltOw4piiaLt3gCAdrbAqmTBInmhg== postcss-discard-duplicates@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz#9eb4fe8456706a4eebd6d3b7b777d07bad03e848" + resolved "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz" integrity sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw== postcss-discard-empty@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-5.1.0.tgz#7f51b16cd1b89f8180bbc7cee34d6cbabf2ef810" + resolved "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-5.1.0.tgz" integrity sha512-782T/buGgb3HOuHOJAHpdyKzAAKsv/BxWqsutnZ+QsiHEcDkY7v+6WWdturuBiSal6XMOO1p1aJvwXdqLD5vhA== postcss-discard-overridden@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz#7e8c5b53325747e9d90131bb88635282fb4a276e" + resolved "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz" integrity sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw== postcss-merge-longhand@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.0.tgz#f716bffbf0bdfbde6ea78c36088e21559f8a0a95" + resolved "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.0.tgz" integrity sha512-Gr46srN2tsLD8fudKYoHO56RG0BLQ2nsBRnSZGY04eNBPwTeWa9KeHrbL3tOLAHyB2aliikycPH2TMJG1U+W6g== dependencies: postcss-value-parser "^4.2.0" @@ -1371,7 +1376,7 @@ postcss-merge-longhand@^5.1.0: postcss-merge-rules@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-5.1.0.tgz#a2d5117eba09c8686a5471d97bd9afcf30d1b41f" + resolved "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.0.tgz" integrity sha512-NecukEJovQ0mG7h7xV8wbYAkXGTO3MPKnXvuiXzOKcxoOodfTTKYjeo8TMhAswlSkjcPIBlnKbSFcTuVSDaPyQ== dependencies: browserslist "^4.16.6" @@ -1381,14 +1386,14 @@ postcss-merge-rules@^5.1.0: postcss-minify-font-values@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz#f1df0014a726083d260d3bd85d7385fb89d1f01b" + resolved "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz" integrity sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA== dependencies: postcss-value-parser "^4.2.0" postcss-minify-gradients@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-5.1.0.tgz#de0260a67a13b7b321a8adc3150725f2c6612377" + resolved "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-5.1.0.tgz" integrity sha512-J/TMLklkONn3LuL8wCwfwU8zKC1hpS6VcxFkNUNjmVt53uKqrrykR3ov11mdUYyqVMEx67slMce0tE14cE4DTg== dependencies: colord "^2.9.1" @@ -1397,7 +1402,7 @@ postcss-minify-gradients@^5.1.0: postcss-minify-params@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-5.1.0.tgz#e0b1f4e05cfd396682f612856485907e4064f25e" + resolved "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.0.tgz" integrity sha512-q67dcts4Hct6x8+JmhBgctHkbvUsqGIg2IItenjE63iZXMbhjr7AlVZkNnKtIGt/1Wsv7p/7YzeSII6Q+KPXRg== dependencies: browserslist "^4.16.6" @@ -1406,54 +1411,54 @@ postcss-minify-params@^5.1.0: postcss-minify-selectors@^5.2.0: version "5.2.0" - resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-5.2.0.tgz#17c2be233e12b28ffa8a421a02fc8b839825536c" + resolved "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.0.tgz" integrity sha512-vYxvHkW+iULstA+ctVNx0VoRAR4THQQRkG77o0oa4/mBS0OzGvvzLIvHDv/nNEM0crzN2WIyFU5X7wZhaUK3RA== dependencies: postcss-selector-parser "^6.0.5" postcss-normalize-charset@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz#9302de0b29094b52c259e9b2cf8dc0879879f0ed" + resolved "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz" integrity sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg== postcss-normalize-display-values@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz#72abbae58081960e9edd7200fcf21ab8325c3da8" + resolved "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz" integrity sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA== dependencies: postcss-value-parser "^4.2.0" postcss-normalize-positions@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-5.1.0.tgz#902a7cb97cf0b9e8b1b654d4a43d451e48966458" + resolved "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-5.1.0.tgz" integrity sha512-8gmItgA4H5xiUxgN/3TVvXRoJxkAWLW6f/KKhdsH03atg0cB8ilXnrB5PpSshwVu/dD2ZsRFQcR1OEmSBDAgcQ== dependencies: postcss-value-parser "^4.2.0" postcss-normalize-repeat-style@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.0.tgz#f6d6fd5a54f51a741cc84a37f7459e60ef7a6398" + resolved "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.0.tgz" integrity sha512-IR3uBjc+7mcWGL6CtniKNQ4Rr5fTxwkaDHwMBDGGs1x9IVRkYIT/M4NelZWkAOBdV6v3Z9S46zqaKGlyzHSchw== dependencies: postcss-value-parser "^4.2.0" postcss-normalize-string@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz#411961169e07308c82c1f8c55f3e8a337757e228" + resolved "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz" integrity sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w== dependencies: postcss-value-parser "^4.2.0" postcss-normalize-timing-functions@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz#d5614410f8f0b2388e9f240aa6011ba6f52dafbb" + resolved "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz" integrity sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg== dependencies: postcss-value-parser "^4.2.0" postcss-normalize-unicode@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.0.tgz#3d23aede35e160089a285e27bf715de11dc9db75" + resolved "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.0.tgz" integrity sha512-J6M3MizAAZ2dOdSjy2caayJLQT8E8K9XjLce8AUQMwOrCvjCHv24aLC/Lps1R1ylOfol5VIDMaM/Lo9NGlk1SQ== dependencies: browserslist "^4.16.6" @@ -1461,7 +1466,7 @@ postcss-normalize-unicode@^5.1.0: postcss-normalize-url@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz#ed9d88ca82e21abef99f743457d3729a042adcdc" + resolved "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz" integrity sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew== dependencies: normalize-url "^6.0.1" @@ -1469,14 +1474,14 @@ postcss-normalize-url@^5.1.0: postcss-normalize-whitespace@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.0.tgz#aed8b4580c9ad6e8eac034177291187ea16a059c" + resolved "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.0.tgz" integrity sha512-7O1FanKaJkpWFyCghFzIkLhehujV/frGkdofGLwhg5upbLyGsSfiTcZAdSzoPsSUgyPCkBkNMeWR8yVgPdQybg== dependencies: postcss-value-parser "^4.2.0" postcss-ordered-values@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-5.1.0.tgz#04ef429e0991b0292bc918b135cd4c038f7b889f" + resolved "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-5.1.0.tgz" integrity sha512-wU4Z4D4uOIH+BUKkYid36gGDJNQtkVJT7Twv8qH6UyfttbbJWyw4/xIPuVEkkCtQLAJ0EdsNSh8dlvqkXb49TA== dependencies: cssnano-utils "^3.1.0" @@ -1484,7 +1489,7 @@ postcss-ordered-values@^5.1.0: postcss-reduce-initial@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-5.1.0.tgz#fc31659ea6e85c492fb2a7b545370c215822c5d6" + resolved "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-5.1.0.tgz" integrity sha512-5OgTUviz0aeH6MtBjHfbr57tml13PuedK/Ecg8szzd4XRMbYxH4572JFG067z+FqBIf6Zp/d+0581glkvvWMFw== dependencies: browserslist "^4.16.6" @@ -1492,14 +1497,14 @@ postcss-reduce-initial@^5.1.0: postcss-reduce-transforms@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz#333b70e7758b802f3dd0ddfe98bb1ccfef96b6e9" + resolved "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz" integrity sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ== dependencies: postcss-value-parser "^4.2.0" postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: version "6.0.9" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.9.tgz#ee71c3b9ff63d9cd130838876c13a2ec1a992b2f" + resolved "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.9.tgz" integrity sha512-UO3SgnZOVTwu4kyLR22UQ1xZh086RyNZppb7lLAKBFK8a32ttG5i87Y/P3+2bRSjZNyJ1B7hfFNo273tKe9YxQ== dependencies: cssesc "^3.0.0" @@ -1507,7 +1512,7 @@ postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector postcss-svgo@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d" + resolved "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-5.1.0.tgz" integrity sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA== dependencies: postcss-value-parser "^4.2.0" @@ -1515,19 +1520,19 @@ postcss-svgo@^5.1.0: postcss-unique-selectors@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-5.1.0.tgz#70a945da1b0599d00f617222a44ba1d82a676694" + resolved "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-5.1.0.tgz" integrity sha512-LmUhgGobtpeVJJHuogzjLRwJlN7VH+BL5c9GKMVJSS/ejoyePZkXvNsYUtk//F6vKOGK86gfRS0xH7fXQSDtvA== dependencies: postcss-selector-parser "^6.0.5" postcss-value-parser@^4.2.0: version "4.2.0" - resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== postcss@^8.4.5: version "8.4.7" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.7.tgz#f99862069ec4541de386bf57f5660a6c7a0875a8" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.7.tgz" integrity sha512-L9Ye3r6hkkCeOETQX6iOaWZgjp3LL6Lpqm6EtgbKrgqGGteRMNb9vzBfRL96YOSu8o7x3MfIH9Mo5cPJFGrW6A== dependencies: nanoid "^3.3.1" @@ -1536,28 +1541,28 @@ postcss@^8.4.5: posthtml-parser@^0.10.1: version "0.10.2" - resolved "https://registry.yarnpkg.com/posthtml-parser/-/posthtml-parser-0.10.2.tgz#df364d7b179f2a6bf0466b56be7b98fd4e97c573" + resolved "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.10.2.tgz" integrity sha512-PId6zZ/2lyJi9LiKfe+i2xv57oEjJgWbsHGGANwos5AvdQp98i6AtamAl8gzSVFGfQ43Glb5D614cvZf012VKg== dependencies: htmlparser2 "^7.1.1" posthtml-parser@^0.11.0: version "0.11.0" - resolved "https://registry.yarnpkg.com/posthtml-parser/-/posthtml-parser-0.11.0.tgz#25d1c7bf811ea83559bc4c21c189a29747a24b7a" + resolved "https://registry.npmjs.org/posthtml-parser/-/posthtml-parser-0.11.0.tgz" integrity sha512-QecJtfLekJbWVo/dMAA+OSwY79wpRmbqS5TeXvXSX+f0c6pW4/SE6inzZ2qkU7oAMCPqIDkZDvd/bQsSFUnKyw== dependencies: htmlparser2 "^7.1.1" posthtml-render@^3.0.0: version "3.0.0" - resolved "https://registry.yarnpkg.com/posthtml-render/-/posthtml-render-3.0.0.tgz#97be44931496f495b4f07b99e903cc70ad6a3205" + resolved "https://registry.npmjs.org/posthtml-render/-/posthtml-render-3.0.0.tgz" integrity sha512-z+16RoxK3fUPgwaIgH9NGnK1HKY9XIDpydky5eQGgAFVXTCSezalv9U2jQuNV+Z9qV1fDWNzldcw4eK0SSbqKA== dependencies: is-json "^2.0.1" posthtml@^0.16.4, posthtml@^0.16.5: version "0.16.6" - resolved "https://registry.yarnpkg.com/posthtml/-/posthtml-0.16.6.tgz#e2fc407f67a64d2fa3567afe770409ffdadafe59" + resolved "https://registry.npmjs.org/posthtml/-/posthtml-0.16.6.tgz" integrity sha512-JcEmHlyLK/o0uGAlj65vgg+7LIms0xKXe60lcDOTU7oVX/3LuEuLwrQpW3VJ7de5TaFKiW4kWkaIpJL42FEgxQ== dependencies: posthtml-parser "^0.11.0" @@ -1565,42 +1570,42 @@ posthtml@^0.16.4, posthtml@^0.16.5: react-refresh@^0.9.0: version "0.9.0" - resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.9.0.tgz#71863337adc3e5c2f8a6bfddd12ae3bfe32aafbf" + resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.9.0.tgz" integrity sha512-Gvzk7OZpiqKSkxsQvO/mbTN1poglhmAV7gR/DdIrRrSMXraRQQlfikRJOr3Nb9GTMPC5kof948Zy6jJZIFtDvQ== regenerator-runtime@^0.13.7: version "0.13.9" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" + resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz" integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== require-directory@^2.1.1: version "2.1.1" - resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + resolved "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= resolve-from@^4.0.0: version "4.0.0" - resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== safe-buffer@^5.0.1: version "5.2.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== semver@^5.7.0, semver@^5.7.1: version "5.7.1" - resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + resolved "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== source-map-js@^1.0.2: version "1.0.2" - resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz" integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== source-map-support@~0.5.20: version "0.5.21" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== dependencies: buffer-from "^1.0.0" @@ -1608,22 +1613,22 @@ source-map-support@~0.5.20: source-map@^0.6.0, source-map@^0.6.1: version "0.6.1" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== source-map@~0.7.2: version "0.7.3" - resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz" integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== stable@^0.1.8: version "0.1.8" - resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" + resolved "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: emoji-regex "^8.0.0" @@ -1632,14 +1637,14 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" stylehacks@^5.1.0: version "5.1.0" - resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.1.0.tgz#a40066490ca0caca04e96c6b02153ddc39913520" + resolved "https://registry.npmjs.org/stylehacks/-/stylehacks-5.1.0.tgz" integrity sha512-SzLmvHQTrIWfSgljkQCw2++C9+Ne91d/6Sp92I8c5uHTcy/PgeHamwITIbBW9wnFTY/3ZfSXR9HIL6Ikqmcu6Q== dependencies: browserslist "^4.16.6" @@ -1647,21 +1652,21 @@ stylehacks@^5.1.0: supports-color@^5.3.0: version "5.5.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== dependencies: has-flag "^3.0.0" supports-color@^7.1.0: version "7.2.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" svgo@^2.4.0, svgo@^2.7.0: version "2.8.0" - resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" + resolved "https://registry.npmjs.org/svgo/-/svgo-2.8.0.tgz" integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg== dependencies: "@trysound/sax" "0.2.0" @@ -1674,7 +1679,7 @@ svgo@^2.4.0, svgo@^2.7.0: terser@^5.2.0: version "5.12.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.12.0.tgz#728c6bff05f7d1dcb687d8eace0644802a9dae8a" + resolved "https://registry.npmjs.org/terser/-/terser-5.12.0.tgz" integrity sha512-R3AUhNBGWiFc77HXag+1fXpAxTAFRQTJemlJKjAgD9r8xXTpjNKqIXwHM/o7Rh+O0kUJtS3WQVdBeMKFk5sw9A== dependencies: acorn "^8.5.0" @@ -1684,37 +1689,37 @@ terser@^5.2.0: timsort@^0.3.0: version "0.3.0" - resolved "https://registry.yarnpkg.com/timsort/-/timsort-0.3.0.tgz#405411a8e7e6339fe64db9a234de11dc31e02bd4" + resolved "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz" integrity sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q= type-fest@^0.20.2: version "0.20.2" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== typescript@>=3.0.0: version "4.6.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.2.tgz#fe12d2727b708f4eef40f51598b3398baa9611d4" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.6.2.tgz" integrity sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg== util-deprecate@^1.0.2: version "1.0.2" - resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= utility-types@^3.10.0: version "3.10.0" - resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + resolved "https://registry.npmjs.org/utility-types/-/utility-types-3.10.0.tgz" integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== v8-compile-cache@^2.0.0: version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" + resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== vm2@^3.9.9: version "3.9.9" - resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.9.tgz#c0507bc5fbb99388fad837d228badaaeb499ddc5" + resolved "https://registry.npmjs.org/vm2/-/vm2-3.9.9.tgz" integrity sha512-xwTm7NLh/uOjARRBs8/95H0e8fT3Ukw5D/JJWhxMbhKzNh1Nu981jQKvkep9iKYNxzlVrdzD0mlBGkDKZWprlw== dependencies: acorn "^8.7.0" @@ -1722,12 +1727,12 @@ vm2@^3.9.9: weak-lru-cache@^1.2.2: version "1.2.2" - resolved "https://registry.yarnpkg.com/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz#fdbb6741f36bae9540d12f480ce8254060dccd19" + resolved "https://registry.npmjs.org/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz" integrity sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw== wrap-ansi@^7.0.0: version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== dependencies: ansi-styles "^4.0.0" @@ -1736,27 +1741,27 @@ wrap-ansi@^7.0.0: xxhash-wasm@^0.4.2: version "0.4.2" - resolved "https://registry.yarnpkg.com/xxhash-wasm/-/xxhash-wasm-0.4.2.tgz#752398c131a4dd407b5132ba62ad372029be6f79" + resolved "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-0.4.2.tgz" integrity sha512-/eyHVRJQCirEkSZ1agRSCwriMhwlyUcFkXD5TPVSLP+IPzjsqMVzZwdoczLp1SoQU0R3dxz1RpIK+4YNQbCVOA== y18n@^5.0.5: version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + resolved "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== yargs-parser@^21.0.0: version "21.0.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.0.1.tgz" integrity sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg== yargs@^17.3.1: version "17.3.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.3.1.tgz#da56b28f32e2fd45aefb402ed9c26f42be4c07b9" + resolved "https://registry.npmjs.org/yargs/-/yargs-17.3.1.tgz" integrity sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA== dependencies: cliui "^7.0.2" diff --git a/plugs/Makefile b/plugs/Makefile new file mode 100644 index 00000000..b47c979a --- /dev/null +++ b/plugs/Makefile @@ -0,0 +1,7 @@ +BUILD=node ../plugbox/dist/bundle.js + +core: * + ${BUILD} --debug core/core.plug.json ../webapp/src/generated/core.plug.json + +watch: * + ls -d core/* | entr make \ No newline at end of file diff --git a/plugbox/core/core.plugin.json b/plugs/core/core.plug.json similarity index 100% rename from plugbox/core/core.plugin.json rename to plugs/core/core.plug.json diff --git a/plugbox/core/dates.ts b/plugs/core/dates.ts similarity index 77% rename from plugbox/core/dates.ts rename to plugs/core/dates.ts index 3ea50568..74e173ac 100644 --- a/plugbox/core/dates.ts +++ b/plugs/core/dates.ts @@ -1,4 +1,4 @@ -import { syscall } from "./lib/syscall.ts"; +import { syscall } from "./lib/syscall"; export async function insertToday() { let niceDate = new Date().toISOString().split("T")[0]; diff --git a/plugbox/core/lib/syscall.ts b/plugs/core/lib/syscall.ts similarity index 100% rename from plugbox/core/lib/syscall.ts rename to plugs/core/lib/syscall.ts diff --git a/plugbox/core/markup.ts b/plugs/core/markup.ts similarity index 94% rename from plugbox/core/markup.ts rename to plugs/core/markup.ts index e5afaa86..a371553b 100644 --- a/plugbox/core/markup.ts +++ b/plugs/core/markup.ts @@ -1,4 +1,4 @@ -import { syscall } from "./lib/syscall.ts"; +import { syscall } from "./lib/syscall"; export async function toggleH1() { await togglePrefix("# "); diff --git a/plugbox/core/navigate.ts b/plugs/core/navigate.ts similarity index 92% rename from plugbox/core/navigate.ts rename to plugs/core/navigate.ts index fc703462..9619e4bc 100644 --- a/plugbox/core/navigate.ts +++ b/plugs/core/navigate.ts @@ -1,5 +1,5 @@ -import { ClickEvent } from "../../webapp/src/app_event.ts"; -import { syscall } from "./lib/syscall.ts"; +import { ClickEvent } from "../../webapp/src/app_event"; +import { syscall } from "./lib/syscall"; async function navigate(syntaxNode: any) { if (!syntaxNode) { diff --git a/plugbox/core/page.ts b/plugs/core/page.ts similarity index 100% rename from plugbox/core/page.ts rename to plugs/core/page.ts diff --git a/plugbox/core/task.ts b/plugs/core/task.ts similarity index 87% rename from plugbox/core/task.ts rename to plugs/core/task.ts index d5d618fe..33ecd0c2 100644 --- a/plugbox/core/task.ts +++ b/plugs/core/task.ts @@ -1,5 +1,5 @@ -import { ClickEvent } from "../../webapp/src/app_event.ts"; -import { syscall } from "./lib/syscall.ts"; +import { ClickEvent } from "../../webapp/src/app_event"; +import { syscall } from "./lib/syscall"; export async function taskToggle(event: ClickEvent) { let syntaxNode = await syscall("editor.getSyntaxNodeAtPos", event.pos); diff --git a/plugbox/core/welcome.ts b/plugs/core/welcome.ts similarity index 100% rename from plugbox/core/welcome.ts rename to plugs/core/welcome.ts diff --git a/plugbox/core/word_count_command.ts b/plugs/core/word_count_command.ts similarity index 93% rename from plugbox/core/word_count_command.ts rename to plugs/core/word_count_command.ts index 301bfeaa..e7720c6a 100644 --- a/plugbox/core/word_count_command.ts +++ b/plugs/core/word_count_command.ts @@ -1,3 +1,5 @@ +import { syscall } from "./lib/syscall"; + function countWords(str: string): number { var matches = str.match(/[\w\d\'\'-]+/gi); return matches ? matches.length : 0; @@ -8,8 +10,6 @@ function readingTime(wordCount: number): number { return Math.ceil(wordCount / 225); } -import { syscall } from "./lib/syscall.ts"; - export async function wordCount({ text }: { text: string }) { let sysCallText = (await syscall("editor.getText")) as string; const count = countWords(sysCallText); diff --git a/webapp/package.json b/webapp/package.json index f14eeff7..63714b52 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -19,9 +19,20 @@ "@parcel/validator-typescript": "^2.3.2", "@types/react": "^17.0.39", "@types/react-dom": "^17.0.11", + "assert": "^2.0.0", + "buffer": "^6.0.3", + "crypto-browserify": "^3.12.0", + "events": "^3.3.0", + "os-browserify": "^0.3.0", "parcel": "^2.3.2", + "path-browserify": "^1.0.1", + "querystring-es3": "^0.2.1", + "stream-browserify": "^3.0.0", + "tty-browserify": "^0.0.1", "typescript": ">=3.0.0", - "uglify-js": "^3.15.1" + "uglify-js": "^3.15.1", + "url": "^0.11.0", + "util": "^0.12.4" }, "resolutions": { "@lezer/common": "git://github.com/zefhemel/common.git#046c880d1fcab713cadad327a5b7d8bb5de6522c" diff --git a/webapp/src/editor.tsx b/webapp/src/editor.tsx index 2791cbc7..16f60e84 100644 --- a/webapp/src/editor.tsx +++ b/webapp/src/editor.tsx @@ -22,7 +22,7 @@ import { import React, { useEffect, useReducer } from "react"; import ReactDOM from "react-dom"; -import coreManifest from "./generated/core.plugin.json"; +import coreManifest from "./generated/core.plug.json"; // @ts-ignore window.coreManifest = coreManifest; import { AppEvent, AppEventDispatcher, ClickEvent } from "./app_event"; @@ -36,9 +36,10 @@ import { lineWrapper } from "./lineWrapper"; import { markdown } from "./markdown"; import { IPageNavigator, PathPageNavigator } from "./navigator"; import customMarkDown from "./parser"; -import { BrowserSystem } from "./plugins/browser_system"; -import { Plugin } from "./plugins/runtime"; -import { slashCommandRegexp } from "./plugins/types"; +import { BrowserSystem } from "./plugbox_browser/browser_system"; +import { Plugin } from "../../plugbox/src/runtime"; +import { slashCommandRegexp } from "../../plugbox/src/types"; + import reducer from "./reducer"; import { smartQuoteKeymap } from "./smart_quotes"; import { Space } from "./space"; diff --git a/webapp/src/generated/core.plugin.json b/webapp/src/generated/core.plugin.json deleted file mode 100644 index 48fd3b25..00000000 --- a/webapp/src/generated/core.plugin.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "commands": { - "Navigate To page": { - "invoke": "linkNavigate", - "key": "Ctrl-Enter", - "mac": "Cmd-Enter" - }, - "Insert Current Date": { - "invoke": "insertToday", - "slashCommand": "/today" - }, - "Toggle : Heading 1": { - "invoke": "toggle_h1", - "mac": "Cmd-1", - "key": "Ctrl-1" - }, - "Toggle : Heading 2": { - "invoke": "toggle_h2", - "mac": "Cmd-2", - "key": "Ctrl-2" - }, - "Page: Delete": { - "invoke": "deletePage" - }, - "Page: Rename": { - "invoke": "renamePage" - }, - "Pages: Reindex": { - "invoke": "reindexPages" - }, - "Pages: Back Links": { - "invoke": "showBackLinks" - } - }, - "events": { - "page:click": [ - "taskToggle", - "clickNavigate" - ], - "editor:complete": [ - "pageComplete" - ], - "page:index": [ - "indexLinks" - ] - }, - "functions": { - "indexLinks": { - "path": "core/page.ts", - "code": "(()=>{var r=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=a=>r(a,\"__esModule\",{value:!0});var x=(a,e)=>{for(var t in e)r(a,t,{get:e[t],enumerable:!0})},u=(a,e,t,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of k(e))!f.call(a,i)&&(t||i!==\"default\")&&r(a,i,{get:()=>e[i],enumerable:!(o=w(e,i))||o.enumerable});return a};var P=(a=>(e,t)=>a&&a.get(e)||(t=u(m({}),e,1),a&&a.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var R={};x(R,{deletePage:()=>h,indexLinks:()=>L,reindex:()=>B,renamePage:()=>v,showBackLinks:()=>b});var p=/\\[\\[([\\w\\s\\/\\:,\\.\\-]+)\\]\\]/;function n(a,...e){let t=Math.floor(Math.random()*1e6);return new Promise((o,i)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:a,args:e,callback:o}}))})}var y=new RegExp(p,\"g\");async function L({name:a,text:e}){let t=[];for(let o of e.matchAll(y)){let i=o[1],l=o.index;t.push({key:`pl:${i}:${l}`,value:a})}console.log(\"Found\",t.length,\"wiki link(s)\"),await n(\"indexer.batchSet\",a,t)}async function h(){let a=await n(\"editor.getCurrentPage\");console.log(\"Navigating to start page\"),await n(\"editor.navigate\",\"start\"),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",a.name),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\")}async function v(){let e=(await n(\"editor.getCurrentPage\")).name;console.log(\"Old name is\",e);let t=await n(\"editor.prompt\",`Rename ${e} to:`,e);if(!t)return;console.log(\"New name\",t);let o=await d(e);console.log(\"All pages containing backlinks\",o);let i=await n(\"editor.getText\");console.log(\"Writing new page to space\"),await n(\"space.writePage\",t,i),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",e),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\"),console.log(\"Navigating to new page\"),await n(\"editor.navigate\",t);let l=new Set;for(let s of o)l.add(s.page);for(let s of l){console.log(\"Now going to update links in\",s);let{text:g}=await n(\"space.readPage\",s);if(!g)continue;let c=g.replaceAll(`[[${e}]]`,`[[${t}]]`);g!==c&&(console.log(\"Changes made, saving...\"),await n(\"space.writePage\",s,c))}}async function d(a){let e=await n(\"indexer.scanPrefixGlobal\",`pl:${a}:`),t=[];for(let{key:o,value:i}of e){let l=o.split(\":\");t.push({page:i,pos:+l[l.length-1]})}return t}async function b(){let a=await n(\"editor.getCurrentPage\"),e=await d(a.name);console.log(\"Backlinks\",e)}async function B(){await n(\"space.reindex\")}return P(R);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9wYWdlLnRzIiwgIi4uL3dlYmFwcC9zcmMvY29uc3RhbnQudHMiLCAiY29yZS9saWIvc3l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w2QkFDWixLQUFNLEdBQVEsa0JBQW1CLEVBQVMsR0FDMUMsUUFBUSxJQUFJLDRCQUNaLEtBQU0sR0FBUSxtQkFBb0IsR0FDbEMsUUFBUSxJQUFJLHVCQUNaLEtBQU0sR0FBUSx3QkFDZCxRQUFRLElBQUksMEJBQ1osS0FBTSxHQUFRLGtCQUFtQixHQUVqQyxHQUFJLEdBQWtCLEdBQUksS0FDMUIsT0FBUyxLQUFnQixHQUN2QixFQUFnQixJQUFJLEVBQWEsTUFHbkMsT0FBUyxLQUFnQixHQUFpQixDQUN4QyxRQUFRLElBQUksK0JBQWdDLEdBQzVDLEdBQUksQ0FBRSxRQUFTLEtBQU0sR0FBUSxpQkFBa0IsR0FDL0MsR0FBSSxDQUFDLEVBRUgsU0FFRixHQUFJLEdBQVUsRUFBSyxXQUFXLEtBQUssTUFBYSxLQUFLLE9BQ3JELEFBQUksSUFBUyxHQUNYLFNBQVEsSUFBSSwyQkFDWixLQUFNLEdBQVEsa0JBQW1CLEVBQWMsS0FVckQsaUJBQTRCLEVBQXVDLENBQ2pFLEdBQUksR0FBZSxLQUFNLEdBQ3ZCLDJCQUNBLE1BQU0sTUFFSixFQUE0QixHQUNoQyxPQUFTLENBQUUsTUFBSyxVQUFXLEdBQWMsQ0FDdkMsR0FBSSxHQUFXLEVBQUksTUFBTSxLQUN6QixFQUFjLEtBQUssQ0FDakIsS0FBTSxFQUNOLElBQUssQ0FBQyxFQUFTLEVBQVMsT0FBUyxLQUdyQyxNQUFPLEdBR1Qsa0JBQXNDLENBQ3BDLEdBQU0sR0FBVyxLQUFNLEdBQVEseUJBQzNCLEVBQVksS0FBTSxHQUFhLEVBQVMsTUFFNUMsUUFBUSxJQUFJLFlBQWEsR0FHM0Isa0JBQWdDLENBQzlCLEtBQU0sR0FBUSIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "indexLinks" - }, - "deletePage": { - "path": "core/page.ts", - "code": "(()=>{var r=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=a=>r(a,\"__esModule\",{value:!0});var x=(a,e)=>{for(var t in e)r(a,t,{get:e[t],enumerable:!0})},u=(a,e,t,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of k(e))!f.call(a,i)&&(t||i!==\"default\")&&r(a,i,{get:()=>e[i],enumerable:!(o=w(e,i))||o.enumerable});return a};var P=(a=>(e,t)=>a&&a.get(e)||(t=u(m({}),e,1),a&&a.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var R={};x(R,{deletePage:()=>h,indexLinks:()=>L,reindex:()=>B,renamePage:()=>v,showBackLinks:()=>b});var p=/\\[\\[([\\w\\s\\/\\:,\\.\\-]+)\\]\\]/;function n(a,...e){let t=Math.floor(Math.random()*1e6);return new Promise((o,i)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:a,args:e,callback:o}}))})}var y=new RegExp(p,\"g\");async function L({name:a,text:e}){let t=[];for(let o of e.matchAll(y)){let i=o[1],l=o.index;t.push({key:`pl:${i}:${l}`,value:a})}console.log(\"Found\",t.length,\"wiki link(s)\"),await n(\"indexer.batchSet\",a,t)}async function h(){let a=await n(\"editor.getCurrentPage\");console.log(\"Navigating to start page\"),await n(\"editor.navigate\",\"start\"),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",a.name),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\")}async function v(){let e=(await n(\"editor.getCurrentPage\")).name;console.log(\"Old name is\",e);let t=await n(\"editor.prompt\",`Rename ${e} to:`,e);if(!t)return;console.log(\"New name\",t);let o=await d(e);console.log(\"All pages containing backlinks\",o);let i=await n(\"editor.getText\");console.log(\"Writing new page to space\"),await n(\"space.writePage\",t,i),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",e),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\"),console.log(\"Navigating to new page\"),await n(\"editor.navigate\",t);let l=new Set;for(let s of o)l.add(s.page);for(let s of l){console.log(\"Now going to update links in\",s);let{text:g}=await n(\"space.readPage\",s);if(!g)continue;let c=g.replaceAll(`[[${e}]]`,`[[${t}]]`);g!==c&&(console.log(\"Changes made, saving...\"),await n(\"space.writePage\",s,c))}}async function d(a){let e=await n(\"indexer.scanPrefixGlobal\",`pl:${a}:`),t=[];for(let{key:o,value:i}of e){let l=o.split(\":\");t.push({page:i,pos:+l[l.length-1]})}return t}async function b(){let a=await n(\"editor.getCurrentPage\"),e=await d(a.name);console.log(\"Backlinks\",e)}async function B(){await n(\"space.reindex\")}return P(R);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9wYWdlLnRzIiwgIi4uL3dlYmFwcC9zcmMvY29uc3RhbnQudHMiLCAiY29yZS9saWIvc3lzY2FsbC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgSW5kZXhFdmVudCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2FwcF9ldmVudFwiO1xuaW1wb3J0IHsgcGFnZUxpbmtSZWdleCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2NvbnN0YW50XCI7XG5pbXBvcnQgeyBzeXNjYWxsIH0gZnJvbSBcIi4vbGliL3N5c2NhbGxcIjtcblxuY29uc3Qgd2lraWxpbmtSZWdleCA9IG5ldyBSZWdFeHAocGFnZUxpbmtSZWdleCwgXCJnXCIpO1xuXG5leHBvcnQgYXN5bmMgZnVuY3Rpb24gaW5kZXhMaW5rcyh7IG5hbWUsIHRleHQgfTogSW5kZXhFdmVudCkge1xuICBsZXQgYmFja0xpbmtzOiB7IGtleTogc3RyaW5nOyB2YWx1ZTogc3RyaW5nIH1bXSA9IFtdO1xuICBmb3IgKGxldCBtYXRjaCBvZiB0ZXh0Lm1hdGNoQWxsKHdpa2lsaW5rUmVnZXgpKSB7XG4gICAgbGV0IHRvUGFnZSA9IG1hdGNoWzFdO1xuICAg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BQU0sTUFFSixFQUE0QixHQUNoQyxPQUFTLENBQUUsTUFBSyxVQUFXLEdBQWMsQ0FDdkMsR0FBSSxHQUFXLEVBQUksTUFBTSxLQUN6QixFQUFjLEtBQUssQ0FDakIsS0FBTSxFQUNOLElBQUssQ0FBQyxFQUFTLEVBQVMsT0FBUyxLQUdyQyxNQUFPLEdBR1Qsa0JBQXNDLENBQ3BDLEdBQU0sR0FBVyxLQUFNLEdBQVEseUJBQzNCLEVBQVksS0FBTSxHQUFhLEVBQVMsTUFFNUMsUUFBUSxJQUFJLFlBQWEsR0FHM0Isa0JBQWdDLENBQzlCLEtBQU0sR0FBUSIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "deletePage" - }, - "showBackLinks": { - "path": "core/page.ts", - "code": "(()=>{var r=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=a=>r(a,\"__esModule\",{value:!0});var x=(a,e)=>{for(var t in e)r(a,t,{get:e[t],enumerable:!0})},u=(a,e,t,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of k(e))!f.call(a,i)&&(t||i!==\"default\")&&r(a,i,{get:()=>e[i],enumerable:!(o=w(e,i))||o.enumerable});return a};var P=(a=>(e,t)=>a&&a.get(e)||(t=u(m({}),e,1),a&&a.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var R={};x(R,{deletePage:()=>h,indexLinks:()=>L,reindex:()=>B,renamePage:()=>v,showBackLinks:()=>b});var p=/\\[\\[([\\w\\s\\/\\:,\\.\\-]+)\\]\\]/;function n(a,...e){let t=Math.floor(Math.random()*1e6);return new Promise((o,i)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:a,args:e,callback:o}}))})}var y=new RegExp(p,\"g\");async function L({name:a,text:e}){let t=[];for(let o of e.matchAll(y)){let i=o[1],l=o.index;t.push({key:`pl:${i}:${l}`,value:a})}console.log(\"Found\",t.length,\"wiki link(s)\"),await n(\"indexer.batchSet\",a,t)}async function h(){let a=await n(\"editor.getCurrentPage\");console.log(\"Navigating to start page\"),await n(\"editor.navigate\",\"start\"),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",a.name),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\")}async function v(){let e=(await n(\"editor.getCurrentPage\")).name;console.log(\"Old name is\",e);let t=await n(\"editor.prompt\",`Rename ${e} to:`,e);if(!t)return;console.log(\"New name\",t);let o=await d(e);console.log(\"All pages containing backlinks\",o);let i=await n(\"editor.getText\");console.log(\"Writing new page to space\"),await n(\"space.writePage\",t,i),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",e),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\"),console.log(\"Navigating to new page\"),await n(\"editor.navigate\",t);let l=new Set;for(let s of o)l.add(s.page);for(let s of l){console.log(\"Now going to update links in\",s);let{text:g}=await n(\"space.readPage\",s);if(!g)continue;let c=g.replaceAll(`[[${e}]]`,`[[${t}]]`);g!==c&&(console.log(\"Changes made, saving...\"),await n(\"space.writePage\",s,c))}}async function d(a){let e=await n(\"indexer.scanPrefixGlobal\",`pl:${a}:`),t=[];for(let{key:o,value:i}of e){let l=o.split(\":\");t.push({page:i,pos:+l[l.length-1]})}return t}async function b(){let a=await n(\"editor.getCurrentPage\"),e=await d(a.name);console.log(\"Backlinks\",e)}async function B(){await n(\"space.reindex\")}return P(R);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9wYWdlLnRzIiwgIi4uL3dlYmFwcC9zcmMvY29uc3RhbnQudHMiLCAiY29yZS9saWIvc3lzY2FsbC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgSW5kZXhFdmVudCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2FwcF9ldmVudFwiO1xuaW1wb3J0IHsgcGFnZUxpbmtSZWdleCB9IGZyb20gXCIuLi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FBTSxHQUFRLGtCQUFtQixHQUVqQyxHQUFJLEdBQWtCLEdBQUksS0FDMUIsT0FBUyxLQUFnQixHQUN2QixFQUFnQixJQUFJLEVBQWEsTUFHbkMsT0FBUyxLQUFnQixHQUFpQixDQUN4QyxRQUFRLElBQUksK0JBQWdDLEdBQzVDLEdBQUksQ0FBRSxRQUFTLEtBQU0sR0FBUSxpQkFBa0IsR0FDL0MsR0FBSSxDQUFDLEVBRUgsU0FFRixHQUFJLEdBQVUsRUFBSyxXQUFXLEtBQUssTUFBYSxLQUFLLE9BQ3JELEFBQUksSUFBUyxHQUNYLFNBQVEsSUFBSSwyQkFDWixLQUFNLEdBQVEsa0JBQW1CLEVBQWMsS0FVckQsaUJBQTRCLEVBQXVDLENBQ2pFLEdBQUksR0FBZSxLQUFNLEdBQ3ZCLDJCQUNBLE1BQU0sTUFFSixFQUE0QixHQUNoQyxPQUFTLENBQUUsTUFBSyxVQUFXLEdBQWMsQ0FDdkMsR0FBSSxHQUFXLEVBQUksTUFBTSxLQUN6QixFQUFjLEtBQUssQ0FDakIsS0FBTSxFQUNOLElBQUssQ0FBQyxFQUFTLEVBQVMsT0FBUyxLQUdyQyxNQUFPLEdBR1Qsa0JBQXNDLENBQ3BDLEdBQU0sR0FBVyxLQUFNLEdBQVEseUJBQzNCLEVBQVksS0FBTSxHQUFhLEVBQVMsTUFFNUMsUUFBUSxJQUFJLFlBQWEsR0FHM0Isa0JBQWdDLENBQzlCLEtBQU0sR0FBUSIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "showBackLinks" - }, - "renamePage": { - "path": "core/page.ts", - "code": "(()=>{var r=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=a=>r(a,\"__esModule\",{value:!0});var x=(a,e)=>{for(var t in e)r(a,t,{get:e[t],enumerable:!0})},u=(a,e,t,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of k(e))!f.call(a,i)&&(t||i!==\"default\")&&r(a,i,{get:()=>e[i],enumerable:!(o=w(e,i))||o.enumerable});return a};var P=(a=>(e,t)=>a&&a.get(e)||(t=u(m({}),e,1),a&&a.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var R={};x(R,{deletePage:()=>h,indexLinks:()=>L,reindex:()=>B,renamePage:()=>v,showBackLinks:()=>b});var p=/\\[\\[([\\w\\s\\/\\:,\\.\\-]+)\\]\\]/;function n(a,...e){let t=Math.floor(Math.random()*1e6);return new Promise((o,i)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:a,args:e,callback:o}}))})}var y=new RegExp(p,\"g\");async function L({name:a,text:e}){let t=[];for(let o of e.matchAll(y)){let i=o[1],l=o.index;t.push({key:`pl:${i}:${l}`,value:a})}console.log(\"Found\",t.length,\"wiki link(s)\"),await n(\"indexer.batchSet\",a,t)}async function h(){let a=await n(\"editor.getCurrentPage\");console.log(\"Navigating to start page\"),await n(\"editor.navigate\",\"start\"),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",a.name),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\")}async function v(){let e=(await n(\"editor.getCurrentPage\")).name;console.log(\"Old name is\",e);let t=await n(\"editor.prompt\",`Rename ${e} to:`,e);if(!t)return;console.log(\"New name\",t);let o=await d(e);console.log(\"All pages containing backlinks\",o);let i=await n(\"editor.getText\");console.log(\"Writing new page to space\"),await n(\"space.writePage\",t,i),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",e),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\"),console.log(\"Navigating to new page\"),await n(\"editor.navigate\",t);let l=new Set;for(let s of o)l.add(s.page);for(let s of l){console.log(\"Now going to update links in\",s);let{text:g}=await n(\"space.readPage\",s);if(!g)continue;let c=g.replaceAll(`[[${e}]]`,`[[${t}]]`);g!==c&&(console.log(\"Changes made, saving...\"),await n(\"space.writePage\",s,c))}}async function d(a){let e=await n(\"indexer.scanPrefixGlobal\",`pl:${a}:`),t=[];for(let{key:o,value:i}of e){let l=o.split(\":\");t.push({page:i,pos:+l[l.length-1]})}return t}async function b(){let a=await n(\"editor.getCurrentPage\"),e=await d(a.name);console.log(\"Backlinks\",e)}async function B(){await n(\"space.reindex\")}return P(R);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9wYWdlLnRzIiwgIi4uL3dlYmFwcC9zcmMvY29uc3RhbnQudHMiLCAiY29yZS9saWIvc3lzY2FsbC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgSW5kZXhFdmVudCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2FwcF9ldmVudFwiO1xuaW1wb3J0IHsgcGFnZUxpbmtSZWdleCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2NvbnN0YW50XCI7XG5pbXBvcnQgeyBzeXNjYWxsIH0gZnJvbSBcIi4vbGliL3N5c2NhbGxcIjtcblxuY29uc3Qgd2lraWxpbmtSZWdleCA9IG5ldyBSZWdFeHAocGFnZUxpbmtSZWdleCwgXCJnXCIpO1xuXG5leHBvcnQgYXN5bmMgZnVuY3Rpb24gaW5kZXhMaW5rcyh7IG5hbWUsIHRleHQgfTogSW5kZXhFdmVudCkge1xuICBsZXQgYmFja0xpbmtzOiB7IGtleTogc3RyaW5nOyB2YWx1ZTogc3RyaW5nIH1bXSA9IFtdO1xuICBmb3IgKGxldCBtYXRjaCBvZiB0ZXh0Lm1hdGNoQWxsKHdpa2lsaW5rUmVnZXgpKSB7XG4gICAgbGV0IHRvUGFnZSA9IG1hdGNoWzFdO1xuICAgIGxldCBwb3MgPSBtYXRjaC5pbmRleCE7XG4gICAgYmFja0xpbmtzLnB1c2goe1xuICAgICAga2V5OiBgcGw6JHt0b1BhZ2V9OiR7cG9zfWAsXG4gICAgICB2YWx1ZTogbmFtZSxcbiAgICB9KTtcbiAgfVxuICBjb25zb2xlLmxv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0FBUyxLQUdyQyxNQUFPLEdBR1Qsa0JBQXNDLENBQ3BDLEdBQU0sR0FBVyxLQUFNLEdBQVEseUJBQzNCLEVBQVksS0FBTSxHQUFhLEVBQVMsTUFFNUMsUUFBUSxJQUFJLFlBQWEsR0FHM0Isa0JBQWdDLENBQzlCLEtBQU0sR0FBUSIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "renamePage" - }, - "reindexPages": { - "path": "core/page.ts", - "code": "(()=>{var r=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var k=Object.getOwnPropertyNames;var f=Object.prototype.hasOwnProperty;var m=a=>r(a,\"__esModule\",{value:!0});var x=(a,e)=>{for(var t in e)r(a,t,{get:e[t],enumerable:!0})},u=(a,e,t,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let i of k(e))!f.call(a,i)&&(t||i!==\"default\")&&r(a,i,{get:()=>e[i],enumerable:!(o=w(e,i))||o.enumerable});return a};var P=(a=>(e,t)=>a&&a.get(e)||(t=u(m({}),e,1),a&&a.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var R={};x(R,{deletePage:()=>h,indexLinks:()=>L,reindex:()=>B,renamePage:()=>v,showBackLinks:()=>b});var p=/\\[\\[([\\w\\s\\/\\:,\\.\\-]+)\\]\\]/;function n(a,...e){let t=Math.floor(Math.random()*1e6);return new Promise((o,i)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:a,args:e,callback:o}}))})}var y=new RegExp(p,\"g\");async function L({name:a,text:e}){let t=[];for(let o of e.matchAll(y)){let i=o[1],l=o.index;t.push({key:`pl:${i}:${l}`,value:a})}console.log(\"Found\",t.length,\"wiki link(s)\"),await n(\"indexer.batchSet\",a,t)}async function h(){let a=await n(\"editor.getCurrentPage\");console.log(\"Navigating to start page\"),await n(\"editor.navigate\",\"start\"),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",a.name),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\")}async function v(){let e=(await n(\"editor.getCurrentPage\")).name;console.log(\"Old name is\",e);let t=await n(\"editor.prompt\",`Rename ${e} to:`,e);if(!t)return;console.log(\"New name\",t);let o=await d(e);console.log(\"All pages containing backlinks\",o);let i=await n(\"editor.getText\");console.log(\"Writing new page to space\"),await n(\"space.writePage\",t,i),console.log(\"Deleting page from space\"),await n(\"space.deletePage\",e),console.log(\"Reloading page list\"),await n(\"space.reloadPageList\"),console.log(\"Navigating to new page\"),await n(\"editor.navigate\",t);let l=new Set;for(let s of o)l.add(s.page);for(let s of l){console.log(\"Now going to update links in\",s);let{text:g}=await n(\"space.readPage\",s);if(!g)continue;let c=g.replaceAll(`[[${e}]]`,`[[${t}]]`);g!==c&&(console.log(\"Changes made, saving...\"),await n(\"space.writePage\",s,c))}}async function d(a){let e=await n(\"indexer.scanPrefixGlobal\",`pl:${a}:`),t=[];for(let{key:o,value:i}of e){let l=o.split(\":\");t.push({page:i,pos:+l[l.length-1]})}return t}async function b(){let a=await n(\"editor.getCurrentPage\"),e=await d(a.name);console.log(\"Backlinks\",e)}async function B(){await n(\"space.reindex\")}return P(R);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9wYWdlLnRzIiwgIi4uL3dlYmFwcC9zcmMvY29uc3RhbnQudHMiLCAiY29yZS9saWIvc3lzY2FsbC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgSW5kZXhFdmVudCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2FwcF9ldmVudFwiO1xuaW1wb3J0IHsgcGFnZUxpbmtSZWdleCB9IGZyb20gXCIuLi8uLi93ZWJhcHAvc3JjL2NvbnN0YW50XCI7XG5pbXBvcnQgeyBzeXNjYWxsIH0gZnJvbSBcIi4vbGliL3N5c2NhbGxcIjtcblxuY29uc3Qgd2lraWxpbmtSZWdleCA9IG5ldyBSZWdFeHAocGFnZUxpbmtSZWdleCwgXCJnXC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LEdBQUksQ0FBRSxRQUFTLEtBQU0sR0FBUSxpQkFBa0IsR0FDL0MsR0FBSSxDQUFDLEVBRUgsU0FFRixHQUFJLEdBQVUsRUFBSyxXQUFXLEtBQUssTUFBYSxLQUFLLE9BQ3JELEFBQUksSUFBUyxHQUNYLFNBQVEsSUFBSSwyQkFDWixLQUFNLEdBQVEsa0JBQW1CLEVBQWMsS0FVckQsaUJBQTRCLEVBQXVDLENBQ2pFLEdBQUksR0FBZSxLQUFNLEdBQ3ZCLDJCQUNBLE1BQU0sTUFFSixFQUE0QixHQUNoQyxPQUFTLENBQUUsTUFBSyxVQUFXLEdBQWMsQ0FDdkMsR0FBSSxHQUFXLEVBQUksTUFBTSxLQUN6QixFQUFjLEtBQUssQ0FDakIsS0FBTSxFQUNOLElBQUssQ0FBQyxFQUFTLEVBQVMsT0FBUyxLQUdyQyxNQUFPLEdBR1Qsa0JBQXNDLENBQ3BDLEdBQU0sR0FBVyxLQUFNLEdBQVEseUJBQzNCLEVBQVksS0FBTSxHQUFhLEVBQVMsTUFFNUMsUUFBUSxJQUFJLFlBQWEsR0FHM0Isa0JBQWdDLENBQzlCLEtBQU0sR0FBUSIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "reindex" - }, - "pageComplete": { - "path": "core/navigate.ts", - "code": "(()=>{var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var m=e=>o(e,\"__esModule\",{value:!0});var f=(e,t)=>{for(var a in t)o(e,a,{get:t[a],enumerable:!0})},g=(e,t,a,r)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let n of s(t))!p.call(e,n)&&(a||n!==\"default\")&&o(e,n,{get:()=>t[n],enumerable:!(r=c(t,n))||r.enumerable});return e};var y=(e=>(t,a)=>e&&e.get(t)||(a=g(m({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var k={};f(k,{clickNavigate:()=>u,linkNavigate:()=>d,pageComplete:()=>w});function i(e,...t){let a=Math.floor(Math.random()*1e6);return new Promise((r,n)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:a,name:e,args:t,callback:r}}))})}async function l(e){if(!!e)switch(console.log(\"Attempting to navigate based on syntax node\",e),e.name){case\"WikiLinkPage\":await i(\"editor.navigate\",e.text);break;case\"URL\":await i(\"editor.openUrl\",e.text);break;case\"Link\":let t=/\\[[^\\\\]+\\]\\(([^\\)]+)\\)/.exec(e.text);t&&await i(\"editor.openUrl\",t[1])}}async function d(){l(await i(\"editor.getSyntaxNodeUnderCursor\"))}async function u(e){if(e.ctrlKey||e.metaKey){let t=await i(\"editor.getSyntaxNodeAtPos\",e.pos);l(t)}}async function w(){let e=await i(\"editor.matchBefore\",\"\\\\[\\\\[[\\\\w\\\\s]*\");if(!e)return null;let t=await i(\"space.listPages\");return{from:e.from+2,options:t.map(a=>({label:a.name,type:\"page\"}))}}return y(k);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9uYXZpZ2F0ZS50cyIsICJjb3JlL2xpYi9zeXNjYWxsLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJpbXBvcnQgeyBDbGlja0V2ZW50IH0gZnJvbSBcIi4uLy4uL3dlYmFwcC9zcmMvYXBwX2V2ZW50LnRzXCI7XG5pbXBvcnQgeyBzeXNjYWxsIH0gZnJvbSBcIi4vbGliL3N5c2NhbGwudHNcIjtcblxuYXN5bmMgZnVuY3Rpb24gbmF2aWdhdGUoc3ludGF4Tm9kZTogYW55KSB7XG4gIGlmICghc3ludGF4Tm9kZSkge1xuICAgIHJldHVybjtcbiAgfVxuICBjb25zb2xlLmxvZyhcIkF0dGVtcHRpbmcgdG8gbmF2aWdhdGUgYmFzZWQgb24gc3ludGF4IG5vZGVcIiwgc3ludGF4Tm9kZSk7XG4gIHN3aXRjaCAoc3ludGF4Tm9kZS5uYW1lKSB7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EdBQVEsS0FBSyxNQUFNLEtBQUssU0FBVyxLQUV2QyxNQUFPLElBQUksU0FBUSxDQUFDLEVBQVMsSUFBVyxDQUN0QyxLQUFLLGNBQ0gsR0FBSSxhQUFZLFVBQVcsQ0FDekIsT0FBUSxDQUNOLEdBQUksRUFDSixLQUFNLEVBQ04sS0FBTSxFQUNOLFNBQVUsUURQcEIsaUJBQXdCLEVBQWlCLENBQ3ZDLEdBQUksRUFBQyxFQUlMLE9BREEsUUFBUSxJQUFJLDhDQUErQyxHQUNuRCxFQUFXLFVBQ1osZUFDSCxLQUFNLEdBQVEsa0JBQW1CLEVBQVcsTUFDNUMsVUFDRyxNQUNILEtBQU0sR0FBUSxpQkFBa0IsRUFBVyxNQUMzQyxVQUNHLE9BRUgsR0FBSSxHQUFRLHlCQUF5QixLQUFLLEVBQVcsTUFDckQsQUFBSSxHQUNGLEtBQU0sR0FBUSxpQkFBa0IsRUFBTSxLQUs5QyxrQkFBcUMsQ0FDbkMsRUFBUyxLQUFNLEdBQVEsb0NBR3pCLGlCQUFvQyxFQUFtQixDQUNyRCxHQUFJLEVBQU0sU0FBVyxFQUFNLFFBQVMsQ0FDbEMsR0FBSSxHQUFhLEtBQU0sR0FBUSw0QkFBNkIsRUFBTSxLQUNsRSxFQUFTLElBSWIsa0JBQXFDLENBQ25DLEdBQUksR0FBUyxLQUFNLEdBQVEscUJBQXNCLG1CQUNqRCxHQUFJLENBQUMsRUFDSCxNQUFPLE1BRVQsR0FBSSxHQUFXLEtBQU0sR0FBUSxtQkFDN0IsTUFBTyxDQUNMLEtBQU0sRUFBTyxLQUFPLEVBQ3BCLFFBQVMsRUFBUyxJQUFJLEFBQUMsR0FBbUIsRUFDeEMsTUFBTyxFQUFTLEtBQ2hCLEtBQU0iLAogICJuYW1lcyI6IFtdCn0K\n", - "functionName": "pageComplete" - }, - "linkNavigate": { - "path": "core/navigate.ts", - "code": "(()=>{var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var m=e=>o(e,\"__esModule\",{value:!0});var f=(e,t)=>{for(var a in t)o(e,a,{get:t[a],enumerable:!0})},g=(e,t,a,r)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let n of s(t))!p.call(e,n)&&(a||n!==\"default\")&&o(e,n,{get:()=>t[n],enumerable:!(r=c(t,n))||r.enumerable});return e};var y=(e=>(t,a)=>e&&e.get(t)||(a=g(m({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var k={};f(k,{clickNavigate:()=>u,linkNavigate:()=>d,pageComplete:()=>w});function i(e,...t){let a=Math.floor(Math.random()*1e6);return new Promise((r,n)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:a,name:e,args:t,callback:r}}))})}async function l(e){if(!!e)switch(console.log(\"Attempting to navigate based on syntax node\",e),e.name){case\"WikiLinkPage\":await i(\"editor.navigate\",e.text);break;case\"URL\":await i(\"editor.openUrl\",e.text);break;case\"Link\":let t=/\\[[^\\\\]+\\]\\(([^\\)]+)\\)/.exec(e.text);t&&await i(\"editor.openUrl\",t[1])}}async function d(){l(await i(\"editor.getSyntaxNodeUnderCursor\"))}async function u(e){if(e.ctrlKey||e.metaKey){let t=await i(\"editor.getSyntaxNodeAtPos\",e.pos);l(t)}}async function w(){let e=await i(\"editor.matchBefore\",\"\\\\[\\\\[[\\\\w\\\\s]*\");if(!e)return null;let t=await i(\"space.listPages\");return{from:e.from+2,options:t.map(a=>({label:a.name,type:\"page\"}))}}return y(k);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9uYXZpZ2F0ZS50cyIsICJjb3JlL2xpYi9zeXNjYWxsLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJpbXBvcnQgeyBDbGlja0V2ZW50IH0gZnJvbSBcIi4uLy4uL3dlYmFwcC9zcmMvYXBwX2V2ZW50LnRzXCI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QUNqRCxHQUFJLENBQUMsRUFDSCxNQUFPLE1BRVQsR0FBSSxHQUFXLEtBQU0sR0FBUSxtQkFDN0IsTUFBTyxDQUNMLEtBQU0sRUFBTyxLQUFPLEVBQ3BCLFFBQVMsRUFBUyxJQUFJLEFBQUMsR0FBbUIsRUFDeEMsTUFBTyxFQUFTLEtBQ2hCLEtBQU0iLAogICJuYW1lcyI6IFtdCn0K\n", - "functionName": "linkNavigate" - }, - "clickNavigate": { - "path": "core/navigate.ts", - "code": "(()=>{var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var m=e=>o(e,\"__esModule\",{value:!0});var f=(e,t)=>{for(var a in t)o(e,a,{get:t[a],enumerable:!0})},g=(e,t,a,r)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let n of s(t))!p.call(e,n)&&(a||n!==\"default\")&&o(e,n,{get:()=>t[n],enumerable:!(r=c(t,n))||r.enumerable});return e};var y=(e=>(t,a)=>e&&e.get(t)||(a=g(m({}),t,1),e&&e.set(t,a),a))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var k={};f(k,{clickNavigate:()=>u,linkNavigate:()=>d,pageComplete:()=>w});function i(e,...t){let a=Math.floor(Math.random()*1e6);return new Promise((r,n)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:a,name:e,args:t,callback:r}}))})}async function l(e){if(!!e)switch(console.log(\"Attempting to navigate based on syntax node\",e),e.name){case\"WikiLinkPage\":await i(\"editor.navigate\",e.text);break;case\"URL\":await i(\"editor.openUrl\",e.text);break;case\"Link\":let t=/\\[[^\\\\]+\\]\\(([^\\)]+)\\)/.exec(e.text);t&&await i(\"editor.openUrl\",t[1])}}async function d(){l(await i(\"editor.getSyntaxNodeUnderCursor\"))}async function u(e){if(e.ctrlKey||e.metaKey){let t=await i(\"editor.getSyntaxNodeAtPos\",e.pos);l(t)}}async function w(){let e=await i(\"editor.matchBefore\",\"\\\\[\\\\[[\\\\w\\\\s]*\");if(!e)return null;let t=await i(\"space.listPages\");return{from:e.from+2,options:t.map(a=>({label:a.name,type:\"page\"}))}}return y(k);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9uYXZpZ2F0ZS50cyIsICJjb3JlL2xpYi9zeXNjYWxsLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJpbXBvcnQgeyBDbGlja0V2ZW50IH0gZnJvbSBcIi4uLy4uL3dlYmFwcC9zcmMvYXBwX2V2ZW50LnRzXCI7XG5pbXBvcnQgeyBzeXNjYWxsIH0gZnJvbSBcIi4vbGliL3N5c2NhbGwudHNcIjtcblxuYXN5bmMgZnVuY3Rpb24gbmF2aWdhdGUoc3ludGF4Tm9kZTogYW55KSB7XG4gIGlmICghc3ludGF4Tm9kZSkge1xuICAgIHJldHVybjtcbiAgfVxuICBjb25zb2xlLmxvZyhcIkF0dGVtcHRpbmcgdG8gbmF2aWdhdGUgYmFzZWQgb24gc3ludGF4IG5vZGVcIiwgc3ludGF4Tm9kZSk7XG4gIHN3aXRjaCAoc3ludGF4Tm9kZS5uYW1lKSB7XG4gICAgY2FzZSBcIldpa2lMaW5rUGFnZVwiOlxuICAgICAgYXdhaXQgc3lzY2FsbChcImVkaXRvci5uYXZpZ2F0ZVwiLCBzeW50YXhOb2RlLnRleHQpO1xuICAgICAgYnJlYWs7XG4gICAgY2FzZSBcIlVSTFwiOlxuICAgICAgYXdhaXQgc3lzY2FsbChcImVkaXRvci5vcGVuVXJsXCIsIHN5bnRheE5vZGUudGV4dCk7XG4gICAgICBicmVhaztcbiAgICBjYXNlIFwiTGlua1wiOlxuICAgICAgLy8gTWFya2Rvd24gbGluazogW2JsYV0oVVJMSEVSRSkgbmVlZHMgZXh0cmFjdGlvblxuICAgICAgbGV0IG1hdGNoID0gL1xcW1teXFxcXF0rXFxdXFwoKFteXFwpXSspXFwpLy5leGVjKHN5bnRheE5vZ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QUF5QixLQUFLLEVBQVcsTUFDckQsQUFBSSxHQUNGLEtBQU0sR0FBUSxpQkFBa0IsRUFBTSxLQUs5QyxrQkFBcUMsQ0FDbkMsRUFBUyxLQUFNLEdBQVEsb0NBR3pCLGlCQUFvQyxFQUFtQixDQUNyRCxHQUFJLEVBQU0sU0FBVyxFQUFNLFFBQVMsQ0FDbEMsR0FBSSxHQUFhLEtBQU0sR0FBUSw0QkFBNkIsRUFBTSxLQUNsRSxFQUFTLElBSWIsa0JBQXFDLENBQ25DLEdBQUksR0FBUyxLQUFNLEdBQVEscUJBQXNCLG1CQUNqRCxHQUFJLENBQUMsRUFDSCxNQUFPLE1BRVQsR0FBSSxHQUFXLEtBQU0sR0FBUSxtQkFDN0IsTUFBTyxDQUNMLEtBQU0sRUFBTyxLQUFPLEVBQ3BCLFFBQVMsRUFBUyxJQUFJLEFBQUMsR0FBbUIsRUFDeEMsTUFBTyxFQUFTLEtBQ2hCLEtBQU0iLAogICJuYW1lcyI6IFtdCn0K\n", - "functionName": "clickNavigate" - }, - "taskToggle": { - "path": "core/task.ts", - "code": "(()=>{var n=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var m=e=>n(e,\"__esModule\",{value:!0});var d=(e,t)=>{for(var o in t)n(e,o,{get:t[o],enumerable:!0})},f=(e,t,o,s)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let a of c(t))!l.call(e,a)&&(o||a!==\"default\")&&n(e,a,{get:()=>t[a],enumerable:!(s=i(t,a))||s.enumerable});return e};var p=(e=>(t,o)=>e&&e.get(t)||(o=f(m({}),t,1),e&&e.set(t,o),o))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var x={};d(x,{taskToggle:()=>h});function r(e,...t){let o=Math.floor(Math.random()*1e6);return new Promise((s,a)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:o,name:e,args:t,callback:s}}))})}async function h(e){let t=await r(\"editor.getSyntaxNodeAtPos\",e.pos);t&&t.name===\"TaskMarker\"&&(t.text===\"[x]\"||t.text===\"[X]\"?await r(\"editor.dispatch\",{changes:{from:t.from,to:t.to,insert:\"[ ]\"},selection:{anchor:e.pos}}):await r(\"editor.dispatch\",{changes:{from:t.from,to:t.to,insert:\"[x]\"},selection:{anchor:e.pos}}))}return p(x);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS90YXNrLnRzIiwgImNvcmUvbGliL3N5c2NhbGwudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImltcG9ydCB7IENsaWNrRXZlbnQgfSBmcm9tIFwiLi4vLi4vd2ViYXBwL3NyYy9hcHBfZXZlbnQudHNcIjtcbmltcG9ydCB7IHN5c2NhbGwgfSBmcm9tIFwiLi9saWIvc3lzY2FsbC50c1wiO1xuXG5leHBvcnQgYXN5bmMgZnVuY3Rpb24gdGFza1RvZ2dsZShldmVudDogQ2xpY2tFdmVudCkge1xuICBsZXQgc3ludGF4Tm9kZSA9IGF3YWl0IHN5c2NhbGwoXCJlZGl0b3IuZ2V0U3ludGF4Tm9kZUF0UG9zXCIsIGV2ZW50LnBvcyk7XG4gIGlmIChzeW50YXhOb2RlICYmIHN5bnRheE5vZGUubmFtZSA9PT0gXCJUYXNrTWFya2VyXCIpIHtcbiAgICBpZiAoc3ludGF4Tm9kZS50ZXh0ID09PSBcIlt4XVwiIHx8IHN5bnRheE5vZGUudGV4dCA9PT0gXCJbWF1cIikge1xuICAgICAgYXdhaXQgc3lzY2FsbChcImVkaXRvci5kaXNwYXRjaFwiLCB7XG4gICAgICAgIGNoYW5nZXM6IHtcbiAgICAgICAgICBmcm9tOiBzeW50YXhOb2RlLmZyb20sXG4gICAgICAgICAgdG86IHN5bnRheE5vZGUudG8sXG4gICAgICAgICAgaW5zZXJ0OiBcIlsgXVwiLFxuICAgICAgICB9LFxuICAgICAgICBzZWxlY3Rpb246IHtcbiAgICAgIC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FBTyxJQUFJLFNBQVEsQ0FBQyxFQUFTLElBQVcsQ0FDdEMsS0FBSyxjQUNILEdBQUksYUFBWSxVQUFXLENBQ3pCLE9BQVEsQ0FDTixHQUFJLEVBQ0osS0FBTSxFQUNOLEtBQU0sRUFDTixTQUFVLFFEUHBCLGlCQUFpQyxFQUFtQixDQUNsRCxHQUFJLEdBQWEsS0FBTSxHQUFRLDRCQUE2QixFQUFNLEtBQ2xFLEFBQUksR0FBYyxFQUFXLE9BQVMsY0FDcEMsQ0FBSSxFQUFXLE9BQVMsT0FBUyxFQUFXLE9BQVMsTUFDbkQsS0FBTSxHQUFRLGtCQUFtQixDQUMvQixRQUFTLENBQ1AsS0FBTSxFQUFXLEtBQ2pCLEdBQUksRUFBVyxHQUNmLE9BQVEsT0FFVixVQUFXLENBQ1QsT0FBUSxFQUFNLE9BSWxCLEtBQU0sR0FBUSxrQkFBbUIsQ0FDL0IsUUFBUyxDQUNQLEtBQU0sRUFBVyxLQUNqQixHQUFJLEVBQVcsR0FDZixPQUFRLE9BRVYsVUFBVyxDQUNULE9BQVEsRUFBTSIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "taskToggle" - }, - "insertToday": { - "path": "core/dates.ts", - "code": "(()=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=t=>s(t,\"__esModule\",{value:!0});var y=(t,e)=>{for(var a in e)s(t,a,{get:e[a],enumerable:!0})},m=(t,e,a,r)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let n of l(e))!c.call(t,n)&&(a||n!==\"default\")&&s(t,n,{get:()=>e[n],enumerable:!(r=o(e,n))||r.enumerable});return t};var f=(t=>(e,a)=>t&&t.get(e)||(a=m(d({}),e,1),t&&t.set(e,a),a))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var u={};y(u,{insertToday:()=>p});function i(t,...e){let a=Math.floor(Math.random()*1e6);return new Promise((r,n)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:a,name:t,args:e,callback:r}}))})}async function p(){let t=new Date().toISOString().split(\"T\")[0];await i(\"editor.insertAtCursor\",t)}return f(u);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9kYXRlcy50cyIsICJjb3JlL2xpYi9zeXNjYWxsLnRzIl0sCiAgInNvdXJjZXNDb250ZW50IjogWyJpbXBvcnQgeyBzeXNjYWxsIH0gZnJvbSBcIi4vbGliL3N5c2NhbGwudHNcIjtcblxuZXhwb3J0IGFzeW5jIGZ1bmN0aW9uIGluc2VydFRvZGF5KCkge1xuICBsZXQgbmljZURhdGUgPSBuZXcgRGF0ZSgpLnRvSVNPU3RyaW5nKCkuc3BsaXQoXCJUXCIpWzBdO1xuICBhd2FpdCBzeXNjYWxsKFwiZWRpdG9yLmluc2VydEF0Q3Vyc29yXCIsIG5pY2VEYXRlKTtcbn1cbiIsICJleHBvcnQgZnVuY3Rpb24gc3lzY2FsbChuYW1lOiBzdHJpbmcsIC4uLmFyZ3M6IGFueVtdKTogYW55IHtcbiAgbGV0IHJlcUlkID0gTWF0aC5mbG9vcihNYXRoLnJhbmRvbSgpICogMTAwMDAwMCk7XG4gIC8vIGNvbnNvbGUubG9nKFwiU3lzY2FsbFwiLCBuYW1lLCByZXFJZCk7XG4gIHJldHVybiBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7XG4gICAgc2VsZi5kaXNwYXRjaEV2ZW50KFxuICAgICAgbmV3IEN1c3RvbUV2ZW50KFwic3lzY2FsbFwiLCB7XG4gICAgICAgIGRldGFpbDoge1xuICAgICAgICAgIGlkOiByZXFJZCxcbiAgICAgICAgICBuYW1lOiBuYW1lLFxuICAgICAgICAgIGFyZ3M6IGFyZ3MsXG4gICAgICAgICAgY2FsbGJhY2s6IHJlc29sdmUsXG4gICAgICAgIH0sXG4gICAgICB9KVxuICAgICk7XG4gIH0pO1xufVxuIl0sCiAgIm1hcHBpbmdzIjogIjRoQkFBQSxrQ0NBTyxXQUFpQixLQUFpQixFQUFrQixDQUN6RCxHQUFJLEdBQVEsS0FBSyxNQUFNLEtBQUssU0FBVyxLQUV2QyxNQUFPLElBQUksU0FBUSxDQUFDLEVBQVMsSUFBVyxDQUN0QyxLQUFLLGNBQ0gsR0FBSSxhQUFZLFVBQVcsQ0FDekIsT0FBUSxDQUNOLEdBQUksRUFDSixLQUFNLEVBQ04sS0FBTSxFQUNOLFNBQVUsUURScEIsa0JBQW9DLENBQ2xDLEdBQUksR0FBVyxHQUFJLFFBQU8sY0FBYyxNQUFNLEtBQUssR0FDbkQsS0FBTSxHQUFRLHdCQUF5QiIsCiAgIm5hbWVzIjogW10KfQo=\n", - "functionName": "insertToday" - }, - "toggle_h1": { - "path": "core/markup.ts", - "code": "(()=>{var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var u=n=>o(n,\"__esModule\",{value:!0});var f=(n,e)=>{for(var t in e)o(n,t,{get:e[t],enumerable:!0})},d=(n,e,t,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let a of g(e))!c.call(n,a)&&(t||a!==\"default\")&&o(n,a,{get:()=>e[a],enumerable:!(i=l(e,a))||i.enumerable});return n};var w=(n=>(e,t)=>n&&n.get(e)||(t=d(u({}),e,1),n&&n.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var b={};f(b,{toggleH1:()=>m,toggleH2:()=>y});function r(n,...e){let t=Math.floor(Math.random()*1e6);return new Promise((i,a)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:n,args:e,callback:i}}))})}async function m(){await s(\"# \")}async function y(){await s(\"## \")}function h(n,e,t){return n.substring(e-t.length,e)===t}async function s(n){let e=await r(\"editor.getText\"),t=await r(\"editor.getCursor\");for(e[t]===`\n`&&t--;t>0&&e[t]!==`\n`;){if(h(e,t,n)){await r(\"editor.replaceRange\",t-n.length,t,\"\");return}t--}t&&t++,await r(\"editor.insertAtPos\",n,t)}return w(b);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9tYXJrdXAudHMiLCAiY29yZS9saWIvc3lzY2FsbC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgc3lzY2FsbCB9IGZyb20gXCIuL2xpYi9zeXNjYWxsLnRzXCI7XG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiB0b2dnbGVIMSgpIHtcbiAgYXdhaXQgdG9nZ2xlUHJlZml4KFwiIyBcIik7XG59XG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiB0b2dnbGVIMigpIHtcbiAgYXdhaXQgdG9nZ2xlUHJlZml4KFwiIyMgXCIpO1xufVxuXG5mdW5jdGlvbiBsb29rQmFjayhzOiBzdHJpbmcsIHBvczogbnVtYmVyLCBiYWNrU3RyaW5nOiBzdHJpbmcpOiBib29sZWFuIHtcbiAgcmV0dXJuIHMuc3Vic3RyaW5nKHBvcyAtIGJhY2tTdHJpbmcubGVuZ3RoLCBwb3MpID09PSBiYWNrU3RyaW5nO1xufVxuXG5hc3luYyBmdW5jdGlvbiB0b2dnbGVQcmVmaXgocHJlZml4OiBzdHJpbmcpIHtcbiAgbGV0IHRleHQgPSAoYXdhaXQgc3lzY2FsbChcImVkaXRvci5nZXRUZXh0XCIpKSBhcyBzdHJpbmc7XG4gIGxldCBwb3MgPSAoYXdhaXQgc3lzY2FsbChcImVkaXRvci5nZXRDdXJzb3JcIikpIGFzIG51bWJlcjtcbiAgaWYgKHRleHRbcG9zXSA9PT0gXCJcXG5cIikge1xuICAgIHBvcy0tO1xuICB9XG4gIHdoaWxlIChwb3MgPiAwICYmIHRleHRbcG9zXSAhPT0gXCJcXG5cIikge1xuICAgIGlmIChsb29rQmFjayh0ZXh0LCBwb3MsIHByZWZpeCkpIH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QUNILEdBQUksYUFBWSxVQUFXLENBQ3pCLE9BQVEsQ0FDTixHQUFJLEVBQ0osS0FBTSxFQUNOLEtBQU0sRUFDTixTQUFVLFFEUnBCLGtCQUFpQyxDQUMvQixLQUFNLEdBQWEsTUFHckIsa0JBQWlDLENBQy9CLEtBQU0sR0FBYSxPQUdyQixXQUFrQixFQUFXLEVBQWEsRUFBNkIsQ0FDckUsTUFBTyxHQUFFLFVBQVUsRUFBTSxFQUFXLE9BQVEsS0FBUyxFQUd2RCxpQkFBNEIsRUFBZ0IsQ0FDMUMsR0FBSSxHQUFRLEtBQU0sR0FBUSxrQkFDdEIsRUFBTyxLQUFNLEdBQVEsb0JBSXpCLElBSEksRUFBSyxLQUFTO0FBQUEsR0FDaEIsSUFFSyxFQUFNLEdBQUssRUFBSyxLQUFTO0FBQUEsR0FBTSxDQUNwQyxHQUFJLEVBQVMsRUFBTSxFQUFLLEdBQVMsQ0FFL0IsS0FBTSxHQUFRLHNCQUF1QixFQUFNLEVBQU8sT0FBUSxFQUFLLElBQy9ELE9BRUYsSUFFRixBQUFJLEdBQ0YsSUFFRixLQUFNLEdBQVEscUJBQXNCLEVBQVEiLAogICJuYW1lcyI6IFtdCn0K\n", - "functionName": "toggleH1" - }, - "toggle_h2": { - "path": "core/markup.ts", - "code": "(()=>{var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var u=n=>o(n,\"__esModule\",{value:!0});var f=(n,e)=>{for(var t in e)o(n,t,{get:e[t],enumerable:!0})},d=(n,e,t,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let a of g(e))!c.call(n,a)&&(t||a!==\"default\")&&o(n,a,{get:()=>e[a],enumerable:!(i=l(e,a))||i.enumerable});return n};var w=(n=>(e,t)=>n&&n.get(e)||(t=d(u({}),e,1),n&&n.set(e,t),t))(typeof WeakMap!=\"undefined\"?new WeakMap:0);var b={};f(b,{toggleH1:()=>m,toggleH2:()=>y});function r(n,...e){let t=Math.floor(Math.random()*1e6);return new Promise((i,a)=>{self.dispatchEvent(new CustomEvent(\"syscall\",{detail:{id:t,name:n,args:e,callback:i}}))})}async function m(){await s(\"# \")}async function y(){await s(\"## \")}function h(n,e,t){return n.substring(e-t.length,e)===t}async function s(n){let e=await r(\"editor.getText\"),t=await r(\"editor.getCursor\");for(e[t]===`\n`&&t--;t>0&&e[t]!==`\n`;){if(h(e,t,n)){await r(\"editor.replaceRange\",t-n.length,t,\"\");return}t--}t&&t++,await r(\"editor.insertAtPos\",n,t)}return w(b);})();\n//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsiY29yZS9tYXJrdXAudHMiLCAiY29yZS9saWIvc3lzY2FsbC50cyJdLAogICJzb3VyY2VzQ29udGVudCI6IFsiaW1wb3J0IHsgc3lzY2FsbCB9IGZyb20gXCIuL2xpYi9zeXNjYWxsLnRzXCI7XG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiB0b2dnbGVIMSgpIHtcbiAgYXdhaXQgdG9nZ2xlUHJlZml4KFwiIyBcIik7XG59XG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiB0b2dnbGVIMigpIHtcbiAgYXdhaXQgdG9nZ2xlUHJlZml4KFwiIyMgXCIpO1xufVxuXG5mdW5jdGlvbiBsb29rQmFjayhzOiBzdHJpbmcsIHBvczogbnVtYmVyLCBiYWNrU3RyaW5nOiBzdHJpbmcpOiBib29sZWFuIHtcbiAgcmV0dXJuIHMuc3Vic3RyaW5nKHBvcyAtIGJhY2tTdHJpbmcubGVuZ3RoLCBwb3MpID09PSBiYWNrU3RyaW5nO1xufVxuXG5hc3luYyBmdW5jdGlvbiB0b2dnbGVQcmVmaXgocHJlZml4OiBzdHJpbmcpIHtcbiAgbGV0IHRleHQgPSAoYXdhaXQgc3lzY2FsbChcImVkaXRvci5nZXRUZXh0XCIpKSBhcyBzdHJpbmc7XG4gIGxldCBwb3MgPS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LFxuICAgICAgICB9LFxuICAgICAgfSlcbiAgICApO1xuICB9KTtcbn1cbiJdLAogICJtYXBwaW5ncyI6ICI0aEJBQUEsOENDQU8sV0FBaUIsS0FBaUIsRUFBa0IsQ0FDekQsR0FBSSxHQUFRLEtBQUssTUFBTSxLQUFLLFNBQVcsS0FFdkMsTUFBTyxJQUFJLFNBQVEsQ0FBQyxFQUFTLElBQVcsQ0FDdEMsS0FBSyxjQUNILEdBQUksYUFBWSxVQUFXLENBQ3pCLE9BQVEsQ0FDTixHQUFJLEVBQ0osS0FBTSxFQUNOLEtBQU0sRUFDTixTQUFVLFFEUnBCLGtCQUFpQyxDQUMvQixLQUFNLEdBQWEsTUFHckIsa0JBQWlDLENBQy9CLEtBQU0sR0FBYSxPQUdyQixXQUFrQixFQUFXLEVBQWEsRUFBNkIsQ0FDckUsTUFBTyxHQUFFLFVBQVUsRUFBTSxFQUFXLE9BQVEsS0FBUyxFQUd2RCxpQkFBNEIsRUFBZ0IsQ0FDMUMsR0FBSSxHQUFRLEtBQU0sR0FBUSxrQkFDdEIsRUFBTyxLQUFNLEdBQVEsb0JBSXpCLElBSEksRUFBSyxLQUFTO0FBQUEsR0FDaEIsSUFFSyxFQUFNLEdBQUssRUFBSyxLQUFTO0FBQUEsR0FBTSxDQUNwQyxHQUFJLEVBQVMsRUFBTSxFQUFLLEdBQVMsQ0FFL0IsS0FBTSxHQUFRLHNCQUF1QixFQUFNLEVBQU8sT0FBUSxFQUFLLElBQy9ELE9BRUYsSUFFRixBQUFJLEdBQ0YsSUFFRixLQUFNLEdBQVEscUJBQXNCLEVBQVEiLAogICJuYW1lcyI6IFtdCn0K\n", - "functionName": "toggleH2" - } - } -} \ No newline at end of file diff --git a/webapp/src/plugins/browser_system.ts b/webapp/src/plugbox_browser/browser_system.ts similarity index 88% rename from webapp/src/plugins/browser_system.ts rename to webapp/src/plugbox_browser/browser_system.ts index a8401fef..d776d958 100644 --- a/webapp/src/plugins/browser_system.ts +++ b/webapp/src/plugbox_browser/browser_system.ts @@ -1,5 +1,5 @@ -import { PluginLoader, System } from "./runtime"; -import { Manifest } from "./types"; +import { PluginLoader, System } from "../../../plugbox/src/runtime"; +import { Manifest } from "../../../plugbox/src/types"; import { sleep } from "../util"; export class BrowserLoader implements PluginLoader { @@ -43,7 +43,7 @@ export class BrowserSystem extends System { async bootServiceWorker() { // @ts-ignore let reg = navigator.serviceWorker.register( - new URL("../plugin_sw.ts", import.meta.url), + new URL("../plugbox_sw.ts", import.meta.url), { type: "module", scope: "/", diff --git a/webapp/src/plugin_sw.ts b/webapp/src/plugbox_sw.ts similarity index 95% rename from webapp/src/plugin_sw.ts rename to webapp/src/plugbox_sw.ts index 6357ef23..3d7e327a 100644 --- a/webapp/src/plugin_sw.ts +++ b/webapp/src/plugbox_sw.ts @@ -1,12 +1,10 @@ -import { Manifest } from "./plugins/types"; +import { Manifest } from "../../plugbox/src/types"; -import { openDB, wrap, unwrap } from "idb"; +import { openDB } from "idb"; const rootUrl = location.origin + "/plugin"; // Storing manifests in IndexedDB, y'all -let manifestCache = caches.open("manifests"); - const db = openDB("manifests-store", undefined, { upgrade(db) { db.createObjectStore("manifests"); diff --git a/webapp/src/types.ts b/webapp/src/types.ts index eac95c14..e8abe48b 100644 --- a/webapp/src/types.ts +++ b/webapp/src/types.ts @@ -1,4 +1,4 @@ -import { CommandDef } from "./plugins/types"; +import { CommandDef } from "../../plugbox/src/types"; export type PageMeta = { name: string; diff --git a/webapp/yarn.lock b/webapp/yarn.lock index 771fb4ee..8f0da7c1 100644 --- a/webapp/yarn.lock +++ b/webapp/yarn.lock @@ -993,6 +993,21 @@ abortcontroller-polyfill@^1.1.9: resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.3.tgz#1b5b487bd6436b5b764fd52a612509702c3144b5" integrity sha512-zetDJxd89y3X99Kvo4qFx8GKlt6GsvN3UcRZHwU6iFA/0KiOmhkTVhe8oRoTBiTVPZu09x3vCra47+w8Yz1+2Q== +acorn-walk@^8.2.0: + version "8.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" + integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== + +acorn@^8.7.0: + version "8.7.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.0.tgz#90951fde0f8f09df93549481e5fc141445b791cf" + integrity sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" @@ -1000,7 +1015,7 @@ ansi-styles@^3.2.1: dependencies: color-convert "^1.9.0" -ansi-styles@^4.1.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -1015,6 +1030,31 @@ anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" +asn1.js@^5.2.0: + version "5.4.1" + resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" + integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== + dependencies: + bn.js "^4.0.0" + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + safer-buffer "^2.1.0" + +assert@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/assert/-/assert-2.0.0.tgz#95fc1c616d48713510680f2eaf2d10dd22e02d32" + integrity sha512-se5Cd+js9dXJnu6Ag2JFc00t+HmHOen+8Q+L7O9zI0PqQXr20uk2J0XQqMxZEeo5U50o8Nvmmx7dZrl+Ufr35A== + dependencies: + es6-object-assign "^1.1.0" + is-nan "^1.2.1" + object-is "^1.0.1" + util "^0.12.0" + +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + base-x@^3.0.8: version "3.0.9" resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" @@ -1022,11 +1062,26 @@ base-x@^3.0.8: dependencies: safe-buffer "^5.0.1" +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: + version "4.12.0" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" + integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== + +bn.js@^5.0.0, bn.js@^5.1.1: + version "5.2.0" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" + integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== + boolbase@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" @@ -1039,6 +1094,65 @@ braces@~3.0.2: dependencies: fill-range "^7.0.1" +brorand@^1.0.1, brorand@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" + integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= + +browserify-aes@^1.0.0, browserify-aes@^1.0.4: + version "1.2.0" + resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" + integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== + dependencies: + buffer-xor "^1.0.3" + cipher-base "^1.0.0" + create-hash "^1.1.0" + evp_bytestokey "^1.0.3" + inherits "^2.0.1" + safe-buffer "^5.0.1" + +browserify-cipher@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" + integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== + dependencies: + browserify-aes "^1.0.4" + browserify-des "^1.0.0" + evp_bytestokey "^1.0.0" + +browserify-des@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" + integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== + dependencies: + cipher-base "^1.0.1" + des.js "^1.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + +browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" + integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== + dependencies: + bn.js "^5.0.0" + randombytes "^2.0.1" + +browserify-sign@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" + integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== + dependencies: + bn.js "^5.1.1" + browserify-rsa "^4.0.1" + create-hash "^1.2.0" + create-hmac "^1.1.7" + elliptic "^6.5.3" + inherits "^2.0.4" + parse-asn1 "^5.1.5" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + browserslist@^4.0.0, browserslist@^4.16.6, browserslist@^4.6.6: version "4.19.1" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.19.1.tgz#4ac0435b35ab655896c31d53018b6dd5e9e4c9a3" @@ -1055,6 +1169,27 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +buffer-xor@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" + integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk= + +buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -1112,6 +1247,23 @@ chrome-trace-event@^1.0.2: resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== +cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" + integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + clone@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" @@ -1167,11 +1319,59 @@ cosmiconfig@^7.0.1: path-type "^4.0.0" yaml "^1.10.0" +create-ecdh@^4.0.0: + version "4.0.4" + resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" + integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== + dependencies: + bn.js "^4.1.0" + elliptic "^6.5.3" + +create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" + integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== + dependencies: + cipher-base "^1.0.1" + inherits "^2.0.1" + md5.js "^1.3.4" + ripemd160 "^2.0.1" + sha.js "^2.4.0" + +create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: + version "1.1.7" + resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" + integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== + dependencies: + cipher-base "^1.0.3" + create-hash "^1.1.0" + inherits "^2.0.1" + ripemd160 "^2.0.0" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + crelt@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/crelt/-/crelt-1.0.5.tgz#57c0d52af8c859e354bace1883eb2e1eb182bb94" integrity sha512-+BO9wPPi+DWTDcNYhr/W90myha8ptzftZT+LwcmUbbok0rcP/fequmFYCw8NMoH7pkAZQzU78b3kYrlua5a9eA== +crypto-browserify@^3.12.0: + version "3.12.0" + resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" + integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== + dependencies: + browserify-cipher "^1.0.0" + browserify-sign "^4.0.0" + create-ecdh "^4.0.0" + create-hash "^1.1.0" + create-hmac "^1.1.0" + diffie-hellman "^5.0.0" + inherits "^2.0.1" + pbkdf2 "^3.0.3" + public-encrypt "^4.0.0" + randombytes "^2.0.0" + randomfill "^1.0.3" + css-declaration-sorter@^6.0.3: version "6.1.4" resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.1.4.tgz#b9bfb4ed9a41f8dcca9bf7184d849ea94a8294b4" @@ -1269,6 +1469,21 @@ csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.10.tgz#2ad3a7bed70f35b965707c092e5f30b327c290e5" integrity sha512-2u44ZG2OcNUO9HDp/Jl8C07x6pU/eTR3ncV91SiK3dhG9TWvRVsCoJw14Ckx5DgWkzGA3waZWO3d7pgqpUI/XA== +define-properties@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1" + integrity sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ== + dependencies: + object-keys "^1.0.12" + +des.js@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.0.1.tgz#5382142e1bdc53f85d86d53e5f4aa7deb91e0843" + integrity sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA== + dependencies: + inherits "^2.0.1" + minimalistic-assert "^1.0.0" + detect-libc@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b" @@ -1279,6 +1494,15 @@ dexie@^3.2.1: resolved "https://registry.yarnpkg.com/dexie/-/dexie-3.2.1.tgz#ef21456d725e700c1ab7ac4307896e4fdabaf753" integrity sha512-Y8oz3t2XC9hvjkP35B5I8rUkKKwM36GGRjWQCMjzIYScg7W+GHKDXobSYswkisW7CxL1/tKQtggMDsiWqDUc1g== +diffie-hellman@^5.0.0: + version "5.0.3" + resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" + integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== + dependencies: + bn.js "^4.1.0" + miller-rabin "^4.0.0" + randombytes "^2.0.0" + dom-serializer@^1.0.1: version "1.3.2" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.3.2.tgz#6206437d32ceefaec7161803230c7a20bc1b4d91" @@ -1324,6 +1548,24 @@ electron-to-chromium@^1.4.17: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.68.tgz#d79447b6bd1bec9183f166bb33d4bef0d5e4e568" integrity sha512-cId+QwWrV8R1UawO6b9BR1hnkJ4EJPCPAr4h315vliHUtVUJDk39Sg1PMNnaWKfj5x+93ssjeJ9LKL6r8LaMiA== +elliptic@^6.5.3: + version "6.5.4" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + 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" + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + entities@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" @@ -1341,6 +1583,172 @@ error-ex@^1.3.1: dependencies: is-arrayish "^0.2.1" +es-abstract@^1.18.5: + version "1.19.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.1.tgz#d4885796876916959de78edaa0df456627115ec3" + integrity sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w== + dependencies: + call-bind "^1.0.2" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + get-intrinsic "^1.1.1" + get-symbol-description "^1.0.0" + has "^1.0.3" + has-symbols "^1.0.2" + internal-slot "^1.0.3" + is-callable "^1.2.4" + is-negative-zero "^2.0.1" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.1" + is-string "^1.0.7" + is-weakref "^1.0.1" + object-inspect "^1.11.0" + object-keys "^1.1.1" + object.assign "^4.1.2" + string.prototype.trimend "^1.0.4" + string.prototype.trimstart "^1.0.4" + unbox-primitive "^1.0.1" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +es6-object-assign@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/es6-object-assign/-/es6-object-assign-1.1.0.tgz#c2c3582656247c39ea107cb1e6652b6f9f24523c" + integrity sha1-wsNYJlYkfDnqEHyx5mUrb58kUjw= + +esbuild-android-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.25.tgz#d532d38cb5fe0ae45167ce35f4bbc784c636be40" + integrity sha512-L5vCUk7TzFbBnoESNoXjU3x9+/+7TDIE/1mTfy/erAfvZAqC+S3sp/Qa9wkypFMcFvN9FzvESkTlpeQDolREtQ== + +esbuild-android-arm64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.25.tgz#9c5bb3366aabfd14a1c726d36978b79441dfcb6e" + integrity sha512-4jv5xPjM/qNm27T5j3ZEck0PvjgQtoMHnz4FzwF5zNP56PvY2CT0WStcAIl6jNlsuDdN63rk2HRBIsO6xFbcFw== + +esbuild-darwin-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.25.tgz#05dcdb6d884f427039ffee5e92ff97527e56c26d" + integrity sha512-TGp8tuudIxOyWd1+8aYPxQmC1ZQyvij/AfNBa35RubixD0zJ1vkKHVAzo0Zao1zcG6pNqiSyzfPto8vmg0s7oA== + +esbuild-darwin-arm64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.25.tgz#28e080da4ea0cfe9498071e7f8060498caee1a95" + integrity sha512-oTcDgdm0MDVEmw2DWu8BV68pYuImpFgvWREPErBZmNA4MYKGuBRaCiJqq6jZmBR1x+3y1DWCjez+5uLtuAm6mw== + +esbuild-freebsd-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.25.tgz#200d3664a3b945bc9fdcba73614b49a11ebd1cfa" + integrity sha512-ueAqbnMZ8arnuLH8tHwTCQYeptnHOUV7vA6px6j4zjjQwDx7TdP7kACPf3TLZLdJQ3CAD1XCvQ2sPhX+8tacvQ== + +esbuild-freebsd-arm64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.25.tgz#624b08c5da6013bdc312aaa23c4ff409580f5c3c" + integrity sha512-+ZVWud2HKh+Ob6k/qiJWjBtUg4KmJGGmbvEXXW1SNKS7hW7HU+Zq2ZCcE1akFxOPkVB+EhOty/sSek30tkCYug== + +esbuild-linux-32@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.25.tgz#0238e597eb0b60aa06c7e98fccbbfd6bb9a0d6c5" + integrity sha512-3OP/lwV3kCzEz45tobH9nj+uE4ubhGsfx+tn0L26WAGtUbmmcRpqy7XRG/qK7h1mClZ+eguIANcQntYMdYklfw== + +esbuild-linux-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.25.tgz#8a8b8cf47dfce127c858e71229d9a385a82c62e8" + integrity sha512-+aKHdHZmX9qwVlQmu5xYXh7GsBFf4TWrePgeJTalhXHOG7NNuUwoHmketGiZEoNsWyyqwH9rE5BC+iwcLY30Ug== + +esbuild-linux-arm64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.25.tgz#7ac94371418a2640ba413bc1700aaedeb2794e52" + integrity sha512-UxfenPx/wSZx55gScCImPtXekvZQLI2GW3qe5dtlmU7luiqhp5GWPzGeQEbD3yN3xg/pHc671m5bma5Ns7lBHw== + +esbuild-linux-arm@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.25.tgz#034bd18e9310b9f010c89f90ef7f05706689600b" + integrity sha512-aTLcE2VBoLydL943REcAcgnDi3bHtmULSXWLbjtBdtykRatJVSxKMjK9YlBXUZC4/YcNQfH7AxwVeQr9fNxPhw== + +esbuild-linux-mips64le@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.25.tgz#05f98a8cf6b578eab6b4e6b0ab094f37530934f4" + integrity sha512-wLWYyqVfYx9Ur6eU5RT92yJVsaBGi5RdkoWqRHOqcJ38Kn60QMlcghsKeWfe9jcYut8LangYZ98xO1LxIoSXrQ== + +esbuild-linux-ppc64le@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.25.tgz#46fd0add8d8535678439d7a9c2876ad20042d952" + integrity sha512-0dR6Csl6Zas3g4p9ULckEl8Mo8IInJh33VCJ3eaV1hj9+MHGdmDOakYMN8MZP9/5nl+NU/0ygpd14cWgy8uqRw== + +esbuild-linux-riscv64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.25.tgz#ea2e986f0f3e5df73c635135dd778051734fc605" + integrity sha512-J4d20HDmTrgvhR0bdkDhvvJGaikH3LzXQnNaseo8rcw9Yqby9A90gKUmWpfwqLVNRILvNnAmKLfBjCKU9ajg8w== + +esbuild-linux-s390x@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.25.tgz#efe89486e9a1b1508925048076e3f3a6698aa6a3" + integrity sha512-YI2d5V6nTE73ZnhEKQD7MtsPs1EtUZJ3obS21oxQxGbbRw1G+PtJKjNyur+3t6nzHP9oTg6GHQ3S3hOLLmbDIQ== + +esbuild-netbsd-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.25.tgz#439fe27d8ee3b5887501ee63988e85f920107db6" + integrity sha512-TKIVgNWLUOkr+Exrye70XTEE1lJjdQXdM4tAXRzfHE9iBA7LXWcNtVIuSnphTqpanPzTDFarF0yqq4kpbC6miA== + +esbuild-openbsd-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.25.tgz#31ebf616aadf6e60674469f2b92cec92280d9930" + integrity sha512-QgFJ37A15D7NIXBTYEqz29+uw3nNBOIyog+3kFidANn6kjw0GHZ0lEYQn+cwjyzu94WobR+fes7cTl/ZYlHb1A== + +esbuild-sunos-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.25.tgz#815e4f936d74970292a63ccfd5791fe5e3569f5f" + integrity sha512-rmWfjUItYIVlqr5EnTH1+GCxXiBOC42WBZ3w++qh7n2cS9Xo0lO5pGSG2N+huOU2fX5L+6YUuJ78/vOYvefeFw== + +esbuild-windows-32@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.25.tgz#189e14df2478f2c193c86968ab1fb54e1ceaafd2" + integrity sha512-HGAxVUofl3iUIz9W10Y9XKtD0bNsK9fBXv1D55N/ljNvkrAYcGB8YCm0v7DjlwtyS6ws3dkdQyXadbxkbzaKOA== + +esbuild-windows-64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.25.tgz#3d5fbfdc3856850bb47439299e3b60dd18be111f" + integrity sha512-TirEohRkfWU9hXLgoDxzhMQD1g8I2mOqvdQF2RS9E/wbkORTAqJHyh7wqGRCQAwNzdNXdg3JAyhQ9/177AadWA== + +esbuild-windows-arm64@0.14.25: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.25.tgz#8b243cbbad8a86cf98697da9ccb88c05df2ef458" + integrity sha512-4ype9ERiI45rSh+R8qUoBtaj6kJvUOI7oVLhKqPEpcF4Pa5PpT3hm/mXAyotJHREkHpM87PAJcA442mLnbtlNA== + +esbuild@^0.14.24: + version "0.14.25" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.25.tgz#ddb9d47b91ca76abb7d850ce3dfed0bc3dc88d16" + integrity sha512-4JHEIOMNFvK09ziiL+iVmldIhLbn49V4NAVo888tcGFKedEZY/Y8YapfStJ6zSE23tzYPKxqKwQBnQoIO0BI/Q== + optionalDependencies: + esbuild-android-64 "0.14.25" + esbuild-android-arm64 "0.14.25" + esbuild-darwin-64 "0.14.25" + esbuild-darwin-arm64 "0.14.25" + esbuild-freebsd-64 "0.14.25" + esbuild-freebsd-arm64 "0.14.25" + esbuild-linux-32 "0.14.25" + esbuild-linux-64 "0.14.25" + esbuild-linux-arm "0.14.25" + esbuild-linux-arm64 "0.14.25" + esbuild-linux-mips64le "0.14.25" + esbuild-linux-ppc64le "0.14.25" + esbuild-linux-riscv64 "0.14.25" + esbuild-linux-s390x "0.14.25" + esbuild-netbsd-64 "0.14.25" + esbuild-openbsd-64 "0.14.25" + esbuild-sunos-64 "0.14.25" + esbuild-windows-32 "0.14.25" + esbuild-windows-64 "0.14.25" + esbuild-windows-arm64 "0.14.25" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -1351,6 +1759,19 @@ escape-string-regexp@^1.0.5: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= +events@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" + integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== + dependencies: + md5.js "^1.3.4" + safe-buffer "^5.1.1" + fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -1358,16 +1779,48 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +foreach@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" + integrity sha1-C+4AUBiusmDQo6865ljdATbsG5k= + fsevents@~2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" + integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + get-port@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119" integrity sha512-/b3jarXkH8KJoOMQc3uVGHASwGLPq3gSFJ7tgJm2diza+bydJPTGOibin2steecKeOylE8oY2JERlVWkAJO6yw== +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -1382,6 +1835,11 @@ globals@^13.2.0: dependencies: type-fest "^0.20.2" +has-bigints@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.1.tgz#64fe6acb020673e3b78db035a5af69aa9d07b113" + integrity sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA== + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -1392,6 +1850,51 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== +has-symbols@^1.0.1, has-symbols@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +hash-base@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" + integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== + dependencies: + inherits "^2.0.4" + readable-stream "^3.6.0" + safe-buffer "^5.2.0" + +hash.js@^1.0.0, hash.js@^1.0.3: + version "1.1.7" + resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" + integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== + dependencies: + inherits "^2.0.3" + minimalistic-assert "^1.0.1" + +hmac-drbg@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" + integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE= + dependencies: + hash.js "^1.0.3" + minimalistic-assert "^1.0.0" + minimalistic-crypto-utils "^1.0.1" + htmlnano@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/htmlnano/-/htmlnano-2.0.0.tgz#07376faa064f7e1e832dfd91e1a9f606b0bc9b78" @@ -1416,6 +1919,11 @@ idb@^7.0.0: resolved "https://registry.yarnpkg.com/idb/-/idb-7.0.0.tgz#f349b418c128f625961147a7d6b0e4b526fd34ed" integrity sha512-jSx0WOY9Nj+QzP6wX5e7g64jqh8ExtDs/IAuOrOEZCD/h6+0HqyrKsDMfdJc0hqhSvh0LsrwqrkDn+EtjjzSRA== +ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + immutable@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0.tgz#b86f78de6adef3608395efb269a91462797e2c23" @@ -1429,11 +1937,40 @@ import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" +inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +internal-slot@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" + integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== + dependencies: + get-intrinsic "^1.1.0" + has "^1.0.3" + side-channel "^1.0.4" + +is-arguments@^1.0.4: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" + integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + is-binary-path@~2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" @@ -1441,11 +1978,43 @@ is-binary-path@~2.1.0: dependencies: binary-extensions "^2.0.0" +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-callable@^1.1.4, is-callable@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" + integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== + +is-date-object@^1.0.1: + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-function@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" + integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== + dependencies: + has-tostringtag "^1.0.0" + is-glob@^4.0.1, is-glob@~4.0.1: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" @@ -1458,11 +2027,76 @@ is-json@^2.0.1: resolved "https://registry.yarnpkg.com/is-json/-/is-json-2.0.1.tgz#6be166d144828a131d686891b983df62c39491ff" integrity sha1-a+Fm0USCihMdaGiRuYPfYsOUkf8= +is-nan@^1.2.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/is-nan/-/is-nan-1.3.2.tgz#043a54adea31748b55b6cd4e09aadafa69bd9e1d" + integrity sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w== + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + +is-negative-zero@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.6.tgz#6a7aaf838c7f0686a50b4553f7e54a96494e89f0" + integrity sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g== + dependencies: + has-tostringtag "^1.0.0" + is-number@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-shared-array-buffer@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz#97b0c85fbdacb59c9c446fe653b82cf2b5b7cfe6" + integrity sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA== + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +is-typed-array@^1.1.3, is-typed-array@^1.1.7: + version "1.1.8" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.8.tgz#cbaa6585dc7db43318bc5b89523ea384a6f65e79" + integrity sha512-HqH41TNZq2fgtGT8WHVFVJhBVGuY3AnP3Q36K8JKXUxSxRgk/d+7NjmwG2vo2mYmXK8UYZKu0qH8bVP5gEisjA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-abstract "^1.18.5" + foreach "^2.0.5" + has-tostringtag "^1.0.0" + +is-weakref@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + "js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" @@ -1523,11 +2157,38 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +md5.js@^1.3.4: + version "1.3.5" + resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" + integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + safe-buffer "^5.1.2" + mdn-data@2.0.14: version "2.0.14" resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== +miller-rabin@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" + integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== + dependencies: + bn.js "^4.0.0" + brorand "^1.0.1" + +minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimalistic-crypto-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" + integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo= + minimist@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" @@ -1600,11 +2261,44 @@ object-assign@^4.1.1: resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= +object-inspect@^1.11.0, object-inspect@^1.9.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" + integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== + +object-is@^1.0.1: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" + integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + +object-keys@^1.0.12, object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" + integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + has-symbols "^1.0.1" + object-keys "^1.1.1" + ordered-binary@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/ordered-binary/-/ordered-binary-1.2.4.tgz#51d3a03af078a0bdba6c7bc8f4fedd1f5d45d83e" integrity sha512-A/csN0d3n+igxBPfUrjbV5GC69LWj2pjZzAAeeHXLukQ4+fytfP4T1Lg0ju7MSPSwq7KtHkGaiwO8URZN5IpLg== +os-browserify@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27" + integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc= + parcel@^2.3.2: version "2.3.2" resolved "https://registry.yarnpkg.com/parcel/-/parcel-2.3.2.tgz#d1cb475f27edae981edea7a7104e04d3a35a87ca" @@ -1632,6 +2326,17 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +parse-asn1@^5.0.0, parse-asn1@^5.1.5: + version "5.1.6" + resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" + integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== + dependencies: + asn1.js "^5.2.0" + browserify-aes "^1.0.0" + evp_bytestokey "^1.0.0" + pbkdf2 "^3.0.3" + safe-buffer "^5.1.1" + parse-json@^5.0.0: version "5.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" @@ -1642,11 +2347,27 @@ parse-json@^5.0.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +path-browserify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd" + integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g== + path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +pbkdf2@^3.0.3: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" + integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== + dependencies: + create-hash "^1.1.2" + create-hmac "^1.1.4" + ripemd160 "^2.0.1" + safe-buffer "^5.0.1" + sha.js "^2.4.8" + picocolors@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" @@ -1657,6 +2378,14 @@ picomatch@^2.0.4, picomatch@^2.2.1: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== +"plugbox@file:../plugbox": + version "1.0.0" + dependencies: + esbuild "^0.14.24" + typescript ">=3.0.0" + vm2 "^3.9.9" + yargs "^17.3.1" + postcss-calc@^8.2.0: version "8.2.4" resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" @@ -1906,6 +2635,48 @@ prop-types@^15.8.1: object-assign "^4.1.1" react-is "^16.13.1" +public-encrypt@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" + integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== + dependencies: + bn.js "^4.1.0" + browserify-rsa "^4.0.0" + create-hash "^1.1.0" + parse-asn1 "^5.0.0" + randombytes "^2.0.1" + safe-buffer "^5.1.2" + +punycode@1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" + integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0= + +querystring-es3@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73" + integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM= + +querystring@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" + integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA= + +randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5: + version "2.1.0" + resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +randomfill@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" + integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== + dependencies: + randombytes "^2.0.5" + safe-buffer "^5.1.0" + react-dom@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" @@ -1933,6 +2704,15 @@ react@^17.0.2: loose-envify "^1.1.0" object-assign "^4.1.1" +readable-stream@^3.5.0, readable-stream@^3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + readdirp@~3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -1945,16 +2725,34 @@ regenerator-runtime@^0.13.7: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + resolve-from@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== -safe-buffer@^5.0.1: +ripemd160@^2.0.0, ripemd160@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" + integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== + dependencies: + hash-base "^3.0.0" + inherits "^2.0.1" + +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== +safer-buffer@^2.1.0: + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + sass@^1.38.0: version "1.49.9" resolved "https://registry.yarnpkg.com/sass/-/sass-1.49.9.tgz#b15a189ecb0ca9e24634bae5d1ebc191809712f9" @@ -1977,6 +2775,23 @@ semver@^5.7.0, semver@^5.7.1: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== +sha.js@^2.4.0, sha.js@^2.4.8: + version "2.4.11" + resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" + integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== + dependencies: + inherits "^2.0.1" + safe-buffer "^5.0.1" + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + "source-map-js@>=0.6.2 <2.0.0", source-map-js@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" @@ -2005,6 +2820,53 @@ stable@^0.1.8: resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== +stream-browserify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/stream-browserify/-/stream-browserify-3.0.0.tgz#22b0a2850cdf6503e73085da1fc7b7d0c2122f2f" + integrity sha512-H73RAHsVBapbim0tU2JwwOiXUj+fikfiaoYAKHF3VJfA0pe2BCzkhAHBlLG6REzE+2WNZcxOXjK7lkso+9euLA== + dependencies: + inherits "~2.0.4" + readable-stream "^3.5.0" + +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string.prototype.trimend@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80" + integrity sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + +string.prototype.trimstart@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz#b36399af4ab2999b4c9c648bd7a3fb2bb26feeed" + integrity sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + style-mod@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/style-mod/-/style-mod-4.0.0.tgz#97e7c2d68b592975f2ca7a63d0dd6fcacfe35a01" @@ -2066,6 +2928,11 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" +tty-browserify@^0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.1.tgz#3f05251ee17904dfd0677546670db9651682b811" + integrity sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw== + type-fest@^0.20.2: version "0.20.2" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" @@ -2081,11 +2948,41 @@ uglify-js@^3.15.1: resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.1.tgz#9403dc6fa5695a6172a91bc983ea39f0f7c9086d" integrity sha512-FAGKF12fWdkpvNJZENacOH0e/83eG6JyVQyanIJaBXCN1J11TUQv1T1/z8S+Z0CG0ZPk1nPcreF/c7lrTd0TEQ== -util-deprecate@^1.0.2: +unbox-primitive@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" + integrity sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw== + dependencies: + function-bind "^1.1.1" + has-bigints "^1.0.1" + has-symbols "^1.0.2" + which-boxed-primitive "^1.0.2" + +url@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1" + integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE= + dependencies: + punycode "1.3.2" + querystring "0.2.0" + +util-deprecate@^1.0.1, util-deprecate@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= +util@^0.12.0, util@^0.12.4: + version "0.12.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253" + integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw== + dependencies: + inherits "^2.0.3" + is-arguments "^1.0.4" + is-generator-function "^1.0.7" + is-typed-array "^1.1.3" + safe-buffer "^5.1.2" + which-typed-array "^1.1.2" + utility-types@^3.10.0: version "3.10.0" resolved "https://registry.yarnpkg.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" @@ -2096,6 +2993,14 @@ v8-compile-cache@^2.0.0: resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== +vm2@^3.9.9: + version "3.9.9" + resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.9.tgz#c0507bc5fbb99388fad837d228badaaeb499ddc5" + integrity sha512-xwTm7NLh/uOjARRBs8/95H0e8fT3Ukw5D/JJWhxMbhKzNh1Nu981jQKvkep9iKYNxzlVrdzD0mlBGkDKZWprlw== + dependencies: + acorn "^8.7.0" + acorn-walk "^8.2.0" + w3c-keyname@^2.2.4: version "2.2.4" resolved "https://registry.yarnpkg.com/w3c-keyname/-/w3c-keyname-2.2.4.tgz#4ade6916f6290224cdbd1db8ac49eab03d0eef6b" @@ -2106,12 +3011,67 @@ weak-lru-cache@^1.2.2: resolved "https://registry.yarnpkg.com/weak-lru-cache/-/weak-lru-cache-1.2.2.tgz#fdbb6741f36bae9540d12f480ce8254060dccd19" integrity sha512-DEAoo25RfSYMuTGc9vPJzZcZullwIqRDSI9LOy+fkCJPi6hykCnfKaXTuPBDuXAUcqHXyOgFtHNp/kB2FjYHbw== +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which-typed-array@^1.1.2: + version "1.1.7" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.7.tgz#2761799b9a22d4b8660b3c1b40abaa7739691793" + integrity sha512-vjxaB4nfDqwKI0ws7wZpxIlde1XrLX5uB0ZjpfshgmapJMD7jJWhZI+yToJTqaFByF0eNBcYxbjmCzoRP7CfEw== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-abstract "^1.18.5" + foreach "^2.0.5" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.7" + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + xxhash-wasm@^0.4.2: version "0.4.2" resolved "https://registry.yarnpkg.com/xxhash-wasm/-/xxhash-wasm-0.4.2.tgz#752398c131a4dd407b5132ba62ad372029be6f79" integrity sha512-/eyHVRJQCirEkSZ1agRSCwriMhwlyUcFkXD5TPVSLP+IPzjsqMVzZwdoczLp1SoQU0R3dxz1RpIK+4YNQbCVOA== +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + yaml@^1.10.0, yaml@^1.10.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + +yargs-parser@^21.0.0: + version "21.0.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.0.1.tgz#0267f286c877a4f0f728fceb6f8a3e4cb95c6e35" + integrity sha512-9BK1jFpLzJROCI5TzwZL/TU4gqjK5xiHV/RfWLOahrjAko/e4DJkRDZQXfvqAsiZzzYhgAzbgz6lg48jcm4GLg== + +yargs@^17.3.1: + version "17.3.1" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.3.1.tgz#da56b28f32e2fd45aefb402ed9c26f42be4c07b9" + integrity sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.0.0"