@docusaurus/theme-live-codeblock 2.0.0-beta.0e652730d → 2.0.0-beta.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ const path = require('path');
9
+ const fs = require('fs-extra');
10
+
11
+ /**
12
+ * Copy all untyped and static assets files to lib.
13
+ */
14
+ const srcDir = path.resolve(__dirname, 'src');
15
+ const libDir = path.resolve(__dirname, 'lib');
16
+ fs.copySync(srcDir, libDir, {
17
+ filter(filepath) {
18
+ return !/__tests__/.test(filepath) && !/\.tsx?$/.test(filepath);
19
+ },
20
+ });
@@ -0,0 +1 @@
1
+ {"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/tslib/tslib.d.ts","../src/custom-buble.ts","../../../node_modules/magic-string/index.d.ts","../../../node_modules/@types/buble/index.d.ts","../src/deps.d.ts","../../docusaurus-theme-translations/lib/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/schema-utils/declarations/validationerror.d.ts","../../../node_modules/ajv/lib/ajv.d.ts","../../../node_modules/schema-utils/declarations/validate.d.ts","../../../node_modules/schema-utils/declarations/index.d.ts","../../../node_modules/tapable/tapable.d.ts","../../../node_modules/webpack/types.d.ts","../../docusaurus-types/node_modules/commander/typings/index.d.ts","../../../node_modules/joi/lib/index.d.ts","../../../node_modules/utility-types/dist/aliases-and-guards.d.ts","../../../node_modules/utility-types/dist/mapped-types.d.ts","../../../node_modules/utility-types/dist/utility-types.d.ts","../../../node_modules/utility-types/dist/functional-helpers.d.ts","../../../node_modules/utility-types/dist/index.d.ts","../../docusaurus-types/src/index.d.ts","../../docusaurus-utils-validation/lib/joi.d.ts","../../docusaurus-utils-validation/lib/joifrontmatter.d.ts","../../docusaurus-utils-validation/lib/validationutils.d.ts","../../docusaurus-utils-validation/lib/validationschemas.d.ts","../../docusaurus-utils-validation/lib/index.d.ts","../src/validatethemeconfig.ts","../src/index.ts","../../../node_modules/@babel/types/lib/index.d.ts","../../../node_modules/@types/babel__generator/index.d.ts","../../../node_modules/@babel/parser/typings/babel-parser.d.ts","../../../node_modules/@types/babel__template/index.d.ts","../../../node_modules/@types/babel__traverse/index.d.ts","../../../node_modules/@types/babel__core/index.d.ts","../../../node_modules/@types/node/assert.d.ts","../../../node_modules/@types/node/globals.d.ts","../../../node_modules/@types/node/async_hooks.d.ts","../../../node_modules/@types/node/buffer.d.ts","../../../node_modules/@types/node/child_process.d.ts","../../../node_modules/@types/node/cluster.d.ts","../../../node_modules/@types/node/console.d.ts","../../../node_modules/@types/node/constants.d.ts","../../../node_modules/@types/node/crypto.d.ts","../../../node_modules/@types/node/dgram.d.ts","../../../node_modules/@types/node/dns.d.ts","../../../node_modules/@types/node/domain.d.ts","../../../node_modules/@types/node/events.d.ts","../../../node_modules/@types/node/fs.d.ts","../../../node_modules/@types/node/fs/promises.d.ts","../../../node_modules/@types/node/http.d.ts","../../../node_modules/@types/node/http2.d.ts","../../../node_modules/@types/node/https.d.ts","../../../node_modules/@types/node/inspector.d.ts","../../../node_modules/@types/node/module.d.ts","../../../node_modules/@types/node/net.d.ts","../../../node_modules/@types/node/os.d.ts","../../../node_modules/@types/node/path.d.ts","../../../node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/@types/node/process.d.ts","../../../node_modules/@types/node/punycode.d.ts","../../../node_modules/@types/node/querystring.d.ts","../../../node_modules/@types/node/readline.d.ts","../../../node_modules/@types/node/repl.d.ts","../../../node_modules/@types/node/stream.d.ts","../../../node_modules/@types/node/string_decoder.d.ts","../../../node_modules/@types/node/timers.d.ts","../../../node_modules/@types/node/tls.d.ts","../../../node_modules/@types/node/trace_events.d.ts","../../../node_modules/@types/node/tty.d.ts","../../../node_modules/@types/node/url.d.ts","../../../node_modules/@types/node/util.d.ts","../../../node_modules/@types/node/v8.d.ts","../../../node_modules/@types/node/vm.d.ts","../../../node_modules/@types/node/wasi.d.ts","../../../node_modules/@types/node/worker_threads.d.ts","../../../node_modules/@types/node/zlib.d.ts","../../../node_modules/@types/node/globals.global.d.ts","../../../node_modules/@types/node/index.d.ts","../../../node_modules/@types/connect/index.d.ts","../../../node_modules/@types/body-parser/index.d.ts","../../../node_modules/@types/bonjour/index.d.ts","../../../node_modules/@types/braces/index.d.ts","../../../node_modules/@types/keyv/index.d.ts","../../../node_modules/@types/http-cache-semantics/index.d.ts","../../../node_modules/@types/responselike/index.d.ts","../../../node_modules/@types/cacheable-request/index.d.ts","../../../node_modules/source-map/source-map.d.ts","../../../node_modules/@types/clean-css/index.d.ts","../../../node_modules/@types/color-name/index.d.ts","../../../node_modules/@types/color-convert/conversions.d.ts","../../../node_modules/@types/color-convert/route.d.ts","../../../node_modules/@types/color-convert/index.d.ts","../../../node_modules/@types/color/index.d.ts","../../../node_modules/@types/range-parser/index.d.ts","../../../node_modules/@types/qs/index.d.ts","../../../node_modules/@types/express-serve-static-core/index.d.ts","../../../node_modules/@types/connect-history-api-fallback/index.d.ts","../../../node_modules/@types/copy-webpack-plugin/index.d.ts","../../../node_modules/@types/cssnano/node_modules/postcss/lib/postcss.d.ts","../../../node_modules/@types/cssnano/index.d.ts","../../../node_modules/source-map-js/source-map.d.ts","../../../node_modules/postcss/lib/comment.d.ts","../../../node_modules/postcss/lib/at-rule.d.ts","../../../node_modules/postcss/lib/rule.d.ts","../../../node_modules/postcss/lib/container.d.ts","../../../node_modules/postcss/lib/declaration.d.ts","../../../node_modules/postcss/lib/warning.d.ts","../../../node_modules/postcss/lib/previous-map.d.ts","../../../node_modules/postcss/lib/input.d.ts","../../../node_modules/postcss/lib/css-syntax-error.d.ts","../../../node_modules/postcss/lib/document.d.ts","../../../node_modules/postcss/lib/root.d.ts","../../../node_modules/postcss/lib/lazy-result.d.ts","../../../node_modules/postcss/lib/processor.d.ts","../../../node_modules/postcss/lib/result.d.ts","../../../node_modules/postcss/lib/node.d.ts","../../../node_modules/postcss/lib/list.d.ts","../../../node_modules/postcss/lib/postcss.d.ts","../../../node_modules/@types/css-minimizer-webpack-plugin/index.d.ts","../../../node_modules/@types/decompress/index.d.ts","../../../node_modules/@types/dedent/index.d.ts","../../../node_modules/@types/detect-port/index.d.ts","../../../node_modules/p-cancelable/index.d.ts","../../../node_modules/@szmarczak/http-timer/dist/source/index.d.ts","../../../node_modules/cacheable-lookup/index.d.ts","../../../node_modules/got/node_modules/type-fest/source/basic.d.ts","../../../node_modules/got/node_modules/type-fest/source/except.d.ts","../../../node_modules/got/node_modules/type-fest/source/mutable.d.ts","../../../node_modules/got/node_modules/type-fest/source/merge.d.ts","../../../node_modules/got/node_modules/type-fest/source/merge-exclusive.d.ts","../../../node_modules/got/node_modules/type-fest/source/require-at-least-one.d.ts","../../../node_modules/got/node_modules/type-fest/source/require-exactly-one.d.ts","../../../node_modules/got/node_modules/type-fest/source/partial-deep.d.ts","../../../node_modules/got/node_modules/type-fest/source/readonly-deep.d.ts","../../../node_modules/got/node_modules/type-fest/source/literal-union.d.ts","../../../node_modules/got/node_modules/type-fest/source/promisable.d.ts","../../../node_modules/got/node_modules/type-fest/source/opaque.d.ts","../../../node_modules/got/node_modules/type-fest/source/set-optional.d.ts","../../../node_modules/got/node_modules/type-fest/source/set-required.d.ts","../../../node_modules/got/node_modules/type-fest/source/package-json.d.ts","../../../node_modules/got/node_modules/type-fest/source/tsconfig-json.d.ts","../../../node_modules/got/node_modules/type-fest/index.d.ts","../../../node_modules/got/dist/source/as-stream.d.ts","../../../node_modules/got/dist/source/utils/timed-out.d.ts","../../../node_modules/got/dist/source/errors.d.ts","../../../node_modules/got/dist/source/create.d.ts","../../../node_modules/got/dist/source/known-hook-events.d.ts","../../../node_modules/got/dist/source/utils/options-to-url.d.ts","../../../node_modules/got/dist/source/types.d.ts","../../../node_modules/got/dist/source/index.d.ts","../../../node_modules/@types/download/index.d.ts","../../../node_modules/@types/escape-html/index.d.ts","../../../node_modules/@types/eslint/helpers.d.ts","../../../node_modules/@types/eslint/index.d.ts","../../../node_modules/@types/eslint-scope/index.d.ts","../../../node_modules/@types/mime/index.d.ts","../../../node_modules/@types/serve-static/index.d.ts","../../../node_modules/@types/express/index.d.ts","../../../node_modules/@types/fs-extra/index.d.ts","../../../node_modules/@types/github-slugger/index.d.ts","../../../node_modules/@types/minimatch/index.d.ts","../../../node_modules/@types/glob/index.d.ts","../../../node_modules/@types/got/index.d.ts","../../../node_modules/@types/graceful-fs/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/hast/index.d.ts","../../../node_modules/@types/history/domutils.d.ts","../../../node_modules/@types/history/createbrowserhistory.d.ts","../../../node_modules/@types/history/createhashhistory.d.ts","../../../node_modules/@types/history/creatememoryhistory.d.ts","../../../node_modules/@types/history/locationutils.d.ts","../../../node_modules/@types/history/pathutils.d.ts","../../../node_modules/@types/history/index.d.ts","../../../node_modules/@types/uglify-js/index.d.ts","../../../node_modules/@types/relateurl/index.d.ts","../../../node_modules/@types/html-minifier/index.d.ts","../../../node_modules/@types/html-minifier-terser/index.d.ts","../../../node_modules/@types/html-webpack-plugin/index.d.ts","../../../node_modules/@types/http-proxy/index.d.ts","../../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../../node_modules/@types/istanbul-lib-report/index.d.ts","../../../node_modules/@types/istanbul-reports/index.d.ts","../../../node_modules/jest-diff/build/cleanupsemantic.d.ts","../../../node_modules/jest-diff/build/types.d.ts","../../../node_modules/jest-diff/build/difflines.d.ts","../../../node_modules/jest-diff/build/printdiffs.d.ts","../../../node_modules/jest-diff/build/index.d.ts","../../../node_modules/pretty-format/build/types.d.ts","../../../node_modules/pretty-format/build/index.d.ts","../../../node_modules/@types/jest/index.d.ts","../../../node_modules/@types/js-yaml/index.d.ts","../../../node_modules/ast-types/types.d.ts","../../../node_modules/ast-types/gen/namedtypes.d.ts","../../../node_modules/ast-types/gen/kinds.d.ts","../../../node_modules/ast-types/gen/builders.d.ts","../../../node_modules/ast-types/lib/types.d.ts","../../../node_modules/ast-types/lib/path.d.ts","../../../node_modules/ast-types/lib/scope.d.ts","../../../node_modules/ast-types/lib/node-path.d.ts","../../../node_modules/ast-types/lib/path-visitor.d.ts","../../../node_modules/ast-types/gen/visitor.d.ts","../../../node_modules/ast-types/main.d.ts","../../../node_modules/recast/lib/options.d.ts","../../../node_modules/recast/lib/parser.d.ts","../../../node_modules/recast/lib/printer.d.ts","../../../node_modules/recast/main.d.ts","../../../node_modules/@types/jscodeshift/src/collections/jsxelement.d.ts","../../../node_modules/@types/jscodeshift/src/collections/node.d.ts","../../../node_modules/@types/jscodeshift/src/collections/variabledeclarator.d.ts","../../../node_modules/@types/jscodeshift/src/collection.d.ts","../../../node_modules/@types/jscodeshift/src/template.d.ts","../../../node_modules/@types/jscodeshift/src/core.d.ts","../../../node_modules/@types/jscodeshift/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/katex/contrib/auto-render.d.ts","../../../node_modules/@types/katex/contrib/katex2tex.d.ts","../../../node_modules/@types/katex/contrib/index.d.ts","../../../node_modules/@types/katex/index.d.ts","../../../node_modules/@types/loader-utils/index.d.ts","../../../node_modules/@types/lodash/common/common.d.ts","../../../node_modules/@types/lodash/common/array.d.ts","../../../node_modules/@types/lodash/common/collection.d.ts","../../../node_modules/@types/lodash/common/date.d.ts","../../../node_modules/@types/lodash/common/function.d.ts","../../../node_modules/@types/lodash/common/lang.d.ts","../../../node_modules/@types/lodash/common/math.d.ts","../../../node_modules/@types/lodash/common/number.d.ts","../../../node_modules/@types/lodash/common/object.d.ts","../../../node_modules/@types/lodash/common/seq.d.ts","../../../node_modules/@types/lodash/common/string.d.ts","../../../node_modules/@types/lodash/common/util.d.ts","../../../node_modules/@types/lodash/index.d.ts","../../../node_modules/@types/mdast/index.d.ts","../../../node_modules/@types/react/global.d.ts","../../../node_modules/csstype/index.d.ts","../../../node_modules/@types/prop-types/index.d.ts","../../../node_modules/@types/scheduler/tracing.d.ts","../../../node_modules/@types/react/index.d.ts","../../../node_modules/@types/mdx-js__react/index.d.ts","../../../node_modules/@types/micromatch/index.d.ts","../../../node_modules/@types/mini-css-extract-plugin/index.d.ts","../../../node_modules/@types/minimist/index.d.ts","../../../node_modules/form-data/index.d.ts","../../../node_modules/@types/node-fetch/externals.d.ts","../../../node_modules/@types/node-fetch/index.d.ts","../../../node_modules/@types/normalize-package-data/index.d.ts","../../../node_modules/@types/nprogress/index.d.ts","../../../node_modules/@types/parse-json/index.d.ts","../../../node_modules/@types/parse-numeric-range/index.d.ts","../../../node_modules/@types/parse5/index.d.ts","../../../node_modules/@types/picomatch/lib/constants.d.ts","../../../node_modules/@types/picomatch/lib/parse.d.ts","../../../node_modules/@types/picomatch/lib/scan.d.ts","../../../node_modules/@types/picomatch/lib/picomatch.d.ts","../../../node_modules/@types/picomatch/index.d.ts","../../../node_modules/@types/prettier/index.d.ts","../../../node_modules/@types/prismjs/index.d.ts","../../../node_modules/@types/prompts/index.d.ts","../../../node_modules/@types/react-dev-utils/index.d.ts","../../../node_modules/@types/react-dom/index.d.ts","../../../node_modules/@types/react-helmet/index.d.ts","../../../node_modules/@types/react-router/index.d.ts","../../../node_modules/@types/react-router-config/index.d.ts","../../../node_modules/@types/react-router-dom/index.d.ts","../../../node_modules/@types/react-test-renderer/index.d.ts","../../../node_modules/@types/resolve/index.d.ts","../../../node_modules/@types/retry/index.d.ts","../../../node_modules/@types/rtl-detect/index.d.ts","../../../node_modules/@types/rtlcss/index.d.ts","../../../node_modules/@types/sax/index.d.ts","../../../node_modules/@types/scheduler/index.d.ts","../../../node_modules/@types/semver/classes/semver.d.ts","../../../node_modules/@types/semver/functions/parse.d.ts","../../../node_modules/@types/semver/functions/valid.d.ts","../../../node_modules/@types/semver/functions/clean.d.ts","../../../node_modules/@types/semver/functions/inc.d.ts","../../../node_modules/@types/semver/functions/diff.d.ts","../../../node_modules/@types/semver/functions/major.d.ts","../../../node_modules/@types/semver/functions/minor.d.ts","../../../node_modules/@types/semver/functions/patch.d.ts","../../../node_modules/@types/semver/functions/prerelease.d.ts","../../../node_modules/@types/semver/functions/compare.d.ts","../../../node_modules/@types/semver/functions/rcompare.d.ts","../../../node_modules/@types/semver/functions/compare-loose.d.ts","../../../node_modules/@types/semver/functions/compare-build.d.ts","../../../node_modules/@types/semver/functions/sort.d.ts","../../../node_modules/@types/semver/functions/rsort.d.ts","../../../node_modules/@types/semver/functions/gt.d.ts","../../../node_modules/@types/semver/functions/lt.d.ts","../../../node_modules/@types/semver/functions/eq.d.ts","../../../node_modules/@types/semver/functions/neq.d.ts","../../../node_modules/@types/semver/functions/gte.d.ts","../../../node_modules/@types/semver/functions/lte.d.ts","../../../node_modules/@types/semver/functions/cmp.d.ts","../../../node_modules/@types/semver/functions/coerce.d.ts","../../../node_modules/@types/semver/classes/comparator.d.ts","../../../node_modules/@types/semver/classes/range.d.ts","../../../node_modules/@types/semver/functions/satisfies.d.ts","../../../node_modules/@types/semver/ranges/max-satisfying.d.ts","../../../node_modules/@types/semver/ranges/min-satisfying.d.ts","../../../node_modules/@types/semver/ranges/to-comparators.d.ts","../../../node_modules/@types/semver/ranges/min-version.d.ts","../../../node_modules/@types/semver/ranges/valid.d.ts","../../../node_modules/@types/semver/ranges/outside.d.ts","../../../node_modules/@types/semver/ranges/gtr.d.ts","../../../node_modules/@types/semver/ranges/ltr.d.ts","../../../node_modules/@types/semver/ranges/intersects.d.ts","../../../node_modules/@types/semver/ranges/simplify.d.ts","../../../node_modules/@types/semver/ranges/subset.d.ts","../../../node_modules/@types/semver/internals/identifiers.d.ts","../../../node_modules/@types/semver/index.d.ts","../../../node_modules/@types/serve-handler/index.d.ts","../../../node_modules/@types/serve-index/index.d.ts","../../../node_modules/@types/sharp/index.d.ts","../../../node_modules/@types/shelljs/index.d.ts","../../../node_modules/@types/source-list-map/index.d.ts","../../../node_modules/@types/stack-utils/index.d.ts","../../../node_modules/@types/stringify-object/index.d.ts","../../../node_modules/@types/supports-color/index.d.ts","../../../node_modules/@types/tapable/index.d.ts","../../../node_modules/@types/trusted-types/lib/index.d.ts","../../../node_modules/@types/trusted-types/index.d.ts","../../../node_modules/@types/wait-on/index.d.ts","../../../node_modules/anymatch/index.d.ts","../../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts","../../../node_modules/@types/webpack-sources/lib/source.d.ts","../../../node_modules/@types/webpack-sources/lib/compatsource.d.ts","../../../node_modules/@types/webpack-sources/lib/concatsource.d.ts","../../../node_modules/@types/webpack-sources/lib/originalsource.d.ts","../../../node_modules/@types/webpack-sources/lib/prefixsource.d.ts","../../../node_modules/@types/webpack-sources/lib/rawsource.d.ts","../../../node_modules/@types/webpack-sources/lib/replacesource.d.ts","../../../node_modules/@types/webpack-sources/lib/sizeonlysource.d.ts","../../../node_modules/@types/webpack-sources/lib/sourcemapsource.d.ts","../../../node_modules/@types/webpack-sources/lib/index.d.ts","../../../node_modules/@types/webpack-sources/lib/cachedsource.d.ts","../../../node_modules/@types/webpack-sources/index.d.ts","../../../node_modules/@types/webpack/index.d.ts","../../../node_modules/@types/webpack-bundle-analyzer/index.d.ts","../../../node_modules/@types/webpack-dev-middleware/index.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/types.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/response-interceptor.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/fix-request-body.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/public.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/handlers/index.d.ts","../../../node_modules/@types/webpack-dev-server/node_modules/http-proxy-middleware/dist/index.d.ts","../../../node_modules/chokidar/types/index.d.ts","../../../node_modules/@types/webpack-dev-server/index.d.ts","../../../node_modules/@types/yargs-parser/index.d.ts","../../../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","34b62b55302921476af4075ae52bead1acbad116334d31e2cdf69252fb2c7e42","df66dd87e5338e59ca0550af424ba22c59a8f4b30b20a214b6ed250562b7c755","4df33232578477b818eb7d40c8558ccf4afde30e920f9503cd359307a1771d8a","319f29e9a75f6150d610df066c476423a5e094cf57623c0eddfdd89d357648b5","75b4ed65e972aab8d327c5a6bd0f7dc0a688bcbac2d701ed8d0fb1f653af4b50","7d7c8ef7d48a035142c07dae60545ecc0e4af4c337742760cb09726f2f8e31db","0359682c54e487c4cab2b53b2b4d35cc8dea4d9914bc6abcdb5701f8b8e745a4","dee5d387e2e6f3015cbf91fc0c13ed6f016f9c5c1f2ad9c62602f4fd398fa83a","67f129ed8b372622ff36b8b10e39d03e09e363a5ff7821105f92f085b8d1ccba","721124f5db1f4a42da2308dfa1414d2e99055d2dfc59de7bf2e0b6ac64356c0e","0d7569149194d622212c21d5d162b0715d5a6ca764cebae7145fdbaff1e07311","cd74c8275483d3fe0d07a9b4bba28845a8a611f0aa399e961dbd40e5d46dd9ad","1bb77ef90f80a26d5db0b56e51a629bf43a67806b229aa255a4f5863483978c6","c72b982add26c5ddf410899bcafe3f47253a5d274d4b93d2ef67850d4af4545b","79468f5936bec0f62d7866f43bdc90969d996f2919b0c09618fcf8779534dced","bd0d80db12ef1aceefc4f9d3eb88517b9634fa747ae8475981da8655292feab8","55e68fb1618e3f55f7866b8c8415152159309a14b716370081ab0b7af96d876e","bf0491af2455f92282b61807be2be6e7ad7d532e47fac7b698019d3617c28ff7","5d874fb879ab8601c02549817dceb2d0a30729cb7e161625dd6f819bbff1ec0b","ee551a880882770c4f56a0964a9767c9feafe497a5be52652527d098c88d85cb","53900b299c790f5adc0d12e81a5762419d96de7c161dcec830d26617b30c085a","889859c907d8388cfe92d4bdfe5b5ff0885a41e6e4568691230e21757f7673c9","df8e0b622962e734e62c8e98423622900d62abd0a9fadc9a9c2bd095bf34952a","587d29bdf3f945aef9e94f92cdb8fa90b0ecbce7e6dc76411875ed5b436cd1be","faf6642e20b9b95375af851dee261aa115bc1204a41dcca7740cbdde4b9af52e","8387c74026355f5df1eec752beaf0f88c87a3a23f8945e3728984a08fa40d106","7d2796a00fb06bd46fafc950d96a8d5b3f75de73704063154595590d1f149bd3","b70f76b37905d855b1f6ade322eea23a02a6cfcb1cb0337f47ef42b8177858de","272c2dac4baaf7fdd2d7efeef0fa2547af54cc21883c5e138b8c4d1661697a54","8dfed5c91ad36e69e6da6b7e49be929d4e19666db2b651aa839c485170a2902c","64b867c61effed7b5bc0cc06b3d8eac23b067a3fba581fc7d3c292fa593e6a45","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","3b043cf9a81854a72963fdb57d1884fc4da1cf5be69b5e0a4c5b751e58cb6d88","d0b0a00cf31968a33baeaadf974ce4e5e7edf58cea5288765293f41ba5e72b3a","d555cd63a3fc837840db192596273fdf52fb28092b0a33bec98e89a0334b3a4c",{"version":"dc5f6951bbf5b544349cbdef895c08dee6929818abd27d7d53c38cf1209091b3","affectsGlobalScope":true},"85d545d430795d54a8b2896f67f9aeb7bf19fd74a1469ae0627311eb72f0dfa2","a473cf45c3d9809518f8af913312139d9f4db6887dc554e0d06d0f4e52722e6b","d5afcd002167b6b03d595fb8b9630a00456b6fb9d2c5e8b6aaa30cb31bc44e2b","3d68ecf05475492f041c88395372c3a01b30351619bebcd38287ab185be7f7e4",{"version":"a97ac401f6b334e9b1f6c8ee9319d6e21cc39d2f400e909805dfb8ab5eab0576","affectsGlobalScope":true},"45ac321f2e15d268fd74a90ddaa6467dcaaff2c5b13f95b4b85831520fb7a491","7674b65ac0a3b160232d84464b3486d727415581e5b99ff4aec324500adc98a4","87f16999a5832968485f6e20dd70529399143c3cf35003485020a037f338b75f","508e1e25ca40ea6cde332d3232c826fcd82f456f45ae535d817754684f048f9e",{"version":"2866a528b2708aa272ec3eaafd3c980abb23aec1ef831cfc5eb2186b98c37ce5","affectsGlobalScope":true},{"version":"8f8f6ee2a0c94077f79439f51640a625ac7e2f5dd6866bd3b5a41705c836adfc","affectsGlobalScope":true},"ad908b2432dc4143f3439d3c625255f1050447a0232a1e9c2bffa20f37ec0097","e8d2d40a15313520a510409c8f3aeed28b79aab61af41ae65084570f9843b306","9700d148ccc0784923f66a3a7162e523172b530e8b3aa9834f53a6e893127c80","88587b5c94b0c4f5d78026e4beeb93383b3933c860d9840b55d6bf47d7b632bb","a473ecd14d9bafbd6a33105524b033237bbf1d6ce2cd81eb71cc54bec2d83d55","4e9f66d07d1687983ef1903654f4a4977563a0318046e893c5ecdb4dac25d376","0cff7901aedfe78e314f7d44088f07e2afa1b6e4f0473a4169b8456ca2fb245d","7a2a3ff87ffd4313a6a2f3b012e801dd249ee58152cedf90c8718dcd2c811fe3","69640cc2e76dad52daeb9914e6b70c5c9a5591a3a65190a2d3ea432cf0015e16","a39a4c527b7a2dc7a2661b711a534c10c76852c5ad6ae320767d3f7d2621b67d","1bb5c9857b2ee32c199dd85bc0f4c0299112485d6e5dc91428eabfdee0dbd68c",{"version":"5daba568741c8ed283d67bf370c626a91e09fdfbc6d4abe22a7f93e2cf5138b9","affectsGlobalScope":true},"7f77304372efe3c9967e5f9ea2061f1b4bf41dc3cda3c83cdd676f2e5af6b7e6","662661bbf9ccd869f3bca82d34234b2abdc95c657e2187c35352d42dddb24c2d","bec890dbc489a627439ad67330f9418d7f03aed29d1f874e5219a121da040cfa","4c4334eb5d8fae83416a361d787b55a5743916aed8af812a909898bc7333e709","6feb6f75a3e4e017f8e6e12740cf06f18eefcf829284fa310da6c7f4d44fb2eb","4fd3c4debadce3e9ab9dec3eb45f7f5e2e3d4ad65cf975a6d938d883cfb25a50","0953427f9c2498f71dd912fdd8a81b19cf6925de3e1ad67ab9a77b9a0f79bf0b","b709ff1f6d6235f5e9c8dcbce3e683ff24ec35046b232d5a281af083026018d1","7df562288f949945cf69c21cd912100c2afedeeb7cdb219085f7f4b46cb7dde4","9d16690485ff1eb4f6fc57aebe237728fd8e03130c460919da3a35f4d9bd97f5","ee6a154ecccde26b413e89c97a0b824f25b253c4c50a3c392bcb2b4c6ba9c314","d9a653f75614c4d3f63e88b7aae66390bf71a8cea02f5f7db8ca6c1a8e8c3f1a","a364b4a8a015ae377052fa4fac94204d79a69d879567f444c7ceff1b7a18482d","c5ec3b97d9db756c689cd11f4a11eaa9e6077b2768e3e9b54ff727a93c03a909","c14e9e86f18189c7d32b5dd03b4cf3f40bed68f0509dec06d75d41b82c065fe2","bdb07038733b2d74a75ba9c381dcb92774cd6f161ee125bfa921eae7d883ccc9","ad93e960a3a07dff7394bf0c8a558006a9ff2d0725ab28fc33dec227d4cb251e",{"version":"2708349d5a11a5c2e5f3a0765259ebe7ee00cdcc8161cb9990cb4910328442a1","affectsGlobalScope":true},"4362a776026a354985d9f2acc54b92630d8a084948ff9592ccd8f167276c5117","6d829824ead8999f87b6df21200df3c6150391b894b4e80662caa462bd48d073","afc559c1b93df37c25aef6b3dfa2d64325b0e112e887ee18bf7e6f4ec383fc90","713cb5c36e9452e3573d87fd4a911bfd4339aa21a7293f764689ae2dce4f198b","40304c033bb6e39f0eb01b106d29523950148dfc3cd547ddb500167871171281","82169f198ffdfc787fba368ccfad2b2d8ef3712f3c696df94ac13f6884bbbe2d","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","81bf524a00ab23da11642375b81429cd73f21e2f380c139da6485136f21292e4","f0cb4b3ab88193e3e51e9e2622e4c375955003f1f81239d72c5b7a95415dad3e","92450d617e92f96354d281c8ed5613fd16cacea79eb60b1e9736494b3c057e69","8a9086357fe289efb682dc925358f30b6312c7219a5ca92212857a0a79612012","92bc42ed0e2d41559513fd457ee30d834c2f0fedb9ed5004c029cbf0ad2f8bd9","8dc44c4ad7e254d4404a302e5098e83ab9aae1d65e861c15fb67a7f419051524","16d51f964ec125ad2024cf03f0af444b3bc3ec3614d9345cc54d09bab45c9a4c","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"d168ca1638b27c95909b68805c84b8018dba87630bb1e4cc99be4ccdf119f39d","affectsGlobalScope":true},"56cbe80e6c42d7e6e66b6f048add8b01c663797b843a074d9f19c4a3d63a269a","ef4f3614064e7f2eb68c3271e08d3caf38df7f83be17c73a1d47e1b1800ee9ae","aec0cabbdfacf43db998d8e50ee6f1e72131d24b5018dfb84f14806717baa0a6","adc1bcbe46a680d894ea5be9f05e0baa43652bd9125a0302623d1afd0dc03b6c","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","13e521f4402f90bde98f8820045ee230168810f98f818b61f99cac728abd17a3","0475e7b7d37d065501e741e3be9b99a12ac34ff847143d83bb9d2bc9101a2625","611105c6a693c07a8a1be7fd04cda603e71b12471d4bdef34820ce653eb313e9","cba0f7d95990ecef0d0dbfc6b265fd307bd052aff61cbd7b165cbffe9d75ae24","57b9abe6f1a8b32ddbe5f28cd4dd73fa095afc8b24ae341049950f6b465872d0","a059f9bec8cf889db591a9d569f66d22e9acb4cdc67225238391c79eff517524","7786c75c1b46e93b33c63dccf689143a5f47ff451a6b3bd9b10e4801cdeadcc2","b96468bc2136fc580140702e9845d4ebf3413de9fb64093b6f7415ceb184fe5a","93fee8994db07645f6d7e241d57d3d786aaea17179c30e4d81156cc31193009d","e8966f7c424780bb0b9d411ebe13eda8555ca15aa675603316c2952bc027b0e3","df0e5f3c4a518111d160cf3bebc9a3ac7d39c6e3bfb7a21d43c304896c3015e2","c20569bc091e62ebe362b422738e82dfc7eedce351960f71af861821d434a960","bd204da7ab4613d12650bd6a4947258890ca9793df0a7a72dc4231f19d53f08e","afe79664dc4e1688ec4c6def52f793706d4763f55676eebfe72e92681e779404","6fdb5e8e7c1fc94fab356bb804c6e134133b5ad03b929ac2c1460bd49e4caa22","d7e4a5f4ccfb749c3033fafc233073b4d1dcca0249785186c589602a81f9d86f","d8f284ecc998ccc96e151e0d96109613c4901371201ddb1d7103f84199460589","4c0594efa2447408e66370c20b4de3de3bb2416cfff6b139c50ccb51e2cc6e43","825080a15a8b14b40ac8c7f90c12a5a11efb0b3857dc02195eae2a3dc98aea14","70646d9cb37b62611766d18a9bcca6cbf28ca9aec33a66244e974056ab1193f6","3f73b2be17fe55a6d9f9057cd3520e786ad21623b63001ac117ebc97452c3ffe","6bc64e37d72e60ec298911f260518ad11a875b236c237a4b4319a2c8f76a6467","7ab735672492614a1af2098219bd191642e2bbd126e0631e13ed15e947238a51","10510a2c7d7c10c39cc186e5b36fd95af6151a2402fd8dc99445786614cf72cf",{"version":"fda9e5c2afd0920ead6baed40f164229ec8f93188b5c8df196594a54bb8fb5e3","affectsGlobalScope":true},"c58be3e560989a877531d3ff7c9e5db41c5dd9282480ccf197abfcc708a95b8d","91f23ddc3971b1c8938c638fb55601a339483953e1eb800675fa5b5e8113db72","50d22844db90a0dcd359afeb59dd1e9a384d977b4b363c880b4e65047237a29e","d33782b82eea0ee17b99ca563bd19b38259a3aaf096d306ceaf59cd4422629be","7f7f1420c69806e268ab7820cbe31a2dcb2f836f28b3d09132a2a95b4a454b80","f9ecf72f3842ae35faf3aa122a9c87a486446cb9084601695f9e6a2cdf0d3e4b","61046f12c3cfafd353d2d03febc96b441c1a0e3bb82a5a88de78cc1be9e10520","f4e7f5824ac7b35539efc3bef36b3e6be89603b88224cb5c0ad3526a454fc895","091af8276fbc70609a00e296840bd284a2fe29df282f0e8dae2de9f0a706685f","537aff717746703d2157ec563b5de4f6393ce9f69a84ae62b49e9b6c80b6e587","d4220a16027ddf0cc7d105d80cbb01f5070ca7ddd8b2d007cfb024b27e22b912","5d007514c3876ecc7326b898d1738eed7b77d6a3611d73f5c99fe37801dd48e6","85dff77bf599bd57135b34169d8f80914bbcdb52dfa9fb5fa2204b366363d519","3af910f7ac7e7b9dce041b3f1d07426cb14519f6371869e478522bbe69643a4c","8e358d80ac052e9f4e5cc16d06c946628834b47718a4bd101ef2087603b8e5c7","9164dfd85eba6d2f7acd3f6abb6e800bcc9e2c3f0221abcb2d69ee7dda1b307d","963d33d1b4cc0b88fa3e00ac4532cb8f62176dced79e3c7c3fcdb02747307125","e40f22ef14ca35f5019e16f852366d0880e42e955c03cc25da2abe689eef679c","c6132412b4582755d0de867bbc0dde62a42a44e2f2832a096fcd133dc870e911","e1b85e2d464f3b7ec2898e61a41247269d6ea00226b7c69b2a7d89f4fb2e3313","8cc466b79d020b83f9b6631678b3cde3204e6f9cb921fc187e7eec895f72d92f","f100be677ba4aa9df521adf73f3668e35d7fa14800af2765b1db5286fe358af5","4221e047d59b81604a722d6bdde570c0433d8e424b3c6810fe10d0d6ab61682b","8a530b2ccfe8125b8e3bd7c450b0f7be55f21a396319be78fbeb6314236b7c15","265aa5dae437b70cc82626488e3e68747e80fddeccc89ef47205b4dcaf864f47","81f6af9b1d8e4f9e3b7318763a1a93f909ee61e0477b41cc7f3281d9da6ca7f4",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"6c29066d1acba21f6fde8042da49ba4df5cad690dac19416a8f7af17d451ed40","82772e5d55062a042a2715a555d347275a663940926fc785705eb082010cb9f6","84e3bbd6f80983d468260fdbfeeb431cc81f7ea98d284d836e4d168e36875e86","0b85cb069d0e427ba946e5eb2d86ef65ffd19867042810516d16919f6c1a5aec","15c88bfd1b8dc7231ff828ae8df5d955bae5ebca4cf2bcb417af5821e52299ae","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","78a1efd7214a25b84e08af80fe2b027c3049e52b26dfcaf777b82c759d8548c9","8841e2aa774b89bd23302dede20663306dc1b9902431ac64b24be8b8d0e3f649","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","8f76c6bfb627f38ab44c35d1915dfa2d24d4b96307d9b6cc56df5bba246a3ab6","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0",{"version":"271cde49dfd9b398ccc91bb3aaa43854cf76f4d14e10fed91cbac649aa6cbc63","affectsGlobalScope":true},"2bcecd31f1b4281710c666843fc55133a0ee25b143e59f35f49c62e168123f4b","a6273756fa05f794b64fe1aff45f4371d444f51ed0257f9364a8b25f3501915d","2374e4ddc628bd0af8ce7578621f1b9d08ab183f4dbacb8749eabb1a85018196","25d91fb9ed77a828cc6c7a863236fb712dafcd52f816eec481bd0c1f589f4404","4cd14cea22eed1bfb0dc76183e56989f897ac5b14c0e2a819e5162eafdcfe243","ab35d08aa06a7615f06dad04db7e88f27d623220f05de68a94f16d5d22e6aaea","9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36","0def05b4e59413659e7f1cad8b0e32858d7d272a4701457e7fea95618f6ef7db","660fa27262840c791c5b0a05ea10b07c846190f0e8a8312202f7646f1aa7813d","233195dd39bbfcdce765006e72f093aae1d3748bd970c73c5f01e7ee1ef24f5d","7c34d4965567c3d4814cc408340c1d268c00c7d08e2a90e3de8215a42c1ff2b9","090ca38de36da6946266ef9057295341b6499c2fad4fe441afa50b2e864846b0","de18acda71730bac52f4b256ce7511bb56cc21f6f114c59c46782eff2f632857","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","69da61a7b5093dac77fa3bec8be95dcf9a74c95a0e9161edb98bb24e30e439d2","561eca7a381b96d6ccac6e4061e6d2ae53f5bc44203f3fd9f5b26864c32ae6e9","62ea38627e3ebab429f7616812a9394d327c2bc271003dfba985de9b4137369f","b4439890c168d646357928431100daac5cbdee1d345a34e6bf6eca9f3abe22bc","5d72971a459517c44c1379dab9ed248e87a61ba0a1e0f25c9d67e1e640cd9a09","02d734976af36f4273d930bea88b3e62adf6b078cf120c1c63d49aa8d8427c5c",{"version":"516a426e3960379f310107635b8f3a7e8c307c6c665080b128039d9299ec4087","affectsGlobalScope":true},"686e548ae30250d62532c8cacb43fccc922b693408371bd3503563c4a0f28eed","cc2dc362fc50995684e9f7e9b38ad9bdf19e74919294a694cbc05392352cad7d","abef3012ae70d98baa449664e9dda50c96fc68b0fd11a592d6590d85bb89cd10","456e83839c811cedebb65c8b05027120336b3bd6920259817d728ffc52d41e2f","ea79d9641e700b2b4a04a857ed1ef692c4caf988017fbabd64c4111f7c287673","0a90b9435b81f45b88c5fb8d30e85b77d3508eb0760dc40b9fb825fd29f92375","8cd7362102d928e21b291a013f80fc68a038d4506d26ea9948c676e3fa1110d9","90f6830fb380f4d2b69df018343ae80ce92991e85a0d7be8d214c643b39d1175","1bfe6db4f3dffacd1da82748cb8f0acec04e8a4d7bd36c09573d5d80a7dec28b","6a8d6deca8ec4250630fea4e5f23bd9bf0face98739ccd22e08a17173117155b","a1d51fd5a8f9c1c038799a43c038397ca3ed99ee73cc0b0aada897e7cc8aca91","6c9708ae545db5f8deb8ef774d412fd1b46adade794664d7c6cfd0a1f6dfd64f","9d14fcf0b69094271127c7b6acb36987be5d1bffa4eb948359549f040fb50349","e3a5287471fb08f053c06fd998632792aa5f022e45278f1e6dd55fb2fa9e7362","28a6c8eeb48e165920067b9193555649fc43c2a28c450f23f622e5eb043d9463","1147c3efa5a256bcd6a3d2cfaf764185b7120bf985f8412d9bae596a0348f77b","67aee88594abc44cd58820dea2ed1a9d373c1c2a59941234e4abe797464bc4da","65d8bfb66a25ff068ea4ce271174b0b4c35aee664b349db941a5688f0e6d621d","f8cb94e0dffd21068a952754ec67d01d35a15fa61bd3af951f949e9b8bde7976","9928c4f48144f7d79716955310c857518d21ada0fcb7017fbf5921e547320cb8","3c7ef314f6691dbba43cb1310a82d610ea648cc4498cd685c3e25442ea2d98a0","2305508907ae4c993dda584411bfedac5821b8a55853caeebf2341f58b2fa027","4bdf362501ecd30c2037b91dda8d091fa2dd9b13990d0718bddb9e02919e35dc","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","d5233d3816d390f80493f4e678f3437b5af677452e6401e8e23641108339b9e0","1ced83d3606cfe4a0d2d98c24873b4147ac4c1b9beacb1d1dd0d8bacd3a00220","42c7f325d2075cf80f65ef6225692605b6516602209175d29281c7a53838d28f","f667b528eae7dbdd854691d8f654e33f664e0a6054fdd696fced817c778fc7f1","b49afdc0206971f3baf6cff99795593dcf6e97d7dca096f8bfda3b0e0a190a15","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","378df8bbbb9e3f6fca05d58f644aab538e1062eab5e778fb0b83d41125df246d","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63",{"version":"ecf78e637f710f340ec08d5d92b3f31b134a46a4fcf2e758690d8c46ce62cba6","affectsGlobalScope":true},"381899b8d1d4c1be716f18cb5242ba39f66f4b1e31d45af62a32a99f8edcb39d","f7b46d22a307739c145e5fddf537818038fdfffd580d79ed717f4d4d37249380","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"1bc82f5b3bb93df76d19730c84467b0b346187198537135d63a672956f323720","affectsGlobalScope":true},"1a4f6207fac7bf7e94957a5c7cac0c33d07499bab60a197dabea4f452a544cd8","1a255ad66d2b50f7b42eca69228b9587878cf06900780ad57a306a933c6eaeb4","6d99b95b8235303e67b33d9ad8ee6532023b1bcc36be10a9cc9d46ad5f89754b","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","208bb742e0f201470da121bc73847c74b62cff4172f38ae5949ae77d6c9c6b71","062bd2910098fc059ba93e347649b3e126c555f7b144033d21d3f8ef63d3e39b","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","3c17de487f67fd2ce7a70090b19e791b0388ed9cb60cdbdc7a49277094ffc413","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","cf64eeeaef3601863fba2302368ec01bd9a991a24d39f68ddc9a525ffa20f1cc","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","3e4001643b64a3a4722718c5a778ae73f3dd43487e39508ce2f9dd7cfb1d40b7","b90c23a457c16f77a282531a5caba5c911d2252eb097f3193a8ee2df6a3f21a2","8f9aa0f1f409380d4dbd5c9f5f2e4af828e123095891dd0efc5bb999f8d1a301","bdab62a006260d5fd3c623f0b635140bf48d7a8f87f0eeca5fb188b5ac66770f","c0dd6b46374a90bbb701cc4888a9d6b698a479a2acce11969c5583ba6127f5d5","9d9e658d1d5b805562749ce383ef8c67ccb796394d8734d9c138788d7dab6ee3","f142847486040d476276933f02f4fe18b50196d14d8774be7c4bc221dad4d90b","5f7614d60b32dc66e5d665eafd10d7619eedca3a20f0e876e9ec73141735e364","b5478b9a935cf14fe43a00f80dee3805b5f5f6d33be9d96fae7babea0e0dad76","45a63e17814c570ea59407f231ef9c561510bd6edb36f17479b09b44619496c6","2efbc0886a7e5de052cf7ddba37505a693ba7b8cf7c1f36072534f6d8592e82e","6c362c5d50652957065cf52f282a2bf0a456ed3713738d0ee1a9089dbb5b5fe7","9fa083ffb459128013c5b101df83124ad2636d9ba1185f105567416ca550e8f9","8017277c3843df85296d8730f9edf097d68d7d5f9bc9d8124fcacf17ecfd487e","60aaac5fb1858fbd4c4eb40e01706eb227eed9eca5c665564bd146971280dbd3","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","58a3914b1cce4560d9ad6eee2b716caaa030eda0a90b21ca2457ea9e2783eaa3","257eb160efb706e5d8e4ffa48d940e6c471e03bd19470537368c0599a78fb755","6e199fa01a463a67a34603881ff8862f94b2f88ad2384ae7808b2521638ed43a","f5559569170baba17cd175273efbdaa891d045e96cf481af0c9d5677d224c0e9","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","d9e55d93aa33fad61bd5c63800972d00ba8879ec5d29f6f3bce67d16d86abc33","2ac9c8332c5f8510b8bdd571f8271e0f39b0577714d5e95c1e79a12b2616f069","42c21aa963e7b86fa00801d96e88b36803188018d5ad91db2a9101bccd40b3ff","d31eb848cdebb4c55b4893b335a7c0cca95ad66dee13cbb7d0893810c0a9c301","77c1d91a129ba60b8c405f9f539e42df834afb174fe0785f89d92a2c7c16b77a","c544d81603149987796b24cca297c965db427b84b2580fb27e52fb37ddc1f470","906c751ef5822ec0dadcea2f0e9db64a33fb4ee926cc9f7efa38afe5d5371b2a","5387c049e9702f2d2d7ece1a74836a14b47fbebe9bbeb19f94c580a37c855351","c68391fb9efad5d99ff332c65b1606248c4e4a9f1dd9a087204242b56c7126d6","e9cf02252d3a0ced987d24845dcb1f11c1be5541f17e5daa44c6de2d18138d0c","e8b02b879754d85f48489294f99147aeccc352c760d95a6fe2b6e49cd400b2fe","9f6908ab3d8a86c68b86e38578afc7095114e66b2fc36a2a96e9252aac3998e0","0eedb2344442b143ddcd788f87096961cd8572b64f10b4afc3356aa0460171c6","9eb2875a1e4c583066af7d6194ea8162191b2756e5d87ccb3c562fdf74d06869","c68baff4d8ba346130e9753cefe2e487a16731bf17e05fdacc81e8c9a26aae9d","2cd15528d8bb5d0453aa339b4b52e0696e8b07e790c153831c642c3dea5ac8af","479d622e66283ffa9883fbc33e441f7fc928b2277ff30aacbec7b7761b4e9579","ade307876dc5ca267ca308d09e737b611505e015c535863f22420a11fffc1c54","f8cdefa3e0dee639eccbe9794b46f90291e5fd3989fcba60d2f08fde56179fb9","86c5a62f99aac7053976e317dbe9acb2eaf903aaf3d2e5bb1cafe5c2df7b37a8","2b300954ce01a8343866f737656e13243e86e5baef51bd0631b21dcef1f6e954","a2d409a9ffd872d6b9d78ead00baa116bbc73cfa959fce9a2f29d3227876b2a1","b288936f560cd71f4a6002953290de9ff8dfbfbf37f5a9391be5c83322324898","61178a781ef82e0ff54f9430397e71e8f365fc1e3725e0e5346f2de7b0d50dfa","6a6ccb37feb3aad32d9be026a3337db195979cd5727a616fc0f557e974101a54","6eef5113135a0f2bbac8259909a5bbb7666bcde022c28f4ab95145623cbe1f72","058b8dd97b7c67b6bf33e7bda7b1e247b019b675d4b6449d14ac002091a8b4f8","89c8a7b88c378663a8124664f2d9b8c2887e186b55aa066edf6d67177ca1aa04","5a30ba65ad753eb2ef65355dbb3011b28b192cb9df2ef0b5f595b51ca7faf353","b15e55c5fa977c2f25ca0b1db52cfa2d1fd4bf0baf90a8b90d4a7678ca462ff1","f41d30972724714763a2698ae949fbc463afb203b5fa7c4ad7e4de0871129a17","86d425f7fcd8d100dafa6286cc289af88cbb639ecbdbd25c3018a8f0f7b09fe5","9795e0a3a45d5b6f1a791ee54b7c8b58bc931e8900966cea2dff9c5bae56073b","5890be29879d02424b7654f40592915189034948f7a18c5ad121c006d4e92811","0ab49086f10c75a1cb3b18bffe799dae021774146d8a2d5a4bb42dda67b64f9b","81c77839e152b8f715ec67b0a8b910bcc2d6cf916794c3519f8798c40efd12ac","a868a534ba1c2ca9060b8a13b0ffbbbf78b4be7b0ff80d8c75b02773f7192c29","464843c00fb3dd4735b28255c5c9fe713f16b8e47a3db09ba1647687440f7aef","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","d0f6d36b2d86f934560c48d8bfdc7ab60c67cfb2ab6dc1916706aa68e83d6dc2","d51a4e4450ee23d941db79652c660ca2612691dba235fd5d14d4b2a622c72312","acebfe99678cf7cddcddc3435222cf132052b1226e902daac9fbb495c321a9b5","645e0e7901bbe46b6593626aa3d072e729813313672d95244dc6b63b20ed7392","5b8476e49f360da8548e0acfbb77344291512db4453512c7b5ec8277f1c762c3","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","2905bf42cddf7ba20c88922d36b7afa5431523c1cab119fdb38bf5baab02adf1","105fa3d1b286795f9ac1b82f5a737db303dfe65ebc9830c1938a2bbe538a861f","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"805d1cf8aa6aeb6f12c7b0b1c5da1e9fc3f1814052703ebf5e54b694aaada983","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762","b2f006ee835f315d01c43c0f5d9e9ad78a5870b380899877b32a33078d065dbd","a5ff9638738de5605b52e777ee4d27112ac6d7aaf6f2aa38c750edb8c7516ad3","194adacd491e778e9cdcbf3e47a9656b8ef9c3cc51a4448bfddf6305d9645986","9aea9e19ab167201a1b9297ca13eab639ef6d7cb79189e5c0d13f4f69a500583","f90d85d4cb38445499bdb7e7b013e4f64d99d157a6fa0843e998495ceb27b520","2e178a87e7bf03a067cfb1cf5573e7c4899fcbc9f462a0b0c67d238e39b794a4","901becb8779e1089442378fda5623e607ee4588762a32e7692436f1ea81cf848","8286d84d2567b713fd6a1fdfbb1a0abc8cfa668ee1e0e83d7dd4ade5761f2750","f28dffc6bf9bbd8b9dc156aadb74d11de7faabf547eb9f0aebb8cd03e8750a6c","ca7f76d3ea132bde53dca1a0f33cda95397d20c248e452c050773f01504d9802","2f495fcb913e89c0dace4a79e5bd7214c674ef8a391c8056a77a084eb3c882f9","f7e133b20ee2669b6c0e5d7f0cd510868c57cd64b283e68c7f598e30ce9d76d2","09c4b2e2d3070239d563fc690f0cc5db04a2d9b66a23e61aef8b5274e3e9910c"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"declarationMap":false,"esModuleInterop":true,"importHelpers":true,"jsx":2,"module":1,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noImplicitThis":true,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./","rootDir":"../src","skipLibCheck":true,"strict":true,"strictNullChecks":true,"strictPropertyInitialization":true,"target":6,"tsBuildInfoFile":"./.tsbuildinfo"},"fileIdsList":[[75],[96,124,190],[75,76,77,78,79],[75,77],[96,124,125,190],[90,124],[48],[93,96,116,124,129,130,131,190],[96,98,124,133,190],[135],[136,137],[136],[138],[116,124,142],[59,124],[59,146,164],[145],[133],[124],[110,124,166,196],[52,200],[52,53,199],[93,96,124,140,141,190],[126,141,142,203],[94,124],[93,94,124,207],[96,98,110,116,124,190],[211],[213,219],[214,215,216,217,218],[219],[134,220,221],[58,59,222],[93,96,98,101,110,116,124,190],[226],[227],[233,235],[258],[242,245,252,253,254,255],[245,248,256],[242,245,248,256],[242,245,248,252,253,255,256,257],[264],[261,262],[263],[93,124],[266,268,269,270,271,272,273,274,275,276,277,278],[266,267,269,270,271,272,273,274,275,276,277,278],[267,268,269,270,271,272,273,274,275,276,277,278],[266,267,268,270,271,272,273,274,275,276,277,278],[266,267,268,269,271,272,273,274,275,276,277,278],[266,267,268,269,270,272,273,274,275,276,277,278],[266,267,268,269,270,271,273,274,275,276,277,278],[266,267,268,269,270,271,272,274,275,276,277,278],[266,267,268,269,270,271,272,273,275,276,277,278],[266,267,268,269,270,271,272,273,274,276,277,278],[266,267,268,269,270,271,272,273,274,275,277,278],[266,267,268,269,270,271,272,273,274,275,276,278],[266,267,268,269,270,271,272,273,274,275,276,277],[284],[128],[96,116,124,190,289,290],[93,94,101,110],[85,93,101],[117],[89,94,102],[110],[91,93,101],[93],[93,95,110,116],[94],[101,110,116],[93,94,96,101,110,113,116,190],[96,110,113,116,190],[81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123],[116],[91,93,110],[83],[115],[108,117,119],[101],[107],[93,95,110,116,119],[300],[297,298,299],[110,124],[219,284,308],[219,284],[280,281,282,283],[96,110,124,190],[160,164],[318,357],[318,342,357],[357],[318],[318,343,357],[318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356],[343,357],[94,96,124,190],[94,204],[96,124,190,202],[85,124,208],[367],[113,124],[59,96,125,190],[59,96,98,127,143,190,203,204,359,386,392,393],[390],[388,389],[387,391],[96,101,116,124,190,204,225],[124,372,373,374,375,376,377,378,379,380,381,382],[371,372,381],[372,381],[362,371,372,381],[371,372,373,374,375,376,377,378,379,380,382],[372],[89,371,381],[58,89,124,133,220,370,383],[395],[239,240],[239],[238,240,242],[239,245,246],[238,242,243,244],[238,242,245,247],[238,242],[238],[238,239,241],[238,239,241,242,243,245,246,247],[91,96,129,190],[93,94,124],[110,124,195],[124,188,189,191,195],[169,170,190,195],[189,191,192,193,195],[195],[96,98,110,116,124,129,131,132,169,170,171,188,190,191,192,193,194],[116,124],[96,190],[172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187],[172],[173],[188],[229,230],[229,230,231,232],[151],[151,162],[148,149,150,152,162],[155],[151,158,161,164],[154,164],[153,158,160,161,164],[148,149,150,151,152,153,155,156,157,158,161,164],[147,148,149,150,151,152,153,155,156,157,158,159,160,161,162,163],[147,164],[158,159,161,164],[151,157,161,164],[162],[234],[249],[248,249,250,251],[56],[53,54,55],[53,56],[62,63,64,65],[62],[63],[52,54,56,57,58,96,101,113,190],[46,50],[49],[46,51,67,73,103],[46,67,72],[59,60,61,66,107],[68,69,70,71],[61],[68]],"referencedMap":[[77,1],[170,2],[80,3],[76,1],[78,4],[79,1],[126,5],[127,6],[49,7],[132,8],[134,9],[136,10],[138,11],[137,12],[139,13],[143,14],[125,2],[144,15],[165,16],[146,17],[145,18],[166,19],[197,20],[201,21],[200,22],[142,23],[204,24],[205,25],[208,26],[209,27],[210,25],[212,28],[214,29],[215,29],[216,29],[219,30],[217,31],[218,31],[222,32],[224,33],[225,34],[227,35],[228,36],[236,37],[259,38],[256,39],[253,40],[254,41],[255,40],[258,42],[257,38],[261,43],[263,44],[264,45],[129,46],[265,15],[267,47],[268,48],[266,49],[269,50],[270,51],[271,52],[272,53],[273,54],[274,55],[275,56],[276,57],[277,58],[278,59],[279,28],[285,60],[286,61],[287,15],[291,62],[85,63],[86,64],[87,65],[88,66],[89,67],[90,68],[92,69],[93,69],[94,70],[95,71],[96,72],[97,73],[98,74],[124,75],[99,69],[100,76],[101,77],[104,78],[105,79],[108,69],[109,80],[110,69],[113,81],[115,81],[116,82],[118,67],[121,83],[122,67],[301,84],[300,85],[304,86],[306,60],[307,60],[309,87],[310,87],[308,88],[311,60],[284,89],[312,19],[131,90],[315,91],[316,86],[342,92],[343,93],[318,94],[321,94],[340,92],[341,92],[331,95],[330,95],[328,92],[323,92],[336,92],[334,92],[338,92],[322,92],[335,92],[339,92],[324,92],[325,92],[337,92],[319,92],[326,92],[327,92],[329,92],[333,92],[344,96],[332,92],[320,92],[357,97],[351,96],[353,98],[352,96],[345,96],[346,96],[348,96],[350,96],[354,98],[355,98],[347,98],[349,98],[358,99],[359,100],[203,101],[360,86],[361,102],[368,103],[220,18],[369,104],[385,15],[386,105],[394,106],[389,2],[391,107],[390,108],[388,2],[392,109],[387,110],[383,111],[382,112],[373,113],[374,114],[381,115],[375,114],[376,113],[377,113],[378,113],[379,116],[372,117],[380,112],[384,118],[396,119],[241,120],[240,121],[239,122],[247,123],[245,124],[246,125],[243,126],[244,127],[242,128],[248,129],[171,130],[393,131],[289,90],[189,132],[192,133],[191,134],[196,135],[193,136],[195,137],[194,138],[190,139],[188,140],[181,141],[175,142],[186,143],[179,141],[180,141],[177,142],[231,144],[233,145],[232,144],[149,146],[148,147],[151,148],[156,149],[152,147],[157,150],[155,151],[159,152],[162,153],[164,154],[154,155],[160,156],[161,91],[158,157],[150,146],[153,158],[235,159],[249,127],[250,160],[252,161],[57,162],[56,163],[54,164],[66,165],[63,166],[64,167],[59,168],[47,169],[50,170],[74,171],[73,172],[67,173],[72,174],[68,175],[69,176],[71,176],[70,176]],"exportedModulesMap":[[77,1],[170,2],[80,3],[76,1],[78,4],[79,1],[126,5],[127,6],[49,7],[132,8],[134,9],[136,10],[138,11],[137,12],[139,13],[143,14],[125,2],[144,15],[165,16],[146,17],[145,18],[166,19],[197,20],[201,21],[200,22],[142,23],[204,24],[205,25],[208,26],[209,27],[210,25],[212,28],[214,29],[215,29],[216,29],[219,30],[217,31],[218,31],[222,32],[224,33],[225,34],[227,35],[228,36],[236,37],[259,38],[256,39],[253,40],[254,41],[255,40],[258,42],[257,38],[261,43],[263,44],[264,45],[129,46],[265,15],[267,47],[268,48],[266,49],[269,50],[270,51],[271,52],[272,53],[273,54],[274,55],[275,56],[276,57],[277,58],[278,59],[279,28],[285,60],[286,61],[287,15],[291,62],[85,63],[86,64],[87,65],[88,66],[89,67],[90,68],[92,69],[93,69],[94,70],[95,71],[96,72],[97,73],[98,74],[124,75],[99,69],[100,76],[101,77],[104,78],[105,79],[108,69],[109,80],[110,69],[113,81],[115,81],[116,82],[118,67],[121,83],[122,67],[301,84],[300,85],[304,86],[306,60],[307,60],[309,87],[310,87],[308,88],[311,60],[284,89],[312,19],[131,90],[315,91],[316,86],[342,92],[343,93],[318,94],[321,94],[340,92],[341,92],[331,95],[330,95],[328,92],[323,92],[336,92],[334,92],[338,92],[322,92],[335,92],[339,92],[324,92],[325,92],[337,92],[319,92],[326,92],[327,92],[329,92],[333,92],[344,96],[332,92],[320,92],[357,97],[351,96],[353,98],[352,96],[345,96],[346,96],[348,96],[350,96],[354,98],[355,98],[347,98],[349,98],[358,99],[359,100],[203,101],[360,86],[361,102],[368,103],[220,18],[369,104],[385,15],[386,105],[394,106],[389,2],[391,107],[390,108],[388,2],[392,109],[387,110],[383,111],[382,112],[373,113],[374,114],[381,115],[375,114],[376,113],[377,113],[378,113],[379,116],[372,117],[380,112],[384,118],[396,119],[241,120],[240,121],[239,122],[247,123],[245,124],[246,125],[243,126],[244,127],[242,128],[248,129],[171,130],[393,131],[289,90],[189,132],[192,133],[191,134],[196,135],[193,136],[195,137],[194,138],[190,139],[188,140],[181,141],[175,142],[186,143],[179,141],[180,141],[177,142],[231,144],[233,145],[232,144],[149,146],[148,147],[151,148],[156,149],[152,147],[157,150],[155,151],[159,152],[162,153],[164,154],[154,155],[160,156],[161,91],[158,157],[150,146],[153,158],[235,159],[249,127],[250,160],[252,161],[57,162],[56,163],[54,164],[66,165],[63,166],[64,167],[59,168],[47,169],[50,170],[74,171],[73,172],[67,173],[72,174],[68,175],[69,176],[71,176],[70,176]],"semanticDiagnosticsPerFile":[77,75,170,80,76,78,79,126,127,128,49,132,134,136,138,137,135,139,143,125,144,165,146,145,166,167,168,197,198,201,199,200,52,142,204,205,206,208,209,210,212,214,215,216,213,219,217,218,223,222,224,130,225,226,227,228,236,237,259,256,253,254,255,258,257,53,260,261,263,262,264,129,265,267,268,266,269,270,271,272,273,274,275,276,277,278,279,285,286,202,287,207,288,290,291,81,83,84,85,86,87,88,89,90,91,92,93,94,95,82,123,96,97,98,124,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,292,293,294,295,296,301,297,298,300,299,302,303,304,282,141,140,305,306,307,309,310,308,311,280,284,221,312,131,313,314,315,316,317,283,342,343,318,321,340,341,331,330,328,323,336,334,338,322,335,339,324,325,337,319,326,327,329,333,344,332,320,357,356,351,353,352,345,346,348,350,354,355,347,349,358,359,203,360,361,362,363,364,365,366,368,367,220,211,369,385,386,394,389,391,390,388,392,387,383,382,373,374,381,375,376,377,378,379,372,380,371,384,395,396,55,370,241,240,239,247,245,246,243,244,242,248,238,171,393,281,289,189,192,191,196,193,195,194,190,188,172,173,181,176,175,174,183,186,179,182,180,177,178,184,185,187,229,231,233,232,230,61,48,169,149,148,151,156,152,157,155,159,163,162,164,154,160,161,158,150,153,235,234,249,250,251,252,57,56,54,147,133,58,46,10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,1,9,45,62,65,66,63,64,59,47,50,74,73,51,60,67,72,68,69,71,70]},"version":"4.5.2"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { features as bubleFeatures, TransformOptions, TransformOutput } from '@philpl/buble';
8
+ export { bubleFeatures as features };
9
+ export declare function transform(source: string, options: TransformOptions): TransformOutput;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) Facebook, Inc. and its affiliates.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.transform = exports.features = void 0;
10
+ // fork of Buble which removes Buble's large dependency and weighs in
11
+ // at a smaller size of ~51kB
12
+ // https://github.com/FormidableLabs/react-live#what-bundle-size-can-i-expect
13
+ const buble_1 = require("@philpl/buble");
14
+ Object.defineProperty(exports, "features", { enumerable: true, get: function () { return buble_1.features; } });
15
+ function transform(source, options) {
16
+ return (0, buble_1.transform)(source, {
17
+ ...options,
18
+ transforms: {
19
+ asyncAwait: false,
20
+ classes: false,
21
+ getterSetter: false,
22
+ ...options.transforms,
23
+ },
24
+ });
25
+ }
26
+ exports.transform = transform;
package/lib/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { DocusaurusContext, Plugin } from '@docusaurus/types';
8
+ export default function theme(context: DocusaurusContext): Plugin;
9
+ export { validateThemeConfig } from './validateThemeConfig';
package/lib/index.js ADDED
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) Facebook, Inc. and its affiliates.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.validateThemeConfig = void 0;
10
+ const tslib_1 = require("tslib");
11
+ const path_1 = (0, tslib_1.__importDefault)(require("path"));
12
+ const theme_translations_1 = require("@docusaurus/theme-translations");
13
+ function theme(context) {
14
+ const { i18n: { currentLocale }, } = context;
15
+ return {
16
+ name: 'docusaurus-theme-live-codeblock',
17
+ getThemePath() {
18
+ return path_1.default.resolve(__dirname, './theme');
19
+ },
20
+ getDefaultCodeTranslationMessages() {
21
+ return (0, theme_translations_1.readDefaultCodeTranslationMessages)({
22
+ locale: currentLocale,
23
+ name: 'theme-live-codeblock',
24
+ });
25
+ },
26
+ configureWebpack() {
27
+ return {
28
+ resolve: {
29
+ alias: {
30
+ buble: path_1.default.resolve(__dirname, './custom-buble.js'),
31
+ },
32
+ },
33
+ };
34
+ },
35
+ };
36
+ }
37
+ exports.default = theme;
38
+ var validateThemeConfig_1 = require("./validateThemeConfig");
39
+ Object.defineProperty(exports, "validateThemeConfig", { enumerable: true, get: function () { return validateThemeConfig_1.validateThemeConfig; } });
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import React from 'react';
9
+ import Playground from '@theme/Playground';
10
+ import ReactLiveScope from '@theme/ReactLiveScope';
11
+ import CodeBlock from '@theme-init/CodeBlock';
12
+
13
+ const withLiveEditor = (Component) => {
14
+ function WrappedComponent(props) {
15
+ if (props.live) {
16
+ return <Playground scope={ReactLiveScope} {...props} />;
17
+ }
18
+
19
+ return <Component {...props} />;
20
+ }
21
+
22
+ return WrappedComponent;
23
+ };
24
+
25
+ export default withLiveEditor(CodeBlock);
@@ -0,0 +1,110 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import * as React from 'react';
9
+ import {LiveProvider, LiveEditor, LiveError, LivePreview} from 'react-live';
10
+ import clsx from 'clsx';
11
+ import Translate from '@docusaurus/Translate';
12
+ import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
13
+ import BrowserOnly from '@docusaurus/BrowserOnly';
14
+ import usePrismTheme from '@theme/hooks/usePrismTheme';
15
+ import styles from './styles.module.css';
16
+ import useIsBrowser from '@docusaurus/useIsBrowser';
17
+
18
+ function Header({children}) {
19
+ return <div className={clsx(styles.playgroundHeader)}>{children}</div>;
20
+ }
21
+
22
+ function LivePreviewLoader() {
23
+ // Is it worth improving/translating?
24
+ return <div>Loading...</div>;
25
+ }
26
+
27
+ function ResultWithHeader() {
28
+ return (
29
+ <>
30
+ <Header>
31
+ <Translate
32
+ id="theme.Playground.result"
33
+ description="The result label of the live codeblocks">
34
+ Result
35
+ </Translate>
36
+ </Header>
37
+ {/* https://github.com/facebook/docusaurus/issues/5747 */}
38
+ <div className={styles.playgroundPreview}>
39
+ <BrowserOnly fallback={<LivePreviewLoader />}>
40
+ {() => (
41
+ <>
42
+ <LivePreview />
43
+ <LiveError />
44
+ </>
45
+ )}
46
+ </BrowserOnly>
47
+ </div>
48
+ </>
49
+ );
50
+ }
51
+
52
+ function ThemedLiveEditor() {
53
+ const isBrowser = useIsBrowser();
54
+ return (
55
+ <LiveEditor
56
+ // We force remount the editor on hydration,
57
+ // otherwise dark prism theme is not applied
58
+ key={isBrowser}
59
+ className={styles.playgroundEditor}
60
+ />
61
+ );
62
+ }
63
+
64
+ function EditorWithHeader() {
65
+ return (
66
+ <>
67
+ <Header>
68
+ <Translate
69
+ id="theme.Playground.liveEditor"
70
+ description="The live editor label of the live codeblocks">
71
+ Live Editor
72
+ </Translate>
73
+ </Header>
74
+ <ThemedLiveEditor />
75
+ </>
76
+ );
77
+ }
78
+
79
+ export default function Playground({children, transformCode, ...props}) {
80
+ const {
81
+ siteConfig: {
82
+ themeConfig: {
83
+ liveCodeBlock: {playgroundPosition},
84
+ },
85
+ },
86
+ } = useDocusaurusContext();
87
+ const prismTheme = usePrismTheme();
88
+
89
+ return (
90
+ <div className={styles.playgroundContainer}>
91
+ <LiveProvider
92
+ code={children.replace(/\n$/, '')}
93
+ transformCode={transformCode || ((code) => `${code};`)}
94
+ theme={prismTheme}
95
+ {...props}>
96
+ {playgroundPosition === 'top' ? (
97
+ <>
98
+ <ResultWithHeader />
99
+ <EditorWithHeader />
100
+ </>
101
+ ) : (
102
+ <>
103
+ <EditorWithHeader />
104
+ <ResultWithHeader />
105
+ </>
106
+ )}
107
+ </LiveProvider>
108
+ </div>
109
+ );
110
+ }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ .playgroundContainer {
9
+ margin-bottom: var(--ifm-leading);
10
+ border-radius: var(--ifm-global-radius);
11
+ box-shadow: var(--ifm-global-shadow-lw);
12
+ overflow: hidden;
13
+ }
14
+
15
+ .playgroundHeader {
16
+ letter-spacing: 0.08rem;
17
+ padding: 0.75rem;
18
+ text-transform: uppercase;
19
+ font-weight: bold;
20
+ background: var(--ifm-color-emphasis-200);
21
+ color: var(--ifm-color-content);
22
+ font-size: var(--ifm-code-font-size);
23
+ }
24
+
25
+ .playgroundHeader:first-of-type {
26
+ background: var(--ifm-color-emphasis-600);
27
+ color: var(--ifm-color-content-inverse);
28
+ }
29
+
30
+ .playgroundEditor {
31
+ font: var(--ifm-code-font-size) / var(--ifm-pre-line-height)
32
+ var(--ifm-font-family-monospace) !important;
33
+ /*rtl:ignore*/
34
+ direction: ltr;
35
+ }
36
+
37
+ .playgroundPreview {
38
+ padding: 1rem;
39
+ background-color: var(--ifm-pre-background);
40
+ }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import React from 'react';
9
+
10
+ // Add react-live imports you need here
11
+ const ReactLiveScope = {
12
+ React,
13
+ ...React,
14
+ };
15
+
16
+ export default ReactLiveScope;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import { Joi } from '@docusaurus/utils-validation';
8
+ import type { ThemeConfig, Validate, ValidationResult } from '@docusaurus/types';
9
+ declare const DEFAULT_CONFIG: {
10
+ playgroundPosition: string;
11
+ };
12
+ declare const Schema: Joi.ObjectSchema<any>;
13
+ declare function validateThemeConfig({ validate, themeConfig, }: {
14
+ validate: Validate<ThemeConfig>;
15
+ themeConfig: ThemeConfig;
16
+ }): ValidationResult<ThemeConfig>;
17
+ export { DEFAULT_CONFIG, Schema, validateThemeConfig };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright (c) Facebook, Inc. and its affiliates.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.validateThemeConfig = exports.Schema = exports.DEFAULT_CONFIG = void 0;
10
+ const utils_validation_1 = require("@docusaurus/utils-validation");
11
+ const DEFAULT_CONFIG = {
12
+ playgroundPosition: 'bottom',
13
+ };
14
+ exports.DEFAULT_CONFIG = DEFAULT_CONFIG;
15
+ const Schema = utils_validation_1.Joi.object({
16
+ liveCodeBlock: utils_validation_1.Joi.object({
17
+ playgroundPosition: utils_validation_1.Joi.string()
18
+ .equal('top', 'bottom')
19
+ .default(DEFAULT_CONFIG.playgroundPosition),
20
+ })
21
+ .label('themeConfig.liveCodeBlock')
22
+ .default(DEFAULT_CONFIG),
23
+ });
24
+ exports.Schema = Schema;
25
+ function validateThemeConfig({ validate, themeConfig, }) {
26
+ return validate(Schema, themeConfig);
27
+ }
28
+ exports.validateThemeConfig = validateThemeConfig;
package/package.json CHANGED
@@ -1,11 +1,15 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-live-codeblock",
3
- "version": "2.0.0-beta.0e652730d",
3
+ "version": "2.0.0-beta.10",
4
4
  "description": "Docusaurus live code block component.",
5
- "main": "src/index.js",
5
+ "main": "lib/index.js",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
9
+ "scripts": {
10
+ "build": "tsc && node copyUntypedFiles.js",
11
+ "watch": "node copyUntypedFiles.js && tsc --watch"
12
+ },
9
13
  "repository": {
10
14
  "type": "git",
11
15
  "url": "https://github.com/facebook/docusaurus.git",
@@ -13,20 +17,28 @@
13
17
  },
14
18
  "license": "MIT",
15
19
  "dependencies": {
16
- "@docusaurus/core": "2.0.0-beta.0e652730d",
17
- "@docusaurus/utils-validation": "2.0.0-beta.0e652730d",
20
+ "@docusaurus/theme-translations": "2.0.0-beta.10",
21
+ "@docusaurus/utils": "2.0.0-beta.10",
22
+ "@docusaurus/utils-validation": "2.0.0-beta.10",
18
23
  "@philpl/buble": "^0.19.7",
19
24
  "clsx": "^1.1.1",
20
- "parse-numeric-range": "^1.2.0",
25
+ "fs-extra": "^10.0.0",
26
+ "parse-numeric-range": "^1.3.0",
21
27
  "prism-react-renderer": "^1.2.1",
22
- "react-live": "^2.2.3"
28
+ "react-live": "2.2.3"
29
+ },
30
+ "devDependencies": {
31
+ "@docusaurus/core": "2.0.0-beta.10",
32
+ "@docusaurus/types": "2.0.0-beta.10",
33
+ "@types/buble": "^0.20.1"
23
34
  },
24
35
  "peerDependencies": {
36
+ "@docusaurus/core": "2.0.0-beta.9",
25
37
  "react": "^16.8.4 || ^17.0.0",
26
38
  "react-dom": "^16.8.4 || ^17.0.0"
27
39
  },
28
40
  "engines": {
29
- "node": ">=12.13.0"
41
+ "node": ">=14"
30
42
  },
31
- "gitHead": "295893e14eedbbfad2eefb39ec5219404547fc31"
43
+ "gitHead": "6f4869af5721435d6995e63e2f24ac41646e34ea"
32
44
  }
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- const {validateThemeConfig, DEFAULT_CONFIG} = require('../validateThemeConfig');
8
+ import {validateThemeConfig, DEFAULT_CONFIG} from '../validateThemeConfig';
9
9
 
10
10
  function testValidateThemeConfig(themeConfig) {
11
11
  function validate(schema, cfg) {
@@ -8,13 +8,29 @@
8
8
  // fork of Buble which removes Buble's large dependency and weighs in
9
9
  // at a smaller size of ~51kB
10
10
  // https://github.com/FormidableLabs/react-live#what-bundle-size-can-i-expect
11
- const {transform, features: bubleFeatures} = require('@philpl/buble');
11
+ import {
12
+ transform as bubleTransform,
13
+ features as bubleFeatures,
14
+ TransformOptions,
15
+ TransformOutput,
16
+ } from '@philpl/buble';
12
17
 
13
18
  // This file is designed to mimic what's written in
14
19
  // https://github.com/kitten/buble/blob/mini/src/index.js, with custom transforms options,
15
20
  // so that webpack can consume it correctly.
16
- exports.features = bubleFeatures;
21
+ export {bubleFeatures as features};
17
22
 
18
- exports.transform = function customTransform(source, options) {
19
- return transform(source, {...options, transforms: {asyncAwait: false}});
20
- };
23
+ export function transform(
24
+ source: string,
25
+ options: TransformOptions,
26
+ ): TransformOutput {
27
+ return bubleTransform(source, {
28
+ ...options,
29
+ transforms: {
30
+ asyncAwait: false,
31
+ classes: false,
32
+ getterSetter: false,
33
+ ...options.transforms,
34
+ },
35
+ });
36
+ }
package/src/deps.d.ts ADDED
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ declare module '@philpl/buble' {
9
+ import type {TransformOptions as OriginalTransformOptions} from 'buble';
10
+ // eslint-disable-next-line import/no-extraneous-dependencies
11
+ export * from 'buble';
12
+ export const features: string[];
13
+ export interface TransformOptions extends OriginalTransformOptions {
14
+ transforms?: OriginalTransformOptions['transforms'] & {
15
+ asyncAwait?: boolean;
16
+ getterSetter?: boolean;
17
+ };
18
+ }
19
+ }
package/src/index.ts ADDED
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Copyright (c) Facebook, Inc. and its affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+
8
+ import path from 'path';
9
+ import {readDefaultCodeTranslationMessages} from '@docusaurus/theme-translations';
10
+ import {DocusaurusContext, Plugin} from '@docusaurus/types';
11
+
12
+ export default function theme(context: DocusaurusContext): Plugin {
13
+ const {
14
+ i18n: {currentLocale},
15
+ } = context;
16
+
17
+ return {
18
+ name: 'docusaurus-theme-live-codeblock',
19
+
20
+ getThemePath() {
21
+ return path.resolve(__dirname, './theme');
22
+ },
23
+
24
+ getDefaultCodeTranslationMessages() {
25
+ return readDefaultCodeTranslationMessages({
26
+ locale: currentLocale,
27
+ name: 'theme-live-codeblock',
28
+ });
29
+ },
30
+
31
+ configureWebpack() {
32
+ return {
33
+ resolve: {
34
+ alias: {
35
+ buble: path.resolve(__dirname, './custom-buble.js'),
36
+ },
37
+ },
38
+ };
39
+ },
40
+ };
41
+ }
42
+
43
+ export {validateThemeConfig} from './validateThemeConfig';
@@ -11,13 +11,13 @@ import ReactLiveScope from '@theme/ReactLiveScope';
11
11
  import CodeBlock from '@theme-init/CodeBlock';
12
12
 
13
13
  const withLiveEditor = (Component) => {
14
- const WrappedComponent = (props) => {
14
+ function WrappedComponent(props) {
15
15
  if (props.live) {
16
16
  return <Playground scope={ReactLiveScope} {...props} />;
17
17
  }
18
18
 
19
19
  return <Component {...props} />;
20
- };
20
+ }
21
21
 
22
22
  return WrappedComponent;
23
23
  };
@@ -10,13 +10,20 @@ import {LiveProvider, LiveEditor, LiveError, LivePreview} from 'react-live';
10
10
  import clsx from 'clsx';
11
11
  import Translate from '@docusaurus/Translate';
12
12
  import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
13
+ import BrowserOnly from '@docusaurus/BrowserOnly';
13
14
  import usePrismTheme from '@theme/hooks/usePrismTheme';
14
15
  import styles from './styles.module.css';
16
+ import useIsBrowser from '@docusaurus/useIsBrowser';
15
17
 
16
18
  function Header({children}) {
17
19
  return <div className={clsx(styles.playgroundHeader)}>{children}</div>;
18
20
  }
19
21
 
22
+ function LivePreviewLoader() {
23
+ // Is it worth improving/translating?
24
+ return <div>Loading...</div>;
25
+ }
26
+
20
27
  function ResultWithHeader() {
21
28
  return (
22
29
  <>
@@ -27,14 +34,33 @@ function ResultWithHeader() {
27
34
  Result
28
35
  </Translate>
29
36
  </Header>
37
+ {/* https://github.com/facebook/docusaurus/issues/5747 */}
30
38
  <div className={styles.playgroundPreview}>
31
- <LivePreview />
32
- <LiveError />
39
+ <BrowserOnly fallback={<LivePreviewLoader />}>
40
+ {() => (
41
+ <>
42
+ <LivePreview />
43
+ <LiveError />
44
+ </>
45
+ )}
46
+ </BrowserOnly>
33
47
  </div>
34
48
  </>
35
49
  );
36
50
  }
37
51
 
52
+ function ThemedLiveEditor() {
53
+ const isBrowser = useIsBrowser();
54
+ return (
55
+ <LiveEditor
56
+ // We force remount the editor on hydration,
57
+ // otherwise dark prism theme is not applied
58
+ key={isBrowser}
59
+ className={styles.playgroundEditor}
60
+ />
61
+ );
62
+ }
63
+
38
64
  function EditorWithHeader() {
39
65
  return (
40
66
  <>
@@ -45,14 +71,13 @@ function EditorWithHeader() {
45
71
  Live Editor
46
72
  </Translate>
47
73
  </Header>
48
- <LiveEditor className={styles.playgroundEditor} />
74
+ <ThemedLiveEditor />
49
75
  </>
50
76
  );
51
77
  }
52
78
 
53
79
  export default function Playground({children, transformCode, ...props}) {
54
80
  const {
55
- isClient,
56
81
  siteConfig: {
57
82
  themeConfig: {
58
83
  liveCodeBlock: {playgroundPosition},
@@ -64,8 +89,7 @@ export default function Playground({children, transformCode, ...props}) {
64
89
  return (
65
90
  <div className={styles.playgroundContainer}>
66
91
  <LiveProvider
67
- key={isClient}
68
- code={isClient ? children.replace(/\n$/, '') : ''}
92
+ code={children.replace(/\n$/, '')}
69
93
  transformCode={transformCode || ((code) => `${code};`)}
70
94
  theme={prismTheme}
71
95
  {...props}>
@@ -7,6 +7,9 @@
7
7
 
8
8
  .playgroundContainer {
9
9
  margin-bottom: var(--ifm-leading);
10
+ border-radius: var(--ifm-global-radius);
11
+ box-shadow: var(--ifm-global-shadow-lw);
12
+ overflow: hidden;
10
13
  }
11
14
 
12
15
  .playgroundHeader {
@@ -22,8 +25,6 @@
22
25
  .playgroundHeader:first-of-type {
23
26
  background: var(--ifm-color-emphasis-600);
24
27
  color: var(--ifm-color-content-inverse);
25
- border-top-left-radius: var(--ifm-global-radius);
26
- border-top-right-radius: var(--ifm-global-radius);
27
28
  }
28
29
 
29
30
  .playgroundEditor {
@@ -34,11 +35,6 @@
34
35
  }
35
36
 
36
37
  .playgroundPreview {
37
- border: 1px solid var(--ifm-color-emphasis-200);
38
38
  padding: 1rem;
39
- }
40
-
41
- .playgroundPreview:last-of-type, .playgroundEditor:last-of-type {
42
- border-bottom-left-radius: var(--ifm-global-radius);
43
- border-bottom-right-radius: var(--ifm-global-radius);
39
+ background-color: var(--ifm-pre-background);
44
40
  }
@@ -5,12 +5,12 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- const {Joi} = require('@docusaurus/utils-validation');
8
+ import {Joi} from '@docusaurus/utils-validation';
9
+ import type {ThemeConfig, Validate, ValidationResult} from '@docusaurus/types';
9
10
 
10
11
  const DEFAULT_CONFIG = {
11
12
  playgroundPosition: 'bottom',
12
13
  };
13
- exports.DEFAULT_CONFIG = DEFAULT_CONFIG;
14
14
 
15
15
  const Schema = Joi.object({
16
16
  liveCodeBlock: Joi.object({
@@ -21,8 +21,15 @@ const Schema = Joi.object({
21
21
  .label('themeConfig.liveCodeBlock')
22
22
  .default(DEFAULT_CONFIG),
23
23
  });
24
- exports.Schema = Schema;
25
24
 
26
- exports.validateThemeConfig = function ({validate, themeConfig}) {
25
+ function validateThemeConfig({
26
+ validate,
27
+ themeConfig,
28
+ }: {
29
+ validate: Validate<ThemeConfig>;
30
+ themeConfig: ThemeConfig;
31
+ }): ValidationResult<ThemeConfig> {
27
32
  return validate(Schema, themeConfig);
28
- };
33
+ }
34
+
35
+ export {DEFAULT_CONFIG, Schema, validateThemeConfig};
package/tsconfig.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "../../tsconfig.json",
3
+ "compilerOptions": {
4
+ "incremental": true,
5
+ "tsBuildInfoFile": "./lib/.tsbuildinfo",
6
+ "rootDir": "src",
7
+ "outDir": "lib"
8
+ }
9
+ }
package/src/index.js DELETED
@@ -1,33 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- const path = require('path');
9
- const {validateThemeConfig} = require('./validateThemeConfig');
10
-
11
- function theme() {
12
- return {
13
- name: 'docusaurus-theme-live-codeblock',
14
-
15
- getThemePath() {
16
- return path.resolve(__dirname, './theme');
17
- },
18
-
19
- configureWebpack() {
20
- return {
21
- resolve: {
22
- alias: {
23
- buble: path.resolve(__dirname, './custom-buble.js'),
24
- },
25
- },
26
- };
27
- },
28
- };
29
- }
30
-
31
- module.exports = theme;
32
-
33
- theme.validateThemeConfig = validateThemeConfig;