Upload folder using huggingface_hub (part 54)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- tools/ui/node_modules/workbox-strategies/src/_version.ts +2 -0
- tools/ui/node_modules/workbox-strategies/src/index.ts +44 -0
- tools/ui/node_modules/workbox-strategies/src/plugins/cacheOkAndOpaquePlugin.ts +29 -0
- tools/ui/node_modules/workbox-strategies/src/utils/messages.ts +23 -0
- tools/ui/node_modules/workbox-strategies/tsconfig.json +11 -0
- tools/ui/node_modules/workbox-strategies/tsconfig.tsbuildinfo +1 -0
- tools/ui/node_modules/workbox-strategies/utils/messages.d.ts +5 -0
- tools/ui/node_modules/workbox-strategies/utils/messages.js +20 -0
- tools/ui/node_modules/workbox-strategies/utils/messages.mjs +1 -0
- tools/ui/node_modules/workbox-streams/LICENSE +19 -0
- tools/ui/node_modules/workbox-streams/README.md +1 -0
- tools/ui/node_modules/workbox-streams/_types.d.ts +6 -0
- tools/ui/node_modules/workbox-streams/_types.js +18 -0
- tools/ui/node_modules/workbox-streams/_types.mjs +1 -0
- tools/ui/node_modules/workbox-streams/_version.d.ts +0 -0
- tools/ui/node_modules/workbox-streams/_version.js +6 -0
- tools/ui/node_modules/workbox-streams/_version.mjs +1 -0
- tools/ui/node_modules/workbox-streams/build/workbox-streams.dev.js +303 -0
- tools/ui/node_modules/workbox-streams/build/workbox-streams.dev.js.map +1 -0
- tools/ui/node_modules/workbox-streams/build/workbox-streams.prod.js +2 -0
- tools/ui/node_modules/workbox-streams/build/workbox-streams.prod.js.map +1 -0
- tools/ui/node_modules/workbox-streams/concatenate.d.ts +20 -0
- tools/ui/node_modules/workbox-streams/concatenate.js +127 -0
- tools/ui/node_modules/workbox-streams/concatenate.mjs +1 -0
- tools/ui/node_modules/workbox-streams/concatenateToResponse.d.ts +24 -0
- tools/ui/node_modules/workbox-streams/concatenateToResponse.js +34 -0
- tools/ui/node_modules/workbox-streams/concatenateToResponse.mjs +1 -0
- tools/ui/node_modules/workbox-streams/index.d.ts +10 -0
- tools/ui/node_modules/workbox-streams/index.js +17 -0
- tools/ui/node_modules/workbox-streams/index.mjs +1 -0
- tools/ui/node_modules/workbox-streams/isSupported.d.ts +14 -0
- tools/ui/node_modules/workbox-streams/isSupported.js +24 -0
- tools/ui/node_modules/workbox-streams/isSupported.mjs +1 -0
- tools/ui/node_modules/workbox-streams/package.json +33 -0
- tools/ui/node_modules/workbox-streams/src/_types.ts +23 -0
- tools/ui/node_modules/workbox-streams/src/_version.ts +2 -0
- tools/ui/node_modules/workbox-streams/src/concatenate.ts +146 -0
- tools/ui/node_modules/workbox-streams/src/concatenateToResponse.ts +43 -0
- tools/ui/node_modules/workbox-streams/src/index.ts +28 -0
- tools/ui/node_modules/workbox-streams/src/isSupported.ts +27 -0
- tools/ui/node_modules/workbox-streams/src/strategy.ts +94 -0
- tools/ui/node_modules/workbox-streams/src/utils/createHeaders.ts +34 -0
- tools/ui/node_modules/workbox-streams/strategy.d.ts +24 -0
- tools/ui/node_modules/workbox-streams/strategy.js +68 -0
- tools/ui/node_modules/workbox-streams/strategy.mjs +1 -0
- tools/ui/node_modules/workbox-streams/tsconfig.json +10 -0
- tools/ui/node_modules/workbox-streams/tsconfig.tsbuildinfo +1 -0
- tools/ui/node_modules/workbox-streams/utils/createHeaders.d.ts +17 -0
- tools/ui/node_modules/workbox-streams/utils/createHeaders.js +31 -0
- tools/ui/node_modules/workbox-streams/utils/createHeaders.mjs +1 -0
tools/ui/node_modules/workbox-strategies/src/_version.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// @ts-ignore
|
| 2 |
+
try{self['workbox:strategies:7.4.1']&&_()}catch(e){}
|
tools/ui/node_modules/workbox-strategies/src/index.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {CacheFirst} from './CacheFirst.js';
|
| 10 |
+
import {CacheOnly} from './CacheOnly.js';
|
| 11 |
+
import {NetworkFirst, NetworkFirstOptions} from './NetworkFirst.js';
|
| 12 |
+
import {NetworkOnly, NetworkOnlyOptions} from './NetworkOnly.js';
|
| 13 |
+
import {StaleWhileRevalidate} from './StaleWhileRevalidate.js';
|
| 14 |
+
import {Strategy, StrategyOptions} from './Strategy.js';
|
| 15 |
+
import {StrategyHandler} from './StrategyHandler.js';
|
| 16 |
+
import './_version.js';
|
| 17 |
+
|
| 18 |
+
// See https://github.com/GoogleChrome/workbox/issues/2946
|
| 19 |
+
declare global {
|
| 20 |
+
interface FetchEvent {
|
| 21 |
+
// See https://github.com/GoogleChrome/workbox/issues/2974
|
| 22 |
+
readonly preloadResponse: Promise<any>;
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* There are common caching strategies that most service workers will need
|
| 28 |
+
* and use. This module provides simple implementations of these strategies.
|
| 29 |
+
*
|
| 30 |
+
* @module workbox-strategies
|
| 31 |
+
*/
|
| 32 |
+
|
| 33 |
+
export {
|
| 34 |
+
CacheFirst,
|
| 35 |
+
CacheOnly,
|
| 36 |
+
NetworkFirst,
|
| 37 |
+
NetworkFirstOptions,
|
| 38 |
+
NetworkOnly,
|
| 39 |
+
NetworkOnlyOptions,
|
| 40 |
+
StaleWhileRevalidate,
|
| 41 |
+
Strategy,
|
| 42 |
+
StrategyHandler,
|
| 43 |
+
StrategyOptions,
|
| 44 |
+
};
|
tools/ui/node_modules/workbox-strategies/src/plugins/cacheOkAndOpaquePlugin.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {WorkboxPlugin} from 'workbox-core/types.js';
|
| 10 |
+
import '../_version.js';
|
| 11 |
+
|
| 12 |
+
export const cacheOkAndOpaquePlugin: WorkboxPlugin = {
|
| 13 |
+
/**
|
| 14 |
+
* Returns a valid response (to allow caching) if the status is 200 (OK) or
|
| 15 |
+
* 0 (opaque).
|
| 16 |
+
*
|
| 17 |
+
* @param {Object} options
|
| 18 |
+
* @param {Response} options.response
|
| 19 |
+
* @return {Response|null}
|
| 20 |
+
*
|
| 21 |
+
* @private
|
| 22 |
+
*/
|
| 23 |
+
cacheWillUpdate: async ({response}) => {
|
| 24 |
+
if (response.status === 200 || response.status === 0) {
|
| 25 |
+
return response;
|
| 26 |
+
}
|
| 27 |
+
return null;
|
| 28 |
+
},
|
| 29 |
+
};
|
tools/ui/node_modules/workbox-strategies/src/utils/messages.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {logger} from 'workbox-core/_private/logger.js';
|
| 10 |
+
import {getFriendlyURL} from 'workbox-core/_private/getFriendlyURL.js';
|
| 11 |
+
import '../_version.js';
|
| 12 |
+
|
| 13 |
+
export const messages = {
|
| 14 |
+
strategyStart: (strategyName: string, request: Request): string =>
|
| 15 |
+
`Using ${strategyName} to respond to '${getFriendlyURL(request.url)}'`,
|
| 16 |
+
printFinalResponse: (response?: Response): void => {
|
| 17 |
+
if (response) {
|
| 18 |
+
logger.groupCollapsed(`View the final response here.`);
|
| 19 |
+
logger.log(response || '[No response returned]');
|
| 20 |
+
logger.groupEnd();
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
};
|
tools/ui/node_modules/workbox-strategies/tsconfig.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"extends": "../../tsconfig",
|
| 3 |
+
"compilerOptions": {
|
| 4 |
+
"composite": true,
|
| 5 |
+
"outDir": "./",
|
| 6 |
+
"rootDir": "./src",
|
| 7 |
+
"tsBuildInfoFile": "./tsconfig.tsbuildinfo"
|
| 8 |
+
},
|
| 9 |
+
"include": ["src/**/*.ts"],
|
| 10 |
+
"references": [{"path": "../workbox-core/"}]
|
| 11 |
+
}
|
tools/ui/node_modules/workbox-strategies/tsconfig.tsbuildinfo
ADDED
|
@@ -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.webworker.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.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.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.es2020.number.d.ts","../../infra/type-overrides.d.ts","../workbox-core/_version.d.ts","../workbox-core/types.d.ts","../workbox-core/_private/assert.d.ts","../workbox-core/_private/logger.d.ts","../workbox-core/_private/workboxerror.d.ts","../workbox-core/_private/cachenames.d.ts","../workbox-core/_private/getfriendlyurl.d.ts","../workbox-core/_private/cachematchignoreparams.d.ts","../workbox-core/_private/deferred.d.ts","../workbox-core/_private/executequotaerrorcallbacks.d.ts","../workbox-core/_private/timeout.d.ts","./src/_version.ts","./src/strategyhandler.ts","./src/strategy.ts","./src/utils/messages.ts","./src/cachefirst.ts","./src/cacheonly.ts","./src/plugins/cacheokandopaqueplugin.ts","./src/networkfirst.ts","./src/networkonly.ts","./src/stalewhilerevalidate.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/babel__preset-env/index.d.ts","../../node_modules/@types/common-tags/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/compatibility/index.d.ts","../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.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/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.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/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.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/ts5.6/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/html-minifier-terser/index.d.ts","../../node_modules/@types/linkify-it/index.d.ts","../../node_modules/@types/mdurl/encode.d.ts","../../node_modules/@types/mdurl/decode.d.ts","../../node_modules/@types/mdurl/parse.d.ts","../../node_modules/@types/mdurl/format.d.ts","../../node_modules/@types/mdurl/index.d.ts","../../node_modules/@types/markdown-it/lib/common/utils.d.ts","../../node_modules/@types/markdown-it/lib/token.d.ts","../../node_modules/@types/markdown-it/lib/rules_inline/state_inline.d.ts","../../node_modules/@types/markdown-it/lib/helpers/parse_link_label.d.ts","../../node_modules/@types/markdown-it/lib/helpers/parse_link_destination.d.ts","../../node_modules/@types/markdown-it/lib/helpers/parse_link_title.d.ts","../../node_modules/@types/markdown-it/lib/helpers/index.d.ts","../../node_modules/@types/markdown-it/lib/ruler.d.ts","../../node_modules/@types/markdown-it/lib/rules_block/state_block.d.ts","../../node_modules/@types/markdown-it/lib/parser_block.d.ts","../../node_modules/@types/markdown-it/lib/rules_core/state_core.d.ts","../../node_modules/@types/markdown-it/lib/parser_core.d.ts","../../node_modules/@types/markdown-it/lib/parser_inline.d.ts","../../node_modules/@types/markdown-it/lib/renderer.d.ts","../../node_modules/@types/markdown-it/lib/index.d.ts","../../node_modules/@types/markdown-it/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/resolve/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/source-list-map/index.d.ts","../../node_modules/@types/stringify-object/index.d.ts","../../node_modules/@types/tapable/index.d.ts","../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts","../../node_modules/@types/uglify-js/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"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"d3f4771304b6b07e5a2bb992e75af76ac060de78803b1b21f0475ffc5654d817","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","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":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"0396119f8b76a074eddc16de8dbc4231a448f2534f4c64c5ab7b71908eb6e646","affectsGlobalScope":true},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","f0ae1ac99c66a4827469b8942101642ae65971e36db438afe67d4985caa31222","7f5bced3f1bd3647585b59564e0b0fda67e1c2930325507ee922698fe8366aca",{"version":"d763b9ef68a16f3896187af5b51b5a959b479218cc65c2930bcb440cbbf10728","affectsGlobalScope":true},"0b066351c69855f76970a460fe20a500d20f369a02d2069aa49e1195cd04c3c5","dda5c129fa8b8e72bee6609a4fc48148f58f2f656d70a395d3122431193569f9","9fd40388bab591ded1f8c05b64fbfe3e342c6cd70d594d5238f42dd2186980ff","9848c9644b2c1209f90ca5bf13f81d268365178241ba40bee6cf334643a8d5a0","88fa7615e71089c0cab3b688aae073a6e9dae6f489ec1357da407c155d2e9d84","4e7a6d022b2a963e993bec8a6e92bd6053f2e46495ef058b015cfd25fa6520b9","f69dd422840e809218633c76acb5eed2a6aa81914299f9b8d74101148526e27e",{"version":"5302edf159925979044d12d1d880b11026afc72e3792a26c3cdf26c79f13cc95","signature":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","affectsGlobalScope":true},{"version":"e7205dfd323234bf4e0b792a81edc050a8aa3dea2bdff6c4f6a69cefe9fb3f85","signature":"c0f693310aa76645335728d3636021e61130aff7651ae44c512662a194ac3b63"},{"version":"709b7e9bbcb674471087b3c0ed1a1f5f8281716606751f8c1ac77ff03a6f8f8d","signature":"98962a67c31e31dbb0f7eb27082465ca9bfd4b59c9f36537a70c27b1a3982e65"},{"version":"e0920a4cf384f4e5b669d369c2b2c807308b3f1b7f0f1fee0336c86e5745a617","signature":"cf3911e52a035c3412ffaac2597bcda4b211022a9f9f3172f1b2f5f5786a9a8e"},{"version":"3c479b29aaea6365e3ab2b22d720b80924f51a4d22048e06bf718056b3420299","signature":"b7a945ae3d451d0150046845f80e668e0dcbeeee2c8b7616b85623c5619b8ecb"},{"version":"f6802c83be81f4724096014bc99fd01745085cdd10004be8841b5fbf6952476a","signature":"4da3eff99723cfb997d249dd6f008c605671fbb47d2f670b4f9e76bf441afa48"},{"version":"e2f1cbd77a92bf2611826404da3e4ab2c60a10019a42c696628a60fbf8aac761","signature":"697ecabf6994c375c59c13d044ecf94d7d01b931a7122e11d0ec4fcc08c6b996"},{"version":"592a1d38f841175483eee47035e578fdf61344fb8f96e245717cdfea387d60dc","signature":"504186e6db5cd2c600ce2f134732e4d6ff94beddac01357e597d720735a3100e"},{"version":"75362edce62f192fff1c8bedbbf6ac9fcf3d1c1664c0de9043379df181b77742","signature":"ca6d208c53e8678ded971927ab4dec73a131ff603b0d3739cb16a905751e7275"},{"version":"b0dc8d7745f05499e819a5bda82f59387bfe164e3f2c97568ea5cee6cf97c3fe","signature":"f47f28fe817c1c06e48ba005a96d4166e0e66b32d1dacd020a0fc8b7af91f20d"},{"version":"8bf18b8b55ef77bd493dd0d1f74dfeea5cba48514c5e0de6f65b7232f19ffee3","signature":"28e03569a522e96af67ad1007d85fd78ed86be623133ff59e6645d77375126e7","affectsGlobalScope":true},"c2c2a861a338244d7dd700d0c52a78916b4bb75b98fc8ca5e7c501899fc03796","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","adb467429462e3891de5bb4a82a4189b92005d61c7f9367c089baf03997c104e","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","691aea9772797ca98334eb743e7686e29325b02c6931391bcee4cc7bf27a9f3b","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","d83a458e35dfd3cfe0c94758b0b621a733df35ff6b24db007c2721da6574705d","0aeab9bac83e1f076d9f5487c5c783288fe9be64064ee7de3c81eecee157f506",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","7852500a7dc3f9cb6b73d619f6e0249119211ea662fd5e16c59ee5aba3deeb80","1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"20fb08397d22742771868b52f647cddfbf44b263f26b6519b449257f8c9f7364","affectsGlobalScope":true},"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"08faa97886e71757779428dd4c69a545c32c85fd629d1116d42710b32c6378bc","affectsGlobalScope":true},"6b042aa5d277ad6963e2837179fd2f8fbb01968ac67115b0833c0244e93d1d50","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"23cfd70b42094e54cc3c5dab996d81b97e2b6f38ccb24ead85454b8ddfe2fc4f","affectsGlobalScope":true},"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"0a37b8d00d03f0381d2db2fe31b0571dc9d7cc0f4b87ca103cc3cd2277690ba0","71adf5dbc59568663d252a46179e71e4d544c053978bfc526d11543a3f716f42","38bf8ff1b403c861e9052c9ea651cb4f38c1ecc084a34d79f8acc6d6477a7321","93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e",{"version":"e184c4b8918ef56c8c9e68bd79f3f3780e2d0d75bf2b8a41da1509a40c2deb46","affectsGlobalScope":true},"d206b4baf4ddcc15d9d69a9a2f4999a72a2c6adeaa8af20fa7a9960816287555","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true},{"version":"6b19db3600a17af69d4f33d08cc7076a7d19fb65bb36e442cac58929ec7c9482","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","ba1f814c22fd970255ddd60d61fb7e00c28271c933ab5d5cc19cd3ca66b8f57c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"295f068af94245ee9d780555351bef98adfd58f8baf0b9dadbc31a489b881f8b","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb",{"version":"09d479208911ac3ac6a7c2fe86217fc1abe6c4f04e2d52e4890e500699eeab32","affectsGlobalScope":true},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"5b566927cad2ed2139655d55d690ffa87df378b956e7fe1c96024c4d9f75c4cf","affectsGlobalScope":true},{"version":"bce947017cb7a2deebcc4f5ba04cead891ce6ad1602a4438ae45ed9aa1f39104","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","e2c72c065a36bc9ab2a00ac6a6f51e71501619a72c0609defd304d46610487a4","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633","393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0","6767cce098e1e6369c26258b7a1f9e569c5467d501a47a090136d5ea6e80ae6d","6503fb6addf62f9b10f8564d9869ad824565a914ec1ac3dd7d13da14a3f57036","f313731860257325f13351575f381fef333d4dfe30daf5a2e72f894208feea08","951b37f7d86f6012f09e6b35f1de57c69d75f16908cb0adaa56b93675ea0b853","3816fc03ffd9cbd1a7a3362a264756a4a1d547caabea50ca68303046be40e376","0c417b4ec46b88fb62a43ec00204700b560d01eb5677c7faa8ecd34610f096a8","13d29cdeb64e8496424edf42749bbb47de5e42d201cf958911a4638cbcffbd3f","0f9e381eecc5860f693c31fe463b3ca20a64ca9b8db0cf6208cd4a053f064809","95902d5561c6aac5dfc40568a12b0aca324037749dcd32a81f23423bfde69bab","5dfb2aca4136abdc5a2740f14be8134a6e6b66fd53470bb2e954e40f8abfaf3e","577463167dd69bd81f76697dfc3f7b22b77a6152f60a602a9218e52e3183ad67","b8396e9024d554b611cbe31a024b176ba7116063d19354b5a02dccd8f0118989","4b28e1c5bf88d891e07a1403358b81a51b3ba2eae1ffada51cca7476b5ac6407","7150ad575d28bf98fae321a1c0f10ad17b127927811f488ded6ff1d88d4244e5","8b155c4757d197969553de3762c8d23d5866710301de41e1b66b97c9ed867003","93733466609dd8bf72eace502a24ca7574bd073d934216e628f1b615c8d3cb3c","45e9228761aabcadb79c82fb3008523db334491525bdb8e74e0f26eaf7a4f7f4","aeacac2778c9821512b6b889da79ac31606a863610c8f28da1e483579627bf90","569fdb354062fc098a6a3ba93a029edf22d6fe480cf72b231b3c07832b2e7c97","bf9876e62fb7f4237deafab8c7444770ef6e82b4cad2d5dc768664ff340feeb2","6cf60e76d37faf0fbc2f80a873eab0fd545f6b1bf300e7f0823f956ddb3083e9","6adaa6103086f931e3eee20f0987e86e8879e9d13aa6bd6075ccfc58b9c5681c","ee0af0f2b8d3b4d0baf669f2ff6fcef4a8816a473c894cc7c905029f7505fed0","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","2905bf42cddf7ba20c88922d36b7afa5431523c1cab119fdb38bf5baab02adf1","d558a0fe921ebcc88d3212c2c42108abf9f0d694d67ebdeba37d7728c044f579","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762"],"options":{"composite":true,"declaration":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","preserveConstEnums":true,"rootDir":"./src","strict":true,"target":4,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"fileIdsList":[[83,125],[65,83,125],[65,66,67,68,69,83,125],[65,67,83,125],[74,76,83,125],[73,74,75,83,125],[83,125,138,174],[83,125,137,174,176],[83,125,199],[83,125,184],[83,125,188,189,190],[83,125,187],[83,125,189],[83,125,179,185,186,191,194,196,197,198],[83,125,186,192,193,199],[83,125,192,195],[83,125,186,187,192,199],[83,125,186,199],[83,125,180,181,182,183],[83,122,125],[83,124,125],[83,125,130,159],[83,125,126,131,137,138,145,156,167],[83,125,126,127,137,145],[78,79,80,83,125],[83,125,128,168],[83,125,129,130,138,146],[83,125,130,156,164],[83,125,131,133,137,145],[83,124,125,132],[83,125,133,134],[83,125,137],[83,125,135,137],[83,124,125,137],[83,125,137,138,139,156,167],[83,125,137,138,139,152,156,159],[83,120,125,172],[83,125,133,137,140,145,156,167],[83,125,137,138,140,141,145,156,164,167],[83,125,140,142,156,164,167],[83,125,137,143],[83,125,144,167,172],[83,125,133,137,145,156],[83,125,146],[83,125,147],[83,124,125,148],[83,122,123,124,125,126,127,128,129,130,131,132,133,134,135,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173],[83,125,150],[83,125,151],[83,125,137,152,153],[83,125,152,154,168,170],[83,125,137,156,157,159],[83,125,158,159],[83,125,156,157],[83,125,159],[83,125,160],[83,122,125,156],[83,125,137,162,163],[83,125,162,163],[83,125,130,145,156,164],[83,125,165],[125],[81,82,83,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173],[83,125,145,166],[83,125,140,151,167],[83,125,130,168],[83,125,156,169],[83,125,144,170],[83,125,171],[83,125,130,137,139,148,156,167,170,172],[83,125,156,173],[83,125,205,244],[83,125,205,229,244],[83,125,244],[83,125,205],[83,125,205,230,244],[83,125,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243],[83,125,230,244],[83,125,248],[83,125,174,251,252,253,254,255,256,257,258,259,260,261],[83,125,250,251,260],[83,125,251,260],[83,125,245,250,251,260],[83,125,250,251,252,253,254,255,256,257,258,259,261],[83,125,251],[83,125,130,250,260],[83,92,96,125,167],[83,92,125,156,167],[83,87,125],[83,89,92,125,164,167],[83,125,145,164],[83,125,174],[83,87,125,174],[83,89,92,125,145,167],[83,84,85,88,91,125,137,156,167],[83,92,99,125],[83,84,90,125],[83,92,113,114,125],[83,88,92,125,159,167,174],[83,113,125,174],[83,86,87,125,174],[83,92,125],[83,86,87,88,89,90,91,92,93,94,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,114,115,116,117,118,119,125],[83,92,107,125],[83,92,99,100,125],[83,90,92,100,101,125],[83,91,125],[83,84,87,92,125],[83,92,96,100,101,125],[83,96,125],[83,90,92,95,125,167],[83,84,89,92,99,125],[83,125,156],[83,87,92,113,125,172,174],[44,83,125],[45,46,47,55,56,57,83,125],[55,56,58,59,61,62,63,83,125],[45,46,47,55,56,57,60,83,125],[45,46,47,53,55,56,57,83,125],[44,46,47,48,49,55,83,125],[44,45,46,47,49,50,51,52,53,56,83,125],[46,49,83,125],[55,56],[55,56,58,59,61,62,63],[44],[44,55],[44,56]],"referencedMap":[[42,1],[67,2],[65,1],[70,3],[66,2],[71,1],[68,4],[69,2],[72,1],[77,5],[73,1],[76,6],[74,1],[175,7],[177,8],[178,1],[75,1],[179,1],[200,9],[185,10],[191,11],[189,1],[188,12],[190,13],[199,14],[194,15],[196,16],[197,17],[198,18],[192,1],[193,18],[195,18],[187,18],[186,1],[181,1],[180,1],[183,10],[184,19],[182,10],[176,1],[201,1],[122,20],[123,20],[124,21],[125,22],[126,23],[127,24],[78,1],[81,25],[79,1],[80,1],[128,26],[129,27],[130,28],[131,29],[132,30],[133,31],[134,31],[136,32],[135,33],[137,34],[138,35],[139,36],[121,37],[140,38],[141,39],[142,40],[143,41],[144,42],[145,43],[146,44],[147,45],[148,46],[149,47],[150,48],[151,49],[152,50],[153,50],[154,51],[155,1],[156,52],[158,53],[157,54],[159,55],[160,56],[161,57],[162,58],[163,59],[164,60],[165,61],[83,62],[82,1],[174,63],[166,64],[167,65],[168,66],[169,67],[170,68],[171,69],[172,70],[173,71],[202,1],[203,1],[204,1],[229,72],[230,73],[205,74],[208,74],[227,72],[228,72],[218,72],[217,75],[215,72],[210,72],[223,72],[221,72],[225,72],[209,72],[222,72],[226,72],[211,72],[212,72],[224,72],[206,72],[213,72],[214,72],[216,72],[220,72],[231,76],[219,72],[207,72],[244,77],[243,1],[238,76],[240,78],[239,76],[232,76],[233,76],[235,76],[237,76],[241,78],[242,78],[234,78],[236,78],[245,1],[246,1],[247,1],[249,79],[248,1],[262,80],[261,81],[252,82],[253,83],[260,84],[254,83],[255,82],[256,82],[257,82],[258,85],[251,86],[259,81],[250,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[8,1],[99,87],[109,88],[98,87],[119,89],[90,90],[89,91],[118,92],[112,93],[117,94],[92,95],[106,96],[91,97],[115,98],[87,99],[86,92],[116,100],[88,101],[93,102],[94,1],[97,102],[84,1],[120,103],[110,104],[101,105],[102,106],[104,107],[100,108],[103,109],[113,92],[95,110],[96,111],[105,112],[85,113],[108,104],[107,102],[111,1],[114,114],[45,115],[50,1],[48,1],[51,1],[52,1],[49,1],[46,1],[53,1],[47,115],[43,1],[44,1],[54,1],[58,116],[59,116],[64,117],[61,118],[62,119],[60,115],[63,118],[56,120],[55,121],[57,122]],"exportedModulesMap":[[42,1],[67,2],[65,1],[70,3],[66,2],[71,1],[68,4],[69,2],[72,1],[77,5],[73,1],[76,6],[74,1],[175,7],[177,8],[178,1],[75,1],[179,1],[200,9],[185,10],[191,11],[189,1],[188,12],[190,13],[199,14],[194,15],[196,16],[197,17],[198,18],[192,1],[193,18],[195,18],[187,18],[186,1],[181,1],[180,1],[183,10],[184,19],[182,10],[176,1],[201,1],[122,20],[123,20],[124,21],[125,22],[126,23],[127,24],[78,1],[81,25],[79,1],[80,1],[128,26],[129,27],[130,28],[131,29],[132,30],[133,31],[134,31],[136,32],[135,33],[137,34],[138,35],[139,36],[121,37],[140,38],[141,39],[142,40],[143,41],[144,42],[145,43],[146,44],[147,45],[148,46],[149,47],[150,48],[151,49],[152,50],[153,50],[154,51],[155,1],[156,52],[158,53],[157,54],[159,55],[160,56],[161,57],[162,58],[163,59],[164,60],[165,61],[83,62],[82,1],[174,63],[166,64],[167,65],[168,66],[169,67],[170,68],[171,69],[172,70],[173,71],[202,1],[203,1],[204,1],[229,72],[230,73],[205,74],[208,74],[227,72],[228,72],[218,72],[217,75],[215,72],[210,72],[223,72],[221,72],[225,72],[209,72],[222,72],[226,72],[211,72],[212,72],[224,72],[206,72],[213,72],[214,72],[216,72],[220,72],[231,76],[219,72],[207,72],[244,77],[243,1],[238,76],[240,78],[239,76],[232,76],[233,76],[235,76],[237,76],[241,78],[242,78],[234,78],[236,78],[245,1],[246,1],[247,1],[249,79],[248,1],[262,80],[261,81],[252,82],[253,83],[260,84],[254,83],[255,82],[256,82],[257,82],[258,85],[251,86],[259,81],[250,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[8,1],[99,87],[109,88],[98,87],[119,89],[90,90],[89,91],[118,92],[112,93],[117,94],[92,95],[106,96],[91,97],[115,98],[87,99],[86,92],[116,100],[88,101],[93,102],[94,1],[97,102],[84,1],[120,103],[110,104],[101,105],[102,106],[104,107],[100,108],[103,109],[113,92],[95,110],[96,111],[105,112],[85,113],[108,104],[107,102],[111,1],[114,114],[45,115],[50,1],[48,1],[51,1],[52,1],[49,1],[46,1],[53,1],[47,115],[43,1],[44,1],[58,123],[59,123],[64,124],[61,123],[62,123],[60,125],[63,123],[56,126],[55,127]],"semanticDiagnosticsPerFile":[42,67,65,70,66,71,68,69,72,77,73,76,74,175,177,178,75,179,200,185,191,189,188,190,199,194,196,197,198,192,193,195,187,186,181,180,183,184,182,176,201,122,123,124,125,126,127,78,81,79,80,128,129,130,131,132,133,134,136,135,137,138,139,121,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,158,157,159,160,161,162,163,164,165,83,82,174,166,167,168,169,170,171,172,173,202,203,204,229,230,205,208,227,228,218,217,215,210,223,221,225,209,222,226,211,212,224,206,213,214,216,220,231,219,207,244,243,238,240,239,232,233,235,237,241,242,234,236,245,246,247,249,248,262,261,252,253,260,254,255,256,257,258,251,259,250,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,8,99,109,98,119,90,89,118,112,117,92,106,91,115,87,86,116,88,93,94,97,84,120,110,101,102,104,100,103,113,95,96,105,85,108,107,111,114,45,50,48,51,52,49,46,53,47,43,44,54,58,59,64,61,62,60,63,56,55,57],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.5"}
|
tools/ui/node_modules/workbox-strategies/utils/messages.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import '../_version.js';
|
| 2 |
+
export declare const messages: {
|
| 3 |
+
strategyStart: (strategyName: string, request: Request) => string;
|
| 4 |
+
printFinalResponse: (response?: Response) => void;
|
| 5 |
+
};
|
tools/ui/node_modules/workbox-strategies/utils/messages.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import { logger } from 'workbox-core/_private/logger.js';
|
| 9 |
+
import { getFriendlyURL } from 'workbox-core/_private/getFriendlyURL.js';
|
| 10 |
+
import '../_version.js';
|
| 11 |
+
export const messages = {
|
| 12 |
+
strategyStart: (strategyName, request) => `Using ${strategyName} to respond to '${getFriendlyURL(request.url)}'`,
|
| 13 |
+
printFinalResponse: (response) => {
|
| 14 |
+
if (response) {
|
| 15 |
+
logger.groupCollapsed(`View the final response here.`);
|
| 16 |
+
logger.log(response || '[No response returned]');
|
| 17 |
+
logger.groupEnd();
|
| 18 |
+
}
|
| 19 |
+
},
|
| 20 |
+
};
|
tools/ui/node_modules/workbox-strategies/utils/messages.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './messages.js';
|
tools/ui/node_modules/workbox-streams/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright 2018 Google LLC
|
| 2 |
+
|
| 3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 4 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 5 |
+
in the Software without restriction, including without limitation the rights
|
| 6 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 7 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 8 |
+
furnished to do so, subject to the following conditions:
|
| 9 |
+
|
| 10 |
+
The above copyright notice and this permission notice shall be included in
|
| 11 |
+
all copies or substantial portions of the Software.
|
| 12 |
+
|
| 13 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 18 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 19 |
+
THE SOFTWARE.
|
tools/ui/node_modules/workbox-streams/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
This module's documentation can be found at https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-streams
|
tools/ui/node_modules/workbox-streams/_types.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import './_version.js';
|
| 2 |
+
export type StreamSource = Response | ReadableStream | BodyInit;
|
| 3 |
+
/**
|
| 4 |
+
* @typedef {Response|ReadableStream|BodyInit} StreamSource
|
| 5 |
+
* @memberof workbox-streams
|
| 6 |
+
*/
|
tools/ui/node_modules/workbox-streams/_types.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import './_version.js';
|
| 9 |
+
// * * * IMPORTANT! * * *
|
| 10 |
+
// ------------------------------------------------------------------------- //
|
| 11 |
+
// jdsoc type definitions cannot be declared above TypeScript definitions or
|
| 12 |
+
// they'll be stripped from the built `.js` files, and they'll only be in the
|
| 13 |
+
// `d.ts` files, which aren't read by the jsdoc generator. As a result we
|
| 14 |
+
// have to put declare them below.
|
| 15 |
+
/**
|
| 16 |
+
* @typedef {Response|ReadableStream|BodyInit} StreamSource
|
| 17 |
+
* @memberof workbox-streams
|
| 18 |
+
*/
|
tools/ui/node_modules/workbox-streams/_types.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './_types.js';
|
tools/ui/node_modules/workbox-streams/_version.d.ts
ADDED
|
File without changes
|
tools/ui/node_modules/workbox-streams/_version.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
// @ts-ignore
|
| 3 |
+
try {
|
| 4 |
+
self['workbox:streams:7.4.0'] && _();
|
| 5 |
+
}
|
| 6 |
+
catch (e) { }
|
tools/ui/node_modules/workbox-streams/_version.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
try{self['workbox:streams:7.4.1']&&_()}catch(e){}// eslint-disable-line
|
tools/ui/node_modules/workbox-streams/build/workbox-streams.dev.js
ADDED
|
@@ -0,0 +1,303 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
this.workbox = this.workbox || {};
|
| 2 |
+
this.workbox.streams = (function (exports, assert_js, Deferred_js, logger_js, WorkboxError_js, canConstructReadableStream_js) {
|
| 3 |
+
'use strict';
|
| 4 |
+
|
| 5 |
+
// @ts-ignore
|
| 6 |
+
try {
|
| 7 |
+
self['workbox:streams:7.4.0'] && _();
|
| 8 |
+
} catch (e) {}
|
| 9 |
+
|
| 10 |
+
/*
|
| 11 |
+
Copyright 2018 Google LLC
|
| 12 |
+
|
| 13 |
+
Use of this source code is governed by an MIT-style
|
| 14 |
+
license that can be found in the LICENSE file or at
|
| 15 |
+
https://opensource.org/licenses/MIT.
|
| 16 |
+
*/
|
| 17 |
+
/**
|
| 18 |
+
* Takes either a Response, a ReadableStream, or a
|
| 19 |
+
* [BodyInit](https://fetch.spec.whatwg.org/#bodyinit) and returns the
|
| 20 |
+
* ReadableStreamReader object associated with it.
|
| 21 |
+
*
|
| 22 |
+
* @param {workbox-streams.StreamSource} source
|
| 23 |
+
* @return {ReadableStreamReader}
|
| 24 |
+
* @private
|
| 25 |
+
*/
|
| 26 |
+
function _getReaderFromSource(source) {
|
| 27 |
+
if (source instanceof Response) {
|
| 28 |
+
// See https://github.com/GoogleChrome/workbox/issues/2998
|
| 29 |
+
if (source.body) {
|
| 30 |
+
return source.body.getReader();
|
| 31 |
+
}
|
| 32 |
+
throw new WorkboxError_js.WorkboxError('opaque-streams-source', {
|
| 33 |
+
type: source.type
|
| 34 |
+
});
|
| 35 |
+
}
|
| 36 |
+
if (source instanceof ReadableStream) {
|
| 37 |
+
return source.getReader();
|
| 38 |
+
}
|
| 39 |
+
return new Response(source).body.getReader();
|
| 40 |
+
}
|
| 41 |
+
/**
|
| 42 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 43 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
|
| 44 |
+
*
|
| 45 |
+
* Returns an object exposing a ReadableStream with each individual stream's
|
| 46 |
+
* data returned in sequence, along with a Promise which signals when the
|
| 47 |
+
* stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 48 |
+
*
|
| 49 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 50 |
+
* @return {Object<{done: Promise, stream: ReadableStream}>}
|
| 51 |
+
*
|
| 52 |
+
* @memberof workbox-streams
|
| 53 |
+
*/
|
| 54 |
+
function concatenate(sourcePromises) {
|
| 55 |
+
{
|
| 56 |
+
assert_js.assert.isArray(sourcePromises, {
|
| 57 |
+
moduleName: 'workbox-streams',
|
| 58 |
+
funcName: 'concatenate',
|
| 59 |
+
paramName: 'sourcePromises'
|
| 60 |
+
});
|
| 61 |
+
}
|
| 62 |
+
const readerPromises = sourcePromises.map(sourcePromise => {
|
| 63 |
+
return Promise.resolve(sourcePromise).then(source => {
|
| 64 |
+
return _getReaderFromSource(source);
|
| 65 |
+
});
|
| 66 |
+
});
|
| 67 |
+
const streamDeferred = new Deferred_js.Deferred();
|
| 68 |
+
let i = 0;
|
| 69 |
+
const logMessages = [];
|
| 70 |
+
const stream = new ReadableStream({
|
| 71 |
+
pull(controller) {
|
| 72 |
+
return readerPromises[i].then(reader => {
|
| 73 |
+
if (reader instanceof ReadableStreamDefaultReader) {
|
| 74 |
+
return reader.read();
|
| 75 |
+
} else {
|
| 76 |
+
return;
|
| 77 |
+
}
|
| 78 |
+
}).then(result => {
|
| 79 |
+
if (result === null || result === void 0 ? void 0 : result.done) {
|
| 80 |
+
{
|
| 81 |
+
logMessages.push(['Reached the end of source:', sourcePromises[i]]);
|
| 82 |
+
}
|
| 83 |
+
i++;
|
| 84 |
+
if (i >= readerPromises.length) {
|
| 85 |
+
// Log all the messages in the group at once in a single group.
|
| 86 |
+
{
|
| 87 |
+
logger_js.logger.groupCollapsed(`Concatenating ${readerPromises.length} sources.`);
|
| 88 |
+
for (const message of logMessages) {
|
| 89 |
+
if (Array.isArray(message)) {
|
| 90 |
+
logger_js.logger.log(...message);
|
| 91 |
+
} else {
|
| 92 |
+
logger_js.logger.log(message);
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
logger_js.logger.log('Finished reading all sources.');
|
| 96 |
+
logger_js.logger.groupEnd();
|
| 97 |
+
}
|
| 98 |
+
controller.close();
|
| 99 |
+
streamDeferred.resolve();
|
| 100 |
+
return;
|
| 101 |
+
}
|
| 102 |
+
// The `pull` method is defined because we're inside it.
|
| 103 |
+
return this.pull(controller);
|
| 104 |
+
} else {
|
| 105 |
+
controller.enqueue(result === null || result === void 0 ? void 0 : result.value);
|
| 106 |
+
}
|
| 107 |
+
}).catch(error => {
|
| 108 |
+
{
|
| 109 |
+
logger_js.logger.error('An error occurred:', error);
|
| 110 |
+
}
|
| 111 |
+
streamDeferred.reject(error);
|
| 112 |
+
throw error;
|
| 113 |
+
});
|
| 114 |
+
},
|
| 115 |
+
cancel() {
|
| 116 |
+
{
|
| 117 |
+
logger_js.logger.warn('The ReadableStream was cancelled.');
|
| 118 |
+
}
|
| 119 |
+
streamDeferred.resolve();
|
| 120 |
+
}
|
| 121 |
+
});
|
| 122 |
+
return {
|
| 123 |
+
done: streamDeferred.promise,
|
| 124 |
+
stream
|
| 125 |
+
};
|
| 126 |
+
}
|
| 127 |
+
|
| 128 |
+
/*
|
| 129 |
+
Copyright 2018 Google LLC
|
| 130 |
+
|
| 131 |
+
Use of this source code is governed by an MIT-style
|
| 132 |
+
license that can be found in the LICENSE file or at
|
| 133 |
+
https://opensource.org/licenses/MIT.
|
| 134 |
+
*/
|
| 135 |
+
/**
|
| 136 |
+
* This is a utility method that determines whether the current browser supports
|
| 137 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 138 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 139 |
+
* is available.
|
| 140 |
+
*
|
| 141 |
+
* @private
|
| 142 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 143 |
+
* `'text/html'` will be used by default.
|
| 144 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 145 |
+
* streaming responses, and `false` otherwise.
|
| 146 |
+
*
|
| 147 |
+
* @memberof workbox-streams
|
| 148 |
+
*/
|
| 149 |
+
function createHeaders(headersInit = {}) {
|
| 150 |
+
// See https://github.com/GoogleChrome/workbox/issues/1461
|
| 151 |
+
const headers = new Headers(headersInit);
|
| 152 |
+
if (!headers.has('content-type')) {
|
| 153 |
+
headers.set('content-type', 'text/html');
|
| 154 |
+
}
|
| 155 |
+
return headers;
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
/*
|
| 159 |
+
Copyright 2018 Google LLC
|
| 160 |
+
|
| 161 |
+
Use of this source code is governed by an MIT-style
|
| 162 |
+
license that can be found in the LICENSE file or at
|
| 163 |
+
https://opensource.org/licenses/MIT.
|
| 164 |
+
*/
|
| 165 |
+
/**
|
| 166 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 167 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),
|
| 168 |
+
* along with a
|
| 169 |
+
* [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).
|
| 170 |
+
*
|
| 171 |
+
* Returns an object exposing a Response whose body consists of each individual
|
| 172 |
+
* stream's data returned in sequence, along with a Promise which signals when
|
| 173 |
+
* the stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 174 |
+
*
|
| 175 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 176 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 177 |
+
* `'text/html'` will be used by default.
|
| 178 |
+
* @return {Object<{done: Promise, response: Response}>}
|
| 179 |
+
*
|
| 180 |
+
* @memberof workbox-streams
|
| 181 |
+
*/
|
| 182 |
+
function concatenateToResponse(sourcePromises, headersInit) {
|
| 183 |
+
const {
|
| 184 |
+
done,
|
| 185 |
+
stream
|
| 186 |
+
} = concatenate(sourcePromises);
|
| 187 |
+
const headers = createHeaders(headersInit);
|
| 188 |
+
const response = new Response(stream, {
|
| 189 |
+
headers
|
| 190 |
+
});
|
| 191 |
+
return {
|
| 192 |
+
done,
|
| 193 |
+
response
|
| 194 |
+
};
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
/*
|
| 198 |
+
Copyright 2018 Google LLC
|
| 199 |
+
|
| 200 |
+
Use of this source code is governed by an MIT-style
|
| 201 |
+
license that can be found in the LICENSE file or at
|
| 202 |
+
https://opensource.org/licenses/MIT.
|
| 203 |
+
*/
|
| 204 |
+
/**
|
| 205 |
+
* This is a utility method that determines whether the current browser supports
|
| 206 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 207 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 208 |
+
* can be created.
|
| 209 |
+
*
|
| 210 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 211 |
+
* streaming responses, and `false` otherwise.
|
| 212 |
+
*
|
| 213 |
+
* @memberof workbox-streams
|
| 214 |
+
*/
|
| 215 |
+
function isSupported() {
|
| 216 |
+
return canConstructReadableStream_js.canConstructReadableStream();
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
/*
|
| 220 |
+
Copyright 2018 Google LLC
|
| 221 |
+
|
| 222 |
+
Use of this source code is governed by an MIT-style
|
| 223 |
+
license that can be found in the LICENSE file or at
|
| 224 |
+
https://opensource.org/licenses/MIT.
|
| 225 |
+
*/
|
| 226 |
+
/**
|
| 227 |
+
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
|
| 228 |
+
*
|
| 229 |
+
* On browsers that do not support constructing new `ReadableStream`s, this
|
| 230 |
+
* strategy will automatically wait for all the `sourceFunctions` to complete,
|
| 231 |
+
* and create a final response that concatenates their values together.
|
| 232 |
+
*
|
| 233 |
+
* @param {Array<function({event, request, url, params})>} sourceFunctions
|
| 234 |
+
* An array of functions similar to {@link workbox-routing~handlerCallback}
|
| 235 |
+
* but that instead return a {@link workbox-streams.StreamSource} (or a
|
| 236 |
+
* Promise which resolves to one).
|
| 237 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 238 |
+
* `'text/html'` will be used by default.
|
| 239 |
+
* @return {workbox-routing~handlerCallback}
|
| 240 |
+
* @memberof workbox-streams
|
| 241 |
+
*/
|
| 242 |
+
function strategy(sourceFunctions, headersInit) {
|
| 243 |
+
return async ({
|
| 244 |
+
event,
|
| 245 |
+
request,
|
| 246 |
+
url,
|
| 247 |
+
params
|
| 248 |
+
}) => {
|
| 249 |
+
const sourcePromises = sourceFunctions.map(fn => {
|
| 250 |
+
// Ensure the return value of the function is always a promise.
|
| 251 |
+
return Promise.resolve(fn({
|
| 252 |
+
event,
|
| 253 |
+
request,
|
| 254 |
+
url,
|
| 255 |
+
params
|
| 256 |
+
}));
|
| 257 |
+
});
|
| 258 |
+
if (isSupported()) {
|
| 259 |
+
const {
|
| 260 |
+
done,
|
| 261 |
+
response
|
| 262 |
+
} = concatenateToResponse(sourcePromises, headersInit);
|
| 263 |
+
if (event) {
|
| 264 |
+
event.waitUntil(done);
|
| 265 |
+
}
|
| 266 |
+
return response;
|
| 267 |
+
}
|
| 268 |
+
{
|
| 269 |
+
logger_js.logger.log(`The current browser doesn't support creating response ` + `streams. Falling back to non-streaming response instead.`);
|
| 270 |
+
}
|
| 271 |
+
// Fallback to waiting for everything to finish, and concatenating the
|
| 272 |
+
// responses.
|
| 273 |
+
const blobPartsPromises = sourcePromises.map(async sourcePromise => {
|
| 274 |
+
const source = await sourcePromise;
|
| 275 |
+
if (source instanceof Response) {
|
| 276 |
+
return source.blob();
|
| 277 |
+
} else {
|
| 278 |
+
// Technically, a `StreamSource` object can include any valid
|
| 279 |
+
// `BodyInit` type, including `FormData` and `URLSearchParams`, which
|
| 280 |
+
// cannot be passed to the Blob constructor directly, so we have to
|
| 281 |
+
// convert them to actual Blobs first.
|
| 282 |
+
return new Response(source).blob();
|
| 283 |
+
}
|
| 284 |
+
});
|
| 285 |
+
const blobParts = await Promise.all(blobPartsPromises);
|
| 286 |
+
const headers = createHeaders(headersInit);
|
| 287 |
+
// Constructing a new Response from a Blob source is well-supported.
|
| 288 |
+
// So is constructing a new Blob from multiple source Blobs or strings.
|
| 289 |
+
return new Response(new Blob(blobParts), {
|
| 290 |
+
headers
|
| 291 |
+
});
|
| 292 |
+
};
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
exports.concatenate = concatenate;
|
| 296 |
+
exports.concatenateToResponse = concatenateToResponse;
|
| 297 |
+
exports.isSupported = isSupported;
|
| 298 |
+
exports.strategy = strategy;
|
| 299 |
+
|
| 300 |
+
return exports;
|
| 301 |
+
|
| 302 |
+
})({}, workbox.core._private, workbox.core._private, workbox.core._private, workbox.core._private, workbox.core._private);
|
| 303 |
+
//# sourceMappingURL=workbox-streams.dev.js.map
|
tools/ui/node_modules/workbox-streams/build/workbox-streams.dev.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"workbox-streams.dev.js","sources":["../_version.js","../concatenate.js","../utils/createHeaders.js","../concatenateToResponse.js","../isSupported.js","../strategy.js"],"sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:streams:7.4.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { Deferred } from 'workbox-core/_private/Deferred.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\n/**\n * Takes either a Response, a ReadableStream, or a\n * [BodyInit](https://fetch.spec.whatwg.org/#bodyinit) and returns the\n * ReadableStreamReader object associated with it.\n *\n * @param {workbox-streams.StreamSource} source\n * @return {ReadableStreamReader}\n * @private\n */\nfunction _getReaderFromSource(source) {\n if (source instanceof Response) {\n // See https://github.com/GoogleChrome/workbox/issues/2998\n if (source.body) {\n return source.body.getReader();\n }\n throw new WorkboxError('opaque-streams-source', { type: source.type });\n }\n if (source instanceof ReadableStream) {\n return source.getReader();\n }\n return new Response(source).body.getReader();\n}\n/**\n * Takes multiple source Promises, each of which could resolve to a Response, a\n * ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).\n *\n * Returns an object exposing a ReadableStream with each individual stream's\n * data returned in sequence, along with a Promise which signals when the\n * stream is finished (useful for passing to a FetchEvent's waitUntil()).\n *\n * @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises\n * @return {Object<{done: Promise, stream: ReadableStream}>}\n *\n * @memberof workbox-streams\n */\nfunction concatenate(sourcePromises) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isArray(sourcePromises, {\n moduleName: 'workbox-streams',\n funcName: 'concatenate',\n paramName: 'sourcePromises',\n });\n }\n const readerPromises = sourcePromises.map((sourcePromise) => {\n return Promise.resolve(sourcePromise).then((source) => {\n return _getReaderFromSource(source);\n });\n });\n const streamDeferred = new Deferred();\n let i = 0;\n const logMessages = [];\n const stream = new ReadableStream({\n pull(controller) {\n return readerPromises[i]\n .then((reader) => {\n if (reader instanceof ReadableStreamDefaultReader) {\n return reader.read();\n }\n else {\n return;\n }\n })\n .then((result) => {\n if (result === null || result === void 0 ? void 0 : result.done) {\n if (process.env.NODE_ENV !== 'production') {\n logMessages.push([\n 'Reached the end of source:',\n sourcePromises[i],\n ]);\n }\n i++;\n if (i >= readerPromises.length) {\n // Log all the messages in the group at once in a single group.\n if (process.env.NODE_ENV !== 'production') {\n logger.groupCollapsed(`Concatenating ${readerPromises.length} sources.`);\n for (const message of logMessages) {\n if (Array.isArray(message)) {\n logger.log(...message);\n }\n else {\n logger.log(message);\n }\n }\n logger.log('Finished reading all sources.');\n logger.groupEnd();\n }\n controller.close();\n streamDeferred.resolve();\n return;\n }\n // The `pull` method is defined because we're inside it.\n return this.pull(controller);\n }\n else {\n controller.enqueue(result === null || result === void 0 ? void 0 : result.value);\n }\n })\n .catch((error) => {\n if (process.env.NODE_ENV !== 'production') {\n logger.error('An error occurred:', error);\n }\n streamDeferred.reject(error);\n throw error;\n });\n },\n cancel() {\n if (process.env.NODE_ENV !== 'production') {\n logger.warn('The ReadableStream was cancelled.');\n }\n streamDeferred.resolve();\n },\n });\n return { done: streamDeferred.promise, stream };\n}\nexport { concatenate };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * This is a utility method that determines whether the current browser supports\n * the features required to create streamed responses. Currently, it checks if\n * [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)\n * is available.\n *\n * @private\n * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,\n * `'text/html'` will be used by default.\n * @return {boolean} `true`, if the current browser meets the requirements for\n * streaming responses, and `false` otherwise.\n *\n * @memberof workbox-streams\n */\nfunction createHeaders(headersInit = {}) {\n // See https://github.com/GoogleChrome/workbox/issues/1461\n const headers = new Headers(headersInit);\n if (!headers.has('content-type')) {\n headers.set('content-type', 'text/html');\n }\n return headers;\n}\nexport { createHeaders };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { createHeaders } from './utils/createHeaders.js';\nimport { concatenate } from './concatenate.js';\nimport './_version.js';\n/**\n * Takes multiple source Promises, each of which could resolve to a Response, a\n * ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),\n * along with a\n * [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).\n *\n * Returns an object exposing a Response whose body consists of each individual\n * stream's data returned in sequence, along with a Promise which signals when\n * the stream is finished (useful for passing to a FetchEvent's waitUntil()).\n *\n * @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises\n * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,\n * `'text/html'` will be used by default.\n * @return {Object<{done: Promise, response: Response}>}\n *\n * @memberof workbox-streams\n */\nfunction concatenateToResponse(sourcePromises, headersInit) {\n const { done, stream } = concatenate(sourcePromises);\n const headers = createHeaders(headersInit);\n const response = new Response(stream, { headers });\n return { done, response };\n}\nexport { concatenateToResponse };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { canConstructReadableStream } from 'workbox-core/_private/canConstructReadableStream.js';\nimport './_version.js';\n/**\n * This is a utility method that determines whether the current browser supports\n * the features required to create streamed responses. Currently, it checks if\n * [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)\n * can be created.\n *\n * @return {boolean} `true`, if the current browser meets the requirements for\n * streaming responses, and `false` otherwise.\n *\n * @memberof workbox-streams\n */\nfunction isSupported() {\n return canConstructReadableStream();\n}\nexport { isSupported };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { createHeaders } from './utils/createHeaders.js';\nimport { concatenateToResponse } from './concatenateToResponse.js';\nimport { isSupported } from './isSupported.js';\nimport './_version.js';\n/**\n * A shortcut to create a strategy that could be dropped-in to Workbox's router.\n *\n * On browsers that do not support constructing new `ReadableStream`s, this\n * strategy will automatically wait for all the `sourceFunctions` to complete,\n * and create a final response that concatenates their values together.\n *\n * @param {Array<function({event, request, url, params})>} sourceFunctions\n * An array of functions similar to {@link workbox-routing~handlerCallback}\n * but that instead return a {@link workbox-streams.StreamSource} (or a\n * Promise which resolves to one).\n * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,\n * `'text/html'` will be used by default.\n * @return {workbox-routing~handlerCallback}\n * @memberof workbox-streams\n */\nfunction strategy(sourceFunctions, headersInit) {\n return async ({ event, request, url, params }) => {\n const sourcePromises = sourceFunctions.map((fn) => {\n // Ensure the return value of the function is always a promise.\n return Promise.resolve(fn({ event, request, url, params }));\n });\n if (isSupported()) {\n const { done, response } = concatenateToResponse(sourcePromises, headersInit);\n if (event) {\n event.waitUntil(done);\n }\n return response;\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`The current browser doesn't support creating response ` +\n `streams. Falling back to non-streaming response instead.`);\n }\n // Fallback to waiting for everything to finish, and concatenating the\n // responses.\n const blobPartsPromises = sourcePromises.map(async (sourcePromise) => {\n const source = await sourcePromise;\n if (source instanceof Response) {\n return source.blob();\n }\n else {\n // Technically, a `StreamSource` object can include any valid\n // `BodyInit` type, including `FormData` and `URLSearchParams`, which\n // cannot be passed to the Blob constructor directly, so we have to\n // convert them to actual Blobs first.\n return new Response(source).blob();\n }\n });\n const blobParts = await Promise.all(blobPartsPromises);\n const headers = createHeaders(headersInit);\n // Constructing a new Response from a Blob source is well-supported.\n // So is constructing a new Blob from multiple source Blobs or strings.\n return new Response(new Blob(blobParts), { headers });\n };\n}\nexport { strategy };\n"],"names":["self","_","e","_getReaderFromSource","source","Response","body","getReader","WorkboxError","type","ReadableStream","concatenate","sourcePromises","assert","isArray","moduleName","funcName","paramName","readerPromises","map","sourcePromise","Promise","resolve","then","streamDeferred","Deferred","i","logMessages","stream","pull","controller","reader","ReadableStreamDefaultReader","read","result","done","push","length","logger","groupCollapsed","message","Array","log","groupEnd","close","enqueue","value","catch","error","reject","cancel","warn","promise","createHeaders","headersInit","headers","Headers","has","set","concatenateToResponse","response","isSupported","canConstructReadableStream","strategy","sourceFunctions","event","request","url","params","fn","waitUntil","blobPartsPromises","blob","blobParts","all","Blob"],"mappings":";;;;IACA;IACA,IAAI;IACAA,EAAAA,IAAI,CAAC,uBAAuB,CAAC,IAAIC,CAAC,EAAE;IACxC,CAAC,CACD,OAAOC,CAAC,EAAE,CAAE;;ICLZ;IACA;;IAEA;IACA;IACA;IACA;IAMA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,SAASC,oBAAoBA,CAACC,MAAM,EAAE;MAClC,IAAIA,MAAM,YAAYC,QAAQ,EAAE;IAC5B;QACA,IAAID,MAAM,CAACE,IAAI,EAAE;IACb,MAAA,OAAOF,MAAM,CAACE,IAAI,CAACC,SAAS,EAAE;IAClC,IAAA;IACA,IAAA,MAAM,IAAIC,4BAAY,CAAC,uBAAuB,EAAE;UAAEC,IAAI,EAAEL,MAAM,CAACK;IAAK,KAAC,CAAC;IAC1E,EAAA;MACA,IAAIL,MAAM,YAAYM,cAAc,EAAE;IAClC,IAAA,OAAON,MAAM,CAACG,SAAS,EAAE;IAC7B,EAAA;MACA,OAAO,IAAIF,QAAQ,CAACD,MAAM,CAAC,CAACE,IAAI,CAACC,SAAS,EAAE;IAChD;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,SAASI,WAAWA,CAACC,cAAc,EAAE;IACjC,EAA2C;IACvCC,IAAAA,gBAAM,CAACC,OAAO,CAACF,cAAc,EAAE;IAC3BG,MAAAA,UAAU,EAAE,iBAAiB;IAC7BC,MAAAA,QAAQ,EAAE,aAAa;IACvBC,MAAAA,SAAS,EAAE;IACf,KAAC,CAAC;IACN,EAAA;IACA,EAAA,MAAMC,cAAc,GAAGN,cAAc,CAACO,GAAG,CAAEC,aAAa,IAAK;QACzD,OAAOC,OAAO,CAACC,OAAO,CAACF,aAAa,CAAC,CAACG,IAAI,CAAEnB,MAAM,IAAK;UACnD,OAAOD,oBAAoB,CAACC,MAAM,CAAC;IACvC,IAAA,CAAC,CAAC;IACN,EAAA,CAAC,CAAC;IACF,EAAA,MAAMoB,cAAc,GAAG,IAAIC,oBAAQ,EAAE;MACrC,IAAIC,CAAC,GAAG,CAAC;MACT,MAAMC,WAAW,GAAG,EAAE;IACtB,EAAA,MAAMC,MAAM,GAAG,IAAIlB,cAAc,CAAC;QAC9BmB,IAAIA,CAACC,UAAU,EAAE;UACb,OAAOZ,cAAc,CAACQ,CAAC,CAAC,CACnBH,IAAI,CAAEQ,MAAM,IAAK;YAClB,IAAIA,MAAM,YAAYC,2BAA2B,EAAE;IAC/C,UAAA,OAAOD,MAAM,CAACE,IAAI,EAAE;IACxB,QAAA,CAAC,MACI;IACD,UAAA;IACJ,QAAA;IACJ,MAAA,CAAC,CAAC,CACGV,IAAI,CAAEW,MAAM,IAAK;IAClB,QAAA,IAAIA,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,MAAM,GAAG,MAAM,GAAGA,MAAM,CAACC,IAAI,EAAE;IAC7D,UAA2C;gBACvCR,WAAW,CAACS,IAAI,CAAC,CACb,4BAA4B,EAC5BxB,cAAc,CAACc,CAAC,CAAC,CACpB,CAAC;IACN,UAAA;IACAA,UAAAA,CAAC,EAAE;IACH,UAAA,IAAIA,CAAC,IAAIR,cAAc,CAACmB,MAAM,EAAE;IAC5B;IACA,YAA2C;kBACvCC,gBAAM,CAACC,cAAc,CAAE,CAAA,cAAA,EAAgBrB,cAAc,CAACmB,MAAO,WAAU,CAAC;IACxE,cAAA,KAAK,MAAMG,OAAO,IAAIb,WAAW,EAAE;IAC/B,gBAAA,IAAIc,KAAK,CAAC3B,OAAO,CAAC0B,OAAO,CAAC,EAAE;IACxBF,kBAAAA,gBAAM,CAACI,GAAG,CAAC,GAAGF,OAAO,CAAC;IAC1B,gBAAA,CAAC,MACI;IACDF,kBAAAA,gBAAM,CAACI,GAAG,CAACF,OAAO,CAAC;IACvB,gBAAA;IACJ,cAAA;IACAF,cAAAA,gBAAM,CAACI,GAAG,CAAC,+BAA+B,CAAC;kBAC3CJ,gBAAM,CAACK,QAAQ,EAAE;IACrB,YAAA;gBACAb,UAAU,CAACc,KAAK,EAAE;gBAClBpB,cAAc,CAACF,OAAO,EAAE;IACxB,YAAA;IACJ,UAAA;IACA;IACA,UAAA,OAAO,IAAI,CAACO,IAAI,CAACC,UAAU,CAAC;IAChC,QAAA,CAAC,MACI;IACDA,UAAAA,UAAU,CAACe,OAAO,CAACX,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,MAAM,GAAG,MAAM,GAAGA,MAAM,CAACY,KAAK,CAAC;IACpF,QAAA;IACJ,MAAA,CAAC,CAAC,CACGC,KAAK,CAAEC,KAAK,IAAK;IAClB,QAA2C;IACvCV,UAAAA,gBAAM,CAACU,KAAK,CAAC,oBAAoB,EAAEA,KAAK,CAAC;IAC7C,QAAA;IACAxB,QAAAA,cAAc,CAACyB,MAAM,CAACD,KAAK,CAAC;IAC5B,QAAA,MAAMA,KAAK;IACf,MAAA,CAAC,CAAC;QACN,CAAC;IACDE,IAAAA,MAAMA,GAAG;IACL,MAA2C;IACvCZ,QAAAA,gBAAM,CAACa,IAAI,CAAC,mCAAmC,CAAC;IACpD,MAAA;UACA3B,cAAc,CAACF,OAAO,EAAE;IAC5B,IAAA;IACJ,GAAC,CAAC;MACF,OAAO;QAAEa,IAAI,EAAEX,cAAc,CAAC4B,OAAO;IAAExB,IAAAA;OAAQ;IACnD;;IC7HA;IACA;;IAEA;IACA;IACA;IACA;IAEA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,SAASyB,aAAaA,CAACC,WAAW,GAAG,EAAE,EAAE;IACrC;IACA,EAAA,MAAMC,OAAO,GAAG,IAAIC,OAAO,CAACF,WAAW,CAAC;IACxC,EAAA,IAAI,CAACC,OAAO,CAACE,GAAG,CAAC,cAAc,CAAC,EAAE;IAC9BF,IAAAA,OAAO,CAACG,GAAG,CAAC,cAAc,EAAE,WAAW,CAAC;IAC5C,EAAA;IACA,EAAA,OAAOH,OAAO;IAClB;;IC7BA;IACA;;IAEA;IACA;IACA;IACA;IAIA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,SAASI,qBAAqBA,CAAC/C,cAAc,EAAE0C,WAAW,EAAE;MACxD,MAAM;QAAEnB,IAAI;IAAEP,IAAAA;IAAO,GAAC,GAAGjB,WAAW,CAACC,cAAc,CAAC;IACpD,EAAA,MAAM2C,OAAO,GAAGF,aAAa,CAACC,WAAW,CAAC;IAC1C,EAAA,MAAMM,QAAQ,GAAG,IAAIvD,QAAQ,CAACuB,MAAM,EAAE;IAAE2B,IAAAA;IAAQ,GAAC,CAAC;MAClD,OAAO;QAAEpB,IAAI;IAAEyB,IAAAA;OAAU;IAC7B;;IChCA;IACA;;IAEA;IACA;IACA;IACA;IAGA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,SAASC,WAAWA,GAAG;MACnB,OAAOC,wDAA0B,EAAE;IACvC;;ICtBA;IACA;;IAEA;IACA;IACA;IACA;IAMA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,SAASC,QAAQA,CAACC,eAAe,EAAEV,WAAW,EAAE;IAC5C,EAAA,OAAO,OAAO;QAAEW,KAAK;QAAEC,OAAO;QAAEC,GAAG;IAAEC,IAAAA;IAAO,GAAC,KAAK;IAC9C,IAAA,MAAMxD,cAAc,GAAGoD,eAAe,CAAC7C,GAAG,CAAEkD,EAAE,IAAK;IAC/C;IACA,MAAA,OAAOhD,OAAO,CAACC,OAAO,CAAC+C,EAAE,CAAC;YAAEJ,KAAK;YAAEC,OAAO;YAAEC,GAAG;IAAEC,QAAAA;IAAO,OAAC,CAAC,CAAC;IAC/D,IAAA,CAAC,CAAC;QACF,IAAIP,WAAW,EAAE,EAAE;UACf,MAAM;YAAE1B,IAAI;IAAEyB,QAAAA;IAAS,OAAC,GAAGD,qBAAqB,CAAC/C,cAAc,EAAE0C,WAAW,CAAC;IAC7E,MAAA,IAAIW,KAAK,EAAE;IACPA,QAAAA,KAAK,CAACK,SAAS,CAACnC,IAAI,CAAC;IACzB,MAAA;IACA,MAAA,OAAOyB,QAAQ;IACnB,IAAA;IACA,IAA2C;IACvCtB,MAAAA,gBAAM,CAACI,GAAG,CAAE,CAAA,sDAAA,CAAuD,GAC9D,0DAAyD,CAAC;IACnE,IAAA;IACA;IACA;QACA,MAAM6B,iBAAiB,GAAG3D,cAAc,CAACO,GAAG,CAAC,MAAOC,aAAa,IAAK;UAClE,MAAMhB,MAAM,GAAG,MAAMgB,aAAa;UAClC,IAAIhB,MAAM,YAAYC,QAAQ,EAAE;IAC5B,QAAA,OAAOD,MAAM,CAACoE,IAAI,EAAE;IACxB,MAAA,CAAC,MACI;IACD;IACA;IACA;IACA;YACA,OAAO,IAAInE,QAAQ,CAACD,MAAM,CAAC,CAACoE,IAAI,EAAE;IACtC,MAAA;IACJ,IAAA,CAAC,CAAC;QACF,MAAMC,SAAS,GAAG,MAAMpD,OAAO,CAACqD,GAAG,CAACH,iBAAiB,CAAC;IACtD,IAAA,MAAMhB,OAAO,GAAGF,aAAa,CAACC,WAAW,CAAC;IAC1C;IACA;QACA,OAAO,IAAIjD,QAAQ,CAAC,IAAIsE,IAAI,CAACF,SAAS,CAAC,EAAE;IAAElB,MAAAA;IAAQ,KAAC,CAAC;MACzD,CAAC;IACL;;;;;;;;;;;;;"}
|
tools/ui/node_modules/workbox-streams/build/workbox-streams.prod.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
this.workbox=this.workbox||{},this.workbox.streams=function(e,n,t,r){"use strict";try{self["workbox:streams:7.4.0"]&&_()}catch(e){}function s(e){const r=e.map((e=>Promise.resolve(e).then((e=>function(e){if(e instanceof Response){if(e.body)return e.body.getReader();throw new t.WorkboxError("opaque-streams-source",{type:e.type})}return e instanceof ReadableStream?e.getReader():new Response(e).body.getReader()}(e))))),s=new n.Deferred;let o=0;const a=new ReadableStream({pull(e){return r[o].then((e=>e instanceof ReadableStreamDefaultReader?e.read():void 0)).then((n=>{if(null==n?void 0:n.done)return o++,o>=r.length?(e.close(),void s.resolve()):this.pull(e);e.enqueue(null==n?void 0:n.value)})).catch((e=>{throw s.reject(e),e}))},cancel(){s.resolve()}});return{done:s.promise,stream:a}}function o(e={}){const n=new Headers(e);return n.has("content-type")||n.set("content-type","text/html"),n}function a(e,n){const{done:t,stream:r}=s(e),a=o(n);return{done:t,response:new Response(r,{headers:a})}}function u(){return r.canConstructReadableStream()}return e.concatenate=s,e.concatenateToResponse=a,e.isSupported=u,e.strategy=function(e,n){return async({event:t,request:r,url:s,params:c})=>{const i=e.map((e=>Promise.resolve(e({event:t,request:r,url:s,params:c}))));if(u()){const{done:e,response:r}=a(i,n);return t&&t.waitUntil(e),r}const f=i.map((async e=>{const n=await e;return n instanceof Response?n.blob():new Response(n).blob()})),l=await Promise.all(f),w=o(n);return new Response(new Blob(l),{headers:w})}},e}({},workbox.core._private,workbox.core._private,workbox.core._private);
|
| 2 |
+
//# sourceMappingURL=workbox-streams.prod.js.map
|
tools/ui/node_modules/workbox-streams/build/workbox-streams.prod.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":3,"file":"workbox-streams.prod.js","sources":["../_version.js","../concatenate.js","../utils/createHeaders.js","../concatenateToResponse.js","../isSupported.js","../strategy.js"],"sourcesContent":["\"use strict\";\n// @ts-ignore\ntry {\n self['workbox:streams:7.4.0'] && _();\n}\ncatch (e) { }\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { assert } from 'workbox-core/_private/assert.js';\nimport { Deferred } from 'workbox-core/_private/Deferred.js';\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { WorkboxError } from 'workbox-core/_private/WorkboxError.js';\nimport './_version.js';\n/**\n * Takes either a Response, a ReadableStream, or a\n * [BodyInit](https://fetch.spec.whatwg.org/#bodyinit) and returns the\n * ReadableStreamReader object associated with it.\n *\n * @param {workbox-streams.StreamSource} source\n * @return {ReadableStreamReader}\n * @private\n */\nfunction _getReaderFromSource(source) {\n if (source instanceof Response) {\n // See https://github.com/GoogleChrome/workbox/issues/2998\n if (source.body) {\n return source.body.getReader();\n }\n throw new WorkboxError('opaque-streams-source', { type: source.type });\n }\n if (source instanceof ReadableStream) {\n return source.getReader();\n }\n return new Response(source).body.getReader();\n}\n/**\n * Takes multiple source Promises, each of which could resolve to a Response, a\n * ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).\n *\n * Returns an object exposing a ReadableStream with each individual stream's\n * data returned in sequence, along with a Promise which signals when the\n * stream is finished (useful for passing to a FetchEvent's waitUntil()).\n *\n * @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises\n * @return {Object<{done: Promise, stream: ReadableStream}>}\n *\n * @memberof workbox-streams\n */\nfunction concatenate(sourcePromises) {\n if (process.env.NODE_ENV !== 'production') {\n assert.isArray(sourcePromises, {\n moduleName: 'workbox-streams',\n funcName: 'concatenate',\n paramName: 'sourcePromises',\n });\n }\n const readerPromises = sourcePromises.map((sourcePromise) => {\n return Promise.resolve(sourcePromise).then((source) => {\n return _getReaderFromSource(source);\n });\n });\n const streamDeferred = new Deferred();\n let i = 0;\n const logMessages = [];\n const stream = new ReadableStream({\n pull(controller) {\n return readerPromises[i]\n .then((reader) => {\n if (reader instanceof ReadableStreamDefaultReader) {\n return reader.read();\n }\n else {\n return;\n }\n })\n .then((result) => {\n if (result === null || result === void 0 ? void 0 : result.done) {\n if (process.env.NODE_ENV !== 'production') {\n logMessages.push([\n 'Reached the end of source:',\n sourcePromises[i],\n ]);\n }\n i++;\n if (i >= readerPromises.length) {\n // Log all the messages in the group at once in a single group.\n if (process.env.NODE_ENV !== 'production') {\n logger.groupCollapsed(`Concatenating ${readerPromises.length} sources.`);\n for (const message of logMessages) {\n if (Array.isArray(message)) {\n logger.log(...message);\n }\n else {\n logger.log(message);\n }\n }\n logger.log('Finished reading all sources.');\n logger.groupEnd();\n }\n controller.close();\n streamDeferred.resolve();\n return;\n }\n // The `pull` method is defined because we're inside it.\n return this.pull(controller);\n }\n else {\n controller.enqueue(result === null || result === void 0 ? void 0 : result.value);\n }\n })\n .catch((error) => {\n if (process.env.NODE_ENV !== 'production') {\n logger.error('An error occurred:', error);\n }\n streamDeferred.reject(error);\n throw error;\n });\n },\n cancel() {\n if (process.env.NODE_ENV !== 'production') {\n logger.warn('The ReadableStream was cancelled.');\n }\n streamDeferred.resolve();\n },\n });\n return { done: streamDeferred.promise, stream };\n}\nexport { concatenate };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport '../_version.js';\n/**\n * This is a utility method that determines whether the current browser supports\n * the features required to create streamed responses. Currently, it checks if\n * [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)\n * is available.\n *\n * @private\n * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,\n * `'text/html'` will be used by default.\n * @return {boolean} `true`, if the current browser meets the requirements for\n * streaming responses, and `false` otherwise.\n *\n * @memberof workbox-streams\n */\nfunction createHeaders(headersInit = {}) {\n // See https://github.com/GoogleChrome/workbox/issues/1461\n const headers = new Headers(headersInit);\n if (!headers.has('content-type')) {\n headers.set('content-type', 'text/html');\n }\n return headers;\n}\nexport { createHeaders };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { createHeaders } from './utils/createHeaders.js';\nimport { concatenate } from './concatenate.js';\nimport './_version.js';\n/**\n * Takes multiple source Promises, each of which could resolve to a Response, a\n * ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),\n * along with a\n * [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).\n *\n * Returns an object exposing a Response whose body consists of each individual\n * stream's data returned in sequence, along with a Promise which signals when\n * the stream is finished (useful for passing to a FetchEvent's waitUntil()).\n *\n * @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises\n * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,\n * `'text/html'` will be used by default.\n * @return {Object<{done: Promise, response: Response}>}\n *\n * @memberof workbox-streams\n */\nfunction concatenateToResponse(sourcePromises, headersInit) {\n const { done, stream } = concatenate(sourcePromises);\n const headers = createHeaders(headersInit);\n const response = new Response(stream, { headers });\n return { done, response };\n}\nexport { concatenateToResponse };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { canConstructReadableStream } from 'workbox-core/_private/canConstructReadableStream.js';\nimport './_version.js';\n/**\n * This is a utility method that determines whether the current browser supports\n * the features required to create streamed responses. Currently, it checks if\n * [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)\n * can be created.\n *\n * @return {boolean} `true`, if the current browser meets the requirements for\n * streaming responses, and `false` otherwise.\n *\n * @memberof workbox-streams\n */\nfunction isSupported() {\n return canConstructReadableStream();\n}\nexport { isSupported };\n","/*\n Copyright 2018 Google LLC\n\n Use of this source code is governed by an MIT-style\n license that can be found in the LICENSE file or at\n https://opensource.org/licenses/MIT.\n*/\nimport { logger } from 'workbox-core/_private/logger.js';\nimport { createHeaders } from './utils/createHeaders.js';\nimport { concatenateToResponse } from './concatenateToResponse.js';\nimport { isSupported } from './isSupported.js';\nimport './_version.js';\n/**\n * A shortcut to create a strategy that could be dropped-in to Workbox's router.\n *\n * On browsers that do not support constructing new `ReadableStream`s, this\n * strategy will automatically wait for all the `sourceFunctions` to complete,\n * and create a final response that concatenates their values together.\n *\n * @param {Array<function({event, request, url, params})>} sourceFunctions\n * An array of functions similar to {@link workbox-routing~handlerCallback}\n * but that instead return a {@link workbox-streams.StreamSource} (or a\n * Promise which resolves to one).\n * @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,\n * `'text/html'` will be used by default.\n * @return {workbox-routing~handlerCallback}\n * @memberof workbox-streams\n */\nfunction strategy(sourceFunctions, headersInit) {\n return async ({ event, request, url, params }) => {\n const sourcePromises = sourceFunctions.map((fn) => {\n // Ensure the return value of the function is always a promise.\n return Promise.resolve(fn({ event, request, url, params }));\n });\n if (isSupported()) {\n const { done, response } = concatenateToResponse(sourcePromises, headersInit);\n if (event) {\n event.waitUntil(done);\n }\n return response;\n }\n if (process.env.NODE_ENV !== 'production') {\n logger.log(`The current browser doesn't support creating response ` +\n `streams. Falling back to non-streaming response instead.`);\n }\n // Fallback to waiting for everything to finish, and concatenating the\n // responses.\n const blobPartsPromises = sourcePromises.map(async (sourcePromise) => {\n const source = await sourcePromise;\n if (source instanceof Response) {\n return source.blob();\n }\n else {\n // Technically, a `StreamSource` object can include any valid\n // `BodyInit` type, including `FormData` and `URLSearchParams`, which\n // cannot be passed to the Blob constructor directly, so we have to\n // convert them to actual Blobs first.\n return new Response(source).blob();\n }\n });\n const blobParts = await Promise.all(blobPartsPromises);\n const headers = createHeaders(headersInit);\n // Constructing a new Response from a Blob source is well-supported.\n // So is constructing a new Blob from multiple source Blobs or strings.\n return new Response(new Blob(blobParts), { headers });\n };\n}\nexport { strategy };\n"],"names":["self","_","e","concatenate","sourcePromises","readerPromises","map","sourcePromise","Promise","resolve","then","source","Response","body","getReader","WorkboxError","type","ReadableStream","_getReaderFromSource","streamDeferred","Deferred","i","stream","pull","controller","reader","ReadableStreamDefaultReader","read","result","done","length","close","this","enqueue","value","catch","error","reject","cancel","promise","createHeaders","headersInit","headers","Headers","has","set","concatenateToResponse","response","isSupported","canConstructReadableStream","sourceFunctions","async","event","request","url","params","fn","waitUntil","blobPartsPromises","blob","blobParts","all","Blob"],"mappings":"kFAEA,IACIA,KAAK,0BAA4BC,GACrC,CACA,MAAOC,GAAK,CC0CZ,SAASC,EAAYC,GAQjB,MAAMC,EAAiBD,EAAeE,KAAKC,GAChCC,QAAQC,QAAQF,GAAeG,MAAMC,GAnCpD,SAA8BA,GAC1B,GAAIA,aAAkBC,SAAU,CAE5B,GAAID,EAAOE,KACP,OAAOF,EAAOE,KAAKC,YAEvB,MAAM,IAAIC,EAAAA,aAAa,wBAAyB,CAAEC,KAAML,EAAOK,MACnE,CACA,OAAIL,aAAkBM,eACXN,EAAOG,YAEX,IAAIF,SAASD,GAAQE,KAAKC,WACrC,CAwBmBI,CAAqBP,OAG9BQ,EAAiB,IAAIC,WAC3B,IAAIC,EAAI,EAER,MAAMC,EAAS,IAAIL,eAAe,CAC9BM,KAAKC,GACD,OAAOnB,EAAegB,GACjBX,MAAMe,GACHA,aAAkBC,4BACXD,EAAOE,YAGd,IAGHjB,MAAMkB,IACP,GAAIA,aAAuC,EAASA,EAAOC,KAQvD,OADAR,IACIA,GAAKhB,EAAeyB,QAepBN,EAAWO,aACXZ,EAAeV,WAIZuB,KAAKT,KAAKC,GAGjBA,EAAWS,QAAQL,aAAuC,EAASA,EAAOM,MAC9E,IAECC,OAAOC,IAKR,MADAjB,EAAekB,OAAOD,GAChBA,CAAK,GAEnB,EACAE,SAIInB,EAAeV,SACnB,IAEJ,MAAO,CAAEoB,KAAMV,EAAeoB,QAASjB,SAC3C,CCvGA,SAASkB,EAAcC,EAAc,IAEjC,MAAMC,EAAU,IAAIC,QAAQF,GAI5B,OAHKC,EAAQE,IAAI,iBACbF,EAAQG,IAAI,eAAgB,aAEzBH,CACX,CCFA,SAASI,EAAsB1C,EAAgBqC,GAC3C,MAAMZ,KAAEA,EAAIP,OAAEA,GAAWnB,EAAYC,GAC/BsC,EAAUF,EAAcC,GAE9B,MAAO,CAAEZ,OAAMkB,SADE,IAAInC,SAASU,EAAQ,CAAEoB,YAE5C,CCZA,SAASM,IACL,OAAOC,8BACX,6ECMA,SAAkBC,EAAiBT,GAC/B,OAAOU,OAASC,QAAOC,UAASC,MAAKC,aACjC,MAAMnD,EAAiB8C,EAAgB5C,KAAKkD,GAEjChD,QAAQC,QAAQ+C,EAAG,CAAEJ,QAAOC,UAASC,MAAKC,cAErD,GAAIP,IAAe,CACf,MAAMnB,KAAEA,EAAIkB,SAAEA,GAAaD,EAAsB1C,EAAgBqC,GAIjE,OAHIW,GACAA,EAAMK,UAAU5B,GAEbkB,CACX,CAOA,MAAMW,EAAoBtD,EAAeE,KAAI6C,UACzC,MAAMxC,QAAeJ,EACrB,OAAII,aAAkBC,SACXD,EAAOgD,OAOP,IAAI/C,SAASD,GAAQgD,MAChC,IAEEC,QAAkBpD,QAAQqD,IAAIH,GAC9BhB,EAAUF,EAAcC,GAG9B,OAAO,IAAI7B,SAAS,IAAIkD,KAAKF,GAAY,CAAElB,WAAU,CAE7D"}
|
tools/ui/node_modules/workbox-streams/concatenate.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { StreamSource } from './_types.js';
|
| 2 |
+
import './_version.js';
|
| 3 |
+
/**
|
| 4 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 5 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
|
| 6 |
+
*
|
| 7 |
+
* Returns an object exposing a ReadableStream with each individual stream's
|
| 8 |
+
* data returned in sequence, along with a Promise which signals when the
|
| 9 |
+
* stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 10 |
+
*
|
| 11 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 12 |
+
* @return {Object<{done: Promise, stream: ReadableStream}>}
|
| 13 |
+
*
|
| 14 |
+
* @memberof workbox-streams
|
| 15 |
+
*/
|
| 16 |
+
declare function concatenate(sourcePromises: Promise<StreamSource>[]): {
|
| 17 |
+
done: Promise<void>;
|
| 18 |
+
stream: ReadableStream;
|
| 19 |
+
};
|
| 20 |
+
export { concatenate };
|
tools/ui/node_modules/workbox-streams/concatenate.js
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import { assert } from 'workbox-core/_private/assert.js';
|
| 9 |
+
import { Deferred } from 'workbox-core/_private/Deferred.js';
|
| 10 |
+
import { logger } from 'workbox-core/_private/logger.js';
|
| 11 |
+
import { WorkboxError } from 'workbox-core/_private/WorkboxError.js';
|
| 12 |
+
import './_version.js';
|
| 13 |
+
/**
|
| 14 |
+
* Takes either a Response, a ReadableStream, or a
|
| 15 |
+
* [BodyInit](https://fetch.spec.whatwg.org/#bodyinit) and returns the
|
| 16 |
+
* ReadableStreamReader object associated with it.
|
| 17 |
+
*
|
| 18 |
+
* @param {workbox-streams.StreamSource} source
|
| 19 |
+
* @return {ReadableStreamReader}
|
| 20 |
+
* @private
|
| 21 |
+
*/
|
| 22 |
+
function _getReaderFromSource(source) {
|
| 23 |
+
if (source instanceof Response) {
|
| 24 |
+
// See https://github.com/GoogleChrome/workbox/issues/2998
|
| 25 |
+
if (source.body) {
|
| 26 |
+
return source.body.getReader();
|
| 27 |
+
}
|
| 28 |
+
throw new WorkboxError('opaque-streams-source', { type: source.type });
|
| 29 |
+
}
|
| 30 |
+
if (source instanceof ReadableStream) {
|
| 31 |
+
return source.getReader();
|
| 32 |
+
}
|
| 33 |
+
return new Response(source).body.getReader();
|
| 34 |
+
}
|
| 35 |
+
/**
|
| 36 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 37 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
|
| 38 |
+
*
|
| 39 |
+
* Returns an object exposing a ReadableStream with each individual stream's
|
| 40 |
+
* data returned in sequence, along with a Promise which signals when the
|
| 41 |
+
* stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 42 |
+
*
|
| 43 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 44 |
+
* @return {Object<{done: Promise, stream: ReadableStream}>}
|
| 45 |
+
*
|
| 46 |
+
* @memberof workbox-streams
|
| 47 |
+
*/
|
| 48 |
+
function concatenate(sourcePromises) {
|
| 49 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 50 |
+
assert.isArray(sourcePromises, {
|
| 51 |
+
moduleName: 'workbox-streams',
|
| 52 |
+
funcName: 'concatenate',
|
| 53 |
+
paramName: 'sourcePromises',
|
| 54 |
+
});
|
| 55 |
+
}
|
| 56 |
+
const readerPromises = sourcePromises.map((sourcePromise) => {
|
| 57 |
+
return Promise.resolve(sourcePromise).then((source) => {
|
| 58 |
+
return _getReaderFromSource(source);
|
| 59 |
+
});
|
| 60 |
+
});
|
| 61 |
+
const streamDeferred = new Deferred();
|
| 62 |
+
let i = 0;
|
| 63 |
+
const logMessages = [];
|
| 64 |
+
const stream = new ReadableStream({
|
| 65 |
+
pull(controller) {
|
| 66 |
+
return readerPromises[i]
|
| 67 |
+
.then((reader) => {
|
| 68 |
+
if (reader instanceof ReadableStreamDefaultReader) {
|
| 69 |
+
return reader.read();
|
| 70 |
+
}
|
| 71 |
+
else {
|
| 72 |
+
return;
|
| 73 |
+
}
|
| 74 |
+
})
|
| 75 |
+
.then((result) => {
|
| 76 |
+
if (result === null || result === void 0 ? void 0 : result.done) {
|
| 77 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 78 |
+
logMessages.push([
|
| 79 |
+
'Reached the end of source:',
|
| 80 |
+
sourcePromises[i],
|
| 81 |
+
]);
|
| 82 |
+
}
|
| 83 |
+
i++;
|
| 84 |
+
if (i >= readerPromises.length) {
|
| 85 |
+
// Log all the messages in the group at once in a single group.
|
| 86 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 87 |
+
logger.groupCollapsed(`Concatenating ${readerPromises.length} sources.`);
|
| 88 |
+
for (const message of logMessages) {
|
| 89 |
+
if (Array.isArray(message)) {
|
| 90 |
+
logger.log(...message);
|
| 91 |
+
}
|
| 92 |
+
else {
|
| 93 |
+
logger.log(message);
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
logger.log('Finished reading all sources.');
|
| 97 |
+
logger.groupEnd();
|
| 98 |
+
}
|
| 99 |
+
controller.close();
|
| 100 |
+
streamDeferred.resolve();
|
| 101 |
+
return;
|
| 102 |
+
}
|
| 103 |
+
// The `pull` method is defined because we're inside it.
|
| 104 |
+
return this.pull(controller);
|
| 105 |
+
}
|
| 106 |
+
else {
|
| 107 |
+
controller.enqueue(result === null || result === void 0 ? void 0 : result.value);
|
| 108 |
+
}
|
| 109 |
+
})
|
| 110 |
+
.catch((error) => {
|
| 111 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 112 |
+
logger.error('An error occurred:', error);
|
| 113 |
+
}
|
| 114 |
+
streamDeferred.reject(error);
|
| 115 |
+
throw error;
|
| 116 |
+
});
|
| 117 |
+
},
|
| 118 |
+
cancel() {
|
| 119 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 120 |
+
logger.warn('The ReadableStream was cancelled.');
|
| 121 |
+
}
|
| 122 |
+
streamDeferred.resolve();
|
| 123 |
+
},
|
| 124 |
+
});
|
| 125 |
+
return { done: streamDeferred.promise, stream };
|
| 126 |
+
}
|
| 127 |
+
export { concatenate };
|
tools/ui/node_modules/workbox-streams/concatenate.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './concatenate.js';
|
tools/ui/node_modules/workbox-streams/concatenateToResponse.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { StreamSource } from './_types.js';
|
| 2 |
+
import './_version.js';
|
| 3 |
+
/**
|
| 4 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 5 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),
|
| 6 |
+
* along with a
|
| 7 |
+
* [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).
|
| 8 |
+
*
|
| 9 |
+
* Returns an object exposing a Response whose body consists of each individual
|
| 10 |
+
* stream's data returned in sequence, along with a Promise which signals when
|
| 11 |
+
* the stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 12 |
+
*
|
| 13 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 14 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 15 |
+
* `'text/html'` will be used by default.
|
| 16 |
+
* @return {Object<{done: Promise, response: Response}>}
|
| 17 |
+
*
|
| 18 |
+
* @memberof workbox-streams
|
| 19 |
+
*/
|
| 20 |
+
declare function concatenateToResponse(sourcePromises: Promise<StreamSource>[], headersInit: HeadersInit): {
|
| 21 |
+
done: Promise<void>;
|
| 22 |
+
response: Response;
|
| 23 |
+
};
|
| 24 |
+
export { concatenateToResponse };
|
tools/ui/node_modules/workbox-streams/concatenateToResponse.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import { createHeaders } from './utils/createHeaders.js';
|
| 9 |
+
import { concatenate } from './concatenate.js';
|
| 10 |
+
import './_version.js';
|
| 11 |
+
/**
|
| 12 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 13 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),
|
| 14 |
+
* along with a
|
| 15 |
+
* [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).
|
| 16 |
+
*
|
| 17 |
+
* Returns an object exposing a Response whose body consists of each individual
|
| 18 |
+
* stream's data returned in sequence, along with a Promise which signals when
|
| 19 |
+
* the stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 20 |
+
*
|
| 21 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 22 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 23 |
+
* `'text/html'` will be used by default.
|
| 24 |
+
* @return {Object<{done: Promise, response: Response}>}
|
| 25 |
+
*
|
| 26 |
+
* @memberof workbox-streams
|
| 27 |
+
*/
|
| 28 |
+
function concatenateToResponse(sourcePromises, headersInit) {
|
| 29 |
+
const { done, stream } = concatenate(sourcePromises);
|
| 30 |
+
const headers = createHeaders(headersInit);
|
| 31 |
+
const response = new Response(stream, { headers });
|
| 32 |
+
return { done, response };
|
| 33 |
+
}
|
| 34 |
+
export { concatenateToResponse };
|
tools/ui/node_modules/workbox-streams/concatenateToResponse.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './concatenateToResponse.js';
|
tools/ui/node_modules/workbox-streams/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { concatenate } from './concatenate.js';
|
| 2 |
+
import { concatenateToResponse } from './concatenateToResponse.js';
|
| 3 |
+
import { isSupported } from './isSupported.js';
|
| 4 |
+
import { strategy, StreamsHandlerCallback } from './strategy.js';
|
| 5 |
+
import './_version.js';
|
| 6 |
+
/**
|
| 7 |
+
* @module workbox-streams
|
| 8 |
+
*/
|
| 9 |
+
export { concatenate, concatenateToResponse, isSupported, strategy, StreamsHandlerCallback, };
|
| 10 |
+
export * from './_types.js';
|
tools/ui/node_modules/workbox-streams/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import { concatenate } from './concatenate.js';
|
| 9 |
+
import { concatenateToResponse } from './concatenateToResponse.js';
|
| 10 |
+
import { isSupported } from './isSupported.js';
|
| 11 |
+
import { strategy } from './strategy.js';
|
| 12 |
+
import './_version.js';
|
| 13 |
+
/**
|
| 14 |
+
* @module workbox-streams
|
| 15 |
+
*/
|
| 16 |
+
export { concatenate, concatenateToResponse, isSupported, strategy, };
|
| 17 |
+
export * from './_types.js';
|
tools/ui/node_modules/workbox-streams/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './index.js';
|
tools/ui/node_modules/workbox-streams/isSupported.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import './_version.js';
|
| 2 |
+
/**
|
| 3 |
+
* This is a utility method that determines whether the current browser supports
|
| 4 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 5 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 6 |
+
* can be created.
|
| 7 |
+
*
|
| 8 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 9 |
+
* streaming responses, and `false` otherwise.
|
| 10 |
+
*
|
| 11 |
+
* @memberof workbox-streams
|
| 12 |
+
*/
|
| 13 |
+
declare function isSupported(): boolean;
|
| 14 |
+
export { isSupported };
|
tools/ui/node_modules/workbox-streams/isSupported.js
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import { canConstructReadableStream } from 'workbox-core/_private/canConstructReadableStream.js';
|
| 9 |
+
import './_version.js';
|
| 10 |
+
/**
|
| 11 |
+
* This is a utility method that determines whether the current browser supports
|
| 12 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 13 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 14 |
+
* can be created.
|
| 15 |
+
*
|
| 16 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 17 |
+
* streaming responses, and `false` otherwise.
|
| 18 |
+
*
|
| 19 |
+
* @memberof workbox-streams
|
| 20 |
+
*/
|
| 21 |
+
function isSupported() {
|
| 22 |
+
return canConstructReadableStream();
|
| 23 |
+
}
|
| 24 |
+
export { isSupported };
|
tools/ui/node_modules/workbox-streams/isSupported.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './isSupported.js';
|
tools/ui/node_modules/workbox-streams/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "workbox-streams",
|
| 3 |
+
"version": "7.4.1",
|
| 4 |
+
"license": "MIT",
|
| 5 |
+
"author": "Google's Web DevRel Team and Google's Aurora Team",
|
| 6 |
+
"description": "A library that makes it easier to work with Streams in the browser.",
|
| 7 |
+
"repository": {
|
| 8 |
+
"type": "git",
|
| 9 |
+
"url": "git+https://github.com/googlechrome/workbox.git"
|
| 10 |
+
},
|
| 11 |
+
"bugs": "https://github.com/googlechrome/workbox/issues",
|
| 12 |
+
"homepage": "https://github.com/GoogleChrome/workbox",
|
| 13 |
+
"keywords": [
|
| 14 |
+
"workbox",
|
| 15 |
+
"workboxjs",
|
| 16 |
+
"service worker",
|
| 17 |
+
"sw",
|
| 18 |
+
"streams",
|
| 19 |
+
"readablestream"
|
| 20 |
+
],
|
| 21 |
+
"workbox": {
|
| 22 |
+
"browserNamespace": "workbox.streams",
|
| 23 |
+
"packageType": "sw"
|
| 24 |
+
},
|
| 25 |
+
"main": "index.js",
|
| 26 |
+
"module": "index.mjs",
|
| 27 |
+
"types": "index.d.ts",
|
| 28 |
+
"dependencies": {
|
| 29 |
+
"workbox-core": "7.4.1",
|
| 30 |
+
"workbox-routing": "7.4.1"
|
| 31 |
+
},
|
| 32 |
+
"gitHead": "62b9d8ba8eb3c1a2ab8aac9d84c90cda7865d6a3"
|
| 33 |
+
}
|
tools/ui/node_modules/workbox-streams/src/_types.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import './_version.js';
|
| 10 |
+
|
| 11 |
+
export type StreamSource = Response | ReadableStream | BodyInit;
|
| 12 |
+
|
| 13 |
+
// * * * IMPORTANT! * * *
|
| 14 |
+
// ------------------------------------------------------------------------- //
|
| 15 |
+
// jdsoc type definitions cannot be declared above TypeScript definitions or
|
| 16 |
+
// they'll be stripped from the built `.js` files, and they'll only be in the
|
| 17 |
+
// `d.ts` files, which aren't read by the jsdoc generator. As a result we
|
| 18 |
+
// have to put declare them below.
|
| 19 |
+
|
| 20 |
+
/**
|
| 21 |
+
* @typedef {Response|ReadableStream|BodyInit} StreamSource
|
| 22 |
+
* @memberof workbox-streams
|
| 23 |
+
*/
|
tools/ui/node_modules/workbox-streams/src/_version.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// @ts-ignore
|
| 2 |
+
try{self['workbox:streams:7.4.1']&&_()}catch(e){}
|
tools/ui/node_modules/workbox-streams/src/concatenate.ts
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {assert} from 'workbox-core/_private/assert.js';
|
| 10 |
+
import {Deferred} from 'workbox-core/_private/Deferred.js';
|
| 11 |
+
import {logger} from 'workbox-core/_private/logger.js';
|
| 12 |
+
import {StreamSource} from './_types.js';
|
| 13 |
+
import {WorkboxError} from 'workbox-core/_private/WorkboxError.js';
|
| 14 |
+
|
| 15 |
+
import './_version.js';
|
| 16 |
+
|
| 17 |
+
/**
|
| 18 |
+
* Takes either a Response, a ReadableStream, or a
|
| 19 |
+
* [BodyInit](https://fetch.spec.whatwg.org/#bodyinit) and returns the
|
| 20 |
+
* ReadableStreamReader object associated with it.
|
| 21 |
+
*
|
| 22 |
+
* @param {workbox-streams.StreamSource} source
|
| 23 |
+
* @return {ReadableStreamReader}
|
| 24 |
+
* @private
|
| 25 |
+
*/
|
| 26 |
+
function _getReaderFromSource(
|
| 27 |
+
source: StreamSource,
|
| 28 |
+
): ReadableStreamReader<unknown> {
|
| 29 |
+
if (source instanceof Response) {
|
| 30 |
+
// See https://github.com/GoogleChrome/workbox/issues/2998
|
| 31 |
+
if (source.body) {
|
| 32 |
+
return source.body.getReader();
|
| 33 |
+
}
|
| 34 |
+
throw new WorkboxError('opaque-streams-source', {type: source.type});
|
| 35 |
+
}
|
| 36 |
+
if (source instanceof ReadableStream) {
|
| 37 |
+
return source.getReader();
|
| 38 |
+
}
|
| 39 |
+
return new Response(source as BodyInit).body!.getReader();
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
/**
|
| 43 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 44 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit).
|
| 45 |
+
*
|
| 46 |
+
* Returns an object exposing a ReadableStream with each individual stream's
|
| 47 |
+
* data returned in sequence, along with a Promise which signals when the
|
| 48 |
+
* stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 49 |
+
*
|
| 50 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 51 |
+
* @return {Object<{done: Promise, stream: ReadableStream}>}
|
| 52 |
+
*
|
| 53 |
+
* @memberof workbox-streams
|
| 54 |
+
*/
|
| 55 |
+
function concatenate(sourcePromises: Promise<StreamSource>[]): {
|
| 56 |
+
done: Promise<void>;
|
| 57 |
+
stream: ReadableStream;
|
| 58 |
+
} {
|
| 59 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 60 |
+
assert!.isArray(sourcePromises, {
|
| 61 |
+
moduleName: 'workbox-streams',
|
| 62 |
+
funcName: 'concatenate',
|
| 63 |
+
paramName: 'sourcePromises',
|
| 64 |
+
});
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
const readerPromises = sourcePromises.map((sourcePromise) => {
|
| 68 |
+
return Promise.resolve(sourcePromise).then((source) => {
|
| 69 |
+
return _getReaderFromSource(source);
|
| 70 |
+
});
|
| 71 |
+
});
|
| 72 |
+
|
| 73 |
+
const streamDeferred: Deferred<void> = new Deferred();
|
| 74 |
+
|
| 75 |
+
let i = 0;
|
| 76 |
+
const logMessages: any[] = [];
|
| 77 |
+
const stream = new ReadableStream({
|
| 78 |
+
pull(controller: ReadableStreamDefaultController<any>) {
|
| 79 |
+
return readerPromises[i]
|
| 80 |
+
.then((reader) => {
|
| 81 |
+
if (reader instanceof ReadableStreamDefaultReader) {
|
| 82 |
+
return reader.read();
|
| 83 |
+
} else {
|
| 84 |
+
return;
|
| 85 |
+
}
|
| 86 |
+
})
|
| 87 |
+
.then((result) => {
|
| 88 |
+
if (result?.done) {
|
| 89 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 90 |
+
logMessages.push([
|
| 91 |
+
'Reached the end of source:',
|
| 92 |
+
sourcePromises[i],
|
| 93 |
+
]);
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
i++;
|
| 97 |
+
if (i >= readerPromises.length) {
|
| 98 |
+
// Log all the messages in the group at once in a single group.
|
| 99 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 100 |
+
logger.groupCollapsed(
|
| 101 |
+
`Concatenating ${readerPromises.length} sources.`,
|
| 102 |
+
);
|
| 103 |
+
for (const message of logMessages) {
|
| 104 |
+
if (Array.isArray(message)) {
|
| 105 |
+
logger.log(...message);
|
| 106 |
+
} else {
|
| 107 |
+
logger.log(message);
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
logger.log('Finished reading all sources.');
|
| 111 |
+
logger.groupEnd();
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
controller.close();
|
| 115 |
+
streamDeferred.resolve();
|
| 116 |
+
return;
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
// The `pull` method is defined because we're inside it.
|
| 120 |
+
return this.pull!(controller);
|
| 121 |
+
} else {
|
| 122 |
+
controller.enqueue(result?.value);
|
| 123 |
+
}
|
| 124 |
+
})
|
| 125 |
+
.catch((error) => {
|
| 126 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 127 |
+
logger.error('An error occurred:', error);
|
| 128 |
+
}
|
| 129 |
+
streamDeferred.reject(error);
|
| 130 |
+
throw error;
|
| 131 |
+
});
|
| 132 |
+
},
|
| 133 |
+
|
| 134 |
+
cancel() {
|
| 135 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 136 |
+
logger.warn('The ReadableStream was cancelled.');
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
streamDeferred.resolve();
|
| 140 |
+
},
|
| 141 |
+
});
|
| 142 |
+
|
| 143 |
+
return {done: streamDeferred.promise, stream};
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
export {concatenate};
|
tools/ui/node_modules/workbox-streams/src/concatenateToResponse.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {createHeaders} from './utils/createHeaders.js';
|
| 10 |
+
import {concatenate} from './concatenate.js';
|
| 11 |
+
import {StreamSource} from './_types.js';
|
| 12 |
+
import './_version.js';
|
| 13 |
+
|
| 14 |
+
/**
|
| 15 |
+
* Takes multiple source Promises, each of which could resolve to a Response, a
|
| 16 |
+
* ReadableStream, or a [BodyInit](https://fetch.spec.whatwg.org/#bodyinit),
|
| 17 |
+
* along with a
|
| 18 |
+
* [HeadersInit](https://fetch.spec.whatwg.org/#typedefdef-headersinit).
|
| 19 |
+
*
|
| 20 |
+
* Returns an object exposing a Response whose body consists of each individual
|
| 21 |
+
* stream's data returned in sequence, along with a Promise which signals when
|
| 22 |
+
* the stream is finished (useful for passing to a FetchEvent's waitUntil()).
|
| 23 |
+
*
|
| 24 |
+
* @param {Array<Promise<workbox-streams.StreamSource>>} sourcePromises
|
| 25 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 26 |
+
* `'text/html'` will be used by default.
|
| 27 |
+
* @return {Object<{done: Promise, response: Response}>}
|
| 28 |
+
*
|
| 29 |
+
* @memberof workbox-streams
|
| 30 |
+
*/
|
| 31 |
+
function concatenateToResponse(
|
| 32 |
+
sourcePromises: Promise<StreamSource>[],
|
| 33 |
+
headersInit: HeadersInit,
|
| 34 |
+
): {done: Promise<void>; response: Response} {
|
| 35 |
+
const {done, stream} = concatenate(sourcePromises);
|
| 36 |
+
|
| 37 |
+
const headers = createHeaders(headersInit);
|
| 38 |
+
const response = new Response(stream, {headers});
|
| 39 |
+
|
| 40 |
+
return {done, response};
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
export {concatenateToResponse};
|
tools/ui/node_modules/workbox-streams/src/index.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {concatenate} from './concatenate.js';
|
| 10 |
+
import {concatenateToResponse} from './concatenateToResponse.js';
|
| 11 |
+
import {isSupported} from './isSupported.js';
|
| 12 |
+
import {strategy, StreamsHandlerCallback} from './strategy.js';
|
| 13 |
+
|
| 14 |
+
import './_version.js';
|
| 15 |
+
|
| 16 |
+
/**
|
| 17 |
+
* @module workbox-streams
|
| 18 |
+
*/
|
| 19 |
+
|
| 20 |
+
export {
|
| 21 |
+
concatenate,
|
| 22 |
+
concatenateToResponse,
|
| 23 |
+
isSupported,
|
| 24 |
+
strategy,
|
| 25 |
+
StreamsHandlerCallback,
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
export * from './_types.js';
|
tools/ui/node_modules/workbox-streams/src/isSupported.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {canConstructReadableStream} from 'workbox-core/_private/canConstructReadableStream.js';
|
| 10 |
+
import './_version.js';
|
| 11 |
+
|
| 12 |
+
/**
|
| 13 |
+
* This is a utility method that determines whether the current browser supports
|
| 14 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 15 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 16 |
+
* can be created.
|
| 17 |
+
*
|
| 18 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 19 |
+
* streaming responses, and `false` otherwise.
|
| 20 |
+
*
|
| 21 |
+
* @memberof workbox-streams
|
| 22 |
+
*/
|
| 23 |
+
function isSupported(): boolean {
|
| 24 |
+
return canConstructReadableStream();
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
export {isSupported};
|
tools/ui/node_modules/workbox-streams/src/strategy.ts
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import {logger} from 'workbox-core/_private/logger.js';
|
| 10 |
+
import {
|
| 11 |
+
RouteHandlerCallback,
|
| 12 |
+
RouteHandlerCallbackOptions,
|
| 13 |
+
} from 'workbox-core/types.js';
|
| 14 |
+
import {createHeaders} from './utils/createHeaders.js';
|
| 15 |
+
import {concatenateToResponse} from './concatenateToResponse.js';
|
| 16 |
+
import {isSupported} from './isSupported.js';
|
| 17 |
+
import {StreamSource} from './_types.js';
|
| 18 |
+
import './_version.js';
|
| 19 |
+
|
| 20 |
+
export interface StreamsHandlerCallback {
|
| 21 |
+
({url, request, event, params}: RouteHandlerCallbackOptions):
|
| 22 |
+
| Promise<StreamSource>
|
| 23 |
+
| StreamSource;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
/**
|
| 27 |
+
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
|
| 28 |
+
*
|
| 29 |
+
* On browsers that do not support constructing new `ReadableStream`s, this
|
| 30 |
+
* strategy will automatically wait for all the `sourceFunctions` to complete,
|
| 31 |
+
* and create a final response that concatenates their values together.
|
| 32 |
+
*
|
| 33 |
+
* @param {Array<function({event, request, url, params})>} sourceFunctions
|
| 34 |
+
* An array of functions similar to {@link workbox-routing~handlerCallback}
|
| 35 |
+
* but that instead return a {@link workbox-streams.StreamSource} (or a
|
| 36 |
+
* Promise which resolves to one).
|
| 37 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 38 |
+
* `'text/html'` will be used by default.
|
| 39 |
+
* @return {workbox-routing~handlerCallback}
|
| 40 |
+
* @memberof workbox-streams
|
| 41 |
+
*/
|
| 42 |
+
function strategy(
|
| 43 |
+
sourceFunctions: StreamsHandlerCallback[],
|
| 44 |
+
headersInit: HeadersInit,
|
| 45 |
+
): RouteHandlerCallback {
|
| 46 |
+
return async ({event, request, url, params}: RouteHandlerCallbackOptions) => {
|
| 47 |
+
const sourcePromises = sourceFunctions.map((fn) => {
|
| 48 |
+
// Ensure the return value of the function is always a promise.
|
| 49 |
+
return Promise.resolve(fn({event, request, url, params}));
|
| 50 |
+
});
|
| 51 |
+
|
| 52 |
+
if (isSupported()) {
|
| 53 |
+
const {done, response} = concatenateToResponse(
|
| 54 |
+
sourcePromises,
|
| 55 |
+
headersInit,
|
| 56 |
+
);
|
| 57 |
+
|
| 58 |
+
if (event) {
|
| 59 |
+
event.waitUntil(done);
|
| 60 |
+
}
|
| 61 |
+
return response;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 65 |
+
logger.log(
|
| 66 |
+
`The current browser doesn't support creating response ` +
|
| 67 |
+
`streams. Falling back to non-streaming response instead.`,
|
| 68 |
+
);
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
// Fallback to waiting for everything to finish, and concatenating the
|
| 72 |
+
// responses.
|
| 73 |
+
const blobPartsPromises = sourcePromises.map(async (sourcePromise) => {
|
| 74 |
+
const source = await sourcePromise;
|
| 75 |
+
if (source instanceof Response) {
|
| 76 |
+
return source.blob();
|
| 77 |
+
} else {
|
| 78 |
+
// Technically, a `StreamSource` object can include any valid
|
| 79 |
+
// `BodyInit` type, including `FormData` and `URLSearchParams`, which
|
| 80 |
+
// cannot be passed to the Blob constructor directly, so we have to
|
| 81 |
+
// convert them to actual Blobs first.
|
| 82 |
+
return new Response(source).blob();
|
| 83 |
+
}
|
| 84 |
+
});
|
| 85 |
+
const blobParts = await Promise.all(blobPartsPromises);
|
| 86 |
+
const headers = createHeaders(headersInit);
|
| 87 |
+
|
| 88 |
+
// Constructing a new Response from a Blob source is well-supported.
|
| 89 |
+
// So is constructing a new Blob from multiple source Blobs or strings.
|
| 90 |
+
return new Response(new Blob(blobParts), {headers});
|
| 91 |
+
};
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
export {strategy};
|
tools/ui/node_modules/workbox-streams/src/utils/createHeaders.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
|
| 9 |
+
import '../_version.js';
|
| 10 |
+
|
| 11 |
+
/**
|
| 12 |
+
* This is a utility method that determines whether the current browser supports
|
| 13 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 14 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 15 |
+
* is available.
|
| 16 |
+
*
|
| 17 |
+
* @private
|
| 18 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 19 |
+
* `'text/html'` will be used by default.
|
| 20 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 21 |
+
* streaming responses, and `false` otherwise.
|
| 22 |
+
*
|
| 23 |
+
* @memberof workbox-streams
|
| 24 |
+
*/
|
| 25 |
+
function createHeaders(headersInit = {}): Headers {
|
| 26 |
+
// See https://github.com/GoogleChrome/workbox/issues/1461
|
| 27 |
+
const headers = new Headers(headersInit);
|
| 28 |
+
if (!headers.has('content-type')) {
|
| 29 |
+
headers.set('content-type', 'text/html');
|
| 30 |
+
}
|
| 31 |
+
return headers;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
export {createHeaders};
|
tools/ui/node_modules/workbox-streams/strategy.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { RouteHandlerCallback, RouteHandlerCallbackOptions } from 'workbox-core/types.js';
|
| 2 |
+
import { StreamSource } from './_types.js';
|
| 3 |
+
import './_version.js';
|
| 4 |
+
export interface StreamsHandlerCallback {
|
| 5 |
+
({ url, request, event, params }: RouteHandlerCallbackOptions): Promise<StreamSource> | StreamSource;
|
| 6 |
+
}
|
| 7 |
+
/**
|
| 8 |
+
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
|
| 9 |
+
*
|
| 10 |
+
* On browsers that do not support constructing new `ReadableStream`s, this
|
| 11 |
+
* strategy will automatically wait for all the `sourceFunctions` to complete,
|
| 12 |
+
* and create a final response that concatenates their values together.
|
| 13 |
+
*
|
| 14 |
+
* @param {Array<function({event, request, url, params})>} sourceFunctions
|
| 15 |
+
* An array of functions similar to {@link workbox-routing~handlerCallback}
|
| 16 |
+
* but that instead return a {@link workbox-streams.StreamSource} (or a
|
| 17 |
+
* Promise which resolves to one).
|
| 18 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 19 |
+
* `'text/html'` will be used by default.
|
| 20 |
+
* @return {workbox-routing~handlerCallback}
|
| 21 |
+
* @memberof workbox-streams
|
| 22 |
+
*/
|
| 23 |
+
declare function strategy(sourceFunctions: StreamsHandlerCallback[], headersInit: HeadersInit): RouteHandlerCallback;
|
| 24 |
+
export { strategy };
|
tools/ui/node_modules/workbox-streams/strategy.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import { logger } from 'workbox-core/_private/logger.js';
|
| 9 |
+
import { createHeaders } from './utils/createHeaders.js';
|
| 10 |
+
import { concatenateToResponse } from './concatenateToResponse.js';
|
| 11 |
+
import { isSupported } from './isSupported.js';
|
| 12 |
+
import './_version.js';
|
| 13 |
+
/**
|
| 14 |
+
* A shortcut to create a strategy that could be dropped-in to Workbox's router.
|
| 15 |
+
*
|
| 16 |
+
* On browsers that do not support constructing new `ReadableStream`s, this
|
| 17 |
+
* strategy will automatically wait for all the `sourceFunctions` to complete,
|
| 18 |
+
* and create a final response that concatenates their values together.
|
| 19 |
+
*
|
| 20 |
+
* @param {Array<function({event, request, url, params})>} sourceFunctions
|
| 21 |
+
* An array of functions similar to {@link workbox-routing~handlerCallback}
|
| 22 |
+
* but that instead return a {@link workbox-streams.StreamSource} (or a
|
| 23 |
+
* Promise which resolves to one).
|
| 24 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 25 |
+
* `'text/html'` will be used by default.
|
| 26 |
+
* @return {workbox-routing~handlerCallback}
|
| 27 |
+
* @memberof workbox-streams
|
| 28 |
+
*/
|
| 29 |
+
function strategy(sourceFunctions, headersInit) {
|
| 30 |
+
return async ({ event, request, url, params }) => {
|
| 31 |
+
const sourcePromises = sourceFunctions.map((fn) => {
|
| 32 |
+
// Ensure the return value of the function is always a promise.
|
| 33 |
+
return Promise.resolve(fn({ event, request, url, params }));
|
| 34 |
+
});
|
| 35 |
+
if (isSupported()) {
|
| 36 |
+
const { done, response } = concatenateToResponse(sourcePromises, headersInit);
|
| 37 |
+
if (event) {
|
| 38 |
+
event.waitUntil(done);
|
| 39 |
+
}
|
| 40 |
+
return response;
|
| 41 |
+
}
|
| 42 |
+
if (process.env.NODE_ENV !== 'production') {
|
| 43 |
+
logger.log(`The current browser doesn't support creating response ` +
|
| 44 |
+
`streams. Falling back to non-streaming response instead.`);
|
| 45 |
+
}
|
| 46 |
+
// Fallback to waiting for everything to finish, and concatenating the
|
| 47 |
+
// responses.
|
| 48 |
+
const blobPartsPromises = sourcePromises.map(async (sourcePromise) => {
|
| 49 |
+
const source = await sourcePromise;
|
| 50 |
+
if (source instanceof Response) {
|
| 51 |
+
return source.blob();
|
| 52 |
+
}
|
| 53 |
+
else {
|
| 54 |
+
// Technically, a `StreamSource` object can include any valid
|
| 55 |
+
// `BodyInit` type, including `FormData` and `URLSearchParams`, which
|
| 56 |
+
// cannot be passed to the Blob constructor directly, so we have to
|
| 57 |
+
// convert them to actual Blobs first.
|
| 58 |
+
return new Response(source).blob();
|
| 59 |
+
}
|
| 60 |
+
});
|
| 61 |
+
const blobParts = await Promise.all(blobPartsPromises);
|
| 62 |
+
const headers = createHeaders(headersInit);
|
| 63 |
+
// Constructing a new Response from a Blob source is well-supported.
|
| 64 |
+
// So is constructing a new Blob from multiple source Blobs or strings.
|
| 65 |
+
return new Response(new Blob(blobParts), { headers });
|
| 66 |
+
};
|
| 67 |
+
}
|
| 68 |
+
export { strategy };
|
tools/ui/node_modules/workbox-streams/strategy.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './strategy.js';
|
tools/ui/node_modules/workbox-streams/tsconfig.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"extends": "../../tsconfig",
|
| 3 |
+
"compilerOptions": {
|
| 4 |
+
"outDir": "./",
|
| 5 |
+
"rootDir": "./src",
|
| 6 |
+
"tsBuildInfoFile": "./tsconfig.tsbuildinfo"
|
| 7 |
+
},
|
| 8 |
+
"include": ["src/**/*.ts"],
|
| 9 |
+
"references": [{"path": "../workbox-core/"}]
|
| 10 |
+
}
|
tools/ui/node_modules/workbox-streams/tsconfig.tsbuildinfo
ADDED
|
@@ -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.webworker.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.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.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.es2020.number.d.ts","../../infra/type-overrides.d.ts","./src/_version.ts","./src/_types.ts","../workbox-core/_version.d.ts","../workbox-core/types.d.ts","../workbox-core/_private/assert.d.ts","../workbox-core/_private/deferred.d.ts","../workbox-core/_private/logger.d.ts","../workbox-core/_private/workboxerror.d.ts","./src/concatenate.ts","./src/utils/createheaders.ts","./src/concatenatetoresponse.ts","../workbox-core/_private/canconstructreadablestream.d.ts","./src/issupported.ts","./src/strategy.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/babel__preset-env/index.d.ts","../../node_modules/@types/common-tags/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/@types/node/compatibility/index.d.ts","../../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../node_modules/undici-types/header.d.ts","../../node_modules/undici-types/readable.d.ts","../../node_modules/undici-types/file.d.ts","../../node_modules/undici-types/fetch.d.ts","../../node_modules/undici-types/formdata.d.ts","../../node_modules/undici-types/connector.d.ts","../../node_modules/undici-types/client.d.ts","../../node_modules/undici-types/errors.d.ts","../../node_modules/undici-types/dispatcher.d.ts","../../node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/undici-types/global-origin.d.ts","../../node_modules/undici-types/pool-stats.d.ts","../../node_modules/undici-types/pool.d.ts","../../node_modules/undici-types/handlers.d.ts","../../node_modules/undici-types/balanced-pool.d.ts","../../node_modules/undici-types/agent.d.ts","../../node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/undici-types/mock-agent.d.ts","../../node_modules/undici-types/mock-client.d.ts","../../node_modules/undici-types/mock-pool.d.ts","../../node_modules/undici-types/mock-errors.d.ts","../../node_modules/undici-types/proxy-agent.d.ts","../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/undici-types/retry-handler.d.ts","../../node_modules/undici-types/retry-agent.d.ts","../../node_modules/undici-types/api.d.ts","../../node_modules/undici-types/interceptors.d.ts","../../node_modules/undici-types/util.d.ts","../../node_modules/undici-types/cookies.d.ts","../../node_modules/undici-types/patch.d.ts","../../node_modules/undici-types/websocket.d.ts","../../node_modules/undici-types/eventsource.d.ts","../../node_modules/undici-types/filereader.d.ts","../../node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/undici-types/content-type.d.ts","../../node_modules/undici-types/cache.d.ts","../../node_modules/undici-types/index.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.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/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/dom-events.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/readline/promises.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/sea.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.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/ts5.6/index.d.ts","../../node_modules/@types/fs-extra/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/html-minifier-terser/index.d.ts","../../node_modules/@types/linkify-it/index.d.ts","../../node_modules/@types/mdurl/encode.d.ts","../../node_modules/@types/mdurl/decode.d.ts","../../node_modules/@types/mdurl/parse.d.ts","../../node_modules/@types/mdurl/format.d.ts","../../node_modules/@types/mdurl/index.d.ts","../../node_modules/@types/markdown-it/lib/common/utils.d.ts","../../node_modules/@types/markdown-it/lib/token.d.ts","../../node_modules/@types/markdown-it/lib/rules_inline/state_inline.d.ts","../../node_modules/@types/markdown-it/lib/helpers/parse_link_label.d.ts","../../node_modules/@types/markdown-it/lib/helpers/parse_link_destination.d.ts","../../node_modules/@types/markdown-it/lib/helpers/parse_link_title.d.ts","../../node_modules/@types/markdown-it/lib/helpers/index.d.ts","../../node_modules/@types/markdown-it/lib/ruler.d.ts","../../node_modules/@types/markdown-it/lib/rules_block/state_block.d.ts","../../node_modules/@types/markdown-it/lib/parser_block.d.ts","../../node_modules/@types/markdown-it/lib/rules_core/state_core.d.ts","../../node_modules/@types/markdown-it/lib/parser_core.d.ts","../../node_modules/@types/markdown-it/lib/parser_inline.d.ts","../../node_modules/@types/markdown-it/lib/renderer.d.ts","../../node_modules/@types/markdown-it/lib/index.d.ts","../../node_modules/@types/markdown-it/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/resolve/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/source-list-map/index.d.ts","../../node_modules/@types/stringify-object/index.d.ts","../../node_modules/@types/tapable/index.d.ts","../../node_modules/@types/uglify-js/node_modules/source-map/source-map.d.ts","../../node_modules/@types/uglify-js/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"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"d3f4771304b6b07e5a2bb992e75af76ac060de78803b1b21f0475ffc5654d817","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","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":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"0396119f8b76a074eddc16de8dbc4231a448f2534f4c64c5ab7b71908eb6e646","affectsGlobalScope":true},{"version":"576844ac0dd93e200226d7b04c97983b6584da698687d94cbc88bcb5dc239dd3","signature":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","affectsGlobalScope":true},{"version":"43b283a961efe9fb5f6db7fb5e5da1a1fbe1dc2a40fbbf2bb69f9a684f5123cb","signature":"3330a565c3ba823beaafa8c291aaf4bd32324ad062a9881d9b256fb1a01cae83"},"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","f0ae1ac99c66a4827469b8942101642ae65971e36db438afe67d4985caa31222","7f5bced3f1bd3647585b59564e0b0fda67e1c2930325507ee922698fe8366aca","88fa7615e71089c0cab3b688aae073a6e9dae6f489ec1357da407c155d2e9d84",{"version":"d763b9ef68a16f3896187af5b51b5a959b479218cc65c2930bcb440cbbf10728","affectsGlobalScope":true},"0b066351c69855f76970a460fe20a500d20f369a02d2069aa49e1195cd04c3c5",{"version":"3175aa69fb597c3d5279aa7c033bfbabefd48f2e46c961de29aaf1d568353907","signature":"2939ba53a856cc8a5ec94e48c4df4a271f156547b89ef10e72dc6fb4bfde1d64"},{"version":"a7284af4d336e107a3a5d73ff779e7aafe6e20bd1d31ce8e5cb270eeeb6123b6","signature":"50957b2b2ca06175ba0b8b21fcc449c4d92d15b2c74e7b2af241f0bfe491e143"},{"version":"b953eb8ee25e34b1059c1d1d683dca007f11e05e1bd810df52220d351b666166","signature":"01f26f7267a10e2b1d6dd3f7619a7a80d18a3ca36f50823afe80f2af8c96a453"},"96804c81b1d2ede6f9a247b098b54423eede03752d4cc7b6a1872e0832e7f4e8",{"version":"3469a10bdf3cf1719c608ff69e4e228d9abe6db1e145a158f5c85e28257d8c4e","signature":"6b9f89086659e8a070c9d16552bc0d02c1565c72d55404162bf9f15b65fcc0e1"},{"version":"c159abe7dbffb4156659b3ff4991b17078060f33fed71b9eb72425617dab0512","signature":"e9d5a098eada88588f6a2ab40fc22c556d9f2dcea96cbc49ce8e1fcd305e3c5f"},{"version":"a56fdeb10ea26f54cfe15049b92dd7965fccb3f98394f652ba77eb1028911efa","signature":"543bbad49d20c5afe6e9c9ed54b066c25a0aaf876f49c6c0194cde8ad8a311bc"},"c2c2a861a338244d7dd700d0c52a78916b4bb75b98fc8ca5e7c501899fc03796","b25c5f2970d06c729f464c0aeaa64b1a5b5f1355aa93554bb5f9c199b8624b1e","adb467429462e3891de5bb4a82a4189b92005d61c7f9367c089baf03997c104e","3051751533eee92572241b3cef28333212401408c4e7aa21718714b793c0f4ed","691aea9772797ca98334eb743e7686e29325b02c6931391bcee4cc7bf27a9f3b","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","d83a458e35dfd3cfe0c94758b0b621a733df35ff6b24db007c2721da6574705d","0aeab9bac83e1f076d9f5487c5c783288fe9be64064ee7de3c81eecee157f506",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","7852500a7dc3f9cb6b73d619f6e0249119211ea662fd5e16c59ee5aba3deeb80","1f68ab0e055994eb337b67aa87d2a15e0200951e9664959b3866ee6f6b11a0fe",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"20fb08397d22742771868b52f647cddfbf44b263f26b6519b449257f8c9f7364","affectsGlobalScope":true},"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","24bd580b5743dc56402c440dc7f9a4f5d592ad7a419f25414d37a7bfe11e342b","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","6bdc71028db658243775263e93a7db2fd2abfce3ca569c3cca5aee6ed5eb186d","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","4d2b0eb911816f66abe4970898f97a2cfc902bcd743cbfa5017fad79f7ef90d8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","24b8685c62562f5d98615c5a0c1d05f297cf5065f15246edfe99e81ec4c0e011","93507c745e8f29090efb99399c3f77bec07db17acd75634249dc92f961573387","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"08faa97886e71757779428dd4c69a545c32c85fd629d1116d42710b32c6378bc","affectsGlobalScope":true},"6b042aa5d277ad6963e2837179fd2f8fbb01968ac67115b0833c0244e93d1d50","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"23cfd70b42094e54cc3c5dab996d81b97e2b6f38ccb24ead85454b8ddfe2fc4f","affectsGlobalScope":true},"f3e58c4c18a031cbb17abec7a4ad0bd5ae9fc70c1f4ba1e7fb921ad87c504aca","a3e8bafb2af8e850c644f4be7f5156cf7d23b7bfdc3b786bd4d10ed40329649c",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","5a369483ac4cfbdf0331c248deeb36140e6907db5e1daed241546b4a2055f82c","e8f5b5cc36615c17d330eaf8eebbc0d6bdd942c25991f96ef122f246f4ff722f","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"0a37b8d00d03f0381d2db2fe31b0571dc9d7cc0f4b87ca103cc3cd2277690ba0","71adf5dbc59568663d252a46179e71e4d544c053978bfc526d11543a3f716f42","38bf8ff1b403c861e9052c9ea651cb4f38c1ecc084a34d79f8acc6d6477a7321","93bd413918fa921c8729cef45302b24d8b6c7855d72d5bf82d3972595ae8dcbf","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","dccdf1677e531e33f8ac961a68bc537418c9a414797c1ea7e91307501cdc3f5e",{"version":"e184c4b8918ef56c8c9e68bd79f3f3780e2d0d75bf2b8a41da1509a40c2deb46","affectsGlobalScope":true},"d206b4baf4ddcc15d9d69a9a2f4999a72a2c6adeaa8af20fa7a9960816287555","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"70731d10d5311bd4cf710ef7f6539b62660f4b0bfdbb3f9fbe1d25fe6366a7fa","affectsGlobalScope":true},{"version":"6b19db3600a17af69d4f33d08cc7076a7d19fb65bb36e442cac58929ec7c9482","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","137c2894e8f3e9672d401cc0a305dc7b1db7c69511cf6d3970fb53302f9eae09","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","ba1f814c22fd970255ddd60d61fb7e00c28271c933ab5d5cc19cd3ca66b8f57c","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"295f068af94245ee9d780555351bef98adfd58f8baf0b9dadbc31a489b881f8b","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb",{"version":"09d479208911ac3ac6a7c2fe86217fc1abe6c4f04e2d52e4890e500699eeab32","affectsGlobalScope":true},{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","4f029899f9bae07e225c43aef893590541b2b43267383bf5e32e3a884d219ed5","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"5b566927cad2ed2139655d55d690ffa87df378b956e7fe1c96024c4d9f75c4cf","affectsGlobalScope":true},{"version":"bce947017cb7a2deebcc4f5ba04cead891ce6ad1602a4438ae45ed9aa1f39104","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","e2c72c065a36bc9ab2a00ac6a6f51e71501619a72c0609defd304d46610487a4","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"616075a6ac578cf5a013ee12964188b4412823796ce0b202c6f1d2e4ca8480d7","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","ed19da84b7dbf00952ad0b98ce5c194f1903bcf7c94d8103e8e0d63b271543ae","1d1e6bd176eee5970968423d7e215bfd66828b6db8d54d17afec05a831322633","393137c76bd922ba70a2f8bf1ade4f59a16171a02fb25918c168d48875b0cfb0","6767cce098e1e6369c26258b7a1f9e569c5467d501a47a090136d5ea6e80ae6d","6503fb6addf62f9b10f8564d9869ad824565a914ec1ac3dd7d13da14a3f57036","f313731860257325f13351575f381fef333d4dfe30daf5a2e72f894208feea08","951b37f7d86f6012f09e6b35f1de57c69d75f16908cb0adaa56b93675ea0b853","3816fc03ffd9cbd1a7a3362a264756a4a1d547caabea50ca68303046be40e376","0c417b4ec46b88fb62a43ec00204700b560d01eb5677c7faa8ecd34610f096a8","13d29cdeb64e8496424edf42749bbb47de5e42d201cf958911a4638cbcffbd3f","0f9e381eecc5860f693c31fe463b3ca20a64ca9b8db0cf6208cd4a053f064809","95902d5561c6aac5dfc40568a12b0aca324037749dcd32a81f23423bfde69bab","5dfb2aca4136abdc5a2740f14be8134a6e6b66fd53470bb2e954e40f8abfaf3e","577463167dd69bd81f76697dfc3f7b22b77a6152f60a602a9218e52e3183ad67","b8396e9024d554b611cbe31a024b176ba7116063d19354b5a02dccd8f0118989","4b28e1c5bf88d891e07a1403358b81a51b3ba2eae1ffada51cca7476b5ac6407","7150ad575d28bf98fae321a1c0f10ad17b127927811f488ded6ff1d88d4244e5","8b155c4757d197969553de3762c8d23d5866710301de41e1b66b97c9ed867003","93733466609dd8bf72eace502a24ca7574bd073d934216e628f1b615c8d3cb3c","45e9228761aabcadb79c82fb3008523db334491525bdb8e74e0f26eaf7a4f7f4","aeacac2778c9821512b6b889da79ac31606a863610c8f28da1e483579627bf90","569fdb354062fc098a6a3ba93a029edf22d6fe480cf72b231b3c07832b2e7c97","bf9876e62fb7f4237deafab8c7444770ef6e82b4cad2d5dc768664ff340feeb2","6cf60e76d37faf0fbc2f80a873eab0fd545f6b1bf300e7f0823f956ddb3083e9","6adaa6103086f931e3eee20f0987e86e8879e9d13aa6bd6075ccfc58b9c5681c","ee0af0f2b8d3b4d0baf669f2ff6fcef4a8816a473c894cc7c905029f7505fed0","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","8baa5d0febc68db886c40bf341e5c90dc215a90cd64552e47e8184be6b7e3358","cf3d384d082b933d987c4e2fe7bfb8710adfd9dc8155190056ed6695a25a559e","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","c2576a4083232b0e2d9bd06875dd43d371dee2e090325a9eac0133fd5650c1cb","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","f40ac11d8859092d20f953aae14ba967282c3bb056431a37fced1866ec7a2681","cc11e9e79d4746cc59e0e17473a59d6f104692fd0eeea1bdb2e206eabed83b03","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","7d8ddf0f021c53099e34ee831a06c394d50371816caa98684812f089b4c6b3d4","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","2905bf42cddf7ba20c88922d36b7afa5431523c1cab119fdb38bf5baab02adf1","d558a0fe921ebcc88d3212c2c42108abf9f0d694d67ebdeba37d7728c044f579","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","9d74c7330800b325bb19cc8c1a153a612c080a60094e1ab6cfb6e39cf1b88c36","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762"],"options":{"composite":true,"declaration":true,"module":99,"noFallthroughCasesInSwitch":true,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","preserveConstEnums":true,"rootDir":"./src","strict":true,"target":4,"tsBuildInfoFile":"./tsconfig.tsbuildinfo"},"fileIdsList":[[76,118],[58,76,118],[58,59,60,61,62,76,118],[58,60,76,118],[67,69,76,118],[66,67,68,76,118],[76,118,131,167],[76,118,130,167,169],[76,118,192],[76,118,177],[76,118,181,182,183],[76,118,180],[76,118,182],[76,118,172,178,179,184,187,189,190,191],[76,118,179,185,186,192],[76,118,185,188],[76,118,179,180,185,192],[76,118,179,192],[76,118,173,174,175,176],[76,115,118],[76,117,118],[76,118,123,152],[76,118,119,124,130,131,138,149,160],[76,118,119,120,130,138],[71,72,73,76,118],[76,118,121,161],[76,118,122,123,131,139],[76,118,123,149,157],[76,118,124,126,130,138],[76,117,118,125],[76,118,126,127],[76,118,130],[76,118,128,130],[76,117,118,130],[76,118,130,131,132,149,160],[76,118,130,131,132,145,149,152],[76,113,118,165],[76,118,126,130,133,138,149,160],[76,118,130,131,133,134,138,149,157,160],[76,118,133,135,149,157,160],[76,118,130,136],[76,118,137,160,165],[76,118,126,130,138,149],[76,118,139],[76,118,140],[76,117,118,141],[76,115,116,117,118,119,120,121,122,123,124,125,126,127,128,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[76,118,143],[76,118,144],[76,118,130,145,146],[76,118,145,147,161,163],[76,118,130,149,150,152],[76,118,151,152],[76,118,149,150],[76,118,152],[76,118,153],[76,115,118,149],[76,118,130,155,156],[76,118,155,156],[76,118,123,138,149,157],[76,118,158],[118],[74,75,76,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166],[76,118,138,159],[76,118,133,144,160],[76,118,123,161],[76,118,149,162],[76,118,137,163],[76,118,164],[76,118,123,130,132,141,149,160,163,165],[76,118,149,166],[76,118,198,237],[76,118,198,222,237],[76,118,237],[76,118,198],[76,118,198,223,237],[76,118,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236],[76,118,223,237],[76,118,241],[76,118,167,244,245,246,247,248,249,250,251,252,253,254],[76,118,243,244,253],[76,118,244,253],[76,118,238,243,244,253],[76,118,243,244,245,246,247,248,249,250,251,252,254],[76,118,244],[76,118,123,243,253],[76,85,89,118,160],[76,85,118,149,160],[76,80,118],[76,82,85,118,157,160],[76,118,138,157],[76,118,167],[76,80,118,167],[76,82,85,118,138,160],[76,77,78,81,84,118,130,149,160],[76,85,92,118],[76,77,83,118],[76,85,106,107,118],[76,81,85,118,152,160,167],[76,106,118,167],[76,79,80,118,167],[76,85,118],[76,79,80,81,82,83,84,85,86,87,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,107,108,109,110,111,112,118],[76,85,100,118],[76,85,92,93,118],[76,83,85,93,94,118],[76,84,118],[76,77,80,85,118],[76,85,89,93,94,118],[76,89,118],[76,83,85,88,118,160],[76,77,82,85,92,118],[76,118,149],[76,80,85,106,118,165,167],[46,76,118],[44,47,48,49,50,76,118],[44,51,52,76,118],[44,51,53,55,56,76,118],[54,76,118],[44,46,49,52,53,55,76,118],[44],[44,51,53,55,56],[44,46]],"referencedMap":[[42,1],[60,2],[58,1],[63,3],[59,2],[64,1],[61,4],[62,2],[65,1],[70,5],[66,1],[69,6],[67,1],[168,7],[170,8],[171,1],[68,1],[172,1],[193,9],[178,10],[184,11],[182,1],[181,12],[183,13],[192,14],[187,15],[189,16],[190,17],[191,18],[185,1],[186,18],[188,18],[180,18],[179,1],[174,1],[173,1],[176,10],[177,19],[175,10],[169,1],[194,1],[115,20],[116,20],[117,21],[118,22],[119,23],[120,24],[71,1],[74,25],[72,1],[73,1],[121,26],[122,27],[123,28],[124,29],[125,30],[126,31],[127,31],[129,32],[128,33],[130,34],[131,35],[132,36],[114,37],[133,38],[134,39],[135,40],[136,41],[137,42],[138,43],[139,44],[140,45],[141,46],[142,47],[143,48],[144,49],[145,50],[146,50],[147,51],[148,1],[149,52],[151,53],[150,54],[152,55],[153,56],[154,57],[155,58],[156,59],[157,60],[158,61],[76,62],[75,1],[167,63],[159,64],[160,65],[161,66],[162,67],[163,68],[164,69],[165,70],[166,71],[195,1],[196,1],[197,1],[222,72],[223,73],[198,74],[201,74],[220,72],[221,72],[211,72],[210,75],[208,72],[203,72],[216,72],[214,72],[218,72],[202,72],[215,72],[219,72],[204,72],[205,72],[217,72],[199,72],[206,72],[207,72],[209,72],[213,72],[224,76],[212,72],[200,72],[237,77],[236,1],[231,76],[233,78],[232,76],[225,76],[226,76],[228,76],[230,76],[234,78],[235,78],[227,78],[229,78],[238,1],[239,1],[240,1],[242,79],[241,1],[255,80],[254,81],[245,82],[246,83],[253,84],[247,83],[248,82],[249,82],[250,82],[251,85],[244,86],[252,81],[243,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[8,1],[92,87],[102,88],[91,87],[112,89],[83,90],[82,91],[111,92],[105,93],[110,94],[85,95],[99,96],[84,97],[108,98],[80,99],[79,92],[109,100],[81,101],[86,102],[87,1],[90,102],[77,1],[113,103],[103,104],[94,105],[95,106],[97,107],[93,108],[96,109],[106,92],[88,110],[89,111],[98,112],[78,113],[101,104],[100,102],[104,1],[107,114],[47,115],[54,1],[48,1],[49,1],[50,115],[45,1],[46,1],[44,1],[43,1],[51,116],[53,117],[57,118],[55,119],[56,120],[52,1]],"exportedModulesMap":[[42,1],[60,2],[58,1],[63,3],[59,2],[64,1],[61,4],[62,2],[65,1],[70,5],[66,1],[69,6],[67,1],[168,7],[170,8],[171,1],[68,1],[172,1],[193,9],[178,10],[184,11],[182,1],[181,12],[183,13],[192,14],[187,15],[189,16],[190,17],[191,18],[185,1],[186,18],[188,18],[180,18],[179,1],[174,1],[173,1],[176,10],[177,19],[175,10],[169,1],[194,1],[115,20],[116,20],[117,21],[118,22],[119,23],[120,24],[71,1],[74,25],[72,1],[73,1],[121,26],[122,27],[123,28],[124,29],[125,30],[126,31],[127,31],[129,32],[128,33],[130,34],[131,35],[132,36],[114,37],[133,38],[134,39],[135,40],[136,41],[137,42],[138,43],[139,44],[140,45],[141,46],[142,47],[143,48],[144,49],[145,50],[146,50],[147,51],[148,1],[149,52],[151,53],[150,54],[152,55],[153,56],[154,57],[155,58],[156,59],[157,60],[158,61],[76,62],[75,1],[167,63],[159,64],[160,65],[161,66],[162,67],[163,68],[164,69],[165,70],[166,71],[195,1],[196,1],[197,1],[222,72],[223,73],[198,74],[201,74],[220,72],[221,72],[211,72],[210,75],[208,72],[203,72],[216,72],[214,72],[218,72],[202,72],[215,72],[219,72],[204,72],[205,72],[217,72],[199,72],[206,72],[207,72],[209,72],[213,72],[224,76],[212,72],[200,72],[237,77],[236,1],[231,76],[233,78],[232,76],[225,76],[226,76],[228,76],[230,76],[234,78],[235,78],[227,78],[229,78],[238,1],[239,1],[240,1],[242,79],[241,1],[255,80],[254,81],[245,82],[246,83],[253,84],[247,83],[248,82],[249,82],[250,82],[251,85],[244,86],[252,81],[243,1],[10,1],[9,1],[2,1],[11,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[3,1],[4,1],[22,1],[19,1],[20,1],[21,1],[23,1],[24,1],[25,1],[5,1],[26,1],[27,1],[28,1],[29,1],[6,1],[33,1],[30,1],[31,1],[32,1],[34,1],[7,1],[35,1],[40,1],[41,1],[36,1],[37,1],[38,1],[39,1],[1,1],[8,1],[92,87],[102,88],[91,87],[112,89],[83,90],[82,91],[111,92],[105,93],[110,94],[85,95],[99,96],[84,97],[108,98],[80,99],[79,92],[109,100],[81,101],[86,102],[87,1],[90,102],[77,1],[113,103],[103,104],[94,105],[95,106],[97,107],[93,108],[96,109],[106,92],[88,110],[89,111],[98,112],[78,113],[101,104],[100,102],[104,1],[107,114],[47,115],[54,1],[48,1],[49,1],[50,115],[45,1],[46,1],[51,121],[53,121],[57,122],[56,123]],"semanticDiagnosticsPerFile":[42,60,58,63,59,64,61,62,65,70,66,69,67,168,170,171,68,172,193,178,184,182,181,183,192,187,189,190,191,185,186,188,180,179,174,173,176,177,175,169,194,115,116,117,118,119,120,71,74,72,73,121,122,123,124,125,126,127,129,128,130,131,132,114,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,151,150,152,153,154,155,156,157,158,76,75,167,159,160,161,162,163,164,165,166,195,196,197,222,223,198,201,220,221,211,210,208,203,216,214,218,202,215,219,204,205,217,199,206,207,209,213,224,212,200,237,236,231,233,232,225,226,228,230,234,235,227,229,238,239,240,242,241,255,254,245,246,253,247,248,249,250,251,244,252,243,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,33,30,31,32,34,7,35,40,41,36,37,38,39,1,8,92,102,91,112,83,82,111,105,110,85,99,84,108,80,79,109,81,86,87,90,77,113,103,94,95,97,93,96,106,88,89,98,78,101,100,104,107,47,54,48,49,50,45,46,44,43,51,53,57,55,56,52],"latestChangedDtsFile":"./index.d.ts"},"version":"4.9.5"}
|
tools/ui/node_modules/workbox-streams/utils/createHeaders.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import '../_version.js';
|
| 2 |
+
/**
|
| 3 |
+
* This is a utility method that determines whether the current browser supports
|
| 4 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 5 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 6 |
+
* is available.
|
| 7 |
+
*
|
| 8 |
+
* @private
|
| 9 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 10 |
+
* `'text/html'` will be used by default.
|
| 11 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 12 |
+
* streaming responses, and `false` otherwise.
|
| 13 |
+
*
|
| 14 |
+
* @memberof workbox-streams
|
| 15 |
+
*/
|
| 16 |
+
declare function createHeaders(headersInit?: {}): Headers;
|
| 17 |
+
export { createHeaders };
|
tools/ui/node_modules/workbox-streams/utils/createHeaders.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*
|
| 2 |
+
Copyright 2018 Google LLC
|
| 3 |
+
|
| 4 |
+
Use of this source code is governed by an MIT-style
|
| 5 |
+
license that can be found in the LICENSE file or at
|
| 6 |
+
https://opensource.org/licenses/MIT.
|
| 7 |
+
*/
|
| 8 |
+
import '../_version.js';
|
| 9 |
+
/**
|
| 10 |
+
* This is a utility method that determines whether the current browser supports
|
| 11 |
+
* the features required to create streamed responses. Currently, it checks if
|
| 12 |
+
* [`ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream/ReadableStream)
|
| 13 |
+
* is available.
|
| 14 |
+
*
|
| 15 |
+
* @private
|
| 16 |
+
* @param {HeadersInit} [headersInit] If there's no `Content-Type` specified,
|
| 17 |
+
* `'text/html'` will be used by default.
|
| 18 |
+
* @return {boolean} `true`, if the current browser meets the requirements for
|
| 19 |
+
* streaming responses, and `false` otherwise.
|
| 20 |
+
*
|
| 21 |
+
* @memberof workbox-streams
|
| 22 |
+
*/
|
| 23 |
+
function createHeaders(headersInit = {}) {
|
| 24 |
+
// See https://github.com/GoogleChrome/workbox/issues/1461
|
| 25 |
+
const headers = new Headers(headersInit);
|
| 26 |
+
if (!headers.has('content-type')) {
|
| 27 |
+
headers.set('content-type', 'text/html');
|
| 28 |
+
}
|
| 29 |
+
return headers;
|
| 30 |
+
}
|
| 31 |
+
export { createHeaders };
|
tools/ui/node_modules/workbox-streams/utils/createHeaders.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
export * from './createHeaders.js';
|